Related
Hi I need some help returning to stock with a RUU.
My phone is currently S-off, rooted, twrp and supercid. I am trying to return to stock (keeping s-off and supercid). From reading posts it seemed like a simple task but I cant get it to work. I have tried two different RUU's. I have tried putting a RUU on my extsd and renamed it to 0PJAIMG.zip but nothing happens in download and it actually says SD NOT MOUNTED down the bottom left.
The other method I have tried is through ADB using these commands.
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.ZIP
fastboot oem rebootRUU puts it into a screen with the htc logo
fastboot flash zip 0PJAIMG.ZIP gives me the following message
C:\platform-toolsM9>fastboot flash zip 0PJAIMG.ZIP
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (96760 KB)...
OKAY [ 7.557s]
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) 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.673s
Does anyone have any ideas?
Ok I used htc_fastboot and that has worked.
Stock RUU
Hi, I recently unlocked the bootloader and installed TWRP. Since then I have done a backup and installed Android Revolution rom. No my phone continuously turns off and restarts.
I really want to return to stock but can only find limited information. I have a TWRP backup of the stock ROM but when I try to flash it in recovery I get "cannot restore system--mounted read only" Apparently the backup has to be flashed with fastboot however the instructions are a bit dodgy at the android soul
I have the backup copied onto C drive yet it's not in "system.emmc.win format" its " 2015-06-09--04-46-13_LRX22G_release-keys". This folder of course has a few files in it, such as
boot.emmc.win
boot.emmc.win.md5
data.ext4.win000
system.ext4.win000
system.ext4.winooo.md5
I tried looking for the right RUU but couldn't find any for Australia let alone Vodafone Australia. Can I use the UK one?
If anyone has any ideas or advice I'd be most grateful.
I'm really disappointed in how difficult this phone is to root/unlock and restore. I hate it. I hate HTC.
There's one for vodafone australia on Androidruu it's 1.32.710.16. It's actually really easy to return to stock once you know how. Have a look in other threads and use the sd card method. Just make sure its formatted the correct way.
Soopajoosee said:
Hi, I recently unlocked the bootloader and installed TWRP. Since then I have done a backup and installed Android Revolution rom. No my phone continuously turns off and restarts.
If anyone has any ideas or advice I'd be most grateful.
I'm really disappointed in how difficult this phone is to root/unlock and restore. I hate it. I hate HTC.
Click to expand...
Click to collapse
Please don't blame HTC for your failure to read. You're describing a well-known conflict that results from running a 1.40 Rom on top of 1.32 firmware. There is a simple solution: Flash a 1.32 kernel or update your firmware.
And I don't understand your complaints about this being a difficult phone to mod. Compared to anything but a Nexus, it's a piece of cake.
iElvis said:
Please don't blame HTC for your failure to read. You're describing a well-known conflict that results from running a 1.40 Rom on top of 1.32 firmware. There is a simple solution: Flash a 1.32 kernel or update your firmware.
And I don't understand your complaints about this being a difficult phone to mod. Compared to anything but a Nexus, it's a piece of cake.
Click to expand...
Click to collapse
Thanks for your help not....I don't understand why you're a condescending prick. Don't worry, I flashed another rom and all is good. Personally I found the galaxy S2 and S4 a lot easier than this. I thought this was a forum for help....if this is your idea of help, don't bother in future.
Soopajoosee said:
Thanks for your help not....I don't understand why you're a condescending prick. Don't worry, I flashed another rom and all is good. Personally I found the galaxy S2 and S4 a lot easier than this. I thought this was a forum for help....if this is your idea of help, don't bother in future.
Click to expand...
Click to collapse
There's no need for the name calling. He was trying to help even though it could of been more eloquently put.
Sent from my 0PJA10 using Tapatalk
matust said:
There's no need for the name calling. He was trying to help even though it could of been more eloquently put.
Click to expand...
Click to collapse
Well, I was a condescending prick, but this is also a common problem. If you try to run the latest ARHD over 1.32 firmware, you will get random reboots because there is a conflict between the old firmware and 1.40 kernels.
iElvis said:
Well, I was a condescending prick, but this is also a common problem. If you try to run the latest ARHD over 1.32 firmware, you will get random reboots because there is a conflict between the old firmware and 1.40 kernels.
Click to expand...
Click to collapse
I just don't see a reason for name calling. I didn't read what you wrote as rude. What you were saying is correct even though it could of been put better. XDA isn't a place for name calling.
Sent from my 0PJA10 using Tapatalk
I have exactly the same problem. I can't return stock by putting file 0PJAIMG in the microsd and start in download mode and also I can't flash in fastboot. The messages are the same that report Matust. He said solved using HTC_fast boot but I don't how to use it
Cid and model id are correctly and I tried different ruu
jacopo.kaldewey said:
I have exactly the same problem. I can't return stock by putting file 0PJAIMG in the microsd and start in download mode and also I can't flash in fastboot. The messages are the same that report Matust. He said solved using HTC_fast boot but I don't how to use it
Cid and model id are correctly and I tried different ruu
Click to expand...
Click to collapse
If you use sd card method the card needs to formatted to fat32 and make sure the file name has .zip at the end. If your using the adb method download https://www.androidfilehost.com/?fid=96042739161891970 and put it in your adb folder. Use htc_fastboot as the command instead of fastboot to flash the file.
Sent from my HTC One M9 using Tapatalk
jacopo.kaldewey said:
I have exactly the same problem. I can't return stock by putting file 0PJAIMG in the microsd and start in download mode and also I can't flash in fastboot. The messages are the same that report Matust. He said solved using HTC_fast boot but I don't how to use it
Cid and model id are correctly and I tried different ruu
Click to expand...
Click to collapse
here is a link with a link to the htc_fastboot file. Just download it and place it in the same folder as your regular fastboot file.
http://forum.xda-developers.com/showpost.php?p=60346126&postcount=14
jollywhitefoot said:
here is a link with a link to the htc_fastboot file. Just download it and place it in the same folder as your regular fastboot file.
http://forum.xda-developers.com/showpost.php?p=60346126&postcount=14
Click to expand...
Click to collapse
thank you very much for Your help. I solved this problem and flash the RUU with htc_fastboot, but Sorry now I have a new problem. I made some mistake becouse my M9 now became e developer edition and I dont'know how to come back... also my english is bad and I've difficult to understand the thread that i search. Somebody can Help me to come back from developer edition to Europe edition?
Hey guys, so I tried to flash RUU Firmware on my htc one m9. I downloaded the firmware, minimal adb flashboot, and htc sync manager. Problem is when I open command prompt via minimal adb flashboot and I type 'adb reboot downloader' it says:
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
Am I missing something here? What should I do?
any chance you run a virtual android, genymotion or something of the like? And I would like to think aside from the drivers for HTC, the sync manager is best tucked safely away in the garbage
MrLizm said:
any chance you run a virtual android, genymotion or something of the like? And I would like to think aside from the drivers for HTC, the sync manager is best tucked safely away in the garbage
Click to expand...
Click to collapse
alright now I can get it to works however it says failed at the end.
C:\adb>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
error: device unauthorized. Please check the confirmation dialog on your device.
C:\adb>adb reboot bootloader
C:\adb>fasboot oem rebootRUU
'fasboot' is not recognized as an internal or external command,
operable program or batch file.
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.048s]
finished. total time: 0.048s
C:\adb>fastboot flash zip 0PJAIMG.ZIP
target reported max download size of 800000000 bytes
sending 'zip' (61661 KB)...
OKAY [ 4.842s]
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: 8.598s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\adb>
any idea how to make it successful?
Have to ask, you s-off?
This line makes me wonder,
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
MrLizm said:
Have to ask, you s-off?
This line makes me wonder,
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
Click to expand...
Click to collapse
How do i check it? Sorry I'm totally new in this kind of things
kamocheng said:
How do i check it? Sorry I'm totally new in this kind of things
Click to expand...
Click to collapse
if you boot to bootloader, should be up top there. from a booted phone just 'adb reboot bootloader' if it says s-on thats your problem. My guess is since you do not know your s-on/off you are probably s-on.
kamocheng said:
How do i check it? Sorry I'm totally new in this kind of things
Click to expand...
Click to collapse
No it says:
*** Software status: Modified ***
*** Unlocked ***
*** S-ON ***
so this is your problem, S-ON is the last piece of security for you. Without S-OFF you are unable to flash RUU the way your are attempting.
There is an app, Sunshine. Cost 25$ I am pretty sure and that will get you s-off. or you can wait until your carrier pushes the OTA and do a "Back To Stock" method. Well the app is free, it runs a check and makes sure it can get s-off. then it wants money.
MrLizm said:
so this is your problem, S-ON is the last piece of security for you. Without S-OFF you are unable to flash RUU the way your are attempting.
There is an app, Sunshine. Cost 25$ I am pretty sure and that will get you s-off. or you can wait until your carrier pushes the OTA and do a "Back To Stock" method. Well the app is free, it runs a check and makes sure it can get s-off. then it wants money.
Click to expand...
Click to collapse
Good to know, any idea how to get the app for free? Kinda tight on budget here. Thanks!
kamocheng said:
Good to know, any idea how to get the app for free? Kinda tight on budget here. Thanks!
Click to expand...
Click to collapse
Okay hold on, I remember when I rooted my phone it was S-Off. So to get it back to original factory version I need to S-on it?
kamocheng said:
Okay hold on, I remember when I rooted my phone it was S-Off. So to get it back to original factory version I need to S-on it?
Click to expand...
Click to collapse
No not at all, S-OFF makes it easier to get back to stock. If you were S-OFF at some point I am not too sure why the bootloader is reporting S-ON now. I am cheap and I revert to stock to get my OTAs to get the latest roms.. this is a huge pain. S-OFF is ideal once you have it you should keep it.
@kamocheng: Since I don't have much time at the moment I'm keeping it short:
1. Your zip is corrupted (look at the output). Re-download it and compare the MD5 checksums.
2. If you're s-on you need to be relocked for running RUUs.
3. You never mentioned your firmware version nor your CID so no one can verify whether you use the correct RUU.
4. There is no free version of sunshine since its a free app with in-app purchasement. But there is no need to s-off if you use the correct RUU.
Make sure htc sync isn't running on your computer.
Sent from my 0PJA10 using Tapatalk
Flippy498 said:
@kamocheng: Since I don't have much time at the moment I'm keeping it short:
1. Your zip is corrupted (look at the output). Re-download it and compare the MD5 checksums.
2. If you're s-on you need to be relocked for running RUUs.
3. You never mentioned your firmware version nor your CID so no one can verify whether you use the correct RUU.
4. There is no free version of sunshine since its a free app with in-app purchasement. But there is no need to s-off if you use the correct RUU.
Click to expand...
Click to collapse
Hello there, thanks for replying my thread
1. I'm sorry I dont quiet understand, do you mean zip in my PC or zip in my phone?
2. My firmware version is 1.32.617.30, how do i check my CID?
Correct me if I'm wrong but there are 2 options for me to return to original stock? First, S-off my phone and flash RUU firmware? Second, relocked my phone then run original stock? Since I didnt backup my original stock, I need to find untouched one?
Sorry this is my first android phone so if I'm total noob, I'm so sorry
What if i unrooted then relocked my phone, will i be able to take OTA then?
kamocheng said:
Hello there, thanks for replying my thread
1. I'm sorry I dont quiet understand, do you mean zip in my PC or zip in my phone?
2. My firmware version is 1.32.617.30, how do i check my CID?
Correct me if I'm wrong but there are 2 options for me to return to original stock? First, S-off my phone and flash RUU firmware? Second, relocked my phone then run original stock? Since I didnt backup my original stock, I need to find untouched one?
Sorry this is my first android phone so if I'm total noob, I'm so sorry
Click to expand...
Click to collapse
I'm talking about the zip you tried to flash in post 3. If you are using firefox as a browser I would recommend using an addon like DownThemAll! to verifiy the md5 checksum after the download has finished. Files can get corrupted during a download.
No, its one and the same way. You run the RUU either way. The only difference is that you can flash any firmware version with s-off and you don't need to relock while the versions you can flash with s-on have to match your current version (that means same version or newer) and your CID. Firmware versions with x.xx.617.xx are the developers editions if I'm not mistaking. (As far as I know AndroidRUU doesn't have any corresponding files. So I assume you downloaded it from clsA's personal collection of developer edition files since google didn't find any other sources for these files.) As said before redownload the file and compare the downloaded file's checksum with the one mentioned next to the download link (428582cef691c2e37053a0e19e9d738e). If they match the file should be flashable.
I prefer flashing RUUs using the sd-card method instead of fastboot so here are some instructions how I would continue:
Be sure to backup everything important like contacts, sms, etc. (I'm using MyPhoneExplorer for this step)
Get a SD-card that is not bigger than 32 gb and formatted to fat32 (I've always been using the formatting function of the m9 for this step).
Rename the RUU to "0PJAIMG.zip".
Copy that file into the root direction of your SD-card.
Relock your bootloader.
Put the card back into your phone.
Be sure that your phone is charged enough (more than 50 %).
Boot into download mode.
Follow the instructions on the screen.
Wait some minutes.
Done.
Flippy498 said:
I'm talking about the zip you tried to flash in post 3. If you are using firefox as a browser I would recommend using an addon like DownThemAll! to verifiy the md5 checksum after the download has finished. Files can get corrupted during a download.
No, its one and the same way. You run the RUU either way. The only difference is that you can flash any firmware version with s-off while the versions you can flash with s-on have to match your current version (that means same version or newer) and your CID. Firmware versions with x.xx.617.xx are the developers editions if I'm not mistaking. (As far as I know AndroidRUU doesn't have any corresponding files. So I assume you downloaded it from clsA's personal collection of developer edition files since google didn't find any other sources for these files.) As said before redownload the file and compare the downloaded file's checksum with the one mentioned next to the download link (428582cef691c2e37053a0e19e9d738e). If they match the file should be flashable.
I prefer flashing RUUs using the sd-card method instead of fastboot so here are some instruction how I would continue:
Be sure to backup everything important like contacts, sms, etc. (I'm using MyPhoneExplorer for this step)
Get a SD-card that is not bigger than 32 gb and formatted to fat32 (I've always been using the formatting function of the m9 for this step).
Rename the RUU to "0PJAIMG.zip".
Copy that file into the root direction of your SD-card.
Relock your bootloader.
Put the card back into your phone.
Be sure that your phone is charged enough (more than 50 %).
Boot into download mode.
Follow the instructions on the screen.
Wait some minutes.
Done.
Click to expand...
Click to collapse
So by doing that way, I dont have to S-off my phone to have it return to original stock?
kamocheng said:
So by doing that way, I dont have to S-off my phone to have it return to original stock?
Click to expand...
Click to collapse
Correct.
Edit: I just saw that you asked more or less the same question twice. jollywhitefoot's solution works the same way as the one I described. The only difference is that you are using fastboot instead of a sd-card.
Flippy498 said:
Correct.
Edit: I just saw that you asked more or less the same question twice. jollywhitefoot's solution works the same way as the one I described. The only difference is that you are using fastboot instead of a sd-card.
Click to expand...
Click to collapse
Alright, thank you for your guidance.
kamocheng said:
Alright, thank you for your guidance.
Click to expand...
Click to collapse
So my method in your other thread didn't work? Where are you running into problems?
Hi,
I've problems to update my M9. I try it snce 3 days, have read roundabot 200 sites -and going mad now!
Situation is following:
Device is a T-Mobile branded M9. Last year (was one of the first costomer with M9) I'd changed with a tool to CID HTC__001 (WWE) because of the bloatware and delayed T-mobile updates. So I'd updated with an RUU to 1.32.401.17.
Then I've broken my display an fall back to my M7. Last week I get my M9 back from repairing, and it was working fine. So I've searched for updates from the OS -no updates found! Can't belief that, so I have informed myself -there are several updates!
So I've relocked the Phone via fastboot oem lock
No difference, no updates found via OTA.
I'd found a 48 MB File for updating to 3.35.401.12 -wondered that it is so small, tried to install via bootloader -in Bootloader it says 3.35.401.12 but in OS it says still 1.32.401.17-and have an message in Bootscreen that this would be an development image.
So I've reflashed the RUU to 1.32.401.17
I've found several files, 2.10.401.1 -just 50MB, can't flash it via SD and rename it to update.zip via bootloaden and also can't install it via rename to 0pjaimg.zip -via SD and fastboot.exe
Found from soldier9312 some RUUs (are that really RUUs?) -but all archives will be marked as corrupt if I try to unzip then via 7Zip, winrar, winzip, and they don't cant be flashed via fastboot....
I'd tried to flash files with locked and unlocked bootloader.
I cant flash the zip's via SD card because they are (some of them) over 2GB -not to handle with FAT32!
In several sites I've read it says that these files can be applied with the bootloader -but it doesn't work (may I have to install another bootloader then the original?)
I can write and write several things I've tried to get an update -but all ways doesn't worked.
Why I find with search for RUUs just .zip, and they are corrupt, or unable to flash via fastboot flash zip and then update.zip, ruu.zip, filename.zip?
On SD card they are not able to be applied, and so on.
What I'm doing wrong?
Newest SDK, fastboot and adb were downloaded and used....
Please, can someone explain (or give me a link -found hundreds of sites -but which is the right?) how to update my phone?
Groby said:
Hi,
I've problems to update my M9. I try it snce 3 days, have read roundabot 200 sites -and going mad now!
Situation is following:
Device is a T-Mobile branded M9. Last year (was one of the first costomer with M9) I'd changed with a tool to CID HTC__001 (WWE) because of the bloatware and delayed T-mobile updates. So I'd updated with an RUU to 1.32.401.17.
Then I've broken my display an fall back to my M7. Last week I get my M9 back from repairing, and it was working fine. So I've searched for updates from the OS -no updates found! Can't belief that, so I have informed myself -there are several updates!
So I've relocked the Phone via fastboot oem lock
No difference, no updates found via OTA.
I'd found a 48 MB File for updating to 3.35.401.12 -wondered that it is so small, tried to install via bootloader -in Bootloader it says 3.35.401.12 but in OS it says still 1.32.401.17-and have an message in Bootscreen that this would be an development image.
So I've reflashed the RUU to 1.32.401.17
I've found several files, 2.10.401.1 -just 50MB, can't flash it via SD and rename it to update.zip via bootloaden and also can't install it via rename to 0pjaimg.zip -via SD and fastboot.exe
Found from soldier9312 some RUUs (are that really RUUs?) -but all archives will be marked as corrupt if I try to unzip then via 7Zip, winrar, winzip, and they don't cant be flashed via fastboot....
I'd tried to flash files with locked and unlocked bootloader.
I cant flash the zip's via SD card because they are (some of them) over 2GB -not to handle with FAT32!
In several sites I've read it says that these files can be applied with the bootloader -but it doesn't work (may I have to install another bootloader then the original?)
I can write and write several things I've tried to get an update -but all ways doesn't worked.
Why I find with search for RUUs just .zip, and they are corrupt, or unable to flash via fastboot flash zip and then update.zip, ruu.zip, filename.zip?
On SD card they are not able to be applied, and so on.
What I'm doing wrong?
Newest SDK, fastboot and adb were downloaded and used....
Please, can someone explain (or give me a link -found hundreds of sites -but which is the right?) how to update my phone?
Click to expand...
Click to collapse
Download the correct RUU.zip for your phone.
Rename the file to 0PJAIMG.zip
Copy the file to the root directory of a SD card which is formatted to fat32. and make sure its the only file on the card
Put the card into your phone and boot to Download Mode.
You will be asked whether you want to flash the file. Confirm with the volume up button.
Your phone will reboot at least one time. Depending on your current firmware version it may reboot to Android instead of rebooting to Download Mode. If this happens you just need to shut your phone down and manually boot it to Download Mode.
Flashing may take some time
At the end you will be asked to push the power button. You phone will shut down if you do so.
Wait some seconds and then turn your phone on, again.
First boot may take a while.
I'd tried to copy a file to SD card -i.e. from here http://forum.xda-developers.com/one-m9/development/ota-1-32-401-15-firmware-noredtext-t3072571
But it doesn't work (file above 2GB, won't work with FAT32). And of course I've tried to rename it (several files, which seems to be an OTA) to 0PJAIMG.zip
May it was a wrong file? What makes a RUU to an RUU? From the past I know an RUU just as an .exe. Of course I'd tried to flash the .zip vie USB, with an cmd and command fastboot oem rebootRUU, followed by fastboot flash zip ruu.zip
But I get an error message, and nothing happens. (if you need, I can try it again and copy the exact error message here)
Maybe you can give me a link to an flashable ruu? And exact command how to try? It seems that I'm confused from the hundred sites I've read. :-/
Groby said:
I'd tried to copy a file to SD card -i.e. from here http://forum.xda-developers.com/one-m9/development/ota-1-32-401-15-firmware-noredtext-t3072571
But it doesn't work (file above 2GB, won't work with FAT32). And of course I've tried to rename it (several files, which seems to be an OTA) to 0PJAIMG.zip
May it was a wrong file? What makes a RUU to an RUU? From the past I know an RUU just as an .exe. Of course I'd tried to flash the .zip vie USB, with an cmd and command fastboot oem rebootRUU, followed by fastboot flash zip ruu.zip
But I get an error message, and nothing happens. (if you need, I can try it again and copy the exact error message here)
Maybe you can give me a link to an flashable ruu? And exact command how to try? It seems that I'm confused from the hundred sites I've read. :-/
Click to expand...
Click to collapse
Make sure its only file on the card no android folders nothing also the sd card is no higher than 32gb
download to your pc /laptop then take out sd card and use adapter for sdcard
also make sure your system is not modified if it is you need RUU to make 100% stock OTA will not work on modified system
https://www.androidfilehost.com/?fid=23991606952595217
Ah, OK -I will try it. SD card is just 8GB, I will delete all other files. Just wait for my wife -her Navigation system contains my last SD adapter -all other spend to friends who need them
I will keep you in the picture! (Hope it's right written - I'm not a native speaker)
To flash ruu.zip or unsigned roms you need s-off.
You need a marshmallow update from ruu.exe or ota.
To take the ota you need a stock phone or s-off.
S-off is worth paying for if you're changing roms.
Sent from my HTC One M9 using Tapatalk
shivadow said:
To flash ruu.zip or unsigned roms you need s-off.
You need a marshmallow update from ruu.exe or ota.
To take the ota you need a stock phone or s-off.
S-off is worth paying for if you're changing roms.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
He's already s-off or he couldn't change the CID.
You don't need s-off to flash a RUU from sdcard if it's newer than your current firmware
All that is required for OTA to work is stock recovery and untouched stock system partition... Has nothing to do with s-off
Sent from my KIW-L24 using Tapatalk
I was able to flash the 2.10.401.1 -had copied the 2,3GB file to an SD on my Laptop (to copy when SD in phone doesn't worked!), renamed it to 0PJAIMG.zip, manual entered the bootloader and started the update. In the fist step it just updated some files, rebooted itself and start the update again -now it takes several minutes and seems to update all files.
After starting the phone it takes time to update all applications, but now it's fine! OS 2.10.401.1 Thank you very much for the tip to copy the file to the SD card on the Laptop!
But I've still some questions:
As assumed in one answer, yes the phone is S-Off and have a red text in the bootloader, as I'd changed the CID from 111 (T-mobile) to 001 (WWE HTC) for getting updates recently and flush the T-Mobile bloatware.
But when I set up the phone after a reset I get a message that this phone is a developer/Test phone and some information will be submitted to HTC whatever the option is enabled or unchecked in the options. Is this because of S-Off?
Another question: If I check for a newer version the phone says "No updates available" -but it sad that also under 1.32.401.17. Is it maybe another effect from S-Off? (clsA wrote that it won't do that, but why it doesn't find an update?)
And last but not least: I've downloaded from SoLdieR9312 this file (3.35.401.12) several times from different mirror: https://www.androidfilehost.com/?fid=24415232478675953
This file is roundabout 2,3GB, but if I try to (equal which file from the different server) unzip it all tested programs (winzip, winrar, 7zip) says that the archive is damaged. Is it possible that just Android can unzip it? I doesn't want to have an bricked M9....
Or will I get the update OTA later? Last time with 1.32.401.17 I didn't get any update. Is it save to flash the file?
Oh, good luck! Received a message that update 2.10.401.180 (135.16MB) is waiting for install, and will prepare the Phone for Android 6.0
Thank you very much for all the tips and hints! Seems that's all working now -just to know why I've got the message that it is a developer phone and data will be transferred...
Groby said:
I was able to flash the 2.10.401.1 -had copied the 2,3GB file to an SD on my Laptop (to copy when SD in phone doesn't worked!), renamed it to 0PJAIMG.zip, manual entered the bootloader and started the update. In the fist step it just updated some files, rebooted itself and start the update again -now it takes several minutes and seems to update all files.
After starting the phone it takes time to update all applications, but now it's fine! OS 2.10.401.1 Thank you very much for the tip to copy the file to the SD card on the Laptop!
But I've still some questions:
As assumed in one answer, yes the phone is S-Off and have a red text in the bootloader, as I'd changed the CID from 111 (T-mobile) to 001 (WWE HTC) for getting updates recently and flush the T-Mobile bloatware.
But when I set up the phone after a reset I get a message that this phone is a developer/Test phone and some information will be submitted to HTC whatever the option is enabled or unchecked in the options. Is this because of S-Off?
Another question: If I check for a newer version the phone says "No updates available" -but it sad that also under 1.32.401.17. Is it maybe another effect from S-Off? (clsA wrote that it won't do that, but why it doesn't find an update?)
And last but not least: I've downloaded from SoLdieR9312 this file (3.35.401.12) several times from different mirror: https://www.androidfilehost.com/?fid=24415232478675953
This file is roundabout 2,3GB, but if I try to (equal which file from the different server) unzip it all tested programs (winzip, winrar, 7zip) says that the archive is damaged. Is it possible that just Android can unzip it? I doesn't want to have an bricked M9....
Or will I get the update OTA later? Last time with 1.32.401.17 I didn't get any update. Is it save to flash the file?[/QUOT
Fingers crossed
Click to expand...
Click to collapse
It's all OK now!
Bootloader says Software status: Official, Relocked, S-Off
And via fastboot.exe I get following results:
C:\ADB>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: xxxxx
(bootloader) version-main: 3.35.401.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: HTC__001
all:
finished. total time: 0.038s
Thank you all very much for your support -I'm very glad to have a full working phone now.
Groby said:
It's all OK now!
Bootloader says Software status: Official, Relocked, S-Off
And via fastboot.exe I get following results:
C:\ADB>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: xxxxx
(bootloader) version-main: 3.35.401.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: HTC__001
all:
finished. total time: 0.038s
Thank you all very much for your support -I'm very glad to have a full working phone now.
Click to expand...
Click to collapse
Well done
Just change the title in the thread to solved
Mr Troop said:
Well done
Just change the title in the thread to solved
Click to expand...
Click to collapse
...yes, forgotten to change the title, but it's done now.
Best regards, and a nice day!
Dear all,
I recently unlocked bootloader, rooted and flashed CandySix ROM on my M9. Everything was fine until I stupidily relock the bootloader (using fastboot oem lock). Then the phone can not boot into system and recovery also.
I tried to re-unlock again using the same method (Unlock_code.bin) from HTCdev. The cmd said success, i press Yes on the phone, however after reboot the status stayed the same "Relock". I did like 20 times but it was the same.
I also tried to flash many RUUs that i found but no hopes (maybe i didnt find the right one).
Now the phone stuck at download mode and bootloader mode, can't do anthing else.
Can anyone helps me how to fix this or to find the right RUU for my phone please? Many thanks.
Current status: Modified
***RELOCK***
htc_himauhl PVT S-ON
LK-1.0.0.0000
RADIO-01.04_U11440601_71.02.50709G_F
OpenDSP-v29.2.6-00492-M8994_0702
OS-2.9.710.5
mid is 0PJA10000
cid is VODAP021
I think you need a new unlock token as when you relocked your bootloader it will need to generate a new one. Follow the unlock bootloader process from the beginning to see if you can unlock it again and go from there. Good luck.
Sent from my HTC 10 using XDA Labs
squ89r97 said:
I think you need a new unlock token as when you relocked your bootloader it will need to generate a new one. Follow the unlock bootloader process from the beginning to see if you can unlock it again and go from there. Good luck.
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
Thank you for your help. I tried that but no luck. Keep saying "Relocked". I really dont understand why????
1. unlock Bootloader
2. flash custom recovery
3. flash custom rom
babypopku said:
Dear all,
I recently unlocked bootloader, rooted and flashed CandySix ROM on my M9. Everything was fine until I stupidily relock the bootloader (using fastboot oem lock). Then the phone can not boot into system and recovery also.
I tried to re-unlock again using the same method (Unlock_code.bin) from HTCdev. The cmd said success, i press Yes on the phone, however after reboot the status stayed the same "Relock". I did like 20 times but it was the same.
I also tried to flash many RUUs that i found but no hopes (maybe i didnt find the right one).
Now the phone stuck at download mode and bootloader mode, can't do anthing else.
Can anyone helps me how to fix this or to find the right RUU for my phone please? Many thanks.
Current status: Modified
***RELOCK***
htc_himauhl PVT S-ON
LK-1.0.0.0000
RADIO-01.04_U11440601_71.02.50709G_F
OpenDSP-v29.2.6-00492-M8994_0702
OS-2.9.710.5
mid is 0PJA10000
cid is VODAP021
Click to expand...
Click to collapse
U need a RUU with OS 2.9.710.5 or higher that hopefully contains your cid and mid.
By running it u will lose al your data.
@Flippy498 has one and needed instructions in his spreadsheet.
https://docs.google.com/spreadsheets/d/15K6xhb6wtosp9j8yu4xHBZ6n9v5OaFSW6ZVWxC4u_qc/pubhtml#
side_flip15 said:
1. unlock Bootloader
2. flash custom recovery
3. flash custom rom
Click to expand...
Click to collapse
The thing is I can not unlock bootloader at the moment. I dont know why. I tried the HTCdev process, everything runs smoothly but after reboot the phone still "RELOCKED". I've done many times and still the same. Help me pls
Fain11 said:
U need a RUU with OS 2.9.710.5 or higher that hopefully contains your cid and mid.
By running it u will lose al your data.
@Flippy498 has one and needed instructions in his spreadsheet.
https://docs.google.com/spreadsheets/d/15K6xhb6wtosp9j8yu4xHBZ6n9v5OaFSW6ZVWxC4u_qc/pubhtml#
Click to expand...
Click to collapse
Thank you. I tried that link. However, after download the RUU zip file, I cant flash it.
The error was
C:\Users\Man Phan\Desktop\platform-tools>fastboot flash zip 0PJAIMG.zip
load_file: could not allocate -1977527069 bytes
error: cannot load '0PJAIMG.zip'
I tried to use another adb, fastboot package and it said
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip 0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2317440227 is not a multiple of the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 2317440227 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2317440227 is not a multiple of the block size 4096
OKAY [ 1.031s]
writing 'zip' 1/1...
(bootloader) HOSD CL#573756
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 2.058s
And I can not open that zip file as well, 7zip said it can not open the file as archive. I checked md5 the it matched. I dont know what happen to the file. I afraid the file is corrupted so I downloaded twice to check but still no hope.
Any other suggestions please!!
You can't flash RUUs with fastboot anymore since the M9. They became too big and the normal fastboot isn't able to handle them anymore. Either you use the SD card method which is described in my sheet or you look for htc_fastboot.
As a sidenote: You are aware that RUUs are encrypted and therefore can't get opened the way you normally open archives, aren't you? Winrar isn't able to do so at all and 7-zip has to use "right-click > open > #". Nevertheless you won't have any benefit from opening it.
Sent from my HTC One M9 using XDA Labs
After doing some stuff i didn't remember, the phone is now Unlocked. I can be able to flash a TWRP 3.0.0 and flash a CandySix ROM. All the process was smooth. The phone can boot normally now. Thank you guys.
However, there is no Sense on CandySix ROM. I really want to upgrade to another ROM with Sense but i can't due to my current firmware. I dont know how to upgrade the firmware for that. I can't make my S-off using Sunshine also. Any suggestions where to start? Thanks.
Did you try the SD card method I described in my google sheet? Or did you download the needed htc_fastboot files if you prefer the command line? I had no problems with flashing the 2.10.710.5 RUU when I created my backups for the SKU 710.
Or did you try to use the TWRP backup guide in my sheet?
Otherwise if you're willing to pay around 20 bucks you could use llabtoofer's RUU service. Either google or use the link in my spreadsheet.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
Did you try the SD card method I described in my google sheet? Or did you download the needed htc_fastboot files if you prefer the command line? I had no problems with flashing the 2.10.710.5 RUU when I created my backups for the SKU 710.
Or did you try to use the TWRP backup guide in my sheet?
Otherwise if you're willing to pay around 20 bucks you could use llabtoofer's RUU service. Either google or use the link in my spreadsheet.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Thanks I have contacted llabtoofer for help. So afraid to do myself. Have been wasted tons of time for this but still not have any luck. Anyway thank you for your help. My phone is now usable, i used the htc_flashboot method to unstuck it.
HTC one m9 flash RUU help
iHave a Sprint HTC One M9 currently stuck in boot loop displaying
"This build is for
development purposes only
Do not distribute outside of HTC
without HTC's written permission.
Failure to comply may
lead to legal action."
I'm not sure of the CID nor firmware version(i'm sure it was the latest 3.41.651.4.) iForgot to backup my device before rooting(stupid iKnow.) I've already found the RUU for 3.41.651.4 it's saved to my SD card. iCan still reach bootloader, recovery&download mode, should iJust enter recovery&flash the RUU? iAlso have S-ON. iWould like to relock the bootloader&start the root process anew. iUsed TWRP 3.0.2 as well as Super SU 2.76 during my first initial attempt. I've already tried to lock the device once but when iType adb devices into the command window no device is displayed.
I'm not sure where to go from here. Can someone help?
Hey guys,
Recently I have bought used m8 with custom rom. Seller said he sells it because after trying to do factory reset (thinking it could restore to stock) he lost any gsm signal, only wifi worked. I had some experience with flashing sony mobiles and lg few years ago, so thought it would be easy to install stock rom and use device again. Googled a bit about flashing HTC devices, then downloaded rom, after that had some dificulties with win 8 and htc drivers, so tried to put rom into sd, it was too small. Somehow managed to put rom into device, tried to flash, had some errors, tried another roms, got another fails, changed my cid and mid, played with locked/relocked things, that didn't help either. Tried to restore a nandroid backup, even if it says restore was successful, after i choose reboot, it only boots me in bootloader. Now i cant access twrp, my pc recognises phone, but none of adb commands work.
I apologise if anyone got similar problem, but tried to look for explainations on my own, and found nothing, so this is my last hope to get it working.
Any help or info will be appreciated, I also am very interested in what you guys are doing, so i could even donate for people who can help alot.
***RELOCKED***
M8_WLV PVT SHIP S-OFF
CID-HTC__032
HBOOT-3.19.0.0000
RADIO-1.29.214500021.24_2G
OS-6.12.401.4 (6.12.401.4)
eMMC-boot 2048mb
If any info more needed, just write, ill add anything you ask.
iTrolis said:
***RELOCKED***
M8_WLV PVT SHIP S-OFF
CID-HTC__032
HBOOT-3.19.0.0000
RADIO-1.29.214500021.24_2G
OS-6.12.401.4 (6.12.401.4)
Click to expand...
Click to collapse
A big mistake has been made, either by you, or the previous owner. As you indicated the previous owner lost GSM signal, I would guess that person may be the culprit.
Here's what I mean: Your M8 version is Verizon, indicated by the product name M8_WLV. I can see from the OS number (6.12.401.4) that installation of Euro firmware was attempted.
The Verizon version is somewhat unique, in that its designed for use on US Verizon carrier's CDMA network (in addition to GSM, HSPA, LTE) and therefore has its own partition layout, radio firmware, etc. Trying to flash any other version's firmware to this device will not work, and may result in a permanent radio brick. Essentially, only Verizon firmware or RUUs should only be installed to this device. Unlike most other M8 versions, you cannot convert the Verizon M8 to another version by changing the CID/MID (after s-off) and flashing another version RUU.
Indeed, the OS number in parenthesis indicates a problem with the firmware. And I'll venture to guess that this line is also in red font (which also indicated a firmware problem).
Your best (and really, only) option is to try the proper Verizon RUU. A lot of times, this will fix the firmware, and get the radio to work. Although there is a possibility that its a permanent radio brick (as we've seen a number of times). Try the 6.21.605.3 RUU from here: https://forum.xda-developers.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845
Another couple mistakes that I can see:
There was never a need to relock the bootloader for what you are doing, since the device is s-off. Its not needed to do this in order to flash firmware or RUU (the main reason to relock bootloader) as this requirement is bypassed by s-off. A relocked bootloader won't interfere with the RUU I recommended. But it would hamper trying to install TWRP custom recovery.
adb won't work unless you are booted to Android OS, or in TWRP. Since neither of those are working, it is normal and expected that adb command won't work. Fastboot command should work, while booting into bootloader-fastboot mode (and only that mode). While fastboot is related to adb, there are important conditions and differences.
redpoint73 said:
Your best (and really, only) option is to try the proper Verizon RUU. A lot of times, this will fix the firmware, and get the radio to work. Although there is a possibility that its a permanent radio brick (as we've seen a number of times). Try the 6.21.605.3 RUU from here: https://forum.xda-developers.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845
Click to expand...
Click to collapse
If the latest RUU doesn't fix the radio signal, I suggest to install the lowest version 1.5x. as the lower version usually will fix the NV partition which related to radio and unbrick it. (This is what I read in VZW thread before)
ckpv5 said:
If the latest RUU doesn't fix the radio signal, I suggest to install the lowest version 1.5x. as the lowest version usually will fix the NV partition which related to radio and unbrick it. (This is what I read in VZW thread before)
Click to expand...
Click to collapse
Good to know, I wasn't aware.
I think the 1.5x files would be here: https://forum.xda-developers.com/verizon-htc-one-m8/development/ruu-m8vzw-4-4-3-s-off-onlynewest-t2873144
Edited my earlier post.
Your earlier link is good ... click 4.4.4 RUU zip link, it's 3.28.605.4 RUU
The only way to reset the partition to out of the box stock is to flash your carrier's 4.4.4 firmware and the stock recovery for you device. Reboot to recovery and select factory data reset and let it do it's thing. If you watch the reset log you will see it mention resetting the NV partition.
Source : https://forum.xda-developers.com/showpost.php?p=57453624&postcount=2
guys, thank you for help, downloaded latest .zip file, renamed it to 0P6GIMG.zip, did fastboot flash zip 0P6GIMG.zip and it shows this: target reported max download size of 1826
Invalid sparse file format at header magi
any ideas?
iTrolis said:
guys, thank you for help, downloaded latest .zip file
Click to expand...
Click to collapse
Try the 4.4.4 RUU as ckpv5 advised in his most recent post.
what if i have changed cid and mid thinking to make my device to international?
now my cid is HTC__032
and MID 0P6B12000
i have to change these to original for verizon?
iTrolis said:
what if i have changed cid and mid thinking to make my device to international?
now my cid is HTC__032
and MID 0P6B12000
i have to change these to original for verizon?
Click to expand...
Click to collapse
That's correct, you will need to change back to the Verizon CID and MID to run the RUUs, firmware. Sorry, I missed that in the details you provided.
Alternately, if you change to SuperCID (11111111) in most cases this will bypass the MID check (and save you some steps).
now got RUU mode with exclamation marks on the edges of screen..
changed cid to vzw__001, but now need to get to fastboot again, to change it to supercid and will try 6,0 ruu.exe 4,4,4ruu.exe and 6,0 .zip files i have downloaded
Edit: cid changed to supercid, still stuck on silver htc logo with 4triangles on the edges. cant find a solution...
Read this on how-to : https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
but use your ruu.zip not the one in the guide.
At the end of the guide, you'll see there are 3 methods to install ruu.zip
tried your method and got this:
C:\Users\Vartotojas\Desktop\android-sdk-windows\platform-tools>htc_fastboot flas
h zip rom.zip
sending 'zip'... (46028 KB) OKAY
writing 'zip'... FAILproject does not have sa key to decrypt rom
FAILED (remote: project does not have sa key to decrypt rom)
Execution time is 2(s)
already tried to do it with ARUwizard.exe and stuck on silver HTC letters with 4 triangles nad exclamation marks on the edges of the screen, cant boot to bootloader, and i dont have enough storage in SD card to put rom in it
edit: trying again with another .zip file, now got this:
C:\Users\Vartotojas\Desktop\android-sdk-windows\platform-tools>htc_fastboot flas
h zip 1.zip
sending 'zip'... (1760932 KB) OKAY
writing 'zip'... (bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL24 parsing android-info fail
FAILED (remote: 24 parsing android-info fail)
Execution time is 56(s)
ckpv5 said:
Read this on how-to : https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
but use your ruu.zip not the one in the guide.
At the end of the guide, you'll see there are 3 methods to install ruu.zip
Click to expand...
Click to collapse
another question, what should be there in that ruu.zip? downloaded few and there is one with rom.zip, adb.exe, ARUwizard.exe, alot of .dat files and bitmap images inside, others are only with boot-signed.img and android-info.txt
iTrolis said:
another question, what should be there in that ruu.zip? downloaded few and there is one with rom.zip, adb.exe, ARUwizard.exe, alot of .dat files and bitmap images inside, others are only with boot-signed.img and android-info.txt
Click to expand...
Click to collapse
What are those you downloaded ? Which link ?
In my earlier post, I specifically suggested this one : https://www.androidfilehost.com/?fid=95784891001604006
If in ruu.zip you downloaded has all those files, it means you need to extract the ruu.zip then run the ARUwizard.exe to install.
ckpv5 said:
What are those you downloaded ? Which link ?
In my earlier post, I specifically suggested this one : https://www.androidfilehost.com/?fid=95784891001604006
If in ruu.zip you downloaded has all those files, it means you need to extract the ruu.zip then run the ARUwizard.exe to install.
Click to expand...
Click to collapse
yes i have downloaded exactly this and two more, now extracted this, ran wizard and got error 171 usb connection error, tried another usb cable, another usb slot but same error, what could solve this?
Do you have latest HTC USB drivers installed ? As explained in this guide - https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
where it says - first you need this ?
Also try with USB2.0, if running it with ARUwizard.exe (that also explained in the same guide in the link at the lower part).
Or take only the rom.zip then
htc_fastboot flash zip rom.zip
ckpv5 said:
Do you have latest HTC USB drivers installed ? As explained in this guide - https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
where it says - first you need this ?
Also try with USB2.0, if running it with ARUwizard.exe (that also explained in the same guide in the link at the lower part).
Or take only the rom.zip then
htc_fastboot flash zip rom.zip
Click to expand...
Click to collapse
downloaded htc sync manager, uninstalled it, tried both usb cables on all three different usb ports, same 171 error, tried to flash zip, got this:
C:\Users\Vartotojas\Desktop\android-sdk-windows\platform-tools>htc_fastboot flas
h zip rom.zip
sending 'zip'... (46028 KB) OKAY
writing 'zip'... FAILproject does not have sa key to decrypt rom
FAILED (remote: project does not have sa key to decrypt rom)
Execution time is 3(s)
I downloaded the 3.28.605.4 ruu.zip to see what's going on here .. it's a signed RUU, you're not supposed to extract it. No normal zip archiver can extract it properly.
Rename the whole as ruu.zip or rom.zip then htc_fastboot it after you put the device in RUU mode
fastboot oem reboot RUU
fastboot flash zip ruu.zip (or rom.zip if you renamed it rom.zip)
fastboot reboot-bootloader
also make sure your windows extension is not hidden so it won't actually become ruu.zip.zip where you will have unable to load ruu.zip error
The whole
0P6BIMG_M8_WL_K444_SENSE60_VZW_MR_VERIZON_WWE_3.28.605.4_HSM_Radio_1.09.20.0926_NV_VZW_2.11_002_release_393779_signed_1.zip
is the rom.zip
ckpv5 said:
I downloaded the 3.28.605.4 ruu.zip to see what's going on here .. it's a signed RUU, you're not supposed to extract it. No normal zip archiver can extract it properly.
Rename the whole as ruu.zip or rom.zip then htc_fastboot it after you put the device in RUU mode
fastboot oem reboot RUU
fastboot flash zip ruu.zip (or rom.zip if you renamed it rom.zip)
also make sure your windows extension is not hidden so it won't actually become ruu.zip.zip where you will have unable to load ruu.zip error
The whole
0P6BIMG_M8_WL_K444_SENSE60_VZW_MR_VERIZON_WWE_3.28.605.4_HSM_Radio_1.09.20.0926_NV_VZW_2.11_002_release_393779_signed_1.zip
is the rom.zip
Click to expand...
Click to collapse
downloading that .zip again, but i think that RUU fail doesnt let me to work now, how can i access fastboot when im locked to that ruu fail screen? power+vol up then vol- just restarts me to that black screen with htc letters and four triangles on the corners of screen
type command
fastboot reboot-bootloader