OTA update - One (M7) Q&A, Help & Troubleshooting

I just recovered my phone with twrp recovery and the root is now gone so my phone is not currently rooted. And there is an OTA update. But I can't install it. It takes me to tarp recovery. So any help. What if I delete the twrp recovery and then install update?

ameerhamza193 said:
I just recovered my phone with twrp recovery and the root is now gone so my phone is not currently rooted. And there is an OTA update. But I can't install it. It takes me to tarp recovery. So any help. What if I delete the twrp recovery and then install update?
Click to expand...
Click to collapse
You must have stock recovery to install ota update along with an unmodified /system files, unmodified /data/preload files.
return to stock using a RUU before applying the ota is probably the safer way to go now with lollipop updates if you want to avoid a bootloop.

Related

only rebooting in recovery

hi, i have Rooted original rom,. unlocked with clockwork mod recovery.
tonight my phone got a OTA 20B,
i tried to install in but my phone is now only rebooting to recovery, is there a way to bypass?
makkie88 said:
hi, i have Rooted original rom,. unlocked with clockwork mod recovery.
tonight my phone got a OTA 20B,
i tried to install in but my phone is now only rebooting to recovery, is there a way to bypass?
Click to expand...
Click to collapse
How many different threads are we going to get from people asking this same question?
Don't accept an OTA update on a modified phone! If you want it then flash the original .kdz then OTA update then redo root and recovery.

OTA update

Hi guys!
I've finally received 4.4.4 notification to update my German Moto x!!
I'd like to know one thing before I proceed.. If I update, will I have to root again the phone?
My phone has unlocked bootloader so there is no problem, but right now I'm on holiday and I don't have a pc to root it again..
Thanks a lot!
I have not upgrade to 4.4.4 yet.
I don't think you need to root again
Thanks!
I've read some other user just flashed the stock recovery, installed the ota and flashed back twrp recovery..
Others instead use fwz method
I think I'll wait until I'm home just to be sure I need my phone during the holidays!
daede86 said:
Thanks!
I've read some other user just flashed the stock recovery, installed the ota and flashed back twrp recovery..
Others instead use fwz method
I think I'll wait until I'm home just to be sure I need my phone during the holidays!
Click to expand...
Click to collapse
Hi, i was wondering the same thing. Is there a method for someone to create an update for rooted phones?
Also can you link me to the threads for flashing back to stock and what this fwz is?
thank you
Here you can find some info about FXZ (sorry for my typo)
http://forum.xda-developers.com/moto-x/general/fxz-moto-x-4-4-4-212-55-26-t2827307
In the same thread you can find the stock recovery, a user posted it. Just search stock recovery in the thread and you'll find it!
I'm not the right person to help you in detail.
I'm not an expert user
In the meantime I froze motorola OTA app to hide the update notification..
Guys, before anyone gets in trouble....there is no FXZ for the german (or any asia/european) Moto X's yet.
The only one released is the Verizon one....so DON'T flash the verizon FXZ.
You need to flash stock recovery back, and if the phone STILL won't take the OTA, also use "mfastboot" to flash system.img from the 4.4.2 FXZ (which IS released for the european/asia models). Afterwards, the OTA should install without fail.
You WILL need to re-flash TWRP no matter which method you use. You will also need to re-root IF you flash the system.img from the 4.4.2 SBF in order to be able to accept the OTA (you only flash system.img from 4.4.2 if the OTA fails after you have flashed stock recovery - it normally means you have modified /system in some way, and restoring the full system.img fixes this issue).
Good Luck - Remember: Don't flash the Verizon 4.4.4 FXZ to your non-Verizon phone. Not a good idea...
If your phone doesn't vary from Stock but rooted, you can get away with flashing stock recovery back on there and taking the OTA. (OTA wont install via custom recovery like TWRP, CWM, etc). And if that is the case, you will retain root. You can optionally flash TWRP back on there.
If you have Xposed installed, it will need to be disabled or removed for the OTA install to work.
It is when you mess with stock files in /System or other folders on the phone.. i.e. remove, rename, etc. files from them, that you may also need to flash system.img and possibly other parts. This is due to verification checks in the OTA zip itself. If you have to flash those parts, you will have to re-root. Not an issue if you have an unlocked bootloader.
Thanks a lot for your help and clarification!!
I knew I wasn't the right person
Guys just to be sure of the right process..
-download the actual sbf of my phone
-extract recovery.img from the sbf
-remove xposed
-flash the recovery with flashify
-take the ota
-flash back twrp recovery
Am I right?!
Thanks a lot
daede86 said:
Guys just to be sure of the right process..
-download the actual sbf of my phone
-extract recovery.img from the sbf
-remove xposed
-flash the recovery with flashify
-take the ota
-flash back twrp recovery
Am I right?!
Thanks a lot
Click to expand...
Click to collapse
IF you do not vary too much from Stock (i.e. didn't remove, rename or replace any "stock" files on your phone), then yes.
Oh, for Xposed, there is a disabler ZIP you can flash from custom recovery located in /storage/emulated/0/Android/data/de.robv.android.xposed.installer (or /SdCard/Android/data/de.robv.android.xposed.installer ) instead of removing it, as sometimes removing it doesn't undo all the changes.

OTA android 5.0 update and custom recovery TWRP

I just download OTA update to android 5.0 (OTA_M7_UL_L50_SENSE60_MR_Orange...zip)
But I have TWRP recovery.
Can I run OTA zip update with TWRP recovery?
Or anybody can me provide link to download only stock recovery img?
atlantisu21 said:
I just download OTA update to android 5.0 (OTA_M7_UL_L50_SENSE60_MR_Orange...zip)
But I have TWRP recovery.
Can I run OTA zip update with TWRP recovery?
Or anybody can me provide link to download only stock recovery img?
Click to expand...
Click to collapse
OTA info can be found in the FAQ sticky under Q7
and some more info here http://forum.xda-developers.com/showthread.php?p=52894276
as for stock recovery, the easiest (since you have the file already) is to extract from within the OTA.zip.... inside the OTA.zip is a "firmware.zip" inside that, you can find the stock recovery. (recovery.img)
nkk71 said:
OTA info can be found in the FAQ sticky under Q7
and some more info here http://forum.xda-developers.com/showthread.php?p=52894276
as for stock recovery, the easiest (since you have the file already) is to extract from within the OTA.zip.... inside the OTA.zip is a "firmware.zip" inside that, you can find the stock recovery. (recovery.img)
Click to expand...
Click to collapse
Interesting.
Ok I can extract recovery.img and I can flash recovery.
But after that, can I install OTA update? (ROM is still stock, only Exposed module installed, and superSU)
All options on phone is unlocked (bootloader unlocked, s-off, rooted..)
And after that I can flash my old recovery TWP?
And I guess, I must install superSU again?
atlantisu21 said:
Interesting.
Ok I can extract recovery.img and I can flash recovery.
But after that, can I install OTA update? (ROM is still stock, only Exposed module installed, and superSU)
All options on phone is unlocked (bootloader unlocked, s-off, rooted..)
And after that I can flash my old recovery TWP?
And I guess, I must install superSU again?
Click to expand...
Click to collapse
xposed will not allow the OTA to work, xposed changes stuff in the system partition
yes, you will likely loose root, but that (and twrp) can be easily reflashed
nkk71 said:
xposed will not allow the OTA to work, xposed changes stuff in the system partition
yes, you will likely loose root, but that (and twrp) can be easily reflashed
Click to expand...
Click to collapse
ok, then I will uninstall Xposed first. Thanks
Doesn't work, because I was deleted some stock default apps...
Anayway I restored previous backup and sucesfully update to 5.02

did anyone get a security update on their m7 this morning?

I got an OTA update named OTA_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.35-7.18.531.2_release_450302.zip with size about 180MB.
Did anybody else get it?
I can't apply the update though because I have twrp and the phone is rooted. I was wondering if someone else got the update and applied it successfully on a rooted phone.
devsk said:
I got an OTA update named OTA_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.35-7.18.531.2_release_450302.zip with size about 180MB.
Did anybody else get it?
Click to expand...
Click to collapse
Should post this question here: http://forum.xda-developers.com/showthread.php?t=2305490
and the answer is probably yes since I don't see why T-mobile USA would push an ota update only to you
7.18.531.35 is the t-mobile US equivalent of 7.17.1540.35 which is the latest version with the stagefright 1.0 vulnerability fixed.
I can't apply the update though because I have twrp and the phone is rooted. I was wondering if someone else got the update and applied it successfully on a rooted phone.
Click to expand...
Click to collapse
You need to be on 100% stock rom including stock recovery to install ota updates. Better to return to stock using a ruu before applying the update imo since many users soft bricked their phones when attempting to install lollipop ota updates on stock rooted phones. If you need the RUU, look in the RUU collection thread, there is a 7.18.531.2 RUU posted there (link in my signature). Don't forget that questions should be posted in the q&a section, not in general. :good:
Thanks for your help. I found the RUU for my version. So, since I need to go back to RUU flash, I will need to re-setup my phone from scratch again just for getting this OTA....sucks!!
I wish they would make it easier to update modified phones. Just overwrite my root changes to /system and destroy my recovery but keep my /data and /sdcard. I can recover from that much faster than doing RUU and set up from scratch!!
So, on m7, isn't there way to flash stock on /system and stock recovery through fastboot and then take the OTA? I have done that on at least Samsung and Moto phones in the past and it worked fine.
So, if I restore system and boot partitions from my backup to stock, can I sideload the OTA ZIP using TWRP?
I should have made a recovery.img from the original stock recovery partition. Do you know if I can find the stock recovery here somewhere?
devsk said:
I wish they would make it easier to update modified phones. Just overwrite my root changes to /system
Click to expand...
Click to collapse
It is, you'll loose root every time you do an ota update.
and destroy my recovery
Click to expand...
Click to collapse
The ota is flashed using the stock recovery, and the stock recovery is also updated in that process.
So, on m7, isn't there way to flash stock on /system and stock recovery through fastboot and then take the OTA? I have done that on at least Samsung and Moto phones in the past and it worked fine.
Click to expand...
Click to collapse
Yes, either using a RUU, or a combination of a stock rom/backup (/system partition) flashed using twrp and then flashing the stock recovery back.
So, if I restore system and boot partitions from my backup to stock, can I sideload the OTA ZIP using TWRP?
Click to expand...
Click to collapse
No, the updater-script will only work with stock recovery
I should have made a recovery.img from the original stock recovery partition.
Click to expand...
Click to collapse
You can't backup the stock recovery directly from the phone (actually yes you can but it requires s-off and its somewhat complicated.
Do you know if I can find the stock recovery here somewhere?
Click to expand...
Click to collapse
already uploaded here:
https://www.androidfilehost.com/?fid=23991606952604831
or you can extract it from the ota update.
It was possible to update a stock rom + rooted phone simply by flashing the stock recovery back in the past (on kitkat roms and eariler) but it looks like its not possible anymore on lollipop updates. So much ppl posted here with the same problem: "Phone is stuck at HTC splash screen after installing update on stock rooted phone". Example here and here
The biggest problem if the ota install fine but the phone is stuck at the booting screen (like in the link above) is that your firmware will be updated to 7.18.531.35 so you won't be able to use the 7.18.531.2 RUU anymore unless you achieve S-OFF or edit your MISC partition.
alray said:
It is, you'll loose root every time you do an ota update.
The ota is flashed using the stock recovery, and the stock recovery is also updated in that process.
Yes, either using a RUU, or a combination of a stock rom/backup (/system partition) flashed using twrp and then flashing the stock recovery back.
No, the updater-script will only work with stock recovery
You can't backup the stock recovery directly from the phone (actually yes you can but it requires s-off and its somewhat complicated.
already uploaded here:
https://www.androidfilehost.com/?fid=23991606952604831
or you can extract it from the ota update.
It was possible to update a stock rom + rooted phone simply by flashing the stock recovery back in the past (on kitkat roms and eariler) but it looks like its not possible anymore on lollipop updates. So much ppl posted here with the same problem: "Phone is stuck at HTC splash screen after installing update on stock rooted phone". Example here and here
The biggest problem if the ota install fine but the phone is stuck at the booting screen (like in the link above) is that your firmware will be updated to 7.18.531.35 so you won't be able to use the 7.18.531.2 RUU anymore unless you achieve S-OFF or edit your MISC partition.
Click to expand...
Click to collapse
Thanks for the great help! I can't thank you enough.
One question: if I do fail to apply the OTA zip after restoring boot, system and recovery to stock, I will still be able to get TWRP back on the recovery through fastboot and restore my full TWRP backup to get a working system back, right? Is there a gotcha in that route?
devsk said:
Thanks for the great help! I can't thank you enough.
One question: if I do fail to apply the OTA zip after restoring boot, system and recovery to stock, I will still be able to get TWRP back on the recovery through fastboot and restore my full TWRP backup to get a working system back, right? Is there a gotcha in that route?
Click to expand...
Click to collapse
yes, even if the ota installation fails, you''ll be able to access fastboot, flash back twrp and restore your twrp nandroid backup. :good:
alray said:
yes, even if the ota installation fails, you''ll be able to access fastboot, flash back twrp and restore your twrp nandroid backup. :good:
Click to expand...
Click to collapse
Awesome!! :good::good:

Update b357

Hi,
Today I received ota update to b357 for my nem L51.
Could not install it since I have custom recovery + root + unlocked bootloader.
How can I update?
My idea would be:
Flash stock recovery + recovery2 from fastboot
Install ota
Flash again TWRP
Will it work? Don't know if my bootloader will lock again after ota update...
Thanks in advance
Unroot first, Flash stock boot.img and stock recovery then download ota and reboot.
Thanks shashank1320!
I flashed stock boot + recovery and then updated my phone.
Unfortunately OTA update restored my bootloader and I had to unlock it again.
Anyway after unlocking I flashed TWRP recovery and rooted with Magisk with no issues.
deframat said:
Thanks shashank1320!
I flashed stock boot + recovery and then updated my phone.
Unfortunately OTA update restored my bootloader and I had to unlock it again.
Anyway after unlocking I flashed TWRP recovery and rooted with Magisk with no issues.
Click to expand...
Click to collapse
Hi @deframat,
I'm in the same situation as you were: from B350 I have to update to B357 and I will go the same route you did. However, since you stated that the OTA update restored your bootloader, this means you had to install all over again all your apps and settings. I wonder if I make a Titanium backup of everything, will I be able to restore the phone as it was before the update? Any drawbacks I'm unaware of?
Thank you
Hi Wallace108,
I don't use Titanium backup because I prefer a fully fresh install when flashing new fw.
Anyway since this update is quite light (only security patch and other small improvements) I think you will have no problem if you restore some backed up apps.

Categories

Resources