okay so heres what happened.
I have an international htc one x that is indeed rooted with no roms installed.
I did create a back up and then tried to install the MIUI rom (but I dont really know where that is on my phone. I know I made one with rom manager. I dont have any backups on my computer though)
It worked, however, it didnt have wifi or data signals so i went back to try again.
I opened my bootloader screen. For the record, it is unlocked and hboot is version 1.73 if that helps.
I wiped cashe/data/delvic everything and even factory reset and installed the MIUI RD rom now hoping it would have a difference.
The darn thing got stuck on the MIUI bootloader for hours.
I did the same thing again a few times, sometimes in different orders and then it passed on and another screen came saying 'starting apps'. That got stuck for hours too.
Now I don't have any other roms on my phone, just the MIUI RD. The original miui just vanished too, i dont see it anymore. Also, when I put my USB wire to the phone and connect it to the pc, I cant transfer newer files into it. So this is all I have access to on my phone apparently.
I tried flashing a boot.img and a couple kernels but no luck. I've been trying to do this for all day and this is my first time so I don't know much about it.
I've been googling and somethings say to open cmd and type but i keep getting 'fastboot is not recognized as an internal or external command'
Currently, its not stuck at either the MIUI screen or the Starting Apps. but just the HTC logo screen and not going past.
I don't really want to install any new roms considering i've worked really hard to get this to work and I really want it now more so.
How do i fix this? I want to use this rom.
flash philz recovery (http://forum.xda-developers.com/showthread.php?t=2240646), usb mounting should work on that, then:
steps to install ROM
1. bootloader version should be 1.3x
2. copy ROM to SD Card
3. copy boot.img INCLUDED in the ROM zip to fastboot folder
4. flash the boot.img in fastboot
5. in recovery, wipe system/data/cache/everything
6. flash rom
7. restart
but how exactly do i put it on my phone? my computer isnt detecting my phone when i connect it? im sorry im not exactly an expert on this.
Go to recovery - mounts and storage - hook up the usb cable - tap the last option in the mounts and storage list and wait a few minutes. It won't be mounted instantly
ok i flashed the philtz recovery but when i flash the boot.img it says:
Finding update package
Opening update package
Installing update
installation aborted
for reference: http://forum.xda-developers.com/showthread.php?t=1957490
thats the rom i used and i flashed the boot.img flasher thats right above the download link
edit: also i tried just flashing the rom again and im still stuck on the HTC screen.
its not even going to the miui screen or starting apps anymore. :[
Boot.img must be flashed via fastboot. Not via recovery !
ok, i looked up how to fastboot, downloaded sdk files and i moved the boot.img into the fastboot folder and i opened command prompt there and wrote fastboot flash boot boot.img but i keep getting:
'fastboot is not recognized as an internal or external command'
what did i miss?
EDIT: ok, so the fastboot folder i got from the page didnt work so i used a different fastboot folder, dragged the .boot there and now it worked! finally passed the screen and wifi is connecting!
thank you!
Good, thanks to @tomascus. He summed it up real nice
Cheers
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
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.
I want to flash a different rom on my htc m9 than already was installed. I changed the CID to HTC__001 (I am S-OFF) and downloaded RUU 3.35.401.12.zip. When I'm in download mode I type: fastboot flash zip Firmware3.35.401.12.zip in adb. I get an error: cannot load 'Firmware 3.35.401.12.zip'. Why is this? The zip is in the same directory with fastboot.exe and htc_fastboot.exe.
The situation has changed a bit. I decided to try to install from sd card and it worked perfectly. Now I was on 3.35.401.12. But I wanted to install android N. I read that you can't install from firmware 3 to 4 unless you want to install a full wipe zip. So I did. I installed M9_4.14.401.7_FullStock_wipe.zip from Sneakyghost. Now it is stuck on the white HTC screen. I can boot into bootloader, recovery etc. I even flashed twrp, installed SuperSU and wiped dalvid/cache but still stuck. I did see that I'm on 4.14.401.7. What can I do now?
I just read "Be sure to put a ROM onto your EXTERNAL SD before proceeding with a Full WIPE ZIP! Else you can also ADB push a ROM in recovery mode after fastboot reflashing a recovery. The newer TWRP variants also support a normal MTP connection and might support USB mass storage at a later stage. Phone will NOT boot without ROM reflash after using this!" in the thread from Sneakyghost. So, I understand why I'm not booting, but can I now flash stock 4.14.401.7? And how do I do that? Also with SD-method?
I believe you flash the ota once you've flashed the zip and that completes the process.
There is a dedicated nougat thread in the general section. The reply to one of my noobish questions answers this exact situation.
Beamed in by telepathy.