Related
Help my hox is lock on sentinel 4.75 and I cant flash any other rom onto it.
Every time I try to load another rom it crashed at the htc boot screen and never load (I have left it for up to 20 mins)
When this happens the only thing I can do is reload a nandroid of sentinel 4.75 and flash the boot image to return to my previous rom.
I have tried multiple roms including probam, sentinel 5.0, xenonhd and icj with no luck on any of them.
I am on Hboot 1.31 and have installed philz recovery.
Recently I found that my phone had no root access and had to reflash the rom - again the only one that worked was sentinel 4.75
Is there anything I can do to fix my phone to allow me to load another rom. Im finding different issues every time I reload sentinel and would really love to load something else.
Update the hboot
I am guessing that you are forgetting to flash the boot image included in the rom you desire to install.
For example you want to install sentinel v5.00.
update: forgot to mention that you need to update your hboot to run newer roms. you can find proper
hboot update files for your cid in xda forum. Credits to Mr Hofs for the reminder.
Follow these steps.
Technical terms:
adb or fastboot folder: a folder where you have fastboot.exe and adb.exe
HOX: HTC One X
preparation:
a. go to your fastboot or adb folder and rename any 'boot.img' to anything else, like sentinel475.img
b. download the zip file of the rom you want to install
c. copy this zip file into your HOX
d. open the zip file and copy the 'boot.img' file into your adb or fastboot folder
e. make sure your HOX has atleast 60% charge(50% is also fine)
Flashing procedure:
Reboot into recovery
Select 'wipe data/factory reset'
Select 'wipe data/factory reset for new rom' ( applicable to philz recovery only)
Then go back to main menu in recovery
Select 'install zip from sdcard'
Select the zip file, the one you copied to your HOX
Once it has been flashed properly
Reboot into bootloader
connect your HOX with your PC and make sure the HOX display shows 'fastboot usb' in red
open a command window and go to your fastboot folder
type in fastboot flash boot boot.img
type in fastboot erase cache
type in fastboot reboot
disconnect your hox and wait for 5 to 7 minutes for hox to boot into desktop
Thats it. I always follow these steps and everything is fine. You also have to flash gapps zip file but we need to get a proper rom
loaded first before we can do anything else. gapps is always flashable later so no worries about it.
BTW, does it say 'Unlocked' or 'Relocked' in your bootload on the top of the screen?
Can you post the steps you are following to flash other roms? May be you are missing some steps.
Most of the times, a rom will not boot if you don't flash the boot.img that came with the rom.
Thanks, and let me know your results
[Disclaimer: If you follow these steps then you automatically agree to not hold me and all xda forum staff and members responsible for
any damage that might have resulted following or not following these instructions properly or improperly.]
Leave the steps above for now. First give me the outcome of
Fastboot getvar version-main
Thanks rowlf I have installed a few roms before and am familiar with the installation process.
Sorry mistaken it is hboot 1.36
Mr hofs - the version is 3.14.707.24
In case you need cid is HTC__044
I suggest you run the ruu to get back to full stock and try to update via official ota.
http://www.androidruu.com/getdownlo...Radio_5.1204.162.29_release_296434_signed.exe
Get the hboot higher up.
Edit :
1.36 ? Thats fine for all roms. When you install a new one i always advice to do the full wipe manually. Factory reset, wipe caches and format cache,data and system ! Then install the rom.
Hi guys, I was changing Roms and accidentally hit wipe internal storage in TWRP.
I've tried to flash a Sinless ROM, an insert coin ROM and also looked on htcdev website to get an RUU to try and put it back to stock, yet every time I try and install a zip file through twrp it says "unable to open zip file".
I've also taken a shot at trying to add sideload the rom on there, no progress is made and eventually fails again... I've got no backups saved or anything...
Is there anything else I can try to make my phone work again? I was possibly thinking trying to get my brother to do a backup on his M8, put his SD in my phone, then restore from his back up, will this work?
Is there anything else I can try in the mean time? Really don't know what to do next...
Many thanks in advance guys
Oli
Hi,
In my ignorance, i think the failed flashes could be caused by two things:
1- the recovery you are using is not updated. Try to flash the lastest TWRP recovery or change recovery version.
2- corrupted ROM zips. Maybe there are problems while downloading the ROMS or while you copy them to your external sd card. Try to download them on another computer AND using a different browser. And maybe put the zips on a different SD card if you can. But, MOST IMPORTANT thing, check the MD5 after you've finished to download the zips.
About the nandroid backup... I think it could work BUT be sure that your brother M8 has the same brand, firmware and Android version of your M8 (before you wiped everything).
However, about this last part w8 maybe for somone else more expert the me w
oli3107 said:
Hi guys, I was changing Roms and accidentally hit wipe internal storage in TWRP.
I've tried to flash a Sinless ROM, an insert coin ROM and also looked on htcdev website to get an RUU to try and put it back to stock, yet every time I try and install a zip file through twrp it says "unable to open zip file".
I've also taken a shot at trying to add sideload the rom on there, no progress is made and eventually fails again... I've got no backups saved or anything...
Is there anything else I can try to make my phone work again? I was possibly thinking trying to get my brother to do a backup on his M8, put his SD in my phone, then restore from his back up, will this work?
Is there anything else I can try in the mean time? Really don't know what to do next...
Many thanks in advance guys
Oli
Click to expand...
Click to collapse
Get into fastboot and type in fastboot: fastboot erase cache
Than reflash your recovery with with fastboot: fastboot flash recovery recovery.img
Than make sure that your downloaded zip isn't corrupted by trying to unzip it. If its successful, place the rom into the SD card and insert it into your M8 and flash from there.
Set up everything and voila, all done!
---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------
OmniSlyfer said:
Hi,
In my ignorance, i think the failed flashes could be caused by two things:
1- the recovery you are using is not updated. Try to flash the lastest TWRP recovery or change recovery version.
2- corrupted ROM zips. Maybe there are problems while downloading the ROMS or while you copy them to your external sd card. Try to download them on another computer AND using a different browser. And maybe put the zips on a different SD card if you can. But, MOST IMPORTANT thing, check the MD5 after you've finished to download the zips.
About the nandroid backup... I think it could work BUT be sure that your brother M8 has the same brand, firmware and Android version of your M8 (before you wiped everything).
However, about this last part w8 maybe for somone else more expert the me w
Click to expand...
Click to collapse
My apologies, didn't notice your reply. If his is s-on, he can try his brother's nandroid and if it fails, nothing will happen so its possible for him to restore his brother's nandroid if they are based on the same firmware
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Bobbi lim said:
Get into fastboot and type in fastboot: fastboot erase cache
Than reflash your recovery with with fastboot: fastboot flash recovery recovery.img
Than make sure that your downloaded zip isn't corrupted by trying to unzip it. If its successful, place the rom into the SD card and insert it into your M8 and flash from there.
Set up everything and voila, all done!
---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------
My apologies, didn't notice your reply. If his is s-on, he can try his brother's nandroid and if it fails, nothing will happen so its possible for him to restore his brother's nandroid if they are based on the same firmware
Click to expand...
Click to collapse
Just tried doing this fastboot method, I typed in adb devices to see if the phone was recognised, didn't show up, I typed in fastboot erase cache and it still did so. I then pushed the latest TWRP recovery.img file on to the phone, it's now running the latest version of TWRP, but still won't let me flash anything, still keeps saying unable to open zip...
oli3107 said:
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Click to expand...
Click to collapse
Have you made sure the insertcoin rom that you have downloaded is compatible with your device? Your device needs to be running the lastest firmware as all the roms are updated to 4.4.4
As for the recivery, the lastest is 2.8.1.0
Here's the link to the recovery: http://forum.xda-developers.com/showthread.php?t=2717932
---------- Post added at 11:47 AM ---------- Previous post was at 11:44 AM ----------
oli3107 said:
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Click to expand...
Click to collapse
Make sure you have HTC drivers installed. if you don't, download HTC Sync and uninstall HTC Sync leaving the drivers in your computer than type in: adb devices.
Boot into fastboot and flash the recovery: fastboot flash recovery recovery.img ( or you can just directly drag the "recovery.img" into cmd and press enter)
Load the rom into a external SD card and insert the SD card into your device and flash the rom from there
Also, do you check MD5 after downloading the ROM????
My device was running 4.4.4 prior to this happening. I did download the latest recovery and push it to the phone, it did work, but upon trying to flash a new rom, it still says failed.
The phone is being detected in adb, when it's in recovery it says so, sideload it says so, just not fast boot?
Oli
Forgive me for beimg stupid but how do I check the md5?
oli3107 said:
Forgive me for beimg stupid but how do I check the md5?
Click to expand...
Click to collapse
http://www.guidingtech.com/9800/what-is-md5-checksum-how-to-verify-it/
Compare it with the MD5 given in the ROM topic
I had the same problem where I couldn't flash anything and it wouldn't mount my storage. I had to adb flash RUU though that only works for s-off users
So if the md5 was to be fine and matched up, what would you try next?
Thanks
Oli
Try unzipping the .zip file on your pc with 7zip and then re-zipping it and try to flash again. I've also had some .zip files that can't be read and it wouldn't even open on the pc itself(giving errors) until I unzipped it with 7zip and re-zipped it.
BerndM14 said:
Try unzipping the .zip file on your pc with 7zip and then re-zipping it and try to flash again. I've also had some .zip files that can't be read and it wouldn't even open on the pc itself(giving errors) until I unzipped it with 7zip and re-zipped it.
Click to expand...
Click to collapse
Also a fail to unzip will point towards a bad download.
Hi guys.
So I tried a new SD card, matched up the md5s, tried flashing a new recovery.img file (which worked, I'm running the latest twrp now), unzipped and rezipped using 7zip, yet when I try and flash it still fails! I've tried flashing on the phone and sideloading it, both still fail.
Sideload failure says:
"installing '/external_sd/sideload.zip'
checking for md5 file
skipping md5 check:no md5 found" - that's where it gives up...
Phone flash failure says exactly the same except another line after sayi ping "error flashing zip '/external_sd/ROM.zip"
I really don't know what to try anymore... I've tried so much and I just can't see anything working now
Thanks for your help so far guys
Oli
oli3107 said:
Hi guys.
So I tried a new SD card, matched up the md5s, tried flashing a new recovery.img file (which worked, I'm running the latest twrp now), unzipped and rezipped using 7zip, yet when I try and flash it still fails! I've tried flashing on the phone and sideloading it, both still fail.
Sideload failure says:
"installing '/external_sd/sideload.zip'
checking for md5 file
skipping md5 check:no md5 found" - that's where it gives up...
Phone flash failure says exactly the same except another line after sayi ping "error flashing zip '/external_sd/ROM.zip"
I really don't know what to try anymore... I've tried so much and I just can't see anything working now
Thanks for your help so far guys
Oli
Click to expand...
Click to collapse
Did you try flashing from Internal memory instead of sdcard?
No I havent. How can I get the rom to the internal memory mate? the phone has no OS on, so it's stuck in recovery or bootloader, how can I transfer the file to internal rather than the sd card?
Twrp 2.8.1.0 has MTP working.
oli3107 said:
No I havent. How can I get the rom to the internal memory mate? the phone has no OS on, so it's stuck in recovery or bootloader, how can I transfer the file to internal rather than the sd card?
Click to expand...
Click to collapse
Since your device only boots into the bootloader menu, all you'll have to do is highlight the Recovery option using the Volume Down button and select it with the Power button. If you do not see the Recovery option, just select Bootloader with the Power button and it should pop up.
Once in TWRP, tap the Advanced option and select ADB Sideload.
From there, you will be given the option to Wipe Cache and Wipe Dalvik Cache partitions, so go ahead and do so by checking the boxes and Swipe to Start Sideload. After it starts, you will be ready to start your ROM flash.
With your device connected to your computer and your ROM file already on your desktop, you are ready to flash.
Kill ADB using the adb kill-server command, then restart it with adb usb.
Make sure your computer can identify your device with the adb devices command.
Flash your ROM with adb sideload Desktop/ROM.zip (be sure to change "desktop" to "downloads" or where ever your ROM is stored, and change "ROM.zip" to the name of your ROM file).
Sorry mate I didn't understand your previous post but I tried this method already, tried flashing Roms using sideload and they still fail, I've posted the error message in one of my previous posts if that helps?
Oli
This is pretty much my first time doing such things in my phone. I rooted my phone and installed ARHD 11.2 without any trouble following the instructions. When ARHD released 21.0, I tried flashing the ROM but my WiFi stopped working which I did my research and found out that it requires a firmware update (3.28.xxxx) to work. So I tried FireWater which didn't work for some reason and bought SunShine which work out as expected and my M8 is now S-OFF & set my CID to 11111111.
Now, here comes the problem. I flashed 3.2.8.401.7 firmware downloaded from ARHD blog and it returns a SUCCESSFUL but with an ERROR 90, which I also did search and said that I just have to flash the firmware again without reboot in between. Now when I boot up my phone, it's stuck on the HTC Logo with an android text below it and doesn't boot up. I went into the bootloader and tried going into recovery but it went to a black screen with and phone with a red triangle and exclamation mark in between. I erased the cache with fastboot erase cache but still didn't work. Also, I noticed that on the top of my bootloader, it says "*** Software status: Modified ***". I don't know if that is supposed to be there. I remembered TAMPERED banner was supposed to be there. My M8 is unlocked as well.
TWRP 2.8.1.0
CID-11111111
HBOOT-3.19.0.0000
RADIO-1.21.21331147A1.19_2G
I followed this guide: VomerGuides [M8]: Bootldr Unlock, S-OFF, SuperCID, Firmware Upgrade & Custom Recovery
EDIT: Solved thanks to lukes91
Solution: Flash custom recovery and then flash ROM via ext_sd and you should be good to go.
Serenity13 said:
This is pretty much my first time doing such things in my phone. I rooted my phone and installed ARHD 11.2 without any trouble following the instructions. When ARHD released 21.0, I tried flashing the ROM but my WiFi stopped working which I did my research and found out that it requires a firmware update (3.28.xxxx) to work. So I tried FireWater which didn't work for some reason and bought SunShine which work out as expected and my M8 is now S-OFF & set my CID to 11111111.
Now, here comes the problem. I flashed 3.2.8.401.7 firmware downloaded from ARHD blog and it returns a SUCCESSFUL but with an ERROR 90, which I also did search and said that I just have to flash the firmware again without reboot in between. Now when I boot up my phone, it's stuck on the HTC Logo with an android text below it and doesn't boot up. I went into the bootloader and tried going into recovery but it went to a black screen with and phone with a red triangle and exclamation mark in between. I erased the cache with fastboot erase cache but still didn't work. Also, I noticed that on the top of my bootloader, it says "*** Software status: Modified ***". I don't know if that is supposed to be there. I remembered TAMPERED banner was supposed to be there. My M8 is unlocked as well.
TWRP 2.8.1.0
CID-11111111
HBOOT-3.19.0.0000
RADIO-1.21.21331147A1.19_2G
I followed this guide: VomerGuides [M8]: Bootldr Unlock, S-OFF, SuperCID, Firmware Upgrade & Custom Recovery
Click to expand...
Click to collapse
it looks like you still have stock recovery... flash a custom one and try to boot, but you might need to reflash the rom... let me know
lukes91 said:
it looks like you still have stock recovery... flash a custom one and try to boot, but you might need to reflash the rom... let me know
Click to expand...
Click to collapse
Thanks lukes91, I noticed that some people said that the Red triangle with a ! mark on it means that it's Stock Recovery. I didn't know why my TWRP got wiped off when I flashed the firmware. I'll give it a try and update this post.
edit: I'm afraid that for some odd reason. I can't get my phone connected with ADB. It's just says device not found when bootloader says FASTBOOT USB. I reinstalled the drivers from HTC Sync and tried it with HTC Sync installed and uninstalled but I still can't get it to work. I'm plugged into USB 2.0 port.
edit2: I tried plugging in my phone while it's stucked on the HTC logo. My computer detects the Phone and opens up the Internal Storage from my Computer. I have bunch of folders inside which is empty and about 0.3GB storage are used. I'm afraid that it might have to do with the USB Debugging option is off which I do not know how to get it on in bootloader.
edit3: Okay I managed to get TWRP flashed finally. How do I get the ARHD 21.1 ZIP into the Phone? I tried ADB Sideload but it just gets stuck at "Starting ADB Sideload feature..." I tried entering the command in CMD and it said Cannot read file "rom.zip"
Serenity13 said:
Thanks lukes91, I noticed that some people said that the Red triangle with a ! mark on it means that it's Stock Recovery. I didn't know why my TWRP got wiped off when I flashed the firmware. I'll give it a try and update this post.
edit: I'm afraid that for some odd reason. I can't get my phone connected with ADB. It's just says device not found when bootloader says FASTBOOT USB. I reinstalled the drivers from HTC Sync and tried it with HTC Sync installed and uninstalled but I still can't get it to work. I'm plugged into USB 2.0 port.
edit2: I tried plugging in my phone while it's stucked on the HTC logo. My computer detects the Phone and opens up the Internal Storage from my Computer. I have bunch of folders inside which is empty and about 0.3GB storage are used. I'm afraid that it might have to do with the USB Debugging option is off which I do not know how to get it on in bootloader.
edit3: Okay I managed to get TWRP flashed finally. How do I get the ARHD 21.1 ZIP into the Phone? I tried ADB Sideload but it just gets stuck at "Starting ADB Sideload feature..." I tried entering the command in CMD and it said Cannot read file "rom.zip"
Click to expand...
Click to collapse
put the rom zip inside ext_sd and flash from there
it's the easiest way...
lukes91 said:
put the rom zip inside ext_sd and flash from there
it's the easiest way...
Click to expand...
Click to collapse
Best answer :good:
lukes91 said:
put the rom zip inside ext_sd and flash from there
it's the easiest way...
Click to expand...
Click to collapse
Alright I'll give it a try. I did try it and placed it in the internal storage but the file went missing after I rebooted into recovery. I'll try your directory instead and give a reply asap.
I actually felt embarrassed on that and my stupidity lol.
edit: Thanks very much! I flashed ARHD 21.1 and now it worked. Now I feel more embarrassed after the ext_sd incident...that actually works.
Serenity13 said:
Alright I'll give it a try. I did try it and placed it in the internal storage but the file went missing after I rebooted into recovery. I'll try your directory instead and give a reply asap.
I actually felt embarrassed on that and my stupidity lol.
edit: Thanks very much! I flashed ARHD 21.1 and now it worked. Now I feel more embarrassed after the ext_sd incident...that actually works.
Click to expand...
Click to collapse
Great! Glad i helped
Sent from here
Serenity13 said:
I noticed that some people said that the Red triangle with a ! mark on it means that it's Stock Recovery. I didn't know why my TWRP got wiped off when I flashed the firmware.
Click to expand...
Click to collapse
If the firmware zip contains stock recovery, of course its going to overwrite TWRP with stock recovery. Sometimes, folks here will intentionally remove stock recovery from the firmware zip (for the express purpose of preventing custom recovery from being wiped when flashing the firmware). But as it comes with an OTA, it will contain stock recovery.
---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------
Serenity13 said:
edit3: Okay I managed to get TWRP flashed finally. How do I get the ARHD 21.1 ZIP into the Phone? I tried ADB Sideload but it just gets stuck at "Starting ADB Sideload feature..." I tried entering the command in CMD and it said Cannot read file "rom.zip"
Click to expand...
Click to collapse
I know you solved your issue another way. But the adb syntax needs to contain the actual file name, in place of "rom.zip" (with no quotes). This is assuming from the error message that you did not actually rename the file to "rom.zip"(which is another way to do it).
redpoint73 said:
If the firmware zip contains stock recovery, of course its going to overwrite TWRP with stock recovery. Sometimes, folks here will intentionally remove stock recovery from the firmware zip (for the express purpose of preventing custom recovery from being wiped when flashing the firmware). But as it comes with an OTA, it will contain stock recovery.
---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------
I know you solved your issue another way. But the adb syntax needs to contain the actual file name, in place of "rom.zip" (with no quotes). This is assuming from the error message that you did not actually rename the file to "rom.zip"(which is another way to do it).
Click to expand...
Click to collapse
Well I did rename the original name(Android_Revolution_HD-One_M8_21.1.zip) to rom.zip since it's way long and it didn't work the first time I entered adb side load Android_Revolution_HD-One_M8_21.1.zip. I renamed to rom.zip just to see whether if it works but I still received the same error. It could be something wrong with the ADB Sideload. It got stuck at "Starting ADB Sideload feature..." but "adb devices" listed the device with sideload tag on it. Thanks to lukes91, the method he posted above, which was the most simplest method that I should have done at the first place works perfectly.
Serenity13 said:
It could be something wrong with the ADB Sideload.
Click to expand...
Click to collapse
Could be, I've found adb sideload to be finicky, and adb push to be more reliable. Although sideload is good to have in your bag of tricks "just in case". And of course the method you eventually used (putting it on the removable SD) works, as well.
The other common cause for the error message "cannot read file" is that the file is accidentally named rom.zip.zip due to the user not realizing they have the Windows option selected to hide file extensions (and erroneously adding ".zip" to the file name). But as you loaded and flashed the file successfully by putting it on the removable SD, this likely is not the case either.
You had the ROM zip in the same folder as your adb executable, right (when trying to sideload)? An obvious thing, probably. But just asking, since its sometimes the seemingly obvious things that trip us up.
redpoint73 said:
Could be, I've found adb sideload to be finicky, and adb push to be more reliable. Although sideload is good to have in your bag of tricks "just in case". And of course the method you eventually used (putting it on the removable SD) works, as well.
The other common cause for the error message "cannot read file" is that the file is accidentally named rom.zip.zip due to the user not realizing they have the Windows option selected to hide file extensions (and erroneously adding ".zip" to the file name). But as you loaded and flashed the file successfully by putting it on the removable SD, this likely is not the case either.
You had the ROM zip in the same folder as your adb executable, right (when trying to sideload)? An obvious thing, probably. But just asking, since its sometimes the seemingly obvious things that trip us up.
Click to expand...
Click to collapse
Yep I had the ROM zip at the same folder as the adb executable. I did tried both rom.zip and rom.zip.zip in case it was the extension setting mistake. Still it was a happy ending. I got my firmware and ARHD updated. It feels so good to be updated. :good:
SuperSU told me that my SU binary was out of date and so i tried to update it through TWRP like it recommended. Well that ended up failing in the middle of it (I don't have logs) and it seems like the backup I had is missing from my SD card. Whenever I load android it goes black screen, it'll show the back button and the status bar but none of that will be interactive. I can power it down but if i wait too long the buttons won't work. Anyways I was hoping someone had a backup for the a5_chl phone.
end360 said:
SuperSU told me that my SU binary was out of date and so i tried to update it through TWRP like it recommended. Well that ended up failing in the middle of it (I don't have logs) and it seems like the backup I had is missing from my SD card. Whenever I load android it goes black screen, it'll show the back button and the status bar but none of that will be interactive. I can power it down but if i wait too long the buttons won't work. Anyways I was hoping someone had a backup for the a5_chl phone.
Click to expand...
Click to collapse
Sorry your having problems. Why not just get the stock RUU file directly from HTC/downloads and flash back your stock recovery by running the RUU on your computer and before hitting start type %temp% into the search box and go to the RUU's running files and in one of the numbered files will be the rom.zip and within that file will be the recovery image. Copy that to your ADB/fastboot folder then flash it over your TWRP recovery but first I'd wipe the system and data in advanced wipe in TWRP to get your system partition clean( THIS WIPES THE WHOLE PHONE SO BE AWARE OF THAT AND MOVE FILES TO YOUR COMPUTER ACCORDINGLY OR BACK UP USING GOOGLE STOCK BACKUP IN SETTINGS IF YOU'RE NOT ALREADY FOR CONTACTS AND NUMBERS ETC). Then relock your bootloader with the stock recovery flashed back and run the RUU or put it in your ext SD and rename the file to OP9CIMG and reboot into your bootloader and it should automatically pick up the file and start flashing it. I have this same model phone and I keep my stock RUU that I got from HTC on my computer for just such a problem. I got a stock recovery zip from somewhere else but i can't remember where but it's also within the RUU itself. Try to find the link for you in a bit.
EDIT: here's a link to someone I know who had a whole tutorial for the a5_ul version of our phone on how to flash back a stock RUU from your computer or from within your ext SD card. Obviously the links with the files aren't valid for our phone but the steps are . Also has instructions for restoring using a TWRP backup but I wouldn't use someone else's TWRP backup if my hair was on fire. Especially since we have access to the pure stock RUU with our version why not take advantage of it. That's all I'm saying.
http://forum.xda-developers.com/desire-816/help/guide-how-to-flash-stock-recovery-ruu-t3308502
And here's the HTC RUU downloads link below
http://www.htc.com/us/support/rom-downloads.html
And lastly a link to a tutorial on extracting the stock recovery from the RUU .
http://androidforums.com/threads/guide-re-flash-stock-rom-ruu-after-bricking-a-rooted-device.565203/
Well not lastly I guess because here is a link to the stock recovery provided by FoxyDrew. Don't use the RUU link it's to kitkat but the recovery link below it is the same for lollipop as it's for the a5_chl
http://forum.xda-developers.com/desire-816/general/ruu-t2952058/post57019175#post57019175
thoctor said:
Sorry your having problems. Why not just get the stock RUU file directly from HTC/downloads and flash back your stock recovery by running the RUU on your computer and before hitting start type %temp% into the search box and go to the RUU's running files and in one of the numbered files will be the rom.zip and within that file will be the recovery image. Copy that to your ADB/fastboot folder then flash it over your TWRP recovery but first I'd wipe the system and data in advanced wipe in TWRP to get your system partition clean( THIS WIPES THE WHOLE PHONE SO BE AWARE OF THAT AND MOVE FILES TO YOUR COMPUTER ACCORDINGLY OR BACK UP USING GOOGLE STOCK BACKUP IN SETTINGS IF YOU'RE NOT ALREADY FOR CONTACTS AND NUMBERS ETC). Then relock your bootloader with the stock recovery flashed back and run the RUU or put it in your ext SD and rename the file to OP9CIMG and reboot into your bootloader and it should automatically pick up the file and start flashing it. I have this same model phone and I keep my stock RUU that I got from HTC on my computer for just such a problem. I got a stock recovery zip from somewhere else but i can't remember where but it's also within the RUU itself. Try to find the link for you in a bit.
EDIT: here's a link to someone I know who had a whole tutorial for the a5_ul version of our phone on how to flash back a stock RUU from your computer or from within your ext SD card. Obviously the links with the files aren't valid for our phone but the steps are . Also has instructions for restoring using a TWRP backup but I wouldn't use someone else's TWRP backup if my hair was on fire. Especially since we have access to the pure stock RUU with our version why not take advantage of it. That's all I'm saying.
http://forum.xda-developers.com/desire-816/help/guide-how-to-flash-stock-recovery-ruu-t3308502
And here's the HTC RUU downloads link below
http://www.htc.com/us/support/rom-downloads.html
And lastly a link to a tutorial on extracting the stock recovery from the RUU .
http://androidforums.com/threads/guide-re-flash-stock-rom-ruu-after-bricking-a-rooted-device.565203/
Well not lastly I guess because here is a link to the stock recovery provided by FoxyDrew. Don't use the RUU link it's to kitkat but the recovery link below it is the same for lollipop as it's for the a5_chl
http://forum.xda-developers.com/desire-816/general/ruu-t2952058/post57019175#post57019175
Click to expand...
Click to collapse
My thread has the KitKat and Lollipop RUU, which is the latest one from HTC, and should work fine for his issue
FoxyDrew said:
My thread has the KitKat and Lollipop RUU, which is the latest one from HTC, and should work fine for his issue
Click to expand...
Click to collapse
Cool. You're the man.
The title might sound a bit extreme but hear me out. Earlier I was updating Havoc-OS to the latest June 12th, 2019 build. Upon flashing it within the TWRP recovery it asked to update the firmware. The firmware that it required was V10.3.1.0.PEIMIXM. I flashed fw_whyred_miui_HMNote5Global_V10.3.1.0.PEIMIXM_d4d2c9f2aa_9.0 from the website where all of the firmwares are managed, but ever since I did this my recovery has then broken itself (ARB as well? Give me a second..). Every time I go into TWRP and want to transfer files, there is no way for me to transfer files from my phone to the computer and vice versa. MTP is enabled but I just cannot transfer files what so ever. I tried to reflash TWRP, update to the latest version and it still has not worked. One thing I have noticed while flashing TWRP within Fastboot was that it didn't require me to use the dummy.img in order to flash via fastboot which I thought was strange, knowing that my phone has ARB Level: 4. I have since then used Mi Flash tool to get the phone working again but every time I try to flash TWRP, MTP still will not enable and I have no idea what to do. I'm so scared as to what to do next because I don't know what to do. Please any help or suggestions?
BlackHawk580 said:
The title might sound a bit extreme but hear me out. Earlier I was updating Havoc-OS to the latest June 12th, 2019 build. Upon flashing it within the TWRP recovery it asked to update the firmware. The firmware that it required was V10.3.1.0.PEIMIXM. I flashed fw_whyred_miui_HMNote5Global_V10.3.1.0.PEIMIXM_d4d2c9f2aa_9.0 from the website where all of the firmwares are managed, but ever since I did this my recovery has then broken itself (ARB as well? Give me a second..). Every time I go into TWRP and want to transfer files, there is no way for me to transfer files from my phone to the computer and vice versa. MTP is enabled but I just cannot transfer files what so ever. I tried to reflash TWRP, update to the latest version and it still has not worked. One thing I have noticed while flashing TWRP within Fastboot was that it didn't require me to use the dummy.img in order to flash via fastboot which I thought was strange, knowing that my phone has ARB Level: 4. I have since then used Mi Flash tool to get the phone working again but every time I try to flash TWRP, MTP still will not enable and I have no idea what to do. I'm so scared as to what to do next because I don't know what to do. Please any help or suggestions?
Click to expand...
Click to collapse
Go to developer options, disable USB debugging and then enable it again connected to pc and wait that a pop-up appears on device screen, tap on always allow, then within adb/fastboot folder try to send device to recovery with "adb reboot recovery" see if was solved, if not then try erasing recovery partition through fastboot with "fastboot erase recovery" then flash TWRP again as usually, disconnect from pc before to boot to it, then in TWRP connect to pc and wait that pc recognice it.
If the issue persists you can uninstall and delete all the files related with drivers on pc directories and then make again a clean install also wiping cache/dalvik onto your device.
It's because u used the twrp meant for oreo firmware. It is incompatibile with new pie fw, you must flash latest twrp for example twrp 3.3.1 using fastboot. Use adb commands: 1.adb,2.adb shell,3.adb fastboot boot (location of the twrp 3.3.1) for example C:\twrp.... .img and then from the recovery flash twrp 3.3.1 as recovery.
i had same problem.
i installed latest global stable miui_HMNote5Global_V10.3.1.0.PEIMIXM_d4d 2c9f2aa_9.0 rom from sd card.
MTP is working properly.
but there is problem for me after that.
This is strange problem.
after installing miui rom twrp recovery uninstalls automatically after reboot,when install twrp via boot it encrypts twrp.
can anyone help me?
my problem is-
after all this if i try to install custom rom(from sd card) it says corrupt file or error 7 ,i tried to flash 3-4 different rom.
EDIT: my problem solved after installing this twrp https://androidfilehost.com/?fid=6006931924117884758 (from AOSP ext pie rom thread)