[Q] Flashing a ROM without being able to boot phone. - HTC One S

So,
I'm a dumbass and accidentally flashed an "update package" rather than a full ROM. I can not get past the "HTC ONE" white screen now..I have full access to recovery and bootloader, but can't boot the phone to mount as "Disk Drive" so I have no way to put the .zip file I need on the SD Card. Is there a way to put the correct .zip...even a stock ROM onto the SD Card without the phone being able to boot? I looked around and couldn't find anything.
Thank you so much.
-Brian

Boot the phone into recovery, go to mounts and storage, mount system. In adb push the file to /sdcard/
Sent from my HTC VLE_U using xda premium

If you need more details, let me know
Sent from my HTC VLE_U using xda premium

strker45 said:
If you need more details, let me know
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
Sent you a PM. Thank you

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Hi, I'm working on exactly the same thing. I am only about 20 hours in and have learned quite a bit, but not having an SD card you can slip into a PC card slot is a major challenge. I have managed to get recovery back on the phone, and am successfully connected via fastboot. I can't figure out the ADB shell...I've installed SDK manager and have tried to enter the ADB shell, but cannot. Keep getting error messages. WHen I attempt to flash a rom via fastboot, the process starts, but then quits with the error that my media does not include android-info.txt or android-product.txt. I have tried every tmo ROM available, and the Nandroid back up. It is a paper weight? Thanks to anyone who can shed some light!

rjsvoon said:
Hi, I'm working on exactly the same thing. I am only about 20 hours in and have learned quite a bit, but not having an SD card you can slip into a PC card slot is a major challenge. I have managed to get recovery back on the phone, and am successfully connected via fastboot. I can't figure out the ADB shell...I've installed SDK manager and have tried to enter the ADB shell, but cannot. Keep getting error messages. WHen I attempt to flash a rom via fastboot, the process starts, but then quits with the error that my media does not include android-info.txt or android-product.txt. I have tried every tmo ROM available, and the Nandroid back up. It is a paper weight? Thanks to anyone who can shed some light!
Click to expand...
Click to collapse
That's not how to flash roms, perhaps that's why. If you don't understand adb you really should not be rooting or unlocking anything until you have a better understanding of the tools you have available. Otherwise you end up in here asking if your phone is bricked when really you just have no idea what you're doing in the first place. Flash recovery in fastboot, then flash the rom from recovery.
Sent from my HTC One S using XDA

Yea I figured it out..I had a recovery working though.
With regards to rsvjoon,
As stoneyjonez said...you need to flash a recovery (Say CWM Touch) using fastboot...something along the lines of "fastboot flash recovery recoveryimagefilehere.img" and then reboot into recovery...etc etc.
I followed this this step-by-step process exactly and got it to work, I recommend the same.
Cheers

hello...i as well need a step by step about pushing the rom to /sdcard/ in adb....if you could pm me that i would be thankful!

Thanks...and you're right. But I have successfully flashed CWM recovery...I just can't get anything on the phone to flash. Fastboot starts the process but ultimately I get an error with each rom I try that it can't continue because I'm issing those two text files. So anyway, your point is well taken. In the past, once I had recovery, I'd just slip the micro SD card into my computer and pop a rom on it. totally different deal without that capability.
---------- Post added at 07:59 AM ---------- Previous post was at 07:57 AM ----------
brwetz said:
Yea I figured it out..I had a recovery working though.
With regards to rsvjoon,
As stoneyjonez said...you need to flash a recovery (Say CWM Touch) using fastboot...something along the lines of "fastboot flash recovery recoveryimagefilehere.img" and then reboot into recovery...etc etc.
I followed this this step-by-step process exactly and got it to work, I recommend the same.
Cheers
Click to expand...
Click to collapse
Thanks brwetz. That is exactly the process I followed when I originally rooted my phone...and everything was swell. I fongooled things when I flashed a custom rom (which also worked just fine) and then decided to restore my Nandroid. for whatever reason, that process left me in recovery with nothing on the SD card to flash back.
Thanks again for the response.

rjsvoon said:
Thanks...and you're right. But I have successfully flashed CWM recovery...I just can't get anything on the phone to flash. Fastboot starts the process but ultimately I get an error with each rom I try that it can't continue because I'm issing those two text files. So anyway, your point is well taken. In the past, once I had recovery, I'd just slip the micro SD card into my computer and pop a rom on it. totally different deal without that capability.
Thanks brwetz. That is exactly the process I followed when I originally rooted my phone...and everything was swell. I fongooled things when I flashed a custom rom (which also worked just fine) and then decided to restore my Nandroid. for whatever reason, that process left me in recovery with nothing on the SD card to flash back.
Thanks again for the response.
Click to expand...
Click to collapse
What *I did* to put a .zip file on my phone without being able to boot it up was this:
-Go into Recovery -> Mounts and Storage.
-Plug your phone into your computer using USB cable
-Make sure it says "Unmount /sdcard/" and "Unmount /system/". If they do not say that, just press them (they are toggles)
-Make sure the ROM.zip file is in the same directory as your AndroidSDK/adb (for example, mine is C:\AndroidASK\)
-Go into command prompt and type "cd c:\whereveryouradbislocated"
-Once you are in your AndroidSDK (adb) directory, type "adb push romname.zip /sdcard/romname.zip
-Unplug phone from computer, close command prompt
-Go back in Recovery to main menu and do a factory reset/wipe cache partition/wipe dalvik cache (I can explain those more if needbe)
-Again go back to Recovery Main Menu -> Install Zip from SD Card -> Choose file from SD Card -> Select the romname.zip file you just pushed from your computer and install that .zip
-Reboot phone, be patient as it will take a minute to completely boot up.
-_-_-_-_-_-_-_-_-_-_-_-
If you need further instructions, please PM me.
All of this information deserves much thanks to strker45 and doktartaru for their endless help getting me through the process.
EDIT:
Should I make a walkthrough thread about this just incase anyone else has this problem?

brwetz said:
What *I did* to put a .zip file on my phone without being able to boot it up was this:
-Go into Recovery -> Mounts and Storage.
-Plug your phone into your computer using USB cable
-Make sure it says "Unmount /sdcard/" and "Unmount /system/". If they do not say that, just press them (they are toggles)
-Make sure the ROM.zip file is in the same directory as your AndroidSDK/adb (for example, mine is C:\AndroidASK\)
-Go into command prompt and type "cd c:\whereveryouradbislocated"
-Once you are in your AndroidSDK (adb) directory, type "adb push romname.zip /sdcard/romname.zip
-Unplug phone from computer, close command prompt
-Go back in Recovery to main menu and do a factory reset/wipe cache partition/wipe dalvik cache (I can explain those more if needbe)
-Again go back to Recovery Main Menu -> Install Zip from SD Card -> Choose file from SD Card -> Select the romname.zip file you just pushed from your computer and install that .zip
-Reboot phone, be patient as it will take a minute to completely boot up.
-_-_-_-_-_-_-_-_-_-_-_-
If you need further instructions, please PM me.
All of this information deserves much thanks to strker45 and doktartaru for their endless help getting me through the process.
EDIT:
Should I make a walkthrough thread about this just incase anyone else has this problem?
Click to expand...
Click to collapse
Thanks very much! I'll do this when I get home tonight. I'll let you know how it goes...If i get it up and running I'll buy you a CASE of beer!

Not a problem.
I posted a more in-depth walkthrough here. Hope it helps possibly even better.

brwetz said:
Not a problem.
I posted a more in-depth walkthrough here. Hope it helps possibly even better.
Click to expand...
Click to collapse
I am back in business! I was able to flash the CWM Rom 9.0.0 and then ultimately restored the stock Nandroid made available here. It's a beautiful thing. I bought you some beers! Thank you very much.

Anybody know how to flash the rom through fastboot instead of recovery by pushing the boot.img and system.img from the ruu? sd card isnt mounting in recovery for whatever reason so I don't have access to the .zip files on my sd card. more details in my post from brwetz's thread here.
Thanks in advance for any help.

rjsvoon said:
I am back in business! I was able to flash the CWM Rom 9.0.0 and then ultimately restored the stock Nandroid made available here. It's a beautiful thing. I bought you some beers! Thank you very much.
Click to expand...
Click to collapse
How are those beers? hahaha

Beer music
brwetz said:
How are those beers? hahaha
Click to expand...
Click to collapse
You're the one that should be drinking the beers! Did you not receive donation?

rjsvoon said:
You're the one that should be drinking the beers! Did you not receive donation?
Click to expand...
Click to collapse
lol wow no I didn't..I didn't even know we could do that. I'll update my PayPal...

Related

[TUT] Telus HTC Desire *UPDATED* - Windows Drivers, Root, Radio and ROM Instructions

Ok, so I just took the tutorial written by Slimdizzy and have modified it for Windows users, as he stated he was using a Mac, and a lot of people seem to be having issues getting this working. Go easy on me this is my first TUT write up, I hope it helps......If anyone has a correction or a suggestion please let me know.
Credit goes to Slimdizzy for his original post here:
http://forum.xda-developers.com/showthread.php?t=750888
When I rooted my Telus HTC Desire the first time it was hit and miss, if I remember correctly I did it 3 times until it worked 100%, by this I mean Unrevoked/Root ran without hitch, and after running Unrevoked I was able to reboot into Android, and then reboot back into recovery on my first try without any weirdness.....
The following steps are what I did to get my drivers installed and working the first time, rooting the phone, installing Radio 5.09.00.20, and getting a custom ROM installed (I used OpenDesire)
First things first you need the drivers, this is the most important part. Nothing will ever work for you if you don't have the right drivers installed.
Drivers:
1. Download the Android SDK here: http://dl.google.com/android/android-sdk_r06-windows.zip
2. Unzip and place the files in C:\Android. You can place the files wherever you want but my steps will use this location.
3. Run SDK Setup.exe , if you get the Failed to fetch URL error, hit close and then go to Settings and enable Force https://. Then click on Available Packages, near the bottom you will see USB Driver Package, place a check mark beside it and then click Install Selected.
Alternatively you can try using these drivers, they have worked for other users but I have not installed my drivers using this method so I can't say how well they will work.....
http://www.unrevoked.com/rootwiki/lib/exe/fetch.php?hash=908951&media=http%3A%2F%2Fwww.unrevoked.com%2Frecovery%2Fandroid-usb-driver.zip
4. Android SDK will download your drivers and place them here C:\android\usb_driver.
Now plugin your Desire with USB Debugging enabled (Settings --> Applications --> Development). Windows will prompt you for the device drivers, point windows to the C:\android\usb_driver folder and it should do it's thing. YOU MUST BE SURE TO INSTALL THE ADB DRIVERS, without those Unrevoked will not run.
5. Once all your drivers are installed, you can verify them by checking with the Android SDK
Open a DOS prompt (CMD in the Run box) and navigate to C:\android\tools and then type "adb devices", it should return a funny device name/ID, if you see a device listed then you are good to go, if you don't then repeat these steps until you do, check your Device Manager for an uninstalled device/driver.
***UPDATED***
Steps for Rooting:
***Follow these steps after you are 100% sure you have the drivers right!***
***DO NOT plug you Desire into your computer yet***
1. Goto http://unrevoked.com and download the software
2. You now have a choice of recovery, Amon RA has released an SLCD version of his recovery, which in my opinion is much better, it has a few more features than Clockwork. I recommend Amon RA, but the choice is yours.
Amon RA Recovery v1.7.0.1 R5 SLCD: http://dl.dropbox.com/u/4481275/recovery-RA-desire-v1.7.0.1-R5-SLCD.img
Clockwork v2.5.0.7 SLCD:http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.0.7-bravo.zip
3. Go to HBOOT, this is done by shutting down your phone and powering on the device while holding the Power button down and pushing Volume down at the same time, once HBOOT is loaded do a wipe (Clear Storage). You can navigate the menus by using the volume rocker and the Power button to select your option.
4. Load Unrevoked and load the custom SLCD recovery file on your PC:
Goto File>Custom Recovery and point it to the recovery image that you downloaded in step 2.
5. Restart your phone, it will take a few minutes because you did a wipe, just wait it will load (up to 5 minutes). As soon as the welcome screen loads plug your phone in to the PC and Unrevoked should do it's thing. If Unrevoked doesn't start, then hit the Menu button go to Settings --> Applications --> Development and enable USB debugging.
6. The phone will restart a couple of times, and will look like it's hanging on the HTC screen but it's not! If the HTC screen is present for more than 5 minutes pull your battery and start again ( I had to do this a couple times myself). If Unrevoked pauses half way through its process, it could be because for some reason you don't have the proper drivers installed. You can load them as Unrevoked does the root process, while the phone is rebooting if Unrevoked pauses and Windows prompts you for a driver point it to the C:\android\tools directory and it will load the drivers and Unrevoked will continue its root process.
7. When Unrevoked is finished you will be left at the recovery screen,
8. *** VERY IMPORTANT*** Before restarting do a "wipe cache partition", "factory reset". And now would be a good time for a Nandroid Backup
9. Now reboot, and Android should load. Check for Superuser Permissions app, if you see it you're good if not restart from step 3.
10. Shutdown and load HBOOT, wait a few seconds for SD card (you'll see something try to load quickly), then load recovery again, it should load everytime without issue now.
It may take a few tries, but just follow these steps and it will work.
Steps for flashing radio, and custom ROM:
1. Grab a custom ROM from the forum, I used OpenDesire: http://forum.xda-developers.com/showthread.php?t=712615
OpenDesire comes with a nice reboot to Recovery feature built in.
2. Once zip is download, copy it to your SD card
3. Get the updated radio needed from here: http://www.mightyrom.com/mrx/MRX/Bravo/Radio/Signed/32.44.00.32U_5.09.05.30_2.zip
4. Reboot into recovery by powering on the device while holding the Power button down and pushing Volume down at the same time. Select Recovery with the Volume rocker and then click the power button to launch it.
5. Select "install zip from SD card" using the trackpad and select the radio zip that you download in step 3.
6. Let it do its thing (could take up to 10 mins to finish), use the back button to get to main menu and select "reboot system now" with the trackpad. If your phone hangs after rebooting wait at least 10 minutes before pulling the battery, it could be finishing the radio update.
7. Once rebooted check that the new radio is good by loading HBOOT (you should know how to do this by now) and at the top it will show you're radio version.
8. Load recovery again and select "wipe cache partition", "factory reset" (for the 3rd and final time). Then select "install zip from SD card" using the trackpad and select the ROM zip that you download in step 1.
9. The new ROM is now installed, restart the phone and wait up to 20 minutes (it shouldn't take that long) for the new ROM to load, DO NOT PULL YOUR BATTERY UNTIL AT LEAST 20 MINUTES HAVE PASSED.
You should now have your phone rooted, new radio installed, and a new custom ROM loaded.
Sorry for such a long post, but I found all these steps necessary to get the end result.
If I have missed anything or if anyone has comments / corrections post them here and I will try to keep the tutorial updated and easy to use as possible.
Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!
Couple of things.
USB debugging is under development in Apps. (not a big deal)
Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.
Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.
Thanks for doing this!
Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.
Below may be wrong info, but it is what happened to me.
//////////////Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
////////////////////
ajanu said:
Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
Thanks for doing this!
Click to expand...
Click to collapse
Can you elaborate on this? I'm assuming Clockwork recovery is stored on the SD card?
BIGGGG THANKS, I will try tonight.
Below may be wrong info, but it is what happened to me.
//////////////Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important./////////////
ajanu said:
Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!
Couple of things.
USB debugging is under development in Apps. (not a big deal)
Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.
Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.
Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
Thanks for doing this!
Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.
Click to expand...
Click to collapse
This is exactly the part I wanted, when I had to use nandroid
ajanu said:
Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important.
Click to expand...
Click to collapse
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
quazis said:
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
Click to expand...
Click to collapse
These devices make no sense to me. Maybe I didn't help anything with the copy and just trying to boot a few times would work. I would expect things to work or not work, but they work intermittently some times. Certainly increases the confusion/frustration levels.
Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?
Juggalo_X said:
Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?
Click to expand...
Click to collapse
Link has been updated to reflect the latest Clockwork recovery version.
Thank you!
Blowtoke said:
Link has been updated to reflect the latest Clockwork recovery version.
Thank you!
Click to expand...
Click to collapse
No problem and here is a link to the new radio if you want to update it. it appears to be much better then the one linked in tut. Here it is
Juggalo_X said:
No problem and here is a link to the new radio if you want to update it. it appears to be much better then the one linked in tut. Here it is
Click to expand...
Click to collapse
Radio link updated as well, thanks!
quazis said:
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
Click to expand...
Click to collapse
What is EXT3 partition ?
I would like to get more details about the sdcard ? I make my backup with nandroid and after I format the sdcard....so if I want restore the back up from Nandroid, it will not be there....sorry for the noob questions
fourire said:
This is exactly the part I wanted, when I had to use nandroid
Click to expand...
Click to collapse
This step has been added to the guide....thank you!
fourire said:
What is EXT3 partition ?
I would like to get more details about the sdcard ? I make my backup with nandroid and after I format the sdcard....so if I want restore the back up from Nandroid, it will not be there....sorry for the noob questions
Click to expand...
Click to collapse
Ext3 partition is for A2SD, I never touched my SD Card until I was rooted, updated radio, and loaded a custom ROM. I can't say whether or not the SD card plays a role in freezing during boot to recovery or not? But like I said I never partitioned my SD until after everything was done.....
Very good tutorial !
Thank you
After all that, what's about the apps, contacts, calendar ?
And for this file: 2. Get the needed recovery image from here: http://koush.tandtgaming.com/recover....0.7-bravo.zip... is it for slcd ?
fourire said:
After all that, what's about the apps, contacts, calendar ?
And for this file: 2. Get the needed recovery image from here: http://koush.tandtgaming.com/recover....0.7-bravo.zip... is it for slcd ?
Click to expand...
Click to collapse
Recovery-clockwork-2.5.0.7-bravo.zip has been confirmed to work with SLCD, the link has been updated.
Thanks!
ok - at step 8
8. *** VERY IMPORTANT*** Before restarting do a "wipe cache partition", "factory reset". And now would be a good time for a Nandroid Backup
Can someone point me to a nandroid backup tutorial.
Blowtoke said:
I've posted a question on the Clockwork forum to find out if the latest version (recovery-clockwork-2.5.0.7-bravo.zip) works with SLCD, once I get an answer I will update the link if necessary.....for now it's reverted back to the old recovery img that I know works....
Thanks!
Click to expand...
Click to collapse
It works ive flashed it as my recovery img

[HOW-TO] Fix soft brick & error mounting sdcard

EDIT: I solved my own problem. Scroll down to post #8 for the solution.
My problem was that my phone (T-Mobile USA HTC One S) would not boot into ICS anymore, but I was still able to get into recovery (CWM), yet I had no access to the sdcard ("unable to mount /sdcard").
Post #8 below tells you how you can restore access to the sdcard in CWM so that you can push a ROM zip file to the sdcard via adb.
-J
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.
Sent from my myTouch 4G Slide using xda premium
archie53 said:
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.
Sent from my myTouch 4G Slide using xda premium
Click to expand...
Click to collapse
Unfortunately I didn't have the foresight to make a nandroid backup. My previous phone was a Samsung Galaxy S 4G, which, like most Android phones, has a removable SD-Card that stuff can be copied onto (and then flashed). Not so here obviously.
Is it even possible to push files to the sdcard using the method I tried when in CWM?
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
joshnichols189 said:
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
Click to expand...
Click to collapse
It just got worse. I got the idea to format all partitions (data, system, cache, sdcard) through CWM, and now CWM can't even mount /sdcard/ anymore...
I had to do the same thing:
adb push "NameOfFile.zip /sdcard
then go to install from zip.
Look on sd card and it will be there.
I always rename the zip files to there can be less errors.
you can also do
adb shell pull "nameOfFile.zip /sdcard
make sure the zip file is where your adb and fastboot is
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
LuckyMethod said:
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
Click to expand...
Click to collapse
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
2) Boot into the bootloader and choose to "clear storage" and afterwards to reset to factory defaults.
3) Go back to the all-in-one-kit and flash a CWM recovery version again.
4) Reboot into recovery (CWM). Your /sdcard should now be mounted and visible.
5) Now, try the UTB rom (it worked for me), rename the zip file to something short (i.e. utb.zip), and push it to the sdcard using adb as follows:
Code:
adb push utb.zip /sdcard
6) While still in CWM, flash the zip.
The trick here is that only the stock recovery is capable of restoring access to the sdcard by it's proprietary "clear storage" option.
Good luck!
-J
If that doesn't work an easy fix is boot into bootloader, goto fastboot and use "fastboot flash boot boot.img" and so fouth. In the dev section I seen a stock tmobile naindroid. Download it and you'll have your data.img and boot.img. You should be able to flash them without needing to push to /sdcard. letme know how it works
I know you fixed this already just thought this still might help
cannondale0815 said:
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
...cut...
-J
Click to expand...
Click to collapse
It worked like a charm, thank you very much. You saved my life, I was in a time crunch.
LuckyMethod said:
It worked like a charm, thank you very much. You saved my life, I was in a time crunch.
Click to expand...
Click to collapse
Happy it worked for you. Took me several days to figure this out
Sent from my HTC One S using xda premium
I too formatted my sd card but a little trial and error and using your direction, I am back in business ! Thank you , this should really be a sticky
Sent from my HTC VLE_U using xda premium
j3.cole said:
I too formatted my sd card but a little trial and error and using your direction, I am back in business ! Thank you , this should really be a sticky
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
Thank you. I changed the title and original post to make it easier for people to find this thread.
I am going to try this trick tomorrow after having spent endless hours trying to fdisk/parted via adb, and flashing endless roms and updates to no avail. I will post the outcome here. I really hope this works for me like it has for you guys...
mrmoretti said:
I am going to try this trick tomorrow after having spent endless hours trying to fdisk/parted via adb, and flashing endless roms and updates to no avail. I will post the outcome here. I really hope this works for me like it has for you guys...
Click to expand...
Click to collapse
IT WORKED! This thread should be made sticky! I'm sure a lot of users who have HTC One S with built-in SD will have the same issue when mucking about with their phone. Thank you!
Bump, as too many people are having this problem.
Sent from my HTC One S using Tapatalk 2
cannondale0815 said:
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
2) Boot into the bootloader and choose to "clear storage" and afterwards to reset to factory defaults.
3) Go back to the all-in-one-kit and flash a CWM recovery version again.
4) Reboot into recovery (CWM). Your /sdcard should now be mounted and visible.
5) Now, try the UTB rom (it worked for me), rename the zip file to something short (i.e. utb.zip), and push it to the sdcard using adb as follows:
Code:
adb push utb.zip /sdcard
6) While still in CWM, flash the zip.
The trick here is that only the stock recovery is capable of restoring access to the sdcard by it's proprietary "clear storage" option.
Good luck!
-J
Click to expand...
Click to collapse
THANK YOU SO MUCH! THIS WORKED PERFECTLY!
This should definitely be included in a stickied guide for people like me who have managed to corrupt their recoveries.
Got it after several tries
hey guys i have the same problem, the solution sort of work, but when i try to do a adb push its show it was sucessful but when i do to flash it i cant see it.
yasir_jan87 said:
hey guys i have the same problem, the solution sort of work, but when i try to do a adb push its show it was sucessful but when i do to flash it i cant see it.
Click to expand...
Click to collapse
Try to shorten the filename, i.e. "rom.zip".
And try this slightly modified command instead:
adb push rom.zip /sdcard/rom.zip
Sent from my aokp_tenderloin using Tapatalk 2

[Q] How to flash a rom after rooting

OK I apologize ahead of time for what is probably a ridiculously easy question for most.
The ATT 1X is my first android and this is the first phone that I've rooted.
I read for hours and followed the instruction to a T. I rooted, unlocked the bootloader and installed CWM.
I can get into Recover/Boot mode or whatever you call it on phone startup, I have the Super user icon in my files, but I have no idea what to do now.
I found a ROM that I thought was worth a shot (CleanROM 2.5) but I don't know what to do. I've read and researched for hours now and everyone's problems seem to be complicated but no one talks about this.
I downloaded the ROM to my computer but I don't know what to do with the files, I can't find a .bat file or anything to initialize it and I am stuck.
I've wiped the data and done everything in the steps but I'm stuck at actually installing it. I know I'm obviously doing something wrong but I feel like I'm very close to what needs to be done.
Any help is welcome, thanks
deblas66 said:
OK I apologize ahead of time for what is probably a ridiculously easy question for most.
The ATT 1X is my first android and this is the first phone that I've rooted.
I read for hours and followed the instruction to a T. I rooted, unlocked the bootloader and installed CWM.
I can get into Recover/Boot mode or whatever you call it on phone startup, I have the Super user icon in my files, but I have no idea what to do now.
I found a ROM that I thought was worth a shot (CleanROM 2.5) but I don't know what to do. I've read and researched for hours now and everyone's problems seem to be complicated but no one talks about this.
I downloaded the ROM to my computer but I don't know what to do with the files, I can't find a .bat file or anything to initialize it and I am stuck.
I've wiped the data and done everything in the steps but I'm stuck at actually installing it. I know I'm obviously doing something wrong but I feel like I'm very close to what needs to be done.
Any help is welcome, thanks
Click to expand...
Click to collapse
I recommend you check QA thread found in a sub forum under your devices section and you review the stickied post for ROM install or Google "android install custom ROM " (remove quotes). Too much info on this already to type it all back out here. Did you watch you tube newb video you agreed to have watched when getting an xda account?
Essentially you now made it so your phone has the ability via CWM Recovery to now boot to that to install ROM zip or continue to use rooted stock ROM (how you flashed that zip for superuser is baasically same as how you flash a cwm compatible ROM zip (MOST but not all ROMs)) which with SuperUser can now run privelleged code if it is made to or requires it to run.
Sent from my SGH-T989 using Xparent Green Tapatalk 2
Thanks. I know this must seem so stupid, but I've been searching this forum, google, youtube and pretty much everything else for how to do this and I get it all and understand what's happening.
I just don't know where to put this ROM (which folder) to get it to install.
deblas66 said:
Thanks. I know this must seem so stupid, but I've been searching this forum, google, youtube and pretty much everything else for how to do this and I get it all and understand what's happening.
I just don't know where to put this ROM (which folder) to get it to install.
Click to expand...
Click to collapse
So after all that searching you never came across instructions informing you to put the zip on your phones storage?
You should probably just hold off a bit on flashing anything then. Not being mean but it sounds like you are confused by the process and end result. Step back and do some basic checklisting.
Sent from my HTC One X using Tapatalk 2
Download the rom you want and DO NOT UN ZIP IT. THEN PLACE THAT ZIP ON PHONE STORAGE AND BOOT INTO YOUR CUSTOM RECOVERY . HIT INSTALL FROM SD CARD AND MAKE SURE THE ROM YOU DOWNLOADED IS LISTED BUT DONT FLASH YET. GO BACK THE THE MAIN SCREEN OF RECOVERY. NOW MAKE A BACKUP. WHEN THAT IS DONE GO BACK TO MAIN RECOVERY SCREEN AND HIT WIPE PHONE DATA AND THEN CONFIRM. THEN GO AND HIT CLEAR CACHE OPTION. THEN GO BACK AND GO TO ADVANCED AND CLEAR DALVICK CACHE. NOW YOUR READY TO FLASH. GO TO INSTALL ZIP FROM SD AND FLASH YOUR ROM. FIRST BOOT ALWAYS TAKES LONG AFTER FLASHING A NEW ROM :thumbup:
Sent from my HTC One X using XDA
Pirateghost said:
So after all that searching you never came across instructions informing you to put the zip on your phones storage?
You should probably just hold off a bit on flashing anything then. Not being mean but it sounds like you are confused by the process and end result. Step back and do some basic checklisting.
Click to expand...
Click to collapse
Been posting on the internet for decades, don't worry about being mean. I'm here to learn. I rooted, unlocked the bootloader and installed CWM so that I could take advantage before the phone asked me to update the software to the 1.85 version.
My phone works fine now, and I did everything correctly which is what I was setting out to do. I'm in no rush to flash a ROM, but now that I'm ready I'm itching to try it out.
Driggity420 said:
Download the rom you want and DO NOT UN ZIP IT. THEN PLACE THAT ZIP ON PHONE STORAGE AND BOOT INTO YOUR CUSTOM RECOVERY . HIT INSTALL FROM SD CARD AND MAKE SURE THE ROM YOU DOWNLOADED IS LISTED BUT DONT FLASH YET. GO BACK THE THE MAIN SCREEN OF RECOVERY. NOW MAKE A BACKUP. WHEN THAT IS DONE GO BACK TO MAIN RECOVERY SCREEN AND HIT WIPE PHONE DATA AND THEN CONFIRM. THEN GO AND HIT CLEAR CACHE OPTION. THEN GO BACK AND GO TO ADVANCED AND CLEAR DALVICK CACHE. NOW YOUR READY TO FLASH. GO TO INSTALL ZIP FROM SD AND FLASH YOUR ROM. FIRST BOOT ALWAYS TAKES LONG AFTER FLASHING A NEW ROM :thumbup:
Click to expand...
Click to collapse
This is the process as I understand it and as stupid as it sounds, I'm hung up on where in phone storage to place the zip file of the rom. I don't see a storage folder, an SD folder, nothing that seems obvious and nothing that is in any of the things I've been reading or watching.
deblas66 said:
Been posting on the internet for decades, don't worry about being mean. I'm here to learn. I rooted, unlocked the bootloader and installed CWM so that I could take advantage before the phone asked me to update the software to the 1.85 version.
My phone works fine now, and I did everything correctly which is what I was setting out to do. I'm in no rush to flash a ROM, but now that I'm ready I'm itching to try it out.
This is the process as I understand it and as stupid as it sounds, I'm hung up on where in phone storage to place the zip file of the rom. I don't see a storage folder, an SD folder, nothing that seems obvious and nothing that is in any of the things I've been reading or watching.
Click to expand...
Click to collapse
Plug phone into computer. When prompted, select Disk Drive. On computer, browse to your computer, open the 'disk drive', and copy the zip there. THAT is your sdcard as seen by your phone.
Pirateghost said:
Plug phone into computer. When prompted, select Disk Drive. On computer, browse to your computer, open the 'disk drive', and copy the zip there. THAT is your sdcard as seen by your phone.
Click to expand...
Click to collapse
Seriously?
Wow I feel dumb. I was looking for a sub folder or directory specifically for storage and backup.
Thanks, I think that should be enough for me to do this tonight.
deblas66 said:
Seriously?
Wow I feel dumb. I was looking for a sub folder or directory specifically for storage and backup.
Thanks, I think that should be enough for me to do this tonight.
Click to expand...
Click to collapse
Yeah, some phones you may have to drag down notifications and tap USB mode or USB connected notification (it has standard USB icon and only appears when phone attached to computer). Then tap either USB storage mode or the button to enable USB drives. Then on computer just like a thumb drive it adds drive letter. Copy anything there that is /mnt/sdcard or /sdcard on phone. BE SURE TO EJECT DRIVES BEFORE AND TAP TO DISABLE USB ON PHONE IN THAT ORDER THEN UNPLUG FROM USB (failure to do so COULD result in data loss or corruption which you DO NOT want to happen to a ROM zip)!
Then boot in to recovery choose install zip from sdcard (not apply update from sdcard) as install from allows you to browse for any zip and install. Usually Vol up and down moves through menus and power or search button is enter. BE SURE THE ROM YOU DOWNLOAD IS SPECIFICALLY MEANT FOR YOUR DEVICE OR YOU COULD EASILY BRICK YOUR DEVICE. PLEASE REVIEW HOW TO RUN NANDROID BACKUPS AND RUN ONE BEFORE INSTALLING A DIFFERENT ROM.
I CAN NOT STRESS ENOUGH IF UNSURE DON'T PROCEED, BE SURE YOU RUN NANDROID BACKUPS AND ENSURE YOU FOLLOW INSTALL DIRECTIONS INCLUDED WITH YOUR ROM. ALSO, NEVER FORMAT EMMC (AKA INTERNAL SDCARD) IT ALMOST GUARENTEES A BRICKED DEVICE.
Sent from my SGH-T989 using Xparent Green Tapatalk 2
Wow that was easier than I thought.
Thanks for the help guys and sorry I missed such an easy step.
ROM installed.
deblas66 said:
Wow that was easier than I thought.
Thanks for the help guys and sorry I missed such an easy step.
ROM installed.
Click to expand...
Click to collapse
Is all good, and now you see why we were kinda scratching our heads wondering what was up a little . Glad we could help get you going though welcome to the world of custom ROMs. Please just be careful and always do backups and take it slow and read things 2x before even attempting once. While it can be easy to do it is also easy to accidentally brick your device (make it not work and have to be sent out for repairs).
Sent from my SGH-T989 using Xparent Green Tapatalk 2

[Q] adb problem

I managed to root anr install twrp on nexus 5.. I installed walkman.zip and clicked on clear cache after that..then it just didnt end and i had to force it to restart... When i did re start, played a song, in 4mins, any file manager was not reading the sd card!! Now i didnt took a rom backup..but it did boot ventually..it says cache not found! I think i screwed with cache partition.. Now i am trying to side load a zip(paranoid android), cmd is not recognisizing it..(adb i mean)..when i type adb shell, it says its no command and all..now all i want is to flash a rom and get out of this misery...twrp when formatting too, screws up and just dont end..! Help needed...i also did try to format, it just didnt format you know, it just got atuck for minutes again....can anyone give me link to cwm(if its twrp error)..also do help..urgent required.
raghavsharmaxda said:
I managed to root anr install twrp on nexus 5.. I installed walkman.zip and clicked on clear cache after that..then it just didnt end and i had to force it to restart... When i did re start, played a song, in 4mins, any file manager was not reading the sd card!! Now i didnt took a rom backup..but it did boot ventually..it says cache not found! I think i screwed with cache partition.. Now i am trying to side load a zip(paranoid android), cmd is not recognisizing it..(adb i mean)..when i type adb shell, it says its no command and all..now all i want is to flash a rom and get out of this misery...twrp when formatting too, screws up and just dont end..! Help needed...i also did try to format, it just didnt format you know, it just got atuck for minutes again....can anyone give me link to cwm(if its twrp error)..also do help..urgent required.
Click to expand...
Click to collapse
It would br grrat if solution is in step by step..irony is that i have rooted samsung devices, and odin does the job for me....now i dont have odin for this after all...i have paranoid .zip in my pc though..... Help needed....noob ..hell of noob in nexus.. Please help
Hello,
Flash factory images and go back to fully stock and then start all over again.. Here are the steps:
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Don't know much about TWRP as I use PhilZTouch and adb sideload works just fine!
vin4yak said:
Hello,
Flash factory images and go back to fully stock and then start all over again.. Here are the steps:
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Don't know much about TWRP as I use PhilZTouch and adb sideload works just fine!
Click to expand...
Click to collapse
It says..fast boot mode is not recognised as internal or external command...it comes like 4times..and says,clixk any button to exit..pls do help...
raghavsharmaxda said:
It says..fast boot mode is not recognised as internal or external command...it comes like 4times..and says,clixk any button to exit..pls do help...
Click to expand...
Click to collapse
Here is a tutorial to setup adb https://www.youtube.com/watch?v=ZY4KSrgi-rE correctly. Guess you missed something somewhere
raghavsharmaxda said:
It says..fast boot mode is not recognised as internal or external command...it comes like 4times..and says,clixk any button to exit..pls do help...
Click to expand...
Click to collapse
If you put the files in the same folder that Fastboot.exe is, it will work

[Q] Help: No software installed and can't boot

Hi guys
It has been a long time since my phone has been this bad.
So last night I go to charge my phone because I had ZERO battery. So I turned it on and then plugged it in. The phone booted fine but then I noticed that the screen was not shutting off. I even tried hitting the "Go to sleep" button from the pull down menu and nothing happened. I also realized the phone was not loading my calendar. When I went into the file manager it didn't show SDCARD 1 or 2.
I decided to clear the memory (dalvik + cache) = SAME PROBLEM
I did a factory restore = same problem
Finally I cleared the system = now i have no OPERATING SYSTEM ON THE PHONE
I went to the external sd card and tried to install the latest version of OMNI....IT SAYS IT CANT READ FROM THE SD CARD.
I also tried to copy the file from external sd to internal sd card and it says FAILED
I don't' know what to do...
I am using Team Win Recovery Project 2.6.3.0
I have the latest omni rom on my external sd card. I can see it but install fails.
Please help :crying:
mfisher0 said:
Hi guys
It has been a long time since my phone has been this bad.
So last night I go to charge my phone because I had ZERO battery. So I turned it on and then plugged it in. The phone booted fine but then I noticed that the screen was not shutting off. I even tried hitting the "Go to sleep" button from the pull down menu and nothing happened. I also realized the phone was not loading my calendar. When I went into the file manager it didn't show SDCARD 1 or 2.
I decided to clear the memory (dalvik + cache) = SAME PROBLEM
I did a factory restore = same problem
Finally I cleared the system = now i have no OPERATING SYSTEM ON THE PHONE
I went to the external sd card and tried to install the latest version of OMNI....IT SAYS IT CANT READ FROM THE SD CARD.
I also tried to copy the file from external sd to internal sd card and it says FAILED
I don't' know what to do...
I am using Team Win Recovery Project 2.6.3.0
I have the latest omni rom on my external sd card. I can see it but install fails.
Please help :crying:
Click to expand...
Click to collapse
Calm down dear. Same happened with me. I formatted /system and find that I don't have any operating system in my mobile.
Just pluggin your mobile in recovery mode to your PC. transfer the file-> Flash the ROM-> Gapps -> BINGO..
BTW, wrong area for creating a thread.
Don't worry. Do what D™ said.
Alternatively you can use "adb sideload" method. I used it once with Philz recovery. In sideload method, you won't need to copy the file in Sdcard. File existing on pc can be directly flashed. This would help if you still face problems copying file to Sdcard. Search it on google. You will find steps for it.
A bit more clear please...
D™ said:
Calm down dear. Same happened with me. I formatted /system and find that I don't have any operating system in my mobile.
Just pluggin your mobile in recovery mode to your PC. transfer the file-> Flash the ROM-> Gapps -> BINGO..
BTW, wrong area for creating a thread.
Click to expand...
Click to collapse
Hey
Ok I am a bit calmer knowing I didn't brick my phone or anything...
But when I connect my phone to my computer I know it is connected (I see GTi9103 in device manager with an "!" ) but I cant transfer files.
Could someone provide a link to the adb method or maybe give a bit more advice on this problem..
Thank you guys!
mfisher0 said:
Hey
Ok I am a bit calmer knowing I didn't brick my phone or anything...
But when I connect my phone to my computer I know it is connected (I see GTi9103 in device manager with an "!" ) but I cant transfer files.
Could someone provide a link to the adb method or maybe give a bit more advice on this problem..
Thank you guys!
Click to expand...
Click to collapse
It must installed drivers.. If u cant access the storage, just flash ics via odin and further known actions.
Sent Using my MOTO© G® from Tapatalk Pro - D™
Thanks dude! I will give it a try and post a response! It was just so strange that I couldn't see any of the drives (sdcard 1 or 2) in filemanager. I guess something must have got corrupted? Right now I am trying to push from adb method mentioned from Nikhil.
I am following this procedure.
http://hackerspace.lifehacker.com/how-to-install-a-rom-via-sideload-1505153925
PS. the android SDK is massive!
ADB FAIL
ADB IS WAY TOO complicated for me right at this moment (actually exhausted).
********Can someone provide me with a ICS download link? *******************
I'm going to try out the ODIN method
http://forum.xda-developers.com/showthread.php?t=1406664
again thanks to ALL who are constantly helping out!
mfisher0 said:
ADB IS WAY TOO complicated for me right at this moment (actually exhausted).
********Can someone provide me with a ICS download link? *******************
I'm going to try out the ODIN method
http://forum.xda-developers.com/showthread.php?t=1406664
again thanks to ALL who are constantly helping out!
Click to expand...
Click to collapse
Download Stock Indian ICS
Btw, adb sideload method is as follows.
0. Install adb for windows (assuming you have windows). (There shouldn't be any driver missing)
1. Enter into sideload mode in recovery
2. Open cmd in computer with the directory in which zip file is kept. (shift + right click -> open command prompt here would do)
3. Enter adb sideload xyz.zip
Thats it.
I've tried it with TWRP recovery in my friend's phone. It didnt work. But When I tried with Philz recovery, It worked well.
Anyway, if you are finding it complicated, flash stock ics.
Edit : Did you try "mount usb storage" in recovery? because it is required to do. else computer won't recognize your device.
success!
OK so I successfully flashed via ODIN....Can I directly flash omni now? I am assuming yes...Can I flash it through ODIN?
Also can you recommend any good versions of ICS? It is really quite a bit faster than omni...
AGAIN thank you all
mfisher0 said:
OK so I successfully flashed via ODIN....Can I directly flash omni now? I am assuming yes...Can I flash it through ODIN?
Also can you recommend any good versions of ICS? It is really quite a bit faster than omni...
AGAIN thank you all
Click to expand...
Click to collapse
Omni is best until now.
you can't flash omni via odin. Flash Philz or TWRP first and then flash omni.
Lv5 ZCLPD is best ICS Rom. But I would choose Omni over Lv5,
reinstall twrp?
Nikhil said:
Omni is best until now.
you can't flash omni via odin. Flash Philz or TWRP first and then flash omni.
Lv5 ZCLPD is best ICS Rom. But I would choose Omni over Lv5,
Click to expand...
Click to collapse
Do I need to reinstall TWRP>??
mfisher0 said:
Do I need to reinstall TWRP>??
Click to expand...
Click to collapse
Reinstall!
Not if you already installed it.
Read OP of discussion thread. Instructions are there. You will find everything you need.
ICS will faster for few days and then it slow down.. hang.. GB is best for our device..

Categories

Resources