Unable to update to 05Q - ONE Q&A, Help & Troubleshooting

I get the following error when I try to update to 05Q:
assert failed: apply_patch_check("/system/priv-app/CMKeyguard.odex","cf8d0466d1015d66ee90fbf203bb3e18e0455536","de3404eb7a583257bbef722ff66aca9cdb957db1")
tried OTA and with zip in recovery. Always get same error. I'm on 44S, root + TWRP.
I had Xposed installed but can't remember changing CMKeyguard. It's to do with lock screen, right? Removing Xposed didn't help.
Maybe someone can provide me with stock 44S CMKeyguard file?

Did you try the modded OTA zip??? If not try that one....

SpyJoe said:
I get the following error when I try to update to 05Q:
assert failed: apply_patch_check("/system/priv-app/CMKeyguard.odex","cf8d0466d1015d66ee90fbf203bb3e18e0455536","de3404eb7a583257bbef722ff66aca9cdb957db1")
tried OTA and with zip in recovery. Always get same error. I'm on 44S, root + TWRP.
I had Xposed installed but can't remember changing CMKeyguard. It's to do with lock screen, right? Removing Xposed didn't help.
Maybe someone can provide me with stock 44S CMKeyguard file?
Click to expand...
Click to collapse
It's because you have a modified lockscreen. You must be 100% stock to take the OTA.
Transmitted via Bacon

vipinpvarghese said:
Did you try the modded OTA zip??? If not try that one....
Click to expand...
Click to collapse
Strangely downloading exactly the same zip from different source have done it. Flashed without any errors.
It's because you have a modified lockscreen. You must be 100% stock to take the OTA.
Click to expand...
Click to collapse
The thing is I didn't even have a lock screen, especially a modified one.
Anyway I've managed to do it now. Thank you for your time

Related

error executing updater binary

Hi Guys,
I have tried many of the ROMs available however, for the most part, I get this error "error executing updater binary" in TWRP. I have also tried CWM and Philz recovery. The only ROM that installs is CM11. Does any one know what is the issue? Anyone got a solution? Thanks.
Current Recovery: TWRP 2.7.1.1
I'm the only one experiencing this issue?
Specifically which ROMs have you tried?
Transmitted via Bacon
I've tried the following:
AOSP from the Oneplus homepage
AOSP flapped
mahdi-rom
Team GUMMY
Are you checking the md5 when you download?
Transmitted via Bacon
No, I did not. However, having said that, would it really be the case of corrupt downloads across multiple roms? As well, CM11 installs perfectly fine.
I'll do some checking now.
bill1clinton said:
No, I did not. However, having said that, would it really be the case of corrupt downloads across multiple roms? As well, CM11 installs perfectly fine.
I'll do some checking now.
Click to expand...
Click to collapse
It's possible, I'm just throwing out the usual causes of your problem. It wouldn't be the first time it's happened.
Transmitted via Bacon
Well, just re-downloaded AOSP from the oneplus homepage and flapped AOSP. I also checked their md5 hashes; they match. I will report back.
I'm getting this same message, except I'm getting it when trying to install the new OTA update. I'm rooted with custom recovery, but haven't flashed any ROM. After I download the update, I push "install update" and my phone reboots into TWRP to install the update, and then gives me the "error executing updater binary" error. I tried downloading the update manually off the web and installing it via TWRP on my own, but it gave me the same message. Not really sure what else to do at this point.
timmaaa said:
It's possible, I'm just throwing out the usual causes of your problem. It wouldn't be the first time it's happened.
Transmitted via Bacon
Click to expand...
Click to collapse
Just tried to flash both, both times I get the "error executing updater binary" error. I do not have the technical expertise to try to correct this.
Anyone else with any ideas?
Unzip the ROM that works and the ROM that doesn't with 7zip, then swap the update-binary from the working to the non. Rezip (set to store) then either sign the ROM or toggle SIG verification in recovery, then make nandroid, wipe clean, flash
By the way, what version do you have? 16 64? Chinese? Can you get bootloader info?
demkantor said:
Unzip the ROM that works and the ROM that doesn't with 7zip, then swap the update-binary from the working to the non. Rezip (set to store) then either sign the ROM or toggle SIG verification in recovery, then make nandroid, wipe clean, flash
By the way, what version do you have? 16 64? Chinese? Can you get bootloader info?
Click to expand...
Click to collapse
The ROM that works is CM11 nightly and the one that I would like to install is pure AOSP. Are you certain that their update binary files would/could be interchangeable?
And how to do you "set to store"? I use 7zip.
I have the international 64GB. And I am not sure how to check my bootloader.
I really do apologize for my newb-ness on this matter.
There shouldn't be an issue, but of course I can't promise as I don't know what specifically is going on in your case
When you choose zip, there you will have different compression options, choose store
Try
fastboot oem device-info
Write down output here
No worries, we all are noobs in our own ways
did anyone figure this out? im having the same issue trying to install lollipop roms
Same problem here
jlinn75 said:
did anyone figure this out? im having the same issue trying to install lollipop roms
Click to expand...
Click to collapse
Hi have same problem here.
my Bootloader is unlocked, I have phone rooted, I use last bacon twrp version. I already clean all phone.
I could install any rom, finally I found cm-11.0-XNPH44S-bacon-signed-fastboot.zip with fastboot.bat file that helped me to recover my phone.
I did all steps from all guys I searched, I can't know why I always appear error "error executing updater binary".
I tried cm-12-20150124-NIGHTLY-bacon.zip, I tried BlissPop-v1.8-bacon-OFFICIAL-20150123-2230.zip, all same error. I also tried to install original cm-11, same error.
I don't know what to do more or why? I checked Bootloader is unlocked.
viriatis said:
Hi have same problem here.
my Bootloader is unlocked, I have phone rooted, I use last bacon twrp version. I already clean all phone.
I could install any rom, finally I found cm-11.0-XNPH44S-bacon-signed-fastboot.zip with fastboot.bat file that helped me to recover my phone.
I did all steps from all guys I searched, I can't know why I always appear error "error executing updater binary".
I tried cm-12-20150124-NIGHTLY-bacon.zip, I tried BlissPop-v1.8-bacon-OFFICIAL-20150123-2230.zip, all same error. I also tried to install original cm-11, same error.
I don't know what to do more or why? I checked Bootloader is unlocked.
Click to expand...
Click to collapse
I get the exact same error, as you I can only flash CM-11, strange cause I was running Euphoria OS Lollipop!
Someone must know the cause!
sad problem
doe or die said:
I'm getting this same message, except I'm getting it when trying to install the new OTA update. I'm rooted with custom recovery, but haven't flashed any ROM. After I download the update, I push "install update" and my phone reboots into TWRP to install the update, and then gives me the "error executing updater binary" error. I tried downloading the update manually off the web and installing it via TWRP on my own, but it gave me the same message. Not really sure what else to do at this point.
Click to expand...
Click to collapse
I'm having exactly same problem. So is this common problem or what? I had multirom and xposed framework but after uninstalling them both I get the same error again. I hope this does not happen when we are getting the Lollipop-update. Sry for bad enklish.
Anyone help?

[Q] OTA version XNPH38R Incremental does not install

I'm prompted to install the XNPH38R Incremental with the message "System update is ready"
I tap on Install update, the phone then does it's thing, reboots and shows the splash screen logo a few seconds, then the recovery comes up and the text scrolls at lightning speed (a second or so) then the phone powers up in full and is ready for use.
When I go to my homescreen the prompt is there again for me to upgrade with the "System update is ready" message.
As such the update doesn't apply successfully. No error messages at all.
Phone is stock ROM (version 11.0-XNPH33R), only thing I did extra was to unlock the bootloader using OnePlus One Toolbox v2 (64 GB). This was done in order for me to root it. Oh, I also installed PhilZ Recovery using this same toolbox.
Any ideas why this happens?
...or suggestions as to how I can do the update?
PS, I saw that there's another tread (http://forum.xda-developers.com/oneplus-one/help/apply-ota-stock-root-franco-23r-twrp-t2900311) with a OTA update failure but that one is different as there's errors involved so I felt that the suggestions were not applicable in my case.
try manually going thru the recovery and run update file from /cache directory. and see what errors is trowing
look for cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
NiTRoN69 said:
try manually going thru the recovery and run update file from /cache directory. and see what errors is trowing
look for cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
Click to expand...
Click to collapse
I found the update file and tried to install in manually. The attached image shows the error message which has no meaning to me. I then cleared the cache and also the dalvik cache, booted up, checked for update, downloaded the update and install.
Same problem happened so back to square one
JJD809 said:
I found the update file and tried to install in manually. The attached image shows the error message which has no meaning to me. I then cleared the cache and also the dalvik cache, booted up, checked for update, downloaded the update and install.
Same problem happened so back to square one
Click to expand...
Click to collapse
That error message is saying that you have a modified lockscreen.
Transmitted via Bacon
timmaaa said:
That error message is saying that you have a modified lockscreen.
Transmitted via Bacon
Click to expand...
Click to collapse
Ah! that makes sense. I got the lockscreen after reading an article about it on the XDA news pages (http://www.xda-developers.com/android/dynamic-oneplus-one-lock-screen/) which took me to this thread http://forum.xda-developers.com/oneplus-one/development/dynamic-oneplus-one-lockscreen-t2890808
From here forward, how do you suggest I proceed. Is there a way to "uninstall" this lock screen or is it a matter of me doing a factory reset and starting afresh?
Unless there's a return to stock zip in the thread where you got your modified lockscreen, you'll need to start fresh.
Transmitted via Bacon
Trying to apply on a stock Oneplus One, just with root and TWRP.
Code:
asset failed: apply_patch_check("/system/app/Music2.apk","....","....")
E: Error executing updated binary in zip '/cache/cm-bacon...signed.zip
Any ideas?
timmaaa said:
Unless there's a return to stock zip in the thread where you got your modified lockscreen, you'll need to start fresh.
Transmitted via Bacon
Click to expand...
Click to collapse
hi, I have the almost the same problem, I did a factory reset but it gives me error again, what should I do
fackamato said:
Trying to apply on a stock Oneplus One, just with root and TWRP.
Code:
asset failed: apply_patch_check("/system/app/Music2.apk","....","....")
E: Error executing updated binary in zip '/cache/cm-bacon...signed.zip
Any ideas?
Click to expand...
Click to collapse
System modification on Music2.apk. Read the above advice by timmaaa.
---------- Post added at 05:11 PM ---------- Previous post was at 05:08 PM ----------
shcxatter2 said:
hi, I have the almost the same problem, I did a factory reset but it gives me error again, what should I do
Click to expand...
Click to collapse
Boot on TWRP recovery and flash XNPH38R OTA zip. See here: 4. Latest OTA incremental update zip
Primokorn said:
System modification on Music2.apk. Read the above advice by timmaaa.
---------- Post added at 05:11 PM ---------- Previous post was at 05:08 PM ----------
Boot on TWRP recovery and flash XNPH38R OTA zip. See here: 4. Latest OTA incremental update zip
Click to expand...
Click to collapse
that's exactly what my problem is I cannot install the update , twrp just gives me error
Use the modified XNPH38R update. You can find it in the xnph38r thread in general.
You did system modifications. By using the modified script, it won't check for those files.
This is why I say when you want to do system changes, just use a custom ROM because OTAs are going to be a headache for you if u dont intend on using what the OTA provided to you.
zephiK said:
Use the modified XNPH38R update. You can find it in the xnph38r thread in general.
You did system modifications. By using the modified script, it won't check for those files.
This is why I say when you want to do system changes, just use a custom ROM because OTAs are going to be a headache for you if u dont intend on using what the OTA provided to you.
Click to expand...
Click to collapse
I'm trying to figure out what "system modifications" I've done. It's probably freezing apps in titanium backup, as google's music always FC's on all devices, so had to be ignored.
fackamato said:
I'm trying to figure out what "system modifications" I've done. It's probably freezing apps in titanium backup, as google's music always FC's on all devices, so had to be ignored.
Click to expand...
Click to collapse
Freezing apps in TB does nothing for those system modifications. Just flash the modified script XNPH38R update and you'll be able to update. I've said this 2 times now.
zephiK said:
Freezing apps in TB does nothing for those system modifications. Just flash the modified script XNPH38R update and you'll be able to update. I've said this 2 times now.
Click to expand...
Click to collapse
Thanks. I think it only has the full one not the incremental one?

AT&T 5.0 Update file

I managed to pull the 5.0 Lollipop OTA update file and load it to Android File Host.
Word of warning, should you try to use this file to update, you will likely lose root, possibly without the chance to root once complete or even ODIN back to 4.x. This is primarily for devs to use to try to make pre-rooted and custom ROMs with.
The link to the file is below:
https://www.androidfilehost.com/?fid=95916177934552137
@muniz_ri, @RockRatt, @iB4STiD and @Joe-Tech, I believe you guys may be interested in this.
May the odds ever be in our favor.
@Apoplectic1 you awesome man, will see what i can do with it
Doesn't flash, wipes /Data stating "Footer is wrong"
Apoplectic1 said:
I managed to pull the 5.0 Lollipop OTA update file and load it to Android File Host.
Word of warning, should you try to use this file to update, you will likely lose root, possibly without the chance to root once complete or even ODIN back to 4.x. This is primarily for devs to use to try to make pre-rooted and custom ROMs with.
The link to the file is below:
https://www.androidfilehost.com/?fid=95916177934552137
@muniz_ri, @RockRatt, @iB4STiD and @Joe-Tech, I believe you guys may be interested in this.
May the odds ever be in our favor.
Click to expand...
Click to collapse
Thanks for the heads up. I will create the ROM later tonight.
DankHeals said:
Doesn't flash, wipes /Data stating "Footer is wrong"
Click to expand...
Click to collapse
It's not a flashable zip. Even if you were to flash it, it would not be able to update you due to you being rooted, it will fail I'm afraid.
muniz_ri said:
Thanks for the heads up. I will create the ROM later tonight.
Click to expand...
Click to collapse
I've probably told you this about a dozen times now, but you are the man! :highfive:
Apoplectic1 said:
I've probably told you this about a dozen times now, but you are the man! :highfive:
Click to expand...
Click to collapse
No worries and thanks for capturing the ota.
Apoplectic1 said:
It's not a flashable zip. Even if you were to flash it, it would not be able to update you due to you being rooted, it will fail I'm afraid.
Click to expand...
Click to collapse
I fully unrooted and went stock before attempting, but that's a shame. Thought it would be flashable via update in stock recovery. :/
cant wait to have this flashable.. been waiting soooo long
When O when will the wait end.... Canada S4 and I still can't install this AT&T one
How to use this file ???
DankHeals said:
Doesn't flash, wipes /Data stating "Footer is wrong"
Click to expand...
Click to collapse
Because you flashed the archived cfg file. To flash the update you have to unpack the zip file and change the extension of the CFG file to ZIP. But anyway even this cfg fails to install, so don't try because i already did.
Update via adb or external sd card using stock recovery doesn't work !
Is there a way to flash it ???
lordnihilusmd said:
Because you flashed the archived cfg file. To flash the update you have to unpack the zip file and change the extension of the CFG file to ZIP. But anyway even this cfg fails to install, so don't try because i already did.
Update via adb or external sd card using stock recovery doesn't work !
Is there a way to flash it ???
Click to expand...
Click to collapse
Thanks for the info... been looking for a way to flash this without success
W1zz_ said:
Thanks for the info... been looking for a way to flash this without success
Click to expand...
Click to collapse
You could try pushing the cfg file to /cache/fota, uninstall Safestrap, full unroot, reboot and then installing the update the standard way, but getting root afterward is iffy.
Can somebody pull out the modem?
Apoplectic1 said:
You could try pushing the cfg file to /cache/fota, uninstall Safestrap, full unroot, reboot and then installing the update the standard way, but getting root afterward is iffy.
Click to expand...
Click to collapse
Thanks man, my situation is a little more complicated however since I have the i337m(Canadian S4) wasn't sure I'd be able to install this OTA in any way. Kind of came to the conclusion that I will have to wait for a custom Rom, unless my understanding of how this all works is wrong.
I will try but i already did full unroot . When flashing via recovery it says something like frameworkres-apk has unexpected content ... Standard way ? but it will tell me software update interrupted
Apoplectic1 said:
It's not a flashable zip. Even if you were to flash it, it would not be able to update you due to you being rooted, it will fail I'm afraid.
Click to expand...
Click to collapse
It won't flash even without root. Tried flashing via stock recovery, no dice just like the others. Flashing results in wiping /data.
Short road...
Easiest way possible odin back to NB1 then take the OTA to lollipop that's the easiest way man
lordnihilusmd said:
I will try but i already did full unroot . When flashing via recovery it says something like frameworkres-apk has unexpected content ... Standard way ? but it will tell me software update interrupted
Click to expand...
Click to collapse
brownie9987 said:
Easiest way possible odin back to NB1 then take the OTA to lollipop that's the easiest way man
Click to expand...
Click to collapse
OTA from ODIN stock has never worked for me. Maybe it's because it's SIM-less?
What do you mean by Simless?

Whenever I try to update to v10j via OTA, it gives me an error. I am not rooted (yet)

Why would it be doing this? I already removed root via the SuperSU app permanently. What could be causing the error?
Bebout said:
Why would it be doing this? I already removed root via the SuperSU app permanently. What could be causing the error?
Click to expand...
Click to collapse
You might have a system app removed or missing
Or maybe you have done something with the build prop as well if thats messed with that will also throw an error out.
If you read closely it should tell you what the error is
xxbabiboi228xx said:
You might have a system app removed or missing
Click to expand...
Click to collapse
I really hope not. How do I go about finding out if I'm missing a system app? I've already done a factory reset along with unrooting via SuperSU's app.
Bebout said:
I really hope not. How do I go about finding out if I'm missing a system app? I've already done a factory reset along with unrooting via SuperSU's app.
Click to expand...
Click to collapse
It should tell you the error after you try flashing the ota you may have to use the .kdz method
xxbabiboi228xx said:
It should tell you the error after you try flashing the ota you may have to use the .kdz method
Click to expand...
Click to collapse
I don't have TWRP installed, either. I've got stock recovery and stock everything. I was going to remove root so I could update and then re-root for v10j and then install the new version of TWRP.
Bebout said:
I don't have TWRP installed, either. I've got stock recovery and stock everything. I was going to remove root so I could update and then re-root for v10j and then install the new version of TWRP.[/QUOTE
Your telling me you removed root ? But you never had twrp as your recovery ?
Click to expand...
Click to collapse
xxbabiboi228xx said:
Bebout said:
I don't have TWRP installed, either. I've got stock recovery and stock everything. I was going to remove root so I could update and then re-root for v10j and then install the new version of TWRP.
Click to expand...
Click to collapse
Your telling me you removed root ? But you never had twrp as your recovery ?
Click to expand...
Click to collapse
I fixed it. I rooted the device and flashed the v10i recovery image for TWRP that I found and I'm now going to update to v10j via the kdz, as you suggested. Thank you.
Bebout said:
I fixed it. I rooted the device and flashed the v10i recovery image for TWRP that I found and I'm now going to update to v10j via the kdz, as you suggested. Thank you.
Click to expand...
Click to collapse
No problem glad i could assist u in your problem
Why not get TWRP again and flash @GameTheory's v10j pre-rooted stock rom, it's not like you're going to see anything special with that update it's the last one before MM:
http://androidcreations.weebly.com/flashable-update-zip.html
Bebout said:
Why would it be doing this? I already removed root via the SuperSU app permanently. What could be causing the error?
Click to expand...
Click to collapse
well even if you Remove root via SuperSU that doesn't mean your SYSTEM is unmodified, the only way to get back to FULL Unmod. software is by following my steps of restoring back to stock, here is the link
http://forum.xda-developers.com/android/development/rom-lg-g-stylo-h631-ms631-v10j-stock-t3211563
P.S. You need to have TWRP for this so Re-Root and Re-Flash TWRP and follow steps

Update received - flashing via TWRP?

Hey there fellow U11 Users,
I just received the update concerning 60fps HD-Video etc. I use TWRP so the update can't be installed by itself. So I have two questions:
A
Where do I find the update file. I looked around a lot but couldn't locate it.
B
Once found, can I just flash it with TWRP?
Thanks in advance!
Dito13 said:
Hey there fellow U11 Users,
I just received the update concerning 60fps HD-Video etc. I use TWRP so the update can't be installed by itself. So I have two questions:
A
Where do I find the update file. I looked around a lot but couldn't locate it.
B
Once found, can I just flash it with TWRP?
Thanks in advance!
Click to expand...
Click to collapse
See here: https://forum.xda-developers.com/u11/how-to/collection-htcu-u11-ruu-firmware-t3612048/page63
Alright, thanks! :good: That only leaves the first question unanswered.
Dito13 said:
Alright, thanks! :good: That only leaves the first question unanswered.
Click to expand...
Click to collapse
/data/data/com.htc.updater/files
btw...twrp can install the update but you need to flash the firmware.zip inside the ota manually
Thank you kindly!
OMJ said:
/data/data/com.htc.updater/files
btw...twrp can install the update but you need to flash the firmware.zip inside the ota manually
Click to expand...
Click to collapse
Just to be clear: I only flash the firmware.zip manually via TWRP or do I need to flash the whole ota?
Sorry for the question. I mostly handled Nexus devices...
Dito13 said:
Just to be clear: I only flash the firmware.zip manually via TWRP or do I need to flash the whole ota?
Sorry for the question. I mostly handled Nexus devices...
Click to expand...
Click to collapse
twrp will install the ota zip but it wont install the firmware.zip inside, you have to extract & manually install from download mode
grrr.... I tried following your suggestions, but recieved error 7 in TWRP. Can you help me in the right direction?
Dito13 said:
grrr.... I tried following your suggestions, but recieved error 7 in TWRP. Can you help me in the right direction?
Click to expand...
Click to collapse
list your steps your using to install the ota via twrp....personally, I let the system initiate the install (booted into OS) as if I was 100% stock, once twrp loads, it automatically installs except for the firmware.zip
more details here...
OK, I am a Noob to the HTC world. I am used to easy flashing/rooting/etc. on Nexus devices.
TWRP doesn't do anything after accepting the ota. When I try to install the OTA via TWRP I receive Error 7. I worked my way through a lot of guides here on XDA concerning manual OTA installing. One thing I tried was flashing back to stock recovery which I found in the firmware.zip of the OTA in bootloader mode. That failed also ("FAILED (remote: not allowed on PRODUCTION device).
Edit: The device has obviously an unlocked bootloader, s-on, rooted via magisk and is a DGLU device, software number 1.16.400.5
Are you on an Untouched System Image? Completely stock ROM? While it is great we can flash the OTA in TWRP, the system stills needs to be stock, and of course will still have to fastboot firmware.
schmeggy929 said:
Are you on an Untouched System Image? Completely stock ROM? While it is great we can flash the OTA in TWRP, the system stills needs to be stock, and of course will still have to fastboot firmware.
Click to expand...
Click to collapse
Yes, everything is stock.
I managed to flash the stock recovery now. I didn't remember to use the download mode /sorry. Then Then I checked for the ota again, downloaded it and tried to apply but I landed in the stock recovery with the red exclamation mark and then nothing happened.
Dito13 said:
Yes, everything is stock.
I managed to flash the stock recovery now. I didn't remember to use the download mode /sorry. Then Then I checked for the ota again, downloaded it and tried to apply but I landed in the stock recovery with the red exclamation mark and then nothing happened.
Click to expand...
Click to collapse
re-flash twrp and try it again.
schmeggy929 said:
re-flash twrp and try it again.
Click to expand...
Click to collapse
Same result unfortunately. TWRP hands out Error 7 and "system partition has unexpected contents" or something like that although I didn't do any tinkering with the stock rom. I flashed Magisk and did a backup before and that was all.
Dito13 said:
Same result unfortunately. TWRP hands out Error 7 and "system partition has unexpected contents" or something like that although I didn't do any tinkering with the stock rom. I flashed Magisk and did a backup before and that was all.
Click to expand...
Click to collapse
Only thing I would say is start fresh. Backup all the data for your apps first. Flash the RUU, Take the OTA and reinstall all your apps.
schmeggy929 said:
Only thing I would say is start fresh. Backup all the data for your apps first. Flash the RUU, Take the OTA and reinstall all your apps.
Click to expand...
Click to collapse
Thanks again - seems to have worked. It will be interesting to see which problems occur with the Android Oreo update which was announced till the end of the year by HTC

Categories

Resources