[Q] Soft Brick - TWRP intact, how to flash? - AT&T, Rogers HTC One X, Telstra One XL

Okay so I sold my HOX running AOKP to a guy on Clist. He tried to flash a stock rom.. and somehow in the process wiped his whole system and sd card. Over the phone I figured out he soft bricked it and its stuck in a bootloop.
Went thru the steps over the phone with him to get into recovery(TWRP), and he confirmed that TWRP is there. Of course he didnt do a nandroid or anything of that sort, so he cant revert to that. There's no ZIPs on the phone, when he goes to INSTALL on twrp, it just shows "twrp" folder and thats it.
I haven't had the phone in my hands yet, but will see it tomorrow. My question is:
How do I transfer a Zip file onto the phone to flash thru TWRP? Does TWRP have a USB mass storage mode? (I have an S3 now and that's not available on my TWRP)
Can I use ADB or Fastboot to flash the ZIP as is? Or can I use ADB to transfer a file to the phone?

Yeah twrp has usb storage, you go into Mount then mount usb storage and windows should recognise so long as you have the correct drivers installed.
Sent from my HTC One XL using xda premium

Sweet. Ill do that tomorrow
Sent from my SAMSUNG-SGH-I747 using xda premium

Maybe I didn't understand the op but, when flashing... You'll have to flash the boot.IMG file from the rom seperately if the phone has the 1.14 Hboot. Then go into recovery and install the .zip file after you wipe the cache/delvik.
Sent from my HTC One XL using xda app-developers app

s1mpd1ddy said:
Okay so I sold my HOX running AOKP to a guy on Clist. He tried to flash a stock rom.. and somehow in the process wiped his whole system and sd card. Over the phone I figured out he soft bricked it and its stuck in a bootloop.
Went thru the steps over the phone with him to get into recovery(TWRP), and he confirmed that TWRP is there. Of course he didnt do a nandroid or anything of that sort, so he cant revert to that. There's no ZIPs on the phone, when he goes to INSTALL on twrp, it just shows "twrp" folder and thats it.
I haven't had the phone in my hands yet, but will see it tomorrow. My question is:
How do I transfer a Zip file onto the phone to flash thru TWRP? Does TWRP have a USB mass storage mode? (I have an S3 now and that's not available on my TWRP)
Can I use ADB or Fastboot to flash the ZIP as is? Or can I use ADB to transfer a file to the phone?
Click to expand...
Click to collapse
You can just mount USB storage and drag the ROM to the sdcard.
If you are on the new hboot (1.14) you will have to flash the boot.img (its inside the rom zip) first (from fastboot). then flash the ROM from recovery.

Related

Got myself in a mess, please help!

Hey everyone,
So, I made a mess and I have no idea how to get out of it!
I tried to update to ICS using the file found here:
http://forum.xda-developers.com/showthread.php?t=1395828
BUT I made a mistake by forgetting to rename it to update.zip (it was named Vsomethingsomethingsomething). Right now, my phone won't boot up past the startup screen (Google and the unlocked padlock). I was trying to upgrade from 2.3, had performed a factory reset before trying to update. Phone is essentially stuck on that screen. I can enter recovery by manually holding down the volume up button and power but can't move past that since I forgot to rename the Vsomethingsomething.zip file. Also, in a terrible and embarassing lapse of memory, I only backed up using TB and not CWM or ROM manager.
Can someone PLEEEEEEEAAAAASSSSEEEEE help me? You will receive my endless thanks! I'm so screwed! Help! PLease! Thanks!
You hear of ODIN? search for it, and it will save you
Sent from my Nexus S 4G using xda premium
Maybe you could flash CWM via fastboot.
Download latest CWM image file: http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-crespo.img
Then, you can fully wipe your phone using CWM, and then flash the zip file.
One thing to note: the file you're talking about, that Vsomethingsomething.zip is an OTA update from 2.3.6.
If you're upgrading straightly from 2.3, go grab the full update, the file name is Zsomethingsomething.zip
Here you go: http://android.clients.google.com/packages/ota/google_crespo/ZD3PyN0t.zip
Download a rom that you want to flash. If you don't have a rom in mind then use CyanogenMod 9 from here: http://get.cm/get/2jI
Boot into recovery.
Mounts & storage -> Mount USB Storage
Copy the cm9 zip you downloaded onto your phone's memory.
Go back a few times
Wipe data/factory reset.
Install zip from sd card, choose zip from sd card, choose the zip you downloaded.
Once it is done reboot your phone.
Note: Your phone will not have the android market on it yet. To get the android market just flash this file after you flash the cm9 zip. http://goo.im/gapps/gapps-ics-20120429-signed.zip
EDIT: If you don't have CWM installed anymore you will need to install it before you flash a rom. Put your phone into the bootloader. Then do this command over fastboot: "fastboot flash recovery C:\whatever\folder\the\file\is\in\recovery.img
Here is the recovery file: http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-crespo.img
weehooherod2 said:
Download a rom that you want to flash. If you don't have a rom in mind then use CyanogenMod 9 from here: http://get.cm/get/2jI
Boot into recovery.
Mounts & storage -> Mount USB Storage
Copy the cm9 zip you downloaded onto your phone's memory.
Go back a few times
Wipe data/factory reset.
Install zip from sd card, choose zip from sd card, choose the zip you downloaded.
Once it is done reboot your phone.
Note: Your phone will not have the android market on it yet. To get the android market just flash this file after you flash the cm9 zip. http://goo.im/gapps/gapps-ics-20120429-signed.zip
EDIT: If you don't have CWM installed anymore you will need to install it before you flash a rom. Put your phone into the bootloader. Then do this command over fastboot: "fastboot flash recovery C:\whatever\folder\the\file\is\in\recovery.img
Here is the recovery file: http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-crespo.img
Click to expand...
Click to collapse
Thanks so much! I can't even get into fastboot mode (plugged USB in, held down vol up+down + power), I'm still stuck on the Google & unlocked padlock screen. Suggestions?
Thanks for all the help so far. Since I'm going to be reflashing anyway, any chance I can just flash right to ICS? How do I do this? It would get rid of the step of me experimenting-then-screwing-up.
I tried what you recommended and it worked! I even managed to get up to 4.0.3 BUT now I have run into a bigger problem: no 3G reception! I have been searching online for about 4 hours now and I still can't figure out how to get a connection. I haven't managed to get CWM going and stock recovery just keeps giving me installation aborted messages. Advice? i just seem to have dug the hole deeper!
What phone do you have? The i9020A, i9020T or i9023? You'll be best knowing which phone before flashing any new radios to (most likely) fix your reception problem.
I believe KB3 for one will work regardless of (GSM) radio though. To flash radio:
fastboot flash radio radio.img
while connected via usb and in fastboot mode.
EDIT: From your other thread it looks like you have the 4G (koodo is CDMA isn't it?). You'll want an NS4G radio to flash.
So why all the hard work to flash a system img of an outdated rom? You know we are up to 4.04? And the stock odin version has the radio?
Sent from my Nexus S 4G using xda premium

Issue with SD Card on CM10

Hi,
This is my first time flashing so go easy on me
Basically I started with my stock HTC One S, unlocked the bootloader, rooted the handset, then flashed CWM 5.8.3.1 onto it. I mounted the SD Card on my PC, copied the CM10 and GApps ZIPs over to the SD Card then installed them with CWM.
After that the handset wouldn't boot past the HTC screen. I kept installing the ZIPs over and over then whilst I was panicing and clicking everything I could find wiped the Dalvik Cache/factory reset/cache/EVERYTHING. After that point it just would not mount the /sdcard. I managed to get it booting by flashing the boot.img using fastboot. But I still can't access the sdcard.
In JB it just says its safe to remove the sd card permanently. If I try and push anything to it using ADB it says that the volume is write protected.
I have no clue how I can fix this without having to reflash which is a massive pain in the arse.
If anyone has any tips I would really appreciate it!
Did you ever fix this problem? Mine has done the exact same thing! :crying:
Hi I had the same problem,I used the hasoon all in one tool to flash twrp recovery then I adb pushed a rooted stock Rom to system to remount the sdcard (Rom from andrdandy Rom list) then I adb pushed viperone s Rom to the sdcard
Sent from my HTC One S using xda app-developers app

[Q] Cannot restore backup, need stock ROM or help [RESOLVED]

I was trying to restore a backup made yesterday and had an md5 mismatch. I removed the md5 keys from the file, which allowed CWM to restore /data but once it got to /system it failed,
Restoring system...
Error while restoring /system!
I've found this...
http://forum.xda-developers.com/showpost.php?p=34555560&postcount=11​but it doesn't help.
The OP says to restore via TWRP, but my system/windows is not recognizing the phone via ADB so I cannot flash TWRP using fastboot.
Are these files available for CWM at all?
Are you able to boot into fastboot by holding power+volume down at boot? If so you can flash twrp and then flash the stock backups through twrp. I have never had issues with my pc recognizing my phone in adb mode with the phone in fastboot as far as flashing recovery, boot logo, etc. I am not able to get adb to push/pull files while in fastboot. Whether or not this works may depend on if you had usb debugging enabled in developer options prior to soft-bricking your phone.
Sent from my XT897 using xda app-developers app
UnicronAlpha99 said:
Are you able to boot into fastboot by holding power+volume down at boot? If so you can flash twrp and then flash the stock backups through twrp. I have never had issues with my pc recognizing my phone in adb mode with the phone in fastboot as far as flashing recovery, boot logo, etc. I am not able to get adb to push/pull files while in fastboot. Whether or not this works may depend on if you had usb debugging enabled in developer options prior to soft-bricking your phone.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I can get to fastboot, I tried just kind of blindly flashing the twrp recovery image, and you're right, it worked even though 'adb devices' still didn't show it.
So I'm back on TWRP but now, after following the instructions to create the TWRP backup folder on the SD card and restoring the files provided by drakeheart77, TWRP tells me there's no OS installed when I try to reboot to the system. All the posts I read suggest flashing a new ROM but... there aren't any ROMs from what I can tell.
As I said in the OP, I tried to restore a backup and ran into the md5 mismatch error, but I didn't say that in my noob-ness, formated everything I could and lost my OS because of that (at least from what I'm deducing... still noob-ness).
Any suggestions? Thanks again!
I'm guessing the "no os" error is due to not having anything in the /data folder. Try flashing this through twrp: http://forum.xda-developers.com/showthread.php?p=32514141
It is a backup of the stock odexed rom. Put the files in the twrp/backups/serial#here/ folder and try flashing it. Assuming that gets you up and running all you have to do to is flash the stock recovery.img through fastboot to download the ota update, if you want to.
For future backups try having twrp save them to your external sd card by selecting it in the backup menu. That way if you need to wipe internal storage for any reason you will have the external backups safe and ready for use.
Sent from my XT897 using xda app-developers app
UnicronAlpha99 said:
I'm guessing the "no os" error is due to not having anything in the /data folder. Try flashing this through twrp: http://forum.xda-developers.com/showthread.php?p=32514141
It is a backup of the stock odexed rom. Put the files in the twrp/backups/serial#here/ folder and try flashing it. Assuming that gets you up and running all you have to do to is flash the stock recovery.img through fastboot to download the ota update, if you want to.
For future backups try having twrp save them to your external sd card by selecting it in the backup menu. That way if you need to wipe internal storage for any reason you will have the external backups safe and ready for use.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
Wow, that worked. So relieved I don't have a large black paperweight now... lol Thank you!
No problem man, glad you got it working. That backup Rangerbry posted unbricked my phone at one point and saved me a paperweight. This really is a great phone once you accept the little quirks.
Sent from my XT897 using xda app-developers app

[Q] Wiped and not working HTC One S [s4]

Good day everyone,
Thanks for taking the time to read this. I am in desperate need of your help. I recently purchased a HTC One S from an online store they told me it was new never used locked phone. Turns out phone was rooted, 4g does not work, and it could not recognize e drive, (internal sd card)
After reading the all in one i re-rooted it and install the teamwin version of recovery.
Now i never had any back ups or any factory files. as i got the phone rooted with software that did not work. My phone now has no rom and i cannot install from adb sideloader, or an other means. I am new to this and cannot seem to figure out how to get my phone back to even stock un-rooted etc. I tried multiple forums and download links but nothing.
i was able to install vipers rom at one point but despite several attempts to reinstall. recovery does not see files loaded. which i can see on my mac or pc.
the other strange thing i notice is that at the top in fastboot mode i sometimes see unlocked in pink only and other times i see both unlocked and tampered. when its unlock only none of my computers recognize connection.
I also tried boot.img for flash. The furthest my screen no goes is the htc logo, then goes black.
Please help, even to just point me in rite direction to have this resolved.
the boot.img, did you flash it via fastboot? (fastboot flash boot boot.img)
And, one question that comes to mind... they sold you a device as new, yet it wasnt.. Why didnt you return it?
Goatshocker said:
the boot.img, did you flash it via fastboot? (fastboot flash boot boot.img)
And, one question that comes to mind... they sold you a device as new, yet it wasnt.. Why didnt you return it?
Click to expand...
Click to collapse
Yes I tried several times loading the boot.img via fastboot.
As far as returning the device i trashed the mailing box but kept original packaging so no return address. I called the company which i made the purchase from "N1wireless" several times and sent several emails to them. They have yet to reply or answer any of my calls. Which is why I am so frustrated.
mnitllc said:
Yes I tried several times loading the boot.img via fastboot.
As far as returning the device i trashed the mailing box but kept original packaging so no return address. I called the company which i made the purchase from "N1wireless" several times and sent several emails to them. They have yet to reply or answer any of my calls. Which is why I am so frustrated.
Click to expand...
Click to collapse
Boot into recovery, select mount > mount usb storage. From pc move the Rom.zip to your sd card which should now be showing on your pc. After it is moved to your phone select unmount then press home button in twrp recovery. Then install the Rom. After install open up adb and type adb reboot bootloader then press enter. Now fastboot flash the boot img from inside the Rom.zip on your computer. After that reboot your phone and report back
Sent from my HTC One S using xda premium
bochocinco23 said:
Boot into recovery, select mount > mount usb storage. From pc move the Rom.zip to your sd card which should now be showing on your pc. After it is moved to your phone select unmount then press home button in twrp recovery. Then install the Rom. After install open up adb and type adb reboot bootloader then press enter. Now fastboot flash the boot img from inside the Rom.zip on your computer. After that reboot your phone and report back
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Hi, thanks for the reply, thats just the thing I cannot in recovery install any rom loaded to sd card. It fails. I tried reinstalling the recovery and it still not reading my sd card.
So my guess is i need a new twrc or how to do it from my mac, as now when i try on my pc it is failing as-well. Once I get the recovery to work I will try your other suggestions as I think it will work based on the steps you mentioned.
I am trying to figure out how to use terminal to reinstall recovery. any suggestions or links will be greatly appreciated.:good:
you install recoveries through fastboot, fastboot flash recovery recovery.img
Goatshocker said:
you install recoveries through fastboot, fastboot flash recovery recovery.img
Click to expand...
Click to collapse
I reinstalled recovery several times now and it wont recognize the sd card. is there another recovery i can download and use? Also is there any instructions for a newby to use terminal to re-boot, everything from scratch. Meaning if the phone is completely blank except the fast boot and a recovery manager no backups or stock kernel etc. what is the format to be used in order for the computer and recovery to recognize the sd card?
I think I need a good recovery rom like cmod if there is one for the htc one s or the stock one if someone has it.
hi i had that problem
mnitllc said:
I reinstalled recovery several times now and it wont recognize the sd card. is there another recovery i can download and use? Also is there any instructions for a newby to use terminal to re-boot, everything from scratch. Meaning if the phone is completely blank except the fast boot and a recovery manager no backups or stock kernel etc. what is the format to be used in order for the computer and recovery to recognize the sd card?
I think I need a good recovery rom like cmod if there is one for the htc one s or the stock one if someone has it.
Click to expand...
Click to collapse
I had that problem the sd card would not be seen by my laptop and the phone would not boot at all if you plug in the phone to your go to start and then computer right click on your c drive go to manage and see if you can see it there if so try to format it and then reboot the phone if it works you can then install cwm as a recovery system then you can put what rom you wont on it i am use in zenRom 1.05 and to me its the best coz it like the htc rom that the phone come with if that don`t work let me know coz i have more tricks to try i hope this helps you out.
Theres only TWRP and CWM for the S afaik, and CWM sucks. TWRP is the one to use.
I had a similar problem a few days ago, luckily there's not such a bad solution.
1) Pick a custom ROM you want to install from the HTC One S developer forums (I went with Trickdroid) and download the ROM/boot image.
2) Then download and flash the stock recovery here: http://www.4shared.com/file/1UuxTh0k/stock_recovery.html
3) Boot into bootloader, clear storage and then reset to factory defaults.
4) Flash TWRP
5) Reboot into recovery, sdcard should now be mounted/visible
Then push the ROM to your sdcard with adb or mount USB storage and flash it/flash the boot image and you should be sorted.
Edit: Here's where I got the solution from btw (post #8):
http://forum.xda-developers.com/showthread.php?t=1630459
Hope that helped!
violentlighting said:
I had a similar problem a few days ago, luckily there's not such a bad solution.
1) Pick a custom ROM you want to install from the HTC One S developer forums (I went with Trickdroid) and download the ROM/boot image.
2) Then download and flash the stock recovery here: http://www.4shared.com/file/1UuxTh0k/stock_recovery.html
3) Boot into bootloader, clear storage and then reset to factory defaults.
4) Flash TWRP
5) Reboot into recovery, sdcard should now be mounted/visible
Then push the ROM to your sdcard with adb or mount USB storage and flash it/flash the boot image and you should be sorted.
Edit: Here's where I got the solution from btw (post #8):
http://forum.xda-developers.com/showthread.php?t=1630459
Hope that helped!
Click to expand...
Click to collapse
got it. will try it asap.
I could not get the stock recovery via that link you provided. If there is another link to the stock I would appreciate it. I had to flash it wit cwm twice then reflash with twrc to get it to identify the sd card. i had tried the viper rom but my 4g and wifi doesnt work. Will try trickmod hopefully that works with no more issues
violentlighting said:
I had a similar problem a few days ago, luckily there's not such a bad solution.
1) Pick a custom ROM you want to install from the HTC One S developer forums (I went with Trickdroid) and download the ROM/boot image.
2) Then download and flash the stock recovery here: http://www.4shared.com/file/1UuxTh0k/stock_recovery.html
3) Boot into bootloader, clear storage and then reset to factory defaults.
4) Flash TWRP
5) Reboot into recovery, sdcard should now be mounted/visible
Then push the ROM to your sdcard with adb or mount USB storage and flash it/flash the boot image and you should be sorted.
Edit: Here's where I got the solution from btw (post #8):
http://forum.xda-developers.com/showthread.php?t=1630459
Hope that helped!
Click to expand...
Click to collapse
Hey thanks allot for your suggestions. I made some progress. It kinda worked. However I my wifi and data connections no good. I tried the 9.1 update and then tried the tweaks.
Do you know if it is possible to get stock kernel and stock rome to undo changes on device?

[Q] AT&T HTC One X Softbricked-CMmod

I believe I have bricked my phone. I was running a rooted HTC One X AT&T with an odex Jellybean/HTC Sense 4+ ROM. I wanted to test out a Cyanogenmod. Big mistake. I tried to flash it from TWRP recovery, after backing up my previous ROM, however, it was stuck in an endless boot loop. I took advice from some people online and reflashed it/ wiped caches/dalvik cache etc... When I realized it would not work unless I fastbooted it myself using USB debugging I tried to reinstall the old ROM, of course, after wiping the Cyanogenmod. Long story short there was no backup even though I backed up the phone! I now have no ROM and everything on my system is gone! My SD card folder only has a TWRP recovery and I can't install any .zip files. TWRP isn't even allowing me to mount my SD card so putting any files are out of the question. I believe, however, that usb debugging was on the whole time (is it on if on the boot loader it says fastboot usb when I plug in a USB?). Is there anyway to fix this?? I'm really screwed if I can't and please don't direct me to another thread because I need personalized help. I'm doing this on a mac by the way so anyone who knows how to use the terminal would help a lot. I can get access to windows though if needed. Just please help.
Have you tried to flash the boot.img from the zip file in fastboot?
Do you know what a brick is? When your phone does NOTHING... Similar to a brick.
What happened to you is you didn't flash the boot.img through fastboot, which caused your first problem, the bootloop..
Second thing you did incorrect was perform a factory reset in boot loader... Which completely wipes your SD card and corrupts it, and which just so happened to contain your backup no worries, easily fixable...
Download a rom on your computer. While its downloading, enter recovery and choose mount. Navigate to my computer and right click the removable storage option. Choose format. Once its done, drag rom onto phone.. Flash rom in twrp.
Extract rom on your computer, grab the boot.img and flash with fastboot.
Fastboot flash boot boot.img
Reboot phone and profit
EDIT: sorry but I hastily skimmed through your post... Those are half-assed instructions for windows, I have no clue what to do on a mac
Sent from my One X using Tapatalk 2
What he said. Toolkits are easily found too

Categories

Resources