Installing OTA updates after root - Xiaomi Mi A1 Questions & Answers

Well, ive rooted my phone when it was on September update 2018, when the updates arrives i just flash magisk uninstaller from TWRP (temporary need pc to boot to it) and when i check it with root checker it says my device ain't rooted and i get back installing the update from ota ... the update is downloading , and in step 1 it shows couldn't install , and they it downloads again ... please anyone help me out to install OTA updates !

sahil_firoz said:
Well, ive rooted my phone when it was on September update 2018, when the updates arrives i just flash magisk uninstaller from TWRP (temporary need pc to boot to it) and when i check it with root checker it says my device ain't rooted and i get back installing the update from ota ... the update is downloading , and in step 1 it shows couldn't install , and they it downloads again ... please anyone help me out to install OTA updates !
Click to expand...
Click to collapse
That's because you have twrp installed, otas on every device won't install if you have a custom recovery. The only way I know to remove twrp is to reflash the rom with mi flash tool, or flash a twrp flashable stock rom without flashing the twrp installer.

WhatzIt2Ya said:
That's because you have twrp installed, otas on every device won't install if you have a custom recovery. The only way I know to remove twrp is to reflash the rom with mi flash tool, or flash a twrp flashable stock rom without flashing the twrp installer.
Click to expand...
Click to collapse
TWRP is not installed permanently well, i just boot TWRP with the command ! ... and also with the file .. connected to PC ,,, well, how i know is that when i hold down volume down and power button it shows *no commands* this is why there is no custom recovery installed ! when i searched xda deeply i found that if the TWRP is temporarily installed then, unrooot it and when you install it the ota update will install !

sahil_firoz said:
TWRP is not installed permanently well, i just boot TWRP with the command ! ... and also with the file .. connected to PC ,,, well, how i know is that when i hold down volume down and power button it shows *no commands* this is why there is no custom recovery installed ! when i searched xda deeply i found that if the TWRP is temporarily installed then, unrooot it and when you install it the ota update will install !
Click to expand...
Click to collapse
I thought volume down + power enters fastboot mode. Volume up + power enters recovery. Anyways, if you dont have TWRP installed, then you have to reset your phone.

WhatzIt2Ya said:
I thought volume down + power enters fastboot mode. Volume up + power enters recovery. Anyways, if you dont have TWRP installed, then you have to reset your phone.
Click to expand...
Click to collapse
Oh man, so I have to reset everytime ?? ... By the way for getting into twrp I use mi A1 tool to boot

sahil_firoz said:
Oh man, so I have to reset everytime ?? ... By the way for getting into twrp I use mi A1 tool to boot
Click to expand...
Click to collapse
Well, as long as you didn't flash twrp installer zip, and the ota still fails, then your only solution is to reset your phone.

sahil_firoz said:
Well, ive rooted my phone when it was on September update 2018, when the updates arrives i just flash magisk uninstaller from TWRP (temporary need pc to boot to it) and when i check it with root checker it says my device ain't rooted and i get back installing the update from ota ... the update is downloading , and in step 1 it shows couldn't install , and they it downloads again ... please anyone help me out to install OTA updates !
Click to expand...
Click to collapse
You probably made a mistake and made changes to the system partition. A common mistake is to start twrp and mount the partition as read/write. Even if you did not make any changes, the partition info will be changed and any OTA will fail from that point on.

barrack1 said:
You probably made a mistake and made changes to the system partition. A common mistake is to start twrp and mount the partition as read/write. Even if you did not make any changes, the partition info will be changed and any OTA will fail from that point on.
Click to expand...
Click to collapse
thanks my man ! , Bye Bye stock rom .............. custom ROM FTW !! XD

Related

Need to get New Update 2.10.720.4 (System Enhancement).. Please Help!

I just saw a nuew update of 89.9 MB in the notifications... Since I am on 5.0.2 rooted TWRP recovery... I am not able to install it...
Should I just relock the bootloader and flash the stock recovery and try it... Or is there are other way.. I am asking this before doing it so that I dont get into any trouble.
Hello., first restore unrooted and untoched twrp backup of lolipop and then flash the stock recovery with the fastboot usb mode.. then diwnload and install update ...
No need to relock bootloader..
sandeep saxena said:
Hello., first restore unrooted and untoched twrp backup of lolipop and then flash the stock recovery with the fastboot usb mode.. then diwnload and install update ...
No need to relock bootloader..
Click to expand...
Click to collapse
I just saw your post regarding viper4android...
Can you give me the link for busybox which is working on Lollipop..
https://drive.google.com/file/d/0BwE2tEyxFtHBa3JpYVRtSnBPeDA/view?usp=docslist_api
Download and flash this in recovery...
And u updated os verion to 2.10.720.4 ?
sandeep saxena said:
https://drive.google.com/file/d/0BwE2tEyxFtHBa3JpYVRtSnBPeDA/view?usp=docslist_api
Download and flash this in recovery...
And u updated os verion to 2.10.720.4 ?
Click to expand...
Click to collapse
Just doing it... Have restored twrp backup unrooted...
And regarding viper4android... do is just need to flash that file only.. And nothing else?
This is only busybox ..
And for viper4android download this
https://drive.google.com/file/d/0BwE2tEyxFtHBQVVwWTF3ZjVjSXM/view
Flash this in recovery
sandeep saxena said:
This is only busybox ..
And for viper4android download this
https://drive.google.com/file/d/0BwE2tEyxFtHBQVVwWTF3ZjVjSXM/view
Flash this in recovery
Click to expand...
Click to collapse
I am unable to get back to stock recovery... I have already restored the lollipop backup of twrp.. Now when I tried flashing stock recovery via fastboot... It gets flashed.. But I am unable to boot to recovery.. The phone just restarts when I boot into recovery,,,
I have tries two different stock recovery version uploaded in the forum...
Please help me
One more issues I have is... Whenever I update an app or download an app from play store... My home screens get to default inspite of having lots of space for new icons...
Everytime I have to rearrange my home screen.. May be you can help me..
happiy91 said:
I am unable to get back to stock recovery... I have already restored the lollipop backup of twrp.. Now when I tried flashing stock recovery via fastboot... It gets flashed.. But I am unable to boot to recovery.. The phone just restarts when I boot into recovery,,,
I have tries two different stock recovery version uploaded in the forum...
Please help me
Click to expand...
Click to collapse
Which lollipop twrp backup did you use...???
harshad_kp said:
Which lollipop twrp backup did you use...???
Click to expand...
Click to collapse
The one given in the post below
http://forum.xda-developers.com/desire-820/development/rom-htc-desire-d820-dual-sim-t3131195
https://drive.google.com/file/d/0BwE2tEyxFtHBQlRZazlIS2lRelk/view?usp=docslist_api
Flash this recovery this is the .exe file
First go into usb fastboot mode and conect ur device to pc then double click on it and then press any key recovery automatically flash ..
Then download nd install update.
sandeep saxena said:
https://drive.google.com/file/d/0BwE2tEyxFtHBQlRZazlIS2lRelk/view?usp=docslist_api
Flash this recovery this is the .exe file
First go into usb fastboot mode and conect ur device to pc then double click on it and then press any key recovery automatically flash ..
Then download nd install update.
Click to expand...
Click to collapse
Do I need to unroot my phone before flashing recovery and downloading update
Restore unrooted backup first
sandeep saxena said:
Restore unrooted backup first
Click to expand...
Click to collapse
Thanks a lot man... This recovery worked and successfully applied the upgrade... Clicked Thanks
sandeep saxena said:
Restore unrooted backup first
Click to expand...
Click to collapse
One more issue I had, I told you about...
I use recovery by kinghui (Sorry, If I spell it wrong)
When I flash it, my calculator and flashlight apps are gone...
And also everynow and then, my home screen icons go to default... I always have to rearrange the icons.. Is there any solution for this?
Ur apps gone by perform factory reset not recovery flash....
Because in the update calc..,flashlight..etc apps not a system app if you want to install those apps then extracted the ota file by using winrar and found the apps in data/app folder and install it manually...
sandeep saxena said:
Ur apps gone by perform factory reset not recovery flash....
Because in the update calc..,flashlight..etc apps not a system app if you want to install those apps then extracted the ota file by using winrar and found the apps in data/app folder and install it manually...
Click to expand...
Click to collapse
The calulator and flashlight I got it from some other mobile forum...
But this issue of home screen resetting after downloading anything from playstore... How to resolve this?
I arrange home screen icons and widgets... And when I download anything from playstore.. Everything from my home screen is gone... Then again I always need to arrange them..
Perform a data wipe in twrp recovey in wipe section
There type yes and press go...
Or
Flash stock recovery and then perform a factory resset...
Hi what you mean by "unrooted and untoched twrp backup of lolipop" ..
Appreciate if can explain , i am facing same issue

Request for information: Update rooted Honor 7 on 5.0.2 TWRP recovery to 6.0.1

Hi. My phone status:
PLK-L01
PLK-L01C432B180
EMUI version 3.1
5.0.2
rooted with TWRP boot recovery.
I'm looking for steps to update to android version 6.0.1 without losing all of my data, and keeping phone rooted and same recovery.
Is this something which is possible?
The only steps I have found is to how to replace stock recovery to update OTA.
I expect I would then need to root phone again afterwards.
Is this the recommended way of updating, or can I manually perform the update safely, and are there tried and tested instructions for this?
Many Thanks in advance for any responses.
M.
unroot before updating and flash stock recovery
hoodoo_mc said:
Hi. My phone status:
PLK-L01
PLK-L01C432B180
EMUI version 3.1
5.0.2
rooted with TWRP boot recovery.
I'm looking for steps to update to android version 6.0.1 without losing all of my data, and keeping phone rooted and same recovery.
Is this something which is possible?
The only steps I have found is to how to replace stock recovery to update OTA.
I expect I would then need to root phone again afterwards.
Is this the recommended way of updating, or can I manually perform the update safely, and are there tried and tested instructions for this?
Many Thanks in advance for any responses.
M.
Click to expand...
Click to collapse
Completely unroot from settings menu in SuperSU app, Download latest firmware that is B380, use Huawei update extractor to extract stock recovery from update.app which you will get by extracting firmware, flash it in bootloader mode.
Copy update.app to dload folder in SD card, turn off your phone. Press and hold power, Vol up, vol down until a reboot. Let go of power after booting but keep other two pressed for five, six sec more.
muradulislam said:
Completely unroot from settings menu in SuperSU app, Download latest firmware that is B380, use Huawei update extractor to extract stock recovery from update.app which you will get by extracting firmware, flash it in bootloader mode.
Copy update.app to dload folder in SD card, turn off your phone. Press and hold power, Vol up, vol down until a reboot. Let go of power after booting but keep other two pressed for five, six sec more.
Click to expand...
Click to collapse
Hi. Many thanks for the prompt response.
That all seems straight forward, I just have one step I'd like you to confirm, if you would, and an additional question:
"flash it in bootloader mode"
So, after unrooting the phone, I will still have TWRP recovery available to use?
And, once I am at latest 6 firmware, do I need to use something like SRK Tools to reroot, or will SuperSU app still be installed and able to perform the re-root?
Thanks,
M.
hoodoo_mc said:
Hi. Many thanks for the prompt response.
That all seems straight forward, I just have one step I'd like you to confirm, if you would, and an additional question:
"flash it in bootloader mode"
So, after unrooting the phone, I will still have TWRP recovery available to use?
And, once I am at latest 6 firmware, do I need to use something like SRK Tools to reroot, or will SuperSU app still be installed and able to perform the re-root?
Thanks,
M.
Click to expand...
Click to collapse
After the unroot, the twrp recovery will still be there. You need to replace it with stock recovery by flashing it in bootloader mode, only then you can upgrade.
After upgrading to 6.0 you need to flash twrp again (in bootloader mode) and then flash SuperSU 2.62 (in twrp, for a root). Don't flash any other version.
muradulislam said:
After the unroot, the twrp recovery will still be there. You need to replace it with stock recovery by flashing it in bootloader mode, only then you can upgrade.
After upgrading to 6.0 you need to flash twrp again (in bootloader mode) and then flash SuperSU 2.62 (in twrp, for a root). Don't flash any other version.
Click to expand...
Click to collapse
Many Thanks.
I think I know what I'm doing now.
(famous last words)
hoodoo_mc said:
Many Thanks.
I think I know what I'm doing now.
(famous last words)
Click to expand...
Click to collapse
Don't worry mate, we will all be here
muradulislam said:
Don't worry mate, we will all be here
Click to expand...
Click to collapse
Thanks for the support.
OK, I'm going to leave it for today, and try again tomorrow.
Basically, I go through the steps to flash the stock recovery but can't complete this first step ;
By the way, there are 2 files in the update.app - recovery.img and recovery2.img. Does it matter which one I use?
And does the header file need to be in the same location, or can that be ignored for this step?
Anyhoo, after flashing via command line, and then do the final 'fastboot reboot' the phone just goes into a continuous boot loop until I interrupt by holding down all of the buttons.
Am I doing something wrong here?
I seem to remember I had this same issue when I first got the phone and was trying to get TWRP recovery installed using this method, and can't for the life of me remember how I got through it
@hoodoo_mc
you have to use recovery.img for the system recovery partition! >>> fastboot flash recovery recovery.img
recovery2.img is for the e-recovery partition only!
the header files could be ignored!
But you should flash the boot.img also! >>> fastboot flash boot boot.img >>> because SuperSU has made some changes to your boot partition!!!
to be absolutely save, you should flash the system.img to prevent other problems at last! >>> fastboot flash system system.img
If you use the B380 file to update, you will not loose your data! But it could be clever to backup your personal data and your files with the HUAWEI Backup app!
Good Luck!
non-toxic said:
@hoodoo_mc
you have to use recovery.img for the system recovery partition! >>> fastboot flash recovery recovery.img
recovery2.img is for the e-recovery partition only!
the header files could be ignored!
But you should flash the boot.img also! >>> fastboot flash boot boot.img >>> because SuperSU has made some changes to your boot partition!!!
to be absolutely save, you should flash the system.img to prevent other problems at last! >>> fastboot flash system.img system
If you use the B380 file to update, you will not loose your data! But it could be clever to backup your personal data and your files with the HUAWEI Backup app!
Good Luck!
Click to expand...
Click to collapse
Thank you so much guys @non-toxic and @Mansehra
Using your help I successfully upgraded to B380 and have my phone rooted again with TWRP recovery, and no data lost.
Cheers,
M.
hoodoo_mc said:
Thank you so much guys @non-toxic and @Mansehra
Using your help I successfully upgraded to B380 and have my phone rooted again with TWRP recovery, and no data lost.
Cheers,
M.
Click to expand...
Click to collapse
Enjoy your phone buddy... Don't forget to get greenify and titanium backup.
I love these two apps.
;
muradulislam said:
Don't forget to get greenify and titanium backup.
Click to expand...
Click to collapse
where is it for if you can use TWRP and HUAWEI Update together??
BTW: Had compared greenify with Lollipop and MM and for me greenify makes no sense!
Power consumption was the same as without! (on my device = 6%/24h! -GSM2 -no WLAN -no GPS -noBT -no DATA sync)
non-toxic said:
;
where is it for if you can use TWRP and HUAWEI Update together??
BTW: Had compared greenify with Lollipop and MM and for me greenify makes no sense!
Power consumption was the same as without! (6%/24h!)
Click to expand...
Click to collapse
For me it does make sense as I don't want Facebook and similar apps to run in the background nagging me with updates. I want them to run and update myself when I have time and tap on them. For battery, it does save some juice for me.
What's the comment about TWRP and Huawei update.
I am not sure what you mean by it.
ah, ok i see... it is neccesarry for YOU!
BtT. and thx bro:good:

Stuck in recovery mode npjs 25.93.14.8

Hello.
My mobile ver 25.93.14.4 is rooted and twrp is installed. Today I got update for my device which is npjs 25.93.14.8 I downloaded this update and after downloading i click on install button a message appears that phone will restart in 10 seconds after restarting the mobile stuck in recovery mode. I again try to restart but again automatically i log into recovery mode. what should I do to install new update.
Thanks in advance.
abhi212b said:
I think since you are rooted and you tried installing the OTA, the boot.img is replaced by the original one, that breaks the phone if flashed on root. so you can try 2 things:
1. Try flashing the EX kernel again. Flash the Uninstaller 1st and then flash it again and then normal boot from TWRP.. if it loops to TWRP, use point 2 procedure.. if it works...
2. If you are being re-directed to the TWRP. press and hold power + Vol down to go to bootloader and then use normal mode.
Personally, I would flash EX kernel again and then boot...
Hope it helps!
If Nothing helps..Make a Nandroid backup, Boot to bootloader by Power+Vol down. and then flash stock from PC..
u can restore the nandroid backup by Titanium Pro..
Click to expand...
Click to collapse
Try the steps that abhi212b suggested (this was for users that had TWRP installed and took the March OTA when it was available).
As an aside, OTA updates will only install properly on the stock recovery with a stock system and kernel. Thus you'll have to remove root, flash a stock kernel and stock recovery and then you should be able to install the OTA. If you have a custom logo.bin, you'll have to flash the stock logo.bin too.
Thanku so much.
echo92 said:
Try the steps that abhi212b suggested (this was for users that had TWRP installed and took the March OTA when it was available).
As an aside, OTA updates will only install properly on the stock recovery with a stock system and kernel. Thus you'll have to remove root, flash a stock kernel and stock recovery and then you should be able to install the OTA. If you have a custom logo.bin, you'll have to flash the stock logo.bin too.
Click to expand...
Click to collapse
Thank you so much buddy...
solved my problem:good:

HELP !!! Bootloop after OTA update.

Hi, I downloaded the last update in OTA but after reboot I'm stuck on the boot animation.
I'm on the stock rom, never updated since I bought the phone in august.
I'm root and of course my bootloader is unlocked. I have TWRP that I managed to reinstall with ADB Sideload after this f***ing update get me back on stock recovery.
Now I keep trying install Roms (Official and customs) via ADB Sideload. Each time it look like the install is successful but then TWRP tell me "no os install, are you sure you want to reboot". Then I'm always stuck on the boot animation (at least it's the animation of the rom I tried to install).
Before I tried to update via OTA the 1st time I made a backup with TWRP but now all my files have been replaced by files with random letters ans numbers, so I can't even restore my backup and I'm affraid I lost everything I had on my phone.
What should I do now ?
Thanks for your help
Simply reflash the rom or do factory reset using pc { adb }
Swarup550 said:
Simply reflash the rom or do factory reset using pc { adb }
Click to expand...
Click to collapse
as i said, after flashing a rom it tell me "no os installed".
by factory reset you mean format hd ? i'd like not to loose everything.
Then you have to format it and then you have to install the stock rom.
Swarup550 said:
Then you have to format it and then you have to install the stock rom.
Click to expand...
Click to collapse
oh no :crying:
well, if i have no choice
Ya you hav to sacrifice your data
i think oneplus could warn you before download update !!!
i just had a message that told me that i was root and i won't be root anymore after updated. nothing about that i'll have to format my phone
It's done. It seems to work fine
Thanks a lot for your help
Kawa Banana said:
It's done. It seems to work fine
Thanks a lot for your help
Click to expand...
Click to collapse
Welcome.But next time if u want to root use adb to flash twrp then flash super su or i prefer magisk module:

twrp gets erased

Hello guys i need an urgent help yesterday i unlocked bootloader on my g5 plus which was running Android 8.1 everything was ok i installed twrp latest version it got installed but when i reeboted to system the twrp gets erased idk how whenever i try to boot into recovery it shows no command sign and then after pressing power button it boots into stock recovery ! Guys can anyone mention me a solution thread or just explain me what to do ! Thank you
Reinstall it, and then boot right into recovery. If I remember, there is a pop up when you go to close twrp and boot to system to keep twrp, or some such nag.
As far as i remember there were 2 files. dm-verity and forced encryption. I never needed them but if you stay on stock you will have to flash those so that twrp doesn't get replaced by stock recovery everytime you reboot. Check the how to root forum you should find more information there about this.
Or you can just root it and twrp won't erase with stock recover.
naikxda18 said:
Hello guys i need an urgent help yesterday i unlocked bootloader on my g5 plus which was running Android 8.1 everything was ok i installed twrp latest version it got installed but when i reeboted to system the twrp gets erased idk how whenever i try to boot into recovery it shows no command sign and then after pressing power button it boots into stock recovery ! Guys can anyone mention me a solution thread or just explain me what to do ! Thank you
Click to expand...
Click to collapse
Do this:
[email protected] said:
Reinstall it, and then boot right into recovery. If I remember, there is a pop up when you go to close twrp and boot to system to keep twrp, or some such nag.
Click to expand...
Click to collapse
and flash Disable_Dm-Verity_ForceEncrypt_02.04.2019:
https://yadi.sk/d/HLr5vjnkA8gaqw
Wolfcity said:
Do this:
and flash Disable_Dm-Verity_ForceEncrypt_02.04.2019:
https://yadi.sk/d/HLr5vjnkA8gaqw
Click to expand...
Click to collapse
hmmm, that's strange. I've never flashed that and never lost twrp on any of the phones I've unlocked. Is that new with unlocking Oreo?
Wolfcity said:
Do this:
and flash Disable_Dm-Verity_ForceEncrypt_02.04.2019:
https://yadi.sk/d/HLr5vjnkA8gaqw
Click to expand...
Click to collapse
Thanks but i flashed RR pie soon after flashing twrp now its working fine
[email protected] said:
hmmm, that's strange. I've never flashed that and never lost twrp on any of the phones I've unlocked. Is that new with unlocking Oreo?
Click to expand...
Click to collapse
I didn't either, as you wrote if you boot into TWRP before going to system it should stick or also if you flash magisk before booting the OS.
But there are some devices/ROMs that need the no verity flag to be disabled so flashing this file might help if TWRP won't stick (even when DM verity looks for a tampered system partition in the first case). There are also some terminal commands to do that but I forgot them at the moment.
I mainly used the zip to keep my /data partition decrypted after reformating it. When flashing Nougat magisk did the job for me but when I upgraded to Oreo /data was reencrypted again after flashing magisk and booting into system.
The above zip prevents /data from being encrypted again and may make sure that TWRP sticks.
ahhh, ok I see. Thanks for the explanation.

Categories

Resources