Error while updating to Android 6.0 - One (M8) Q&A, Help & Troubleshooting

Dear all,
My HTC One M8S from T-Mobile gives an error when trying to update to Android 6.0. The phone is currently at version 5.0.2, and completely stock.
I am trying to install the OTA update, but get the following error:
--
system partition has unexpected contents
E:Error in @/cache/recovery/block.map
(Status 7)
Installation aborted.
--
I wiped data and cache, and did a factory reset.
Moreover, in accordance to HTC's suggestion I removed the data for Configupdater and Google Services Framework.
This does not resolve the issue.
I have put the OTA downloaded zip, named OTA_M8_QL_UL_L50_SENSE60_TMO_NL_1.21.114.1-1.10.114.11_release_472459l24j5h7g40lc8ekp.zip, on an sd card and tried to apply from sd card, but I get the following error:
E: Find no match PARTITION: for package path /sdcard/ptt.zip
E: unknown volume for path [ ]
E: Can't mount
E: failed to open last_install: No such file or directory
Finding update package...
Opening update package...
E: failed to map file
I have found some info with regard to using fastboot or adb to apply the update, but before potentially bricking my phone I wanted to ask whether there isn't anything I am missing here.
Since everything is completely stock, I was hoping there would be a trivial solution I am overlooking.
Any help is much appreciated.

FYI, the OTA you've posted is Lollipop.

Related

G2 Hangs at HTC Screen - Running out of ideas

I just picked this phone up off of craigslist, so I'm not sure what's been done to it previously. . It worked fine for about a half hour and then I began installing my apps onto it and at a certain point it locked up.I have a technical background, but I haven't messed with phones all that much so please forgive my noobishness.
I pulled the battery and rebooted and it just hangs at the white htc screen. I'm able to get into the bootloader and this is what I see...
VISION PVT ENG S-ON
HBOOT-0.84.0008
MICROP-0425
RADIO-26.13.04.19_M2
eMMC-boot
April 13 2011, 14:51:54
I've gone into recovery mode and I see these messages in yellow at the bottom of the screen...
E:Can't mount /cache/recovery/command
E:set_bootloader_message_block: emmc_read_data fail!
E:Can't mount /data/data/recovery/log
E:Can't open data/data/recovery/log
E:set_bootloader_message_block: emmc_read_data fail
-Wiping the cache seems to complete successfully and the same error messages above are displayed. Reboot hangs at white screen.
-Performing a Factory Reset /data and /cache seem to format correctly, I recieve a Data wipe complete message followed by the same messages above, I reboot and I'm sitting at the white htc screen.
-I've tried using several different PC10img.zip files and they all display 'main version is older update fail'. So no luck there.
- I've tried the manual OTA update by renaming f4d11a64d2df.OTA_Vision_Gingerbread_S_TMOUS_2.15.531.3-1.22.531.8_release_197463.zip to update.zip and placing it on the sdcard. I recieve these messages during the update process...
-- install /sdcard...
E:set_bootloader_message_block: emmc_read_data fail
Finding update package...
Opening update package...
verifiying update package...
file_getprop: failed to start "/system/build.prop: No such file or directory
E:Error in /tmp/sideload/package.zip
(status 7)
Installation aborted.
E:Can't mount /data/data/recovery/HTCFOTA/update_result.log
E:Can't mount /data/data/recovery/log
E:Can't open data/data/recovery/log
E:set_bootloader_message_block: emmc_read_data fail
-I've installed the android sdk and usb drivers and I am able to see the device from fastboot, but I'm not sure what I should be doing next.
Any help would be greatly appreciated.
Emmc read failure messages usually mean the internal memory (rom space) is corrupt. I would get my money back if i were you.
Sent via carrier pigeon
I've tried contacting the kid with no luck, am I stuck with a brick or can I configure my phone to use the sdcard as the emmc similar to the guy in this thread..
http://forum.xda-developers.com/showthread.php?t=1448441
But I don't have root or clockworksmod on mine, is it still possible?

[Q] ApplicationsProvider.apk doesn't have any of expected sha1 sums

I am currently running 4.1.1 takju and I can't update to 4.1.2 and therefore can't update to 4.2 (via OTA).
I tried to do it manually by copying the file to /sdcard but I still get checksum errors.
I thought that I was on stock 4.1.1 so I can't see how this file fails the checksums.
Can I download and replace ApplicationsProvider.apk with the correct checksum from somewhere?
This is the end of the recovery log.
Code:
-- Installing: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
Finding update package...
I:Update location: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
I:using /data/media, no /sdcard found.
Opening update package...
Installing update...
installing samsung updater extensions
mount: failed to mount /dev/block/platform/omap/omap_hsmmc.0/by-name/system at /system: Device or resource busy
Verifying current system...file "/system/app/ApplicationsProvider.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
E:Error in /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
(Status 7)
Installation aborted.
Got exactly same here.
If you still care, here is how I fixed the problem.
1. Download firmware image: https://developers.google.com/android/nexus/images
2. Follow HOW-TO: Return to stock for ALL Galaxy Nexus phones except step D.10
I was hoping to avoid flashing and just replace the single file and do an OTA update.
I extracted the factory image with 7-Zip and thought I could extract the relevant apk from system.img.
Unfortunately unyaffs kept failing with a stack dump.
Looks like it is backup and reload now

[Q] Different failed OTA update to 4.4

Last night I got the notification for 4.4 update. I'm on a rooted stock device, Build JSS15R Kernel 3.4.0-ge52a21
I hit ok to reboot and install. It booted and I saw the green android. I then left the room (mistake), and when I came back it was on the main screen.
I checked and I was on 4.3 still. Is there anyway to check to see why it failed? Any log files? Will I get the OTA again?
I don't really want to sideload but if last resort I will.
Any ideas?
Check the cache folder whether the downloaded files are there,,
Sent from my Nexus 7 using xda app-developers app
---------- Post added at 07:04 PM ---------- Previous post was at 07:03 PM ----------
Also it's not safe to do an OTA on a rooted device...
Sent from my Nexus 7 using xda app-developers app
this is exactly happened to me too,
so if my device rooted, i have to do safeload instead of OTA ?
That's stange, as every previous update i've had on both my Nexus 7's have been done on a rooted device.
Obviously you lose the root by doing the update, but just re-root afterwards.
In the cache folder there is a .zip file called. 'Longrandonstringofchars'+.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
???
filking said:
I checked and I was on 4.3 still. Is there anyway to check to see why it failed? Any log files? Will I get the OTA again?
I don't really want to sideload but if last resort I will.
Click to expand...
Click to collapse
Somewhere in /cache there is a recovery.log file
If you are not on the latest version you'll get the OTA again eventually.
Sideloading is really the same type of install as OTA. The difference mainly being whether it is automatically downloaded or you download by hand and send over a USB connection. The actually install file is the same in either case.
Thanks... I knew it was the same but I had a problem doing the same with an old nexus 2012 and the cable 'slipped' and bricked it.
So, to save risks, i'll wait for the OTA.... Not in a hurry, just curious why it didn't install 1st time.
I'll look at the recovery.log file and see what I find.
Ok, Below is the end of the recovery.log.
Seems like an error in the downloaded file, but I may be wrong.
Finding update package...
I:Update location: /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
Opening update package...
I:read key e=65537
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1370 bytes; signature 1352 bytes from end
I:whole-file signature verified against key 0
I:verify_file returned 0
Installing update...
Verifying current system...
file "/system/bin/debuggerd" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/bin/debuggerd" has unexpected contents.
"/system/bin/debuggerd" has unexpected contents.
E:Error in /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
(Status 7)
Installation aborted.
I:Saving locale "en_GB"
I:timed out waiting for key input; rebooting.
I:Saving locale "en_GB"
Any ideas?
filking said:
Ok, Below is the end of the recovery.log.
Seems like an error in the downloaded file, but I may be wrong.
Finding update package...
I:Update location: /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
Opening update package...
I:read key e=65537
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1370 bytes; signature 1352 bytes from end
I:whole-file signature verified against key 0
I:verify_file returned 0
Installing update...
Verifying current system...
file "/system/bin/debuggerd" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/bin/debuggerd" has unexpected contents.
"/system/bin/debuggerd" has unexpected contents.
E:Error in /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
(Status 7)
Installation aborted.
I:Saving locale "en_GB"
I:timed out waiting for key input; rebooting.
I:Saving locale "en_GB"
Any ideas?
Click to expand...
Click to collapse
To me, it looks like a corrupted download. Maybe you can try deleting the file and reboot?
Sent from my Nexus 4 using Tapatalk
I thought that as well.. So I copied the .zip file and deleted it.
Rebooting..... I will report back..
filking said:
Ok, Below is the end of the recovery.log.
Seems like an error in the downloaded file, but I may be wrong.
...
Any ideas?
Click to expand...
Click to collapse
The downloaded file is fine.
Your /system/bin/debuggerd is modified.
You most likely are rooted and using stickmount.
You can grab the appropriate debuggerd from this thread in the download section:
http://forum.xda-developers.com/showthread.php?t=2534698
look for update-KRT16S-debuggerd.zip
You can run it in TWRP or unzip and place debuggerd in /system/bin
Cheers for that.
I've now copied the downloaded 'buggerd' file (appropriate name btw) over and put the OTA .zip file back into cache.
Is there anyway I can execute that now, or do I have to wait for a new download.
filking said:
Cheers for that.
I've now copied the downloaded 'buggerd' file (appropriate name btw) over and put the OTA .zip file back into cache.
Is there anyway I can execute that now, or do I have to wait for a new download.
Click to expand...
Click to collapse
I assume you are unlocked?
Download latest twrp 2.6.3.1, unzip, rename as twrp.img, place in platform-tools
Boot into boot loader
In command prompt in your platform-tools directory type
fast boot boot twrp.img
Choose install and select the ota update.zip in the file browser
Or you can skip all that and wait for it to naturally happen.
Question for you. Downloaded the TWRP 2.6.3.1 which arrived as openrecovery-twrp-2.6.3.1-flo.img
You then say unzip. Confused at that point. Using all zip programs says no files. Was that put in to test me?
I had the exact same issue, please update with what you find out.
filking said:
Question for you. Downloaded the TWRP 2.6.3.1 which arrived as openrecovery-twrp-2.6.3.1-flo.img
You then say unzip. Confused at that point. Using all zip programs says no files. Was that put in to test me?
Click to expand...
Click to collapse
Sorry, I usually zip it up. Just rename it twrp.img so it is easier to type.
Ok, So I followed the directions..
Selected Install, then selected the downloaded .zip OTA file.
Messages on screen as follows :-
Skipping MD5 check
Verifying current System...
"/system/framework/core.odex" had unexpected content.
E:Error executing updater binary in zip ".... (ota file)"
updating partition details.
Then I reboot and tablet back to normal..
Help please
*UPDATE*
As I rebooted, I got a system message saying a new OTA is available. (spooky)
I selected install.
Got the green android and then he fell over error.
Checked the cache log and got same error really.
failed to stat "/cache/saved.file"
failed to load cache file
script aborted:" /system/framework/core.odex" has unexpected contents
E:Error in /cache/"otafile.zip"
(status 7)
installation aborted.
:crying:
sfhub said:
Sorry, I usually zip it up. Just rename it twrp.img so it is easier to type.
Click to expand...
Click to collapse
No worries, I guessed as much.
The update for 4.4 finally popped up on my notification bar as well and I went straight ahead to install it, hit reboot and install, it started the installation. I'm on stock with unlocked bootloader&rooted
Suddenly a sad looking dead android pops up with an "Error!" message. Waited a while and the device rebooted and it's still on 4.3, and I've lost the system update notification & in the settings it says I'm up to date :L
And I had this at the end of my recovery log file...
Finding update package...
I:Update location: /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
Opening update package...
I:read key e=65537
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1370 bytes; signature 1352 bytes from end
I:whole-file signature verified against key 0
I:verify_file returned 0
Installing update...
Verifying current system...
failed to stat "/system/app/Chrome.apk": No such file or directory
file "/system/app/Chrome.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/app/Chrome.apk" has unexpected contents.
"/system/app/Chrome.apk" has unexpected contents.
E:Error in /cache/7d9b309e11da82edb5373a1f59965bca89f6041f.signed-razor-KRT16S-from-JSS15R.7d9b309e.zip
(Status 7)
Installation aborted.
I:Saving locale "en_US"
I:timed out waiting for key input; rebooting.
I:Saving locale "en_US"
..does this mean I need to get all the crappy system apps I've deleted back in there in order to make the update succeed? Also any idea how to get the update notification back so it could even try running it again? Thanks in advance!
filking said:
Ok, So I followed the directions..
Selected Install, then selected the downloaded .zip OTA file.
Messages on screen as follows :-
Skipping MD5 check
Verifying current System...
"/system/framework/core.odex" had unexpected content.
E:Error executing updater binary in zip ".... (ota file)"
updating partition details.
Then I reboot and tablet back to normal..
Help please
*UPDATE*
As I rebooted, I got a system message saying a new OTA is available. (spooky)
I selected install.
Got the green android and then he fell over error.
Checked the cache log and got same error really.
failed to stat "/cache/saved.file"
failed to load cache file
script aborted:" /system/framework/core.odex" has unexpected contents
E:Error in /cache/"otafile.zip"
(status 7)
installation aborted.
:crying:
Click to expand...
Click to collapse
So you've fixed one problem file (debuggerd) only to notice another file has been modified core.odex.
At this point I would suggest you just flash the factory image. We can go on replacing files one by one, but chances are you modified more than one file either directly or indirectly by flashing something on top for some tweak.
There are instructions and download link for the KRT16S factory image here (choose the nowipe option to keep your data):
http://forum.xda-developers.com/showthread.php?p=47640458#post47640458
---------- Post added at 06:53 PM ---------- Previous post was at 06:51 PM ----------
Zamuzzzz said:
..does this mean I need to get all the crappy system apps I've deleted back in there in order to make the update succeed? Also any idea how to get the update notification back so it could even try running it again? Thanks in advance!
Click to expand...
Click to collapse
If you've deleted a bunch of system apps, best you just flash the factory image, instructions and download here (choose the nowipe option to keep your data):
http://forum.xda-developers.com/showthread.php?p=47640458#post47640458
In the future, instead of deleting system apps, it is better to freeze the system apps if you want to receive future OTAs.
Thanks for reply. It's totally weird tho, as the only thing I've done is use the nexus root toolkit to unlock and root my device.
Apart from that, only added a few other apps like stickmount that may affect things.
The 4.3 update went fine. So it doesn't make sense, but I will now follow the instructions to do it manually.
Cheers for the help.

Phone dead ?!

Hi there,
I've installed couple of time a new ROM due to different errors of configurations.
And the end of the day, I wanted to retrieve my previous version thanks to my backup, and here arrived my issue...
I cannot install the backup or any ROM. No error message
But when I wipe I got this:
Code:
Updating partition details...
E: error opening '/data/data/com.samsung.sharehot'
E: error: too many open files
E: error opening '/data/data/com.samsung.sharehot'
E: error: too many open files
Someone can help me with this strange issue ?!
Thanks a lot
Nicolas
[EDIT]: Solved by formatting the phone thanks TWRP option

HTC One M8. Is it possible to update to Marshmallow?

Hello i currently have HTC One M8, Software Version: 4.18.720.8 & Android Version: 5.0.1
I have OTA_M8_UHL_L50_SENSE60_MR_hTC_Asia_India_4.18.720.10-4.18.720.8_release_449296.zip but when i try to install this update from recovery by using "Apply from phone storage".
I kept that file in internal storage as well as tried to rename it to update.zip but error keeps showing:
Code:
E: Find no match PARTITION: for package path /data/medai/0/pt.zip
E: unknown volume for path []
E: Can't mount
E: failed to open last_install: No such file or directory
Finding update package...
Opening update package...
E: failed to map file

Categories

Resources