my kid played with my htc one and now he erased the os completely and i cant seem to get access to my htc one or transfer any files to it
can anyone help me?
i can still get into bootloader or recovery just cant transfer any rom to my phone in order to try and flash it
talmager1 said:
my kid played with my htc one and now he erased the os completely and i cant seem to get access to my htc one or transfer any files to it
can anyone help me?
i can still get into bootloader or recovery just cant transfer any rom to my phone in order to try and flash it
Click to expand...
Click to collapse
one of the following methods in custom recovery:
1) OTG cable
2) adb push <name of rom>.zip /data/media/
3) adb sideload <name of rom>.zip (http://forum.xda-developers.com/showthread.php?t=2317986)
but my computer cant seem to idenitfy my htc one once it is connected even if i can t still get to the bootloader and it does show fastboot usb on it
so i cant figure out a way to transfer a rom file to my phone.
talmager1 said:
but my computer cant seem to idenitfy my htc one once it is connected even if i can t still get to the bootloader and it does show fastboot usb on it
so i cant figure out a way to transfer a rom file to my phone.
Click to expand...
Click to collapse
so when in custom recovery (CWM or TWRP) if you type "adb devices" it doesn't show up?
you on Win8 or 8.1?
maybe easiest to use an OTG cable then.
nkk71 said:
so when in custom recovery (CWM or TWRP) if you type "adb devices" it doesn't show up?
you on Win8 or 8.1?
maybe easiest to use an OTG cable then.
Click to expand...
Click to collapse
im on windows 7 i had latest ar 40.3 installed fine its just my kid played with my phone guessing he wiped os and everything i can still enter recovery or bootloader but i cant seem to have usb conncetion while its connected im using latest twrp 2.6.3.3 dont see any of the options u told me to look for and again cant seem to transfer a zip file to my phone u have any other suggestion?
talmager1 said:
im on windows 7 i had latest ar 40.3 installed fine its just my kid played with my phone guessing he wiped os and everything i can still enter recovery or bootloader but i cant seem to have usb conncetion while its connected im using latest twrp 2.6.3.3 dont see any of the options u told me to look for and again cant seem to transfer a zip file to my phone u have any other suggestion?
Click to expand...
Click to collapse
I'm on Win7, HTC Drivers 4.8.0.002, TWRP 2.6.3.3 and adb works just fine:
Code:
C:\ADB2>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery [COLOR="Blue"]<- yep in TWRP recovery[/COLOR]
C:\ADB2>[B]adb push Android_Revolution_HD-One_40.3.zip /data/media/0/[/B]
3213 KB/s (1157600536 bytes in 351.780s) [COLOR="Blue"]<- yep, it will take 5 mins or so without showing any progress[/COLOR]
C:\ADB2>
nkk71 said:
I'm on Win7, HTC Drivers 4.8.0.002, TWRP 2.6.3.3 and adb works just fine:
Code:
C:\ADB2>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery [COLOR="Blue"]<- yep in TWRP recovery[/COLOR]
C:\ADB2>[B]adb push Android_Revolution_HD-One_40.3.zip /data/media/0/[/B]
3213 KB/s (1157600536 bytes in 351.780s) [COLOR="Blue"]<- yep, it will take 5 mins or so without showing any progress[/COLOR]
C:\ADB2>
Click to expand...
Click to collapse
i tried that i only get a message cannot stat rom.zip :no such file or directory
talmager1 said:
i tried that i only get a message cannot stat rom.zip :no such file or directory
Click to expand...
Click to collapse
1- usually better to copy/paste command prompt output (text, not screenshot) so that we can see what's going on
2- no such file or directory, anything like this:
Code:
C:\ADB2>adb push MyFilenameIsWrong.zip /data/media/0/
cannot stat 'MyFilenameIsWrong.zip': No such file or directory
C:\htcone>adb devices
List of devices attached
FA34MW909469 sideload
C:\htcone>adb sideload rom.zip
* cannot read 'sideload' *
C:\htcone>adb push rom.zip /data/media/0/
cannot stat 'rom.zip': No such file or directory
thats what i get
talmager1 said:
C:\htcone>adb devices
List of devices attached
FA34MW909469 sideload
C:\htcone>adb sideload rom.zip
* cannot read 'sideload' *
C:\htcone>adb push rom.zip /data/media/0/
cannot stat 'rom.zip': No such file or directory
thats what i get
Click to expand...
Click to collapse
if anyone wants to help i got teamviewer im desperate to get this fixed
I can help you over teamviewer if you want
Related
I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
krustypick said:
I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
Click to expand...
Click to collapse
using ADB, not fastboot
adb push C:\Users\User\Downloads\rom.zip /sdcard/rom.zip
(replace the C:\Users\User\Downloads with where the zip is and rom.zip to the actual zip name)
you should be able access adb through recovery, maybe in bootloader/fastboot mode too but I'm not too sure
krustypick said:
I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
Click to expand...
Click to collapse
Can you boot into recovery? If so you should be able to push a rom zip file over adb with this command: adb push name_of_rom_file.zip /sdcard/
This is of course assuming you have adb set up and that your phone shows up when you enter the 'adb devices' command.
EDIT: looks like thom109 beat me to it.
thom109 said:
using ADB, not fastboot
adb push C:\Users\User\Downloads\rom.zip /sdcard/rom.zip
(replace the C:\Users\User\Downloads with where the zip is and rom.zip to the actual zip name)
you should be able access adb through recovery, maybe in bootloader/fastboot mode too but I'm not too sure
Click to expand...
Click to collapse
I tried this guys but my computer just says 'error' and will not push the file over. No sure where to go from here. I did order an OTG cable and will see if that will work.
bluetint said:
Can you boot into recovery? If so you should be able to push a rom zip file over adb with this command: adb push name_of_rom_file.zip /sdcard/
This is of course assuming you have adb set up and that your phone shows up when you enter the 'adb devices' command.
EDIT: looks like thom109 beat me to it.
Click to expand...
Click to collapse
Sorry.
What is says is error closed.
krustypick said:
I tried this guys but my computer just says 'error' and will not push the file over. No sure where to go from here. I did order an OTG cable and will see if that will work.
Click to expand...
Click to collapse
There isn't any more information in the error? It literally just says "error"? Do you have ADB set up properly? Have you been able to use it before?
EDIT: Didn't see your second post. I've never seen that error before.
EDIT 2: With your phone in recovery mode and plugged into your computer what is the output of the command 'adb devices' ?
bluetint said:
There isn't any more information in the error? It literally just says "error"? Do you have ADB set up properly? Have you been able to use it before?
EDIT: Didn't see your second post. I've never seen that error before.
EDIT 2: With your phone in recovery mode and plugged into your computer what is the output of the command 'adb devices' ?
Click to expand...
Click to collapse
I type c:\fastboot> adb devices - it comes back as;
List of devices attached
HT35KW909302 host
krustypick said:
Sorry.
What is says is error closed.
Click to expand...
Click to collapse
make sure you also state the name of the zip file the second time.
so adb push C:\blabla\bla\rom.zip /sdcard/rom.zip
not just adb push C:\blabla\bla\rom.zip /sdcard
and what state is your device in when trying to push? It works in fastboot mode and in recovery mode
thom109 said:
make sure you also state the name of the zip file the second time.
so adb push C:\blabla\bla\rom.zip /sdcard/rom.zip
not just adb push C:\blabla\bla\rom.zip /sdcard
and what state is your device in when trying to push? It works in fastboot mode and in recovery mode
Click to expand...
Click to collapse
It shows device in both Fastboot and ADB devices command.
Hi , I installed ColosOS beta without installing oppo.boot.img.
And whole system froze on booting up.
Now I have TWRP recovery installed , via fastboot.
But I have no ROM on my cellphone it seems.
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
My problem now is to get ROM.zip into my phone. Damn HTC ONE dont have external sd card.....
Anyone can help ?
mrcaligula said:
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
Click to expand...
Click to collapse
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
nkk71 said:
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
Click to expand...
Click to collapse
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
mrcaligula said:
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
Click to expand...
Click to collapse
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
nkk71 said:
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
Click to expand...
Click to collapse
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
mrcaligula said:
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
Click to expand...
Click to collapse
good luck, hit the thanks button if i've helped
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
mrcaligula said:
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
Click to expand...
Click to collapse
Good
BTW, /sdcard usually point to /data/media/0, so you should have browsed to the 0 folder in CWM, and then you would have seen the rom.zip
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
Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
shabx said:
Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
Click to expand...
Click to collapse
You will need to unzip the nandroid backup and place it in the <serial #> directory for TWRP to see it. The nandroid backup folder needs to be in //sdcard/TWRP/BACKUP/<Serial #>/<Nandroid_folder_name>. You might also change to TWRP 2.6.3.3 it works best with stock roms.
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/nandroid/<contents of zip file>
shabx said:
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/5.11.1540.9 TWRP NANDROID
Click to expand...
Click to collapse
See attached pictures, this is the view from the zip. You see there is only one folder in the zip. This folder is extracted out of the zip and it becomes the folder that is placed in the serial # folder. The contents of the folder are shown in the second picture. The serial # is the serial # of your phone. If you don't know it then you can find it in fastboot getvar all.
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
shabx said:
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
Click to expand...
Click to collapse
No, I don't think you can unpack the zip in TWRP. Just what is the file you are trying to move? Could you give the name and location where you got the file?
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
shabx said:
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
Click to expand...
Click to collapse
That file may not work with your phone it is pretty outdated. Can you post a fastboot getvar all (except for imei and serialno)? So, we can see if there is a better version or way to do the same thing.
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
shabx said:
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
Click to expand...
Click to collapse
ADB works in OS if USB Debugging is enabled and in custom recovery. In other words, the phone is in Recovery and attached to your computer you can run the command adb devices and you should see your serial number and next to it "recovery". If you are in FASTBOOT USB, only fastboot will work not ADB. Depending on your hboot you can use revone (hboot 1.4X), rumrunner (hboot 1.54) or firewater (hboot 1.5X) to achieve S-OFF.
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
shabx said:
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
Click to expand...
Click to collapse
Here try this method:
How to get ADB to recognize the device
After you re-install adb & fastboot
Disconnect your phone from the computer
Then reboot the computer and open the command window
Type: adb kill-server
Then when it is finished
Type: adb start-server
Now connect your phone to the PC
Type: adb devices
Click to expand...
Click to collapse
majmoz said:
Here try this method:
Click to expand...
Click to collapse
@majmoz
shabx said:
@majmoz
Click to expand...
Click to collapse
This is an old method that I used to get S-OFF with revone:
Revone S-OFF on the phone methodRevone Download:
http://revolutionary.io/revone
Big thanks to the Revolutionary dev team. The original thread can be found here.
Written instructions:
Download the Revone file above and transfer it to your phone (or download on your phone)
Use a root file explorer and paste the file inside the /data/local/tmp folder
Open a terminal emulator and type the following:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]chmod 755 revone[/I][/B] (enter) (IF revone doesn’t work, type revone.bin)
[B][I]./revone -P[/I][/B] (enter)
Reboot
Open terminal again and type:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]./revone -s 0 -u[/I][/B] (That would be a ZERO) (enter)
Reboot
That’s it! To get rid of the tampered, or relock, follow instructions below
To remove “tampered”
open terminal
Code:
[B][I]cd /data/local/tmp[/I][/B]
[B][I]su[/I][/B]
[B][I]./revone.bin -t[/I][/B]
These are other commands that you can fill in above to
-u – Unlock the device
-l – Lock the device (as if it was never unlocked)
-r – Relock the device (mark the device as relocked)
-t – Reset the device’s tamper flag.
Click to expand...
Click to collapse
You will need a terminal emulator you can download one from the Google Play Store.
majmoz said:
This is an old method that I used to get S-OFF with revone:
You will need a terminal emulator you can download one from the Google Play Store.
Click to expand...
Click to collapse
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
shabx said:
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
Click to expand...
Click to collapse
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
shabx said:
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
Click to expand...
Click to collapse
Let's get a rom on your phone first. Did you have a rom that you wanted to put on your phone? It should be a Sense ROM.
Originally posted by @alrayHTC 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-<DATE>\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 on your device.
We still recommend to use version 2.6.3.3 for all roms
except if another version is specified in the rom OP.
Use 2.7.1.1+ for roms that require "block:by-name" support (CM11)
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
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
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.
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
Here is a list of the HTC M7 roms. Some other roms can be found here.
Connect your phone to computer using usb cable
(if not using the official HTC USB calble, make sure
you are using a USB data cable and not only a charging
cable. Data cables have 4 contacts: 5V, GND, DATA+, DATA-.
Charging cable only have 5V and GND contact and will not work)
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 (5-15) and there is no progress bar, the command prompt will be unresponsive for that duration. When the command prompt is responsive again 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
Click to expand...
Click to collapse
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
shabx said:
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
Click to expand...
Click to collapse
That file is a RUU rom zip for your phone. I believe you will have to flash it in bootloader like firmware. Your bootloader will need to be relocked.
Rename file to rom.zip and put in your fastboot/adb folder.
Put the phone in bootloader/FASTBOOT USB:
After that, type:
Code:
fastboot oem lock
Code:
[B][I]fastboot oem rebootRUU [/I][/B]
NOTE: You should see a silver HTC logo come up on your phone after executing this command.
NOTE: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Finally:
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
Repeat the same command: IMPORTANT
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
NOTE: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Last Step:
Code:
[B][I]fastboot reboot[/I][/B]
Click to expand...
Click to collapse
The phone came with an unlocked bootloader. Then why do I need to relock it. You have given me 2 sets of instructions above.. One is using adb and other is flashing the ruu in bootloader.
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.