OTA with unlocked bootloader - Xiaomi Mi A1 Questions & Answers

Hello
I tried to find the answer, but I wanted to be 100% sure.
My phone is on April 8.0 and my bootloader is already unlocked.
I wanted to know, if I update via OTA directly to July (1152mb), will it erase user data ? And/or relock bootloader ?
Thanks in advance !

Nope, just unroot and disable tweaks before the ota. After that you can just reinstall magisk via fastboot.

Not if you follow the magisk guide to OTA and reroot.
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
https://forum.xda-developers.com/mi-a1/how-to/root-mi-a1-oreo-8-0-disabling-ota-magisk-t3728654
Note the warning about not modifying the system partition, even remounting it as rw.

Related

Can you do official OTA after ROOT without unlocking the bootloader?

Can you do official OTA after ROOT without unlocking the bootloader?
benjpopfilter said:
Can you do official OTA after ROOT without unlocking the bootloader?
Click to expand...
Click to collapse
I dont think you can do official OTA if rooted.
My case is I unlocked bootloader and rooted and I could NOT upgrade via OTA.
Then I reflash stock, bootloader is unlocked and no root. I could upgrade OTA.
Thanks for the information... I guess i will just wait for the nougat update before rooting my g4 play...
We can try this workaround in order to get root and unroot for ota:
1. Fastboot twrp
2. Install magiskSU.zip
Voila, you get rooted.
Then unroot:
1. Install magisk-uninstall.zip
2. Fastboot stock-recovery
This way we are unrooted and ready for OTA.
Note that I am waiting for Nougat OTA as well to prove the unroot above works.
Today in order to test the above, I flashed stock rom, flashed TWRP, rooted with magisk, download the OTA update, flash magisk_uninstaller, flashed back stock-recovery, reboot, and install OTA. The result is ERROR.
I don't know how to copy the error log from recovery, but here below some text that I copied:
Mount count = 6script aborted: system partition has unexpected contents
...
E:Error in /cache/Blur_Version.24.71.3.harpia.retail.en.US.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
Before apply the ota update, just flash the stock rom without wipe data.

flash ota issue

Hello Guys,
i have april version of the Os + Magisk...
of course flashing the may ota doesn't work
i have tried uninstalling masgisk with magisk uninstall+twrp but received an error 1...
is there any method i can use to flash that OTA ? does it exists in TWRP version that i could use or something ?
Do you locked bootloader? With unlocked bootloader you cant update via OTA

[OP5] Need help upgrading to oreo from rooted nougat

I am on OOS 4.5.13 "stock", i used the engineering mode exploit to get magisk root while my bootloader is still locked, now i want to upgrade to latest OOS oreo but i am afraid that this exploit might end up bricking the device. My bootloader is still locked and i have stock recovery (sorry if stating the obvious) and i have no problem losing my data to upgrade to oreo, but i would like to get magisk on oreo when i upgrade, any tips/precautions or a link to a guide would be very helpful. I don't need to root right away as i might like getting OTA updates but i don't wan't to wipe the device another time for some special procedure.
Should i unlock bootloader then upgrade or reverse the order? I keep getting these prompts to upgrade with a disclaimer that full system needs to be downloaded, should i just do it OTA?
PS: i have titanium backup working and can backup the apps i need.
yohouse2 said:
I am on OOS 4.5.13 "stock", i used the engineering mode exploit to get magisk root while my bootloader is still locked, now i want to upgrade to latest OOS oreo but i am afraid that this exploit might end up bricking the device. My bootloader is still locked and i have stock recovery (sorry if stating the obvious) and i have no problem losing my data to upgrade to oreo, but i would like to get magisk on oreo when i upgrade, any tips/precautions or a link to a guide would be very helpful. I don't need to root right away as i might like getting OTA updates but i don't wan't to wipe the device another time for some special procedure.
Should i unlock bootloader then upgrade or reverse the order? I keep getting these prompts to upgrade with a disclaimer that full system needs to be downloaded, should i just do it OTA?
PS: i have titanium backup working and can backup the apps i need.
Click to expand...
Click to collapse
if you are ok with loosing data then i suggest you to unlock the bootloader then flash the latest oos build from the official website ( that makes it easy for you to switch roms easily in the future )
if you need your data then just accept the ota ( obviously you will lose root access and magisk features )
but imo no harm can be done accepting the ota as oneplus itself know that most of users are rooted so they send you the ota as a full build that replace the firmware parts previously modified
the choice is yours
Sent from my OnePlus 5 using XDA Labs

Root for Pie DSBA

anyone here managed to root DSBA? which method did you use? is it possible to receive OTA updates after rooting?
all i can answer you is: it's not possible to receive OTA after rooting
you need to root threw ADB with oem unlock to push twrp img to recover with a auto patch reaction to push magisk vile twrp
PoochyXXX

Rooting and OTA updates

I've been out of the loop with rooting on newer versions of android and I just upgraded to the OP8. Does rooting disable OTA updates or will I continue to receive them as normal? Are there any other issues with it I should be aware of?
Also: does OEM unlock still wipe the device?
As per my knowledge you have to download the whole rom package after root. Unlocking the bootloader wipes the phone.Make sure to backup fp partition after flashing twrp.
https://topjohnwu.github.io/Magisk/ota.html
Follow this to keep root when updating.

Categories

Resources