4.4.1 Update failing because of android.policy.odex - Nexus 5 Q&A, Help & Troubleshooting

Hey, I tried flashing the new Android version 4.4.1 and this is what happens:
Code:
Updating partition details...
Starting ADB sideload feature...
Installing '/data/media/0/sideload.zip' ...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Verifying current system...
"/system/framework/android.policy.odex" has une
E:Error executing updater binary in zip '/data/
And at the top of the screen there's a red colored "Failed" notification.
I'm guessing it's because the phone is rooted? Or what should I be doing to fix the problem? thanks.

sneak310 said:
Hey, I tried flashing the new Android version 4.4.1 and this is what happens:
Code:
Updating partition details...
Starting ADB sideload feature...
Installing '/data/media/0/sideload.zip' ...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Verifying current system...
"/system/framework/android.policy.odex" has une
E:Error executing updater binary in zip '/data/
And at the top of the screen there's a red colored "Failed" notification.
I'm guessing it's because the phone is rooted? Or what should I be doing to fix the problem? thanks.
Click to expand...
Click to collapse
Rooting is not the problem. If you made changes to the system the ota won't work. Fastboot flash the system and boot image from 4.4

jd1639 said:
Rooting is not the problem. If you made changes to the system the ota won't work. Fastboot flash the system and boot image from 4.4
Click to expand...
Click to collapse
So I need to go into TWRP and "Install" then choose the zip and flash it?

sneak310 said:
So I need to go into TWRP and "Install" then choose the zip and flash it?
Click to expand...
Click to collapse
No, that will fail too.
You have made changes to the system. Whether its the dalvik mod, camera mod, center clock mod, etc or change build.prop.
You need to use fastboot to flash the stock system.img from here
http://forum.xda-developers.com/showthread.php?t=2513701

Synyster06Gates said:
No, that will fail too.
You have made changes to the system. Whether its the dalvik mod, camera mod, center clock mod, etc or change build.prop.
You need to use fastboot to flash the stock system.img from here
http://forum.xda-developers.com/showthread.php?t=2513701
Click to expand...
Click to collapse
Yep, it was the camera mod. Thankyou. I'll try that out.

I let it finish and it started the phone in normal mode, I went through the prompts about google's initial setup and let the phone sit a couple minutes. I turned it off and used volume down + power and selected recovery mode and now there's an android icon with a red warning sign and a black "!" on the sign and I can't do anything at all.
What now?
Edit: the phone randomly booted normally now..
I did try volume up and power but it doesn't do anything..
This step:
"After everything finished, select "Recovery" using the volume buttons."
Is incorrect, since the phone boots up as soon as the flash is finished.
Edit 2: I found it wasn't doing anything because I was "holding" instead of "pressing". Instead of following directions I assumed it was a typo and should be done the way all the other volume/power button combos are done. Big nub mistake, sorry.

4.4.1 was so yesterdays news....

BCSC said:
4.4.1 was so yesterdays news....
Click to expand...
Click to collapse
lol.. going to install 4.4.2 in a moment but lesson still learned and a thread left over for people who have the same question in the future.:good:

Related

If I can get into the Fastboot screen I am not fully bricked??

I can boot with volume up and get to the recovery screen. I am combing threads and doing all I can now. Any help is greatly appreciated. Downloading the SDK on slow work internet now and attempting to get all files I think I might need as we speak.
give members more details [what did u flash etc], so they can help u.
No, if you have recovery mode available nothing is lost.
Just download a ROM you like, and try flashing it. If it doesn't work, try formatting and then flashing again.
I flashed one click stock and I saw that SYSTEM failed while it was running. Now I get no boot but I can get to the stock recovery.
How do I get a rom onto the phone in its current state?
when I boot with the vol up / power combination I get a small menu for reboot bootloader, reboot, recovery or power off. If I select recovery I get the triangle icon with the ! and then after a minute or so I can get to what looks like a very small clockwork menu with: reboot system now, apply update from /sdcard, wipe data/factory reset or wipe cache partition. I have tried to apply a rom I had on in the list but it failed verification and the list is only partital it does not let me go all the way down.
In recovery you can still use adb to transfer files to the device.
Code:
adb push update.zip /sdcard
I am having trouble getting adb to work. I am following these instructions but something seems to be wonky?
http://androidadvices.com/how-to-install-set-up-and-use-adb-for-android-devices/#.UAWbt7Sm_Nk
can you point me in a better direction to get adb access
I just noticed at the bottom of my screen in slightly greyed out copy it reads: FASTBOOT STATUS - FAILINVALID COMMAND
magicwands said:
I flashed one click stock and I saw that SYSTEM failed while it was running. Now I get no boot but I can get to the stock recovery.
How do I get a rom onto the phone in its current state?
when I boot with the vol up / power combination I get a small menu for reboot bootloader, reboot, recovery or power off. If I select recovery I get the triangle icon with the ! and then after a minute or so I can get to what looks like a very small clockwork menu with: reboot system now, apply update from /sdcard, wipe data/factory reset or wipe cache partition. I have tried to apply a rom I had on in the list but it failed verification and the list is only partital it does not let me go all the way down.
Click to expand...
Click to collapse
That small menu as you called it is fastboot.
That recovery is stock recovery.
Connect to phone to computer and use fastboot to flash a custom recovery. Boot into said recovery. Mount usb storage. Transfer rom over to phone. factory reset/format system and flash new rom.
If you don't know how set up and use fastboot. Look it up.
I got the bootloader unlocked and TWRP installed but whenever I try to flash a rom I get the error message " E:error in /tmp/sideload/package.zip (status 7)
Any thoughts?
magicwands said:
I got the bootloader unlocked and TWRP installed but whenever I try to flash a rom I get the error message " E:error in /tmp/sideload/package.zip (status 7)
Any thoughts?
Click to expand...
Click to collapse
Do a full wipe, re-download the rom ( make sure its the correct rom for your device) and try again.
If it still fails. Flash the official stock images and make sure that at least works
I am fully wiped but I am going through the process again just to be sure, all I have on the device right now is TWRP its unlocked and boots into TWRP recovery fine. But everytime I flash, I have tried 3 roms and one was the NS4G_IMM76d_deodexed it hits me with the same error as before: e:error in /tmp/sideload/package.zip (status 7)
I am searching frantically for a fix, any help is appreciated.
magicwands said:
I am fully wiped but I am going through the process again just to be sure, all I have on the device right now is TWRP its unlocked and boots into TWRP recovery fine. But everytime I flash, I have tried 3 roms and one was the NS4G_IMM76d_deodexed it hits me with the same error as before: e:error in /tmp/sideload/package.zip (status 7)
I am searching frantically for a fix, any help is appreciated.
Click to expand...
Click to collapse
Download the following files:
7-Zip from http://www.7-zip.org
https://dl.google.com/dl/android/aosp/sojus-imm76d-factory-10660f4c.tgz
http://android.kcomputerzone.com/stock/sojus-imm76d-factory_windows-scripts.zip
http://android.kcomputerzone.com/extras/crespo-drivers.zip (just in case you need them)
Install 7-Zip
Extract sojus-imm76d from sojus-imm76d-factory-10660f4c.tgz (You will need to go in multiple levels deep to get to folder) to your desktop.
Extract contents of sojus-imm76d-factory_windows-scripts.zip to the sojus-imm76d on your the desktop.
With phone in bootloader mode run flash-all.cmd in the sojus-imm76d folder.
If all worked it should be boot and be working.
That should restore yours to default firmware all using fastboot. Hope this helps.
This site (http://nexusshacks.com/nexus-s-root/how-to-root-nexus-s-or-nexus-s-4g-on-ics-or-gingerbread/) got me up and running with TWRP then I been having issues flashing roms, I am able to get a Peter Alfonso stock rom to boot but then if I try to flash I get the same error. I was able to ODIN the stock 4.0.4 but nothing seems willing to flash via clockwork or TWRP.
Ok just to bring some closure to this, thanks for all the help. My problem with the status 7 error was that I was using the wrong clockwork recovery. It was bundled in a one click root for Nexus Galaxy and Nexus S, the Root worked great but the recovery was the incorrect version. In any event I am now 100% functional. Thanks to all that helped out.
magicwands said:
Ok just to bring some closure to this, thanks for all the help. My problem with the status 7 error was that I was using the wrong clockwork recovery. It was bundled in a one click root for Nexus Galaxy and Nexus S, the Root worked great but the recovery was the incorrect version. In any event I am now 100% functional. Thanks to all that helped out.
Click to expand...
Click to collapse
That is the problem with One click root/unroot. I know the simplicity is awesome but the end user is learning nothing. Doing it the ol' fashion way teaches the user how to use SDK, ADB, and other important simple things. I always say use the guide and do it yourself. Problems happen and instead of having to start a new thread you can trouble shoot it yourself. :good:

[Q] Moto G keeps on rebooting and updating

This morning my device was asking if it could do a firmware (?) update. I confirmed and of that moment it keeps on rebooting and trying to install an update. Whatever I try I can't get through the loop of updating/rebooting. I thought that maybe via the bootloader (which is working) I can install a new ROM or restore the stock firmware, but nothing is helping. When in the bootloader, the PC can find the device although it is connected (USB connected)
What I see when it's rebooting:
Install untrusted package?
this can not be undone
- no
- yes
- go back
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
what ever I choose it goes to the next screen:
root access possibly lost. Fix?
this can not be undone
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
Installation aborted
rebooting...
...and it starts all over again...it boots normally but after 10 sec it reboots again...
Has somebody any idea what the problem is and how it can be solved. As it is, I can't do anything with this mobile.
Thanks for your help!
Your post says 'PC can find the device' but I assume you mean 'PC cant find the device'.
So you have a custom recovery, are you also rooted? A custom recovery means an OTA update wont work. You need the stock recovery. I assume the custom recovery has caused the update to fail in such a way that it just keeps rebooting.
Can you manage to get into CWM via the bootloader (ie choose recovery from bootloader options using volume buttons), if so then wipe cache as this will remove the update file and you should be OK then.
If not then I think you need to get the phone seen by the PC when in the bootloader as otherwise you are stuck. I assume at some point it was seen by the PC for you to install CWM?
If running Windows do you still have the drivers installed (I run linux so Im unsure what you would need). I assume a 'fastboot devices' shows no device at all from what you say?
If you can get fastboot working you can then flash back the stock recovery and this may then allow the update to get past the point its failing at, it may still fail but then you can take it from there.
But first try getting to CWM via bootloader and wiping cache and then reboot.
scott_doyland said:
Your post says 'PC can find the device' but I assume you mean 'PC cant find the device'.
So you have a custom recovery, are you also rooted? A custom recovery means an OTA update wont work. You need the stock recovery. I assume the custom recovery has caused the update to fail in such a way that it just keeps rebooting.
Can you manage to get into CWM via the bootloader (ie choose recovery from bootloader options using volume buttons), if so then wipe cache as this will remove the update file and you should be OK then.
If not then I think you need to get the phone seen by the PC when in the bootloader as otherwise you are stuck. I assume at some point it was seen by the PC for you to install CWM?
If running Windows do you still have the drivers installed (I run linux so Im unsure what you would need). I assume a 'fastboot devices' shows no device at all from what you say?
If you can get fastboot working you can then flash back the stock recovery and this may then allow the update to get past the point its failing at, it may still fail but then you can take it from there.
But first try getting to CWM via bootloader and wiping cache and then reboot.
Click to expand...
Click to collapse
Thank you for your quick reply.
Correct. I mean the PC can't find the device. However via Motorola Device Manager it can.
Yes the phone is rooted
I can't get into the CWM. If I choose recovery from the bootloader, it reboots normally...and the loop starts again...
will try the fastboot.
How are you trying to choose the recovery option from the bootloader?
You MUST select recovery option using the VOLUME UP button (volume down to move between options and volume UP to pick an option).
Do NOT use the power button.
scott_doyland said:
How are you trying to choose the recovery option from the bootloader?
You MUST select recovery option using the VOLUME UP button (volume down to move between options and volume UP to pick an option).
Do NOT use the power button.
Click to expand...
Click to collapse
This is very good advice, regarding selecting recovery from Bootloader....
it happened to me, for days I was puzzled, even after flashing stock recovery, 4.3 Recovery, I could not enter Recovery, until I actually read what was written in the BL screen.
Use Vol down to scroll to option, then use Vol up to select that option......(Recovery)
As you say, important not to use power button.....as would come naturally, and its what we use in Recovery......
but not in Bootloader!!!!!!
I panicked so much, but just be calm!!!
Sent from my Moto G using Tapatalk
---------- Post added at 12:33 PM ---------- Previous post was at 12:30 PM ----------
irishpancake said:
This is very good advice, regarding selecting recovery from Bootloader....
it happened to me, for days I was puzzled, even after flashing stock recovery, 4.3 Recovery, I could not enter Recovery, until I actually read what was written in the BL screen.
Use Vol down to scroll to option, then use Vol up to select that option......(Recovery)
As you say, important not to use power button.....as would come naturally, and its what we use in Recovery......
but not in Bootloader!!!!!!
I panicked so much, but just be calm!!!
I think its also important in Windows, to use the Moto fastboot.....when flashing recovery from BL!!!
(search forum for mfastboot.....)
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
Sent from my Moto G using Tapatalk
...I think I found the problem or better the solution...
As soon as I added AdbWinUsbApi.dll my PC could find the device...at the moment I'm flashing stock recovery. Hopefully this will help. Keep you posted guys! :good:
dutchxl said:
...I think I found the problem or better the solution...
As soon as I added AdbWinUsbApi.dll my PC could find the device...at the moment I'm flashing stock recovery. Hopefully this will help. Keep you posted guys! :good:
Click to expand...
Click to collapse
If you are rooted it will still fail to update. You are best off just clearing cache via recovery. Or delete zip file (if you get booted up) from /cache using a root file explorer.
---------- Post added at 12:53 PM ---------- Previous post was at 12:51 PM ----------
irishpancake said:
This is very good advice, regarding selecting recovery from Bootloader....
it happened to me, for days I was puzzled, even after flashing stock recovery, 4.3 Recovery, I could not enter Recovery, until I actually read what was written in the BL screen.
Use Vol down to scroll to option, then use Vol up to select that option......(Recovery)
As you say, important not to use power button.....as would come naturally, and its what we use in Recovery......
but not in Bootloader!!!!!!
I panicked so much, but just be calm!!!
Sent from my Moto G using Tapatalk
---------- Post added at 12:33 PM ---------- Previous post was at 12:30 PM ----------
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
motofastboot is a modified fastboot that allows larger images to be flashed. Normal fastboot will work fine for recovery AFAIK.
scott_doyland said:
If you are rooted it will still fail to update. You are best off just clearing cache via recovery. Or delete zip file (if you get booted up) from /cache using a root file explorer.
---------- Post added at 12:53 PM ---------- Previous post was at 12:51 PM ----------
motofastboot is a modified fastboot that allows larger images to be flashed. Normal fastboot will work fine for recovery AFAIK.
Click to expand...
Click to collapse
It's just that mfastboot is recommended by most devs, including Paul O'Brien and flibblesan, on Modaco, and loads of ppl here on XDA, for flashing FW to Motorola devices from BL, so I'd go with it, as it is widely available on either Modaco or XDA.
I don't think an OTA will fail due to root, just if you have modified or removed any system files, or are using a custom recovery.
I think you have to re-root after OTA is applied.
Rooting at 4.4 is easy with Chainfire's SuperSU CWM flasable zip, as explained by flibblesan here:
http://www.modaco.com/topic/368168-how-do-i-root-android-44-kitkat/#entry2188450
flibblesan, on 11 Jan 2014 - 5:05 PM, said:
Easiest way to root would be to boot a custom recovery and flash Superuser through that.
A new build of CWM recovery compatible with 4.4 bootloaders can be found here http://forum.xda-developers.com/showpost.php?p=49333040&postcount=123
Download superuser from http://download.chainfire.eu/376/SuperSU/UPDATE-SuperSU-v1.89.zip
flash recovery with the special motorola fastboot like
Code:
mfastboot flash recovery recovery.img
Click to expand...
Click to collapse
irishpancake said:
It's just that mfastboot is recommended by most devs, including Paul O'Brien and flibblesan, on Modaco, and loads of ppl here on XDA, for flashing FW to Motorola devices from BL, so I'd go with it, as it is widely available on either Modaco or XDA.
I don't think an OTA will fail due to root, just if you have modified or removed any system files, or are using a custom recovery.
I think you have to re-root after OTA is applied.
Rooting at 4.4 is easy with Chainfire's SuperSU CWM flasable zip, as explained by flibblesan here:
http://www.modaco.com/topic/368168-how-do-i-root-android-44-kitkat/#entry2188450
Click to expand...
Click to collapse
superSU updates /system/etc/install-recovery.sh
This file is checked for a hash by the script (updater-script) that installs the update. As the file is different then the script bombs out with an error.
I know this because I am rooted and I by mistake attempted to install the OTA when I got the OTA notification. It failed.
There is a line in the updater-script like this:
apply_patch_check("/system/etc/install-recovery.sh", "b54528cf9ebba39534b768ad9108a4732e1eff4a", "99ffe4a3d0e6612e87cd3f6a62dad642094f0169") || abort("\"/system/etc/install-recovery.sh\" has unexpected contents.");
This is basically checking that file and seeing if it has the expected hash (one/both of those long numbers are the hash).
Interestingly the ORIGINAL install-recovery.sh file has these comments at the start of the file:
# File Name: install-recovery.sh
#
# General Description: This script is used to install software update for
# recovery mode after OTA update. This is modified
# from original Google code to split the code into
# a fixed program while putting the dynamic data
# into a config file.
After superSU is flashed it says stuff about superSU in it and the file is completely different hence why if you are rooted (at least if using superSU) then the update fails. Whether there are also other /system files also updated by rooting I dont know.
I dont know why superSU modifies the file, the file once modified kicks off a daemon called daemonsu. Why it has to be this file to start that deamon I dont know - but obviously there must be some reason its rooted in this way.
scott_doyland said:
superSU updates /system/etc/install-recovery.sh
This file is checked for a hash by the script (updater-script) that installs the update. As the file is different then the script bombs out with an error.
I know this because I am rooted and I by mistake attempted to install the OTA when I got the OTA notification. It failed.
There is a line in the updater-script like this:
apply_patch_check("/system/etc/install-recovery.sh", "b54528cf9ebba39534b768ad9108a4732e1eff4a", "99ffe4a3d0e6612e87cd3f6a62dad642094f0169") || abort("\"/system/etc/install-recovery.sh\" has unexpected contents.");
This is basically checking that file and seeing if it has the expected hash (one/both of those long numbers are the hash).
Interestingly the ORIGINAL install-recovery.sh file has these comments at the start of the file:
# File Name: install-recovery.sh
#
# General Description: This script is used to install software update for
# recovery mode after OTA update. This is modified
# from original Google code to split the code into
# a fixed program while putting the dynamic data
# into a config file.
After superSU is flashed it says stuff about superSU in it and the file is completely different hence why if you are rooted (at least if using superSU) then the update fails. Whether there are also other /system files also updated by rooting I dont know.
I dont know why superSU modifies the file, the file once modified kicks off a daemon called daemonsu. Why it has to be this file to start that deamon I dont know - but obviously there must be some reason its rooted in this way.
Click to expand...
Click to collapse
Thanks for that info......a bit complicated, but I get the gist of why OTA will fail, if rooted using the SuperSU Recovery zip.
I suppose, as you will be un-rooted in any case, unrooting prior to OTA is advisable, I can see that....
when I rooted originally, I used Superboot, as per Paul's Option 1
However, as per the OP, and my attempted OTA, with CWM Recovery intact, and the bootloop problem, etc, etc...and my panic, and not reading what is written in BL....
I never got to flash the OTA, and I just went ahead and learned how to use fastboot, and downloaded the American ROM, flashed it, and CWM Recovery, which works with 4.4 now, and flashed the root zip, as above, and some other zip to give back the H+ for HSPA+ logo, and now I'm happy.....
I'll never have another OTA to deal with now......
When stuff goes wrong we all learn a lot more than if it always went to plan, so its good we have learnt some new things today.
When 4.4.3 is out it'll all be easy now
Everything is working again! With AdbWinUsbApi.dll I could find my device and flash it. And with the help of this topic http://forum.xda-developers.com/showthread.php?t=2542219 I was able to restore the firmware as it was...nearly...I had a Dutch (EU) version, now it's US...no big deal.
dutchxl said:
Everything is working again! With AdbWinUsbApi.dll I could find my device and flash it. And with the help of this topic http://forum.xda-developers.com/showthread.php?t=2542219 I was able to restore the firmware as it was...nearly...I had a Dutch (EU) version, now it's US...no big deal.
Click to expand...
Click to collapse
Man....you did what I did, and ended up with US 4.4.....
I had UK Tesco 4.3, with an OTA sitting in \cache, but tried to flash with CWM Recovery, messed up, panicked, but things are good now, latest CWM, rooted with SuperSU.
There is also a CWM zip to restore your H indicator for HSPA mobile speed, as US ROM only has 3G for this, and it also modifies the cell signal bars back to normal Android width.....
SystemUI_AOSP_Statusbar-signed.zip
Thanks to tilaz and flibbelsan on Modaco
Good luck from here on,
dutchxl said:
This morning my device was asking if it could do a firmware (?) update. I confirmed and of that moment it keeps on rebooting and trying to install an update. Whatever I try I can't get through the loop of updating/rebooting. I thought that maybe via the bootloader (which is working) I can install a new ROM or restore the stock firmware, but nothing is helping. When in the bootloader, the PC can find the device although it is connected (USB connected)
What I see when it's rebooting:
Install untrusted package?
this can not be undone
- no
- yes
- go back
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
what ever I choose it goes to the next screen:
root access possibly lost. Fix?
this can not be undone
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
Installation aborted
rebooting...
...and it starts all over again...it boots normally but after 10 sec it reboots again...
Has somebody any idea what the problem is and how it can be solved. As it is, I can't do anything with this mobile.
Thanks for your help!
Click to expand...
Click to collapse
I had the same situation just now. Accidentally confirmed the OTA update prompt, then the phone goes bootloop. After fiddling here and there, turns out the solution was simple. Reboot to bootloader, connect usb to PC, then wipe the cache using fastboot (fastboot erase cache). It will remove the OTA update zip file and stops the bootloop. Now I need to disable OTA update prompt.
just got the same problem!
solution that worked with me: booted in recovery, connected to pc, [left shift]+[right klick] on folder that contains mfastboot.exe, open prompt, type "mfastboot erase cache". done!
system update is now stopped
dutchxl said:
This morning my device was asking if it could do a firmware (?) update. I confirmed and of that moment it keeps on rebooting and trying to install an update. Whatever I try I can't get through the loop of updating/rebooting. I thought that maybe via the bootloader (which is working) I can install a new ROM or restore the stock firmware, but nothing is helping. When in the bootloader, the PC can find the device although it is connected (USB connected)
What I see when it's rebooting:
Install untrusted package?
this can not be undone
- no
- yes
- go back
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
what ever I choose it goes to the next screen:
root access possibly lost. Fix?
this can not be undone
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
Installation aborted
rebooting...
...and it starts all over again...it boots normally but after 10 sec it reboots again...
Has somebody any idea what the problem is and how it can be solved. As it is, I can't do anything with this mobile.
Thanks for your help!
Click to expand...
Click to collapse
dutchxl said:
This morning my device was asking if it could do a firmware (?) update. I confirmed and of that moment it keeps on rebooting and trying to install an update. Whatever I try I can't get through the loop of updating/rebooting. I thought that maybe via the bootloader (which is working) I can install a new ROM or restore the stock firmware, but nothing is helping. When in the bootloader, the PC can find the device although it is connected (USB connected)
What I see when it's rebooting:
Install untrusted package?
this can not be undone
- no
- yes
- go back
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
what ever I choose it goes to the next screen:
root access possibly lost. Fix?
this can not be undone
CWM based recovery v6.0.4.5
E: invalid command argument
finding update package
opening update package
verifying update package
e: failed to verify whole-file signature
e:signature verification failed
Installation aborted
rebooting...
...and it starts all over again...it boots normally but after 10 sec it reboots again...
Has somebody any idea what the problem is and how it can be solved. As it is, I can't do anything with this mobile.
Thanks for your help!
Click to expand...
Click to collapse
i repost a solution i have found to install OTA without wiping data, loosing root or flashing stock rom
http://forum.xda-developers.com/showpost.php?p=50513733&postcount=9
black screen after motorola logo
irishpancake said:
This is very good advice, regarding selecting recovery from Bootloader....
it happened to me, for days I was puzzled, even after flashing stock recovery, 4.3 Recovery, I could not enter Recovery, until I actually read what was written in the BL screen.
Use Vol down to scroll to option, then use Vol up to select that option......(Recovery)
As you say, important not to use power button.....as would come naturally, and its what we use in Recovery......
but not in Bootloader!!!!!!
I panicked so much, but just be calm!!!
Sent from my Moto G using Tapatalk
---------- Post added at 12:33 PM ---------- Previous post was at 12:30 PM ----------
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
i am having black screen issue on my MOTO G means i have installed some wrong package.... and it does not start only black screen...after a motorola starting logo so what should i do and my phone is not unlocked bootloader....please i need some serious help im getting error while installing new package via ADB is like " /system/lib/rfsa/adsp/libadsp_denoise_skel.so" has unexpected contents. and then installation aborted"" please help me!!! my phone is on XT1033 dual sim and is on 4.4.4 version when i done all this madness... for unlock bootloader.of this device please help!!! thank you!!!
same problem
bro same problem with me . what should i do now?
I had the exact same problem. Luckily I had the backup and entered the recovery mode of philz touch 6 clockworkmod v6.0.4.7 and recovered.
But I want to know, how to update the unlocked bootloader & rooted moto g xt1033 ? I'm using custom rom, its just unlocked.

Looking for input

Ok just noticed this can't tell if it's an m preview 2 problem or just my device. When I go into stock recovery and hit apply update from sd card I get
Supported API: 3
E: unknown volume for path [/sdcard]
-- Couldn't mount /sdcard.
Installation aborted.
it fails to mount /sdcard(check picture). Tried with TWRP and have full access to /sdcard. Tried reflashing this stock one keeps happening. Phone still works perfect tried fixing permissions any ideas?
Did you ever find a solution to this?
I got my Nexus 5X stuck in a boot loop when I try troubleshooting it, I get the same error you got (also using TWRP).
Reflashing with the stock ROM didn't help either.
Try flashing userdata.img from the stock image. Right after flashing the img file, use the buttons to boot into stock recovery, and perform a factory wipe.
audit13 said:
Try flashing userdata.img from the stock image. Right after flashing the img file, use the buttons to boot into stock recovery, and perform a factory wipe.
Click to expand...
Click to collapse
Thanks for the reply. I gave it another shot and I found that the basic procedure of flash the proper files was enough. What was missing was the vendor.img, which most of the guides forget to mention or associate with Nexus 9, for example.
Glad you got it sorted out:good:

[Solved] Idol 3 5.5 6045O MM update failing with "has unexpected contents" hyp error

[Solved] Idol 3 5.5 6045O MM update failing with "has unexpected contents" hyp error
I previously used Panasonic Eluga Switch ,installed AlekOS 2.5, reloaded a backup of my boot and system image partitions made before i installed AlekOS 2.5, became unable to access fastboot controls after that, updated using mobile upgrade q 5.0.0 back to 5.0.2, got the OTA update and received the error listed below.
The error I get is:
"EMMC:/dev/block/bootdevice/by-name/hyp:73728:e57103f3c7eae1b83159aac575f3855d2f4c534b:73728:66fe261ae2b46ed4a9ad2df6f6e6ab2d96701e49" has unexpected contents.
E:Error in @/cache/recovery/block.map
(Status 7)
E:unknown volume for path [/tctpersist/fota_retry_counter]
E:unknown volume for path [/tctpersist/fota_retry_counter]
Installation aborted.
E:unknown volume for path [/cache/recovery/block.map]
E:erasing upade package failed errno =2
E:unknown volume for path [/cache/recovery/block.map]
I have tried factory resetting, mobile upgrade q 5.0.0 , wiping the cache after factory resetting and after mobile upgrade q , but I still get the error.
When I wipe my entire system, the update.zip looks for something that is within system, does not find it, and fails.
Solution Edit: Seems the problem may have been with the version of the Mobile Upgrade Q I was using. The one for the idol 3 listed on Acatel's site (version 5.0.0 ) was not the latest Mobile Upgrade Q version! Even though the latest Mobile Q version was within a different phone's area (version 5.0.9) it has the options for all the other phones just like version 5.0.0. So I Used the newest version and and side loaded my update using the stock recovery adb. I think you should be able to just update normally without having to side-load ,however, after using the updated mobile upgrade q.
AceIn said:
I previously installed AlexOS 2.5, reloaded a backup of my boot and system image partitions made before i installed AlexOS 2.5, became unable to access fastboot controls after that, updated using mobile upgrade q back to 5.0.2, got the OTA update and received the error listed below.
The error I get is:
"EMMC?/dev/block/bootdevice/by-name/hyp:73728:e57103f3c7eae1b83159aac575f3855d2f4c534b:73728:66fe261ae2b46ed4a9ad2df6f6e6ab2d96701e49" has unexpected contents.
E?Error in @/cache/recovery/block.map
(Status 7)
E?unknown volume for path [/tctpersist/fota_retry_counter]
E?unknown volume for path [/tctpersist/fota_retry_counter]
Installation aborted.
E?unknown volume for path [/cache/recovery/block.map]
E?erasing upade package failed errno =2
E?unknown volume for path [/cache/recovery/block.map]
I have tried factory resetting, mobile upgrade q, wiping the cache after factory resetting and after mobile upgrade q , but I still get the error.
When I wipe my entire system, the update.zip looks for something that is within system, does not find it, and fails.
I may need a STOCK idol 3 6045O bootstack with a stock hyp?
Click to expand...
Click to collapse
You can try Eluga Switch Firmware and then, restore your 5.0.2 backup
If it doesn't work, you have to request all boot block from 5.0.2 6045O (tz,rpm,sbl1,aboot,hyp).
murigny64 said:
You can try Eluga Switch Firmware and then, restore your 5.0.2 backup
If it doesn't work, you have to request all boot block from 5.0.2 6045O (tz,rpm,sbl1,aboot,hyp).
Click to expand...
Click to collapse
I mean I've already tried restoring my backup, maybe my backup of my boot and my system image were already had a corrupted hyp? It is odd that even using alcatell's mobile q isn't getting me back to a stock untouched hyp. Yeah I think I need to request all boot block from 5.0.2 6045O. How do I do that?
AceIn said:
I mean I've already tried restoring my backup, maybe my backup of my boot and my system image were already had a corrupted hyp? It is odd that even using alcatell's mobile q isn't getting me back to a stock untouched hyp. Yeah I think I need to request all boot block from 5.0.2 6045O. How do I do that?
Click to expand...
Click to collapse
Do you mind booting TWRP from fastboot and pulling the update.zip from the device? You could also pull it to your computer and edit the updater-script to remove patching that file and see if it gets somewhere.
Unjustified Dev said:
Do you mind booting TWRP from fastboot and pulling the update.zip from the device? You could also pull it to your computer and edit the updater-script to remove patching that file and see if it gets somewhere.
Click to expand...
Click to collapse
Here is a link to the OTA update.zip my phone downloads.
Link
Unjustified Dev said:
Do you mind booting TWRP from fastboot and pulling the update.zip from the device? You could also pull it to your computer and edit the updater-script to remove patching that file and see if it gets somewhere.
Click to expand...
Click to collapse
Yes, if using TWRP, just edit updater-script and remove patch check and patch apply for hyp.
AceIn said:
Here is a link to the OTA update.zip my phone downloads.
Link
Click to expand...
Click to collapse
Unzip for updater-script
So I am going to try to use Mobile Update Q version 5.0.9 to get android MM on my device through that program. I will update if it succeeds. Also seems as though my system partition was larger than it should have been somehow .
Edit : Nope still only gets me to a stock 5.0.2 :/
Edit2 : Trying to sideload the update.zip from the stock version of my phone, given by mobile update q 5.0.9, through the stock recovery adb. It is looking promising.. It got past verifying the current system and is now on patching system files!
Sweet ! It worked! Thanks for the push in a different direction Unjustified Dev!
Some things I did differently were not upgrading while in developer enabled mode, Using mobile upgrade q 5.0.9, and trying to sideload the MM update as soon as my phone booted into 5.0.2.
AceIn said:
Sweet ! It worked! Thanks for the push in a different direction Unjustified Dev!
Click to expand...
Click to collapse
Can you tell me all the steps you went through to install the update? I've been having the same issue as you and I also have the 6045O. Thank you.
SenyorMauricio said:
Can you tell me all the steps you went through to install the update? I've been having the same issue as you and I also have the 6045O. Thank you.
Click to expand...
Click to collapse
[1] There is this program called mobile upgrade q that you can get from the Alcatell website. Get mobile upgrade q version 5.0.9.
[2] Run that program and follow its instructions, You WILL loose all your apps and internal storage data (data not on your sd card) in the process.
[3] I guess once your phone boots up it will be on stock 5.0.2, I think you can just update from here normally ... but what I did was sideload using adb (look it up it is a downloadable program and also something that come within the stock recovery of the phone which you get to by shutting down your phone holding down both power and volume up buttons and releasing the power button while still holding the volume button up when the screen turns on.)
AceIn said:
[1] There is this program called mobile upgrade q that you can get from the Alcatell website. Get mobile upgrade q version 5.0.9.
[2] Run that program and follow its instructions, You WILL loose all your apps and internal storage data (data not on your sd card) in the process.
[3] I guess once your phone boots up it will be on stock 5.0.2, I think you can just update from here normally ... but what I did was sideload using adb (look it up it is a downloadable program and also something that come within the stock recovery of the phone which you get to by shutting down your phone holding down both power and volume up buttons and releasing the power button while still holding the volume button up when the screen turns on.)
Click to expand...
Click to collapse
I got all that, how do I capture the OTA file before it deletes itself so I can sideload it?
Download it from the idol 3 Reddit, someone uploaded their's.
Or after you download the update you need to unlock the bootloader with fastboot commands, boot into twrp, and copy the update.zip elsewhere.
this is where the update will be /data/data/com.tcl.fota/.fotadownload/update.zip ... but you can only really access those folders through TWRP
AceIn said:
Download it from the idol 3 Reddit, someone uploaded their's.
Or after you download the update you need to unlock the bootloader with fastboot commands, boot into twrp, and copy the update.zip elsewhere.
this is where the update will be /data/data/com.tcl.fota/.fotadownload/update.zip ... but you can only really access those folders through TWRP
Click to expand...
Click to collapse
Thanks, it worked!

Stuck on Sony's logo after trying to root and install LineageOS

Hey,
I have used Sony Developer's documentations in order to unlock my bootloader, then upgraded it with Emma.
Also, I have installed TWRP using fastboot and also tried to install LineageOS.
But, every time I try to turn on the device, it is stuck on Sony's logo and gets warmer with time.
TWRP, fastboot mode and flash mode are accessible.
What can I do?
Thanks!
(D6603)
iTayGNR said:
Hey,
I have used Sony Developer's documentations in order to unlock my bootloader, then upgraded it with Emma.
Also, I have installed TWRP using fastboot and also tried to install LineageOS.
But, every time I try to turn on the device, it is stuck on Sony's logo and gets warmer with time.
TWRP, fastboot mode and flash mode are accessible.
What can I do?
Thanks!
(D6603)
Click to expand...
Click to collapse
How did you tried to install LineageOS? If you want to go back to stock rom use Emma to flash stock.291
Remember that after flashing TWRP you need to enter recovery by pressing power+volume up and then wipe system/data/cache partitions before flashing LineageOS zip
xkeita said:
How did you tried to install LineageOS? If you want to go back to stock rom use Emma to flash stock.291
Remember that after flashing TWRP you need to enter recovery by pressing power+volume up and then wipe system/data/cache partitions before flashing LineageOS zip
Click to expand...
Click to collapse
I have just flashed the stock rom with Emma.
What do you now? What to install in what order?
what I did previously was to use fastboot to flash TWRP and then flash lineageOS through the device itself (using TWRP). But it says the file is corrupted, although i tried 2 different zip files (both for the z3 of course) but both are corrupted.
thanks!
iTayGNR said:
I have just flashed the stock rom with Emma.
What do you now? What to install in what order?
what I did previously was to use fastboot to flash TWRP and then flash lineageOS through the device itself (using TWRP). But it says the file is corrupted, although i tried 2 different zip files (both for the z3 of course) but both are corrupted.
thanks!
Click to expand...
Click to collapse
Nice! Now you can follow Instructions from the How to install section in https://forum.xda-developers.com/z3/orig-development/7-1-cyanogenmod-t3508140 you can skip point 1 and start from 2.
Be sure that your bootloader is still in unlocked status before, otherwise you can unlock it again with flashtool. Otherwise rom won't boot. That's all, good luck
xkeita said:
Nice! Now you can follow Instructions from the How to install section in https://forum.xda-developers.com/z3/orig-development/7-1-cyanogenmod-t3508140 you can skip point 1 and start from 2.
Be sure that your bootloader is still in unlocked status before, otherwise you can unlock it again with flashtool. Otherwise rom won't boot. That's all, good luck
Click to expand...
Click to collapse
Should I use fastboot in order to flash TWRP?
and, why do I need flashtool? do you have a tutorial?
thank you so much!
This is the TWRP log when trying to install LineageOS:
Installing zip file '/external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Check for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file /external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Updating partition details...
...done
(bold = red letters_
What have I done wrong?
iTayGNR said:
This is the TWRP log when trying to install LineageOS:
Installing zip file '/external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Check for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file /external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Updating partition details...
...done
(bold = red letters_
What have I done wrong?
Click to expand...
Click to collapse
It is probably the zip file itself which is (like TWRP states) corrupted.
Try to redownload the zip from the LOS thread and flash it, guess something went wrong with your first download and/or transfer of the zip to your SD.

Categories

Resources