[Q] problem with update from HTC(1.40.401.8) - rooted device - One (M9) Q&A, Help & Troubleshooting

Hi. After I have rooted my phone, there is a problem with update from HTC. I receive the update (1.40.401.8) over air and download it, but it stops at team win recovery project (2.8.6.0) after reboot. Anyone with same problem ?
Please help...

olesol70 said:
Hi. After I have rooted my phone, there is a problem with update from HTC. I receive the update (1.40.401.8) over air and download it, but it stops at team win recovery project (2.8.6.0) after reboot. Anyone with same problem ?
Please help...
Click to expand...
Click to collapse
Dude....you should really read....
The general thread is full with topics about how to take a ota update when you are rooted.
When you change your system like when rooting and with that a custom recovery you can't just take a ota update!
Guessing you didn't make a system backup before you rooted either? You need this if you want to take a ota.
Now the only way is to restore a ruu or use someone else their system backup.
All of this is mention in the treads where you learn how to root....
Before you try to restore a unmodified system image or ruu .....READ!
You need to use your correct image and ruu. Not any ruu or image will do.!!!
Sent from my HTC One M9 using XDA Free mobile app

Hi
Not sure if I understand what you mean, but my phone works just fine. I just have to reboot after "no go" with teamwin.
What you are saying, is that it is not possible to install updates om my phone ?
Ole
dannylow79 said:
Dude....you should really read....
The general thread is full with topics about how to take a ota update when you are rooted.
When you change your system like when rooting and with that a custom recovery you can't just take a ota update!
Guessing you didn't make a system backup before you rooted either? You need this if you want to take a ota.
Now the only way is to restore a ruu or use someone else their system backup.
All of this is mention in the treads where you learn how to root....
Before you try to restore a unmodified system image or ruu .....READ!
You need to use your correct image and ruu. Not any ruu or image will do.!!!
Sent from my HTC One M9 using XDA Free mobile app
Click to expand...
Click to collapse

If you want to take ota updates then you need to run a RUU for your device to put it back to stock then OTA updates will work.
You can not flash/install a OTA update with a custom recovery (TWRP)
Sent from my HTC One M9 using Tapatalk

You have to be 100% stock to take an OTA. It's a security feature to prevent bricks. Even having /system mounted r/w will cause an OTA to fail.
Taking OTAs when rooted is generally a bad idea anyway. I have seen people brick their phones in the past doing it, though they are so locked down now that I doubt it's possible on this phone.

Let me see if I understand...
-U bought a m9
-unlocked your boot loader.
-installed TWRP
-rooted your m9
-u got a message to install the update 1.40
-now u are stuck at TWRP?
If this is the case, you can't install the update correctly because your device is not stock.
By stock I mean:
- non rooted
- stock recovery
- stock unmodified system.
Without being stock your update will fail.
If I didn't understand correctly, please explain.
Sent from my HTC One M9 using XDA Free mobile app

Hi, that is correct, but I manage to reboot the phone and it works just fine. I only want the lates battery and camera improvements. I have tried this:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware_M9.zip
target reported max download size of 800000000 bytes
sending 'zip' (111548 KB)...
OKAY [ 6.404s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 10.530s

You have to be s-off to flash an unsigned firmware package.

olesol70 said:
Hi, that is correct, but I manage to reboot the phone and it works just fine. I only want the lates battery and camera improvements. I have tried this:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware_M9.zip
target reported max download size of 800000000 bytes
sending 'zip' (111548 KB)...
OKAY [ 6.404s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 10.530s
Click to expand...
Click to collapse
http://forum.xda-developers.com/one-m9/general/best-unlocking-bootloader-rooting-guide-t3087354
Read from step 5....( better read it all ?)
You'll be OK.
Sent from my HTC One M9 using XDA Free mobile app

Thanks guys. It worked!!
What i did was S-off with sundhine.
Second I followed a guide on naldotech dot com how-to-flash-ruu-firmware-htc-one-m9
All perfect now. I also now will remember to backup when I root.
Have a nice weekend.

olesol70 said:
Thanks guys. It worked!!
What i did was S-off with sundhine.
Second I followed a guide on naldotech dot com how-to-flash-ruu-firmware-htc-one-m9
All perfect now. I also now will remember to backup when I root.
Have a nice weekend.
Click to expand...
Click to collapse
Glad it worked! Have a nice weekend too!
Sent from my HTC One M9 using XDA Free mobile app

Related

[Q] need urgent help,almost bricked htc one m9

i was using htc one m9 factory unlocked,s on and with leedroid custom rom.
i was trying to get back to stock.i found a ruu for my phone.i relocked the bootloader and tried flashing the ruu.
it keeps on giving errors.i am new to all this!i am badly stuck.i would be really grateful if someone can help me up with this asap!
below is the command window data
C:\Users\veena\Desktop\fastboot_adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (67405 KB)...
OKAY [ 5.509s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 9.305s
shrgor26 said:
i was using htc one m9 factory unlocked,s on and with leedroid custom rom.
i was trying to get back to stock.i found a ruu for my phone.i relocked the bootloader and tried flashing the ruu.
it keeps on giving errors.i am new to all this!i am badly stuck.i would be really grateful if someone can help me up with this asap!
below is the command window data
C:\Users\veena\Desktop\fastboot_adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (67405 KB)...
OKAY [ 5.509s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 9.305s
Click to expand...
Click to collapse
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
jollywhitefoot said:
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
Click to expand...
Click to collapse
i am s on
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei: 357227060635511
(bootloader) version-main: 1.32.617.30
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA11000
(bootloader) cid: BS_US001
these are the details.sorry for the incomplete information
jollywhitefoot said:
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
Click to expand...
Click to collapse
0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.30_Radio_01.01_U11440221_62.05.50320G_F_release_427069_signed
i downloaded this.trying to flash this
shrgor26 said:
0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.30_Radio_01.01_U11440221_62.05.50320G_F_release_427069_signed
i downloaded this.trying to flash this
Click to expand...
Click to collapse
Did you rename the file? Because if this is the command you used
Code:
fastboot flash zip firmware.zip
that's your problem. It should be fastboot flash zip [name of the firmware file]
iElvis said:
Did you rename the file? Because if this is the command you used
Code:
fastboot flash zip firmware.zip
that's your problem. It should be fastboot flash zip [name of the firmware file]
Click to expand...
Click to collapse
yes i did rename the file.even after that i am getting the error
shrgor26 said:
yes i did rename the file.even after that i am getting the error
Click to expand...
Click to collapse
Is the file in the same directory as fastboot and adb?
Might also be a bad download. Redownload it and this time use the exact filename. Don't rename it.
iElvis said:
Is the file in the same directory as fastboot and adb?
Click to expand...
Click to collapse
yes i did everything step by step.it i posted the error log above.it ends up with errors
shrgor26 said:
yes i did everything step by step.it i posted the error log above.it ends up with errors
Click to expand...
Click to collapse
Try using htc_fastboot. Sometimes the sdk fastboot can't handle RUUs because they're too big.
http://forum.xda-developers.com/showpost.php?p=60657724&postcount=7
Edit: you need to change the command to htc_fastboot flash zip
iElvis said:
Try using htc_fastboot. Sometimes the sdk fastboot can't handle RUUs because they're too big.
http://forum.xda-developers.com/showpost.php?p=60657724&postcount=7
Edit: you need to change the command to htc_fastboot flash zip
Click to expand...
Click to collapse
thanks a lot..i will try this out.
how do we use htc fastboot?i am sorry if that was a stupid question
can you please tell me the steps how to proceed
thank you
shrgor26 said:
thanks a lot..i will try this out.
how do we use htc fastboot?i am sorry if that was a stupid question
can you please tell me the steps how to proceed
thank you
Click to expand...
Click to collapse
Use it exactly like fastboot. It's the same file, just tweaked by HTC. Commands are all the same except its "htc_fastboot" instead of just "fastboot".
iElvis said:
Use it exactly like fastboot. It's the same file, just tweaked by HTC. Commands are all the same except its "htc_fastboot" instead of just "fastboot".
Click to expand...
Click to collapse
it doesnt work.when i try running the .exe,it sats program cant start because AdbWinApi.dll is missing from your computer.what should i do?
shrgor26 said:
it doesnt work.when i try running the .exe,it sats program cant start because AdbWinApi.dll is missing from your computer.what should i do?
Click to expand...
Click to collapse
yea..finally!!!phew!!thanks a lot guys for such quick and awesome response!really grateful!i thought i almost lost my phone!but thanks a lot!:laugh::laugh:
shrgor26 said:
yea..finally!!!phew!!thanks a lot guys for such quick and awesome response!really grateful!i thought i almost lost my phone!but thanks a lot!:laugh::laugh:
Click to expand...
Click to collapse
Glad you got it working. Sorry I wasn't responsive. For some reason xda isn't sending me emails when I get quoted right now, so I just noticed that you replied to my message.

Final Stock RUU 3.35.617.12 for HTC One M9, need Help

hello,
i found this RUU a few hrs ago and i am not sure it works or not and when yes, OTA upgrades works also or not ??
http://www.androidpolice.com/2015/1...0-1-to-the-unlocked-one-a9-6-0-to-the-one-m9/
i am unlocked and S-Off,
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.35.617.12
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.015s
thx regards
lollopatrollo said:
hello,
i found this RUU a few hrs ago and i am not sure it works or not and when yes, OTA upgrades works also or not ??
http://www.androidpolice.com/2015/1...0-1-to-the-unlocked-one-a9-6-0-to-the-one-m9/
i am unlocked and S-Off,
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.35.617.12
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.015s
thx regards
Click to expand...
Click to collapse
Are you asking a question or what?
Your clearly already on Android 6
Sent from my HTC One M9 using Tapatalk
clsA said:
Are you asking a question or what?
Your clearly already on Android 6
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Op is asking if ota still work with that rom.
yes it is a questiopn, cause my is my system based on non signet RUU firmware. i donmt have a clean RUU and dont get OTA updates. it works very bad and slow + i dont understand really how i can install TWRP on the m9. i found a few options but i need a RUU/OTA to create a bootable 0PJAIMG.zip right ? found something like that in here XDA
"You can make your own zip version. You just need an android-info.txt file from an RUU (or firmware.zip from OTA). Zip it up with the TWRP image (renamed to recovery.img) and place on the root of your FAT32-formatted SD card in download mode."
so all what i m looking for is a fresh clean install, recieve OTA updates and a little stability, thats why i ask. do u know why i dont get OTA updates ? maybe i did a mistake...
thx
shivadow said:
Op is asking if ota still work with that rom.
Click to expand...
Click to collapse
yes, works all good. my problem is still to create a working 0PJAIMG.zip with TWRP without brick the phone. it s not my phone, i flash it for a friend and he want to use viper venom.
is it possible to flash it without TWRP on the phone ? maybe with ADB or something. think get the stock OTA files is not really important for him too..
thnx guys, many hrs no sleep brain burns ^^
regards
lollopatrollo said:
yes, works all good. my problem is still to create a working 0PJAIMG.zip with TWRP without brick the phone. it s not my phone, i flash it for a friend and he want to use viper venom.
is it possible to flash it without TWRP on the phone ? maybe with ADB or something. think get the stock OTA files is not really important for him too..
thnx guys, many hrs no sleep brain burns ^^
regards
Click to expand...
Click to collapse
if you install TWRP and root your phone at all you will not get OTA updates
if you want OTA you cannot install custom recovery and root.
The only way to get OTA is by having untouched system partition and Stock recovery
The links below in my Signature contain all the files and links you need to...
1.convert and update your phone to DevEd Android 6
2.Install TWRP and SuperSU 2.64
3.and the files needed to return to stock later if another OTA is released
Thanks for this! =D just what i needed!!!
Hello, and VERY sorry to cross post, but my phone is unusable and I wasn't getting any response in the T-Mobile section. Here is what I asked:
I have been searching through XDA for a couple of hours now, and now I must post. Sorry if this has been answered and I just couldn't find the right post.
I have been trying to follow instructions to return my T-Mobile HTC One M9 to stock using RUU, but every time I attempt to flash the RUU, I get this:
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 542282368 is not a multiple of the block size 4096
sending sparse 'zip' (781102 KB)...
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
OKAY [ 52.307s]
writing 'zip'...
(bootloader) HOSD CL#505029
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 54.408s
I have re-downloaded, re-flashed firmware, but can't seem to get it to complete. Any help would be most appreciated.
Click to expand...
Click to collapse
its just AT&T or all can flash it?

failed to update marsgmallow OTA

hi
i am asking for your help guys as always
i have htc one m9 original stock rom, , s-on, rooted , CUSTOM TWRP RECOVERY. UNLOCKED BOOT LOADER
and my phone info is as this :
kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: 3572260xxxxxxxx
(bootloader) version-main: 2.10.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: HTC__J15
My problem is: i can't update my m9 to the latest OTA marshmallow
recently, i received an OTA update marshmallow 6 ( part 1/2 )
version of OTA received is 2.10.401.108
to flash a stock recovery, i extracted the OTA zip file, and extracted its content firmware.zip to get the stock recovery, i fount 2 recoveies, 1) recovery.img 2 ) recovery_signed.img.
is this the right way to have the correct stock recovery ?
anyway, i flashed these 2 recoveries in order to update the new OTA, but no one succeeded, and i got this message on download mode ( attached pic )
is the problem because of incorrect stock recovery ?
how do i get a proper one ?
i tried also this
https://docs.google.com/spreadsheets/d/1ZaiJ3F_f76sVa4daU5H62OYi5Bj23LEBBv4xDTQ8y-M/pubhtml
but didn't know which one to take exactly.
also, i tried to give it another shot, i renamed the OTA fzip file to 0PJAIMG.ZIP
and copied this file on both ext_sd & internal sd
but no luck.
please help
The problem is that your system partition is modified because you add su and related files for rooting. You must have an untouched system partition and restored in read only mode to prevent any modifications.
So you need to flash twrp again, restore an original untouched system partition, flash stock recovery and apply OTA.
Yea what he said.. System must be as stock and completely untouched. All evidence of root must be undone to get OTA.
Sent from my HTC One M9 using Tapatalk
i see
so i have to unroot first ?
how do i restore an original untouched system partition, if i didn't backup my system !!
hello
Check flippys Google sheet in his thread.
A donated clean image may be there for your SKU and device version...
If not....you may need to RUU back to complete stock and take the OTA that way...g
+1, The only way if you haven't a clean system image ( take a time to read the post2 of Twrp thread) is to flash a Ruu.
It's a "new" Google limitation...
To flash the stock recovery you just need to get the stock recovery for 2.10.401.1 , flash like any other recovery, so with the command fastboot flash recovery *name of recovery*.img in download mode. It should work fine, but do that after you got complete stock system back up which is untouched. Just wipe system and restore the untouched, flash in download mode the stock recovery and you should be good to go
Gesendet von meinem HTC One M9 mit Tapatalk
i found this
http://www.htc.com/us/support/htc-one-m9/news/
if i downloaded this RUU, will it work on my device ? or it is only for USA ?
instead of downloading old RUU, then update to android 6, this will do the thing right ?
can anyone help me pls ?
also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA
also, found this
http://forum.xda-developers.com/one...-1-40-401-5-android-5-0-t3122946/post61540143
i don't know which one to install !
as there is 3 MD5 files.
please help i am getting too much confused.
osamaxosama said:
also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA
Click to expand...
Click to collapse
there is no latest RUU for 2.10.401.1
DeeZZ_NuuZZ said:
there is no latest RUU for 2.10.401.1
Click to expand...
Click to collapse
Actually there is one. But there are no Android M RUUs, yet.
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
totally forgot that there are new zips not .exe ;D
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
thanks
i will download that zip file
and try to flash it
hima ul ruu to hima uhl
is there anyway i can make the hima ul ruu to run on a hima uhl? thanks in advance
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 10.342s
osamaxosama said:
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 10.342s
Click to expand...
Click to collapse
at first be on complete stock rom, i mean stock recovery and system img is restored to stock one from twrp with backup.
then you need to use the exact naming of the zip...like i said everything else have to be on stock settings... no custom recovery, no custom kernel yea everything else stock
I find myself in the same situation and followed all the steps described here...
The results are either Status 7 or Remote 14 or Remote 9
I had a original backup of the system img, restored via twrp, then flashed a signed stock recovery (S-ON), ensured i'm not rooted or modified. The result is always the same...
Maybe i am doing something wrong ?
LE: Managed to get a non corrupted archive (that was causing remote 14 or 9), now i get remote 99 all the time, no matter what i try

Confused on the upgrade process

Hey everyone,
Its been a long time since I updated my phone.
Here's my configuration:
HTC One M8
Android Version: 4.4.4
HTC Sense version: 6.0
Unlocked, M8_UL, S-On
HBOOT: 3.16.0.0000
Radio: 1.15.2133156.UA13G
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__001
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
Now I tried to turn to convert to S-OFF using Sunshine but it comes up with this: Debug Kernel/Ramdisk - Your device has a debuggable ramdisk. You need to flash a non-debuggable boot.img
I want to go back to the hassle free official Android version provided by HTC. I have tried to look for a up to date guide, however the download links are dead.
Can someone point me in the right step? It'll be much appreciated.
Thank you
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
ahmed.ismael said:
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Click to expand...
Click to collapse
Thank you Ahmed I will follow that post and will let you know it goes.
ahmed.ismael said:
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Click to expand...
Click to collapse
So I reached the following step:
htc_fastboot flash zip RUU.zip (to install RUU)
And heres what happened.
C:\Users\User\Desktop\HTC One M8\RUU>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>htc_fastboot flash zip RUU.zip
sending 'zip'... (53965 KB) OKAY
sending time = 2.927 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 4(s)
SamungGalaxyS2 said:
So I reached the following step:
htc_fastboot flash zip RUU.zip (to install RUU)
And heres what happened.
C:\Users\User\Desktop\HTC One M8\RUU>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>htc_fastboot flash zip RUU.zip
sending 'zip'... (53965 KB) OKAY
sending time = 2.927 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 4(s)
Click to expand...
Click to collapse
did you relocked the bootloader ??
if yes try another method to flash and check the md5 for the RUU.zip
this is the easiest method to flash a signed RUU.zip https://forum.xda-developers.com/showpost.php?p=67307303&postcount=1748
ahmed.ismael said:
did you relocked the bootloader ??
if yes try another method to flash and check the md5 for the RUU.zip
this is the easiest method to flash a signed RUU.zip https://forum.xda-developers.com/showpost.php?p=67307303&postcount=1748
Click to expand...
Click to collapse
The bootloader is currently unlocked (it says ** UNLOCKED ** in purple).
I just tried to open the ZIP file, in Windows, and it says cannot be opened, so I do think it was corrupt somehow. I am going to download it again and see if it does it again.
If it doesn't work again, I will try your other method.
Thank you buddy.
SamungGalaxyS2 said:
The bootloader is currently unlocked (it says ** UNLOCKED ** in purple).
I just tried to open the ZIP file, in Windows, and it says cannot be opened, so I do think it was corrupt somehow. I am going to download it again and see if it does it again.
If it doesn't work again, I will try your other method.
Thank you buddy.
Click to expand...
Click to collapse
no you can't open the .zip it's signed with htc keys and you can't open it by normal apps
now relock the bootloader as the guide said in the linked post above
it should be relocked to flash a signed RUU.zip on s-on device
no need to download again
ahmed.ismael said:
no you can't open the .zip it's signed with htc keys and you can't open it by normal apps
now relock the bootloader as the guide said in the linked post above
it should be relocked to flash a signed RUU.zip on s-on device
no need to download again
Click to expand...
Click to collapse
You are a star. Thank you so much mate. Just rebooting right now, with the "Android is starting"
SamungGalaxyS2 said:
You are a star. Thank you so much mate. Just rebooting right now, with the "Android is starting"
Click to expand...
Click to collapse
Glad i helped
Enjoy
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Glad i helped
Enjoy
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
WORKS

Loading Stock RUU Failed and now stuck on install screen

Hi,
I had tried rooting my At&T HTC One M9 using the NOOB friendly guide written by KingInTheNorth. After completing, my phone wouldn't boot up. It got into a bootloop. I then found a guide (from another website) on how to reload the stock RUU. I followed the direction but it looks as if the file was bad. The following is copied from the command prompt.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip C:/Use
Downloads/M9fullstock.zip
target reported max download size of 800000000 bytes
sending 'zip' (79642 KB)...
OKAY [ 5.185s]
writing 'zip'...
(bootloader) HOSD CL#682052
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14 RU_ZIP_INFO_ERROR android-info missing or malformed )
finished. total time: 8.400s
Now my phone is stuck on the screen that shows a phone with a green arrow in a green circle pointing down. I've tried rebooting but it doesn't respond to any button presses. Did I ruin my phone? Can anyone help?
Try to type fastboot reboot in your command prompt. It should reboot your phone. If you're lucky it will reboot your phone normally and it's fully functional. If not, your phone will boot into bootloader which will mean your rom is wiped.
That's not a RUU that you were trying to flash and the guide written by KingInTheNorth is outdated since different firmware versions of the M9 can only get rooted with different versions of SuperSU. Check the ReadMe thread for the guides and files you may need.
@Suurbier91: Never recommend people to reboot if a flash failed unless they know exactly what's going on. There are some flashing errors that can only get fixed if the phone gets flashed immediately, again. A reboot makes those bricks permanent and unrecoverable.
Thanks for the direct to the Read Me. I've found a lot of good information there. After my battery died, I charged the phone and it's coming back on. It still has a boot loop that lasts for between five to ten minutes before booting up. I am going to try following one of the threads I found on here to get back to stock. Hopefully that will take care of the boot loop issue. I was wanted to root it so I could upgrade to Nougat. The phone was originally AT&T but I paid to unlock it and I'm now on Cricket but I don't receive any OTA updates.
That's probably so because the phone is only sim unlocked but still using the AT&T firmware. Don't ask me why they're allowed to do so (it wouldn't be possible in the EU) but AT&T won't let you download OTAs if there isn't an AT&T sim card inserted into your phone.
If you don't need the AT&T branded firmware then I'd get S-OFF and convert my phone to the dev edition if I were you. If you choose to stay on the AT&T firmware then you can update your phone via a RUU. Be aware that it's not possible to update from firmware 3.x or lower to firmware 4.x via RUUs due to new encryption keys.
Sent from my HTC One M9 using XDA Labs

Categories

Resources