[GUIDE] Setup ADB and Fastboot on Windows; Newbie special - Android Software/Hacking General [Developers Only]

It took me more than a month to get my ADB working, specifically because of the lack of official drivers for my device. As I figured that out, I wrote a guide to set up adb and fastboot. One reason for which I write a lot of guides is that I forget things a lot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The guide is really tailor made for noobs. I wrote everything as I was trying to get it working. So, you won't find any step that I skipped.
Download Java SDK and Android SDK on your Windows PC.
Go to the location where you installed Android SDK on your PC and right click on SDK Manger.exe and select Run as Administrator.
On your android device, enable USB Debugging. For Android 2.3 and below, go to Settings > Applications >Development. For Android 4.0 and 4.1, go to Settings > Developer Options. For Android 4.2 and above, you will have to unlock Developer Options by going to Settings > About Phone/Tablet and then tapping on build number 7 times.
Either install drivers for your device using Pdanet or use this ehow guide to install drivers from your device manufacturer.
Download Fastboot binary and extract it anywhere.
Enter the folder in which you extracted the fastboot thingy. While pressing shift, right click in an empty space and select "Open a Command Window here".
In the command window that will open, pass any command you wish. To check that your device is connected successfully, give the command "adb devices", if the list of devices attached isn't blank, all is well and you are good to go. Unfortunately, if it i blank, relook at the drivers step.

Thread closed. Please post any guides and/or tutorials directly onto the forum, rather than links.

Related

Android SDK

im trying to install android sdk from this link http://wiki.cyanogenmod.com/index.php?title=Howto:_Install_the_Android_SDK
and im on step #17
everything before that worked fine and my command prompt recognized my device so i know its recognizable.
Any step 16 and 17 ask
16. Open the Device Manager.
Right-click on My Computer (Windows XP) or Computer (Windows Vista/7).
Click on Manage.
Click on Device Manager on the left.
17. You will probably see Unknown Device with ADB listed under it with a yellow exclamation mark
i do no see my phone listed on their. Any idea's?
I believe I had similar problem around that steps (Windows 7 PC unable to recognize ADB) and ended up modifying some of the instructions on my own.
I installed PDANet and it worked then. Make sure your phone is in Recovery mode and USB Debugging enabled.
http://forum.xda-developers.com/showthread.php?t=875580
really, ok i will try that right now. Hopefully it works, im having serious problems with adb. it won't recognize my device and i have everything updated in sdk
this is what im used to seeing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and this is where i download android sdk from just so you guys know
http://developer.android.com/sdk/index.html
downloaded the zip and updated EVERYTHING!
This is the solution. Do these steps exactly.
http://forum.xda-developers.com/showpost.php?p=11139522&postcount=5
im still getting the error message
C:\android-sdk-windows\platform-tools;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools.
this what i have written in Control panel>system>Advanced>enviroment> path. is this right
try this
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools

[Q]Can't Unlock Bootloader (error...help!)

I have the phone rooted (I used "Root Check Basic" and it says that I have root access). Whenever I use the tool from "[TOOL] OneClick SuperCID for Unlocking Bootloader", it gives me the following error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I can provide you with any other information necessary. I searched prior to creating this thread, but I was unable to come up with anything to help me. Please help me out
I just tried to run the tool without the phone plugged in and I got the same error.
I've installed the driver and the computer detects that the phone is plugged in when I plug it in, so there isn't an issue there I don't think.
Make sure you have debugging turned on under settings > developer options > usb debugging.
Sent from my HTC One XL
thejosh86 said:
Make sure you have debugging turned on under settings > developer options > usb debugging.
Sent from my HTC One XL
Click to expand...
Click to collapse
Debugging is definitely turned on.
hmm that's kind of weird - anyway check to make sure you can adb shell to your device from windows.
Make sure if you've got htc sync installed it's not open or running.
1. connect the phone to your pc - make sure it's in charge only mode
2. cd to the spoof-cid directory
3. type adb shell
4. you should get something like in the attachment and if you type ls it will give you a directory listing like dir in dos.
If you're still having problems maybe you don't have the correct drivers.

Wpt500 wikipad rooted jb 4.2.2

Hi there, I've managed to root Wikipad on newest update
Works only on windows7 ( I used VMware ) unless you find a driver for windows8
1. Install driver in package
2. reboot PC
3. make sure you've got dev mode enabled with usb debugging on
4. read README.txt file
readme states:
1. power off device; RECOVERY : once off hold VOL+ and power for 5 s; pressing VOL- choose fastboot protocol pressing VOL+
2. run 'insecurebootflash.bat'
3. once rebooted go to fastboot protocol again
4. in Windows process manager kill adb and fastboot .exe
5. run 'cwmrecoveryflash.bat'
6. in developer's mode on device enable USB debugging and connect your Wikipad
10. run 'run.bat'
you're rooted
cortex69 via insecure boot made by myself
root method via motorchop (or something, can't remmeber exactly)
Click to expand...
Click to collapse
here's the link:
https://drive.google.com/file/d/0B54wdkjMEJKAVHZtaUhKVmliSDg/view
here's a proof
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If anyone wants to use it or edit it go ahead. I have only built insecure boot.img
if you're not sure about you can try just to boot to boot.img
fastboot devices
fastboot boot boot.img
fastboot reboot
If anyone who has 4.1.1 installed and rooted Wikipad and is able to download but NOT INSTALL update firmware and pull it out, I am waiting for that someone. I will gladly take over the firmware and do my best to make it customizable and rooted. Might even take a look at kernel

[Completed] [Guide] How to get stock Boot.img and Recovery.img for any Mediatek based device.

Introduction
Hi friends i found out most of the people cant get cwm for their device but as a developer its my duty to help them out so lets start and yes its a method not made or found by me i am just serving this to you all credits goes to orignal developers
What You Have To Do and how?
1.You need 3 files
-Your device Scatter file
-MTK droid tools-Download this from google
-SP flash tools-download this from google
2.Connect your android device to your Windows computer and install the drivers properly
3.Extract Sp Flash tool.zip and Run flashTool.exe
4.Now Move to read back tab and click add button.
5.After this a Pop will appear asking you where to save and what to save.
6.write recovery.img in the name and choose desktop for saving file.
7.after this a popup will appear asking you the start address and the length.
Please Pay attention now its bit risky
8.To findout what to enter in start address open up your scatter file and navigate to BOOTIMG copy the code written in front of it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
9.To find out the length Connect your device with usb debugging enabled setting via usb cable and open MTK droid tools.
10.Like this .
11.Connect your Phone and click on read back after the green circle appear you will get your recovery.
feel free to PM me I will help you if u face any problem press thanks button if i helped.
Hi,
Thanks for the contribution, but this is not the place to post it, this is,
> Android Development and Hacking > Android General
XDA Assist is here to help navigate the site, not for support, discussions or guides.
Thanks for understanding, thread closed.

[Help] Fastboot mode.

I am unable to get into fastboot mode on my At&t Motivate 2. I do have OEM unlock, but when I use adb reboot fastboot, or hold the power key + up vol. It get's stuck on the screen saying => FASTBOOT mode... I am not sure what I am doing wrong (if I am). It's model number is EA211002. It stays on this screen no matter how long i leave it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Be happy, you sucessfully entered Fastboot mode. Now direct Fastboot on PC per Windows CMD and/or PowerShell what action(s) to perform.
Fastboot Commands List and Cheat Sheet with Explanation
Fastboot is a command-line tool for Android. You can execute Fastboot commands to flash and boot factory and TWRP recovery images.
technastic.com
I have the same phone does anyone have the stock firmware ?
also where did you get the fastboot drivers for it? can you sent them to me ? please @jwoegerbauer @Synaronel
@IXDevoXI
Latest ADB and Fastboot drivers you can obtain here:
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
I finally figured out the whole fastboot thing with this phone lol and which one you need to be in and so forth it is the most confusing phone I’ve ever tried to root but now I’m left with that stupid dm-verity corrupt issue

Categories

Resources