Hello, I have root access on my HTC one Phone and that's it, I kept it as stock as possible
everytime I get an OTA I flash the stock recovery instead of TWRP to get the update then I reflash TWRP
for the 1st time I couldn't update to the latest one, kept on getting a red triangle with an exclamation mark
when I tried many things I found out that the recovery is corrupt (each time I try to enter stock recovery I get the red triangle with !)
Any suggestions on what I should do? I can't even flash RUU because of the recovery.
ab.riyami said:
Hello, I have root access on my HTC one Phone and that's it, I kept it as stock as possible
everytime I get an OTA I flash the stock recovery instead of TWRP to get the update then I reflash TWRP
for the 1st time I couldn't update to the latest one, kept on getting a red triangle with an exclamation mark
when I tried many things I found out that the recovery is corrupt (each time I try to enter stock recovery I get the red triangle with !)
Any suggestions on what I should do? I can't even flash RUU because of the recovery.
Click to expand...
Click to collapse
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
xunholyx said:
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
Click to expand...
Click to collapse
Interesting solution, will try it out.
Just to clarify, the OTA you've mentioned should contain the recovery of the new firmware I.e. for the Lollipop update.
Because I am still in kitkat and the OTA I want to flash is the Lollipop one, is it okay to flash a lollipop recovery on my kitkat ?
xunholyx said:
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
Click to expand...
Click to collapse
I did what you've mentioned and I couldnt update, I do not get a red triangle with an exclamation mark, and I can also load into the stock recovery.
but when I try to OTA update i get a message says there is an Error in the file (the OTA file) and also some kind of verification error.
I also tried to flash RUU but it gave me the following Error:
sending 'zip' (546333 KB)...
OKAY [ 21.860s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 42.661s
Any idea whats happening? I relocked the bootloader to flash RUU.
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
ckpv5 said:
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
Click to expand...
Click to collapse
Sure I will soon,
but I did not flash a ROM since I got the phone, only root access and TWRP recovery, iv been getting OTA updates with no issues before this one.
Even RUU doesn't work (although I never tried it before)
ckpv5 said:
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
Click to expand...
Click to collapse
I tried RUU again, this time with a different file (I downloaded the earlier one from HTC dev page, but I still got the same error <(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 115.740s>
Attached is my Phone Details and the error I get when I try updating by OTA.
In Summary, this is my situation:
Phone was rooted, but never flashed a ROM
Flashed recovery extracted from OTA file
UnRoot the phone from SuperSU settings (although my root checker still says i have root)
Relocked Bootloader to flash RUU
Can't Flash RUU I get the mentined error.
Cant update by OTA, i get the attached error
Im trying to resist flashing a ARHD rom, but kept it as a last resort
Any Ideas???
RUU from HTCDev page ? I guess that's not RUU but kernel source zip.
Your problem is not corrupted recovery but you have system files modified/removed as shown in your screenshot.
You have two choices here :
A. Restore system part only from a Nandroid
1. Unlock bootloader
2. Install TWRP 2.8.5.0 - http://techerrata.com/browse/twrp2/m8
command fastboot flash recovery openrecovery-twrp-2.8.5.0-m8.img
3. Download TWRP backup 3.28.401.9 - https://mega.co.nz/#!VQgnECRS!asb9fd5ZHF3lf0e0iqmw0QIEc3sYS7JDTjjzi-hXvuo
4. Download stock 3.28.401.9 recovery - http://sourceforge.net/projects/htconem8/files/Recovery/3.28.401.9_recovery.img/download
5. Extract the downloaded 3.28.401.9_ckpv5.zip on PC
6. Boot to TWRP recovery and make a backup of boot only, this is to see where the backup goes on your device.
7. Connect device to PC, select Mount, enable MTP then open Internal Storage, TWRP/BACKUPS/SerialNo./
8. Transfer the extracted 3.28.401.9 folder (not 3.28.401.9_ckpv5 folder) and its content to the backup path on your device
TWRP/BACKUPS/SerialNo./3.28.401.9
9. Restore the transferred backup - tick only boot & system - swipe to restore (this way you can keep your data)
10. In reboot select bootloader
11. fastboot flash stock recovery that you downloaded - command fastboot flash recovery 3.28.401.9_recovery.img
12. reboot - check for OTA, download, install (you should have one OTA to 4.16.401.10)
13. done
OR
B. Use a correct RUU to restore everything and even wipe your internal storage
Check @EddyOS thread for all files needed : http://forum.xda-developers.com/showthread.php?t=2735235
You can skip step 1 & 2 - but relock bootloader as your device is S-On.
ckpv5 said:
RUU from HTCDev page ? I guess that's not RUU but kernel source zip.
Your problem is not corrupted recovery but you have system files modified/removed as shown in your screenshot.
You have two choices here :
A. Restore system part only from a Nandroid
1. Unlock bootloader
2. Install TWRP 2.8.5.0 - http://techerrata.com/browse/twrp2/m8
command fastboot flash recovery openrecovery-twrp-2.8.5.0-m8.img
3. Download TWRP backup 3.28.401.9 - https://mega.co.nz/#!VQgnECRS!asb9fd5ZHF3lf0e0iqmw0QIEc3sYS7JDTjjzi-hXvuo
4. Download stock 3.28.401.9 recovery - http://sourceforge.net/projects/htconem8/files/Recovery/3.28.401.9_recovery.img/download
5. Extract the downloaded 3.28.401.9_ckpv5.zip on PC
6. Boot to TWRP recovery and make a backup of boot only, this is to see where the backup goes on your device.
7. Connect device to PC, select Mount, enable MTP then open Internal Storage, TWRP/BACKUPS/SerialNo./
8. Transfer the extracted 3.28.401.9 folder (not 3.28.401.9_ckpv5 folder) and its content to the backup path on your device
TWRP/BACKUPS/SerialNo./3.28.401.9
9. Restore the transferred backup - tick only boot & system - swipe to restore (this way you can keep your data)
10. In reboot select bootloader
11. fastboot flash stock recovery that you downloaded - command fastboot flash recovery 3.28.401.9_recovery.img
12. reboot - check for OTA, download, install (you should have one OTA to 4.16.401.10)
13. done
OR
B. Use a correct RUU to restore everything and even wipe your internal storage
Check @EddyOS thread for all files needed : http://forum.xda-developers.com/showthread.php?t=2735235
You can skip step 1 & 2 - but relock bootloader as your device is S-On.
Click to expand...
Click to collapse
I would rather use option B sounds much easier, plus i backed up my internal SD already. but I just want to confirm what you mean by correct RUU? I used the HTC Dev one first (like u said its not an RUU) but then I used one I downloaded from this XDA thread http://forum.xda-developers.com/showthread.php?t=2701376
the RUU file name is: 0P6BIMG_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_417809_signed.zip
it gave me the same error I mentioned above (where it says verification error), should I try downloading another RUU file?
Check the thread that I linked. You need one more file htc_fastboot.exe and how to run it,
there are two different commands, 1- to put device in RUU mode, 2- flash the zip
You also can use RUU.exe instead of RUU.zip : https://drive.google.com/file/d/0B17smFr95pleeTQ5U1NzNkZzM0U/view
Just boot to bootloader, relocked bootloader and run the RUU.exe (select run as administrator in Windows Explorer context menu)
ckpv5 said:
Check the thread that I linked. You need one more file htc_fastboot.exe and how to run it,
there are two different commands, 1- to put device in RUU mode, 2- flash the zip
You also can use RUU.exe instead of RUU.zip : https://drive.google.com/file/d/0B17smFr95pleeTQ5U1NzNkZzM0U/view
Just boot to bootloader, relocked bootloader and run the RUU.exe (select run as administrator in Windows Explorer context menu)
Click to expand...
Click to collapse
I have Fastboot installed, and I know the commands to flash RUU (thats what I used to flash it the time it failed)
Anyways, not I tried using the exe file you provided and it gave me the following:
ERROR [155]: UNKNOWN ERROR
the ROM Update Utility cannot update your Android Phone.
Please get the correct ROM Update Utility and try again.
This is very weird, thanks for your help, any other ideas?
Note: My bootloader is relocked using Fastboot oem lock command, I did it before running RUU but still get an issue!
ERROR 155 - bootloader is not relocked
Did you relock bootloader before you run RUU ? Is the RUU run in as Administrator ?
If you did relocked, then I'm run out of idea.
Left you with the nandroid way only
You can ask in that thread about RUU problem ... I'm more on nandroid type.
ckpv5 said:
ERROR 155 - bootloader is not relocked
Did you relock bootloader before you run RUU ?
View attachment 3170296
Click to expand...
Click to collapse
Yes I did, I relocked before trying both zip RUU and exe one.
When I go into bootloader it says **Relocked** on top.
That's why I'm confused why RUU isn't working.
Your problem is only one "reboot" file that you need the original one. I don't keep that version file on my PC, if not I can give you a flashble zip to flash only that one particular file.
ab.riyami said:
Yes I did, I relocked before trying both zip RUU and exe one.
When I go into bootloader it says **Relocked** on top.
That's why I'm confused why RUU isn't working.
Click to expand...
Click to collapse
To flash the RUU.zip you HAVE to use htc_fastboot.exe - NOT the one that you get from Google as it doesn't support the larger ZIP file size. If you try and use the Google one you'll get an error 12
EddyOS said:
To flash the RUU.zip you HAVE to use htc_fastboot.exe - NOT the one that you get from Google as it doesn't support the larger ZIP file size. If you try and use the Google one you'll get an error 12
Click to expand...
Click to collapse
I did tell him that he needs to have that htc_fastboot.exe from your thread ... he needs to confirm he did use that particular htc_fastboot.exe or not
ckpv5 said:
I did tell him that he needs to have that htc_fastboot.exe ... he needs to confirm he did use that particular htc_fastboot.exe or not
Click to expand...
Click to collapse
I know, I was just going on the fact he says he knows what he's doing with fastboot, but perhaps not knowing about the HTC one
ckpv5 said:
Your problem is only one "reboot" file that you need the original one. I don't keep that version file on my PC, if not I can give you a flashble zip to flash only that one particular file.
Click to expand...
Click to collapse
I see, It will be great if I can get a flashable zip file.
but If you cant, do you reckon if I try these steps it might work?
1. Unlock my bootloader.
2. Flash TWRP
3. Flash Revolution ROM version 34.1 (lollipop).
4. Flash stock recovery (the version which is extracted from HTC's latest OTA).
5. Flash RUU using fastboot zip flash method.
What do you think?
Or should I follow the method you mentioned earlier?
ab.riyami said:
I see, It will be great if I can get a flashable zip file.
but If you cant, do you reckon if I try these steps it might work?
1. Unlock my bootloader.
2. Flash TWRP
3. Flash Revolution ROM version 34.1 (lollipop).
4. Flash stock recovery (the version which is extracted from HTC's latest OTA).
5. Flash RUU using fastboot zip flash method.
What do you think?
Or should I follow the method you mentioned earlier?
Click to expand...
Click to collapse
No point ...
If you're going to do step 5, then no need step 1-4, what you need is use that htc_fastboot.exe not google fastboot.exe
Or
If you do have lollipop ROM, just extract out "reboot" file from system/bin and later replace this on your stock ROM. Use TWRP File manager to replace it and put permission chmod 755 (but I guess this is harder for you)
Cool, I'll try flashing with HTC_fastboot, didn't know there is a difference, hopefully it will work ?
Related
Hey ,I have been around the forum and not only for trying to find a way to get back to stock. What I did was I used my Nandroids boot.img and recovery.img and the phone started normally on 4.1.1 as it was when I backed it up. But when I downloaded OTA and tried to install I had the internalstorage issue ,I tried extracting it manually from Downloads app and at it stucks with the note that "This file is corrupted". I then installed another recovery named -endeavoru.recovery.signed.img and when I try to get into recovery a red exlamation mark appears .And checking for software updated says that I am running newest version of android.. Help will be much appreciated
Thanks
Dan
twnc said:
Hey ,I have been around the forum and not only for trying to find a way to get back to stock. What I did was I used my Nandroids boot.img and recovery.img and the phone started normally on 4.1.1 as it was when I backed it up. But when I downloaded OTA and tried to install I had the internalstorage issue ,I tried extracting it manually from Downloads app and at it stucks with the note that "This file is corrupted". I then installed another recovery named -endeavoru.recovery.signed.img and when I try to get into recovery a red exlamation mark appears .And checking for software updated says that I am running newest version of android.. Help will be much appreciated
Thanks
Dan
Click to expand...
Click to collapse
You can try downloading latest ruu and extracting boot.img and system.img from there, here's the instructions https: //sites.google.com/site/ androidbyyorzua/home/tutorials/extracting-rom-files-from-htc-ruu (remove spaces)
You have to flash them with fastboot
twnc said:
Hey ,I have been around the forum and not only for trying to find a way to get back to stock. What I did was I used my Nandroids boot.img and recovery.img and the phone started normally on 4.1.1 as it was when I backed it up. But when I downloaded OTA and tried to install I had the internalstorage issue ,I tried extracting it manually from Downloads app and at it stucks with the note that "This file is corrupted". I then installed another recovery named -endeavoru.recovery.signed.img and when I try to get into recovery a red exlamation mark appears .And checking for software updated says that I am running newest version of android.. Help will be much appreciated
Thanks
Dan
Click to expand...
Click to collapse
Let me know what CID you have.
fastboot getvar cid
It is CID-032
twnc said:
It is CID-032
Click to expand...
Click to collapse
1. Download this file:
https://docs.google.com/file/d/0B2JsLtD098mdUlJmbzBfT0J5R3c/edit?usp=sharing
2. Copy the file to your Folder where fastboot is located and rename it to rom.zip
3. Connect your Phone within fastboot mode
4. Revert to OEM lock
fastboot oem lock
4. Flash your Phone with this command
fastboot oem rebootRUU fastboot flash zip rom.zip
5. Enter recovery and give a short press on POWER & VOL UP
- wipe Cache
- wipe data/factory Default
6. Flash the unlock token again to unlock your phone
7. Flash TWPR or CWR recovery
8. Search for a NANDROID Backup
http://forum.xda-developers.com/showthread.php?t=1975140
9. Copy this to your SDCard and flash this via CWM/TWPR Recovery
10. Start you phone and wait
11. Ignore the first setup and skip this
12. fastboot again and
fastboot oem lock
13. fastboot again and flash the firmware file again
fastboot oem rebootRUU fastboot flash zip rom.zip
14. Boot the device and within SENSE do a factory Default reset
15. The device will boot and jump in recovery to restore some files from the Cache which will take 10 to 20 sec.
16. After this the device will boot again.
17. DONE!
Thanks I will follow your guide carefully. So this will revert my phone to stock right?
twnc said:
Thanks I will follow your guide carefully. So this will revert my phone to stock right?
Click to expand...
Click to collapse
Full stock!
But within the boot loader you will always see the Information "RELOCKED"
Currently it is not possible to remove this because there would be S-OFF required.
MrT69 said:
Full stock!
But within the boot loader you will always see the Information "RELOCKED"
Currently it is not possible to remove this because there would be S-OFF required.
Click to expand...
Click to collapse
Thanks a LOT. Been struggling for a week now .Downloading nandroid in progress.
Me again... Followed the steps but when I tried to recover the backup it said that there was a problem with the system recovery and now I'm stuck at bootloop .Anyone any ideas please
EDITk managed to push stock ruu but whenever I try to restore it it gets me to the same error -error while installinng system .I happen to think it's from the recovery ..any1?
MrT69 said:
1. Download this file:
https://docs.google.com/file/d/0B2JsLtD098mdUlJmbzBfT0J5R3c/edit?usp=sharing
2. Copy the file to your Folder where fastboot is located and rename it to rom.zip
3. Connect your Phone within fastboot mode
4. Revert to OEM lock
fastboot oem lock
4. Flash your Phone with this command
fastboot oem rebootRUU fastboot flash zip rom.zip
5. Enter recovery and give a short press on POWER & VOL UP
- wipe Cache
- wipe data/factory Default
6. Flash the unlock token again to unlock your phone
7. Flash TWPR or CWR recovery
8. Search for a NANDROID Backup
http://forum.xda-developers.com/showthread.php?t=1975140
9. Copy this to your SDCard and flash this via CWM/TWPR Recovery
10. Start you phone and wait
11. Ignore the first setup and skip this
12. fastboot again and
fastboot oem lock
13. fastboot again and flash the firmware file again
fastboot oem rebootRUU fastboot flash zip rom.zip
14. Boot the device and within SENSE do a factory Default reset
15. The device will boot and jump in recovery to restore some files from the Cache which will take 10 to 20 sec.
16. After this the device will boot again.
17. DONE!
Click to expand...
Click to collapse
Do not listen to this guy,wrong guide.This will soft brick your phone (stuck at bootloop). After flashing rom.zip you have to flash unlocktocken in order to flash recovery and wipe cache and factory reset. AND DO NOT flash CWM or TWRP recovery as they will soft brick your phone giving you error while reverting system while restoring nandroid backup, instead flash the recovery located in the nandroid back up!
Hello friends,
I want to go from CM ROM to ROM STOCK, but I want to keep my root and Philz Touch recovery.
I find it on the web: http://dl4.htc.com/RomCode/Source_and_Binaries/a5dug-3.4.0-g1e44625.zip
which corresponds to the version: 1.56.401.1
But I do not know if I install it via the recovery or another ....
I'm afraid of creating conflict (brick) with the root / customrecovery ...
Did you ever try?
thank you
Allanco2 said:
Hello friends,
I want to go from CM ROM to ROM STOCK, but I want to keep my root and Philz Touch recovery.
I find it on the web: http://dl4.htc.com/RomCode/Source_and_Binaries/a5dug-3.4.0-g1e44625.zip
which corresponds to the version: 1.56.401.1
But I do not know if I install it via the recovery or another ....
I'm afraid of creating conflict (brick) with the root / customrecovery ...
Did you ever try?
thank you
Click to expand...
Click to collapse
You have the US variant or if international what region is your device from?
Sent from my 710C using XDA Free mobile app
my device is EU , this rom is normaly EU
light us with
baseband
kernel
version
etc...
so we can help !
Allanco2 said:
my device is EU , this rom is normaly EU
Click to expand...
Click to collapse
If that's the RUU for your device the process is simple. All you need to do is rename it to 0P9CIMG.zip and put it on the root/main folder that pops up when you plug it in to your PC. Afterwards boot into recovery and it will automatically detect it. It will ask if you want to proceed choose no.
Before you do the restore you need to relock the bootloader in fastboot mode.
The command is:
fastboot oem lock
Reboot to fastboot and it will say relocked and detect the Stock RUU file. Select yes this time and allow it to proceed.
Do not stop this process even if it seems it froze as this can cause a brick.
You can also use this command after relocking and rebooting to fastboot. At this point on your PC put the RUU file in your ADB folder and run this command:
fastboot flash zip filename.zip
The above command I recommend because after you relock the bootloader CM might not want to boot up or it might try to automatically flash the RUU as soon as you enter the bootloader as I've seen this on some select devices. Try the command first as it works the same, just instead of flashing from your storage its through PC/USB. Kind of like ADB sideload. If you run into any issues you can unlock the bootloader with the same Unlock.bin file, flash a recovery in the bootloader and follow up with the SuperSU.zip through ADB sideload then finally a CM ROM flash through sideload as well.
Once your device boots you could put a Nandroid Backup and try that instead. Yes, you can move each individual file if you don't have a SD card from the internal storage to data/media/clockworkmod/backup. When you get to the last file you copy the folder with it to retain any properties it has and has the same foldername matching the backup files. You'll know what I mean because the storage is only 3.7 GB available and moving the nandroid completely it needs to copy it even using cut. I use ES file explorer for file management. Works great.
Sent from my 710C using XDA Free mobile app
After oem lock
a try to flash via fastboot = error of signature
a try via hboot = error /hboot is older
grrrrr
Edit : Have you got test this http://llabtoofer.com/htc-ruu-flashing-service/?
Allanco2 said:
After oem lock
a try to flash via fastboot = error of signature
a try via hboot = error /hboot is older
grrrrr
Edit : Have you got test this http://llabtoofer.com/htc-ruu-flashing-service/?
Click to expand...
Click to collapse
I have the same error. Is there any solution to this?.
Greetings.
WARNINGS AND INFORMATION
This guide should let you take an OTA update after receiving the message “Can not update software: There was an unexpected error and the file system may be corrupted. Please contact HTC support for future assistance.”
UPDATE August 22, 2016: Through the great work of @nkk71 and @Captain_Throwback, I think it is safe to say that this method will work for any user, in any region, with any security status (S-Off/S-On). Thanks guys!
* This is a living document, so please post details of your results using this method (device variant, successful/unsuccessful).
* This will work on devices that are both s-on and s-off
I am not responsible for any damage to your device or loss of data. However, if you follow these instructions, nothing SHOULD be wiped. Keyword: SHOULD.
You're going to be flashing files here using fastboot commands. If you aren't comfortable doing that, then do not proceed. Use an RUU from HTC to return to 100% stock and then take your update.
ORIGINAL METHOD
STAGE 0 - Gather files
If you don't already know your MID, CID, and current firmware/rom versions, use "fastboot getvar all" from download mode to obtain this information.
Download TWRP System Image and Boot Image Backups for your device. These can be found for most devices in the Stock Backups thread here: http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
Decompress zip file
Copy the entire folder to your TWRP Backup directory on your external SD card (this is going to be /TWRP/Backups/<DeviceSerialNumber>/)
Download the appropriate file below for your device. These files contain stock recovery and a customized android-info.txt that will restore your ability to download and install an OTA
1.80.206.1: HTC10_PMEUHL_1.80.206.1_StockRecovery_EraseDevInfo.zip
1.30.401.1: HTC10_PMEUHL_1.30.401.1_StockRecovery_EraseDevInfo.zip
1.80.401.1: HTC10_PMEUHL_1.80.401.1_StockRecovery_EraseDevInfo.zip
1.80.401.3: HTC10_PMEUHL_1.80.401.1_StockRecovery_EraseDevInfo.zip
1.90.401.5: HTC10_PMEUHL_1.90.401.5_StockRecovery_EraseDevInfo.zip
1.95.401.3: HTC10_PMEUHL_1.95.401.3_StockRecovery_EraseDevInfo.zip
1.95.401.4: HTC10_PMEUHL_1.95.401.4_StockRecovery_EraseDevInfo.zip
1.80.617.1: HTC10_PMEUL_1.80.617.1_StockRecovery_EraseDevInfo.zip
1.91.617.1: HTC10_PMEUL_1.91.617.1_StockRecovery_EraseDevInfo.zip
1.80.709.1: HTC10_PMEUHL_1.80.709.1_StockRecovery_EraseDevInfo.zip
1.92.709.1: HTC10_PMEUHL_1.92.709.1_StockRecovery_EraseDevInfo.zip
1.96.709.5: HTC10_PMEUHL_1.96.709.5_StockRecovery_EraseDevInfo.zip
1.98.709.5: HTC10_PMEUHL_1.98.709.5_StockRecovery_EraseDevInfo.zip
2.41.709.3: HTC10_PMEUHL_2.41.709.3_StockRecovery_EraseDevInfo.zip
1.53.710.6: HTC10_PMEUHL_1.53.710.6_StockRecovery_EraseDevInfo.zip
1.80.710.1: HTC10_PMEUHL_1.80.710.1_StockRecovery_EraseDevInfo
IF YOU NEED A DIFFERENT FILE, PLEASE POST A LINK TO THE OTA FOR THE VERSION THAT YOU NEED THE FILE FOR and I will create the file for you.
STAGE I - Restore stock System_Image backup in TWRP (Go here for more information and help with TWRP: http://forum.xda-developers.com/htc-10/development/recovery-twrp-touch-recovery-t3358139)
Boot to recovery
If prompted, you can select to keep system read-only
From the TWRP home screen, select Mount
Place (or verify) a check in the box to Mount system as read only
Place a check next to system in the partition list to mount
Back to home screen
Select restore
Select the TWRP System Image Backup folder you copied in Stage 0
Check both System Image and Boot
Swipe to begin the restore
When the restore is complete, reboot to DOWNLOAD mode
Back to home screen
Reboot
Download
STAGE 2 - Flash Fix Zip
Type "fastboot oem rebootRUU" to reboot to RUU mode (if you are s-off you can skip this step and flash directly from download mode with the same commands as below)
Type the appropriate fastboot command: "fastboot flash zip NAMEofZIP.zip"
It will flash the rest of the firmware package, when it's finished, issue "fastboot reboot" to reboot to system
That's all there is to it.
Once back in system, try to download the OTA again.
I hope this helps.
Even after restoring stock system from TWRP, I was unable to OTA.
This method totally worked for me. Thanks for putting this together!
x51 said:
Even after restoring stock system from TWRP, I was unable to OTA.
This method totally worked for me. Thanks for putting this together!
Click to expand...
Click to collapse
Awesome. Glad to hear it worked for you.
This step:
"fastboot flash zip SignedFirmware_1.53.617.5-1.21.617.3.zip"
Click to expand...
Click to collapse
won't it take my recovery to 1.53 version? And my system image is 1.21. How will the OTA work if the recovery does not match the system.
I am sorry if this is a dumb question but I am sort of confused.
My history: I had 1.21 stock on a US unlocked version. I unlocked bootloader, installed TWRP, backed up "System Image" and Boot and installed LeeDroid-1.0.0.
Now, I am trying to go back to stock, except that I don't have 1.21 stock recovery. I have already restored System Image and Boot from my TWRP backup.
Will doing the above work for my setup?
devsk said:
This step:
won't it take my recovery to 1.53 version? And my system image is 1.21. How will the OTA work if the recovery does not match the system.
I am sorry if this is a dumb question but I am sort of confused.
My history: I had 1.21 stock on a US unlocked version. I unlocked bootloader, installed TWRP, backed up "System Image" and Boot and installed LeeDroid-1.0.0.
Now, I am trying to go back to stock, except that I don't have 1.21 stock recovery. I have already restored System Image and Boot from my TWRP backup.
Will doing the above work for my setup?
Click to expand...
Click to collapse
Yes it will work. My setup was exactly as you described. Stock recovery is always included in the firmware packages, but isn't always modified and will usually work anyway on versions that are close.
Did it wipe your data?
devsk said:
Did it wipe your data?
Click to expand...
Click to collapse
No, but if this doesn't work then that would be the next step.
Wow, its taking forever to optimize apps.
devsk said:
Wow, its taking forever to optimize apps.
Click to expand...
Click to collapse
How many? You restored system image first, right?
jollywhitefoot said:
How many? You restored system image first, right?
Click to expand...
Click to collapse
Yes.
It looks like this worked. I am now getting the OTA....keeping fingers crossed about it installing the correctly. Then, onto testing my skype/vonage over data.
devsk said:
Yes.
It looks like this worked. I am now getting the OTA....keeping fingers crossed about it installing the correctly. Then, onto testing my skype/vonage over data.
Click to expand...
Click to collapse
Awesome. Glad to hear that.
Interesting. After OTA, its optimizing 54 apps when it optimized 56 before. OTA ate 2 apps? or 2 apps don't need optimization after OTA?
devsk said:
Interesting. After OTA, its optimizing 54 apps when it optimized 56 before. OTA ate 2 apps? or 2 apps don't need optimization after OTA?
Click to expand...
Click to collapse
Not sure. My guess would be two less apps
Everything under control. Thanks a bunch man!!
I'm running rooted stock, S-ON, I followed this guide, and everything is working fine, but I'm getting no OTAs, meanwhile a friend's phone which followed the exact same guide has been receiving them, so I'm trying to follow this guide, but I'm stuck in this part:
jollywhitefoot said:
-snip-
STAGE 2 - Flash signed firmware package
Type "fastboot oem rebootRUU" to reboot to RUU mode (if you are s-off you can skip this step and flash directly from download mode with the same commands as below)
Type "fastboot flash zip SignedFirmware_1.53.617.5-1.21.617.3.zip"
It will flash aboot and run through some initial checks and you will receive "ERROR 90, reboot and re-flush immediately"
The phone should automatically reboot back to RUU mode on it's own, if you end up back in download mode, just retype "fastboot oem rebootRUU" to return to RUU mode (again, if you are s-off and flashing from download mode, you can skip this, also the phone should boot back to download mode, but on occasion, I've seen it reboot to bootloader, in which case, just select reboot to download mode with the volume keys and power button)
once back in RUU mode (or download mode if s-off), re-issue the command "fastboot flash zip SignedFirmware_1.53.617.5-1.21.617.3.zip"
It will flash the rest of the firmware package, when it's finished, issue "fastboot reboot" to reboot to system
-snip-
Click to expand...
Click to collapse
But when I try to do fastboot oem rebootRUU I get this error:
Code:
>fastboot oem rebootruu
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.142s]
finished. total time: 0.142s
htc_fastboot finished. total time: 0.611s
And my phone doesn't appear in adb devices when in download mode. What am I doing wrong?
FenrirMX said:
I'm running rooted stock, S-ON, I followed this guide, and everything is working fine, but I'm getting no OTAs, meanwhile a friend's phone which followed the exact same guide has been receiving them, so I'm trying to follow this guide, but I'm stuck in this part:
But when I try to do fastboot oem rebootRUU I get this error:
Code:
>fastboot oem rebootruu
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.142s]
finished. total time: 0.142s
htc_fastboot finished. total time: 0.611s
And my phone doesn't appear in adb devices when in download mode. What am I doing wrong?
Click to expand...
Click to collapse
That command is case sensitive. "rebootRUU"
And adb doesn't work in download mode.
jollywhitefoot said:
That command is case sensitive. "rebootRUU"
And adb doesn't work in download mode.
Click to expand...
Click to collapse
Thanks that did it. My last phone was a Sony, this is all very new to me.
FenrirMX said:
Thanks that did it. My last phone was a Sony, this is all very new to me.
Click to expand...
Click to collapse
Glad to hear this. It took me a while to figure that one out with my first HTC, too.
So are you able to download ota now?
jollywhitefoot said:
Glad to hear this. It took me a while to figure that one out with my first HTC, too.
So are you able to download ota now?
Click to expand...
Click to collapse
No, I must have messed something else up along the way, I kept getting the system corrupted message, I just flashed the latest RUU and re-rooted. A pain to lose all my data, but well, at least I get no messages anymore when I look for updates.
FenrirMX said:
No, I must have messed something else up along the way, I kept getting the system corrupted message, I just flashed the latest RUU and re-rooted. A pain to lose all my data, but well, at least I get no messages anymore when I look for updates.
Click to expand...
Click to collapse
Sorry to hear that. Too late now, but I'm curious if it was something you were doing or if this method won't work for everyone. Anyway thanks for trying it.
Hello Guys,
I have a problem with my HTC M9 prime Camera Edition yesterday I paid 25 $ for S-Off with sunshine App everything was working great (great App thanks)
after that my phone was S-OFF i was excited and wanted to flash a other Stock Rom but something went wrong and my download mode is deleted now or not more availlable.
Information about my Phone: HTC_Himar 128 SHIP S-OFF
before CID was HTC__034 CID
before MID was 2PRG10000 MID
LK-1.01.0000
OS-2.18.401.10
Bootloader UNLOCKED
The device is rooted and recovery is twrp-3.0.2-0-himar
Android version: marshmallow 6.0
What i did is i wanted to flash the 3.35.401.12-Firmware to change my stock i did it with renaming the file in 0PJAIMG.zip and flashing with sd card in download mode
file could be not flashed some zip error displayed i rebooted the phone everything was ok no problems after that.
I also changed the MID before flashing to: OPJA10000 and CID to HTC__J15. After that i wanted to try it again with the firmware from xda forum 3.35.401.12-Firmware.zip
Phone was flashing the file after that i rebooted and i opened the developer options to check the firmware info but the firmware stayed the same 2.18.401.10
and after that i wanted to reboot to Download mode but it seems after the last flash the Download mode is deleted or missing.
I can boot into Bootloader mode recovery twrp is working very fine system is working very fine everything is working just the problem is that i want the download mode back
but i can´t flash my stock rom without download mode. I was sitting yesterday half night and reading and searching for solutions and help, but withoud success so im now here and hope that someone of u guys
can help me to solve my problem. The thing is that i wanted to change my stock because i am not able with the 2.18.401.10 to flash any custom rom for the M9 nothing is working for example the viper rom
or cyanogenmode also the recovery name is different for my HTC M9 prime CE name is himar and on the M9 original is hima nothing is working for this phone..... please help
You cant flash hima firmware to himar device. They are completely different. You have to change your cid and mid to stock. Then find a ruu compatitible with your phone.
---------- Post added at 19:56 ---------- Previous post was at 19:53 ----------
There is no custom rom for this phone.
---------- Post added at 20:04 ---------- Previous post was at 19:56 ----------
Follow instructions.
http://forum.xda-developers.com/showpost.php?p=67682147&postcount=17
But first open firmware.zip copy aboot img to fastboot folder. Flash it at bootloader. Then try to boot in download mode and flash ruu
Hello first of all thank u for ur fast reply yes now i know it the think is that i cant change the CID and MID more in bootloader mode only in Download mode
the second thing is i have already 2 or 3 versions of my original Firmware already on my pc but when i open the file there is no aboot img file i wanted exact to go this way
in my firmware.zip is only boot.img recovery img and system.img i tried also to flash with bootloader system image or the firmware.zip but i get this error FAILED (remote: partition table doesn't exist) i dont no how to get the download mode back again without the aboot.img...... some ideas? im thankfull for everything
Can anyone help and tell me maybe where i can get the a boot file
for my phone to recover or to flash the download mode ???
adi0071 said:
Can anyone help and tell me maybe where i can get the a boot file
for my phone to recover or to flash the download mode ???
Click to expand...
Click to collapse
I never had such a problem, as i never had S-OFF, i believe it is not possible to do something like this with S-ON, but what i think can fix your problem is flashing stock RUU.
Try to find stock RUU for your phone and than flash it using fastboot from Windows/Mac/Linux without going to download mode....
You don't need to relock your bootloader with S-OFF, just use http://forum.xda-developers.com/showthread.php?t=2588979 for Windows:
1) Rename your RUU zip file into rom.zip
2) Use cmd and type:
fastboot oem rebootRUU
3) Now your have to see black screen with silver HTC letters in the center. Make sure your rom.zip file is in your adb/fastboot folder, if you did not install adb system-wide:
fastboot flash zip rom.zip
4) This takes a couple minutes and you will most likely get a error:
"pre-hboot update: please flush immediately"
5) Make sure device is still in OEM mode (black screen with silver HTC letters ). If not - use again:
fastboot oem rebootRUU
Basically, anytime you get a "flush immediately" error, you need to flash two time rom.zip in OEM mode.
6) Now simply flash again the rom.zip:
fastboot flash zip rom.zip
It should work this time and after flashing your stock RUU it should reboot you to the system with all stock modules installed to your phone, including Download Mode.
At the moment i don't have any other idea you can fix it... try it first, hopefully it will work for you
Hey all,
I recently updated my HTC 10 Developer Edition to Nougat using the RUU provided by HTC, and I think I ****ed my phone up something awful.
After updating, I was messing around trying to get TWRP working, and while in download mode, I ran fastboot erase recovery followed by fastboot flash recovery <TWRP.img>. This didn't appear to do anything, but I now cannot get my phone to boot into download mode. Is there a fix for this?
Things I've tried (none of them have worked)
- power + volume down
- adb reboot bootloader and selecting "boot into download mode"
- Re-running the RUU
- Factory reset
- Using SunShine to get s-off (can't get temproot)
I had problems getting into download mode after running the ruu. To fix them I formatted a sdcard as FAT storage and copied an official update.zip (search the forums something like 2PS6img.zip or something).
Booting into download mode with that sdcard installed allowed me to flash the update and fixed the broken ruu.
Note that it really needs to be a FAT formatted sdcard. My normal sdcard would not work.
crpalmer said:
an official update.zip (search the forums something like 2PS6img.zip or something).
Click to expand...
Click to collapse
I followed a guide for getting a zip from the official RUU, is that the one you're talking about?
crpalmer said:
Note that it really needs to be a FAT formatted sdcard. My normal sdcard would not work.
Click to expand...
Click to collapse
Do you know if it's possible to format a 64GB SD card to FAT?
Thank you for your reply!
alternative is to flash the hosd image, usually titled hosd_signed.img. Use command:
(htc_)fastboot flash hosd hosd_signed.img
nerodarknight said:
alternative is to flash the hosd image, usually titled hosd_signed.img. Use command:
(htc_)fastboot flash hosd hosd_signed.img
Click to expand...
Click to collapse
Where do I get hosd_signed.img?
do you have the OTA zip for your variant, unzip it and you will find a firmware.zip, change to end to rar and extract, you will have some img files, among them will be hosd_signed.img
EDIT: Never mind, I found a link to the official OTA zip here. I'll try flashing hosd_signed.img
EDIT 2: I ran adb reboot-bootloader followed by fastboot flash hosd hosd_signed.img, yet I still cannot boot into download mode. The error persists.
nerodarknight said:
do you have the OTA zip for your variant, unzip it and you will find a firmware.zip, change to end to rar and extract, you will have some img files, among them will be hosd_signed.img
Click to expand...
Click to collapse
I followed this guide to get rom.zip from the most recent developer edition RUU (RUU_PERFUME_WL_N70_SENSE80GP_MR_NA_Gen_Unlock_2.28.617.8.exe), but when I try to extract rom.zip with 7-zip, I get a file structure like this. Then, when I try to open one of those zip_xx.zip files, I get this error
Is there something I'm missing? How do I get img files from the RUU zip?
oh, since you are on Nougat there might be something different, but it should have worked as these are images, not dependent on the firmware version. Maybe you could try the command with htc_fastboot and not the generic fastboot
nerodarknight said:
oh, since you are on Nougat there might be something different, but it should have worked as these are images, not dependent on the firmware version. Maybe you could try the command with htc_fastboot and not the generic fastboot
Click to expand...
Click to collapse
I'll try that, thanks
Edit: It didn't work, unfortunately. I'm going to take a crack at what crpalmer said.