[Q] Rooting noob... - AT&T, Rogers HTC One X, Telstra One XL

Hey guys I'm in the process of using the new rooting method and I'm at the part where I put the unlock_code.bin into my phone but I go into my computer and my phone doesn't show up. I am currently in bootloader and stopped for fear of hurting my phone. How do I proceed? So sorry for being such a noob but I'd really really appreciate it if someone could help me!

KungPow90 said:
Hey guys I'm in the process of using the new rooting method and I'm at the part where I put the unlock_code.bin into my phone but I go into my computer and my phone doesn't show up. I am currently in bootloader and stopped for fear of hurting my phone. How do I proceed? So sorry for being such a noob but I'd really really appreciate it if someone could help me!
Click to expand...
Click to collapse
Guessing that your using windows system, did you install htc sync?

yup I got all the drivers. And yes im using windows.

Can anyone help me? I'm at the part where I use the unlockcode.bin but I don't know what I'm doing and need help.
Thanks

KungPow90 said:
Can anyone help me? I'm at the part where I use the unlockcode.bin but I don't know what I'm doing and need help.
Thanks
Click to expand...
Click to collapse
So your CID was successfully set?

Yes my CID was set. I need help with the unlock_code.bin

So I tried to run the command fastboot flash unlocktoken Unlock_code.bin as you are supposed to in the HTCdev site but this is the response:
'fastboot' is not recognized as an internal or external command,
operable program or batch file.

KungPow90 said:
So I tried to run the command fastboot flash unlocktoken Unlock_code.bin as you are supposed to in the HTCdev site but this is the response:
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
you need to have fastboot executable installed in that directory also is your phone in debugging mode ?
take a peak at gunny's adb/fastboot primer here http://forum.xda-developers.com/showthread.php?t=1754018
hopefully that'll do it. good luck

ostoristn accomplish
Ok I put fastboot in there and it still didn't work. The phone is currently in bootloader. Yes I had debugging on when I switched it to bootloader.

What do you mean by didn't work? What is happening now when you run fastboot flash unlocktoken Unlock_code.bin

area51avenger said:
What do you mean by didn't work? What is happening now when you run fastboot flash unlocktoken Unlock_code.bin
Click to expand...
Click to collapse
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.

KungPow90 said:
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
go into the directory where your adb is and run "adb devices" from command prompt and let's see if your device is recognized, if it isn't it might be your drivers or try a different usb port.

Crappyvate said:
go into the directory where your adb is and run "adb devices" from command prompt and let's see if your device is recognized, if it isn't it might be your drivers or try a different usb port.
Click to expand...
Click to collapse
ok maybe im not running the commands right. i know for a fact that i have all the adb and fastboot stuff but it says the same thing as it did for the fast boot but with adb instead.

KungPow90 said:
ok maybe im not running the commands right. i know for a fact that i have all the adb and fastboot stuff but it says the same thing as it did for the fast boot but with adb instead.
Click to expand...
Click to collapse
are you on a pc ? how are you running your fastboot command at the prompt ?

KungPow90 said:
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Are you executing the commands from the folder where fastboot exists ? For example
You have adb, fastboot in C:\android-sdk\platform-tools" then you need to goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the command
"

abhipati said:
Are you executing the commands from the folder where fastboot exists ? For example
You have adb, fastboot in C:\android-sdk\platform-tools" then you need to goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the command
"
Click to expand...
Click to collapse
Ok ok now we are getting progress. It accepted fastboot and took the command but couldn't find the file "Unlock_code.bin"

KungPow90 said:
Ok ok now we are getting progress. It accepted fastboot and took the command but couldn't find the file "Unlock_code.bin"
Click to expand...
Click to collapse
did you get the unlock_code.bin from the htcdev website ?? It also needs to be in the same directory as your fastboot executable.

Crappyvate said:
did you get the unlock_code.bin from the htcdev website ?? It also needs to be in the same directory as your fastboot executable.
Click to expand...
Click to collapse
Yes the code came from htcdev and i put it in the same location as i am running my executions. I don't understand how it cant find it...

KungPow90 said:
Yes the code came from htcdev and i put it in the same location as i am running my executions. I don't understand how it cant find it...
Click to expand...
Click to collapse
what error do you get exactly and what command are you running ?

ensure you are giving correct names ( including case ) and correct paths

Related

[Q] SuperCID problem

i wanted to flash the new firmware onto my phone so i could flash ics, but one of the requirements is to have superCID.
ive been following this guide: http://forum.xda-developers.com/showthread.php?t=1192300
But, everytime i get to the command, "fastboot oem writecid 11111111" it only gives me a message saying, 'fastboot' is not recognized as internal or external command, operable program batch file.
is there anything i may have missed? ive tried starting over thinking i may have written a command wrong but it still wont work.
thanks in advance guys
Is fastboot present in your sdk installation? If I remember well it should be in "tools" folder of the SDK files.
Try to update your packages through SDK manager.
Re-download, the fastboot package and then unzip...
Open the folder where you see a file called Fastboot.exe
Right click anywhere while holding shift button and press open command here...
Then type that command which you want for CiD
Don't frget to thanx if it works
Sent from my HTC Sensation 4G using XDA App
thanks guys
it turns out that fastboot wasnt in my adb folder but was in my android sdk folder, so i just copied and pasted it into the adb file and tried again, this time it works. thanks guys now onto flashing the new firmware

[Q] Serious problem

Hi,
please help me! I hope it is not a brick.
I wanted to make full wipe. I made factory reset in recovery and then wiped sdcard.. Now I cannot boot ROM because there is no one and I have nothing on my SD. So I even cannot copy rom or backup back to phone.
Is there any way out? (
EDIT: I think I can push files (e.g. backup) through adb, right? I installed adb for dummies but when I want to execute SDKmanager.exe. it only opens black window and immediately closes it. I cannot continue
devcager said:
Hi,
please help me! I hope it is not a brick.
I wanted to make full wipe. I made factory reset in recovery and then wiped sdcard.. Now I cannot boot ROM because there is no one and I have nothing on my SD. So I even cannot copy rom or backup back to phone.
Is there any way out? (
EDIT: I think I can push files (e.g. backup) through adb, right? I installed adb for dummies but when I want to execute SDKmanager.exe. it only opens black window and immediately closes it. I cannot continue
Click to expand...
Click to collapse
Access your commands through a terminal window, like start > run > cmd to get into the prompt.
and from there work your way to your directory where you have placed it, and execute the command from that directory directly.
..
Thanks!
In the end I used adb to push backup in recovery...
All this I did because I wanted wipe my device - today I woke up and got a call and found out that my earphone stopped working I am afraid that it is due to condensation and next oxidation... I did not do anything wrong but when you come from cold winter weather into a warm flat it can happen Now I need to send it and hope the warranty will pass..
Anyway, I was looking for complete unroot process and found several advices. I am not clever from them. Is it enough to flash stock ROM? Recovery will be removed as well??
..
Election Day said:
Flash a stock ROM (this will also flash the stock recovery) and relock the bootloader with fastboot oem lock afterwards.
Click to expand...
Click to collapse
Ok. I have everything done but the relocking. Could you tell me how shall I do this? I tried to write "adb reboot bootloader" and then " fastboot oem lock" but both case the command line responded something like that it is not internal command etc. (I dont have it in English) Cannot lock it
devcager said:
Ok. I have everything done but the relocking. Could you tell me how shall I do this? I tried to write "adb reboot bootloader" and then " fastboot oem lock" but both case the command line responded something like that it is not internal command etc. (I dont have it in English) Cannot lock it
Click to expand...
Click to collapse
1.Switch off your phone
2.Connect your phone to your PC throught the USB cable
3.Switch on phone into fastboot
4.Provided that you have the driver for windows for the phone installed open Start/run/cmd (from your PC)
5.From the Android-SDK/platform-tools run the following "fastboot oem lock".
like :
C:\Android-sdk\platform-tools\fastboot oem lock
this will lock it immediately ...
mahanddeem said:
1.Switch off your phone
2.Connect your phone to your PC throught the USB cable
3.Switch on phone into fastboot
4.Provided that you have the driver for windows for the phone installed open Start/run/cmd (from your PC)
5.From the Android-SDK/platform-tools run the following "fastboot oem lock".
like :
C:\Android-sdk\platform-tools\fastboot oem lock
this will lock it immediately ...
Click to expand...
Click to collapse
it works only in "tools" and then it just says "waiting for device" and stucks When I tried "fastboot devices" it says nothing... I tried to reinstall drivers but maybe I have some old version? When I am in Windows copying files etc. it works well.
1. Make sure you open the command prompt IN in the folder with fastboot.exe.
2. Put the phone in fastboot mode.
3. In the command prompt type fastboot devices.
It will now show your serial number. If not its either you are such a noob that you managed to screw that up or the fastboot drivers are not installed. Or both.
albundy2010 said:
1. Make sure you open the command prompt IN in the folder with fastboot.exe.
2. Put the phone in fastboot mode.
3. In the command prompt type fastboot devices.
It will now show your serial number. If not its either you are such a noob that you managed to screw that up or the fastboot drivers are not installed. Or both.
Click to expand...
Click to collapse
OK. I really dont understand what could have been screwed up. Ok. It doesnt show anything. Just nothing. Cen you please send me the link for the drivers which should work? Maybe there is the problem. Fastboot drivers are something else than drivers for adb to be working? Because I dont know whats wrong. Thanks...
devcager said:
OK. I really dont understand what could have been screwed up. Ok. It doesnt show anything. Just nothing. Cen you please send me the link for the drivers which should work? Maybe there is the problem. Because I dont know whats wrong. Thanks...
Click to expand...
Click to collapse
If you have i9023 you need to add a line into the sdk for driver. You can search the tutorial threads for it.
Sent from my Nexus S using Tapatalk
try this
just check if you have fastboot and adb on the same folder, when I've rooted mine's got this issue, if cmd report "the command is an external one" simply means there is no such program in the folder you are in
copy both adb and fastboot in tools and platform-tools too, so you can run the command in both folder
cd>desktop > cd android>cd android-sdk> cd tools (then run adb or fastboot)
cd>desktop > cd android>cd android_sdk> cd platform-tools (thr run adb or fastboot)
1. Find out exactly what phone model you have if you don't know already.
2. Do the same for your computers os . Including 32 or 64 bit.
3. Combine that info and search the forum or just Google search. How to install fastboot drivers for phone model in step 1 with the os in step 2.
..
Thank you all. I decided to unroot it and relock it using Odin software which was great and quick. So I am done.... Adb has a lot of problems with drivers, commands, paths. This way was much easier
adb has no issues. User error.
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
+1
Sent from my GT-I9100 using XDA App
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
Maybe you are right. Maybe it was driver problem which I solved and then immediately used odin. Anyway, it is user friendly and I am finally done with what I wanted
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
Agreed, but not the user friendliest.
For the OP: Good luck having it repaired!

'fastboot' is not recognized as an internal or external command,operable program or

trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
i am using windows 8 64bit and my adb files along with the image files is on my downloads folder...
Start here:
HERE
Also look up "path variables windows (whatever)"
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
xBeerdroiDx said:
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
Click to expand...
Click to collapse
He said there still in his(or her) DL folder. Hence my tips. lol
theesotericone said:
He said there still in his(or her) DL folder. Hence my tips. lol
Click to expand...
Click to collapse
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
xBeerdroiDx said:
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
Click to expand...
Click to collapse
Always. Read it all then laugh.
have no idea what to do...
GabrielOspina said:
have no idea what to do...
Click to expand...
Click to collapse
You need to cd in cmd to the directory you extracted your sdk tools to. Or drop the fastboot and adb files from your download into c:\windows\system32. Or add your extracted directory to environment variables as per the link.
Its not difficult if you read
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
GabrielOspina said:
trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I think i might be able to help.
You do have the adb-tools and the adb-treiber folders right? And you have run the file in the adb-treiber folder, and unlocked the bootloader from the adb-tools folder, good.
Now copy all the files from the hammerhead-lrx21o folder into the adb-tools folder, and try and run the flash-all.bat file again.
Let me know if it works, it did for me.
- Flecks
Install abd drivers
install adb drivers
SupremeNaruto said:
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
Click to expand...
Click to collapse
It's not helping. LMAO Windows rlly?
Virussii said:
It's not helping. LMAO Windows rlly?
Click to expand...
Click to collapse
Did you find a solution?
mahesh0055 said:
Did you find a solution?
Click to expand...
Click to collapse
Yeah, in the same directory on CMD type:
./fastboot devices
Everything has to start with ./fastboot and then the command.

[Q] Can't Flash 5.0 Image

I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
It means you've not copied the files into your ADB folder as it can't find the fastboot files
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
gamer.11 said:
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
Click to expand...
Click to collapse
This won't work if fastboot binary isn't in env PATH.
EddyOS said:
It means you've not copied the files into your ADB folder as it can't find the fastboot files
Click to expand...
Click to collapse
"Into your FASTBOOT folder". adb's got nothing to do with this.
http://forum.xda-developers.com/showthread.php?t=2513701
Follow method two in this guide.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
Click to expand...
Click to collapse
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Easiest way is to extract the sh1t out of the Google file until you eventually see all the img files. Then extract the fastboot zip into the same folder they're in and open a command prompt there.
Fastboot zip -
https://www.dropbox.com/s/b8wxmwfi2ekdw3a/Adb And Fastboot.zip?dl=0
Sent from my Android 5.0 Nexus 5
gamer.11 said:
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Click to expand...
Click to collapse
Because it's in your PATH.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
"Into your FASTBOOT folder". adb's got nothing to do with this.
Click to expand...
Click to collapse
People refer to the folder with ADB and fastboot in it as the ADB folder (If you had adb/fastboot in the system path this wouldn't even be required)
Do you really think I meant them to use ADB? Come on, now
beekay201 said:
Because it's in your PATH.
Click to expand...
Click to collapse
oh "env" meant environment, sorry did not understand your shot hand.
by the way OP? solved your issue?
EddyOS said:
People refer to the folder with ADB and fastboot in it as the ADB folder
Click to expand...
Click to collapse
I refer to this folder as the platform tools folder
nikon120 said:
I refer to this folder as the platform tools folder
Click to expand...
Click to collapse
Makes more sense I guess, just more to type! This is where being in PATH makes life better

Please Help - Stuck in boot loop

Hi All, I hope someone can help.
I got this phone in December, and unlocked it, flashed TWRP and rooted.
My phone automaticly updated and was on version 7.1.2. But Super SU wasnt working anymore.
I tried to boot into TWRP but it was saying somthing like "No command given" when I tried.
I used Skipsoft toolkit to flash the recovery again (What I originally used) and when the phone rebooted, it gets to the Google logo and instantly reboots.
I can get to bootloader, but if I select recovery, it reboots.
Is there anything I can do here?
I did a backup in TWRP before I flashed, its stored on the phone.
Thanks in advance
I would use the tool to go back to stock. Just pick the last Google is the app I believe its V. Either update to the lastest software or I just flashed a rom with the newest vender
Hi, Thanks for your reply.
How can I do this though, I cant get the phone to boot, or into recovery
Is there a way I can use adb to push a TMRP so I can restore my backup?
My PC makes the noise as if something is attached by USB, but when I do adb devices, nothing shows.
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
You can get TWRP and root on the May update.
https://forum.xda-developers.com/showthread.php?t=3600606
Anthony2oo5 said:
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
Click to expand...
Click to collapse
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
graymoment said:
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
X04D said:
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
Click to expand...
Click to collapse
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Anthony2oo5 said:
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Click to expand...
Click to collapse
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
graymoment said:
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
Click to expand...
Click to collapse
That error means flash-all.bat is not in the same directory as the command prompt you opened. You unzipped it elsewhere, didn't unzip it or you opened the command prompt in the wrong place.
Flash this file after flash other files
VerifiedBootSigner

Categories

Resources