Guide | ADB and Fastboot | Latest - OnePlus 3T Guides, News, & Discussion

ADB and Fastboot installation guide for Windows | system wide
100% working on all windows​
Download latest ADB and Fastboot drivers, extract and replace to your existing adb and fastboot folder.
If you are installing adb and fastboot for the 1st time, follow the next steps:
1. Create a folder in C:\ , give it a desired name, (for me the adb.exe it's in: "C:\platform-tools")
2. Go to Control Panel -> System ->Advanced System Settings -> Advanced Tab -> Environmental Variables
3. Add the adb path just like in the screenshots below.
{
"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"
}
Below, under "System variables" scroll down to the variable labeled "Path" and choose Edit and add the path of the adb.exe there too
Ok. Now you are ready to use adb and fastboot , everywhere you are. You don't have to 'cd' to the adb path anymore.
**If you ever get a bad alloc error or falling to an older adb version message in Windows 10 x64, just reboot your phone to recovery and try again.

How do i get the drvers? In fastboot it shows up as an unknown device

It is not the first time i have installed them on my computer (Windows 10),anyway , it is not as simple as you said .

aceten100 said:
How do i get the drvers? In fastboot it shows up as an unknown device
Click to expand...
Click to collapse
Having fastboot installed on the PC should be enough. You sure the phone is booted to bootloader-fastboot mode (which is mandatory)? What is the response to the command: fastboot devices

Related

[TOOL] ADBTools for Linux by mihahn v1 [WIP]

This is a program I've just made for linux to use ADB in a simple way. It's still wip so maybe there are some functions not included or not working, if you find them please tell me
First of all the features:
Code:
1. Transfer data:
-> ADB Push files
-> ADB Pull /system
-> ADB Pull /system/app
-> ADB Pull /system/framework
2. Backup/Restore
-> Backup the SD Card
-> Backup everything (system, data, apks, shared-storage)
-> Backup system
-> Backup apks only
-> Restore Backup
3. ADB Reboot
-> Reboot in system
-> Reboot in the bootloader
-> Reboot in the recovery
4. ADB Install/Reinstall
-> Install an app
-> Install an app on sdcard
-> Reinstall an app, but keep the data
5. ADB Shell
That's it
What you need:
ADB set up properly and an android devices with usb debugging and unknown sources enabled!
I'm not responsible for any damage to any of your devices. You choose to use it and if something goes wrong it's not my fault (e.g. data is lost, pc won't work, device is bricked, etc)
Please help me to improve everything in this tool, so give me some suggestions for features you want and if you have any idea how to improve the whole script (code) please PM me
Some Screenshots:
{
"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"
}
Changelog:
Code:
28.Jan.2013
First Release (v1)
Download: Version 1 here
How to use:
1. Download the script
2. place it in your home directory (~/) (/home/username/)
3. Open a Terminal
4. Type ./ADBTools.sh
Okay you've got it
I would like to improve the script, but I need some ideas/suggestions from you

[GUIDE][HOW TO]ADB & Fastboot From Anywhere in Command Prompt

Hello, this a quick guide on how to get adb and fastboot working from anywhere in command promt. You might ask why this is useful? Well if you set your system up like this, you can use adb and fastboot from practically anywhere. This is very convenient and saves you having to navigate to your SDK every time you want to do something with your phone. So let's get started!
Prerequisites:
Windows 7 or Windows 8
Java JDK downloaded and installed.
Android SDK, preferred location:
Code:
C:\AndroidSDK
See note
First, right click My Computer and select Properties. From there, select Advanced system settings.
{
"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"
}
Then, select Environment Variables
You will now get a box that looks like this. Select edit, here is the important part.
Do NOT delete any of the text in the field, simply add:
Code:
C:\AndroidSDK\platform-tools;C:\AndroidSDK\tools
to the end of the text field, like this
Note: This assumes that your Android SDK, tools and platform-tools folders are setup in the same directory as mine, if not please modify the path accordingly
After you've edited the text field, press okay, then okay again and voila. Finished!
From now on, whenever you need to use adb or fastboot simply open command prompt and type away
If you have any comments or suggestions, please feel free to leave a reply below

[TOOL][OP3] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the OnePlus 3/3T's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
Thanks.. this will be very useful for Noobs

bootloader unlock from a Mac (Sierra and prolly others)

This assumes you already have the latest version adb/fastboot installed on your Mac.
There's plenty of info here and else for that.
You are responsible for unlocking the bootloader.
Unplug all other USB devices. Most important step. It seems the HTC sometimes wants to own the USB.
Plug U11 into USB.
Toggle USB connection on U11 to File Transfer.
Launch Terminal (utilities) on your Mac.
enter "adb devices” in Terminal - should get serial back in Terminal window.
In Terminal - “adb reboot bootloader" .
“fastboot devices” should bring serial to Terminal window, and this screen on the U11.
{
"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"
}
Reboot to download mode by hand using the up/down volume keys and power to enter/choose.
Now in download mode enter “fastboot oem get_identifier_token" in Terminal.
Option click to mark: from <<<<Identifier Token Start>>>>
to
<<<<<Identifier Token End>>>>>
DO NOT highlight “INFO on any line.
The purpose of the option key is to be able to highlight and copy just what is needed.
Copy.
Now you can paste the "identifier_token" into the space of the htcdev.com page.
This will cause an email to be sent to you that will have an attachment of Unlock_code.bin , as well as a further link for the next couple steps to complete the Unlock process.
This Unlock_code.bin has to be dropped into the same folder as you have adb/fastboot in.
I use a subfolder of Downloads. In Terminal cd /Downloads/Android. Whatever works for you.

Reboot to EDL mode from FASTBOOT!

Reboot to EDL mode from FASTBOOT!
No more Test Point Method needed
Technical Details:
Redmi Note 3 support rebooting to EDL in Android Bootloader aboot module (the "reboot-edl" command) but fastboot utility doesn't recognize "reboot-edl" in the command line and refuses to sent the command to the device. Since FastBoot command protocol is simple and text-based, it is enough to send a packet containing "reboot-edl" text over USB. The simplest way to do that is to patch Windows fastboot.exe file, replacing "reboot-bootloader" text with "reboot-edl". As "reboot-bootloader" string is found in the command line, fastboot.exe sends the same constant string to the device. So if "reboot-bootloader" is replaced with "reboot-edl", you can specify "reboot-edl" in the command line and the same text will be sent to the device.
New Update: Fastboot updated to latest version.
Tutorial:
1. Download the Fastboot_to_EDL from : https://www.mediafire.com/file/yr7csyo64e97vbu/Fastboot_to_EDL.zip/file
2. Extract the zip in your desktop
3. Open the folder and double Click on Reboot.bat
{
"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"
}
4. Reboot your device to Fastboot Mode by pressing
Vol Down + Power button and connect your device with PC and Press Enter.
5. Your Device will be rebooted to EDL!
6. Now flash your Fastboot Rom with Mi Flash Tool to Unbrick your Mi Note 3.
Proof:
saved my ass
thanks a lot ahmed.....
i bricked my phone.. went to flash twrp without unlocking bootloader and it bricked..
this tool saved the phone else mom was gonna whoop my ass..
peace:good:

Categories

Resources