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.
Hey, I want to make sure that this works fine:
General procedure:
- Unlock bootloader after waiting 1 week
- Flash TWRP
- Flash Global Stable Fastboot 10.3.3.0 (Not Recovery) by:
Backup in TWRP, keep backup on internal and on PC, advanced wipe everything, install rom listed above as well as GAPPS from OpenGAPPS and Magisk from the Magisk thread, then confirm flash
- Install Magisk Manager after setting up 10.3.3.0
Phone should now be rooted with all google apps and on MIUI 10.3.3.0 for International Phone
Is there anything that's missing from this?
Thank you for your help!
Edit: Is GApps necessary? If so, which one would be downloaded?
Also, should magisk and gapps be flashed AFTER the rom, BEFORE, or At the SAME TIME?
Why backup when you'll wipe everything ?, Besides i hope you're not going to wipe system in EVERYTHING, DON'T. just go to advanced and format data (type yes), then flash your recovery ROM and magisk.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Why backup when you'll wipe everything ?, Besides i hope you're not going to wipe system in EVERYTHING, DON'T. just go to advanced and format data (type yes), then flash your recovery ROM and magisk.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Okay. Will not wipe data, cache, dalvik cache and system as in this thread https://forum.xda-developers.com/k20-pro/how-to/guide-how-to-unlock-bootloader-install-t3956945
Recovery ROM, or Fastboot ROM?
Thanks
Also, no need to install GApps or still need to? With MIUI.
I usually prefer fastboot ROM although it takes longer to flash but even recovery ROM will do. You will have to format data otherwise you will face bootloop according to my experience.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
I usually prefer fastboot ROM although it takes longer to flash but even recovery ROM will do. You will have to format data otherwise you will face bootloop according to my experience.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Sounds good. What's the difference between the two?
Do they both come with all google apps preinstalled?
Does installing either of them remove TWRP? (I've heard that when updating versions using recovery rom, TWRP needs reflashing)
I'm not sure about difference, But BE CAREFUL when flashing with MIFLASH TOOL, DO NOT check CLEAN ALL AND LOCK, only check CLEAN ALL, if you lock with a ROM of different region you will soft brick your phone.
Google apps come pre installed.
Yes with every update you'll have to reflash TWRP and root again.
I have moved to xiaomi.eu ROMs which come with TWRP preinstalled
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
I'm not sure about difference, But BE CAREFUL when flashing with MIFLASH TOOL, DO NOT check CLEAN ALL AND LOCK, only check CLEAN ALL, if you lock with a ROM of different region you will soft brick your phone.
Google apps come pre installed.
Yes with every update you'll have to reflash TWRP and root again.
I have moved to xiaomi.eu ROMs which come with TWRP preinstalled
Click to expand...
Click to collapse
Do you need to use MIFlash? I was planning on installing purely through TWRP. Are the recoveries in that thread only for MiFlash?
Also, what's the difference between xiaomi.eu and the global version? I don't mind reinstalling TWRP each time.
AvgZing said:
Do you need to use MIFlash? I was planning on installing purely through TWRP. Are the recoveries in that thread only for MiFlash?
Also, what's the difference between xiaomi.eu and the global version? I don't mind reinstalling TWRP each time.
Click to expand...
Click to collapse
No, Miflash is for Fastboot ROMs, TWRPs are pushed with commands.
Difference between xiaomi.eu ROMs can be seen in their website.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
No, Miflash is for Fastboot ROMs, TWRPs are pushed with commands.
Difference between xiaomi.eu ROMs can be seen in their website.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
I checked the website, seems like a good idea to go with xiaomi.eu ROMs instead. Note: I'm in the US. Is that okay with .eu roms?
Would the rom "MIUI 11 11.0.2.0" on here (https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647) work with TWRP-only installation, or does that require Miflash?
Clarification on the steps as well:
Download the rom, put it onto the phone's filesystem. When formatting storage, it will NOT delete the ROM, and the ROM will be able to be flashed through TWRP?
Sorry for questions that may seem obvious, this is my first time doing this since 2014 and it's plenty more complicated now!
AvgZing said:
I checked the website, seems like a good idea to go with xiaomi.eu ROMs instead.
Would the rom "MIUI 11 11.0.2.0" on here (https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647) work with TWRP-only installation, or does that require Miflash?
Clarification on the steps as well:
Download the rom, put it onto the phone's filesystem. When formatting storage, it will NOT delete the ROM, and the ROM will be able to be flashed through TWRP?
Sorry for questions that may seem obvious, this is my first time doing this since 2014 and it's plenty more complicated now!
Click to expand...
Click to collapse
All Xiaomi.eu ROMs are flashed in TWRP.
1. Reboot to TWRP
2. Advancedā©Format data, Type YES.
3. Reboot to TWRP again.
4. Now connect your phone to computer and copy-paste the downloaded Xiaomi.eu ROM to phone internal storage.
5. Flash the ROM
6. You're good to go.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
All Xiaomi.eu ROMs are flashed in TWRP.
1. Reboot to TWRP
2. Advancedā©Format data, Type YES.
3. Reboot to TWRP again.
4. Now connect your phone to computer and copy-paste the downloaded Xiaomi.eu ROM to phone internal storage.
5. Flash the ROM
6. You're good to go.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Makes so much more sense now. Was wondering how all the data formatting and reworking doesn't mess with the ROM!
There shouldn't be any problems with the Xiaomi.eu roms when living in the U.S, right? (LTE with Band 4, Google location as US)
Also, I did a quick search and it turns out Xiaomi.eu rom weekly updates arrive OTA? Is this the case for what I'm doing, and if so, will each OTA update remove TWRP + root?
AvgZing said:
Makes so much more sense now. Was wondering how all the data formatting and reworking doesn't mess with the ROM!
There shouldn't be any problems with the Xiaomi.eu roms when living in the U.S, right? (LTE with Band 4, Google location as US)
Also, I did a quick search and it turns out Xiaomi.eu rom weekly updates arrive OTA? Is this the case for what I'm doing, and if so, will each OTA update remove TWRP + root?
Click to expand...
Click to collapse
Your LTE bands are safe. And yes the OTAs come with TWRP preinstalled so it'll reboot to TWRP and flash by itself. Even if it fails you can always flash manually.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Your LTE bands are safe. And yes the OTAs come with TWRP preinstalled so it'll reboot to TWRP and flash by itself. Even if it fails you can always flash manually.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
That's super helpful. Thank you for all of your help, a lot of things make more sense now (and are much less worrying)! I may update this thread in a few days with a full step-by-step guide that I'm writing for myself, but overall this is much easier than it previously seemed.
Again, thank you so much!
AvgZing said:
That's super helpful. Thank you for all of your help, a lot of things make more sense now (and are much less worrying)! I may update this thread in a few days with a full step-by-step guide that I'm writing for myself, but overall this is much easier than it previously seemed.
Again, thank you so much!
Click to expand...
Click to collapse
You're welcome, usually it's not formatting data at right time that causes problem to many people
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
You're welcome, usually it's not formatting data at right time that causes problem to many people
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Oh, sorry, one last question!
Using the ROM from here https://forum.xda-developers.com/k20-pro/how-to/rom-miui-11-xiaomi-eu-t3984691
That's flashed with TWRP. Will it, too, get the weekly OTA updates? Or do I have to install the beta build from here to do that? https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
Perhaps a better question would be, which source should I use for the rom, or will any european edition xiaomi rom work to get the weekly builds?
AvgZing said:
Oh, sorry, one last question!
Using the ROM from here https://forum.xda-developers.com/k20-pro/how-to/rom-miui-11-xiaomi-eu-t3984691
That's flashed with TWRP. Will it, too, get the weekly OTA updates? Or do I have to install the beta build from here to do that? https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
Perhaps a better question would be, which source should I use for the rom, or will any european edition xiaomi rom work to get the weekly builds?
Click to expand...
Click to collapse
Weekly builds are usually beta builds, and to go from beta to stable will require clean flash. I suggest you download stable builds and wait for stable OTAs whenever they're ready
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Weekly builds are usually beta builds, and to go from beta to stable will require clean flash. I suggest you download stable builds and wait for stable OTAs whenever they're ready
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Sounds good to me, I'll go with stable, then.
Correct me if I'm wrong with these points:
Magisk will be flashed at the same time as the stable MIUI 11 ROM, and the phone will remain rooted with Magisk even after each OTA update
Xpozed can be installed through the Magisk Manager app (which is persistent after each OTA update)
OTA updates do not change anything to do with the phone's storage
Regarding magisk i have forgotten if it flashed automatically or i did manually, but it shouldn't be a problem manually.
OTA won't affect storage. They're like normal OTAs
Sent from my Redmi K20 Pro using Tapatalk
---------- Post added at 11:26 PM ---------- Previous post was at 11:25 PM ----------
I've never flashed Xposed so i don't know if it works
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Regarding magisk i have forgotten if it flashed automatically or i did manually, but it shouldn't be a problem manually.
OTA won't affect storage. They're like normal OTAs
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Perfect, thank you so much! Glad to hear a lot of this is foolproof
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.
Hello ,
I need a little help. I am using Galaxy M205F. Recovery: orange fox,
current rom : Project Sakura 5.R (Android 11)
Now I want to switch to Project sakura 2.Q(Android 10). I want to switch because the latest version causing many problems such as : I can't even open 2 apps at a time. Its ram management is too poor. Also I want a gapps version.
Now what should I do to switch to that rom.
I mean can anyone guide me with full explanation.
Also can I use migrate to move apps and app data to that rom. (I am concerned cause am using Orange fox. )
Use the app Migrate for moving apps and such
[APP][ROOT][5.0+][1st Nov 2020] Migrate - custom ROM migration tool
Jumping from one custom ROM to another can be a challenging task. So I decided to make an app to simplify the process. Introducing Migrate! Migrate-GPE (v4.0) is on Google Play It was temporarily suspended. Read more here...
forum.xda-developers.com
And after backing up your apps and such with migrate format data and cache then flash the new rom.
Instructions on restoring the backup is in the Migrate XDA post.
Kenora_I said:
Use the app Migrate for moving apps and such
[APP][ROOT][5.0+][1st Nov 2020] Migrate - custom ROM migration tool
Jumping from one custom ROM to another can be a challenging task. So I decided to make an app to simplify the process. Introducing Migrate! Migrate-GPE (v4.0) is on Google Play It was temporarily suspended. Read more here...
forum.xda-developers.com
And after backing up your apps and such with migrate format data and cache then flash the new rom.
Instructions on restoring the backup is in the Migrate XDA post.
Click to expand...
Click to collapse
So I don't need to wipe system, data? I had to wipe these when i switched to custom rom from stock .
Should I just format data and cache?
You should wipe them for sure, just in case of breaking stuff.
Just make sure you keep your Migrate backup somewhere safe.
Kenora_I said:
You should wipe them for sure, just in case of breaking stuff.
Just make sure you keep your Migrate backup somewhere safe.
Click to expand...
Click to collapse
Are you sure I can go to Android 10 from Android 11. (Current rom Android 11 and i want to go to Android 10 but same rom.)
Oops, no you cant if the bootloader has changed.
Your are running 5.R?
Isnt it 5.1?
Kenora_I said:
Your are running 5.R?
Isnt it 5.1?
Click to expand...
Click to collapse
Oops sorry its 5.1. and i wanna go back to 2.Q.
Yoh should see if the bootloader version has changed, samsung phones brick if you try to flash a older bootloader on a newer one.