Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,749 Members 51,053 Now Online
XDA Developers Android and Mobile Development Forum

Can flash recovery, can't flash rom.

Tip us?
 
guywithdesire1992
Old
#1  
Member - OP
Thanks Meter 19
Posts: 86
Join Date: Oct 2010
Default Can flash recovery, can't flash rom.

Hi guys,

I'm a little stuck. I have a HTC One HBOOT 1.44 with TWRP 2.7.0.0 installed. I can flash recoveries (CWM or TWRP) but I cannot for the life of me sideload a ROM. I just did a factory reset so I can't exactly turn it back on. Any ideas?
 
alray
Old
#2  
alray's Avatar
Senior Member
Thanks Meter 913
Posts: 2,370
Join Date: May 2012
Location: Montreal
Quote:
Originally Posted by guywithdesire1992 View Post
Hi guys,

I'm a little stuck. I have a HTC One HBOOT 1.44 with TWRP 2.7.0.0 installed. I can flash recoveries (CWM or TWRP) but I cannot for the life of me sideload a ROM. I just did a factory reset so I can't exactly turn it back on. Any ideas?
save your rom in the same folder where you have adb and fastboot. Boot your phone in twrp recovery main menu. Open a cmd prompt from your fastboot folder.

type:

Code:
adb devices
it should output your phone s/n and ''recovery'' beside.

Code:
adb push <name_of_rom>.zip /sdcard/
wait for the file transfer, it might take up to 5-10 mins.

after the file transfer completed, Hit ''install'' and select the rom.zip.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
guywithdesire1992
Old
#3  
Member - OP
Thanks Meter 19
Posts: 86
Join Date: Oct 2010
Quote:
Originally Posted by alray View Post
save your rom in the same folder where you have adb and fastboot. Boot your phone in twrp recovery main menu. Open a cmd prompt from your fastboot folder.

type:

Code:
adb devices
it should output your phone s/n and ''recovery'' beside.

Code:
adb push <name_of_rom>.zip /sdcard/
wait for the file transfer, it might take up to 5-10 mins.

after the file transfer completed, Hit ''install'' and select the rom.zip.
ROM is in directory and opened CMD prompt from fastboot folder. ROM is named 'rom' for simplicity. Sitting on the TWRP main screen and typing adb devices results in this. Can't see any devices attached.

E:\HDD Downloads\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-
131030\sdk\platform-tools>adb devices
List of devices attached


E:\HDD Downloads\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-
131030\sdk\platform-tools>
 
alray
Old
#4  
alray's Avatar
Senior Member
Thanks Meter 913
Posts: 2,370
Join Date: May 2012
Location: Montreal
Quote:
Originally Posted by guywithdesire1992 View Post
ROM is in directory and opened CMD prompt from fastboot folder. ROM is named 'rom' for simplicity. Sitting on the TWRP main screen and typing adb devices results in this. Can't see any devices attached.

E:\HDD Downloads\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-
131030\sdk\platform-tools>adb devices
List of devices attached


E:\HDD Downloads\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-
131030\sdk\platform-tools>
Your drivers a probably not installed correctly. Start by following these instruction from nkk71's guide (faq #2):

originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock

2) Q: I'm using Windows 7 what should I worry about
A: when you issue the command "fastboot boot CWM.img" (now only in CWM/TWRP restore method) there's a high chance drivers won't correctly install
 


follow the below instructions to fix
 

Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
 

okay so I did a fastboot boot command, and as you can see it didnt install correct driver



Open "Device Manager"



there's the culprit



right click and Update Driver Software



select Browse my computer for driver software



select Let me pick from a list of device drivers on my computer



select Android USB Devices



select My HTC ... (if you have more than one version, choose the latest)



warning, select Yes



successful installation



now it looks better


and can confirm:
Code:
C:\ADB3>adb devices
List of devices attached
HTxxxxxxxxxx    recovery
-------------------------------------------------------------------------------------------------------------------------------------------
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes