[Q] TWRP Help! Unable to open zip, no OS installed! - One (M8) Q&A, Help & Troubleshooting

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

Related

[Q] clockworkmod recovery

hello,
last night i tried to flash an update from cm7 nightly and after trying it, decided to return to the previous build i was using. i did a nan restore and encountered an error "md5 mismatch". i asked for 3xeno help as to what could have possibly caused the error and suggested some possible causes and solution to my problem which I am still trying to figure out till now. but in the meantime i have just decided to reflash the nightly i was using and reinstalled all the apps i was using.
i read quite a few articles and threads here and if i understood it right there are some cwm version that encounter nandroid restore problems. i am currently using cwm 3.0.0.6 and i was wondering if there is a cwm version that i can use which is more stable and will not create any problems if i would make nan restores in the future.
thanks.
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
3xeno said:
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
Click to expand...
Click to collapse
will give it a try and see how it goes.
edit: i found the link from your guide you posted before sir. the zip for cwm 5.0.2.0 with the PC49IMG zip. sorry for the stupid question, should i flash both zip?
[email protected] said:
will give it a try and see how it goes.
edit: i found the link from your guide you posted before sir. the zip for cwm 5.0.2.0 with the PC49IMG zip. sorry for the stupid question, should i flash both zip?
Click to expand...
Click to collapse
The two zips are different ways of installing it.
Download PC49IMG.zip only and place on SD card root, go into hboot and press volume up when it asks you to update
Sent from my HTC Wildfire using XDA App
jacktyler1807 said:
The two zips are different ways of installing it.
Download PC49IMG.zip only and place on SD card root, go into hboot and press volume up when it asks you to update
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Manage to flash it as per 3xeno guide and suggestions. Im now on cwm 5.0.2.0. Thought i had it figured out at first but it was only temporary recovery. Flashed PC4IMG zip and now everything is good.
Thanks.
3xeno said:
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
Click to expand...
Click to collapse
I get lots of MD5SUM errors with this version of CWM, 4 out of 5 nands fail on me. I think my card may be to blame but i really dont trust my backups now. I'm sketchy about any mods I do now because i cant be sure if my backups will restore.
If you are ready to use fastboot, you can use it to push all the IMG files directly to your Wildfire without bothering about MD5 checksums. (I had loads of MD5 errors on versions 4.x, but not a single one yet, as I said before, on 5.0.2.0)
3xeno said:
If you are ready to use fastboot, you can use it to push all the IMG files directly to your Wildfire without bothering about MD5 checksums. (I had loads of MD5 errors on versions 4.x, but not a single one yet, as I said before, on 5.0.2.0)
Click to expand...
Click to collapse
Will probably try to learn that method over the weekend. I tried a nandroid backup and restore with cwm 5.0.2.0 and it went well so far. Thank you for the suggestion sir.
If my previous backups including my stock rom gets really messed up, I guess Im just gonna stick with cm7. I'm loving it anyway.
Quoting myself from a previous post:
2) Use Fastboot
- Download this attachment and extract it to any folder (eg: C:\fastboot)
http://forum.xda-developers.com/atta...1&d=1308537074
- Download CWM IMG Image for Wildfire (Buzz) from here:
http://download.clockworkmod.com/rec...0.2.0-buzz.img
- Place that IMG file along with the 4 files from the attachment in the same folder you created
- Now, turn off your Wildfire, connect to PC, and turn on in HBoot
- Navigate to Fastboot and Select it
- Open a Command Prompt Window (Start > Run > cmd)
- Type the following one by one and press Enter (It is assumed you created the folder in C Drive and have named it fastboot)
- cd\
- cd fastboot
- fastboot flash recovery recovery-clockwork-5.0.2.0-buzz.img
- This should produce 2 lines of code - SENDING RECOVERY and WRITING RECOVERY. If both states OK at the end, you should have CWM installed successfully after this.
Click to expand...
Click to collapse
The above Quote was for installing a Recovery Image like CWM. Fastboot commands use the following syntax:
fastboot flash <partition name> <name of IMG file to be flashed>
So, the other command names will change according to the files from your previous Nandroid Backup. Examples:
fastboot flash cache cache.img
fastboot flash system system.img
fastboot flash data data.img
... and so on
will give this a try sir. thanks

[HELP] Can't install rom

Hi guys,
It seems I have no clue what I'm doing and am very desparate (almost threw phone out the window).
Right now I have CWM recovery but no zip on the card. The phone won't boot any further so I can't upload anything to the SD card. I used this guide as a tip from another forum member > http://forum.xda-developers.com/showthread.php?t=1975140&highlight=clockworkmod+recovery
But I do not understand the guide. It does not tell me how I should get a nandroid backup onto the phone, it merely tells me to put the backup on the sd card and use cwm to install it. It also constantly refers to .zip backup files while the nandroid comes in .rar and .tar. So I'm probably missing something, but i've been at it for hours and the more time I spend on this the more lost I get.
Can anybody tell me how I can install a rom through cwm without being able to boot into anything but cwm or flashboot? And if you would be so kind, please explain it to me step by step.. all the guides have thrown me into mazes I can't get out of...
Thanks alot!
Wisse
extreemwisse said:
Hi guys,
It seems I have no clue what I'm doing and am very desparate (almost threw phone out the window).
Right now I have CWM recovery but no zip on the card. The phone won't boot any further so I can't upload anything to the SD card. I used this guide as a tip from another forum member > http://forum.xda-developers.com/showthread.php?t=1975140&highlight=clockworkmod+recovery
But I do not understand the guide. It does not tell me how I should get a nandroid backup onto the phone, it merely tells me to put the backup on the sd card and use cwm to install it. It also constantly refers to .zip backup files while the nandroid comes in .rar and .tar. So I'm probably missing something, but i've been at it for hours and the more time I spend on this the more lost I get.
Can anybody tell me how I can install a rom through cwm without being able to boot into anything but cwm or flashboot? And if you would be so kind, please explain it to me step by step.. all the guides have thrown me into mazes I can't get out of...
Thanks alot!
Wisse
Click to expand...
Click to collapse
mate mount the sd card. there is an option in cwm to mount sd card.
then tranfer the rom.zip to the sd card
take boot.img from rom.zip and put it in fastboot folder.
now install the rom through cwm
boot into fastboot and flash the boot.img
erase cache
your phone should boot fine.
1. Download the latest official CWM recovery: http://forum.xda-developers.com/showthread.php?t=1594819 and extract it.
2. Connect your phone to your computer, hold the power+volume down button for 10 seconds. Go to fastboot. Open a cmd windows to the path where your recovery file is. Flash the recovery by typing "fastboot flash recovery <name of recovery file>"
3. Download the ROM you want to flash and extract the boot image from the RAR file. Also, place the ROM on the root of your SD card. Open up a cmd window where you extracted the boot image, and then flash it by typing "fastboot flash boot boot.img"
4. Hit hboot. And then hit recovery. You will now go to CWM.
5. Wipe data partition, wipe cache partition and go to advanced and wipe Dalvik cache.
6. Choose install zip from SD card, choose zip from SD card.
7. Choose the RAR file of the ROM.
8. When it flashes it, reboot system. And you're done
---------- Post added at 10:58 PM ---------- Previous post was at 10:51 PM ----------
I'm sorry bro, after you flash boot.img. Head to recovery > mounts and storage > mount USB > and then move the ROM to your SD card. And then flash the ROM.
Hi there,
Thanks alot!
Next issue; md5 mismatch.
Im following these steps to fix the issue:
type in teminal:
Code:
adb shell
# cd /sdcard/clockworkmod/backup/Name_of_the_nandbackup_folder
# rm nandroid.md5
# md5sum *img > nandroid.md5
But it doesnt work. The guidelines ( http://forum.xda-developers.com/showthread.php?t=1975140&highlight=clockworkmod+recovery ) state that I should remove nandroid.md5 but that doesn't exsist. When I do LS I see:
/sdcard/clockworkmod/backup/XDABackup # ls
Stock backup XDA HTC__E11 - Android 4.0.4 sense 4.1 - 2.17.401.2.rar
Stock backup XDA HTC__E11 - Android 4.0.4 sense 4.1 - 2.17.401.2.rar.checksum
I do see that rar checksum thingy, which I can't remove because there are spaces between the words in the filename. The shell tries to remove each individual word as if it were an individual file.
So is it me, or is the ''guide'' wrong? I'm desparate once again.. please help me
Thanks,
Wisse
faiz02 said:
mate mount the sd card. there is an option in cwm to mount sd card.
then tranfer the rom.zip to the sd card
take boot.img from rom.zip and put it in fastboot folder.
now install the rom through cwm
boot into fastboot and flash the boot.img
erase cache
your phone should boot fine.
Click to expand...
Click to collapse
Ok i'm alittle further,
When I remove the MD5 and create a new one, it keeps saying MD5 mismatch when I try to run the restore from cwm. Anyone have a clue why?
Thanks!
extreemwisse said:
Ok i'm alittle further,
When I remove the MD5 and create a new one, it keeps saying MD5 mismatch when I try to run the restore from cwm. Anyone have a clue why?
Thanks!
Click to expand...
Click to collapse
why are you restoring nandroid backup?
do you want to go back to stock?
why don't you just flash any ICS based rom or cm10/AOKP roms?
All you have to do is download the rom and flash..
and i am sorry i can't help with the nandroid error, I got no idea about it.. wait for some one else to answer.
Hi faiz02,
Thanks for your reply.
I need to revert to stock as it has another issue and requires warranty.
Thank you for your help, but I need to revert stock using nandroid
Cheers
faiz02 said:
why are you restoring nandroid backup?
do you want to go back to stock?
why don't you just flash any ICS based rom or cm10/AOKP roms?
All you have to do is download the rom and flash..
and i am sorry i can't help with the nandroid error, I got no idea about it.. wait for some one else to answer.
Click to expand...
Click to collapse
okay then try this link http://htcruu.com/?dir=Endeavor
search for your country specific ruu.
since you trying to restore the nandroid backup of 2.17.401.2
I see there is a ruu available with the same version. 2.17.401.2
download and run the ruu. It will automatically restore your phone to stock.
extreemwisse said:
Ok i'm alittle further,
When I remove the MD5 and create a new one, it keeps saying MD5 mismatch when I try to run the restore from cwm. Anyone have a clue why?
Thanks!
Click to expand...
Click to collapse
You've got spaces in the file name. Rename your backup to something sensible (i.e. without spaces) and it should work.

[Q] please help me I'm desperate

two days ago i tried to root my phone(htc one x) with allinone hasoons kit which i have done it successfully afterwords i tried different recovery programs because the rom that i installed was loading in endless loop. For my last try to push TWRP recovery prog i ended up scrwing my phone really badly.
1. i pushed the the last recovery and the my phone was able to load only in bootloader without being able to go to the recovery mode.not able to load
2.then i format sd card on my pc cause windows 8 were saying that need to be formated ..
3.now it is recognize as a cd rom only
4.and it says battery too low to flash!!!!!
thats all the syptoms....please help me thanks
charis90 said:
two days ago i tried to root my phone(htc one x) with allinone hasoons kit which i have done it successfully afterwords i tried different recovery programs because the rom that i installed was loading in endless loop. For my last try to push TWRP recovery prog i ended up scrwing my phone really badly.
1. i pushed the the last recovery and the my phone was able to load only in bootloader without being able to go to the recovery mode.not able to load
2.then i format sd card on my pc cause windows 8 were saying that need to be formated ..
3.now it is recognize as a cd rom only
4.and it says battery too low to flash!!!!!
thats all the syptoms....please help me thanks
Click to expand...
Click to collapse
Need mor info wich CID you have and wich hboot version? When you flash the rom are you flash the boot.img?
Thant said:
Need mor info wich CID you have and wich hboot version? When you flash the rom are you flash the boot.img?
Click to expand...
Click to collapse
hbo0t-1.72.000
and sorry but whats the CID
charis90 said:
hbo0t-1.72.000
and sorry but whats the CID
Click to expand...
Click to collapse
go in fastboot end write the coment: fastboot oem readcid
Download THIS unzip and plase the fastboot folder on C:\
go in fastboot with you phone and connct to computer
Navigate to C:\fastboot and start chargeONEX.bat file, your phone will start to reboot and charge slowly leave it for 3-4 hours to charge
after this install this RECOVERY fastboot flash recovery NAME.img. Where NAME is the name of the img file.
Go in Recovery and mount the sd card. Choice a ROM and plase in the folder to your SD card. Flash the rom
go in fastboot and flash boot.img you can take it from rom arhiv: fastboot flash boot boot.img and after this fastboot erase cache
Restart the phone and play with your new rom!
chased lihcloto
hi i manage to get the CID is :HTC_001
charis90 said:
hi i manage to get the CID is :HTC_001
Click to expand...
Click to collapse
ok this is ok now fallow my instruction in previous post
Thant said:
ok this is ok now fallow my instruction in previous post
Click to expand...
Click to collapse
I'm following the instructions and i run the scrips and from the bootloader my phone shuts down and i get this in cmd like in the attached image
thanks
man you are so great thanks a lot i charged the phone and i did everything you said i pushed the rom from fastboot and the boot image of the rom but when i restart the phone all i get is the htc welcome screen.
rom info
btw do you know where i can download the correct rom just to make sure cause when im trying to intall the zip file from the recovery mode i get an error 7
charis90 said:
btw do you know where i can download the correct rom just to make sure cause when im trying to intall the zip file from the recovery mode i get an error 7
Click to expand...
Click to collapse
YOU MUST TO GO IN RECOVERY and MOUNT the SD CARD and COPY you rom to folder on your sd card and after this to install the rom from the SD CARD! after this flash boot.img and erase cache you can go again in recovery and wipe dalvik cache and cache again for any case
Download VIPERX-4.0.0 it is good an take the boot.img inside from ROM archive and place your boot.img inside your fastboot folder I think in your case must to be C:\fastboot\.
I think you don't flash the boot.img. The file must be in fastboot folder and use command fastboot flash boot boot.img
---------- Post added at 07:55 PM ---------- Previous post was at 07:53 PM ----------
charis90 said:
I'm following the instructions and i run the scrips and from the bootloader my phone shuts down and i get this in cmd like in the attached image
Click to expand...
Click to collapse
This is normal the phone will restart many times I write you in the instruction. you must to leave for 3-4 hours to charge.
thanks
thanks million times i manage to do it your help was really great
another prob
sorry to bother you again but bow in every rom im trying to install except the cyanogenmod 10.2 im getting an error :
assert failed when seeing if :
get(prop"ro.bootloader")
is equal to any of the following numbers:
1.28.0000
1.31.0000
1.33.0000
1.36.0000
1.39.0000
Status 7)
charis90 said:
sorry to bother you again but bow in every rom im trying to install except the cyanogenmod 10.2 im getting an error :
assert failed when seeing if :
get(prop"ro.bootloader")
is equal to any of the following numbers:
1.28.0000
1.31.0000
1.33.0000
1.36.0000
1.39.0000
Status 7)
Click to expand...
Click to collapse
This error can cause:
1. phones HBOOT version is to low - but from previous post you said that is 1.72.00 so more likely is
2.Roms that you wont to flash do not have string in updater-script (it is in every rom.zip that you wont to flash-find it and modified it)
Read this http://forum.xda-developers.com/showthread.php?t=2425559 and this from post number 53 and 54 http://forum.xda-developers.com/showthread.php?t=2411995&page=6 to find out what and how to modified
You can edit needed file - updater-script in /META-INF/com/google/android/updater-script (this is the path for updater-script in every rom.zip) with notpad or other text editor software
charis90 said:
sorry to bother you again but bow in every rom im trying to install except the cyanogenmod 10.2 im getting an error :
assert failed when seeing if :
get(prop"ro.bootloader")
is equal to any of the following numbers:
1.28.0000
1.31.0000
1.33.0000
1.36.0000
1.39.0000
Status 7)
Click to expand...
Click to collapse
Are you sure you are on HBOOT 1.72???
Thant said:
Are you sure you are on HBOOT 1.72???
Click to expand...
Click to collapse
yes positive and still i have no idea y this is happening but the only rom compatible is ccyanogenmod 10.2
charis90 said:
yes positive and still i have no idea y this is happening but the only rom compatible is ccyanogenmod 10.2
Click to expand...
Click to collapse
Try go back to stock rom and stock recovery and after this upgrade to 4.2.2 from HTC
STOCK 3.20.401.1
1. Copy your stock rom to sd card
2. flash via custom recovery
3. flash stock recovery.img
4. flash stock boot.img
5. Check for update and update your HOX
6. Try to flash another ROM different from CM10.2

[Q] Stuck in CWM recovery screen

Dear XDA-members,
This afternoon, I tried to root mij HTC One X and flash it to Cyanogenmod 10.2. During the flashing, I made the mistake to forget to put the boot.img and Google Apps files on my SD card. During the rom installation, I got stuck in the splash screen. For this reason, I formatted my SD kaart in the CWM recoveryscreen but now my phone doesn't have any rom at all. When I turn on my phone, I only get to see the white HTC screen. When I try to connect my phone to my pc, it doesn't get recognized. I just want to get my stock ROM back again to get my phone working. I do have acces to the CWM recoveryscreen.
I downloaded the fastboot and RUU files, but fastboot won't recognize my device through the commandscreen. This is why I can't put the RUU files on my phone.
Can someone please help me? I don't have a clue what to try next to save my phone.
Thanks in advance!
kajvb said:
Dear XDA-members,
This afternoon, I tried to root mij HTC One X and flash it to Cyanogenmod 10.2. During the flashing, I made the mistake to forget to put the boot.img and Google Apps files on my SD card. During the rom installation, I got stuck in the splash screen. For this reason, I formatted my SD kaart in the CWM recoveryscreen but now my phone doesn't have any rom at all. When I turn on my phone, I only get to see the white HTC screen. When I try to connect my phone to my pc, it doesn't get recognized. I just want to get my stock ROM back again to get my phone working. I do have acces to the CWM recoveryscreen.
I downloaded the fastboot and RUU files, but fastboot won't recognize my device through the commandscreen. This is why I can't put the RUU files on my phone.
Can someone please help me? I don't have a clue what to try next to save my phone.
Thanks in advance!
Click to expand...
Click to collapse
Can you mount storage in recovery ? If you can....
Mount storage in recovery and copy/paste rom and kernel on SD, flash rom and kernel, than flash boot.img via fastboot.
Can u do any fastboot commands while phone is on bootloader?
Sent from my HTC One X
Thanks for the quick responses!
Unfortunately, I can't mount storage in recovery so I can't acces my SD card.
I can, however, access the fastboot menu so it's possible to do fastboot commands and get into the CWM menu.
https://www.dropbox.com/s/yqzlpqo8illa53j/Philz recovery 5.15.9.img
Flash this recovery and you can mount the sd
Thanks, but can you explain how to do that?
I don't think I can use fastboot because my phone doesn't get recognized, but maybe I'm doing something wrong.
OK, I found a way to do that via fastboot, but I couldn't mount it just like in CWM. I did download a RUU.exe because I figured that fastboot is working for me! So I tried to install the stock ROM using the RUU.exe and fastboot, but the flashing progress was aborted because apparantly that RUU version was older than the one on my phone. I googled for a newer one, but there are no newer .exe files and according to others I should use a nandroid backup zip file.
How should I do that? Or is there any way that I can make the RUU.exe I downloaded work, because it seemed to me that the program worked fine except for the older version part. Or is it the easiest to flash Cyanogenmod, I've got those files on my pc as well. I wouldn't know how to do that, just by flashing boot.img from the zip file? I really hope you can help me out!
Further notes: during the RUU installation progress, CWM and Philz were wiped from the SD card and I had to relock my phone. I don't know if any of that should cause a problem though.
Flash that philz, enter recovery. Put in the usb cable and mount. Wait until the sdcard pops up on windows. Can take minutes......but works for sure !
Thank you, I'll try that tonight! Then, what kind of files should I copy on the SD card? And can I use the Cyanogenmod files as well as the stock ones? Lastly, do I need to unlock my phone again?
Unlock, flash recovery, flash boot.img, make a full wipe, install CM, install GAPPS ..... reboot
OK, so just to get it straight:
First I unlock it, then flash philz via fastboot. Then enter recovery mode and mount USB. After that, I copy the Cyanogenmod boot.img and the GApps file on the SD card. Lastly, I install the boot.img file via the Philz recovery program and then the GApps, and I reboot.
Is this right or should I do something different?
Thank you so much!
Cm.zip to sdcard, boot.img flash via fastboot. Install CM.zip and gapps via recovery.
Two last questions:
Which boot.img file do I need to use? The one from the CM.zip?
And how should I do the full wipe?
Also, I can not flash my phone because it won't charge properly... When I connect it to the charger, it will charge and I see the red light. After a while, the battery drains and gets empty, while still seeing the red light. I put it on the charger all night and it was totally empty when I checked this morning. Do you have an idea how I can deal with this?
If you can get into philz recovery. Leave it there. The battery charges inside of it.
And yes always boot.img of the rom.zip you want to install.
Sent from my HTC One X using XDA Premium 4 mobile app
I can not flash Philz yet because the bootloader is still locked. It has charged enough now, but when I try to unlock it by typing 'fastboot flash unlock unlock_code.bin' it says:
Sending 'unlock' (0 KB)... OKAY [0.009]
Writing 'unlock' ... FAILED (remote: not allowed)
finished. Total time: 0.219s
Could it be that I need to get a new unlock_code.bin? Now I use the same one as when I first tried to lock it. Or do I need to type another command for reunlocking? The status on my phone still says relocked...
Command is not correct
Fastboot flash unlocktoken unlock_code.bin
Sent from my HTC One X using XDA Premium 4 mobile app
Thank you so much, it worked!
CM10.2 is installed, I've got only one more problem...
When I boot it, and pass the setup wizard, the phone keeps popping up the same message:
Unfortunately, Setup Wizard has stopped. Every second it pops up.
I can acces various programs, so that works, except for that message.
Do you happen to know a solution for that as well?
Anyway, thank you again for your help!
Installed gapps ? The correct one ? Made a proper full wipe full before installing the rom !
Sent from my HTC One X using XDA Premium 4 mobile app
Yes, I got it to work. Now I've got a new problem... For one afternoon, my phone worked perfectly, but since that evening, now two days ago, I can't connect with my mobile services. I can't call, go on internet (only via WiFi), and when I try to create a new APN, it doesn't show. I tried it with two different SIM cards, neither work. Also my battery drains very fast and when I take a look at my battery app it doesn't show Google play services from which I heard is a common cause
Sent from my EndeavorU using xda app-developers app

[Solved] Stuck on HTC Logo after flashing firmware update

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:

Categories

Resources