Related
Hello!
I am currently using a nontreble build (RR Nougat) and I want to try out a treble build (perhaps Havoc Pie) soon and I wonder what is needed to make sure I can switch back to my current setup without effort in case of problems. It would be nice if someone can give me some input and prevent me from shooting in my own foot
What partitions do I have to backup (using TWRP) and to whipe for making a clean install and still being able to revert everything?
I think there are parts of the data that can not be backed up with TWRP. Which data is affected of this, and will the be destroyed/modified when I install a treble build?
I am a bit nervous as I do not have much time for reverting in case of problems, and I cannot test my backup in advance.
Thanks!
theBoatman
theBoatman said:
Hello!
I am currently using a nontreble build (RR Nougat) and I want to try out a treble build (perhaps Havoc Pie) soon and I wonder what is needed to make sure I can switch back to my current setup without effort in case of problems. It would be nice if someone can give me some input and prevent me from shooting in my own foot
What partitions do I have to backup (using TWRP) and to whipe for making a clean install and still being able to revert everything?
I think there are parts of the data that can not be backed up with TWRP. Which data is affected of this, and will the be destroyed/modified when I install a treble build?
I am a bit nervous as I do not have much time for reverting in case of problems, and I cannot test my backup in advance.
Thanks!
theBoatman
Click to expand...
Click to collapse
First of all you need treble supported twrp.
If you have your old rom zip.
Then just backup data
Then wipe everything just leave vendor partition.
If you dont like pie than again wipe everything just leave vendor.
Install the old zip with gapps
Then restore the backup of data.
Thats it.
Finally. Open Beta, but running without Problems here! :good:
https://xiaomi.eu/community/threads/9-5-9.50450/
ARB
is possible install aosp Roms ?? no brik
miui pie?
adliradzif said:
miui pie?
Click to expand...
Click to collapse
Yes
Bluezzy said:
Yes
Click to expand...
Click to collapse
alright.I gonna test..thanks for the reply.
Just to let u know guys,Anti rollback system is enabled on pie ,so once u flash it,u cant downgrade to oreo 8.x
I got bootloop.I using custom ROM pie before and flash using twrp official
adliradzif said:
I got bootloop.I using custom ROM pie before and flash using twrp official
Click to expand...
Click to collapse
Its bootloop because your device is encrypted and cant boot,look in other threads there is a decrytption script and step by step how to flash this pie
I can't recommend a flash without Data formatting since it is a Major Android Update. If You want to face a bugfree and clean Device start from scratch by backing Up Your Internal Storage, flash Orange Fox and do a complete wipe followed by "format Data" and the flashing of the System. Every System has Problems with Updates, that will never Change but A/B Treble was a step in the right direction since its almost failsafe on Updates. We don't have A/B Support on the Mi Mix 2 so it will be the best to do clean Updates before You will loose Your Personal Data...
Flashing Scripts to avoid encryption is Just a dirty workaround btw. If You want a save and secure Device just do what i wrote before... Otherwise can everyone steal Your Device and get Access to EVERYTHING.
I've written a short tutorial how to use encrypted data on latest Mi MIX2 MIUI Android 9 Pie ROM
read here: https://forum.xda-developers.com/mi-mix-2/how-to/xiaomi-mi-mix2-encryption-android-9-pie-t3929322
Can I flash with miui recovery?
Which is Miui TWRP? Teamwin or Orangefox. I suggest the latter
Tapatalkkal Mi MIX 2
As soon as I install latest xiaomi eu pie and magisk 19.1 I get a message that find device storage corrupted your device is unsafe now. Everything except adding/removing fingerprints seems to work correctly. Then even if I clean data I still get this message. the only way to fix it is clean install latest Oreo (9.4.25). Then I can update to pie and it is ok until magisk. Anyone has experienced this behavior or can help?
cineq said:
As soon as I install latest xiaomi eu pie and magisk 19.1 I get a message that find device storage corrupted your device is unsafe now. Everything except adding/removing fingerprints seems to work correctly. Then even if I clean data I still get this message. the only way to fix it is clean install latest Oreo (9.4.25). Then I can update to pie and it is ok until magisk. Anyone has experienced this behavior or can help?
Click to expand...
Click to collapse
Same here, think/hope 18.1 will do the trick...
BR
Dirty flash with Xiaomi.eu Rom works great
Clean installed xiaomi.eu 9.5.9 Pie with magisk 19.1. It seems bluetooth paired devices are lost after each restart. Anyone experienced the same problem?
EDIT:
I've just pairted two bluetooth devices and changed their names. After two phone restarts both devices remain, so something helped.
So Im on global stable,only thing i need to do before flashing this pie is wiping internal strogae + data? I got so confused these days
Bluezzy said:
So Im on global stable,only thing i need to do before flashing this pie is wiping internal strogae + data? I got so confused these days
Click to expand...
Click to collapse
That's the failsafe way I'd always say: Better save Your Data BEFORE loosing them on a bricked or locked Device :silly:
Miustone said:
That's the failsafe way I'd always say: Better save Your Data BEFORE loosing them on a bricked or locked Device :silly:
Click to expand...
Click to collapse
So whats the right way to flash it since my phone is encrypted... flashing those scripts right?
Miustone said:
Same here, think/hope 18.1 will do the trick...
BR
Click to expand...
Click to collapse
Write an answer when/if you trie.
Hello!
I would like to start flashing custom software on my Redmi 8 4/64 but I'm pretty confused about the encryption thing, could someone please explain to me how does it effect flashing custom stuff onto the device or point me to an article detailing it?
Do i need to decrypt my phone to install custom roms/recovery? Does wiping everything (doing a clean install) erase encryption? Can a custom rom re-encrypt the device? Can I decrypt it afterwards? Should I/do I need to?
I keep reading about this second space, is this something i should worry about when wiping or can I wipe everything like on older android phones?
I'm on Global Android 9 MIUI11 11.0.7.0 EEA if that matters.
I got my device yesterday and today i have been trying to flash legion os 2.11 but i always keep getting error 7 even tried by installing global rom through mi flash tool but still got error 7 from twrp and oxfox both.
Can someone just guide me clearly on flashing roms on this k20 pro.
Currently i using global miui 11 11.0.4.0 rom but want to try other custom roms as well..
Ezio553 said:
I got my device yesterday and today i have been trying to flash legion os 2.11 but i always keep getting error 7 even tried by installing global rom through mi flash tool but still got error 7 from twrp and oxfox both.
Can someone just guide me clearly on flashing roms on this k20 pro.
Currently i using global miui 11 11.0.4.0 rom but want to try other custom roms as well..
Click to expand...
Click to collapse
Try the latest TWRP from here.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
If you still get the same problem, report back in this thread.
Robbo.5000 said:
Try the latest TWRP from here.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
If you still get the same problem, report back in this thread.
Click to expand...
Click to collapse
yeah finally the twrp 3.4 unofficial worked fine from global miui 11 rom i wiped everything and flashed indian vendor-firmware file and then flashed rom with fcrypt zip file nd worked fine...
Thanks for suggesting this file i was using youtube videos as guide and everyone was using oxfox or older twrp..
Ezio553 said:
yeah finally the twrp 3.4 unofficial worked fine from global miui 11 rom i wiped everything and flashed indian vendor-firmware file and then flashed rom with fcrypt zip file nd worked fine...
Thanks for suggesting this file i was using youtube videos as guide and everyone was using oxfox or older twrp..
Click to expand...
Click to collapse
I've got a bit more time to reply now.
OFox is really designed to be used with MIUI. The majority of it's extra features are specific to running MIUI. I would only recommend it if you decide to stick with MIUI in the long run.
The TWRP I pointed to is from the dev who maintains the official TWRP for our device. The unofficial version you've installed is identical to the official version, but with the TWRP app removed. If you intend to stick with custom ROMs, I recommend you stick with TWRP from mauronofrio.
If you prefer to have your phone encrypted, then there was no need to flash fcrypt/DFE. There are a small number of users that continue to insist that we need to disable encryption, but it is not needed.
Having the phone unencrypted does make life a little easier when flashing, but if you prefer the security and want to know about living with an encrypted phone, reply back and I'll give you more details.
Robbo.5000 said:
I've got a bit more time to reply now.
OFox is really designed to be used with MIUI. The majority of it's extra features are specific to running MIUI. I would only recommend it if you decide to stick with MIUI in the long run.
The TWRP I pointed to is from the dev who maintains the official TWRP for our device. The unofficial version you've installed is identical to the official version, but with the TWRP app removed. If you intend to stick with custom ROMs, I recommend you stick with TWRP from mauronofrio.
If you prefer to have your phone encrypted, then there was no need to flash fcrypt/DFE. There are a small number of users that continue to insist that we need to disable encryption, but it is not needed.
Having the phone unencrypted does make life a little easier when flashing, but if you prefer the security and want to know about living with an encrypted phone, reply back and I'll give you more details.
Click to expand...
Click to collapse
I tried Legion Os which is Aosp based and it installed fine but then i tried Masik X 16 which again said this isn't for your device so had to make changes in updater script then it flashed fine.
Also i would like to know about decryption of storage and would it cause any issues in flashing roms again nd again..
Ezio553 said:
I tried Legion Os which is Aosp based and it installed fine but then i tried Masik X 16 which again said this isn't for your device so had to make changes in updater script then it flashed fine.
Also i would like to know about decryption of storage and would it cause any issues in flashing roms again nd again..
Click to expand...
Click to collapse
If you want to be permanently decrypted, then you will not have any problems flashing ROMs. However, whenever you need to update the vendor and firmware, you will also need to flash the DFE script again.
If you want to be encrypted, then the best thing to do, every time you flash, is to temporarily remove encryption by removing all lockscreen security just before flashing, then once you've finished, restore encryption by adding back lockscreen security. However, if you restore MIUI, then choose to go to another custom ROM, you will need to format the data partition when flashing over MIUI, even if you've removed lockscreen security first.
Robbo.5000 said:
If you want to be permanently decrypted, then you will not have any problems flashing ROMs. However, whenever you need to update the vendor and firmware, you will also need to flash the DFE script again.
If you want to be encrypted, then the best thing to do, every time you flash, is to temporarily remove encryption by removing all lockscreen security just before flashing, then once you've finished, restore encryption by adding back lockscreen security. However, if you restore MIUI, then choose to go to another custom ROM, you will need to format the data partition when flashing over MIUI, even if you've removed lockscreen security first.
Click to expand...
Click to collapse
Ok that means going from miui to aosp & vice versa - format data needed.
So this should similarly apply to all Miui based roms like xiaomi.eu or masik x or it is just for stock miui.
Ezio553 said:
Ok that means going from miui to aosp & vice versa - format data needed.
So this should similarly apply to all Miui based roms like xiaomi.eu or masik x or it is just for stock miui.
Click to expand...
Click to collapse
As far as I know, you only need to format data when flashing over official MIUI. I don't know the details, but it is my understanding that encryption on MIUI does not follow standard practice, which is why it it's necessary to format data when flashing over MIUI. I don't believe this issue exists with MIUI based custom ROMs, or when reverting back to MIUI.
Though, there may be occasions, when flashing from one AOSP ROM to another, and the phone is encrypted, when you may get a bootloop. In this case booting to TWRP and formatting data, will fix the problem. This is why I earlier recommended temporarily removing lockscreen security, if you choose to have an encrypted phone, even though this is a rare occurrence.
Robbo.5000 said:
As far as I know, you only need to format data when flashing over official MIUI. I don't know the details, but it is my understanding that encryption on MIUI does not follow standard practice, which is why it it's necessary to format data when flashing over MIUI. I don't believe this issue exists with MIUI based custom ROMs, or when reverting back to MIUI.
Though, there may be occasions, when flashing from one AOSP ROM to another, and the phone is encrypted, when you may get a bootloop. In this case booting to TWRP and formatting data, will fix the problem. This is why I earlier recommended temporarily removing lockscreen security, if you choose to have an encrypted phone, even though this is a rare occurrence.
Click to expand...
Click to collapse
Thanks for the info.
I tried custom miui rom and well flashing dfe worked fine so i think its just for official miui.
I want to try out the xiaomi.eu rom this one (https://sourceforge.net/projects/xi...i_HMK20ProMI9TPro_21.1.20_v12-11.zip/download)
I am on evolution x 5.4
Anyone please guide me through the methods to flash it and also explain potential risks
Flashing it is simple just wipe everything except internal and flash this rom and magisk if u want.
If u are decrypted then flash fcrypt disabler to keep your storage decypted or u will need to format data.
But on latest eu build people have been facing bootloader locking issue u should go and check on thier telegram channel on how to fix if u get stuck on that.
Ezio553 said:
Flashing it is simple just wipe everything except internal and flash this rom and magisk if u want.
If u are decrypted then flash fcrypt disabler to keep your storage decypted or u will need to format data.
But on latest eu build people have been facing bootloader locking issue u should go and check on thier telegram channel on how to fix if u get stuck on that.
Click to expand...
Click to collapse
Thanks man
Will you please explain how to return back to aosp
Spidey_002 said:
Thanks man
Will you please explain how to return back to aosp
Click to expand...
Click to collapse
just wipe everything and then flash your region vendor and rom with fcrypt disabler and magisk if needed and reboot.
If u go for oss vendor roms u wont need to flash any vendor just rom file with fcrypt disabler and magisk if required..
Spidey_002 said:
I want to try out the xiaomi.eu rom this one (https://sourceforge.net/projects/xi...i_HMK20ProMI9TPro_21.1.20_v12-11.zip/download)
I am on evolution x 5.4
Anyone please guide me through the methods to flash it and also explain potential risks
Click to expand...
Click to collapse
Also i did try out the miui 12.5 a11 rom i don't remember the version but i had the problem where i will boot to fastboot everytime instead of recovery doesn't matter from rom or by using hardware keys. I don't know why i had that trouble but i decided to stay away from miui as lot of aosp roms are available to try out.
Ezio553 said:
Also i did try out the miui 12.5 a11 rom i don't remember the version but i had the problem where i will boot to fastboot everytime instead of recovery doesn't matter from rom or by using hardware keys. I don't know why i had that trouble but i decided to stay away from miui as lot of aosp roms are available to try out.
Click to expand...
Click to collapse
I faced the same issue after flashing so I reflashed orange fox again and everything works fine
is it possible to replace the app vault and package install manager in the eu rom with their global variants ?
I tried the above mentioned EU rom for a week or so. Battery life is attrocius. I expected the battery life to be better then stock since a lot of crap has been removed but to my horror, battery wouldnt last more then 3-4 hours of SOT. Phone was fully loaded like my regular installation...(I used get about 6-7 hours of SOT before unlocking the bootloader and installing eu rom..)