[Q] Fastboot Missing from Android SDK - Nexus S Q&A, Help & Troubleshooting

It appears (and this has been verified by multiple installs by myself and people on #android and #android-dev on freenode) that fastboot has been removed from the R14 release of the Android SDK.
Does anyone know how to get fastboot via another method so I can unlock the boot loader of my Nexus S (my platform is Windows 7 SP1 X64)?
Thank you in advance.

I think I found the answer to my own question:
http://dl.google.com/android/android-sdk_r13-windows.zip

I don't think it's been a part of the Android SDK, at least for a while. I've always had to manually download the binary.

It can also be made in your build environment. Command: make fastboot. It will create the binary.

where to put that command? thx

Here's fastboot.exe: http://www.mediafire.com/?wrgw1erxw71o77a
geo741 said:
where to put that command? thx
Click to expand...
Click to collapse
You have to place it in the same folder containing adb.exe (platform-tools for the last sdk).

Related

Problem locking bootloader.

Adb is saying that it doesn't recognize "fastboot" as a command. I haven't really use ADB since I got the phone in February, has there been changes to the commands needed?
I did a simple search and found this: http://www.nexusoneforum.net/forum/...-fastboot-devices-command-not-recognized.html
GL Hope it helps.
Problem is not it recognizing cause Adb reboot-bootloader works.
This used to work
Cd\
Cd androidsdk/tools/
Fastboot oem lock
Has something been moved? And if so what is the new path?
sarge363 said:
This used to work
Cd\
Cd androidsdk/tools/
Fastboot oem lock
Has something been moved? And if so what is the new path?
Click to expand...
Click to collapse
Make sure fastboot is still in your tools folder. With some of the updated sdk fastboot gets removed. If it's not there you can get it from the cm wiki and just put it in the tools folder.
Sent from my PG06100 using Tapatalk
The problem is that you think you need to run adb to get fastboot to work.
adb and fastboot are 2 separate programs. ADB is the Android Device Bridge where fastboot is another standalone command line program s used to directly flash the filesystem etc.
If you download the Android SDK now, it won't have fastboot included, so you need to get it from somewhere else, like the old CM wiki as crump suggested.
Once you have the compiled fastboot file, you can navigate to it from a command prompt and execute the fastboot commands
Greetz
Thanks for the clarification. I really only used it once or twice when I first got the phone. And I just looked and I am missing the fastboot. I'll give it a shot.
In cm wiki there is only fastboot 32bit. I have 64bit, will it still work?
sarge363 said:
In cm wiki there is only fastboot 32bit. I have 64bit, will it still work?
Click to expand...
Click to collapse
Yes, 64 bit computers are backwards compatible for the most part
Sent from my illuminated black thing

How to download the latest ADB/Fastboot binaries without the sdk?

I want to download the latest possible ADB/Fastboot binaries because a little bird whispered in my ear that the Asus USB ID's have been added so -i 0x0b05 isn't needed when using fastboot on the TF201.
Anyways, I do NOT use the "android-sdk" nor have I ever downloaded it. I simply used a tool called knives and forks which put the binaries in system32/syswow64 and then somehow symlinked them to always respond when typing "adb" in CMD regardless of where i start the CMD. I don't need to cd to an android-sdk folder (I don't even have one, derp)
So how can I update to the latest binaries WITHOUT downloading the sdk?
removed
shabbypenguin said:
while not the most ideal answer, i work on a lot of low end devices and in an effort to keep it simple for em i bundle up the binaries needed for most devices. normally i have adb for all 3 platforms and fastboot for all three. ive yet to update the mac and linux binaries but my zip does have the latest windows adb/fastboot
www.Shabbypenguin.com/OUDstuff/Tools/ADB-Tools.zip
Click to expand...
Click to collapse
Much obliged!
Thank you! You just saved me from a 2-3hr download tethered to my phone!
shabbypenguin said:
while not the most ideal answer, i work on a lot of low end devices and in an effort to keep it simple for em i bundle up the binaries needed for most devices. normally i have adb for all 3 platforms and fastboot for all three. ive yet to update the mac and linux binaries but my zip does have the latest windows adb/fastboot
www.Shabbypenguin.com/OUDstuff/Tools/ADB-Tools.zip
Click to expand...
Click to collapse
I've been frustrated with error: device offline.
My SDK manager is still downloading stuff & I found this thread.
Latest adb helps!!!
Thank you so much.
dsymbol said:
I've been frustrated with error: device offline.
My SDK manager is still downloading stuff & I found this thread.
Latest adb helps!!!
Thank you so much.
Click to expand...
Click to collapse
that zip is old, instead http://androidforums.com/faqs/443072-adb-guide-updated-2013-05-21-a.html#post5389081
use teh attached file there. chances are the device offline is due to outdated adb and a 4.2 device.
shabbypenguin said:
that zip is old, instead http://androidforums.com/faqs/443072-adb-guide-updated-2013-05-21-a.html#post5389081
use teh attached file there. chances are the device offline is due to outdated adb and a 4.2 device.
Click to expand...
Click to collapse
you're absolutely correct.
i've updated to 4.3 & run into device offline problem.
Your adb 1.0.31 helps. in less than 5 mins, while i've been sitting here for 3 hours waiting for the SDK manager to update files.
Thanks for this!

[Q] Unbricking LG P500 with Android SDK HELP!!!

Hello! Yesterday I was putting a custom recovery on my LG p500, and as I am a noob in phones and everything else I fcked up something, and now i have the ''fastboot mode started'' screen. Now, on this http://www.androidpure.com/unbrick-lg-p500-stuck-at-fastboot-mode-due-to-bad-recovery-flash/ page, i have downloaded all the things listed there.
Now, my computer recognizes the phone, it doesn't open the ''removable disk F'' as it has always, but it says it is recognized.
WHen i downloaded Android SDK, on the page they say I should have a directory on disk C, but I DONT KNOW HOW TO INSTALL ANDROID SDK!! When i click on SDK manager it just opens a window similiar to cmd prompt, and then the window close after some seconds.. Please help me!!
Also, on that link there is the cmd program open and he says what to write to unbrick it, but I don't understand anything about it!! Please someone help me I am mad!!!
Instead of messing with the entire Android SDK, which isn't needed BTW, why not use Android Flash Recovery to install another recovery? Link for Android Flash Recovery ( AFR ) is in my signature. It's just a simple UI for the fastboot executable from the Android SDK. No command windows to deal with and nothing to type. Point and click...
As per you problem with the SDK, Android can't find your Java installation. Did you install Java 6 or 7 SDK as well?
shinobisoft said:
Instead of messing with the entire Android SDK, which isn't needed BTW, why not use Android Flash Recovery to install another recovery? Link for Android Flash Recovery ( AFR ) is in my signature. It's just a simple UI for the fastboot executable from the Android SDK. No command windows to deal with and nothing to type. Point and click...
As per you problem with the SDK, Android can't find your Java installation. Did you install Java 6 or 7 SDK as well?
Click to expand...
Click to collapse
I got rid of the problem, but if the problem gets back i will use your link! thanks!
Kk connect USB goto sdk and find fastboot binary use cmd. And do fastboot flash recovery /path to SD/
Sent from my LG-P500 using xda app-developers app

Bootloader unlock

Not needed..............
@jmz will this work on OS 4.5.2
krazyace35 said:
@jmz will this work on OS 4.5.2
Click to expand...
Click to collapse
I don't see why it wouldn't as I am on 4.5.3 and it worked.
jmz said:
I don't see why it wouldn't as I am on 4.5.3 and it worked.
Click to expand...
Click to collapse
Cool thanks I'll give it a try and thanks for this unlock tutorial
jmz said:
You will need a linux box or python installed on windows. Find instructions on the web for that.
Step 1: Download attachment
Step 2: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/manfid
Step 3: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/serial
Now you should have 2 sets of numbers. first should be in the format of 0x0000XX where XX is numbers. And the other is 0xSSSSSSSS.
So now use the downloaded file and execute (obivously replacing the entries with what was returned above.
Code:
./cublock.py XX SSSSSSSS
This will tell you you have unlock.signed now. So move that to your fastboot/adb directory and then reboot to bootloader and issue this command
Code:
adb reboot-bootloader
fastboot -i 0x1949 flash unlock unlock.signed
Once done, get back to android and do the following:
Code:
adb shell
su
idme print
You should now see unlock_code: AAAAAAAA and on and on.
Now go flash my TWRP build in OG dev
Original credit goes to @dpeddi & @vortox for the exploit. I did nothing to this code and it is all their work. So give them thanks
Click to expand...
Click to collapse
Sorry for the noob-ish question. How do you get adb to recognize the fire? When I type "adb devices" there are no devices present.
ryanyz10 said:
Sorry for the noob-ish question. How do you get adb to recognize the fire? When I type "adb devices" there are no devices present.
Click to expand...
Click to collapse
do steps 1 through 6 in this thread
http://forum.xda-developers.com/fire-hd/general/root-supersu-stable-appstore-custom-t3113311
Question
Sorry for another question. When I type ./cublock.py, I get ". is not recognized as an internal or external command".
Sorry again for being annoying lol
ryanyz10 said:
Sorry for another question. When I type ./cublock.py, I get ". is not recognized as an internal or external command".
Sorry again for being annoying lol
Click to expand...
Click to collapse
if on windows you need to get python installed
jmz said:
if on windows you need to get python installed
Click to expand...
Click to collapse
I've got python 3.4.2 installed. Which version would you recommend?
After some researching, people have said that python doesn't work very well on Windows 10, which is what I'm on right now.
jmz said:
You will need a linux box or python installed on windows. Find instructions on the web for that.
Step 1: Download attachment
Step 2: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/manfid
Step 3: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/serial
Now you should have 2 sets of numbers. first should be in the format of 0x0000XX where XX is numbers. And the other is 0xSSSSSSSS.
So now use the downloaded file and execute (obivously replacing the entries with what was returned above.
Code:
./cublock.py XX SSSSSSSS
This will tell you you have unlock.signed now. So move that to your fastboot/adb directory and then reboot to bootloader and issue this command
Code:
adb reboot-bootloader
fastboot -i 0x1949 flash unlock unlock.signed
Once done, get back to android and do the following:
Code:
adb shell
su
idme print
You should now see unlock_code: AAAAAAAA and on and on.
Now go flash my TWRP build in OG dev
Original credit goes to @dpeddi & @vortox for the exploit. I did nothing to this code and it is all their work. So give them thanks
Click to expand...
Click to collapse
Hi jmz,
I have a question here- all that was in your ZIP file was the cublock.py file.
Are we supposed to use this with the rest of draxie's tools in the HDX thread? If so, I was able to get an 'unlock.img' file, but nothing called 'unlock.signed'
maybe you didn't upload all the attachments we needed?
either way, thanks soooo much for your work !
edouble312 said:
Hi jmz,
I have a question here- all that was in your ZIP file was the cublock.py file.
Are we supposed to use this with the rest of draxie's tools in the HDX thread? If so, I was able to get an 'unlock.img' file, but nothing called 'unlock.signed'
maybe you didn't upload all the attachments we needed?
either way, thanks soooo much for your work !
Click to expand...
Click to collapse
sorry, with that tool you only get the unlock.img . I need to correct the post
In my linux box 'cuber' module, required by cublock.py, is not installed; is this the correct source? https://github.com/benesch/cuber
One more question: I forgot to block OTA update so my HD6 updated to 4.5.4, loosing root permissions. What I should do? Need to wait KingRoot supports the new software version or can I proceed to unlock bootloader and install twrp? Or could install, if available, a 4.5.3 recovery through dd? Very thanks.
I sense many roms being ported very soon...
Sure hope so!
I used the tools (cuber) in this post:
http://forum.xda-developers.com/kin...tools-create-unlock-img-fix-boot-img-t3050689
So i generated unlock.img, but i am still unable to enter fastboot mode,
i tried changing boot to 4002, i rooted and tried to execute fastboot file, nothing works tbh, how do you suppose i fix this?
thanks in advance
robert896 said:
So i generated unlock.img, but i am still unable to enter fastboot mode,
Click to expand...
Click to collapse
Need more info: Your computer OS, tablet device model (Settings>Device Options), Fire OS version (Device Options>System Updates). Tell exactly what happens when you run: adb reboot-bootloader.
DoLooper said:
Need more info: Your computer OS, tablet device model (Settings>Device Options), Fire OS version (Device Options>System Updates). Tell exactly what happens when you run: adb reboot-bootloader.
Click to expand...
Click to collapse
ok im on ubuntu 15.04 got full adb and fastboot (they work on other devices) --- fire os 4.4.3---device model, kfhd 3rd gen
i also have windows 7 x64 dual booted with full adb and fastboot set up also
when i do adb reboot-bootloader, it restarts but doesnt enter fastboot ,, it boots into normal mode
robert896 said:
device model, kfhd 3rd gen
Click to expand...
Click to collapse
These unlock instructions are for Fire HDs (4th gen). You need a fastboot cable for KFSOWI. Try G+ KFSOWI modding.
I am new to the tablet scene. This is my very first tablet. I would like to root the device and install custom recovery and hopefully custom Rom. Is this the first thing I do or should I start somewhere else?

Root Oneplus 6 stable Android 10 on Mac

Hello,
fellow rooters, I lost my root after updating with oxygen updater to Android 10 and would like it back. Im not happy seeing this dark grey instead of my amoled black, however.
Does anyone has an guide how to root OP6 with stable Android 10 on mac, with the flashing commands and etc I need to make it work ?
If not Id be happy as well with a good guide for Windows, the ones I can see in this forum are with the Open Beta version which obviously is not compatible.
Thanks for the Help!
Rooting your phone is the same as on Windows. You just need to download Android Platform Tools for Mac and launch Terminal instead of CMD. Commands are the same.
Use the platform tools, unzip it and copy fastboot and adb to the path /usr/local/bin of your Mac.
Right click on fastboot and open it (otherwise it could be that macOS Mojave or Catalina blocks it). After that you should be good to go and just have to open Terminal and should be able to use "fastboot flash xyz.img".
This should be in questions and answers not this sub forum
ssvdude said:
This should be in questions and answers not this sub forum
Click to expand...
Click to collapse
It's not
my bad
Macusercom said:
Use the platform tools, unzip it and copy fastboot and adb to the path /usr/local/bin of your Mac.
Right click on fastboot and open it (otherwise it could be that macOS Mojave or Catalina blocks it). After that you should be good to go and just have to open Terminal and should be able to use "fastboot flash xyz.img".
Click to expand...
Click to collapse
In mac you gotta add "./" before fastboot
For example : './fastboot flash xyz.img '

Categories

Resources