[Q] rooting questions - One (M7) Q&A, Help & Troubleshooting

When I normally plug my htc one into my laptop that is running win 8.1 64 bit. It shows that my phone is connected and opens files for me to view What is on my phone. When I'm in boot loader and I plug it in (I'm trying to unlock it to root) I hear the notification sound that the phone is connected to computer but the file box doesn't open showing me what's on the phone. Is this normal? If so, how do I open cmd prompt to type in OEM command and what should the command initially say before I type my oem command? Thanks for any help you can give.

dcm1200 said:
When I normally plug my htc one into my laptop that is running win 8.1 64 bit. It shows that my phone is connected and opens files for me to view What is on my phone. When I'm in boot loader and I plug it in (I'm trying to unlock it to root) I hear the notification sound that the phone is connected to computer but the file box doesn't open showing me what's on the phone. Is this normal? If so, how do I open cmd prompt to type in OEM command and what should the command initially say before I type my oem command? Thanks for any help you can give.
Click to expand...
Click to collapse
You will not see you data in bootloader mode. What is your bootloader version? You will not be able to send fastboot commands using windows 8.1 with hboot 1.44.
open the cmd prompt from your adb/fastboot.exe folder and type
Code:
fastboot devices
and see if the device is recognized by your computer
and go see those video guide here: http://forum.xda-developers.com/htc-one#root
Be sure to use the latest htc drivers and latest android sdk (abd/fastboot)
And again, you will not be able to use fastboot with a win8.1 computer if your bootloader is 1.44

dcm1200 said:
When I normally plug my htc one into my laptop that is running win 8.1 64 bit. It shows that my phone is connected and opens files for me to view What is on my phone. When I'm in boot loader and I plug it in (I'm trying to unlock it to root) I hear the notification sound that the phone is connected to computer but the file box doesn't open showing me what's on the phone. Is this normal? If so, how do I open cmd prompt to type in OEM command and what should the command initially say before I type my oem command? Thanks for any help you can give.
Click to expand...
Click to collapse
Sorry mate but I will not troubleshoot via PM because its too much confusing and other members can't help you if you send me pm. Keep posting here it will be much easier. Hope you understand

QUOTE=alray;50379334]Sorry mate but I will not troubleshoot via PM because its too much confusing and other members can't help you if you send me pm. Keep posting here it will be much easier. Hope you understand [/QUOTE
But after flashing twrp recovery and copying supersu to internal storage I erased cache in cms before going into recovery mode then unzipped supersu and rebooted phone. I opened super su and said that there is no binary file or that it is not working. I also dl'ed a root checker and it said that I'm not rooted. Any ideas on what to do now?

dcm1200 said:
QUOTE=alray;50379334]Sorry mate but I will not troubleshoot via PM because its too much confusing and other members can't help you if you send me pm. Keep posting here it will be much easier. Hope you understand [/QUOTE
But after flashing twrp recovery and copying supersu to internal storage I erased cache in cms before going into recovery mode then unzipped supersu and rebooted phone. I opened super su and said that there is no binary file or that it is not working. I also dl'ed a root checker and it said that I'm not rooted. Any ideas on what to do now?
Click to expand...
Click to collapse
install superSU.zip the same as you install a rom in recovery

clsA said:
install superSU.zip the same as you install a rom in recovery
Click to expand...
Click to collapse
Please pardon my ignorance but I'm new to this. How? Is it the same basic way that I flashed twrp to my phone?

Related

[Q] Updating TWRP

Ok here is the skinny. I have the Sprint HTC 1. Currently rooted and running Beanstalk 4.3 and TWRP 2.5 ... I have read, re read, and read again how to update my TWRP to 2.6.3 and have no luck.
I have tried Terminal Emulator
I have tired Goo Manager. It actually down loads the file. Runs through the process. Never reboots or updates
I have tried Fastboot. For what ever reason my computer does not pick up and adb devices. It shows Fastboot USB
Any thoughts. I had some unlock this one for me and throw TWRP on. All my others I have done myself.
I love TWRP..but if I cannot fix...what is the easiest way to put Philz or CWM on instead?
Want to update a ROM to 4.4 Kitkat but cannot with out an updated recovery
jaykspokane said:
Ok here is the skinny. I have the Sprint HTC 1. Currently rooted and running Beanstalk 4.3 and TWRP 2.5 ... I have read, re read, and read again how to update my TWRP to 2.6.3 and have no luck.
I have tried Terminal Emulator
I have tired Goo Manager. It actually down loads the file. Runs through the process. Never reboots or updates
I have tried Fastboot. For what ever reason my computer does not pick up and adb devices. It shows Fastboot USB
Any thoughts. I had some unlock this one for me and throw TWRP on. All my others I have done myself.
I love TWRP..but if I cannot fix...what is the easiest way to put Philz or CWM on instead?
Want to update a ROM to 4.4 Kitkat but cannot with out an updated recovery
Click to expand...
Click to collapse
While in fastbootusb check your drivers
Device not recognized? (If you are using Windows 8.1 this will most likely not work)
On your PC go to device manager and find your phone(usually M7WLS), right click and select properties
Select the driver tab
Select update driver
Select browse my comp
Let me pick
Look for ADB USB device or similar should be one of the first couple choices
Select MyHTC install and you should be good
BD619 said:
While in fastbootusb check your drivers
Device not recognized? (If you are using Windows 8.1 this will most likely not work)
On your PC go to device manager and find your phone(usually M7WLS), right click and select properties
Select the driver tab
Select update driver
Select browse my comp
Let me pick
Look for ADB USB device or similar should be one of the first couple choices
Select MyHTC install and you should be good
Click to expand...
Click to collapse
Updated the drives. In Fastboot now. on my cmd prompt c:\user\user wont tried typing and ADB Devices and nothiing
In fastbootusb type fastboot devices
BD619 said:
In fastbootusb type fastboot devices
Click to expand...
Click to collapse
Now I am thinking it it my computer. Just re enstalled the SDK packet. Changed path to all c:/Android-ADB and says not a recognizable internal or external file
At this point I need some sleep. Eyes are going crossed.
jaykspokane said:
Now I am thinking it it my computer. Just re enstalled the SDK packet. Changed path to all c:/Android-ADB and says not a recognizable internal or external file
At this point I need some sleep. Eyes are going crossed.
Click to expand...
Click to collapse
PM me tomorrow and I'll help you out
BD619 said:
PM me tomorrow and I'll help you out
Click to expand...
Click to collapse
Sorry been a crazy new year. Still need help.
So downloaded SDK pack. I have tried ADB shell. Fastboot ... etc etc. When in Fastboot I run ADB Devices and nothing is found. however if i have the phone on it works.
at this point...maybe a new recovery?
jaykspokane said:
Sorry been a crazy new year. Still need help.
So downloaded SDK pack. I have tried ADB shell. Fastboot ... etc etc. When in Fastboot I run ADB Devices and nothing is found. however if i have the phone on it works.
at this point...maybe a new recovery?
Click to expand...
Click to collapse
While in bootloader/fastbootusb type fastboot devices
adb devices =OS and recovery
fastboot devices = bootloader/fastbootusb
BD619 said:
While in bootloader/fastbootusb type fastboot devices
adb devices =OS and recovery
fastboot devices = bootloader/fastbootusb
Click to expand...
Click to collapse
Ok... recognized a device was attached. So type the following
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img
and I got error cannot open 'openrecovery-twrp-2.6.3.0-m7wls.img'
This is TWRPS guidelines
Download the above file into your platform-tools dir. Turn off your device. Turn on the device and keep holding volume down until a menu shows up. Select fastboot from the menu list. Plug the device into your computer. If you have the right drivers installed, your screen should now say FASTBOOT USB. Run the following command via the command line:
fastboot flash recovery recoveryfilename.img
Note that you will need to change the last part to match the name of the file that you just downloaded. This method requires that you have the drivers installed that come with the HTC Sync software that are available here. You will also need adb and fastboot for your computer.
jaykspokane said:
Ok... recognized a device was attached. So type the following
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img
and I got error cannot open 'openrecovery-twrp-2.6.3.0-m7wls.img'
This is TWRPS guidelines
Download the above file into your platform-tools dir. Turn off your device. Turn on the device and keep holding volume down until a menu shows up. Select fastboot from the menu list. Plug the device into your computer. If you have the right drivers installed, your screen should now say FASTBOOT USB. Run the following command via the command line:
fastboot flash recovery recoveryfilename.img
Note that you will need to change the last part to match the name of the file that you just downloaded. This method requires that you have the drivers installed that come with the HTC Sync software that are available here. You will also need adb and fastboot for your computer.
Click to expand...
Click to collapse
Try
fastboot erase cache <enter>
then
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img <enter>
You did install the android sdk right?
BD619 said:
Try
fastboot erase cache <enter>
then
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img <enter>
You did install the android sdk right?
Click to expand...
Click to collapse
I did. Just to make certain the other night...I down loaded the Android SDK pack. i can run ADB and Fastboot. Pulls all the info etc.
Will try erase cache
jaykspokane said:
I did. Just to make certain the other night...I down loaded the Android SDK pack. i can run ADB and Fastboot. Pulls all the info etc.
Will try erase cache
Click to expand...
Click to collapse
What does this mean?
BD619 said:
What does this mean?
Click to expand...
Click to collapse
Sorry. Meant it just lists all the available command for each respectively...lists the commands etc.
So did the erase and still same error.
All my apps and data are backed up on Titanium. How hard would it be to just have a new recovery installed?
jaykspokane said:
Sorry. Meant it just lists all the available command for each respectively...lists the commands etc.
So did the erase and still same error.
All my apps and data are backed up on Titanium. How hard would it be to just have a new recovery installed?
Click to expand...
Click to collapse
Navigate to the platform tools folder
Press shift and right click inside the folder and choose open cmd here
jaykspokane said:
Sorry. Meant it just lists all the available command for each respectively...lists the commands etc.
So did the erase and still same error.
All my apps and data are backed up on Titanium. How hard would it be to just have a new recovery installed?
Click to expand...
Click to collapse
May be a moot point. I am upgrading to a Team Nocturnal_xR1 which is a 4.4 ROM. So far it has been loading and allowed the file on a TWRP 2.5.0.0 version. I still need to upgrade the TWRP version. Right now looks like it may work.
jaykspokane said:
May be a moot point. I am upgrading to a Team Nocturnal_xR1 which is a 4.4 ROM. So far it has been loading and allowed the file on a TWRP 2.5.0.0 version. I still need to upgrade the TWRP version. Right now looks like it may work.
Click to expand...
Click to collapse
back to square one. LOL.
and no opening cmd from there did not work either
Check PM
I had a similar issue where I needed the updated twrp. I ended up using the original AIO toolkit that I used to root the phone/unlock the phone to begin with.
I found the latest version of the AIO (made by Hasoon: http://www.hasoon2000.info/getdownl...obile,ATT,Sprint)/One_All-In-One_Kit_v3.1.rar) and the latest image of TWRP from here: http://teamw.in/twrp_view_all_devices.
After installing hasoon, stick the downloaded image in the data/recoveries folder w/in the folders from the AIO. Next use the "Your Own Recovery" option under the flash a recovery option and choose that image instead. Worked great for me several times. Hopefully it does for you. Let me know if you have question.
BD619 said:
Check PM
Click to expand...
Click to collapse

[Q] PLEASE HELP!! No OS after wipe

Hello!
I have an HTC one developer edition, I did an advance wipe of my phone because it wasn't charging, it said that USB Host mode was on. It only charged when the phone was off. I decided to wipe everything but the pictures (or so I thought) but once it finished the wipe the entire OS systems was erased, know the only thing I can do is enter TWRP.
Please Help I just bought the phone!
santiolaya91 said:
Hello!
I have an HTC one developer edition, I did an advance wipe of my phone because it wasn't charging, it said that USB Host mode was on. It only charged when the phone was off. I decided to wipe everything but the pictures (or so I thought) but once it finished the wipe the entire OS systems was erased, know the only thing I can do is enter TWRP.
Please Help I just bought the phone!
Click to expand...
Click to collapse
You just bought the phone? So why did you tamper with it? go back it store and exchange under warranty.
alray said:
You just bought the phone? So why did you tamper with it? go back it store and exchange under warranty.
Click to expand...
Click to collapse
I cant just change it i bought it on EBay. Plus I'm from Ecuador so its a long way from where I bought the phone...
alistondsouza I'm going to download Android SDK and try to do every step, thanks for helping me Ill keep you updated
alistondsouza said:
Read through...
http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
For step 6 which zip should I choose the same one that you have on the picture or a different one?
also what happens if the computer doesn't not read the phone ?
santiolaya91 said:
For step 6 which zip should I choose the same one that you have on the picture or a different one?
also what happens if the computer doesn't not read the phone ?
Click to expand...
Click to collapse
chose whatever rom you want as long its compatible with your device variant and compatible with your twrp version.
what do you mean by doesn't read the phone? its is not detected as sideload when you type ''adb devices''?
alray said:
chose whatever rom you want as long its compatible with your device variant and compatible with your twrp version.
what do you mean by doesn't read the phone? its is not detected as sideload when you type ''adb devices''?
Click to expand...
Click to collapse
so im on step 4, i dont know how to get the adb.exe file or the .zip on the folder. i cant even find those documents, do they get there automatically or what?
im sorry im new at this (as you can tell)
maybe somemore pictures or descriptions for step 4?
santiolaya91 said:
so im on step 4, i dont know how to get the adb.exe file or the .zip on the folder. i cant even find those documents, do they get there automatically or what?
im sorry im new at this (as you can tell)
maybe somemore pictures or descriptions for step 4?
Click to expand...
Click to collapse
download the android sdk from here http://developer.android.com/sdk/index.html
alray said:
download the android sdk from here http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
Yep, all ready did and also update 4.4 and 4.3
santiolaya91 said:
Yep, all ready did and also update 4.4 and 4.3
Click to expand...
Click to collapse
So adb.exe and fastboot.exe are located in ''platform-tools'' folder of the sdk.(adt-bundle-windows-x86_64-date/sdk/platform-tools/)
move your zip to that folder and open cmd prompt from that folder.
alray said:
So adb.exe and fastboot.exe are located in ''platform-tools'' folder of the sdk.(adt-bundle-windows-x86_64-date/sdk/platform-tools/)
move your zip to that folder and open cmd prompt from that folder.
Click to expand...
Click to collapse
ok im on that folder im currently downloading the .zip but its only adb and fastboot, not .exe.
am I doing something wrong, why wouldn't it appear like you tell me ?
santiolaya91 said:
ok im on that folder im currently downloading the .zip but its only adb and fastboot, not .exe.
am I doing something wrong, why wouldn't it appear like you tell me ?
Click to expand...
Click to collapse
.exe file extension might be hidden depending your windows configuration. Go ahead with the guide it should work.
Open a cmd prompt from that folder. (shift + right click in a blank space) (step 4)
with you device in twrp sideload mode (step 1,2,3 completed)
type in the cmd prompt:
Code:
adb devices
make sure it output your device s/n + sideload
then
Code:
adb sideload <name_of_rom>.zip
what rom did you downloaded?
alray said:
.exe file extension might be hidden depending your windows configuration. Go ahead with the guide it should work.
Open a cmd prompt from that folder. (shift + right click in a blank space) (step 4)
with you device in twrp sideload mode (step 1,2,3 completed)
type in the cmd prompt:
Code:
adb devices
make sure it output your device s/n + sideload
then
Code:
adb sideload <name_of_rom>.zip
what rom did you downloaded?
Click to expand...
Click to collapse
ok so i finally have everything ready, i downloaded http://htconeroot.com/htc-one-stock-roms/android-4-4-kitkat-sense-5-5-stock-rom-for-htc-one/ this rom
sense 5.5 with 4.4kitkad.
I do all the command but it says
error: device not found
my HTC is connected and it shows in the usd
when i type adb devices:
list of devices attached.
nothing else
santiolaya91 said:
ok so i finally have everything ready, i downloaded http://htconeroot.com/htc-one-stock-roms/android-4-4-kitkat-sense-5-5-stock-rom-for-htc-one/ this rom
sense 5.5 with 4.4kitkad.
I do all the command but it says
error: device not found
my HTC is connected and it shows in the usd
when i type adb devices:
list of devices attached.
nothing else
Click to expand...
Click to collapse
so your drivers aren't properly installed. download latest htc sync from htc website, it will install the drivers for you. then uninstall htc sync as it may interfere with what you are trying to do. (the drivers will remain installed)
santiolaya91 said:
I cant just change it i bought it on EBay. Plus I'm from Ecuador so its a long way from where I bought the phone...
alistondsouza I'm going to download Android SDK and try to do every step, thanks for helping me Ill keep you updated
Click to expand...
Click to collapse
Jus fastboot cwm or twrp...then install Rom of choice
alray said:
so your drivers aren't properly installed. download latest htc sync from htc website, it will install the drivers for you. then uninstall htc sync as it may interfere with what you are trying to do. (the drivers will remain installed)
Click to expand...
Click to collapse
Still nothing
same thing with or with out htc sync manager
i did this before anything else i dont know if it can interfere in any way
http://www.youtube.com/watch?v=CivvxcM1PCY
santiolaya91 said:
Still nothing
same thing with or with out htc sync manager
i did this before anything else i dont know if it can interfere in any way
http://www.youtube.com/watch?v=CivvxcM1PCY
Click to expand...
Click to collapse
did you typed ''adb device'' when the phone was booted in twrp?
Go in windows device manager and tell us how the device is listed.
alray said:
did you typed ''adb device'' when the phone was booted in twrp?
Go in windows device manager and tell us how the device is listed.
Click to expand...
Click to collapse
yes and it doesn't appear
this is what appears on device manager
when its on the bootloader-fastboot: Android usb device - my HTC
when its on twrp: portable devices WPD file system volume driver, (for like 20 seconds and then disappears)
When its off: under USB controllers as Unknown device
when its on htc screen: USB composite device ( another window opens saying drivers were not installed)
santiolaya91 said:
yes and it doesn't appear
this is what appears on device manager
when its on the bootloader-fastboot: Android usb device - my HTC
when its on twrp: portable devices WPD file system volume driver, (for like 20 seconds and then disappears)
When its off: under USB controllers as Unknown device
when its on htc screen: USB composite device ( another window opens saying drivers were not installed)
Click to expand...
Click to collapse
check my guide under faq #2
nkk71 said:
check my guide under faq #2
Click to expand...
Click to collapse
I don't have any option that says Other devices - ONE
just the ones i listed before.
I don't know if this helps in any way but i when to fastboot and the on CMD typed fastboot devices and it showed up, but if i go to twrp ADB sideload and type adb devices it doesn't show my device.
santiolaya91 said:
I don't have any option that says Other devices - ONE
just the ones i listed before.
I don't know if this helps in any way but i when to fastboot and the on CMD typed fastboot devices and it showed up, but if i go to twrp ADB sideload and type adb devices it doesn't show my device.
Click to expand...
Click to collapse
When its off: under USB controllers as Unknown device
Click to expand...
Click to collapse
have you disabled "Settings -> Power -> Fast boot"?
in either case it should show up as "Android ... -> My HTC"

[Q] W7 wont recognise phone when in fasboot mode

I've been struggling for a week with this.
Trying to unlock the bootloader but whenever I get to the stage of using command prompt I get this message;
'fastboot' is not recognized as an internal or external command,
operable program or batch file
The PC just will not recognise the phone when in fastboot mode although it does when not.
Windows 7
Android 4.3
HTC Sense Version 5.5
Software number 3.62.401.1
HTC SDK API Level 5.65
USB Debugging ticked
Fast boot deticked
HTC cable used
Latest drivers installed
Any help would be appreciated, the only previous experince I have is rooting a Galaxy note and tablet with no trouble whatsoever.
tj
tjpearson said:
I've been struggling for a week with this.
Trying to unlock the bootloader but whenever I get to the stage of using command prompt I get this message;
'fastboot' is not recognized as an internal or external command,
operable program or batch file
The PC just will not recognise the phone when in fastboot mode although it does when not.
Windows 7
Android 4.3
HTC Sense Version 5.5
Software number 3.62.401.1
HTC SDK API Level 5.65
USB Debugging ticked
Fast boot deticked
HTC cable used
Latest drivers installed
Any help would be appreciated, the only previous experince I have is rooting a Galaxy note and tablet with no trouble whatsoever.
tj
Click to expand...
Click to collapse
Do you have fastboot.exe on your computer? It looks like CMD isn't finding fastboot.exe 1-because you don't have it 2- because you have not started your cmd prompt from your fastboot.exe folder
can you post a screenshot of your cmd prompt when you get this error?
ADB Installer
Installed ADB Installer and now been able to copy and been able to submit my token.
Recieved email reply with unlock code and it came as a VLC icon, still put this onto my phone but now get message 'unable to open bin file'
Got one step further but now unable to open file.
Below is the message I get:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\tjpearson>fastboot flash unlocktoken Unlock_code.bin
error: cannot open 'Unlock_code.bin'
C:\Users\tjpearson>
Your help is very much appreciated but my wife fails to understand my pannick and she thinks out tea is more important so may not get back to you straight away.
tj
tjpearson said:
Installed ADB Installer and now been able to copy and been able to submit my token.
Recieved email reply with unlock code and it came as a VLC icon, still put this onto my phone but now get message 'unable to open bin file'
Got one step further but now unable to open file.
Below is the message I get:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\tjpearson>fastboot flash unlocktoken Unlock_code.bin
error: cannot open 'Unlock_code.bin'
C:\Users\tjpearson>
Your help is very much appreciated but my wife fails to understand my pannick and she thinks out tea is more important so may not get back to you straight away.
tj
Click to expand...
Click to collapse
Think you need to open the command prompt in the adb folder, and also have the unlock_code.bin in that same folder.
mb_guy said:
Think you need to open the command prompt in the adb folder, and also have the unlock_code.bin in that same folder.
Click to expand...
Click to collapse
OK, I'll try this tomorrow, thanks for the help.
Originally Posted by mb_guy
Think you need to open the command prompt in the adb folder, and also have the unlock_code.bin in that same folder.
Click to expand...
Click to collapse
OK, I'll try this tomorrow, thanks for the help.
Click to expand...
Click to collapse
Like mb_guy said, you MUST place the bin file in the same folder where adb and fastboot are. Every time you want to flash a file to your phone it must be in that folder, otherwise fastboot won't find it and it will output you that error (can't open file). That rule apply to recovery, unlock code, rom, kernel, ruu, firmware etc etc.
Sent from my HTC One using xda app-developers app
alray said:
Like mb_guy said, you MUST place the bin file in the same folder where adb and fastboot are. Every time you want to flash a file to your phone it must be in that folder, otherwise fastboot won't find it and it will output you that error (can't open file). That rule apply to recovery, unlock code, rom, kernel, ruu, firmware etc etc.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Thanks for the help because at least I've now been able to unlock bootloader.
My problem now is 'fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img' command line and yet again I'm getting error unable to open as below;
C:\Users\tjpearson>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
error: cannot open 'openrecovery-twrp-2.6.3.0-m7.img'
Even placing zip on root of phone and in adb folder still no joy.
tj
tjpearson said:
Thanks for the help because at least I've now been able to unlock bootloader.
My problem now is 'fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img' command line and yet again I'm getting error unable to open as below;
C:\Users\tjpearson>fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
error: cannot open 'openrecovery-twrp-2.6.3.0-m7.img'
Even placing zip on root of phone and in adb folder still no joy.
tj
Click to expand...
Click to collapse
''error: cannot open'' is caused because fastboot don't find the file. Is the recovery file you are trying to flash is named exactly <openrecovery-twrp-2.6.3.0-m7.img> ?
Btw I'll recommend you to flash twrp 2.6.3.3 not 2.6.3.0 as you could have issur flashing newer 4.4 rom
Code:
fastboot flash recovery <name_of_file.img>
fastboot erase cache
fastboot reboot-bootloader
alray said:
''error: cannot open'' is caused because fastboot don't find the file. Is the recovery file you are trying to flash is named exactly <openrecovery-twrp-2.6.3.0-m7.img> ?
Btw I'll recommend you to flash twrp 2.6.3.3 not 2.6.3.0 as you could have issur flashing newer 4.4 rom
Code:
fastboot flash recovery <name_of_file.img>
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
Yes, named exactly the same.
It's driving me mad, if the bootloader is now unlocked is there an easier way to flash twrp and then root.
Whats the best way to check adb is actually communicating with the phone
tj
tjpearson said:
Yes, named exactly the same.
It's driving me mad, if the bootloader is now unlocked is there an easier way to flash twrp and then root.
Whats the best way to check adb is actually communicating with the phone
tj
Click to expand...
Click to collapse
Do you have a Sprint phone ? and can you post a screen shot of your adb / fastboot folder containing the files or at least post your results for dir
open command prompt from your adb / fastboot folder (shift+right click - command prompt here)
type
adb devices
your device SN will be here
type
adb reboot bootloader
you should be in fastboot usb
type
fastboot devices
again your serial no should be here
type dir
you should see the contains of the folder your in
now
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
if error change the twrp name to match the one in the dir command above
clsA said:
Do you have a Sprint phone ? and can you post a screen shot of your adb / fastboot folder containing the files or at least post your results for dir
open command prompt from your adb / fastboot folder (shift+right click - command prompt here)
type
adb devices
your device SN will be here
type
adb reboot bootloader
you should be in fastboot usb
type
fastboot devices
again your serial no should be here
type dir
you should see the contains of the folder your in
now
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
if error change the twrp name to match the one in the dir command above
Click to expand...
Click to collapse
I seem to have a problem adb detecting the connected phone, I'll unistall and start again and if I can then get back to you later I'd appreciate it very much.
The phone is UK on 02 Android 4.4 HTC Sense version 5.5
tj
tjpearson said:
I seem to have a problem adb detecting the connected phone, I'll unistall and start again and if I can then get back to you later I'd appreciate it very much.
The phone is UK on 02 Android 4.4 HTC Sense version 5.5
tj
Click to expand...
Click to collapse
can you check my guide under faq #2, if that solves it
Well, think I'll give up with rooting my HTC One, I have never had so much trouble routing a divice as this. My bootloader is now unlocked and that's about as far as I get.
My phone seems to have been detected once through adb that then allowed me to run unlock token but everything else just fails.
In one last attempt I've attached image of ADB folder and below is result from command line.
It must be my age because evertybing seems so complex nowadays
C:\Android>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
target reported max download size of 1526722560 bytes
error: cannot load 'openrecovery-twrp-2.6.3.3-m7.img': No error
C:\Android>
tjpearson said:
Well, think I'll give up with rooting my HTC One, I have never had so much trouble routing a divice as this. My bootloader is now unlocked and that's about as far as I get.
My phone seems to have been detected once through adb that then allowed me to run unlock token but everything else just fails.
In one last attempt I've attached image of ADB folder and below is result from command line.
It must be my age because evertybing seems so complex nowadays
C:\Android>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
target reported max download size of 1526722560 bytes
error: cannot load 'openrecovery-twrp-2.6.3.3-m7.img': No error
C:\Android>
Click to expand...
Click to collapse
cannot load = MyFileNameIsWrong
and from the screenshot you posted the filename is: openrecovery-twrp-2.6.3.3-m7.img.img <- yes, double extension, next time do a "dir" in command prompt to see your filenames, not in Windows Explorer.
d -darrrrr
nkk71 said:
cannot load = MyFileNameIsWrong
and from the screenshot you posted the filename is: openrecovery-twrp-2.6.3.3-m7.img.img <- yes, double extension, next time do a "dir" in command prompt to see your filenames, not in Windows Explorer.
Click to expand...
Click to collapse
I love you nkk71, I really can't tell you how much I love you but I do !!!!! :victory:
Did what you said and fumbled through flashing twrp and then adding superuser after to the phones root, did recovery again and installed superuser via twrp and bingo, rooted and confirmed.
Been struggling 2 weeks with this and non stop all weekend, my wife wants a divorce but I don't care cos I'M ROOTED !!
Thanks so much for all the help, nice one :good:
tj
tjpearson said:
I love you nkk71, I really can't tell you how much I love you but I do !!!!! :victory:
Did what you said and fumbled through flashing twrp and then adding superuser after to the phones root, did recovery again and installed superuser via twrp and bingo, rooted and confirmed.
Been struggling 2 weeks with this and non stop all weekend, my wife wants a divorce but I don't care cos I'M ROOTED !!
Thanks so much for all the help, nice one :good:
tj
Click to expand...
Click to collapse
Lol
Now that the phone is good, go spend some time with your better half!!!
No guides on xda, on "how to return my marriage to stock"
Put the phone on the charger or something, and spend time with your significant other.
Sent from my HTC One using Tapatalk
One last question
nkk71,
Can I uninstall Superuser now and install SuperSU instead cos I've already purchased that when had the Note rooted or will it cause me more time away from the mrs with issues.
tj
tjpearson said:
nkk71,
Can I uninstall Superuser now and install SuperSU instead cos I've already purchased that when had the Note rooted or will it cause me more time away from the mrs with issues.
tj
Click to expand...
Click to collapse
Shouldn't be a problem, use the flashable zip from the thread: http://forum.xda-developers.com/showthread.php?t=1538053
Yeah , sorted.
Thanks again for all your help.
tj

[Q] Htc one M7 softbricked and can't connect to a computer

FYI: I am not tech savy at all so bare with me if I sound like a noob/idiot.
I basically formatted my phone from TWRP and I'm thinking there isn't any ROM/UI/kernel?..ect. so it cannot start up (basically stuck on the htc loading screen). My computer detects it but not as a storage device and I can't seem to find a way to access it. I believe I have what i need on my computer but my issue is that i dont know how to get into the internal storage of my htc one because it cannot detect it as a storage device on my computer.
The only trace of it at all i seem to be able to find is in
Control Panel\Hardware and Sound\Devices and Printers
Its called "android 1.0" and when i click on it, it takes me to its properties from device manager.
It says Location: Port_#0001.Hub_#0008
I dont know if any of this info i gave is relevant, if not, let me know what ups.
ray408 said:
FYI: I am not tech savy at all so bare with me if I sound like a noob/idiot.
I basically formatted my phone from TWRP and I'm thinking there isn't any ROM/UI/kernel?..ect. so it cannot start up (basically stuck on the htc loading screen). My computer detects it but not as a storage device and I can't seem to find a way to access it. I believe I have what i need on my computer but my issue is that i dont know how to get into the internal storage of my htc one because it cannot detect it as a storage device on my computer.
The only trace of it at all i seem to be able to find is in
Control Panel\Hardware and Sound\Devices and Printers
Its called "android 1.0" and when i click on it, it takes me to its properties from device manager.
It says Location: Port_#0001.Hub_#0008
I dont know if any of this info i gave is relevant, if not, let me know what ups.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2318497
Here is some reading material for you
Bro..I completely understand your predicament..
Just do this step by step
1. Download minimal adb from the internet and install it on your PC.
2. Download twrp image from the internet.this is a recovery loader.
3.copy the image file into the install directory of minimal adb.
4.execute the minimal adb shortcut from your PC.it should open a command prompt.
5.connect your device to the PC via usb.
6. Type this command to check if your device is recognized. "Fastboot devices"
It should show you a device ID..if your device is connected and recognized
7.flash tarp image with this command "fastboot flash recovery <twrp.img>"
8.reboot your device..press and hold volume down at the sametime to get into bootloader.
9.enter recovery.
10.Download any custom rom from htconeroot.com.it will be a zip file.
11. Copy the zip into minimal adb install directory and run this command to push the zip onto your device. "adb push <image file>.zip any name.zip"
12. After this completes you should be able to see this image in the filemanager in twrp.
13.move the zip file into sdcard directory.
14.make sure all options are checked in the mount in twrp
15.install the custom rom from install option in tarp.
This is 3 frantic days of research on the internet bro..
I had a brick in my hand too..got it up and running VIPERONE ROM
Hope you get through this fine
Thank you, i really appreciate the effort! but im stuck on step 6/7. When i typed in fastboot devices, it didn't show any new id. and when i typed fastboot flash recovery twrp.img it says "waiting on device" so im guessing it still didnt detect it. any idea on why this might be happening? thanks
gowda-the-grear said:
Bro..I completely understand your predicament..
Just do this step by step
1. Download minimal adb from the internet and install it on your PC.
2. Download twrp image from the internet.this is a recovery loader.
3.copy the image file into the install directory of minimal adb.
4.execute the minimal adb shortcut from your PC.it should open a command prompt.
5.connect your device to the PC via usb.
6. Type this command to check if your device is recognized. "Fastboot devices"
It should show you a device ID..if your device is connected and recognized
7.flash tarp image with this command "fastboot flash recovery <twrp.img>"
8.reboot your device..press and hold volume down at the sametime to get into bootloader.
9.enter recovery.
10.Download any custom rom from htconeroot.com.it will be a zip file.
11. Copy the zip into minimal adb install directory and run this command to push the zip onto your device. "adb push <image file>.zip any name.zip"
12. After this completes you should be able to see this image in the filemanager in twrp.
13.move the zip file into sdcard directory.
14.make sure all options are checked in the mount in twrp
15.install the custom rom from install option in tarp.
This is 3 frantic days of research on the internet bro..
I had a brick in my hand too..got it up and running VIPERONE ROM
Hope you get through this fine
Click to expand...
Click to collapse
ray408 said:
Thank you, i really appreciate the effort! but im stuck on step 6/7. When i typed in fastboot devices, it didn't show any new id. and when i typed fastboot flash recovery twrp.img it says "waiting on device" so im guessing it still didnt detect it. any idea on why this might be happening? thanks
Click to expand...
Click to collapse
Ok..try this..
Press down on the power and volume down button to enter the default boot loader.
If you hv rooted your phone..it should be showing tampered at the top.
select the fast boot option..
Now connect your phone via usb..
The display name should change to "fastboot usb"
Then again open minimal adb and continue from step 6.
Make sure you have all the htc drivers for Windows installed on your PC.
Windows can automatically download these drivers for you if you don't have them..
All the best
Are you using Windows 8.1?
everything works now, thank you guys. You are all awesome!

Help with (I think) bricked Mi Mix

HI everyone, i have unlocked Mi Mix with EU Global ROM (rooted) and TWRP installed.
After the phone was playing up, I idiotically removed root and deleted Xposed, and it was OK, but tonight I tried to re-install originial ROM, and now can't do anything with the phone.
I can boot into TWRP, but when i try fastboot, the fastboor screen comes up for 20 seconds, then the phone boots to Mi logo, and nothing happens.
I can't get computer to recognize the phone so can't add new ROM - so unsure how to do anything now
Any help appreciated, thanks!
Jamie
Hello !! i think i can help you , well same thin happened to me and what i did was ----∑ Boot into recovery , plug your phone to computer , download Universal ADB Driver and when it detects Adb Composite click install . Then you will be able to unlock and use fastboot. Hope it helps if not im sorry , this is all i know. Good Luck !!!
If you are able to boot in to twrp why just install the original Chinese rom and start from scratch.
YazumiWuHung said:
Hello !! i think i can help you , well same thin happened to me and what i did was ----∑ Boot into recovery , plug your phone to computer , download Universal ADB Driver and when it detects Adb Composite click install . Then you will be able to unlock and use fastboot. Hope it helps if not im sorry , this is all i know. Good Luck !!!
Click to expand...
Click to collapse
Thanks, will try
jaime4272 said:
If you are able to boot in to twrp why just install the original Chinese rom and start from scratch.
Click to expand...
Click to collapse
Hey, thanks for the reply - in TWRP though I can't see any ROM files, or anything to install?
Download a ROM (from desktop)... boot to TWRP (device)... Mount storage... Copy Rom to device... Flash ROM...
lesscro said:
Download a ROM (from desktop)... boot to TWRP (device)... Mount storage... Copy Rom to device... Flash ROM...
Click to expand...
Click to collapse
Hi, thanks for the reply. the problem is, the computer doesn't recognize phone no matter what I do, and I tried the mount storage option but it only shows the phone internal storage!
Sorry, i'm new to this all, thanks,
Jamie
There is sdcard on Mix, then if you see internal storage you can copy rom on it then when u try to flash, navigate to this zip file...
Other u can flash using MiFlashTool using adb feature....
lesscro said:
There is sdcard on Mix, then if you see internal storage you can copy rom on it then when u try to flash, navigate to this zip file...
Other u can flash using MiFlashTool using adb feature....
Click to expand...
Click to collapse
Thanks! Yeah, I noticed it said SD card - but it's not removable, no? So i don't know how to put ROM onto it, when my computer doesn't recognise it!
Thanks
Jamie
When you boot into TWRP, try "adb devices" on your PC. If it's read there, you can use the "adb push filename.zip /sdcard/" command to push the ROM to your phone and then install it.
admirdante said:
When you boot into TWRP, try "adb devices" on your PC. If it's read there, you can use the "adb push filename.zip /sdcard/" command to push the ROM to your phone and then install it.
Click to expand...
Click to collapse
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Check if u have an issue with your driver when device is connected... device manager on windows 10...
If yes, check to install driver from computer (not from web or cd's or something like that), select universal USB/adb feature... and ur device will appear...
Weirdali said:
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Click to expand...
Click to collapse
Well, I use minimal ADB and fastboot too. Just run it, and try "adb devices". If it's read, you can try the "adb push". If not, please check your Device Manager to see if it is read there.
admirdante said:
Well, I use minimal ADB and fastboot too. Just run it, and try "adb devices". If it's read, you can try the "adb push". If not, please check your Device Manager to see if it is read there.
Click to expand...
Click to collapse
It doesn't appear in Device Manager, and it always has done before. I installed new drivers (made sure they were correct), rebooted PC, and still doesn;'t show in device manager, so not sure what top do!
Thanks,
Jamie
Weirdali said:
It doesn't appear in Device Manager, and it always has done before. I installed new drivers (made sure they were correct), rebooted PC, and still doesn;'t show in device manager, so not sure what top do!
Thanks,
Jamie
Click to expand...
Click to collapse
Damn. Not sure what to do either. Maybe download a fastboot ROM from their site and flash it trough Miflash? Maybe that'll work? If not, then I'm out of ideas.
lesscro said:
Check if u have an issue with your driver when device is connected... device manager on windows 10...
If yes, check to install driver from computer (not from web or cd's or something like that), select universal USB/adb feature... and ur device will appear...
Click to expand...
Click to collapse
I've 100% installed the right drivers, but the device doesn't show in device manager, or anywhere on my PC! It does charge though, which is weird
Weirdali said:
I've 100% installed the right drivers, but the device doesn't show in device manager, or anywhere on my PC! It does charge though, which is weird
Click to expand...
Click to collapse
if you have a usb OTG adapter you can put a rom on an usb stick mount it in twrp and flash from there
Did you do a total wipe? And left your device totally clean?
Weirdali said:
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Click to expand...
Click to collapse
Put your ROM in the same folder as your adb drivers folder. Hold shift while right clicking in this folder and choose "open command window here". Boot into TWRP and goto "advanced", then "adb sideload". Now write in the command prompt "adb devices". It should now show your device id and "sideload" after it. Write "adb sideload name of your rom.zip"
At least your phone isn't totally dead like mine. I powered mine off with a full charge and we to power it back on a little while later and it's totally dead now. Even Xiaomi Flash Tool won't let me flash anything. Sees the phone but won't let me flash anything. I get an error code. Xiaomi, via email says they can't service my phone because I'm in the USA. This will be my last Xiaomi phone. So pissed off

Categories

Resources