Fix HTC EVO 4G LTE after System Wipe
I put together this short guide in order to help users fix their phones after wiping out their OS (Operating System). This guide assumes that your phone is unlocked and has a custom recovery installed on it, and that no ROM or back-up is available to install from the phone itself. Simply follow the steps below to get your phone back up and running.
1) Download a ROM to your computer.
2) Boot your phone into recovery mode. You can do this via the bootloader menu (check out my Hboot guide in my sig if you need help navigating the bootloader menu).
3) Connect your phone and computer via USB cable.
4) Select the "Mount" option in recovery. Use the checkboxes to select which storage you'd like to mount (internal or MicroSD), then hit the "Mount USB Storage" icon. Go to your computer and move the ROM to your phone. Once complete, you can unmount storage (as an alternative to this method, you can boot into the bootloader and connect via Fastboot USB mode and push a ROM from your computer to your phone's internal or external storage. Remember, you need to have a working ADB/Fastboot environment installed on your computer).
5) Do a full wipe. On the newer versions of TWRP, select "Advanced Wipe" and wipe cache, Dalvik cache, data and system. Then flash your ROM. Pay particular attention if you're S-on, as you will most likely have to install the ROM kernel separately from the ROM itself. Just check out the OP for the ROM you're installing and see what the instructions are. If you're S-off, just flash the ROM zip and reboot to system.
If you have an issue where your internal storage is corrupt and fails to mount in recovery, follow the steps above to mount your internal storage to your PC. You should be prompted to format your storage. Just follow the on-screen instructions on your PC. Keep in mind that formatting your internal storage will erase it, so it's good to have a back-up of your internal storage elsewhere.
If you need drivers for your computer, look here. Thanks CNexus for the thread. You can also install HTC Sync manager for the latest drivers.
If you need to set up ADB on your computer, this guide is easy to follow (credit to Jerry Hildenbrand at Android Central for the write-up).
An easy ROM to install if you're S-on running Hboot 1.15-2.09 is MeanBean, since it has a S-on kernel installer built in. Simply flash the Rom zip once and reboot from recovery. The phone will boot to the HTC splash screen, then back to recovery. Flash the ROM zip again, and reboot. I've included a link to MeanBean here. Thanks to MikeyXDA for this ROM. You can also run a RUU from your computer to get a OS installed on your phone.
***If you are on the new partition layout (Android 4.3 Hboot 2.10) the above method will not work. Re-run the 4.13.651.4 RUU while the phone is booted to the bootloader and your device and computer are connected via Fastboot USB. If you're S-on you will need to relock your bootloader prior to running the RUU. If you're S-off simply run the RUU. Alternatively, you can download a ROM based on the new layout and follow the steps outlined at the beginning of this guide.***
Links to all applicable RUU's for the EVO LTE can be found in the OP of my Hboot guide.
Nice thread I hope some noobs and vets of xda find this information useful
Sent from my EVO using XDA Premium 4 mobile app
Nice write up Fin you might put a link to the tried and true MeanBean and Viper just to make it easier to find a rom that will work
bigdaddy619 said:
Nice write up Fin you might put a link to the tried and true MeanBean and Viper just to make it easier to find a rom that will work
Click to expand...
Click to collapse
Good thinking:thumbup:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Updated 10-1-2013 with a link to MeanBean ROM. Also added instructions on how to format internal storage when it fails to mount in recovery due to being corrupt (occurs sometimes when moving back and forth between AOSP & Sense, or when a factory reset from the bootloader is performed).
Updated with links to drivers & ADB set-up guide.
You might want to clarify how to do this part of step 4:
"mount whatever storage you'd like to transfer the ROM to"
Some people might not know how to do that in the newer versions of TWRP. The checkboxes seems to throw people off.
But thanks for providing this. Hopefully this will help to address a lot of the threads we've seen popping up lately.
Captain_Throwback said:
You might want to clarify how to do this part of step 4:
"mount whatever storage you'd like to transfer the ROM to"
Some people might not know how to do that in the newer versions of TWRP. The checkboxes seems to throw people off.
But thanks for providing this. Hopefully this will help to address a lot of the threads we've seen popping up lately.
Click to expand...
Click to collapse
Thanks Captain, will do:thumbup:
Sent from my HTC EVO 4G LTE
Added to the FAQ Guide Q18
Finally
bigdaddy619 said:
Added to the FAQ Guide Q18
Finally
Click to expand...
Click to collapse
Better late than never
Sent from my HTC EVO 4G LTE
Added instructions on how to fix a device on the new partition layout (Android 4.3).
Sent from my HTC M8
I was trying to root and install cyanagenmod, but somehow I stupidly failed and I apprently have wiped the original OS and I don't have a backup.
I can fastboot into HBOOT-2.09.0000
and I have the TWRP 2.7.0.8
I'm stuck on step. 5 because I couldn't find instructions on installing the kernel
When I try to install CM11 or Stock ROM, it tells me
"Error: Kernel Not Installed!"
Can someone help me and suggest some possible fixes?
You're probably S-on. When you're S-on, you have to flash the kernel separately through fastboot.
Also since you're on hboot 2.09, make sure you're not flashing NPL builds, since you're on the old partition layout.
Sent from my EVO using XDA Premium 4 mobile app
semmio said:
I was trying to root and install cyanagenmod, but somehow I stupidly failed and I apprently have wiped the original OS and I don't have a backup.
I can fastboot into HBOOT-2.09.0000
and I have the TWRP 2.7.0.8
I'm stuck on step. 5 because I couldn't find instructions on installing the kernel
When I try to install CM11 or Stock ROM, it tells me
"Error: Kernel Not Installed!"
Can someone help me and suggest some possible fixes?
Click to expand...
Click to collapse
If you're S-on you have to install the kernel separately from the ROM itself. Hit the top link in my sig and scroll down to the section on S-on kernel flashing. Also, as stated above, make sure you're installing ROM's for the old partition layout, otherwise you'll have issues.
Sent from my HTC M8
unable to flash any new rom
as the title says, any attempt to flash a custom rom results in the following error message:
Checking for MD5 file...
Skipping MD5 check:no MD5 file found
mount: failed to mount /dev/block/platform/msm_
sdcc. 1/by-name/system at /system; no such volume
[!] installation is block based
E: Error executing updater binary in zip '/external_sd/BlissPop-v1.2-jewel-UNOFFICIAL-20141211-1801.zip'
Error flashing zip '/external_sd/BlissPop-v1.2-Updating partition details...
something to note: i've attempted to manually mount the /system, however upon failure to flash the rom, returning to the mount section shows the /system unmounted.
i have:
TWRP v2.8.0.1
hardware version 0003
software version 4.13.651.4
rooted using towelroot
bootloader unlocked
s-off
hboot - 2.10.0000
radio 1.13.11.1105
any help would be appreciated.
youngdaddytc said:
as the title says, any attempt to flash a custom rom results in the following error message:
Checking for MD5 file...
Skipping MD5 check:no MD5 file found
mount: failed to mount /dev/block/platform/msm_
sdcc. 1/by-name/system at /system; no such volume
[!] installation is block based
E: Error executing updater binary in zip '/external_sd/BlissPop-v1.2-jewel-UNOFFICIAL-20141211-1801.zip'
Error flashing zip '/external_sd/BlissPop-v1.2-Updating partition details...
something to note: i've attempted to manually mount the /system, however upon failure to flash the rom, returning to the mount section shows the /system unmounted.
i have:
TWRP v2.8.0.1
hardware version 0003
software version 4.13.651.4
rooted using towelroot
bootloader unlocked
s-off
hboot - 2.10.0000
radio 1.13.11.1105
any help would be appreciated.
Click to expand...
Click to collapse
Are you using my TWRP?
Is this the only ROM you've attempted to flash? Can you post the recovery log?
Also, curious how you used Towelroot, as that's an exploit for Verizon devices that are blocked by HTC Dev
A: I didn't see a link for your TWRP so I'm using the one from twrp manager. As for towelroot, I installed it from an apk. It's reported to work across several devices and has allowed me to run root programs on this particular device as well as my S4.
I've tried several different roms, all have failed. Well except the RUU's.
Recovery log attached. Renamed as txt file for xda uploading.
youngdaddytc said:
A: I didn't see a link for your TWRP so I'm using the one from twrp manager. As for towelroot, I installed it from an apk. It's reported to work across several devices and has allowed me to run root programs on this particular device as well as my S4.
I've tried several different roms, all have failed. Well except the RUU's.
Recovery log attached. Renamed as txt file for xda uploading.
Click to expand...
Click to collapse
Try this recovery:
http://d-h.st/KTH
Magnum_Enforcer said:
Try this recovery:
http://d-h.st/KTH
Click to expand...
Click to collapse
Better yet, the one here: http://forum.xda-developers.com/showthread.php?p=56530311
Good news. Used the twrp from the first link and now everything is well. Thank you very much for your help.
Lesson: not all TWRP's are created equal
Hello,
I Have a Nexus 5 with root, stock rom, Franco Kernel and the custom recovery is TWRP. I accomplished this by following a guide around this forum, I know very little about Android. The Android version i'm running is the 4.4.2 and the phone keeps asking me to update do the newer version, however, when I try to do it, it takes me to the TWRP menu, and when I try to install it there, I get this error:
"/system/bin/thermal-engine-hh" has unexpected contents
E: Error executing updater binary in zip
Error flashing zip
How can I update the phone to the newer version of android? Can anyone help me? Thanks.
D5R said:
Hello,
I Have a Nexus 5 with root, stock rom, Franco Kernel and the custom recovery is TWRP. I accomplished this by following a guide around this forum, I know very little about Android. The Android version i'm running is the 4.4.2 and the phone keeps asking me to update do the newer version, however, when I try to do it, it takes me to the TWRP menu, and when I try to install it there, I get this error:
"/system/bin/thermal-engine-hh" has unexpected contents
E: Error executing updater binary in zip
Error flashing zip
How can I update the phone to the newer version of android? Can anyone help me? Thanks.
Click to expand...
Click to collapse
That is the faulty zip, or the zip is not meant for your device! Maybbe, you should post this in Nexus 5 forum!
http://forum.xda-developers.com/google-nexus-5/help
lionelsuyog said:
That is the faulty zip, or the zip is not meant for your device! Maybbe, you should post this in Nexus 5 forum!
http://forum.xda-developers.com/google-nexus-5/help
Click to expand...
Click to collapse
Thanks, i'll do that!
Hi I need some help please.
I only have accesss to the fastboot mode and the recovery.
The bootloader is unlocked and I already tried every guide I could find on the net how to flash a new stock rom.
I tested many different recoverys but I haven't found one which was able to flash a stock rom to the device.
For example I tried this one: http://forum.xda-developers.com/padfone-x/help/guide-restoring-stock-rom-recovery-t3179818
But when I try to flash the 4.4.2 downgrade firmware in the recovery just nothing happens ("zip file signature verification" disabled) or the logs says: "E: Zip signature verification failed: 1; Error flashing zip "x.zip"; Updating partition details..." ("zip file signature verification" enabled)
I hope you guys can help me, thanks
Solution
I found it out myself:
When I tried to flash a rom using cwm it said something like "this is for T00N devices; you have t00n device".
So I tried the modified roms which are able to convert TW to WW from this thread: http://forum.xda-developers.com/padfone-x/general/guide-asus-padfone-s-kk-l-fix-brick-t3197684
and it just worked fine now using cwm 6.0.5.1.
Maybe I could help someone else with this at least
Im using TWRP 3.0.2-0 and when i try and install Nightly Lineage OS 14.1-20170207 i get error 7 (without zip signature verification, when i enable it, i get another error shown in the image) . What am i doing wrong?
thanks.
Picture is the error i'm getting.
i.imgur. com/pGwDGWs.jpg
FIXED
muaddibX said:
Im using TWRP 3.0.2-0 and when i try and install Nightly Lineage OS 14.1-20170207 i get error 7 (without zip signature verification, when i enable it, i get another error shown in the image) . What am i doing wrong?
thanks.
Picture is the error i'm getting.
i.imgur. com/pGwDGWs.jpg
Click to expand...
Click to collapse
Solved the issue over on reddit
reddit[ ]com/r/LineageOS/comments/5toabe/twrp_error_7_with_lineage_os_on_oneplus_x/
muaddibX said:
Im using TWRP 3.0.2-0 and when i try and install Nightly Lineage OS 14.1-20170207 i get error 7 (without zip signature verification, when i enable it, i get another error shown in the image) . What am i doing wrong?
thanks.
Picture is the error i'm getting.
i.imgur. com/pGwDGWs.jpg
Click to expand...
Click to collapse
update your bootloader!
update your bootloader
update your bootloader
best guide
https://forum.xda-developers.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917
I have an ascend mate 2. I have unlocked the bootloader, installed TWRP 3.1.1 and have updated my bios via Huawei site and currently have Android 5.1. I have tried uploading CyanogenMod 13 and lineage 14. Both times I get error 7 when uploading. Does anyone have any suggestions?
Batk138 said:
I have an ascend mate 2. I have unlocked the bootloader, installed TWRP 3.1.1 and have updated my bios via Huawei site and currently have Android 5.1. I have tried uploading CyanogenMod 13 and lineage 14. Both times I get error 7 when uploading. Does anyone have any suggestions?
Click to expand...
Click to collapse
You may want to provide your detailed procedure so others could help.
Batk138 said:
I have an ascend mate 2. I have unlocked the bootloader, installed TWRP 3.1.1 and have updated my bios via Huawei site and currently have Android 5.1. I have tried uploading CyanogenMod 13 and lineage 14. Both times I get error 7 when uploading. Does anyone have any suggestions?
Click to expand...
Click to collapse
I am experiencing the same issue. I did the advance wipe from TWRP 3.1.1 and install lineage 14. It stucks and gave this error message "This package supports bootloader(s) MSM8226C00B322_BOOT; This device has bootloader unknown. ". I had B322 built and Android 5.1.1 Lollipop on my Huawei Ascent Mate 2. I read from other forum and even tried to modify the line "assert(getprop("ro.bootloader") == "MSM8226C00B322_BOOT" || abort("This package supports bootloader(s): MSM8226C00B322_BOOT; this device has bootloader " + getprop("ro.bootloader") + ".");" in the file updater-script under META-INF\com\google\android directory and still not working. Please help
I am getting the same error. Full wipe of the device except for internal storage as I do not currently have a microSD card inserted (it's being used in my new phone, an S7 edge). I bought a new microSD card and used that to restore the stock ROM.
Exact text, copied from recovery.log:
Code:
Installing zip file '/sdcard/Download/lineage-14.1-20170302-nightly-mt2-signed.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: This package supports bootloader(s): MSM8226C00B322_BOOT; this device has bootloader unknown.
This package supports bootloader(s): MSM8226C00B322_BOOT; this device has bootloader unknown.
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
I:Install took 0 second(s).
Error installing zip file '/sdcard/Download/lineage-14.1-20170302-nightly-mt2-signed.zip'
Edit: So, I just reinstalled the stock ROM, B322, with no problems. Then I flashed TWRP 3.1.0, again, with no problems.
But I keep getting error 7, and it keeps saying that "this device has bootloader unknown". What gives? I can't stand the ridiculously large UI elements of the stock ROM, so I'm not going back to that.
EDIT: Alright, so I think I fixed it. Simply remove the "asserts" line from update-script in the ROM zip that deals with the bootloader (leave the device line if you wish) and it should work.
I used the instructions in this thread.