Device stuck on black HBOOT with no custom recovery and fastboot is not working - One (M7) Q&A, Help & Troubleshooting

I am in a massive dilemma at the moment. I recently upgraded my phone using a stock RUU and was unhappy with the way it was working, due to no mobile data. I have been trying to apply a new RUU to my phone but it is not working, I have recently found out that my bootloader is black and that fastboot does not work at all.
When I request a device list in CMD nothing happens and CMD just prints a new directory line, and whenever I issue a command it just says <waiting for device>. I understand that without fastboot I will be unable to install a custom recovery and therefore unable to install a new ROM. I have tried my laptop and a desktop computer and they both do not work, so I'm guessing it is the phone even though I am able to send adb commands.
Any help is appreciated.

Hmm...are you able to boot into the recovery? If yes just restore it with the backup you hopefully have made

Boachti said:
Hmm...are you able to boot into the recovery? If yes just restore it with the backup you hopefully have made
Click to expand...
Click to collapse
Unfortunately there is no custom recovery installed, I can load recovery but it just shows a black screen.

Oh yeah forgot sry
Ehmmm.....
Does the pc make any sound when you plug in your device ?

Boachti said:
Oh yeah forgot sry
Ehmmm.....
Does the pc make any sound when you plug in your device ?
Click to expand...
Click to collapse
Device is recognised while running android and makes a sound, but when in bootloader the computer makes a sound but I get an error message saying that the USB device is not recognised.

hrogers123 said:
Device is recognised while running android and makes a sound, but when in bootloader the computer makes a sound but I get an error message saying that the USB device is not recognised.
Click to expand...
Click to collapse
make sure that you have the latest driver installed and usb debuging has to be on (settings/devoloper options)
---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------
you said that fastboot isn't working at all so you aren't able to flash for example a custom recovery
you can use adb commands to enter into recovery and to copy a rom zip to your device
then you should be able to flash the custom rom
perhaps this can fix your problem

Boachti said:
make sure that you have the latest driver installed and usb debuging has to be on (settings/devoloper options)
---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------
you said that fastboot isn't working at all so you aren't able to flash for example a custom recovery
you can use adb commands to enter into recovery and to copy a rom zip to your device
then you should be able to flash the custom rom
perhaps this can fix your problem
Click to expand...
Click to collapse
Drivers are installed and USB debugging is on.
I've already tried adb reboot recovery and it doesn't work just shows a phone with a red triangle so I'm guessing there is no recovery installed, so I'm in an infinite loop.

Can You post a photo of your black boot loader screen please.
Sent from my HTC One using Tapatalk

dear, renew your ADB files and HTC Driver
1-This is ADB files , be sure to extract it in folder (e.x ADB files) in your System partition (e.x C:\)
2-Remove HTCSync, Mobogien, Kies and any mobile softwares then install HTC DRIVER V.4
3-try the FAQ 2 steps in this guide
search for 2) Q: I'm using Windows 7 what should I worry about
if not , try to reset factory your phone > USB debugging is on > try step 3 again
these will help you

gffmac said:
Can You post a photo of your black boot loader screen please.
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
http://imgur.com/8ObZ1HN

moha_moha20106 said:
dear, renew your ADB files and HTC Driver
1-This is ADB files , be sure to extract it in folder (e.x ADB files) in your System partition (e.x C:\)
2-Remove HTCSync, Mobogien, Kies and any mobile softwares then install HTC DRIVER V.4
3-try the FAQ 2 steps in this guide
search for 2) Q: I'm using Windows 7 what should I worry about
if not , try to reset factory your phone > USB debugging is on > try step 3 again
these will help you
Click to expand...
Click to collapse
My ADB commands work fine, it is fastboot that doesn't work. I completed your steps anyway and it didn't help.

hrogers123 said:
http://imgur.com/8ObZ1HN
Click to expand...
Click to collapse
with your bootloader photo, you only need to resolve the USB issue, then you can install custom/stock rom easy

hrogers123 said:
Drivers are installed and USB debugging is on.
I've already tried adb reboot recovery and it doesn't work just shows a phone with a red triangle so I'm guessing there is no recovery installed, so I'm in an infinite loop.
Click to expand...
Click to collapse
download this file
rename it > update.zip
edit android-info.txt to meet your phone CID & MID
copy update.zip to your SD card
go to your recovery (red triangle) press Vol up + power once
erase cache
apply from SD card

moha_moha20106 said:
with your bootloader photo, you only need to resolve the USB issue, then you can install custom/stock rom easy
Click to expand...
Click to collapse
Yeah just really confused as to why my computer recognizes the phone while on android o/s but not on bootloader.
Another thing to note is that fact that when I enter FASTBOOT it does not display FASTBOOT USB straight away. I have to press either one of the volume keys and then it switches to FASTBOOT USB.
Here are some pictures of the error message I get in Windows.

moha_moha20106 said:
download this file
rename it > update.zip
edit android-info.txt to meet your phone CID & MID
copy update.zip to your SD card
go to your recovery (red triangle) press Vol up + power once
erase cache
apply from SD card
Click to expand...
Click to collapse
I cannot seem to find the android-info.txt file anywhere.
Just tried it and I get this error message...
-- Install /data/media/0 ...
Finding update package...
Opening update package...
Verifying update package...
Installation aborted.
Write host_mode:0 done

Another update, while checking through the settings on my phone I realised that there are two settings for USB debugging. One is for HTC Sync Manager and the other is from Developer options, shown below;
http://i.imgur.com/I5sV7K5.png
http://i.imgur.com/VJirw7N.png
When I checked My Computer I found that I had two devices connected, HTC One and CD Drive (E
http://i.imgur.com/ELpsgpu.png
I then checked Device Manager to see if their were two devices, and their were.
http://i.imgur.com/dEVGYCO.png
So I'm guessing that when I boot to FASTBOOT it is trying to read the CD Drive and it is unable to read it. I have tried to deselect the HTC Sync debugging but as soon as I do the developer debugging also deselects and vice versa.

hrogers123 said:
I cannot seem to find the android-info.txt file anywhere.
Just tried it and I get this error message...
-- Install /data/media/0 ...
Finding update package...
Opening update package...
Verifying update package...
Installation aborted.
Write host_mode:0 done
Click to expand...
Click to collapse
the android-info.txt in update.zip
---------- Post added at 09:09 AM ---------- Previous post was at 09:04 AM ----------
hrogers123 said:
Another update, while checking through the settings on my phone I realised that there are two settings for USB debugging. One is for HTC Sync Manager and the other is from Developer options, shown below;
http://i.imgur.com/I5sV7K5.png
http://i.imgur.com/VJirw7N.png
When I checked My Computer I found that I had two devices connected, HTC One and CD Drive (E
http://i.imgur.com/ELpsgpu.png
I then checked Device Manager to see if their were two devices, and their were.
http://i.imgur.com/dEVGYCO.png
So I'm guessing that when I boot to FASTBOOT it is trying to read the CD Drive and it is unable to read it. I have tried to deselect the HTC Sync debugging but as soon as I do the developer debugging also deselects and vice versa.
Click to expand...
Click to collapse
uninstall you device from device manager > unplug your phone> restart PC
plug your phone> go to device manager> find your device> right click properties> update driver >search internet for driver

hrogers123 said:
I am in a massive dilemma at the moment. I recently upgraded my phone using a stock RUU and was unhappy with the way it was working, due to no mobile data. I have been trying to apply a new RUU to my phone but it is not working, I have recently found out that my bootloader is black and that fastboot does not work at all.
Any help is appreciated.
Click to expand...
Click to collapse
Your phone appears to be stuck bewteen two firmwares hense the os showing up in red in your bootloader.
would I be correct in assuming you did the following commands:
fastboot oem rebootRUU
fastboot flash zip <name of firmware>.zip
fastboot reboot
as opposed to:
fastboot oem rebootRUU
fastboot flash zip <name of firmware>.zip
fastboot flash zip <name of firmware>.zip <- yes it has to be done twice, the first one will report failed, the second should succeed.
fastboot reboot
Sent from my HTC One using Xparent Skyblue Tapatalk 2

moha_moha20106 said:
the android-info.txt in update.zip
Click to expand...
Click to collapse
I checked the zip and couldn't find it anywhere.

bored_stupid said:
Your phone appears to be stuck bewteen two firmwares hense the os showing up in red in your bootloader.
would I be correct in assuming you did the following commands:
fastboot oem rebootRUU
fastboot flash zip <name of firmware>.zip
fastboot reboot
as opposed to:
fastboot oem rebootRUU
fastboot flash zip <name of firmware>.zip
fastboot flash zip <name of firmware>.zip <- yes it has to be done twice, the first one will report failed, the second should succeed.
fastboot reboot
Sent from my HTC One using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
If your asking about how I installed my current ROM, I downloaded a RUU exe and installed from my desktop.
If your asking me to try those steps now, I can't. FASTBOOT does not respond.

Related

Help needed, device wiped

I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Pum4 said:
I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Click to expand...
Click to collapse
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
redbull123 said:
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
Click to expand...
Click to collapse
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Click to expand...
Click to collapse
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
redbull123 said:
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
Click to expand...
Click to collapse
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Pum4 said:
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Click to expand...
Click to collapse
Can you use adb & fastboot commands?
redbull123 said:
Can you use adb & fastboot commands?
Click to expand...
Click to collapse
yes I can, is mini sdk enough ?
Pum4 said:
yes I can, is mini sdk enough ?
Click to expand...
Click to collapse
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
redbull123 said:
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
Click to expand...
Click to collapse
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Pum4 said:
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Click to expand...
Click to collapse
Maybe try fastboot screen again,
fastboot erase cache
redbull123 said:
Maybe try fastboot screen again,
fastboot erase cache
Click to expand...
Click to collapse
remote not allowed
Pum4 said:
remote not allowed
Click to expand...
Click to collapse
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
redbull123 said:
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
Click to expand...
Click to collapse
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Pum4 said:
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Click to expand...
Click to collapse
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
redbull123 said:
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
Click to expand...
Click to collapse
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Pum4 said:
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Click to expand...
Click to collapse
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
redbull123 said:
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
Click to expand...
Click to collapse
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Pum4 said:
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Click to expand...
Click to collapse
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
redbull123 said:
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Pum4 said:
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Click to expand...
Click to collapse
I don't know anything about RUUs but this is what I would do just to get a working phone:
Flash custom recovery again
Flash Android Revolution 10.2 from here:
http://forum.xda-developers.com/showthread.php?p=38939202
Using adb push or sideload
It's 4.2.2 and close to stock
Sent from my HTC One using xda premium

[Q] Wiped Stock Os

So did a very stupid thing by wiping OS of stock phone before copying rom.zip to phone. My fastboot no longer has usb connection. I do have twrp recovery on phone but I am clueless how to transfer the rom's over to install. Anyone have suggestions please?
NO OS install
http://forum.xda-developers.com/showthread.php?t=2791126
It's called adb sideload... You can find it in twrp under Extras. Good Luck!
yatindroid said:
NO OS install
http://forum.xda-developers.com/showthread.php?t=2791126
Click to expand...
Click to collapse
I read the instruction, some questions?
Requirement
>>fastboot getvar all ----- cant do this because fastboot no longer usb connection
>>full working adb drivers for adb sideload -- drivers are up to date
>>TWRP 2.6.3.4 for sideload have ver 2.7.1.1
>>USB-OTG cable is this unique or different cable
>>RUU rom exe/zip or Guru Reset Rom or Nandroid Backup which is one should be used for htc one ATT
cdkraut said:
I read the instruction, some questions?
Requirement
>>fastboot getvar all ----- cant do this because fastboot no longer usb connection
>>full working adb drivers for adb sideload -- drivers are up to date
>>TWRP 2.6.3.4 for sideload have ver 2.7.1.1
>>USB-OTG cable is this unique or different cable
>>RUU rom exe/zip or Guru Reset Rom or Nandroid Backup which is one should be used for htc one ATT
Click to expand...
Click to collapse
what is you hboot version and what is your computer OS version? What rom were you trying to flash?
I attached a couple of screenshots to show where i am at. My biggest issue seems to be no usb to transfer the damn files.
cdkraut said:
I attached a couple of screenshots to show where i am at. My biggest issue seems to be no usb to transfer the damn files.
Click to expand...
Click to collapse
Did you have google edition rom on your phone, or have you tried flashing a firmware or google edition rom ?
cdkraut said:
I read the instruction, some questions?
Requirement
>>fastboot getvar all ----- cant do this because fastboot no longer usb connection
>>full working adb drivers for adb sideload -- drivers are up to date
>>TWRP 2.6.3.4 for sideload have ver 2.7.1.1
>>USB-OTG cable is this unique or different cable
>>RUU rom exe/zip or Guru Reset Rom or Nandroid Backup which is one should be used for htc one ATT
Click to expand...
Click to collapse
why fastboot no USB connection faulty cable ? Port problem ? If it's port then repair port first
If no getvar all then tell cid mid OS version + info phone displaying in fastboot mode
TWRP 2.6.3.3/4 is best 2.7 have issues still
USB otg cable is a simple cable connect USB drive to your phone
You can't use ruu
Use guru reset Rom or nandroid backup
Seanie280672 said:
Did you have google edition rom on your phone, or have you tried flashing a firmware or google edition rom ?
Click to expand...
Click to collapse
Not Sure where i would find this on my phone: what folder? I have scrolled through most directories and cant seem to see any.
cdkraut said:
Not Sure where i would find this on my phone: what folder? I have scrolled through most directories and cant seem to see any.
Click to expand...
Click to collapse
I don't think you understood the question I asked, did you have a sense rom or a google edition rom on your phone before you wiped it ?
Seanie280672 said:
Did you have google edition rom on your phone, or have you tried flashing a firmware or google edition rom ?
Click to expand...
Click to collapse
alray said:
what is you hboot version and what is your computer OS version? What rom were you trying to flash?
Click to expand...
Click to collapse
hboot is 1.57.0000
Windows 7
Never got to loading rom because its on pc and not phone.
Seanie280672 said:
I don't think you understood the question I asked, did you have a sense rom or a google edition rom on your phone before you wiped it ?
Click to expand...
Click to collapse
Stock ATT Sense i Imagine
Ok fastboot usb is up . Also managed to change to Twrp 2.6.3. So now need to get otg cable. I was hoping to be able to just transfer file from Pc to phone, but cant see phone in available drives.
cdkraut said:
After wiping os the usb portion disappeared, could this be because usb debugging isn't there anymore since there is no os?
Click to expand...
Click to collapse
usb debugging is only to have ADB access with the phone booted in the OS.
It looks like you have usb problem, maybe a bad usb cable, phone port or pc usb port. when your phone is in bootloader with usb cable plugged to your pc, you should see "FASTBOOT USB" in the bootloader.
cdkraut said:
Ok fastboot usb is up . Also managed to change to Twrp 2.6.3. So now need to get otg cable. I was hoping to be able to just transfer file from Pc to phone, but cant see phone in available drives.
Click to expand...
Click to collapse
if fastboot USB is running use adb sideload
Now you don't need USB otg
If sideload not working then you need usb otg
yatindroid said:
if fastboot USB is running use adb sideload
Now you don't need USB otg
If sideload not working then you need usb otg
Click to expand...
Click to collapse
looks like im getting a usb-otg....sideload just hangs... appreciate everyone's input in helping me. I will keep you posted.
cdkraut said:
looks like im getting a usb-otg....sideload just hangs... appreciate everyone's input in helping me. I will keep you posted.
Click to expand...
Click to collapse
you can adb push or adb sideload a rom when your phone is booted to recovery (twrp) not directly from bootloader. You said you have flashed twrp 2.6.3 ? you mean 2.6.3.0 or 2.6.3.3 ? Always use 2.6.3.3
Also make sure your ADB is up to date (should be 1.0.31) you can check your ADB version with this command:
Code:
adb version
Now try to follow this detailed guide:
HTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer, either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-XXXXXXXX\sdk\platform-tools\
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
You need TWRP recovery (2.6.3.3 or higher) on your device.
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
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>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
Here is a list of the HTC M7 roms
Connect your phone to computer using usb cable
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes and there is no progress bar. When the command prompt give you back the hand and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
alray said:
you can adb push or adb sideload a rom when your phone is booted to recovery (twrp) not directly from bootloader. You said you have flashed twrp 2.6.3 ? you mean 2.6.3.0 or 2.6.3.3 ? Always use 2.6.3.3
Also make sure your ADB is up to date (should be 1.0.31) you can check your ADB version with this command:
Code:
adb version
Now try to follow this detailed guide:
HTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
​
Click to expand...
Click to collapse
Thank you all for the awesome support... back up and running.
Check out the guide on htc1guru's website

[q] htc one m7 unlocked tampered no rom no adb no usb otg

Hi everyone! i search everywhere in the forum but I can't find any solution for my htc one m7 bricked...
I can go in the bootloader that is unlocked i can locked too,,,i can flash a custom recovery and use it but i can't see my usb otg cable with usb stick (i try other usb stick and all work fine in galaxy s2 not in my htc one m7 so i think the cable and the usb stick are not the problem,,,) i can't use adb (i use pc with win8.1 win7 win xp and mac osx and all can't find the devices connected in adb sideload from the custom recovery...i use twrp and i try clockworkmod but both don'twork...)i can flash boot or zip from fastboot but when i flash zip always appeare remote 12 signature failed...because i can't find a ruu for my cid: tim__401....
i have no other ideas for resuscitate my htc one m7_ul...can anyone help me???
Sorry for my bad english greatings from italy Luke
luca89s said:
Hi everyone! i search everywhere in the forum but I can't find any solution for my htc one m7 bricked...
I can go in the bootloader that is unlocked i can locked too,,,i can flash a custom recovery and use it but i can't see my usb otg cable with usb stick (i try other usb stick and all work fine in galaxy s2 not in my htc one m7 so i think the cable and the usb stick are not the problem,,,) i can't use adb (i use pc with win8.1 win7 win xp and mac osx and all can't find the devices connected in adb sideload from the custom recovery...i use twrp and i try clockworkmod but both don'twork...)i can flash boot or zip from fastboot but when i flash zip always appeare remote 12 signature failed...because i can't find a ruu for my cid: tim__401....
i have no other ideas for resuscitate my htc one m7_ul...can anyone help me???
Sorry for my bad english greatings from italy Luke
Click to expand...
Click to collapse
use this guide to install a rom to your phone. I suggest you to use arhd 81.0
alray said:
HTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer, either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
You need TWRP recovery 2.6.3.3 on your device.
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
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>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
Here is a list of the HTC M7 roms
Connect your phone to computer using usb cable
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes and there is no progress bar. When the command prompt give you back the hand and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone after the installation is completed
Click to expand...
Click to collapse
Click to expand...
Click to collapse
alray said:
use this guide to install a rom to your phone. I suggest you to use arhd 81.0
Click to expand...
Click to collapse
i can't use adb pc don't "see" my htc...i have alredy tried this guide....
luca89s said:
i can't use adb pc don't "see" my htc...i have alredy tried this guide....
Click to expand...
Click to collapse
Can your PC Detect your phones storage space? I know it's a bit late now as you've bricked it? but it sounds like to me that your PC isn't detecting your phone so install the phone drivers?
badd1e said:
Can your PC Detect your phones storage space? I know it's a bit late now as you've bricked it? but it sounds like to me that your PC isn't detecting your phone so install the phone drivers?
Click to expand...
Click to collapse
my pc detect htc only in fastboot usb mode...when i connect in custom recovery mode the phone connect and disconnect immediatly...i can't see the internal storage....and when i try to use usb otg via twrp i can't select usb otg mode from the menu...
I CAN ONLY USE FASTBOOT command at the moment..but i can't find a ruu for my cid: tim__401....
luca89s said:
my pc detect htc only in fastboot usb mode...when i connect in custom recovery mode the phone connect and disconnect immediatly...i can't see the internal storage....and when i try to use usb otg via twrp i can't select usb otg mode from the menu...
I CAN ONLY USE FASTBOOT command at the moment..but i can't find a ruu for my cid: tim__401....
Click to expand...
Click to collapse
so what is the error in CWM when you choose install from externel_sd or USB OTG ?
luca89s said:
I CAN ONLY USE FASTBOOT command at the moment
Click to expand...
Click to collapse
so your drivers are probably not installed correctly. Re-install your drivers following the guide and you should also reflash twrp 2.6.3.3, fastboot erase cache and reboot bootloader
clsA said:
so what is the error in CWM when you choose install from externel_sd or USB OTG ?
Click to expand...
Click to collapse
any erroe only when i select usb otg mode i return in the menu...
alray said:
so your drivers are probably not installed correctly. Re-install your drivers following the guide and you should also reflash twrp 2.6.3.3, fastboot erase cache and reboot bootloader
Click to expand...
Click to collapse
now i can use adb on my old pc with win xp...i see the devices but when i try to push a zip in sdcard come out this error..: protocol failure (when i try in the menu of twrp) error: closed (when i try in adb sideload)... any suggestion? thanks
luca89s said:
now i can use adb on my old pc with win xp...i see the devices but when i try to push a zip in sdcard come out this error..: protocol failure (when i try in the menu of twrp) error: closed (when i try in adb sideload)... any suggestion? thanks
Click to expand...
Click to collapse
It sounds like you do not have the right drivers installed, try installing them from here http://forum.xda-developers.com/showthread.php?t=2588979 and see if that works. There is an update there for Windows 8.1 as well.
chuckwago88 said:
It sounds like you do not have the right drivers installed, try installing them from here http://forum.xda-developers.com/showthread.php?t=2588979 and see if that works. There is an update there for Windows 8.1 as well.
Click to expand...
Click to collapse
RESOLVED!!
i flashed a stock recovery....do a factry reset then installed a twrp 2.6.3.3 and following the guide linked by @alray and installed inestrcoin custom rom...
Thank at all of you!
You sir. You deserve a medal... Thanks for sharing. I was able to get my phone out of brick after following your instructions. THANK YOU SOO MUCH :victory::victory::victory:
alray said:
use this guide to install a rom to your phone. I suggest you to use arhd 81.0
Click to expand...
Click to collapse

[Q] Can't Load OS via USB otg or computer, stuck in TWRP.

Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Aceboog33 said:
Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Click to expand...
Click to collapse
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Seanie280672 said:
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Click to expand...
Click to collapse
I know it involves the command terminal but no, I've never used it before.
Aceboog33 said:
I know it involves the command terminal but no, I've never used it before.
Click to expand...
Click to collapse
still need help?
madboy_maduka said:
still need help?
Click to expand...
Click to collapse
yes yes i dooo
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Seanie280672 said:
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Click to expand...
Click to collapse
What the guy above me said was right, the problem I think with your phone is drivers I'll upload a link to adv drivers in my next post, basically using recovery (twrp recommend) wipe /data, /cache & /system. Then go to adb sideload which is in the recovery (it should say something like adb server started). Then using adb devices command check if your computer sees your device if not you gotta install drivers for your computer. In device manager on your computer your device should be something like ADB interface if not drivers are not correctly installed. Right click update drivers I'll link it in ma next post
---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------
Follow these instructions to install the driver http://visualgdb.com/tutorials/android/usbdebug/manualinstall.php
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Use this guide. Saved me one time
http://android-revolution-hd.blogspot.ro/2013/12/how-to-copy-rom-zip.html?m=1

Adb Sideload

Hello all,
I made a big mistake and wiped my Sd card on my rooted, Unlocked M7. I was able to get recovery(TWRP) back on but for the life of me cannot sideload a Rom on it? At the moment it has no OS. So that means I cannot open usb debugging so I could manually place the ViperOne rom back on the SD. I've never sideloaded anything but after watching many youtube videos and failing ( cannot read ROM.zip) its driving me nuts. Is there maybe an easier way? Maybe something else I can try?
I have tried to load for both desktop and platform tools( both I can see my device).
Splitshot said:
( cannot read ROM.zip)
Click to expand...
Click to collapse
This error is usually caused by the file being in the wrong location. Make sure "ROM.zip" is in the same folder where you have adb and fastboot on your computer.
---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------
TWRP 2.6.4.0 also include mtp drivers so you can see your device storage on your ocmputer when booted in recovery mode.
Splitshot said:
Hello all,
I made a big mistake and wiped my Sd card on my rooted, Unlocked M7. I was able to get recovery(TWRP) back on but for the life of me cannot sideload a Rom on it? At the moment it has no OS. So that means I cannot open usb debugging so I could manually place the ViperOne rom back on the SD. I've never sideloaded anything but after watching many youtube videos and failing ( cannot read ROM.zip) its driving me nuts. Is there maybe an easier way? Maybe something else I can try?
I have tried to load for both desktop and platform tools( both I can see my device).
Click to expand...
Click to collapse
alray said:
This error is usually caused by the file being in the wrong location. Make sure "ROM.zip" is in the same folder where you have adb and fastboot on your computer.
---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------
TWRP 2.6.4.0 also include mtp drivers so you can see your device storage on your ocmputer when booted in recovery mode.
Click to expand...
Click to collapse
Like alray said flash TWRP 2.8.4.0 and the phone will be seen in windows and you can just copy the file to the phone and flash it
I already had a "Install recovery v1.2" in my downloads so I tried this because I was unsuccessful with all the other attempts and low and behold it worked. although its an older version of TWRP (2.6.3). would it make a difference not having the latest? now that recovery is there I was hoping to push a ROM then update the recovery through root manager.
I just read alray's last line about the mtp drivers. OK, I will first get my folders working better, upgrade to a newer version TWRP and then push a rom. Is there a difference in "Fastboot adb sideload flash ViperOne.zip" and "
" adb sideload push ViperOne.zip"? Two video's used 2 different commands.
Splitshot said:
I already had a "Install recovery v1.2" in my downloads so I tried this because I was unsuccessful with all the other attempts and low and behold it worked. although its an older version of TWRP (2.6.3). would it make a difference not having the latest? now that recovery is there I was hoping to push a ROM then update the recovery through root manager.
I just read alray's last line about the mtp drivers. OK, I will first get my folders working better, upgrade to a newer version TWRP and then push a rom. Is there a difference in "Fastboot adb sideload flash ViperOne.zip" and "
" adb sideload push ViperOne.zip"? Two video's used 2 different commands.
Click to expand...
Click to collapse
you don't need adb at all if you load TWRP 2.8.4.0 you just copy the file in windows like to a flash drive
Splitshot said:
upgrade to a newer version TWRP and then push a rom.
Click to expand...
Click to collapse
If you are going to update twrp to 2.8.4.0, you will not need to push or sideload the rom, just copy it to your phone storage using the windows explorer. Navigate to "my computer --> One --> Internal storage" and copy your rom there.
Is there a difference in "Fastboot adb sideload flash ViperOne.zip" and "
" adb sideload push ViperOne.zip"? Two video's used 2 different commands.
Click to expand...
Click to collapse
These 2 commands means nothing. :laugh: SO no, there is no difference between these 2 commands, both will fail lol
if you want to use adb push:
Code:
adb push name_of_rom.zip /sdcard
if you want to sideload:
Code:
adb sideload name_of_rom.zip
But like i said, you don't need to use these commands to get your rom on your phone if you are gonna update twrp to 2.8.4.0.
download twrp 2.8.4.0, save it to the same folder where you have adb and fastboot installed on your computer. Open a command prompt from that folder, boot your phone in bootloader/fastboot usb mode.
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
then boot in recovery mode
you'll now see your phone storage on your computer, copy (drag and drop) your rom.zip to your phone storage.

Categories

Resources