Welcome To The T-Mobile HTC One (M9) System Dumps, RUUs, OTAs, Stock TWRP Backups, Firmware Thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Information You Should Know
S-OFF Is Available and Recommended, Download and Run Sunshine (Only $25)
After You S-Off, You May Notice Your Internal Memory Is 3GB Short. This Is Because S-Off Devices Are Supposed To Be Seen As "Tester" Devices. To Reclaim Those 3GB Of Space, Navigate To: /system/bin/ And Rename The "hrdump" File To "hrdump.bak" After That, Navigate To /data/ And Delete The Two hrdump file's. (You'll Notice One Of Them Is 3GB!!!)
All Guides For This Thread Can Be Found Here. (How To Return System Back To Read Only For OTA's/How To Run RUU's & SDCard RUU's & More...)
Just an extra heads up, things have changed a bit with this device and how the system partition works. As of TWRP 2.8.6.0, you'll notice the mount system button is missing (for now at least.)
Read more by pressing CLICK TO SHOW CONTENT:
Captain_Throwback said:
Frequently Asked Questions (FAQ)
Why is this device different than my previous HTC device?
With the M9, HTC has moved to a block-based OTA system. This means that even mounting system as read-write (as TWRP typically does during startup checks) will nullify the device's ability to take an OTA. Any other changes to the system partition will also cause an OTA to fail (even if that check is removed from the OTA zip) due to "unexpected contents."
Which version of TWRP am I supposed to use?
Right now, the latest Beta version (2.8.6.4) is the best version to use.
Where do I download the Beta version of TWRP?
The link to the Beta versions of TWRP can be found below the FAQ. Mirror links have also been provided.
Why don't you just update the official TWRP?
Because while there are fixes for the broken items on the TWRP gerrit, they first need to be tested to make sure they don't negatively impact other devices. The items that are fixed in the Beta but haven't been merged to the official yet are:
Backup: fix 'out of memory' issue when backing up large partition as image
[WIP] gui: stock theme rework
Fix setting ro.product.model on unified devices
bootloader: align with AOSP code
buildinfo: only set ro.build.product on non-unified devices
partition: support texfat module
In order to have a version with the most up-to-date code and compatibility for the M9, I have built the Beta versions on my personal BuildBox for the community.
How am I supposed to root?
If you would only like to root via SuperSU, after making a stock backup, flash the BETA version of SuperSU posted here which properly mounts system, even when TWRP has it mounted read-only.
I tried to install x ROM, but it won't boot. Should I use TWRP 2.8.5.0 to flash it?
No, you shouldn't. You should use the version of TWRP recommended above. If the ROM updater-script is done properly, even if your device has system mounted read-only, the ROM should still flash fine. If your ROM chef/team has chosen to mount the partitions some other way, then you may have to mount system manually in order for the ROM to flash successfully. The command for doing that can be found here. The very act of booting 2.8.5.0 will change the system checksum, making it impossible to get a fully stock backup.
So what's the proper procedure to root without breaking OTA?
There is no way to take an OTA after you root. However, prior to rooting, you can take a fully untouched system backup with TWRP, which can be used to restore a fully stock system to the device in order to take an OTA. As long as you use one of the TWRP Beta versions (or newer) to make an initial backup, you will have a valid system image over which an OTA will apply.
How do I backup stock recovery prior to flashing TWRP?
You can't. The "fastboot boot" command appears to be disabled on the M9's ABOOT, so TWRP must be fastboot flashed over stock recovery. The firmware zip included in the OTA will include a usable stock recovery image. That can be extracted and flashed after stock system is restored so that the OTA can be applied.
How do I restore stock system so that I can accept an OTA?
Copy the system.emmc.win from your TWRP backup folder to the folder containing fastboot on your PC (or any folder, if fastboot is in your PATH). Make sure your Android SDK platform-tools are up to date!!
Reboot the device into Download mode (adb reboot download) and connect to PC.
Fastboot flash the backup file* (fastboot flash system system.emmc.win).
Fastboot flash stock recovery (fastboot flash recovery recovery_signed.img)
Reboot to system, install OTA.
* In some cases, fastboot flashing the backup file results in a non-booting system or still results in an "unexpected contents" error when the OTA attempts to apply. In these cases, it's necessary to also restore the system backup via TWRP. Then the OTA should apply properly (once stock recovery is flashed again).
Why can't I just restore my system backup in TWRP to take the OTA? Why do I have to fastboot flash it?
If you've made a stock backup and want to return to stock after already modifying system, you will not just be able to restore that backup with the TWRP GUI. With system mounted as read-write, the checksum will be changed as soon as the restore is completed, which will cause the OTA to fail (unless you're using the official 2.8.6.0 which ONLY mounts system read-only).
How do I know if system is mounted read-only in TWRP?
The easiest way to tell this is to look in the "Mount" menu. If you don't see system there, then it's mounted read-only. Conversely, if you do see it there, it's mounted read-write.
TWRP says "No OS Installed" when rebooting. What do I do?
Carry on. This just means that TWRP was booted up with system in read-only mode. If you performed any operations that wrote to system during the recovery session, you will not see that message on subsequent reboots.
What if I have an RUU? Do I need to worry about all this OTA nonsense?
Not if you don't care about losing all your data. If you're S-ON and have an RUU available for your exact variant (model ID and CID must match) and software number (main version must be the same or newer), then you can get back to a fully stock state by relocking (fastboot oem lock) and flashing an RUU. However, if you'd prefer to take an OTA to keep your data intact, the method stated above is how to do so. Or, you can just run a custom ROM and wait for your ROM chef to update their ROM to the latest software (though you'll still have to find a way to update your firmware if you're not S-OFF)
After I go through all this and successfully apply an OTA, how do I make sure I have a clean starting point again?
After the OTA is applied and TWRP is flashed, it will once again detect an untouched system, which will mount system read-only and allow you to make a fully stock backup and start the process over again, this time with the new base.
Beta versions with system backup fixed for stock devices and device detection for system read-write support
Mirror 1 for Beta versions
Mirror 2 for Beta versions
Hima-Specific Peculiarities/Issues
IT IS NOT RECOMMENDED TO USE ANY VERSION OF TWRP PRIOR TO 2.8.6.0. The previous version(s) mount system read-write and will break the system checksum on initialization, making it impossible to get a fully stock system backup.
As of TWRP 2.8.6.0, in order to preserve system intergrity to complete a fully stock system backup, system is mounted as read-only. System WILL NOT SHOW in the "Mount" menu when mounted read-only, however it can still be backed up via the TWRP GUI. NOTE: The official TWRP 2.8.6.0 will fail to backup system properly. You MUST use one of the beta versions linked above to properly backup system!
Current TWRP "bugs" for Hima
Screenshot capability is currently broken (64-bit bug?)
MTP is disabled (for now) because it will require a custom kernel, and we currently lack kernel source. MTP is now functional with the 2.8.6.4 Beta release.
Wiping Internal Storage in TWRP causes force closes when booted into Android (upstream bug) - Workaround: Follow the instructions in this post to fix.
Beta Changelog
2.8.6.0 (CPTB)
System backup fixed
Detection enabled for system rw support
If system is untouched, system will be mounted read-only. This will allow a fully stock backup to be taken, which can be fastboot flashed later to restore system integrity so an OTA can be applied
If system checksum has been changed, system will be mounted read-write.
2.8.6.2
Stock exFAT module added for more reliable, better exFAT support (replaces exfat-fuse from stock TWRP)
2.8.6.3
Custom init fixed for model and device detection of variants (under-the-hood update)
2.8.6.4
MTP fixed!
NTFS support added
F2FS support added
Kernel rebuilt and compiled with Linaro 4.9 toolchain
Updated recovery curtain to match beta theme (thanks @z31s1g)
(Test Feature) Added recovery as a backup option so that stock recovery can be restored from GUI if named "recovery.emmc.win" and placed in backup folder (this makes it easy for me to return to stock)
Device specific page on our website
Download link to current and past versions
Click to expand...
Click to collapse
If your system-mount button is present in TWRP 2.8.6.0 & above, you are already affected by this and will not be able to receive and install OTA updates. To save the day, some users were nice enough to make full untouched-stock TWRP backups for us to use and get the "*Official*" status back.
@DunningKrugerEffect has a thread on how to unlock your bootloader, install TWRP, and root your T-Mobile HTC One (M9). He also has a lot of information I highly recommend everyone reads!
Downloads
By downloading any of the following files below and running any one of them on your device, you assume your own responsibilities because I will not be held responsible for any damages, but I am here to help.
System Dumps:
System Dumps Are Great For Rom Dev's To Start A Rom With. My System Dump Folders Can Be Accessed Here.
1.32.531.33
Previous Versions:
1.32.531.25
RUU Downloads:
My RUU Folders Can Be Found Here.
Click here for instructions on how to flash RUU files.
2.7.531.6 EXE Official RUU From HTC
1.32.531.33 EXE Official RUU From HTC | Mirror
1.32.531.33 Fastboot/SD Card Flashable | Mirror
Previous Versions:
1.32.531.25
OTA Downloads:
1.32.531.33 To 2.7.531.6
Previous Versions:
1.32.531.25 To 1.32.531.33
Stock Nandroid Downloads:
Read here on how to restore your "System" partition back to original "untouched" status for OTA updates and how to restore downloaded TWRP backups.
Google Drive / MEGA links to my backups folder. It includes each part of the backup available for individual download, or you can download the entire zip. Your choice!
1.32.531.33
Previous Versions:
1.32.531.25 (Only Contains Boot & System) | Mirror
User provided backups:
1.32.531.25 (W/ Data Partition) Thanks @xxquicksh0txx!
1.32.531.25 Thanks @Prasad!
Firmware Zips:
*My Firmware Folders Containing The Files Can Be Found Here.
*Stock Firmware Zips Wipe Data, If Your S-OFF, Use The Modded Zips That Do NOT Wipe Data.
1.32.531.33 Full Firmware | Mirror
Modded 1.32.531.33 Firmware Zip S-OFF Only (Removed Aboot, Kernel, Stock Recovery & Also Removed The Script That Wipes Data.)
Previous Versions:
Full 1.32.531.25 Firmware (Beware, Wipes All User Info & Settings)
Modded 1.32.531.25 Firmware Zip S-OFF Only (Removed Aboot, Bootloader, Kernel, Stock Recovery & Also Removed The Script That Wipes Data.)
Stock Recovery:
Boot into Download Mode (PWR+Vol.Dwn)>fastboot flash recovery recovery_signed.img
1.32.531.33
Previous Versions:
1.32.531.25
General Files:
BusyBox 1.23.2 & SQLite 3.8.7.4 Installer Packaged By Rydah805
Feel Free To Follow Me On Twitter, @ThisIzRydah.
Thanks For Stopping By,
Rydah805
Do I specifically need to use the beta build? TWRP 2.8.6.0 final is out!
Prasad said:
Do I specifically need to use the beta build? TWRP 2.8.6.0 final is out!
Click to expand...
Click to collapse
The "final" version has bugs that the beta version has fixed, more in particular, being able to backup system. The beta isn't labeled with a older or newer version as the "final" build, but is newer and made by the same man managing TWRP, @captainthrowback.
Sent From My HTC One (M9)
Rydah805 said:
The "final" version has bugs that the beta version has fixed, more in particular, being able to backup system. The beta isn't labeled with a older or newer version as the "final" build, but is newer and made by the same man managing TWRP, @captainthrowback.
Sent From My HTC One (M9)
Click to expand...
Click to collapse
I flashed the stock TWRP 2.8.6.0 first and now the beta.. hope there won't be any issues because I flashed the stock one first? Also, I'm about to root the phone with SuperSU. Should I only backup Boot/System and not Data?
Prasad said:
I flashed the stock TWRP 2.8.6.0 first and now the beta.. hope there won't be any issues because I flashed the stock one first? Also, I'm about to root the phone with SuperSU. Should I only backup Boot/System and not Data?
Click to expand...
Click to collapse
Yes, back up
Sent From My HTC One (M9)
Prasad said:
I flashed the stock TWRP 2.8.6.0 first and now the beta.. hope there won't be any issues because I flashed the stock one first? Also, I'm about to root the phone with SuperSU. Should I only backup Boot/System and not Data?
Click to expand...
Click to collapse
Please post your backup of the system and boot.
Sent From My HTC One (M9)
Rydah805 said:
Please post your backup of the system and boot.
Sent From My HTC One (M9)
Click to expand...
Click to collapse
Add to OP:
https://www.androidfilehost.com/?fid=95916177934549111
Prasad said:
Add to OP:
https://www.androidfilehost.com/?fid=95916177934549111
Click to expand...
Click to collapse
Downloading and testing. Thanks bro.
Sent From My HTC One (M9)
So I can just flash this with the beta 2.8.6.0 twrp?
ledvedder said:
So I can just flash this with the beta 2.8.6.0 twrp?
Click to expand...
Click to collapse
I have not been able to test this, but I've been in contact with @Captain_Throwback and he has mentioned that the system backup would need to be flashed via fastboot for now. Please see this post for info. http://www.google.com/url?q=http://...sntz=1&usg=AFQjCNF2dNQrtDs8K0Sxs7yhe9G47INM8A
I am updating my android tools (adb/fastboot) and will soon try, but I trust this man, as he is the one maintaining TWRP for the M9, as well as he is legend on here.
Rydah805 said:
I have not been able to test this, but I've been in contact with @Captain_Throwback and he has mentioned that the system backup would need to be flashed via fastboot for now. Please see this post for info. http://www.google.com/url?q=http://...sntz=1&usg=AFQjCNF2dNQrtDs8K0Sxs7yhe9G47INM8A
I am updating my android tools (adb/fastboot) and will soon try, but I trust this man, as he is the one maintaining TWRP for the M9, as well as he is legend on here.
Click to expand...
Click to collapse
OK, so I need a T-Mobile system.img file for that?
ledvedder said:
OK, so I need a T-Mobile system.img file for that?
Click to expand...
Click to collapse
yes, which is in OP with two available links to download.
Rydah805 said:
yes, which is in OP with two available links to download.
Click to expand...
Click to collapse
But those are nandroid zip files?
My apologies for my ignorance. I'm fairly new to this and still learning.
ledvedder said:
But those are nandroid zip files?
My apologies for my ignorance. I'm fairly new to this and still learning.
Click to expand...
Click to collapse
lets wait a minute before doing this. I'm unable to boot at the moment. . .:crying:
Hi, is there a way for you to get tmous radio?
epsix said:
Hi, is there a way for you to get tmous radio?
Click to expand...
Click to collapse
not yet, or that i know of. i can see in a few if i get my device booted back up. :crying::crying::crying:
Okay, got my device booted back up. Guys, please wait til I figure an exact step by step on how to do this and maintain system checksum for OTA's.
Thanks to @Captain_Throwback for all the help.
Sent From My HTC One (M9)
Rydah805 said:
Okay, got my device booted back up. Guys, please wait til I figure an exact step by step on how to do this and maintain system checksum for OTA's.
Thanks to @Captain_Throwback for all the help.
Sent From My HTC One (M9)
Click to expand...
Click to collapse
Any news?
How To Restore System For OTA's/Restore TWRP Backups
How To Restore TWRP Backups Downloaded Online
Download The TWRP Backup Zip of Choice From OP.
Once Download Is Complete, Unzip The Backup and Place It In Your TWRP Folder (/sdcard/TWRP/BACKUPS/YOURSERIAL#/BackupFolderGoesHere or /storage/ext_sd/TWRP/BACKUPS/YOURSERIAL#/BackupFolderGoesHere)
Reboot To TWRP
Select The Restore Option
Check Mark The Partitions You Are Going To Restore
Start Restore
Once Restore Is Complete, Reboot To System. (TWRP May Say "No OS Installed," Ignore That.)
How To Run RUU ".exe" Files
***This Method Is Windows ONLY. If You Are Running Any Other OS, Please Use The ".zip" File Method.***
Download The RUU ".exe" File From O.P.
Once Downloaded, Run The RUU Like You Would Any Other Windows Installer
Follow The Directions and Prompts
How To Run RUU ".zip" Files
***Before attempting to run an RUU ".zip" file, make sure you download and use the fastboot file attached to this post.***
Method 1: Fastboot
Boot into download mode. (Vol-DWN+PWR)
Place the RUU ".zip" file in the same location as the htc_fastboot.exe file that is provided.
Rename the downloaded RUU to "0PJAIMG.zip"
Run the following command:
Code:
htc_fastboot.exe flash zip 0PJAIMG.zip
Output Should Look Like:
Code:
C:\Users\ThisIzRydah\Downloads>htc_fastboot.exe flash zip 0PJAIMG.zip
< waiting for device >
sending 'zip'... (108758 KB) OKAY
sending time = 4.913 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.916 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.908 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.918 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (403796 KB) OKAY
sending time = 27.798 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (433609 KB) OKAY
sending time = 29.656 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (494516 KB) OKAY
sending time = 33.973 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (403257 KB) OKAY
sending time = 29.234 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (249903 KB) OKAY
sending time = 18.592 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
sending 'zip'... (10849 KB) OKAY
sending time = 1.731 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY
Flash Zip Complete
Execution time is 271(s)
Sit back and let it do it's thing. Once done, reboot and enjoy.
Method 2: On Device
Format Micro SD Card In FAT32 Format
Download An RUU.zip From O.P.
Rename The Downloaded RUU.zip To "0PJAIMG.zip"
Place The "0PJAIMG.zip" File On Root Of Micro SD Card
Reboot Into Download Mode (With The Device Off, Press: Vol. DWN + PWR)
The Device Will Scan For "0PJAIMG.zip"
Once Found, Confirm On The Device To Run The RUU
Sit Back While It Does It's Thing
* If The Process Didn't Work For You, Remember The SD Card Has To Be In FAT32 Format To Be Read In Download Mode
* The Device Will Automatically Reboot and May Appear To Be Frozen, Do Not Panic, It'll Work Out Just Fine.
How To Return System To "Untouched" Status For OTA Updates
Prerequisites:
Knowledge on how to use Fastboot
Latest android platform-tools (fastboot/adb and all that good stuff.)
Knowledge on how to use TWRP
Running TWRP 2.8.6.4 (preferably the latest beta version made by @Captain_Throwback)
System Partition From A TWRP Backup (Download From OP)
Start Here:
Turn off your device
Boot into download mode (down+pwr)
Run The Following Command In Fastboot
fastboot flash system system.emmc.win (place the system.emmc.win in the same folder as your fastboot.) Once it's completed the flash via fastboot, with the device still being in download mode, it'll say complete, press power to continue. Press power to continue.
Output Should Look Like:
Code:
FIXING CODE
Boot to TWRP.
Check the "Mount" menu in TWRP to verify that system is NOT listed.
Restore the nand backup from OP and only select Boot & System.
Sit and wait for restore to complete...
Reboot recovery.
Check the "Mount" menu in TWRP to verify that system is NOT listed.
Reboot to system. (TWRP may say no is is installed. Ignore that.)
Rydah805 said:
Had to take time to be with my pregnant wife and son, but I'm on spring break at work (got to love working at a school) so as they'll be gone today, I'll take a last test. After thinking of what I did all day yesterday to get my phone back up and booted, I believe I know the steps needed to restore the official status.
This is what I did yesterday: (Note: this includes using fastboot)
1: Turn off your device
2: Boot into download mode (down+pwr)
Now your going to manually push the system backup via fastboot command. According to @Captain_Throwback, which worked, TWRP needs to see an untouched system in order to restore an untouched backup. Captain_Throwback had advised to run the command in bootloader mode, but that failed on my device due to what looks like S-ON. Download mode worked fine for me though.
3: fastboot flash system system.emmc.win (place the system partition from the TWRP backup in the same folder as your fastboot/adb tools.)
It'll go through a series of flashes that look like a loop of endless system flashes, just wait it out, you'll eventually see the command finish pushing on command prompt or terminal. Once it's completed the flash via fastboot, on the device still being in download mode, it'll say complete, press power to continue. Press power to continue.
4: Boot to TWRP.
5: Check the "Mount" menu in TWRP to verify that system is NOT listed.
6: Restore the nand backup from OP and only select Boot & System.
7: Sit and wait for restore to complete...
8: Reboot recovery.
9: Check the "Mount" menu in TWRP to verify that system is NOT listed.
10: Reboot to system. (TWRP may say no is is installed. Ignore that.)
Sent From My HTC One (M9)
Click to expand...
Click to collapse
So, you used the content of the nand backup in the OP twice? Once to push system.emmc.win via fastboot, and again to flash via TWRP?
Also, what version of TWRP? I currently have 2.8.5.0 installed.
Is there a version of stock recovery available, if needed?
Related
First time I post on this messageboard. I have issues with my Incredible S and because I have tried everything available on the internet and here, I decided to make a thread. I'm thankful for any response I get.
Technical Background:
S-ON
Unlocked with HTCDEV key
HBoot 2.00.0000
ClockWorkMod Recovery
(Currently no rom installed, had CM7)
Background for not working:
I decided to wipe Dalvik cache and cache on the phone, and CM7 ended up being in a bootloop. ClockWorkMod Recovery complains about:
Code:
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
... etc.
I've tried to install RUU, but it hangs during the process of "restarting into bootloader"
I've tried to install stock rom through SDCard, but it complains about zip-file integrity. (even though I've checked MD5 checksums etc.)
According to "adb shell dmesg" everything seems to be fine in regards of the chip, except from this:
Code:
[11.368560] EXT4-fs (mmcblk0p27): VFS: Can't find ext4 filesystem.
Assume this is part of the /cache partition?
---
So, to start somewhere, I need help to figure out why the phone get's unresponsive when I issue commands from fastboot, like the following:
Code:
fastboot oem rebootRUU
fastboot flash recovery cwm-4.0.1.4-vivo.img
I have to take the battery out to make the phone responsive again.
Another thing, when I press "reboot bootloader" inside HBOOT(on the phone) it also hangs.
What can I do to make my phone operative again?
dabih said:
First time I post on this messageboard. I have issues with my Incredible S and because I have tried everything available on the internet and here, I decided to make a thread. I'm thankful for any response I get.
Technical Background:
S-ON
Unlocked with HTCDEV key
HBoot 2.00.0000
ClockWorkMod Recovery
(Currently no rom installed, had CM7)
Background for not working:
I decided to wipe Dalvik cache and cache on the phone, and CM7 ended up being in a bootloop. ClockWorkMod Recovery complains about:
A
Code:
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
... etc.
I've tried to install RUU, but it hangs during the process of "restarting into bootloader"
I've tried to install stock rom through SDCard, but it complains about zip-file integrity. (even though I've checked MD5 checksums etc.)
According to "adb shell dmesg" everything seems to be fine in regards of the chip, except from this:
Code:
[11.368560] EXT4-fs (mmcblk0p27): VFS: Can't find ext4 filesystem.
Assume this is part of the /cache partition?
---
So, to start somewhere, I need help to figure out why the phone get's unresponsive when I issue commands from fastboot, like the following:
Code:
fastboot oem rebootRUU
fastboot flash recovery cwm-4.0.1.4-vivo.img
I have to take the battery out to make the phone responsive again.
Another thing, when I press "reboot bootloader" inside HBOOT(on the phone) it also hangs.
What can I do to make my phone operative again?
Click to expand...
Click to collapse
A couple of comments I noticed.
1. To reflash a RUU you need to have the bootloader relocked.
2. You don't have the latest version of CWM installed. Current version is 5.0.2.0
3. Do you have a file named PG32IMG.zip on the phone? If you do, that would hamper you getting into FASTBOOT USB mode.
4. Does the command: fastboot devices
Return the device serial number or does it hang too?
5. When you flashed CM7 did you manually flash the boot.img in Fastboot mode? This is required when you have an unlocked bootloader.
Try to relock the bootloader and unlock again. Then flash a newer version of the recovery. The latest of cwm is now 5.0.2.0
Sent from my HTC One X using XDA
Same thing happened to me when i flashed arhd 2.3.0....it went into a boot loop!
now incs does this..
what i did was flash the boot.img of the kernel again.
HBOOT 1.16 does some weird stuff and tends to cause issues; I think it interferes with the installation of the boot.img that ordinarily would be flashed with the ROM. Anyhow, grab the ROM that you downloaded earlier (CyanogenMod, in my example), and on your PC, unzip the file somewhere. Once unzipped, inside you'll see a file called "boot.img". Put this in the same folder as your other Android tools that you used earlier. Power your phone on, hold volume down, and instead of loading recovery by choosing "recovery", choose "usb fastboot".
Open up your command prompt again (Start > Run > "cmd"), and type (using the "android" folder for this example):
fastboot flash boot boot.img
hope it helps,
Thank you for replying, all of you.
If I could just reflash recovery. The phone get's stuck whenever fastboot/hboot tries to write the recovery image or the boot images. I'm stuck in the middle until I find out what this is caused by.
tpbklake said:
A couple of comments I noticed.
1. To reflash a RUU you need to have the bootloader relocked.
2. You don't have the latest version of CWM installed. Current version is 5.0.2.0
3. Do you have a file named PG32IMG.zip on the phone? If you do, that would hamper you getting into FASTBOOT USB mode.
4. Does the command: fastboot devices
Return the device serial number or does it hang too?
5. When you flashed CM7 did you manually flash the boot.img in Fastboot mode? This is required when you have an unlocked bootloader.
Click to expand...
Click to collapse
1. I've run "fastboot oem lock" to lock before RUU.
2. I can't update the recovery. When I try to update CWM (either through SDcard or fastboot) it fails during "writing". In HBOOT the phone locks, telling me not to power off the phone while "update" is being applied. Same goes for the fastboot method. The phone get's unresponsive.
3. I have the PG32IMG.zip only when I want to boot the update/image.
4. It returns the device. I can also do whatever I want on the phone shell. (create folders/run compiled C/delete files/chmod/format/mke2fs et. al). I can "push" files to the phone just fine too.
5. When I manually flash the boot.img in Fastboot it hangs like the scenarios mentioned above when it starts "writing"
Code:
C:\android>fastboot.exe flash recovery recovery.img
sending 'recovery' (5386 KB)...
OKAY [ 1.676s]
writing 'recovery'...
Code:
C:\android>fastboot.exe flash boot "IceColdSandwich-7.2-vivo (1)\boot.img"
sending 'boot' (2164 KB)...
OKAY [ 0.788s]
writing 'boot'...
^C
Code:
C:\android>fastboot.exe getvar mainver
mainver: 3.08.405.3
finished. total time: 0.003s
Code:
C:\android>fastboot.exe getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.0000
(bootloader) version-baseband: 3822.10.08.28_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.08.405.3
(bootloader) serialno: HT18xxxxxxxxx
(bootloader) imei: 35xxxxxxxxxxxx
(bootloader) product: vivo
(bootloader) platform: HBOOT-7630
(bootloader) modelid: PG3213000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3959mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-af9874be
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.025s
dabih said:
Thank you for replying, all of you.
If I could just reflash recovery. The phone get's stuck whenever fastboot/hboot tries to write the recovery image or the boot images. I'm stuck in the middle until I find out what this is caused by.
1. I've run "fastboot oem lock" to lock before RUU.
2. I can't update the recovery. When I try to update CWM (either through SDcard or fastboot) it fails during "writing". In HBOOT the phone locks, telling me not to power off the phone while "update" is being applied. Same goes for the fastboot method. The phone get's unresponsive.
3. I have the PG32IMG.zip only when I want to boot the update/image.
4. It returns the device. I can also do whatever I want on the phone shell. (create folders/run compiled C/delete files/chmod/format/mke2fs et. al). I can "push" files to the phone just fine too.
5. When I manually flash the boot.img in Fastboot it hangs like the scenarios mentioned above when it starts "writing"
Code:
C:\android>fastboot.exe flash recovery recovery.img
sending 'recovery' (5386 KB)...
OKAY [ 1.676s]
writing 'recovery'...
Code:
C:\android>fastboot.exe flash boot "IceColdSandwich-7.2-vivo (1)\boot.img"
sending 'boot' (2164 KB)...
OKAY [ 0.788s]
writing 'boot'...
^C
Code:
C:\android>fastboot.exe getvar mainver
mainver: 3.08.405.3
finished. total time: 0.003s
Code:
C:\android>fastboot.exe getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.0000
(bootloader) version-baseband: 3822.10.08.28_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.08.405.3
(bootloader) serialno: HT18xxxxxxxxx
(bootloader) imei: 35xxxxxxxxxxxx
(bootloader) product: vivo
(bootloader) platform: HBOOT-7630
(bootloader) modelid: PG3213000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3959mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-af9874be
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.025s
Click to expand...
Click to collapse
Ok so you did relock before running he RUU. Did you manually run they RUU or did you extract the ROM.zip and copy it to your SD card as PG32IMG.zip?
After that failed, did you then unlock again before trying to update the recovery or flash the boot.img?
tpbklake said:
Ok so you did relock before running he RUU. Did you manually run they RUU or did you extract the ROM.zip and copy it to your SD card as PG32IMG.zip?
After that failed, did you then unlock again before trying to update the recovery or flash the boot.img?
Click to expand...
Click to collapse
Actually I tried to do both, because this is actually my first time fiddling with the phone at this level. (I'm a programmer, but not a phone expert).
1a. I ran RUU both when phone was unlocked (not locked or relocked) and locked (oem lock)
1b. I've done both ROM.zip (sdcard method, PG32IMG.zip) and the PC version (*.exe)
In total 4 different combinations instead of 2 due to my lack of knowledge/understanding of lock/unlocked state of the bootloader.
Though all combinations fail at some point.
2a. PC Version RUU fails at "rebooting to bootloader". (Can wait up to 60 min, nothing happens even though it says wait 10 minutes. It is just stuck, as with the phone. Have to take the battery out.)
2b. Bootloader approach loads the Image just fine, (the blue progressbar up in the right corner) but gives me an error about ZIP file being corrupted or something. It's hard to see what it actually says because the screen returns to the bootloader menu very fast.
So. What I want at this point, would be RUU the phone, then revert back to my custom ROM. So maybe we can figure out how we can have the RUU work sucessfully.
I'm using this RUU:
Code:
RUU_VIVO_SENSE30_S_HTC_WWE_3.08.405.3_Radio_20.4802.30.0822U_3822.10.08.28_M_release_227170_sig.exe
It has the SAME radio that was on the phone before I installed CM7 a few months ago. It's the same android/sense version also. (My GF has the same phone)
I've also tried with this RUU:
Code:
RUU_VIVO_SENSE30_S_HTC_WWE_3.11.405.2_Radio_20.4805.30.0822U_3822.01.08.14_M_release_252414_signed.exe
Here are some more details on the filesystem etc.
Code:
~ # ls
boot init sys
cache init.rc system
data proc tmp
datadata res ueventd.goldfish.rc
default.prop root ueventd.rc
dev sbin ueventd.vivo.rc
emmc sd-ext
etc sdcard
~ # ls -la /etc
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxr-xr-x 18 root root 0 Jan 8 02:16 ..
-rw-r--r-- 1 root root 333 Jan 1 1970 recovery.fstab
~ # cat /etc/recovery.fstab
# mount point fstype device [device2] fstype2
/recovery emmc /dev/block/mmcblk0p21
/boot emmc /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p27 NULL ext3
/data ext4 /dev/block/mmcblk0p26 NULL ext3
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/system ext4 /dev/block/mmcblk0p25 NULL ext3
eMMC chip model:
Code:
~ # cat /sys/devices/platform/msm_sdcc.2/mmc_host/mmc0/mmc0:0001/name
M4G2DE
Will update with dmesg/ksmg info later because the phone is charging and is spamming recharge data in the kmsg/dmsg output.
You cannot flash a custom recovery on a locked bootloader. I suggest you go through the unlock process, flash the latest clockworkmod or 4ext recovery then do a clean install of cm7.
After you flash cm7, wipe the cache partition then manually flash the boot.img from the cm7 zip file
Code:
fastboot flash boot boot.img
Nonverbose said:
You cannot flash a custom recovery on a locked bootloader. I suggest you go through the unlock process, flash the latest clockworkmod or 4ext recovery then do a clean install of cm7.
After you flash cm7, wipe the cache partition then manually flash the boot.img from the cm7 zip file
Code:
fastboot flash boot boot.img
Click to expand...
Click to collapse
I've gone through the process of unlocking with fastboot and the "Unlock_code.bin" file I received from HTCDEV. Still not able to do anything.
My wish is to use a RUU, but I need to downgrade my "version_main" first, which is not possible with "misc_version" for me. (It tells me it updated the "partition" etc. but version is still the same).
dabih said:
I've gone through the process of unlocking with fastboot and the "Unlock_code.bin" file I received from HTCDEV. Still not able to do anything.
My wish is to use a RUU, but I need to downgrade my "version_main" first, which is not possible with "misc_version" for me. (It tells me it updated the "partition" etc. but version is still the same).
Click to expand...
Click to collapse
Get a rom working first
I got this used HTC one. I had google edition ROM on it when I got it. Then I flashed AR HD Rom on it. Everything was going fine till I decided to flash the latest firmware since I wanted to go to ARHD 30 and everyone seems to recommend to flash the new firmware.
I was going thru the normal steps and saw that I need to relock my device. I did this:
C:\Program Files\Android\sdk\platform-tools>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
(bootloader) Use PSHOLD to reset device.
FAILED (status read failed (Too many links))
finished. total time: 1.110s
After this I noticed that I had relocked written in fastboot mode even though it said failed. So tried the next step:
C:\Program Files\Android\sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.036s]
finished. total time: 0.040s
C:\Program Files\Android\sdk\platform-tools>fastboot flash zip firmware.zip
sending 'zip' (28338 KB)...
OKAY [ 2.566s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 5.843s
And any step that I try it fails. The most unfortunate thing is I can only boot in fastboot & bootloader mode. I can't go in recovery neither can I boot normally. These are my phone details:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.18.3263.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.26.502.15
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4137mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.057s
I looked up online tried flashing recovery but now any step that I try to do in fastboot fails with following message:
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
I saw in some places people mentioned to use RUU. Not sure what it is but if some one can point me to a correct RUU or let me know any other steps it would be greatly appreciated. My phone is almost bricked now since i can't go past fastboot/bootloader.
awaitforitb said:
(bootloader) version-bootloader: 1.44.0000
Click to expand...
Click to collapse
You have no idea how lucky you are. Before you do anything, get S-OFF using revone. Just go into CWM (or re-flash recovery) so you can use adb. Once you have s-off, follow my guide :
This guide requires S-OFFImportant
*** If there are files you need to keep, you can always use adb pull to get them out before hand (let's say a nandroid backup or something important)
This guide assumes you have knowledge about how adb and fastboot command work and that your HTC drivers are up to date.
I am in NO WAY responsible for any possible damage that may happen to your phone, I am only trying to help
Start your phone in bootloader by typing
Code:
adb reboot bootloader
or by other means.
Select "Fastboot" so that it appears in red instead of HBOOT
On your computer, make sure fastboot sees your device, then type
Code:
fastboot erase cache
Type
Code:
fastboot erase cache
Type
Code:
fastboot erase userdata
Type
Code:
fastboot erase system
Type
Code:
fastboot erase linux
Type
Code:
fastboot erase recovery
Type
Code:
fastboot erase cache
Type
Code:
fastboot reboot-bootloader
Download the new firmware.zip
Type
Code:
fastboot oem rebootRUU
Once it's rebooted on a silver HTC logo, type :
Code:
fastboot flash zip [pathonyourcomputer/firmware.zip]
Wait until it is done on your computer. The green line on the phone will never reach the end.
Type
Code:
fastboot reboot-bootloader
Reflash your recovery (I recommend CWM). Might as well play it safe.
Code:
fastboot flash recovery [pathonyourcomputer/recovery.img]
Reboot into recovery (select the option in fastboot)
Wipe data/factory reset (you will loose everythng)
Select "Wipe Cache partition"
Select "Advanced -> Wipe Dalvik Cache"
Now you have 2 options :
Push (Preferred)
While in recovery, type
Code:
adb push [path/rom.zip] /sdcard/rom.zip
Select "Install zip"
Select "Choose zip from sdcard"
Voila ! You should be good to go !
Sideload (If you can't push for some reason)
Select "Install zip"
Select "Install zip from sideload"
Type
Code:
adb sideload [path/rom.zip]
Voila ! You should be good to go !
attanasi0 said:
You have no idea how lucky you are. Before you do anything, get S-OFF using revone. Just go into CWM (or re-flash recovery) so you can use adb. Once you have s-off, follow my guide :
Click to expand...
Click to collapse
@awaitforitb:
I agree with the S-Off part, just check the date of your bootloader it has to be pre June 2013. Also, in order for revone to work you need a functioning ROM (4.1.2... 4.3 will NOT work). Do you have one functioning device, or are you "stuck in bootloader" as the title says.
You could run the RUU found on androidruu http://www.androidruu.com/?developer=M7, I believe yours would be http://www.androidruu.com/getdownlo....20_10.40.1150.04_release_326691_signed_2.exe
That's an exe you run directly from your PC, and it will walk you through the steps, this will wipe your phone completely! and restore everything back to 100% stock.
After that you should get S-Off, and then proceed to whatever your end goal is.
@attanasi0 just a couple of questions, why do you recommend all the "fastboot erase userdata/linux/system/recovery" ?
Also, please remember that when using "fastboot flash zip <name of firmware>.zip", in most cases, you have to do it twice after each other, the first will push the zip and say "failed, flush image again" (or something along those lines), the second flash will actually start the installation and should report success.
I usually use firmwares from @vomer's guide: http://forum.xda-developers.com/showthread.php?t=2365506 as they have the dzdata files removed, as well as the stock boot.img and recovery.img removed.
nkk71 said:
@attanasi0 just a couple of questions, why do you recommend all the "fastboot erase userdata/linux/system/recovery" ?
Also, please remember that when using "fastboot flash zip <name of firmware>.zip", in most cases, you have to do it twice after each other, the first will push the zip and say "failed, flush image again" (or something along those lines), the second flash will actually start the installation and should report success.
I usually use firmwares from @vomer's guide: http://forum.xda-developers.com/showthread.php?t=2365506 as they have the dzdata files removed, as well as the stock boot.img and recovery.img removed.
Click to expand...
Click to collapse
You're about pushing the zip at first, forgot about that.
I honestly don't know why I recommend that. I guess it's to make sure the phone is a clean slate and no conflict will be created TL;DR : Paranoia
The phone is used to reboot every 2 mins. Then I looked the articles here and try to fix it. But right now, I cannot flash the rom.zip to the phone.
Following are the steps I did:
1. s-off on the phone
2. installed ClockworkMod Recovery 6.0.5.1.
3. installed minimal_adb_fastboot
4. download superuser.zip and run CWM to install the file
5. downlaod the ElementX-m7-18.0-Sense.zip for Sense 6 Android 4.4.3 and run CWM to install the file
6. download the RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2 rom
7. try to flash the rom after rebootRUU but always tell me cannot read android_info.txt
My current phone info:
ClockworkMod Recovery 6.0.5.1,
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: -----------------
(bootloader) imei: ----------------------
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Other info:
***TAMPERED***
***UNLOCKED***
M7_UL PVT SHIP S-ON RH
HBOOT-1.55.0000
RADIO-4T.20.3218.13
OpenDSP-v31.120.274.0617
OS-3.17.502.3
eMMC-hoot 2047MB
Sep 10 2013.01:32:23.0
:crying::crying::crying:I don't know where i did wrong. Really need helps on it.:highfive:
Michael Xie said:
The phone is used to reboot every 2 mins. Then I looked the articles here and try to fix it. But right now, I cannot flash the rom.zip to the phone.
Following are the steps I did:
1. s-off on the phone
2. installed ClockworkMod Recovery 6.0.5.1.
3. installed minimal_adb_fastboot
4. download superuser.zip and run CWM to install the file
5. downlaod the ElementX-m7-18.0-Sense.zip for Sense 6 Android 4.4.3 and run CWM to install the file
6. download the RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2 rom
7. try to flash the rom after rebootRUU but always tell me cannot read android_info.txt
My current phone info:
ClockworkMod Recovery 6.0.5.1,
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: -----------------
(bootloader) imei: ----------------------
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Other info:
***TAMPERED***
***UNLOCKED***
M7_UL PVT SHIP S-ON RH
HBOOT-1.55.0000
RADIO-4T.20.3218.13
OpenDSP-v31.120.274.0617
OS-3.17.502.3
eMMC-hoot 2047MB
Sep 10 2013.01:32:23.0
:crying::crying::crying:I don't know where i did wrong. Really need helps on it.:highfive:
Click to expand...
Click to collapse
Well according to your getvar and the info shown in your bootloader your device is not s-off. Your still s-on so that ruu won't work for you anyway.
So what ever method you used to s-off apparently didn't work. And you need s-off to use that RUU.
However this RUU should work for you with s-on but you will need to relock your bootloader. And make sure you check the md5 of your download with this tool from www.winmd5.com
Correct md5 for this ruu is
Code:
5f121d72b8fa3f6f1704588467752605
http://www.htc1guru.com/dld/ruu_m7_...9_10-26-1718-01l_release_356565_signed_2-exe/
Boot your device to the bootloader and connect fastboot usb. In the command window type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
Make sure fastboot usb is connected then launch the ruu.exe on your pc.
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
This is a visual c++ error I believe. Install this on your pc and try the ruu again http://www.microsoft.com/en-gb/download/details.aspx?id=29
---------- Post added at 06:58 AM ---------- Previous post was at 06:49 AM ----------
Alternatively you could use this RUU.zip
http://www.htc1guru.com/dld/ruu-zip-m7_ul_jb43_sense50_mr_cingular_us_3-17-502-3-decrypted-zip/
The procedure for flashing is a little more complex though.
Download the ruu.zip and put it in your fastboot folder and rename it to ruu.zip.
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
you can skip this part if your already locked.
Code:
fastboot oem rebootRUU
--- case sensitive ---^^^
The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the ruu.
Code:
fastboot flash zip ruu.zip
The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.
Code:
fastboot flash zip ruu.zip
The second flash will take a little longer and this time it will flash the full ruu. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.
Code:
fastboot reboot-bootloader
I just installed and tried again. but it says some problem cause the application is not working correct. the htc_fastboot.exe is still not working. Do i need to reboot my system after installation?
-----------------------------------------------------------
I am trying the zip file. Thank you so much.
Michael Xie said:
I just installed and tried again. but it says some problem cause the application is not working correct. the htc_fastboot.exe is still not working. Do i need to reboot my system after installation?
Click to expand...
Click to collapse
Rebooting wouldn't hurt :good:
I got this message three times during the flash:
target reported max download size of 1526722560 bytes
sending 'zip' (1158208 KB)...
OKAY [ 37.747s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 161.040s
Have to go sleep. Thanks
Michael Xie said:
I got this message three times during the flash:
target reported max download size of 1526722560 bytes
sending 'zip' (1158208 KB)...
OKAY [ 37.747s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 161.040s
Have to go sleep. Thanks
Click to expand...
Click to collapse
use the .exe ruu that danny linked above (post #2), you can't use the decrypted ruu.zip (from post #4) with s-on.
Decrypted ruu = not signed by htc private key
s-on = must check htc signature before flashing
s-on + decrypted ruu = signature verification fail.
so with s-on you can only use signed ruu same or higher version
s-off: you can use signed and decrypted ruu, same, higher or lower version.
Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
What version of Windows are you running on your pc?
Do you have HTC sync installed?
Is your SDK adb/fastboot up to date?
You can also try this ruu.exe http://www.htc1guru.com/dld/ruu_m7_...3_10-38j-1157-04_release_334235_signed_2-exe/ , I'm not sure it will help with the fastboot error since I think that problem is pc side. But try it maybe the older installer will work with the c++ you installed previously. :good:
Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
if you have htc sync installed, uninstall it (but don't uninstall the drivers)
The one Danny201281 gives to me works!!!!!
However, the phone goes back to keep rebooting after I installed the rom.
Need big help here.
Michael Xie said:
The one Danny201281 gives to me works!!!!!
However, the phone goes back to keep rebooting after I installed the rom.
Need big help here.
Click to expand...
Click to collapse
do a factory reset from stock recovery
when you get in recovery from the bootloader push volume up and tap power to see the menu
After I entered the "recovery", I saw following:
Android system recovery <3e>
Volume up/down to move highlight:
Enter button to select:
reboot system now
apply from sd card
apply from phone storage
apply from cache
wipe data/factory reset
wipe cache partition
I didn't see the mean you give to me....
HTC One 32 GB AT&T
Rolled Back to Android 4.3 Sense 5.5 / ARHD 53
Is there anyway for me to install brand everything if I unlock with s-on? Or is there anyway for me to change from s-on to s-off? I used the htcdev to unlock but it doesn't change the "s-on" to "s-off"..
I did "adb devices", it shows:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
This is correct or not?
Michael Xie said:
Just tried, still don't work. the phone is rebooting during the green "htc" screen.
Is there anyway for me to install brand everything if I unlock with s-on? Or is there anyway for me to change from s-on to s-off? I used the htcdev to unlock but it doesn't change the "s-on" to "s-off"..
Click to expand...
Click to collapse
You need the phone to boot to a Rom to gain s-off.
If these reboots continue after flashing the ruu was successful there's a good chance your problem is hardware related.
Best option now it to unlock the bootloader and flash a Custom Recovery and Rom. I would also recommend doing a data format before flashing the new Rom to ensure your partitions are free from corruption.
So I just wipe cache partition or wipe data/factory reset?
Michael Xie said:
I did "adb devices", it shows:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
This is correct or not?
Click to expand...
Click to collapse
You should see your phone serial number here. But this will only work if booted into a custom recovery like TWRP.
Michael Xie said:
So I just wipe cache partition or wipe data/factory reset?
Click to expand...
Click to collapse
If you have Stock recovery it would be best to factory reset with that first if you haven't already. Other wise just flash a Custom recovery
I did "fastboot -w" and got following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w
Creating filesystem with parameters:
Size: 27917287424
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6815744
Block groups: 208
Reserved block group size: 1024
Created filesystem with 11/1703936 inodes and 150980/6815744 blocks
target reported max download size of 1526722560 bytes
Creating filesystem with parameters:
Size: 671084544
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2559
Label:
Blocks: 163839
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/40960 inodes and 5255/163839 blocks
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
Is there something wrong here...
UPDATE (26.01.2016):
Normal Boot:
It is not booting more than stock logo
Recovery:
boots into TWRP but cannot mount partitions or format them
Fastboot
Connects to flashboot, says it flashed system ok, but not flashed system ok (nothing changes)
Connects to flashboot, says it flashed recovery ok, but not flashed recovery ok (still TWRP)
fastboot erase system, recovery, other partitions, gives an error
SP Flash Tools
DL/Checksum Checkbox Checked, Download goes all the way to 100%, CHECKSUM ERROR, Still not working.
Below recovery.log - log from breaking-up-the-device process up to now
new1.txt - partitions when the device was working correctly
ORIGINAL POST:
Hello.
I started with changing stock TWRP with CWM then proceeded to change stock Vibe UI with Cyanogenmod (from needrom). First Update 2 version then Update 3. The phone was unstable, loosing settings logging out of applications etc.
Decided to change to MIUI (this one)
But first decided to change back to TWRP (this one)
After Partition Format i tried to install MIUI but it failed.
Then i tried this guide: https://www.youtube.com/watch?v=TySRc_DkcFk
All files i downloaded from the links in the guide.
SP flash tool flashed to 100% and then gave me the message BROM ERROR : S_CHKSUM_ERROR (1041)
(I did select "All versions" File)
TWRP Log started giving me E: unable to mount /data (/system /storage and everyting else at once)
Cannot mount partitions manually either
tried fastboot flash recovery to CWM, it says OK but there is still TWRP.
tried flashing recovery through TWRP install - says cannot mount /data
Phone is not in bootloop but stuck on Lenovo logo.
Is this internal storage failure? Can i check or restore stock partitions somehow? Is this maybe TWRP not seeing partitions?
And why i cannot flash partitions through fastboot?
I would appreciate any, even slight help. Thanks.
hi
i am sharing my experience.
i too changed recoveries frequently & not able to mount sd card in recovery,currently i install files needed to be flashed to the internel memory & flash them from there.
i would suggest reinstalling the stock rom first,then install recovery of your choice, copy rom file to the internel memory & then flash it.
arun jog
arun jog said:
currently i install files needed to be flashed to the internel memory & flash them from there.
Click to expand...
Click to collapse
Can i ask you how you do this?
I tried putting img or rom on sd card and flash it from recovery but it said "E: cannot mount /data"
Gogolian said:
Can i ask you how you do this?
I tried putting img or rom on sd card and flash it from recovery but it said "E: cannot mount /data"
Click to expand...
Click to collapse
you need to download stock rom which is flashable thru sp tools from the hackerpowers index thread,use sp flash tools to flash stock rom. since sd card is not mounting it is better you go for this option. i think once your phone boots up sd card might not be detected by the phone, anyway all the best.
arun jog said:
you need to download stock rom which is flashable thru sp tools from the hackerpowers index thread,use sp flash tools to flash stock rom. since sd card is not mounting it is better you go for this option. i think once your phone boots up sd card might not be detected by the phone, anyway all the best.
Click to expand...
Click to collapse
Thanks. I did try with RootJunky's one: http://rootjunkysdl.com/?device=Lenovo K3 Note&folder=Firmware
But unfortuneatly got error:
BROM ERROR : S_CHKSUM_ERROR (1041)
and it's not working
(btw, It's not checksum as it first flashes to 100% then displays the error)
Yet I haven't tried with those. I will.
Gogolian said:
Thanks. I did try with RootJunky's one: http://rootjunkysdl.com/?device=Lenovo K3 Note&folder=Firmware
But unfortuneatly got error:
BROM ERROR : S_CHKSUM_ERROR (1041)
and it's not working
(btw, It's not checksum as it first flashes to 100% then displays the error)
Yet I haven't tried with those. I will.
Click to expand...
Click to collapse
pl ensure DA/DL all with checksum is selected in sp flashtools
arun jog said:
pl ensure DA/DL all with checksum is selected in sp flashtools
Click to expand...
Click to collapse
I was using v5 of SP flash tool I will switch to v3 then.
Did you manage to get your phone out of boot loop
arun jog said:
Did you manage to get your phone out of boot loop
Click to expand...
Click to collapse
Unfortuneatly not. Here's update:
1. v3 version of SPflash dont want to flash had to stick with v5
2. after flashing official rom (K50_a40_S112_150610_row) phone is stuck on Lenovo screen (no bootloop though)
It stayed like that for an hour before i started to do anything else.
fastboot erase <partition> does not work. Gives an error.
i've managed to do a log dump from TWRP - in attachment
Iv'e also noticed that i have a TWRP full backup before i started doing anything, the problem is, I cannot get it on Storage as dthe /data and /system partitions are corrupted.
Is there any way i can restore TWRP backup f.e. through fastboot or SPF tools ?
Is there any way to just Repartition the whole EMMC_USER?
could i dump whole EMMC_USER from other K3 note and somehow flash it onto this one?
EDIT: Also Found Partition logs from the beggining log file (new1.txt)
Gogolian said:
Unfortuneatly not. Here's update:
1. v3 version of SPflash dont want to flash had to stick with v5
2. after flashing official rom (K50_a40_S112_150610_row) phone is stuck on Lenovo screen (no bootloop though)
It stayed like that for an hour before i started to do anything else.
fastboot erase <partition> does not work. Gives an error.
i've managed to do a log dump from TWRP - in attachment
Iv'e also noticed that i have a TWRP full backup before i started doing anything, the problem is, I cannot get it on Storage as dthe /data and /system partitions are corrupted.
Is there any way i can restore TWRP backup f.e. through fastboot or SPF tools ?
Is there any way to just Repartition the whole EMMC_USER?
could i dump whole EMMC_USER from other K3 note and somehow flash it onto this one?
EDIT: Also Found Partition logs from the beggining log file (new1.txt)[/QU
are you able to use your phone. if yes. than keep searching this as well as other forums till you get the solution you are looking for; if its not booting up further than lenovo logo than flash stock rom
Click to expand...
Click to collapse
arun jog said:
Gogolian said:
are you able to use your phone. if yes. than keep searching this as well as other forums till you get the solution you are looking for; if its not booting up further than lenovo logo than flash stock rom
Click to expand...
Click to collapse
Again:
Normal Boot:
It is not booting more than stock logo
Recovery:
boots into TWRP but cannot mount partitions or format them
Fastboot
Connects to flashboot, says it flashed system ok, but not flashed system ok (nothing changes)
Connects to flashboot, says it flashed recovery ok, but not flashed recovery ok (still TWRP)
SP Flash Tools
DL/Checksum Checkbox Checked, Download goes all the way to 100%, CHECKSUM ERROR, Still not working.
Click to expand...
Click to collapse
Gogolian said:
arun jog said:
Again:
Normal Boot:
It is not booting more than stock logo
Recovery:
boots into TWRP but cannot mount partitions or format them
Fastboot
Connects to flashboot, says it flashed system ok, but not flashed system ok (nothing changes)
Connects to flashboot, says it flashed recovery ok, but not flashed recovery ok (still TWRP)
SP Flash Tools
DL/Checksum Checkbox Checked, Download goes all the way to 100%, CHECKSUM ERROR, Still not working.
Click to expand...
Click to collapse
stock rom downloaded from op of index thread? are you following the correct procedure to install stock rom ?
Click to expand...
Click to collapse
arun jog said:
stock rom downloaded from op of index thread? are you following the correct procedure to install stock rom ?
Click to expand...
Click to collapse
My procedure:
Download rom from index tread:
http://forum.xda-developers.com/k3-note/general/organized-thread-lenovo-k3-note-k50-t3158522
Rom: All Official ST/DEV/ROW Roms + OTA -> K50_a40_S112_150610_row
as it says this is the one to flash through SP Flash Tools.
Now i Have SP Flash Tools v5
Download Agent: MTK_AllInOne_DA
Scatter loading file: The file from the archive
Download Only (Actually i tried both - no luck)
I hit Download, then connect the Phone.
The download Starts, Flashes to 100%, then gives BROM ERROR : S_CHKSUM_ERROR (1041)
After restarting the device it goes forever on the loading logo.
In the flash tool have you checked DA/DL under options. I have flashed many times without any problems.
arun jog said:
In the flash tool have you checked DA/DL under options. I have flashed many times without any problems.
Click to expand...
Click to collapse
Yes, I do have it checked. I checked (pun not intended) several times.
Anyway i tried to remove partitions through fastboot or parted but no luck.
Here are fastbot errors:
Code:
C:\adb>fastboot getvar all
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1a800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: a0000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:frp: 860000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk: 60000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: no
(bootloader) unlocked: yes
(bootloader) secure: no
(bootloader) kernel: lk
(bootloader) product: AIO_OTFP
(bootloader) version: 0.5
all: Done!!
finished. total time: 0.010s
C:\adb>fastboot erase system
******** Did you mean to fastboot format this partition?
erasing 'system'...
FAILED (remote: unknown command)
finished. total time: 0.000s
Gogolian said:
Yes, I do have it checked. I checked (pun not intended) several times.
Anyway i tried to remove partitions through fastboot or parted but no luck.
Here are fastbot errors:
Code:
C:\adb>fastboot getvar all
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1a800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: a0000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:frp: 860000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk: 60000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: no
(bootloader) unlocked: yes
(bootloader) secure: no
(bootloader) kernel: lk
(bootloader) product: AIO_OTFP
(bootloader) version: 0.5
all: Done!!
finished. total time: 0.010s
C:\adb>fastboot erase system
******** Did you mean to fastboot format this partition?
erasing 'system'...
FAILED (remote: unknown command)
finished. total time: 0.000s
Click to expand...
Click to collapse
hi,
have you tried from a different system, on windows 8 my phone gives me lot of troubles whereas in windows 7 it is fairly easy.
try it out in case you have not tried it. all the best.
arun jog said:
hi,
have you tried from a different system, on windows 8 my phone gives me lot of troubles whereas in windows 7 it is fairly easy.
try it out in case you have not tried it. all the best.
Click to expand...
Click to collapse
I did, also different drivers - no change
UPDATE:
I managed to get ahold of second K3 Note.
I did FULL memory reas using SP flash tools and FULL memory write on old device.
The problem is - write restarts at aprox 27%
Yet, recovery still stayed TWRP.
I belive i did not unchecked "update cm recovery" under CM12 and noe it keeps flashing back.
Anyway, I still think it's a hardware problem right now.
Thanks for the help guys
Hi Gogolian
did ou solved the problem with the K3 note?
I have exactly the same problem, all exactly the same, and everything I try fails.
It would be very hlepfull if you can comment how did you managed finally
Thanks in advance!
Gogolian said:
I did, also different drivers - no change
UPDATE:
I managed to get ahold of second K3 Note.
I did FULL memory reas using SP flash tools and FULL memory write on old device.
The problem is - write restarts at aprox 27%
Yet, recovery still stayed TWRP.
I belive i did not unchecked "update cm recovery" under CM12 and noe it keeps flashing back.
Anyway, I still think it's a hardware problem right now.
Thanks for the help guys
Click to expand...
Click to collapse
@Gogolian
Did you managed to solve the problem with the k3 note?
I have exactly the same problem.
Thanks
Same problem here, believe the memory (emmc ?) is damaged somehow and needs to be reformatted.
Evening,
I've been desperately trying to figure this out myself but I've concluded that it's too complex for me to go it alone, as it stands my HTC one M7_UL is I believe soft bricked, I can get to the bootloader and into TWRP recovery but I've had no luck with FASTBOOT/ADB, I can sideload a rom.zip but it just fails to do anything after 100%, I reboot it and it just gets stuck on the previous bootloop. Currently have no OS installed and honestly I don't have a clue what I'm doing, exactly why I'm in this mess in the first place, I bricked it a while ago but I figure I wiped system partitions and as a result am in a bad place any advice you could offer would be brilliant.
Thank you in advance, I've included some additional details below but let me know if I've missed anything.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4A.23.3263.28
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.206.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA39PWxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4320mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-44d68d6b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.070s
Also I get this as well not sure if it's a problem but I haven't seen it anywhere else -
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
FA39PWxxxxxx offline
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
FA39PWxxxxxx sideload
mattage101 said:
Evening,
I've been desperately trying to figure this out myself but I've concluded that it's too complex for me to go it alone, as it stands my HTC one M7_UL is I believe soft bricked, I can get to the bootloader and into TWRP recovery but I've had no luck with FASTBOOT/ADB, I can sideload a rom.zip but it just fails to do anything after 100%, I reboot it and it just gets stuck on the previous bootloop. Currently have no OS installed and honestly I don't have a clue what I'm doing, exactly why I'm in this mess in the first place, I bricked it a while ago but I figure I wiped system partitions and as a result am in a bad place any advice you could offer would be brilliant.
Thank you in advance, I've included some additional details below but let me know if I've missed anything.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4A.23.3263.28
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.206.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA39PWxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4320mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-44d68d6b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.070s
Also I get this as well not sure if it's a problem but I haven't seen it anywhere else -
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
FA39PWxxxxxx offline
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
FA39PWxxxxxx sideload
Click to expand...
Click to collapse
What is your twrp version?
alray said:
What is your twrp version?
Click to expand...
Click to collapse
TWRP v2.6.3.0
Thanks for the interest!
mattage101 said:
TWRP v2.6.3.0
Thanks for the interest!
Click to expand...
Click to collapse
You should take a few minutes and update your twrp first because there's not much you'll be able to flash with this version and also because newer version will allow you to use mtp instead of sideload (you'll be able to see your phone storage from your computer when booted in TWRP like if it was a thumb drive)
Here is the link to download the latest version (3.0.M5.0) http://android.cmphys.com/twrp-m7/
Save the file in your fastboot/adb folder. With the phone booted in bootloader mode showing "fastboot usb" in red, start a command window and type:
Code:
fastboot flash recovery twrp-3.0.M5-0-m7univ.img
fastboot erase cache
fastboot reboot-bootloader
then you can restore this twrp backup: https://www.androidfilehost.com/?fid=95897840722646675
To restore a backup,boot in twrp and make a backup of boot.img only (this is only to generate a backup path). Then using twrp's files manager navigate to /sdcard/TWRP/BACKUPS/your_serial_number/date_of_backup and delete backup files in this folder and replace them by the files contained in the nandroid backup you want to use. Then select "restore" and restore all available partitions.
alray said:
You should take a few minutes and update your twrp first because there's not much you'll be able to flash with this version and also because newer version will allow you to use mtp instead of sideload (you'll be able to see your phone storage from your computer when booted in TWRP like if it was a thumb drive)
Here is the link to download the latest version (3.0.M5.0)
Save the file in your fastboot/adb folder. With the phone booted in bootloader mode showing "fastboot usb" in red, start a command window and type:
Code:
fastboot flash recovery twrp-3.0.M5-0-m7univ.img
fastboot erase cache
fastboot reboot-bootloader
then you can restore this twrp backup:
To restore a backup,boot in twrp and make a backup of boot.img only (this is only to generate a backup path). Then using twrp's files manager navigate to /sdcard/TWRP/BACKUPS/your_serial_number/date_of_backup and delete backup files in this folder and replace them by the files contained in the nandroid backup you want to use. Then select "restore" and restore all available partitions.
Click to expand...
Click to collapse
Mate. MATE! I can't thank you enough, got it to work, cheers buddy - for what it's worth you're awesome!
mattage101 said:
Mate. MATE! I can't thank you enough, got it to work, cheers buddy - for what it's worth you're awesome!
Click to expand...
Click to collapse
I do have one question though, why when I try to update the OS does it reboot into TWRP, am I suppose to update it from in there?
mattage101 said:
I do have one question though, why when I try to update the OS does it reboot into TWRP, am I suppose to update it from in there?
Click to expand...
Click to collapse
In order to flash the official OTA you need stock recovery. You can't update your phone the official way with custom recovery
HTC One
I followed your instructions, copied all the downloaded files to the Date folder, except the file "system.ext4.win000" 1.5GB. It hangs, won't go past approx. 15-20%. I tried a very similar method yesterday, and the same happened.
vik919 said:
I followed your instructions, copied all the downloaded files to the Date folder, except the file "system.ext4.win000" 1.5GB. It hangs, won't go past approx. 15-20%. I tried a very similar method yesterday, and the same happened.
Click to expand...
Click to collapse
Try another usb cable and another usb port. I would also format data.
---------- Post added at 06:27 PM ---------- Previous post was at 06:21 PM ----------
mattage101 said:
I do have one question though, why when I try to update the OS does it reboot into TWRP, am I suppose to update it from in there?
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=95897840722646669
alray said:
Try another usb cable and another usb port. I would also format data.
---------- Post added at 06:27 PM ---------- Previous post was at 06:21 PM ----------
https://www.androidfilehost.com/?fid=95897840722646669
Click to expand...
Click to collapse
So I flashed the stock recovery .img you linked and I searched for software updates, clicked ok and it reboots and comes up with a screen with a phone displaying a green triangle, after a couple of minutes the triangle turns red, I pressed the power button and the volume up button so I could see the error report and I got this:
Finding update package...
opening update package...
Verifying update package...
Installing update...
Verifying current system...
Check /data/preload/SoundHound_Freemium.apk failed, error No such file or directory()
Installation aborted.
Write host_mode:0 done
What do you make of it?
Thanks again for all your responses, genuinely appreciate it!
mattage101 said:
Verifying current system...
Check /data/preload/SoundHound_Freemium.apk failed, error No such file or directory()
Click to expand...
Click to collapse
Looks like the nandrdoid backup was missing the files in /data/preload. When unlocking the bootloader, /data is wiped to prevent unauthorized access to your files. Unfortunately HTC packed a few stock apps in /data/preload so these apps are lost when unlocking. So the person who made that nandroid backup did it after unlocking the bootloader hence why the missing files. Sorry
When installing an OTA update, the updater-script check for all the files to be updated (thousand of files). They must all be there and as expected (not modded or corrupt). If only one of these files is missing/corrupt, the ota installation will abort, this is to prevent patching wrong files and making your system unusable.
This can usually be corrected by restoring the missing files. Unfortunately I can't find the /data/preload files for your version...
Another option would be to update your firmware so you can flash the latest version using a RUU
Download these 3 files and save them in your adb/fastboot folder on your computer:
https://www.androidfilehost.com/?fid=95916177934535002
https://www.androidfilehost.com/?fid=24385226645962836
https://www.androidfilehost.com/?fid=24341993505161791
re-lock your bootloader (needed since your phone is S-ON):
Code:
fastboot oem lock
Update your firmware:
Code:
fastboot oem rebootRUU
fastboot flash zip M7_UL_Firmware_7.18.206.2.zip
fastboot flash zip M7_UL_Firmware_7.18.206.2.zip
fastboot reboot-bootloader
Flash the RUU:
Code:
fastboot oem rebootRUU
htc_fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_O2_UK_7.18.206.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_459056_signed.zip
fastboot reboot
alray said:
Looks like the nandrdoid backup was missing the files in /data/preload. When unlocking the bootloader, /data is wiped to prevent unauthorized access to your files. Unfortunately HTC packed a few stock apps in /data/preload so these apps are lost when unlocking. So the person who made that nandroid backup did it after unlocking the bootloader hence why the missing files. Sorry
When installing an OTA update, the updater-script check for all the files to be updated (thousand of files). They must all be there and as expected (not modded or corrupt). If only one of these files is missing/corrupt, the ota installation will abort, this is to prevent patching wrong files and making your system unusable.
This can usually be corrected by restoring the missing files. Unfortunately I can't find the /data/preload files for your version...
Another option would be to update your firmware so you can flash the latest version using a RUU
Download these 3 files and save them in your adb/fastboot folder on your computer:
https://www.androidfilehost.com/?fid=95916177934535002
https://www.androidfilehost.com/?fid=24385226645962836
https://www.androidfilehost.com/?fid=24341993505161791
re-lock your bootloader (needed since your phone is S-ON):
Code:
fastboot oem lock
Update your firmware:
Code:
fastboot oem rebootRUU
fastboot flash zip M7_UL_Firmware_7.18.206.2.zip
fastboot flash zip M7_UL_Firmware_7.18.206.2.zip
fastboot reboot-bootloader
Flash the RUU:
Code:
fastboot oem rebootRUU
htc_fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_O2_UK_7.18.206.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_459056_signed.zip
fastboot reboot
Click to expand...
Click to collapse
Ok I'm all sorted that worked, thanks for your time!