Can't update with OTA zip. - Moto G 2015 Q&A, Help & Troubleshooting

I'm on the XT1540 and I got my OTA notification and went back to stock recovery (still rooted and unlocked bootloader) but it fails halfway through flashing everytime. I reflashed TWRP and captured the OTA into a zip but get an error about updating binary or something when flashing it. Is there something I need to delete from the OTA zip to allow it to flash in twrp?
Sent from my MotoG3 using xda premium

You cannot update your systems software using the OTA update if you are rooted and have modified the system in any way as there are checks of original system during the auto update over the OTA. This means having the original recovery too. Wont work on TWRP or CWM. So no root and no custom recovery for OTA. Unlocked bootloader is okay.
In case you want to try the OTA update then what I have noticed on my XT1550 dual sim APAC version is that even unrooting it using the SuperSu unroot option is not going to help. In my case I could download the OTA and waited till it replaced the system software but got stuck midway of the boot animation.
I had to flash the 23.72-33 version of the stock ROM and opt for the OTA update. This time though I was successful.
Hope this info helps.

Yes, what arunhebbare says. you need to back up al your data and restore your stock firmware and than update via ota.
that is the best way of doing it

HelpMeruth said:
Yes, what arunhebbare says. you need to back up al your data and restore your stock firmware and than update via ota.
that is the best way of doing it
Click to expand...
Click to collapse
This...do a full factory image restore, then adb sideload the ota file. It's signed. TWRP can't install it.

Just use fastboot to flash the factory image for the version you want ... screw wiping your user partition like the above recommends.

nikon120 said:
Just use fastboot to flash the factory image for the version you want ... screw wiping your user partition like the above recommends.
Click to expand...
Click to collapse
This...I can't understand, for the life of me, why everyone is wiping userdata with fastboot....that wipes your android data, and internal storage in one shot. Cache erasing is another totally unnecessary step. All that's necessary, at the most, is a factory reset with TWRP to wipe the android data and both caches....but even that shouldn't technically be necessary for an update like this. It's not like this is the marshmallow update!!

arunhebbare said:
You cannot update your systems software using the OTA update if you are rooted and have modified the system in any way as there are checks of original system during the auto update over the OTA. This means having the original recovery too. Wont work on TWRP or CWM. So no root and no custom recovery for OTA. Unlocked bootloader is okay.
In case you want to try the OTA update then what I have noticed on my XT1550 dual sim APAC version is that even unrooting it using the SuperSu unroot option is not going to help. In my case I could download the OTA and waited till it replaced the system software but got stuck midway of the boot animation.
I had to flash the 23.72-33 version of the stock ROM and opt for the OTA update. This time though I was successful.
Hope this info helps.
Click to expand...
Click to collapse
@arunhebbare I've got the APAC version of the G3 as well, which ROMs are you flashing? I could only find images of the India version, did you use those?

Related

Still get OTAs while having ROOT?

If I root the latest stock 4.4.2, will I still be able to get future OTA Updates without braking the root or custom recovery, well if root gets lost I can always root it again. Just asking, maybe I won't be able to get OTA Updates at all after rooting but I don't know so that's why I'm asking it here.
KuGeL94 said:
If I root the latest stock 4.4.2, will I still be able to get future OTA Updates without braking the root or custom recovery, well if root gets lost I can always root it again. Just asking, maybe I won't be able to get OTA Updates at all after rooting but I don't know so that's why I'm asking it here.
Click to expand...
Click to collapse
Yes!
SWTR said:
Yes!
Click to expand...
Click to collapse
Indeed.
KuGeL94 said:
If I root the latest stock 4.4.2, will I still be able to get future OTA Updates without braking the root or custom recovery, well if root gets lost I can always root it again. Just asking, maybe I won't be able to get OTA Updates at all after rooting but I don't know so that's why I'm asking it here.
Click to expand...
Click to collapse
The OTA will download but not install. You need stock recovery AND any system file that is updated by the OTA needs to be stock as well otherwise OTA install will fail.
Plenty of threads on XDA speak of this.
If you look at the OTA updater file you will see if uses MD5 (or similar) to check each system file it updates to make sure its as it was originally.
When you root it alters some system files.
Best thing is to install custom recovery and take a backup before rooted. Then root. When you get an OTA just restore backup and flash stock recovery. Then OTA will re-download. Let it install, then flash custom recovery and re-root.
Thanks, well I'll just stay unrooted and make the best out of it, the Moto G is just as amazing as Motorola developed it to be.
No stock recovery it's no need. I updated last ota with Philz recovery without problems.
denzel09 said:
No stock recovery it's no need. I updated last ota with Philz recovery without problems.
Click to expand...
Click to collapse
Do you mean you downloaded OTA and flashed manually via recovery. You can do that I agree, but what you can't do is let OTA install naturally the way Motorola intended.
No. I had Philz recovery. System stock partition. Downloaded ota normally, reboot like ota update ask, phone reboots in philz recovery and this last flash ota automatically without any problem. There is not need to reflash stock recovery or flash ota update manually with custom rec, only need a non root stock system partition. I dont know if stock cwm or other rec like twrp work in same way but i doubt, always used only philz recovery.
You do not need stock recovery, I don't know who made this stupid rumour up. I use twrp and it flashes fine.
Sent from my Google Nexus G -

[?] Flash 23.1.A.1.28 OTA on rooted Z3 ? [SOLVED]

Hi all,
I have a rooted Z3 with dual recovery and locked bootloader running firmware 23.1.A.0.690.
Since the OTA to firmware 23.1.A.1.28 is minor, I was wondering if it is possible to flash an update zip file while keeping root and modified recovery.
any idea ?
thanks
benjieb said:
Hi all,
I have a rooted Z3 with dual recovery and locked bootloader running firmware 23.1.A.0.690.
Since the OTA to firmware 23.1.A.1.28 is minor, I was wondering if it is possible to flash an update zip file while keeping root and modified bootloader.
any idea ?
thanks
Click to expand...
Click to collapse
Modified bootloader? Do you mean unlocked? If so then you cannot do OTA, is says so explicitly on the Sony site about unlocked bootloaders. But you can make a backup in recovery, flash a stock FTF of that version (System only) then just flash back your custom kernel (Before booting the phone) and restore data from a backup
If you mean locked bootloader then you can OTA, if its a small update then the chances are it wont format system so you will keep root, but if its a large file the chances are it will format system then re-install it so you will lose root.
Just flash a pre-rooted version of the updated ROM in recovery
Sorry, i meant keeping root and modified recovery (not bootloader).
My bootloader is locked indeed and i am on stock kernel.
So, to your point, i should be safe upgrading minor OTAs?
If so can I anticipate sony's rollout of the OTA and flash the update zip? And where can it be found?
Thx
benjieb said:
Sorry, i meant keeping root and modified recovery (not bootloader).
My bootloader is locked indeed and i am on stock kernel.
So, to your point, i should be safe upgrading minor OTAs?
If so can I anticipate sony's rollout of the OTA and flash the update zip? And where can it be found?
Thx
Click to expand...
Click to collapse
Maybe.... it all depends on whether or not the OTA formats system and reinstalls it. If it a minor update they may not do that so root and recovery (Which is in system for locked bootloaders) are not deleted.
Its a gamble...
to be 100% safe, you will need to get a prerooted flashable zip and flash it
Hmmm... Ok, but upgrading with a prerooted zip involves flashing a full rom not just the update right?
I am ok with that but would rather save the hassle.
Thanks for the advise
Hi,
Happy to report back that OTA process went smooth.
I am now running 23.1.A.1.28 and still have full root & dual recovery!
benjieb said:
Hi,
Happy to report back that OTA process went smooth.
I am not running 23.1.A.1.28 and still have full root & dual recovery!
Click to expand...
Click to collapse
Benjieb,
Sorry friend but it was not clear to me... you updated via OTA and keep the root?
Yes that's right. I fixed the typo in my last post.
benjieb said:
Yes that's right. I fixed the typo in my last post.
Click to expand...
Click to collapse
How do you do it? I mean,you were stock .690 berofe ota?you delete anything of stocks apps??because i test to do the ota update but at the end of processus it's says "verrification impossible" and i saw somewhere that's if we touch or delete stock apps we can't ota ....ans if possible,nobody van do a flashable ZIP with just ota update????
I was stock indeed, and you are right playing with system apps probably prevent OTAs.
That's why I deactivate system apps rather then delete them.
I guess you will have to do a full rom flash.
I'm on stock ROM rooted. Updated to. 28 via OTA just only. Root access still available!!
Sent from my D6653 using Tapatalk 2
No possible to create a flashable ZIP with just ota update???it will be wonderfull
I believe this is just minor update. So lucky for me haha
Sent from my D6653 using Tapatalk 2

(help) how to install official 6.0 using twrp on moto g3

Im still on 5.1.1 official version and my device is bootloader unlocked and twrp installed help me how to install official 6.0 version
First just flash 6.0 image through fastboot process in this twrp will be replace with stock recovery, Second flash someone's 6.0 Nandroid backup through TWRP...
Sent from my Toilet using Moto G3....
I have also same query, having xt1550 with 5.1.1 and unlocked bootloader with root access.
Also receiving OTA notification but can't install the same.
Tried to install OTA manually but could not go into recovery mode stuck on "No Command" screen.
Please guide....
beworld16 said:
I have also same query, having xt1550 with 5.1.1 and unlocked bootloader with root access.
Also receiving OTA notification but can't install the same.
Tried to install OTA manually but could not go into recovery mode stuck on "No Command" screen.
Please guide....
Click to expand...
Click to collapse
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Tel864 said:
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Click to expand...
Click to collapse
That's very much true.. Don't flash ota with TWRP with having root access..
Sent from my Moto G(Osprey)
Thanks for the reply
I have downloaded Official Firmware of 6.0 for XT1550 from here.
So Now, can i process with this using fastboot command.
If yes, will it look the bootloader ?
Tel864 said:
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Click to expand...
Click to collapse
I thought OTA's worked fine with root installed, although you often lose root in the process, it was custom recovery they burped at?

Update after root

How do I manually update through OTA my honor 8 after rooting?I dont want to flash full rom.Where does the downloaded update will be saved?
Ragesh77 said:
How do I manually update through OTA my honor 8 after rooting?I dont want to flash full rom.Where does the downloaded update will be saved?
Click to expand...
Click to collapse
You can't really "manually" update your Honor 8 the way you mean it. You can't just flash the downloaded content from TWRP.
Anyway I'll guide you on how to update without full ROM reflash. You WILL need recovery image and you can try without stock boot image. Installing update with rooted device(modified boot image) is reported to not work for some people but for me it does work with no issues. If you make a full backup you also won't run into any problems.
So to update your device find stock recovery img of your current ROM version. I recommend extracting it from UPDATE.zip which you can download with Huawei extractor. You flash the stock recovery from fastboot. I will assume you know how to get to fastboot since you already are rooted and have unlocked bootloader which is OK and won't give us problems.
After flashing stock recovery proceed with OTA normally as if you did not modify your device in any way.
BUT YOU have to select full system image download. Not partial small 200-300 mb update. You have to select full 2GB system image.
If you run into an error and it refuses to update you will need to find stock boot image from the previously mentioned UPDATE.zip. So flash both stock recovery and stock boot, then proceed with normal OTA update same as said above with full system image.
By doing the above you will not lose your DATA partition. You will not lose your apps. You WILL lose root access. All you need to do to regain root access it is to first reflash TWRP via fastboot and then reflash Magisk/SuperSU/(your root alternative). Before reflashing TWRP I recommend making stock recovery backup so you won't need to extract it again from UPDATE.zip for the future OTA updates.
If you have any questions or I was not clear on something please ask for further guidance. Do not forget to make a full backup before the process. You can not hard brick your device with anything I wrote here but you can lose your data if you have no backup.
Can't I just flash the 300mb file rhrough twrp?
Ragesh77 said:
Can't I just flash the 300mb file rhrough twrp?
Click to expand...
Click to collapse
Of course You can't. I wrote that at the beginning of the post. If that was possible nobody would ever have issues with updating their rooted device lol.

Problems with updating to the newest OTA 1.24.709.8 TW version U11+

Hello there.
I unlocked my bootloader a long while ago, then flashed TWRP on my TW U11+. Now recently I have seen that there's an update and I get the popup from my updater.apk on my HTC U11+.
My phone is on 1.24.709.7 update. And it's I think most definitely the ASIA_TW version.
Mid - 2Q4D10000
Cid - HTC__621
So I try to update but of course fail because my recovery was TWRP so of course that it did not work. Then I hear that you need to have stock recovery, so what I do is I get stock recovery.img, go to download mode and flash it through the command "flashboot flash recovery recovery.img. I get the success command and I reboot and try download the OTA once again, then I try to update it. It does go to stock recovery but then it "updates" til 25% and then it's stuck. Then after like 10 seconds it just simply gives my this Red Triangle with an exclamation mark in the middle of it. So I press power button and vol down to get off that mode and that's it. It won't update to the newest OTA.
I flashed 1.24.709.7 recovery at first. It didn't work then I flashed 1.24.709.8 recovery but still no avail.
Can you guys please help me? I really don't know what I am doing wrong.
Thanks in advance
I am having the exact same problem. I wish I had the HTC__621 recovery, but I haven't been able to find the correct one.
Hopefully somebody will see this. Every link that looks like the right thing is dead.
Same problem
I had the same problem, too.
But I find a way to update to 1.24.709.8.
That is: I decide to flash the 1.24.709.8 version's RUU .
Hope this can help you.
U11+ All TW version's image and OTA :
//drive.google.com/drive/folders/1kNE8rN8yUBPo9vux9G3CMvUzg3cg0lQ3
Thanks for the link.
However the problem that I'm experiencing is that whenever I flash either 1.24.709.7 or 1.24.709.8 RUU. It just won't flash over fastboot. So what I do is I put it on my SD card then put the file and rename it to like 2Q4DIMG.zip and go to recovery and still won't flash it correctly.
I'll try it again today to see what error code I get from it.
Did you unlocked or rooted your u11+?
Sorry for the late reply man.
My HTC u11plus is unlocked and I also have rooted my phone via magisk.
You can't update with official ota if unlocked, you need to relock and have the stock recovery. Relock will wipe your data I think
You can OTA with unlock, but you must run pure stock ROM. I RUU my phone and successfully apply the OTA.
Magisk did modify /boot partition so OTA wont apply with Magisk. You have to restore stock boot, OTA, then patch the boot again to preserve Magisk. Also if you use 3rd party recovery you have to restore the stock one.
All partition image can be found in the RUU with https://forum.xda-developers.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928 but you must make sure you flash the version match your current system. If not the only way might be RUU your phone.
I have also had the exact same issue with updating the latest OTA update. I have TW model, it was unlocked and rooted with magisk. I relocked bootloader, stock boot img and still the update wouldn't install. I even tried flashing 1.24.709.7 RUU in downloader mode but failed remote: 22 RU_HEADER_ERROR.
Would love any ideas or help.
*UPDATE*
Finally was able to update to 1.24.709.8 OTA. I needed up unlocking the bootloader again, then downloaded the 1.24.709.7 full image from
drive.google.com/drive/folders/1kNE8rN8yUBPo9vux9G3CMvUzg3cg0lQ3
Extracted the rar file and manually installed the boot, recovery and system images separately and rebooted. Downloaded the update and installed, everything worked sweet!!
xymopen said:
You can OTA with unlock, but you must run pure stock ROM. I RUU my phone and successfully apply the OTA.
Magisk did modify /boot partition so OTA wont apply with Magisk. You have to restore stock boot, OTA, then patch the boot again to preserve Magisk. Also if you use 3rd party recovery you have to restore the stock one.
All partition image can be found in the RUU with https://forum.xda-developers.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928 but you must make sure you flash the version match your current system. If not the only way might be RUU your phone.
Click to expand...
Click to collapse
Thank you very much for this. I will try this tomorrow or something.
I will post my results here.
Btw is there any update for Emea region? They did one a month ago for TW models and since then no words about Europe and Middle East
Does anyone have a link to 1.24.401.7 9.0_CL1010171 ? I'm trying to find stock recovery that matches with stock rom and can't find it anywhere.
Magisk and TWRP installed at the moment.
I've got stock boot.img backed up before installing Magisk but there was no way to boot (without flashing) TWRP in order to backup stock recovery that came with U11+.
Cheers

Categories

Resources