Question How to flash manually new available zip OTA firmware update ? - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Hello.
How to flash manually new available zip OTA firmware update ?
I have 12.5.1.0 RHKEUXM
And now is available new version 12.5.3.0 RKHEUXM (zip file)
How do I flash manually a new OTA zip version with a size of about 355MB via twrp recovery or another way ?
I tried it, but in twrp recovery I got an error with some A / B partition switching.
(Screenshot in next post)
Simplified: How to install the update when I have TWRP recoveryrecovrecovery and Magisk Root?
Can you please help? Thank you.

You cannot update with TWRP unless the twrp supports it.
It would say MIUI OTA support where you downloaded it.

So how do I install it? I have the OTA update downloaded in the downloads in the repository.

So how do I install the OTA update?
When I install the zip via twrp recovery, this pops up:

No one can advise? Please.

You don't.
OTA is automatically installed by the system

jkmaxfli said:
No one can advise? Please.
Click to expand...
Click to collapse
see here if you don't have the option to select update manually, tap on the miui 12 icon in 'about' several times to enable more options (going from memory, so can't be sure, but i think that's right)

I selected the downloaded zip manually and started updating.
MIUI update failed!
Where is the problem?
I note that I have TWRP recovery, Magisk root, unlocked bootloader.

reg66 said:
see here if you don't have the option to select update manually, tap on the miui 12 icon in 'about' several times to enable more options (going from memory, so can't be sure, but i think that's right)
Click to expand...
Click to collapse
That only works with stock recovery.
Try installing the stock recovery by manually flashing the recovery.img from the fastboot rom of the miui version you are currently running.
After downloading the fastboot ROM current to your muui version extract it and flash recovery.img
Then do the OTA update.
Then reflash twrp.

Thank you. And any procedure and links to download and install stock recovery?

Um just download your stock rom?
Same place where you manually downloaded the ota, there would be a fastboot recovery ROM too.

Kenora_I said:
Um just download your stock rom?
Same place where you manually downloaded the ota, there would be a fastboot recovery ROM
Click to expand...
Click to collapse
Kenora_I said:
Um just download your stock rom?
Same place where you manually downloaded the ota, there would be a fastboot recovery ROM too.
Click to expand...
Click to collapse
Do you mean zip rom?

If u wanna use TWRP, u have to download recovery ROM for 12.5.3.0 (the one over 2,9 Gb), not the OTA (incremental) one.

Alin45 said:
If u wanna use TWRP, u have to download recovery ROM for 12.5.3.0, not the OTA (incremental) one.
Click to expand...
Click to collapse
Do you mean the whole ROM with a size of about 3 GB zip file?
And after the flash, will I be left with the system and application settings as before the flash of this new ROM version?
Or will I have to set everything again?

Ur settings and apps will be kept....after flash rom, just delete dalvick and reboot to system. if u have magisk, u'll have to flash it again....most probably

Alin45 said:
Ur settings and apps will be kept....after flash rom, just delete dalvick and reboot to system. if u have magisk, u'll have to flash it again....most probably
Click to expand...
Click to collapse
Okay. So what do you think is easier? Flash the whole ROM via TWRP recovery, or back to stock recovery and flash only OTA update zip (355 MB) manually and back flash TWRP recovery?

If u have TWRP flashed, my way is easier in my opinion....but is ur choice after all.

Alin45 said:
Ur settings and apps will be kept....after flash rom, just delete dalvick and reboot to system. if u have magisk, u'll have to flash it again....most probably
Click to expand...
Click to collapse
Yes this method works.
Flashing it would upgrade it.
Problem with MIUI OTA the zip is encrypted so. Only some forks of TWRP like pitch black, orangefox etc have MIUI OTA support.

Related

Problem updating to OxygenOS 3.5.3 CE

hello everyone, hope you all have a nice day...
i'm no on NON-ROOTED stock OxygenOS 3.5.2, yesterday OTA update to 3.5.3 appeared on my phone and i downloaded it, i have TWRP recovery, then in rebooted to TWRP to install the update, after thtat, phone reboots again and said Update failed, if i go to system update now,it wants to download a 1.3GB file instead of former 80mb file! can i update using the 80mb OTA file instead of downloading a 1.3gb file ?
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
ansaziz777 said:
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
Click to expand...
Click to collapse
It worked for me with TWRP. But I did something different. If you turn on "show hidden files" in any supported File Manager you'd notice a folder named ".OnePLusH2Ota" that's where the downloaded update files are stored as a zip. So all you have to do is download the update file and Move it to the Root directory from the update folder. Then boot into TWRP and flash the zip and it will work.. Hope that helped
**REMEMBER THE TWRP I USED WAS NOT THE OFFICIAL TWRP. IT WAS A CUSTOM VERSION OF TWRP**
ansaziz777 said:
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
Click to expand...
Click to collapse
I was able to download and then flash the update .zip with the modified TWRP, didn't break that version of TWRP.

Update failed [Help].

Hi All,
Previously my op3 unlocked and rooted after some days i was flashed Freedom OS 1.7 (normal) build. Now i want go back to complete stock and unroot. I follow some of the guidance videos internet and followed ,
1. Restored my backup via twrp
2. Flashed Full rom OOS 3.2.6 via TWRP
3. Flashed stock recovery via ADB. Everything works fine but
Now i am trying to update 3.2.6 to 3.2.7 getting error " Installation Failed" . Whats wrong i did .
Also i have boot logo Freedom OS don't know even i am on stock rom. Can any one help me
1. How to remove that boot logo
2. Completely go back to stock rom with stock recovery
3. Also get updates and install without fail
Please help Guys.
Thanks in Advance
Mahesh
Well, probably its a problem with your boot.img partition. Extract boot.img from stock rom zip, then flash it via fastboot flash boot boot.img and then, flash orginal recovery same as boot. Then, finally, flash via recovery STOCK ROM. Probably now it will be fine.
If not, try flash TWRP and make FULL WIPE included system partition and repeat upper steps.
Cheers.
In twrp goto wipe and do normal wipe remember don't do advance wipe otherwise it'll format internal storage as well so avoid advance wipe only do normal wipe then install full 3.2.7 zip and super su. zip
Sent from my ONEPLUS A3003 using Tapatalk
Mahesh8348 said:
Hi All,
Previously my op3 unlocked and rooted after some days i was flashed Freedom OS 1.7 (normal) build. Now i want go back to complete stock and unroot. I follow some of the guidance videos internet and followed ,
1. Restored my backup via twrp
2. Flashed Full rom OOS 3.2.6 via TWRP
3. Flashed stock recovery via ADB. Everything works fine but
Now i am trying to update 3.2.6 to 3.2.7 getting error " Installation Failed" . Whats wrong i did .
Also i have boot logo Freedom OS don't know even i am on stock rom. Can any one help me
1. How to remove that boot logo
2. Completely go back to stock rom with stock recovery
3. Also get updates and install without fail
Please help Guys.
Thanks in Advance
Mahesh
Click to expand...
Click to collapse
before you flash 3.2.7 mount system read-only. you can do this under "mount"
it is a known bug with twrp and oxygenos
You can download the stock boot logo from here: https://www.androidfilehost.com/?fid=529152257862664522
Credits goes to @jamal2367
panther124 said:
before you flash 3.2.7 mount system read-only. you can do this under "mount"
You can download the stock boot logo from here: https://www.androidfilehost.com/?fid=529152257862664522
Credits goes to @jamal2367
Click to expand...
Click to collapse
Hi you are saying in TWRP or Stock recovery? anyway i am on stock recovery . How to mount on stock recovery.
Mahesh8348 said:
Hi you are saying in TWRP or Stock recovery? anyway i am on stock recovery . How to mount on stock recovery.
Click to expand...
Click to collapse
if you are on stock recovery you cant change the mounts.
flash twrp to flash bootlogo and oxygenos 3.2.7
otherwhise you have to install via sideload but this is very slow and you cant flash stock bootlogo
so flash twrp and then mount system read-only and then flash oxygenos 3.2.7 and after or before this you can flash the stock bootlogo
panther124 said:
if you are on stock recovery you cant change the mounts.
flash twrp to flash bootlogo and oxygenos 3.2.7
otherwhise you have to install via sideload but this is very slow and you cant flash stock bootlogo
so flash twrp and then mount system read-only and then flash oxygenos 3.2.7 and after or before this you can flash the stock bootlogo
Click to expand...
Click to collapse
Thanks sir for that boot logo.
I want go complete stock without twrp. after i flash 3.2.6 via twrp it will replace twrp recovery and automatically go to stock recovery. Again i flashed stock recovery . try to update via stock recovery it shows installation failed. attached is the image for your reference. could you please suggest to install updates successfully .
Mahesh8348 said:
Thanks sir for that boot logo.
I want go complete stock without twrp. after i flash 3.2.6 via twrp it will replace twrp recovery and automatically go to stock recovery. Again i flashed stock recovery . try to update via stock recovery it shows installation failed. attached is the image for your reference. could you please suggest to install updates successfully .
Click to expand...
Click to collapse
download 3.2.7 full zip and flash it
i will show you how to get this becuase you cant download it from official site
http://forum.xda-developers.com/oneplus-3/how-to/download-install-oxygenos-3-2-7-update-t3472178
here you can get the full zip. And this zip you can flash without 3.2.6 preinstalled.
panther124 said:
download 3.2.7 full zip and flash it
i will show you how to get this becuase you cant download it from official site
http://forum.xda-developers.com/oneplus-3/how-to/download-install-oxygenos-3-2-7-update-t3472178
here you can get the full zip. And this zip you can flash without 3.2.6 preinstalled.
Click to expand...
Click to collapse
Thanks for that sir,
Every time i got update need to do like this way. or i will get updates automatically .
Mahesh8348 said:
Thanks for that sir,
Every time i got update need to do like this way. or i will get updates automatically .
Click to expand...
Click to collapse
You should get it automatically

How to update with twrp and root access installed?

Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
I (without root) flashed the OTA on 11.0.2.0 global PGGMIXM to 11.0.6.0, but, to flash with root... Maybe (I dont know if it will brick) but you can try flash a recovery version of 11.0.6.0
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
One thing you forgot to mention is what region is your phone (not your Rom). If Chinese you may have to be extra cautious and steps above might not work for you.
Good luck!
KonahZave said:
I (without root) flashed the OTA on 11.0.2.0 global PGGMIXM to 11.0.6.0, but, to flash with root... Maybe (I dont know if it will brick) but you can try flash a recovery version of 11.0.6.0
Click to expand...
Click to collapse
Interesting. I'm still on rooted miui 10 4.5.0 PGGEUXM rooted magisk and twrp recovery-红米Note8Pro-3.3.1-9.0.img
I didn't update yet as bricking started to happen and I can't miss my phone as a daily driver.
Normally I would flash the full ROM, flash magisk, wipe cache and reboot.
So flashing full ROM doesn't break root?
Can't we flash recovery by twrp after flashing ROM instead by flashing by fastboot?
Isnt secure flash twrp after the ROM.
donkyshot said:
So flashing full ROM doesn't break root?
Can't we flash recovery by twrp after flashing ROM instead by flashing by fastboot?
Click to expand...
Click to collapse
Flashing a full rom will break root, and install stock recovery...
It is too risky to flash another recovery with twrp (possible brick)
so where to put official update on sd card?
download recovery rom?
unoturbo1 said:
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
Click to expand...
Click to collapse
I just brought rmn8p with miui 11.0.6.0 ,so it is ok to use LRTWRP-3.3.1 -0924. I came across a new version -1104, I'll try it after unlock the bootloader. After that flash preloader then trwp.
Use LR.TWRP, it got an option to make the TWRP persist on every OTA.
Also LR.TWRP = less headache on Xiaomi devices.
Here's the latest build: https://mega.nz/folder/cMAT3Q4b#7CbPV7sbEuSEdP7cehXJ-w
tze_vitamin said:
so where to put official update on sd card?
download recovery rom?
Click to expand...
Click to collapse
??
Put on external sd card dude
unoturbo1 said:
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
Click to expand...
Click to collapse
For chinese, this will brick the phone. See this instead.
Guys I Just see This video and in it shows the update process, with ltwrp, when the recovery capture the process and update even without losing data, its This True?, somebody has tried?
Link.
This will brick every phone. I brick my EU ROM, with this method of update rooted phone.
What is correct solution to update rooted phone?
Redmi Note 8 Pro, 11.0.2 QGGEUXM, TWRP 3.3.1 1210, Magisk 20.3 -> 12.0.1 QGGEUXM
System say there exists update, i choose download, select reboot, but after reboot i end up in TWRP but nothing happened. After exit i boot to old 11.0.2 system with message that update fail.
Edit 1: after 2. download/update/reboot TWRP start installing image ...
Edit 2: after automatic update system say 12.0.1, just loosing root (all apps stay)
Edit 3: installed TWRP again, Magisk (there was little problem because Magisk Manager say "not installed", but after some googlig i fix that. So i update system without reinstalling apps or loosing data.
Clear solution is probably download full rom from official Mi website and flash selected rom with TWRP (flash TWRP recovery again, repeat root process, to get root back). See next post.
RedMu said:
So what is correct solution to update rooted phone?
Redmi Note 8 Pro, 11.0.2 QGGEUXM, TWRP 1210, Magicks 20.3 -> 12.0.1 QGGEUXM
Now system say there exists update, i choose download, select reboot, but after reboot i end up in TWRP. After exit i boot to old 11.0.2 system with message that update fail.
So solution is probably downloaded full rom from official Mi website and flash selected rom with TWRP (flash TWRP recovery again, repeat root process, to get root back).
So what is correct way for update in this case?
Click to expand...
Click to collapse
This is how I upgraded, try at your own risk.
Download full recovery zip of MIUI 12 and latest magisk
Create twrp Backup just in case
In LR TWRP 10 mount & format system, cache, dalvik, vendor.
Flash full rom (not ota!)
Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom if there is a recovery_fromboot.p file delete it.
Go back to Advanced and select Close AVB2.0 and confirm with a swipe to the right.
flash Magisk
boot to system
First boot takes a while, relax and grab a drink
Remember to backup and close AVB!
Thank you so much for sharing these steps. I have questions for a couple of steps below:
donkyshot said:
This is how I upgraded, try at your own risk.
Download full recovery zip of MIUI 12 and latest magisk
Create twrp Backup just in case
In LR TWRP 10 mount & format system, cache, dalvik, vendor.
Click to expand...
Click to collapse
What is TWRP 10? Do I format first and then mount? I usually wipe system, cache, dalvik and then "install" the full rom (your next step), but i never try "mount" here. What does mount do here? what is wiping vender and mounting vender?
donkyshot said:
[*]Flash full rom (not ota!)
[*]Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom if there is a recovery_fromboot.p file delete it.
[*]Go back to Advanced and select Close AVB2.0 and confirm with a swipe to the right.
Click to expand...
Click to collapse
There are two check box here. one is "close the boot verification of avb2.0" the other is "close the DMVerity of avb2.0". Do O check one of both?
Thank you!
po1 said:
Thank you so much for sharing these steps. I have questions for a couple of steps below:
What is TWRP 10? Do I format first and then mount? I usually wipe system, cache, dalvik and then "install" the full rom (your next step), but i never try "mount" here. What does mount do here? what is wiping vender and mounting vender?
There are two check box here. one is "close the boot verification of avb2.0" the other is "close the DMVerity of avb2.0". Do O check one of both?
Thank you!
Click to expand...
Click to collapse
Recovery LR TWRP for Android 10
https://androidfilehost.com/?fid=8889791610682889486
First mount system, cache, dalvik, vendor
Than format system, cache, dalvik, vendor
Without mounting folders they won't be mounted
►go back to your main screen: ADVANCED- close AVB 2.0 then swipe to confirm, just tick only 1st box, ignore the second box

Question Query regarding update Miui EU 12.5.3.0

Hi,
I have Mi 11X India handset and have unlocked bootloader and installed Miui Eu 12.5.2.0 ROM a few days back. Today while checking the inbuilt updater app, a new update Miui 12.5.3.0 EU ROM. Can I update using the inbuilt updater?? Or should I download the file and install the update via fastboot method only??
Also Can I install TWRP Alpha released few days back?? I mean I am on Miui 12.5.2.0 EU ROM which I installed via fastboot method. Can I install TWRP now??
If yes, then should I have to use TWRP to update to the new update?? Or can I do via fastboot method??
VJ_1985 said:
Hi,
I have Mi 11X India handset and have unlocked bootloader and installed Miui Eu 12.5.2.0 ROM a few days back. Today while checking the inbuilt updater app, a new update Miui 12.5.3.0 EU ROM. Can I update using the inbuilt updater?? Or should I download the file and install the update via fastboot method only??
Also Can I install TWRP Alpha released few days back?? I mean I am on Miui 12.5.2.0 EU ROM which I installed via fastboot method. Can I install TWRP now??
If yes, then should I have to use TWRP to update to the new update?? Or can I do via fastboot method??
Click to expand...
Click to collapse
You have to use TWRP to install the new version. In TWRP, select the EU ROm.zip file from the install menu and complete the installation.
Fastboot method is no longer supported.
tolga_1 said:
You have to use TWRP to install the new version. In TWRP, select the EU ROm.zip file from the install menu and complete the installation.
Fastboot method is no longer supported.
Click to expand...
Click to collapse
So first I need to install TWRP on my handset. Then I should download the update zip and keep it in my internal storage and then I need to reboot into TWRP recovery and then install the downloaded package available in internal memory??
VJ_1985 said:
So first I need to install TWRP on my handset. Then I should download the update zip and keep it in my internal storage and then I need to reboot into TWRP recovery and then install the downloaded package available in internal memory??
Click to expand...
Click to collapse
Yes thats right
If you are going to install it on the previous EU rom;
1-Copy the EU rom .zip file to internal memory.
2-Install TWRP
3-Open TWRP
4-Select the .zip file in memory from the Install section and complete the installation.
If you want, you can just start TWRP and use it. ADB Command : fastboot boot twrp.img
Please see the attached picture for permanent setup after opening TWRP.
If you want to factory reset it after installation, you can Wipe Data.(After installing Eu rom, do Wipe data.)
TWRP 3.5.1 Download link : https://androidfilehost.com/?w=files&flid=325130
Sorry bad english
I have installed the new Miui EU 12.5.3.0 update without installing the TWRP. All I did was download the TWRP file and place it in adb tools folder. Also downloaded the 12.5.3.0 zip file and placed in in device internal memory. Opened command prompt. Entered "fastboot boot twrp.img" and TWRP launched in Device. Then went to Install in TWRP, selected the ROM Zip file from internal memory and installed the ROM. All working fine and I have also TWRP now on my device.
This is asking the experts here. Can some expert who has been playing with TWRP and Custom ROMs provide some feedback.
I have a Mi 11x Indian Variant. It came with Miui Global Stable. I unlocked bootloader and installed the fastboot EU ROM 12.5.2.0 via fastboot method. Three days later EU ROM 12.5.3.0 ROM was released which is not a fastboot ROM but Recovery ROM. Hence it could have been installed only with TWRP Recovery. Instead of installing TWRP I just booted TWRP on my handset with command fastboot boot twrp.img and then selected Install on the screen and selected the downloaded EU ROM 12.5.3.0 from Device internal memory which I copied earlier after downloading it on my laptop. Proceeded with Install and update 12.5.3.0 was installed and the Device booted into system with 12.5.3.0 update applied. Also since this update also included TWRP, TWRP also got installed. I can boot into TWRP recovery from my handset.
Now what I want to understand is, that have I done everything correctly?? Did I had to do anything extra?? Like some wipe data or format data or something?? I simply wanted to update from 12.5.2.0 which was a fastboot ROM to 12.5.3.0 which was a recovery ROM. And I have done exactly the same as explained above. Haven't faced any errors or issues. Just want to understand if everything I did was correct. Or should I have done something extra? I mean I dont want to face any issued or errors in future and loose my data.
Please throw some light.
There is no need to extend the subject that much. You did everything right.
Nobody can guarantee that there will be no software problems in the future.
If you have a problem in the future, you back up your data and wipe data / cache OK.
tolga_1 said:
There is no need to extend the subject that much. You did everything right.
Nobody can guarantee that there will be no software problems in the future.
If you have a problem in the future, you back up your data and wipe data / cache OK.
Click to expand...
Click to collapse
Thanks man! I can heave a sigh of relief now. Just waiting for the next update!!!
VJ_1985 said:
Thanks man! I can heave a sigh of relief now. Just waiting for the next update!!!
Click to expand...
Click to collapse
There was a 1 month gap between 12.5.2 and 12.5.3 so dont expect the next update anytime soon.

Question Poco F3: Is it possible to root keeping stock MIUI and OTA updates?

Hi there!! Is it possible to root the Poco F3, keeping stock MIUI and still get OTA updates, without any problem (no data loss, no app auth removal, etc)
With rooted stock rom, you still get OTA updates. The smaller incremental OTA update will refuse to install, and the phone will download the full rom instead. Once the full update installed, you will have to apply root again (eg. flash the patched boot.img from the new update).
kurtschmeichel said:
With rooted stock rom, you still get OTA updates. The smaller incremental OTA update will refuse to install, and the phone will download the full rom instead. Once the full update installed, you will have to apply root again (eg. flash the patched boot.img from the new update).
Click to expand...
Click to collapse
In case you're using Magisk, would you flash the OTA update and magisk in TWRP?
What about internal data, and 2FA or banking apps? Do I need to re-authorize everything after OTA update?
I found this video
which shows that you could OTA update by "disabling magisk" for a moment. Is this procedure good?
As said, I let the phone update itself automatically. Since the smaller incremental update will not work, the phone will ask to download the bigger (±3 GB) updater. Once downloaded, it will overwrite the previously patched (rooted) boot.img.
So, when the update has finished and the phone has rebooted, you won't have root access anymore. In order to restore root access, you will have to flash a new patched boot.img.
There are different ways. I always use fastboot on my Mac. On a mac or pc, download the fastboot or recovery file of the new update that was just installed. Extract boot.img from that file. Send the file to the phone and patch it with Magisk. Send the patched boot.img back to the mac or pc and flash it to the phone (both a and b partitions) with fastboot.
Yeah, the only problem really is that, the boot-partition gets replaced with an update. So with every update you have to re-flash the patched boot.img
Magisk can patch TWRP Backups too, you can then restore the patched Boot-partition in TWRP!
So this is what I do to get Root again after an Update:
1. Boot into Fastboot Mode
2. Boot into TWRP SKKK
3. Backup Boot-partition
4. Boot Android
5. Open Magisk & patch /sdcard/TWRP/Backups/boot.emmc.win
6. Rename /Downloads/magisk_patched_xxx.img to "boot.emmc.win"
7. Move (and replace, when asked) to /sdcard/TWRP/Backups/boot.emmc.win
8. Boot TWRP SKKK and restore patched Boot
cyanGalaxy said:
Yeah, the only problem really is that, the boot-partition gets replaced with an update. So with every update you have to re-flash the patched boot.img
Magisk can patch TWRP Backups too, you can then restore the patched Boot-partition in TWRP!
So this is what I do to get Root again after an Update:
1. Boot into Fastboot Mode
2. Boot into TWRP SKKK
3. Backup Boot-partition
4. Boot Android
5. Open Magisk & patch /sdcard/TWRP/Backups/boot.emmc.win
6. Rename /Downloads/magisk_patched_xxx.img to "boot.emmc.win"
7. Move (and replace, when asked) to /sdcard/TWRP/Backups/boot.emmc.win
8. Boot TWRP SKKK and restore patched Boot
Click to expand...
Click to collapse
Thanks so much!
What about for the OTA procedure instead?
lillo9546 said:
Thanks so much!
What about for the OTA procedure instead?
Click to expand...
Click to collapse
Yup my instructions are for updates!
Unfortunately there is no "automatic way" to regain Root after an Update, at least AFAIK.
If you mean you want the small incremental updates to work, I'm not sure due to the altered Boot-partition. Might be best to use the Full Updates. ^^
You could also just flash Magisk.apk in TWRP or OrangeFox because it's also a Flashable ZIP-file, instead of manually having to patch Boot-partition.
I personally haven't done that in a long while, and the official FAQ-page of Magisk says, that that method is outdated and unsupported now, but apparently still works!
I forgot to mention OrangeFox in my previous post, but seems like a newer, better Custom Recovery than TWRP. You can also use that instead of TWRP. But make sure to use the latest Beta instead of Stable from the official Website because only the Beta can view /data (Android 12 Encryption Support). Stable TWRP also doesn't yet support A12 Encryption, only TWRP SKKK (Beta-version).
cyanGalaxy said:
Yeah, the only problem really is that, the boot-partition gets replaced with an update. So with every update you have to re-flash the patched boot.img
Magisk can patch TWRP Backups too, you can then restore the patched Boot-partition in TWRP!
So this is what I do to get Root again after an Update:
1. Boot into Fastboot Mode
2. Boot into TWRP SKKK
3. Backup Boot-partition
4. Boot Android
5. Open Magisk & patch /sdcard/TWRP/Backups/boot.emmc.win
6. Rename /Downloads/magisk_patched_xxx.img to "boot.emmc.win"
7. Move (and replace, when asked) to /sdcard/TWRP/Backups/boot.emmc.win
8. Boot TWRP SKKK and restore patched Boot
Click to expand...
Click to collapse
Can i do this procedure to dirty flash miui updates?
1. Boot twrp using Power button + Volume Up
2. Flash the ota update zip.
3. Reboot.
Can i do this?
gigavolthavoc07 said:
Can i do this procedure to dirty flash miui updates?
1. Boot twrp using Power button + Volume Up
2. Flash the ota update zip.
3. Reboot.
Can i do this?
Click to expand...
Click to collapse
Yes but make sure to use a Full OTA zip, not an incremental update zip. (the ZIP files in range of ~1-3 GB, not the ~300 MB incremental update-files)
cyanGalaxy said:
Yes but make sure to use a Full OTA zip, not an incremental update zip. (the ZIP files in range of ~1-3 GB, not the ~300 MB incremental update-files)
Click to expand...
Click to collapse
thanks man
Which custom recovery is MIUI OTA enabled?
I can't find it in Orangefox, show me!
Dirt.
orangefox version: [email protected] . 1_1_A12
user2332 said:
Which custom recovery is MIUI OTA enabled?....
Click to expand...
Click to collapse
Probably none. There is no point in trying to do that.
If you say so, I'll believe it. Thank you very much! I don't even bother with it anymore.
my way is to backup stock boot vendor_boot dtbo from twrp before flashing twrp and whenever i want to ota update i restore the backup and reboot
magisk will be gone
twrp will be gone
i start the ota update, it'll flash the small incremental update instead of using the entire 3gb rom

Categories

Resources