Update Miui - Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers

Hey guys,
so today I finally got the Xiaomi Android 10 Update. I have one question because my phone is rooted with magisk. Can I update it using the system updater or is there anything special I need to worry about when updating a rooted Xiaomi phone? I don't want to mess up anything because I'm fairly new.
Edit: I watched some vids and read some articles and want to verify the installation process:
1. I download the Rom using the official download and download magisk
2. I reboot into recovery (twrp)
3. I wipe cache and dalvik cache
4. I flash the Rom and reboot into recovery again
5. I flash magisk and boot into the system and no data should be lost
Thank you in advance!
Lyriax

Related

Downgrade OxygenOS from 3.5.2 to 3.2.6 with Root / Xposed / Debloat

So I downgraded my Oneplus 3 from 3.5.2 to 3.2.6 and this was kind of a painful process, so I decided to share my experience with you.
If you follow this guide you will successfully downgrade from the latest Community Build to the newly released stable.
Note: Just because this worked for me, doesn't mean that it will work for you! Use this guide on your own risk and always use backups!
You'll need:
- Oneplus with OOS 3.5.2 and modified TWRP
- OxygenOS 3.2.6 Full ROM
- Latest official TWRP
- AndroidSDKSlim (needs Oneplus 3 USB drivers installed)
- SuperSU 2.78 SR1
- Xposed Framework (optional)
- Debloat Script (optional)
Downgrade:
Before you start, please create a COMPLETE backup of all your data.
You will factory reset your phone during the process.
1. Copy OOS 3.2.6 Full ROM, SuperSU, Xposed, Debloat Script to your Oneplus
2. Flash modified TWRP if you haven't already
3. Boot into modified TWRP
4. Select Wipe -> Advanced Wipe -> Select all but internal storage -> Swipe to Wipe
5. Install OOS 3.2.6 Full ROM
6. Reboot into system and use the installation wizard to setup your phone (do not setup fingerprints, or any device PIN)
7. Reboot into bootloader
8. Connect your phone to a PC/Notebook
9. Extract AndroidSDKSlim to your Desktop and copy twrp-3.0.2-1-oneplus3.img into \AndroidSDKSlim\android-sdk-windows\platform-tools
10. Run CMD with admin rights and navigate to \AndroidSDKSlim\android-sdk-windows\platform-tools
11. Run "fastboot flash recovery twrp-3.0.2-1-oneplus3.img" to revert to official TWRP recovery
12. Disconnect your phone and boot into recovery
13. Dirty flash OOS 3.2.6 again (this might sound stupid but it's mandatory)
14. Still in recovery, flash SuperSU, Xposed and Debloat Script
15. Wipe Dalvik & Cache
16. Reboot into system and setup your phone
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
darkbash said:
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
Click to expand...
Click to collapse
You're welcome.
Unfortunately, I can't provide guides for procedures I never went through.
But I asume that you could just flash any Custom ROM after you completely wiped your phone in step 4. So instead of flashing OOS 3.2.6 afterwards, just flash a custom ROM. Be sure that you have all zips you need on your internal storage and a backup to revert back to, if anything goes wrong. Otherwise you will have to use ADB sideload to install a ROM.
Ok, so I have a Modified TWRP installed already. Question is If I want to flash other ROMS after wiping system,dalvik/cache,data etc. Do I have to Flash official TWRP first followed by firmware,ROM, etc?
or firmware first then ROM and lastly official TWRP?
it's quite confusing.
I made a mistake and I installed the modified recovery installed the 3.5.2 rom and before booting I decided to restore my nand backup so I flashed the official twrp recovery and now I can't go to recovery anymore and the phone doesn't boot.
I imagine I have to sideload the modified twrp again but how do I do that? How do I reboot to bootloader ?
This is the only sign of life
gigeaky said:
I made a mistake and I installed the modified recovery installed the 3.5.2 rom and before booting I decided to restore my nand backup so I flashed the official twrp recovery and now I can't go to recovery anymore and the phone doesn't boot.
I imagine I have to sideload the modified twrp again but how do I do that? How do I reboot to bootloader ?
This is the only sign of life
Click to expand...
Click to collapse
Flash modified TWRP, and the recovery will return. then, follow the guide. it happened to me too.
darkbash said:
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
Click to expand...
Click to collapse
First flash modified TWRP than install official 3.2.4 than flash CM ROM or custom ROM
uniQ191 said:
So I downgraded my Oneplus 3 from 3.5.2 to 3.2.6 and this was kind of a painful process, so I decided to share my experience with you.
If you follow this guide you will successfully downgrade from the latest Community Build to the newly released stable.
Note: Just because this worked for me, doesn't mean that it will work for you! Use this guide on your own risk and always use backups!
You'll need:
- Oneplus with OOS 3.5.2 and modified TWRP
- OxygenOS 3.2.6 Full ROM
- Latest official TWRP
- AndroidSDKSlim (needs Oneplus 3 USB drivers installed)
- SuperSU 2.78 SR1
- Xposed Framework (optional)
- Debloat Script (optional)
Downgrade:
Before you start, please create a COMPLETE backup of all your data.
You will factory reset your phone during the process.
1. Copy OOS 3.2.6 Full ROM, SuperSU, Xposed, Debloat Script to your Oneplus
2. Flash modified TWRP if you haven't already
3. Boot into modified TWRP
4. Select Wipe -> Advanced Wipe -> Select all but internal storage -> Swipe to Wipe
5. Install OOS 3.2.6 Full ROM
6. Reboot into system and use the installation wizard to setup your phone (do not setup fingerprints, or any device PIN)
7. Reboot into bootloader
8. Connect your phone to a PC/Notebook
9. Extract AndroidSDKSlim to your Desktop and copy twrp-3.0.2-1-oneplus3.img into \AndroidSDKSlim\android-sdk-windows\platform-tools
10. Run CMD with admin rights and navigate to \AndroidSDKSlim\android-sdk-windows\platform-tools
11. Run "fastboot flash recovery twrp-3.0.2-1-oneplus3.img" to revert to official TWRP recovery
12. Disconnect your phone and boot into recovery
13. Dirty flash OOS 3.2.6 again (this might sound stupid but it's mandatory)
14. Still in recovery, flash SuperSU, Xposed and Debloat Script
15. Wipe Dalvik & Cache
16. Reboot into system and setup your phone
Click to expand...
Click to collapse
worked like magic. Thankyou for this education. it didnt work when i followed other folks. Much appreciated.
So it seems I have booted with 3.5.2 and modified recovery. Now my question is: can I reboot in recovery at step 7 and install the original twrp recovery? Or can I use flashify? As I don't have access to a pc
I did ok but cant use adaway do you have a fix for it?
Enviado do meu ONEPLUS A3003 através de Tapatalk
I'm trying to return to 3.2.6 after trying 3.5.2.
However, after flashing and booting 3.2.6, I boot into fastboot mode and the official TWRP refuses to flash. It reports that it's failed and then I'm left with no recovery until I reflash the modified TWRP.
I could try restoring my Nandroid backup of 3.2.6 with the modified TWRP, but I'd prefer to return to the official TWRP before doing this.
Any suggestions?
Edit: Fixed it. I downloaded the official TWRP again and it flashed. The first download must have been corrupted.
I followed a different method and successfully downgraded today to a former nandroid. I was rooted without xposed.
3.2.6 to 3.5.2 dirty flash
- installed modded twrp
- performed backup on 3.2.6
- installed modded 3.5.2 (the only that flashes in twrp)
- installed root SR1
- wiped caches only
- reboot
3.5.2 to 3.2.6 restore
- downloaded 3.2.6
- boot to modded twrp, wipe both caches, data, system
- flashed 3.2.6 stock and root SR1
- restored 3.2.6
- wiped caches
- reboot
- enjoying my LTE again
Without first installing stock, after a restore my phone was boot locking right after the oneplus white logo (capacitive buttons would light up, but it would not boot to red logo). Had to press vol down and power to force it to boot menu to select recovery and get back to twrp
Hope this helps someone, it's a bit easier than swapping twrps and no need to boot up/flash 3.2.x twice.
So if I am on the CB and want to go back to 3.2.6
I can flash 3.2.6 with the modded TWRP
Then flash Official TWRP and boot?
If I have official recovery, no root, and locked bootloader, can I downgrade from 3.5.3 to 3.2.6 without any problems, just by sideloading the zip in ADB? Thankss
popab said:
If I have official recovery, no root, and locked bootloader, can I downgrade from 3.5.3 to 3.2.6 without any problems, just by sideloading the zip in ADB? Thankss
Click to expand...
Click to collapse
i would also like to know this please
bigup7 said:
i would also like to know this please
Click to expand...
Click to collapse
I did it and it does work perfectly. Just make sure to wipe data from recovery after flashing.
I was on Comunity Build v.3.5.4. I want it back FreeDom v.1.6.
I did:
1. Flash Twrp-3.0.2-19-oneplus3.img.zip. Somebody sugested original twrp 3.0.2.1 from twrp site. For me did NOT work. Phone not booting in recovery with 3021.
2. Advanced wipe. Wipe dalvik cache/cache/system/data
3. Flash Freedom v.1.6. Clean Flash it's safer & better.
Done. System works. Recovery works.
null0seven said:
I was on Comunity Build v.3.5.4. I want it back FreeDom v.1.6.
I did:
1. Flash Twrp-3.0.2-19-oneplus3.img.zip. Somebody sugested original twrp 3.0.2.1 from twrp site. For me did NOT work. Phone not booting in recovery with 3021.
2. Advanced wipe. Wipe dalvik cache/cache/system/data
3. Flash Freedom v.1.6. Clean Flash it's safer & better.
Done. System works. Recovery works.
Click to expand...
Click to collapse
I am on CB Freddom os
I want to go back either to stock or to op3lite.
I cant reboot to recovery.
But adb works yet.
What to do plz suggest.
Sent from my ONEPLUS A3003 using Tapatalk
1. If system don't boot. Reboot to fastboot.
- Flash recovery.img. If PC don't see youre phone option 2.
2. If system boots, open phone like normal.
- Extract recovery img. Put it on the TWRP file on phone sd card.
- Download Flashify from play. Open it, flash img of recovery. Open recovery to chech if it works.
Try with both recovery (3.0.2.0 or modified 3.0.2.-19). One of those will work.
Im getting system partition has unexpected contents after OTA update after installing step 5 ????

[ROM] OxygenOS Open Beta 9 (Nougat) Update and Installation!!

Hi everyone,
We appreciate everyone’s feedback from the OxygenOS Open Beta 8. With your help, we have optimized and improved several key areas.
The changes include:
Added Expanded Screenshots
Shelf Design Optimizations
General UI Optimizations
DPI Optimizations
Battery Performance Optimizations
Stability and Performance Optimizations
General bug fixes
Please visit the download page here:
http://downloads.oneplus.net/oneplus-3/oneplus_3_oxygenos_openbeta_9/
If you’ve already flashed a previous Open Beta build, you will receive this update via OTA. If you haven’t, you will need to flash this build by ADB sideload. Your data may transfer, but there is always a possibility of losing personal data, so be sure to backup all of your important data before flashing this build. As stated before, once you flash the Open Beta, you’ll continue getting Open Beta OTAs.
Please follow the link below for the UI/UX experience survey. We’d really appreciate a few minutes of your time, as it will help us make OxygenOS even better. One last thing: this is a limited program, so we may disable this download link once we receive enough feedback.
- Feedback on UI/UX: https://goo.gl/forms/hEqMPq9U9QNrxvhc2
Note: If you flash this Open Beta build, you’ll receive Open Beta OTAs (but not official OTAs). You’ll need to manually (clean) flash back to our official builds to continue receiving official OTAs. Rolling back to official OxygenOS versions require wiping data and cache.
Thank you for your patience and as always, we look forward to hearing your continued feedback in the bug reporting forum here: https://forums.oneplus.net/feedback/.
Thank you for helping us build a better OxygenOS.
Never settle.
Installation Methods
Before we start:This method is only for the OnePlus 3
Follow the steps correctly otherwise you may brick your device. I am not responsible for any damage to your device, please ensure that your device is at least 60% charged to prevent the accidental shutdown in-between the update process.
Downloads:
Beta 9 Full Zip Official Download
Compatible Stock Recovery
********************* For Stock Non Rooted Users with Stock Recovery *****************
1. Download the appropriate OTA/Full Zip from above link and place it in the root folder.
2. Navigate to Settings > System Updates > Settings Icon > Local Upgrade & Select the OTA File
3. Once selected system would prompt upgrade now
4. Select upgrade now and system would reboot in stock recovery and flash the OTA
5. The installer would itself flash the OTA and reboot the device.
The Device will reboot and your OnePlus 3 is now running on the latest OxygenOS firmware & OS.
PS: The first boot may take some time so keep calm and wait for it to boot.
* After flash is successful go back to recovery and a wipe of cache is recommended.
* If in any case flash is unsuccessful the system would prompt you to download the full 1.4GB zip. So download that and follow the same process as above.
************************ For Rooted Users with TWRP Recovery ************************
Download Beta 9 Full Zip
1. Download the Beta 9 Full Zip on your phone internal memory.
2. Download the Latest SuperSU SR5
4. Reboot To TWRP (Modified 28) & Take a Nandroid of your existing ROM
5. Go to Wipe > Advance Wipe > Select Dalvik & Cache & Swipe to Wipe
6. Install Menu > Select Beta 9 Rom Zip > Swipe to Flash
7. Wipe Dalvik & Cache
8. Flash SuperSU to maintain root
9. Reboot System and Enjoy the Beta 9 Update
* Do not flash Xposed as not compatible with 7.0 builds yet
If you come from a custom rom, i recommend a clean flash and make sure you use the modified TWRP 3.0.2-1.28 as the official one is incompatible with the CB firmware yet.
PS: The first boot may take some time so keep calm and wait for it to boot and the system would boot twice due to flash of supersu so keep calm
PS: Rooted users may either flash the full Beta 9 Zip or they need to flash the previous full zip beta 8 first to overwrite system partition followed by the relevant Beta 9 OTA zip for a successful flash else just the OTA flash would fail with error 7 in TWRP
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
salomaoa said:
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
Click to expand...
Click to collapse
You can't install the ota update on TWRP recovery. You need the stock one.
Try reflashing TWRP recovery via fastboot and then flash open beta 9(not the ota)
salomaoa said:
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
Click to expand...
Click to collapse
Download the recovery at the bottom of the page.
http://downloads.oneplus.net/oneplus-3/oneplus_3_oxygenos_openbeta_9/
Copy it onto your phone with the this Open Beta 9 package.
Start up TWRP, format /dalvik, /cache, /system, /data.
Flash the Open Beta and clean the caches if asked.
Flash the original recovery from TWRP as recovery image, and restart your phone afterwards.
Your phone may boot into the new recovery, then show "Update failed", then do another restart, but after that mine was working.
Does all partitions support f2fs?
smk513 said:
Does all partitions support f2fs?
Click to expand...
Click to collapse
AFAIK, only data partition is f2fs
Sun90 said:
AFAIK, only data partition is f2fs
Click to expand...
Click to collapse
I wonder if the new version is possible...
Thank you for your response.
flashing with twrp will result in recovery booting loop. after downloading ota simply reboot to recovery, download oneolusrecovery from ob9 page. transfer it to phone. select install image in twrp, select reocover, flash as recovery and reboot to recovery. itll show updating.. takes about 20mins
Will modified twrp also not work?
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Edit: anyways, im on modified twrp, rooted, beta 8, can i dirty flash beta 9?
jfodra said:
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Click to expand...
Click to collapse
It works. I flashed the full zip with it.
Edit:
Yes you can dirty flash. Everything is working as expected.
jfodra said:
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Click to expand...
Click to collapse
It will work with full zips !! It won't work it ota updates
As simple as this
Dirty flashed over OB8, everything working fine!
Edit:
Using Modified TWRP
Dirty flashed over OB8, so far no issue's.
Did flash TWRP img after update in TWRP (just to be sure), first boot took a while tho.
Anyone tried supersu?
I have this from yesterday. I was on 3.2.8 from OnePlus site, dated 12.05.16.
Clean flash with TWRP 3.0.2-1.28, thanks to eng_stk. Flash the rom & SuperSU SR5 (if you want root). Refalsh recovery 3.0.2-1.28. Reboot to recovery. If it not works reflash recovery.
Then reboot to system.
I did not flash any mods. All it's ok.
t181 said:
It works. I flashed the full zip with it.
Edit:
Yes you can dirty flash. Everything is working as expected.
Click to expand...
Click to collapse
Oh okay thanks. So is it the same as before? Flash beta 9, flash twrp again, then flash sr5 then reboot?
Edit: Nvrmind, flashed it already and d*mn. It does feel smoother than beta 8. ???
Can it be flashed over modded Open Beta 8 ?
M3ntoR said:
Can it be flashed over modded Open Beta 8 ?
Click to expand...
Click to collapse
Yep. Just make sure to have the full update and not the OTA one. Also, just in case make sure you have the TWRP img and super-su on your phone's memory to be able to flash them again
Any mirror for this? Full zip is downloading really slow and I've already stucked on twrp after OTA Need to dirty flash the full zip, but it is going to dowload around Christmas with that speed...

[Q] how to update after rooting (magisk) ?

Hello
I was on B180 (PRA-LX1C432) rooted with magisk
No updates available in settings/update firmware, but connecting to PC HiSuite B194 appeared (which seems to be for Honor 8 lite by the way). It downloaded it, pushed it to phe phone, but when rebooting it goes to twrp... so obviously I'm still on B180
I imagine we have to flash back stock recovery before updating ? And then twrp again, magisk flash, etc ?
Thanks !
About OTA over magisk I found that on P9 forum:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/sho...63&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
maybe the safest way indeed...
But as I "catch" the full ota, maybe I can use fastboot to flash only system and boot, and the reflash magisk to patch new boot img ?
anyone ?
Nobody updated after root ??
Ok, this is what I did and happened:
- In TWRP, flash magisk uninstaller script: ERROR 1. After reboot magisk was still here. That was a bad start...
- So I opened magisk app, click Uninstall and then Complete Uninstall. After that I made a reboot as asked, and device rebooted twice.
- Then, went to download mode and flashed stock recovery. And reboot.
- Then went to settings/updates/download latest full ota. It downloaded but refused to start the install process claiming to free up more than 900MB... Nothing on my internal sdcard so I had to uninstall some apps... cool !
- Then it reboot and installed the update
- First boot took a while, I still have "this device cannot be trusted" on start, and OEM unlock in settings is grayed and ON, so I think the bootloader is still unlocked
- Theme and wallpapers were reset with the update
For now I don't have flashed back twrp neither magisk .
In the meantime have you flashed TRWP and Migistik ? And again: do you have still to update your signature or something went wrong in installing fw B194.
Lastly: what do you mean by "went to download mode and flashed"...

A SIMPLER [GUIDE] For UPDATING And Keeping ROOT And TWRP

Most of the steps are from mauronofrio from his twrp guide.
To update and Keep root and twrp for OnePlus 7 Pro (you must already have root, twrp, and unlocked bootloader) :
1) Download the full 2 gb Non-Root Stock system update to the the SD card. This means download the Non-Root, Non-Patched, Non-Incremental, totally Original Stock Oxygen OS update zip through the Oxygen Updater App, and Not through the phone system update. Or you can download the totally Original Stock Oxygen OS update zip to your SD card from the OnePlus website, if it is available to download yet.
2) boot into recovery (twrp)
3) flash the Oxygen OS Stock rom (do not reboot yet!!!)
4) flash twrp (do not reboot yet!!!)
5) flash magisk, wipe dalvick cache
6) reboot
7) after start up, Reboot into recovery Again (twrp)
8) in twrp, flash magisk again
9) reboot
10) Done, go on with your merry rootin' day.
This does not wipe data, when done properly. I updated my GM1917 to 9.5.13.GM21AA using this method a few minutes ago. I kept Magisk Root and TWRP. No problems. And then I flashed me some xXx rom.
I know there was another guide for updating too, but that had too many diagrams and charts and my brain couldn't handle the pressure.
Same steps for moving back to OOS from custom ROM?
vrushank__ said:
Same steps for moving back to OOS from custom ROM?
Click to expand...
Click to collapse
Sure! This is what I did.
I had xXx rom installed on my OnePlus 7 not pro version before I bought my OnePlus 7 pro. So, hopefully, it will be basically the same steps. Although, I am not responsible for any rats that wake from the dead as Zombie Rats and eat your phone.
1)Download the stock Oxygen OS rom to the sd card on your phone from the Oxygen OS website, or from the Oxygen Updater app, or from XDA. Just make sure it is the Stock Rom though.
2) Go into TWRP and flash your Custom Rom's Uninstaller, if there was one, that the developer made with the custom rom. (do not reboot!!!!)
3) In TWRP, flash the Magisk uninstaller. (do not reboot!!!!!)
4) In TWRP, flash the Oxygen OS Stock Rom.
4) Reboot.
The Custom Rom, Magisk, and TWRP will No Longer be on your phone.
Mod edit: Link removed!
Or just:
1. Boot twrp
2. Install rom
3. Install twrp installer
3b. Install disable dm
4. Reboot recovery
5. Install magisk
5b. Install disable dm
6. Reboot system.
Have no issues doing this ^^
MrCreel said:
Or just:
1. Boot twrp
2. Install rom
3. Install twrp installer
3b. Install disable dm
4. Reboot recovery
5. Install magisk
5b. Install disable dm
6. Reboot system.
Have no issues doing this ^^
Click to expand...
Click to collapse
No issues, Commander. Not one.
MrCreel said:
Or just:
1. Boot twrp
2. Install rom
3. Install twrp installer
3b. Install disable dm
4. Reboot recovery
5. Install magisk
5b. Install disable dm
6. Reboot system.
Have no issues doing this ^^
Click to expand...
Click to collapse
Or just: make your own thread.
A.Noob said:
Or just: make your own thread.
Click to expand...
Click to collapse
Woah, wasn't meant as disrespect or anything, just pointing it out since you wanted it to be simple
Sorry. I was applying the universal law of the internet. Strike first, put fist in mouth second. :silly:
Thanks for your input and merry day to you.

Updating a rooted Redmi 8 with custom recovery

Hey guys I was wondering something I haven't installed the latest update yet and my phone is rooted and has TWRP on it soo not sure if i can just update with all that or like i should restore the phone to its original state then update
Last version of TWRP I tried (3.4.0-0) did not work properly with Android 10, don't know about the new 3.4.0-1 because I switched to OrangeFox which can decrypt Android 10 without issues.
As for the update process, you need to get the Recovery ROM update package, you can download it from the official xiaomi site, put it, Magisk and your kernel if you use a custom one either on the phone's internal storage or even better your SD card and flash from recovery in this order:
1. ROM
2. Kernel
3. Magisk
4. Wipe Dalvik\cache
5. Reboot to system
I did it exactly like this a few times now, granted it was with xiaomi.eu instead of stock but the process should be the same.
This should just update the phone without wiping anything and with maintaining root, just make sure to do it from a recovery that can decrypt the phone.
Maranex said:
Last version of TWRP I tried (3.4.0-0) did not work properly with Android 10, don't know about the new 3.4.0-1 because I switched to OrangeFox which can decrypt Android 10 without issues.
As for the update process, you need to get the Recovery ROM update package, you can download it from the official xiaomi site, put it, Magisk and your kernel if you use a custom one either on the phone's internal storage or even better your SD card and flash from recovery in this order:
1. ROM
2. Kernel
3. Magisk
4. Wipe Dalvik\cache
5. Reboot to system
I did it exactly like this a few times now, granted it was with xiaomi.eu instead of stock but the process should be the same.
This should just update the phone without wiping anything and with maintaining root, just make sure to do it from a recovery that can decrypt the phone.
Click to expand...
Click to collapse
Well I have a few questions
By recovery ROM you mean from here https://c.mi.com//miuidownload/detail?device=1900376 the full ROM? like I just flash the ROM file using TWRP well OrangeFox version right and it will keep all my apps and data
Yes, you flash the rom from mi.com.
Don't "just" flash it or you'll loose root and OrangeFox, flash in this order:
1. ROM
2. Kernel
3. OrangeFox (I added this step because you are on official MIUI and the update will replace your custom recovery unless you re-flash it after the rom.)
4. Magisk
5. Wipe Dalvik\cache
6. Reboot to system
Before flashing make sure you are flashing the right rom for your variant and region.
Other than that, you should be good, I updated like this three times and had no data loss.

Categories

Resources