[TOOL]Minimal ADB and Fastboot [2-9-18]

Search This thread

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
@Koysii
Adding to demkantor and his great advice to help put you at ease, with the Nexus devices especially 5X and 6P if something ever did go wrong and you needed to return for warranty related maintenance all you would need to do is re-flash one of nexus factory images for the 6P. After taking a look at the procedure there is nothing in there that would prevent you from having access to your bootloader to re-flash those factory images if needed, but that is in a ultra worst case scenario. Overall the procedure is pretty low risk but as always for your own piece of mind get familiar with ADB and read and re-read any instructions. Hope that helped your fears :).
 

Koysii

Senior Member
Apr 23, 2015
102
12
@demkantor and @shimp208 thank you so much for the prompt responses and advice ? im going to read through as much as I can understand and as mentioned attempt small tasks initially like reboot or pushing files etc. I believe that root isn't required since I've read on few posts about tethering on Three UK that they've done something similar with adb and it worked without root :) just hope that this works with my Chromecast I.e. use it on a hotspot network through 6P and tether at the same time or by casting screen on to TV without WiFi which I haven't tried yet but I know for sure its possible. Will update after Xmas or by new years to see if tethering unlimited works.

Sent from my Nexus 6P using XDA Forums
 
  • Like
Reactions: shimp208

Koysii

Senior Member
Apr 23, 2015
102
12
So I've managed to install minimal adb on windows 10 x64 and my Nexus 6P seems to have been detected as when i type running cmd in the adb folder abd type "adb reboot" the phone reboots. Now my problem is, when I type "settings put global tether_dun_required 0" without quotes, nothing happens :( I mean on another thread (ive tried messaging there but get no replies - waiting 2 months now) someone stated that on Three UK without root they sent those settings through adb to their phone and so unlocked their tethering capabilities on Three UK. I can tether at the moment but only upto 4gb/month, i have unlimited data and want to tether to my tablet when out or away from wifi. See screenshots, not sure how to attach the pictures to the post -_-

https://drive.google.com/folderview?id=0BxpohXzZrLx-eDlFS3VPSzltaW8&usp=sharing

Could that error code 10 have something to do with it?
 
Last edited:

Koysii

Senior Member
Apr 23, 2015
102
12
I think it might have worked now... ? I ran minimal adb then typed "adb shell" then enter. Then typed the string settings put global etc and got no confirmation but another website stated that you should restart your phone after this step. So will be testing it now and see if that has worked :)

Also entering "settings global list" or something similar to that showed me that "tether_dun had indeed set to 0 without root. Will update on my progress if it has worked after I go through 4GB of my allowed tether data monthly.

Sent from my Nexus 6P using XDA Forums
 

Patrick_445

Senior Member
Jun 18, 2014
75
24
Thanks @shimp208 for this tool.

I've run into a puzzling issue that I'm hoping someone else has solved. Using Minimal ADB 1.3.1 on a Windows 7 x64 laptop, I can connect to my device (Amazon FireTV 2) over WiFi. However, adb is unable to see the device over a direct USB connection. "adb devices" returns an empty list. Is this a known limitation?

Additional info
1) Another computer running Ubuntu can see the FireTV over USB connection, so I know that the cable and the FireTV themselves are not the problem.
2) Since I can connect over the network, I know that Minimal ADB actually works on my Windows 7 laptop
3) When the USB is plugged into the laptop, it can see and recognize the FireTV. I can browse its file structure from the laptop.
4) I have installed the Amazon USB Driver from http://androidmtk.com/download-amazon-usb-drivers
5) I have uninstalled and reinstalled Minimal ADB, and have restarted both the laptop and the FireTV
 
  • Like
Reactions: adiljan877

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
I think it might have worked now... I ran minimal adb then typed "adb shell" then enter. Then typed the string settings put global etc and got no confirmation but another website stated that you should restart your phone after this step. So will be testing it now and see if that has worked :)

Also entering "settings global list" or something similar to that showed me that "tether_dun had indeed set to 0 without root. Will update on my progress if it has worked after I go through 4GB of my allowed tether data monthly.

Sent from my Nexus 6P using XDA Forums

@Koysii Glad you could get that figured out remember there is a big differences between the type of commands you can run in adb shell and using regular adb commands. ADB shell is basically a light weight shell similar to terminal on OS X and Linux/Unix in the type of commands you can run from it. Non adb shell commands, such as adb push, adb pull, etc. are more general operation commands, just a little tip :)!
 
  • Like
Reactions: Koysii

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
Thanks @shimp208 for this tool.

I've run into a puzzling issue that I'm hoping someone else has solved. Using Minimal ADB 1.3.1 on a Windows 7 x64 laptop, I can connect to my device (Amazon FireTV 2) over WiFi. However, adb is unable to see the device over a direct USB connection. "adb devices" returns an empty list. Is this a known limitation?

Additional info
1) Another computer running Ubuntu can see the FireTV over USB connection, so I know that the cable and the FireTV themselves are not the problem.
2) Since I can connect over the network, I know that Minimal ADB actually works on my Windows 7 laptop
3) When the USB is plugged into the laptop, it can see and recognize the FireTV. I can browse its file structure from the laptop.
4) I have installed the Amazon USB Driver from http://androidmtk.com/download-amazon-usb-drivers
5) I have uninstalled and reinstalled Minimal ADB, and have restarted both the laptop and the FireTV

@Patrick_445
I can rule out a problem with MAF, it is likely a ADB driver issue on amazon's part. Check out these two official Amazon articles they should help you out, this one on ADB wireless connection, and this one on wired USB ADB connection. Let me know if that helps :)!
 

Koysii

Senior Member
Apr 23, 2015
102
12
@shimp208 thank you for that tip ? so what you're saying is its dangerous if I don't know what I'm doing to use adb shell yes? And yes I admit I don't really understand what I'm doing, just following guides. Tethered today about 1.54GB according to Tethered data in android. Will need to see what amount it shows on Three's website within the next few days. In adb shell what is the string to show a list of all the values as in when it shows tether_dun_required=0 I tried "settings global list" again but that doesn't show anything? I'm sure its those three words or it may be "global settings"? Will test tomorrow.
 

Mostafa Wael

Inactive Recognized Contributor
Jan 11, 2013
6,107
5,568
26
Gotham
Hi,
My M9 does not get detected in download mode via adb
'adb devices' returns with an empty list
Is it normal ? I am on Windows 10.

P.S. my M9 gets detected in recovery mode and via direct usb connection (when booted in android OS) 'adb devices' returns with the serial number and "device/recovery"
So where is the problem ?! Is there specific Win10 HTC drivers to download ?? Thanks :)
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
Hi,
My M9 does not get detected in download mode via adb
'adb devices' returns with an empty list
Is it normal ? I am on Windows 10.

P.S. my M9 gets detected in recovery mode and via direct usb connection (when booted in android OS) 'adb devices' returns with the serial number and "device/recovery"
So where is the problem ?! Is there specific Win10 HTC drivers to download ?? Thanks :)

Always double check the manufacturers website (in this case HTC) for device specific drivers. However the new HTC download mode is similar to a type of fastboot mode and as a result adb won't work in that. What specifically are you trying to do with your device?
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
@shimp208 thank you for that tip ? so what you're saying is its dangerous if I don't know what I'm doing to use adb shell yes? And yes I admit I don't really understand what I'm doing, just following guides. Tethered today about 1.54GB according to Tethered data in android. Will need to see what amount it shows on Three's website within the next few days. In adb shell what is the string to show a list of all the values as in when it shows tether_dun_required=0 I tried "settings global list" again but that doesn't show anything? I'm sure its those three words or it may be "global settings"? Will test tomorrow.

Sorry for the new year related delay in getting back to you. It's not necessarily dangerous to use adb shell as everyone has to learn but don't go removing, moving, or editing a file or files if you don't know what they do. Try the command adb shell getprop to show the list of all values.
 

Mostafa Wael

Inactive Recognized Contributor
Jan 11, 2013
6,107
5,568
26
Gotham
Always double check the manufacturers website (in this case HTC) for device specific drivers. However the new HTC download mode is similar to a type of fastboot mode and as a result adb won't work in that. What specifically are you trying to do with your device?

Flash a firmware on my phone. So will all go sweet ?
 

Mostafa Wael

Inactive Recognized Contributor
Jan 11, 2013
6,107
5,568
26
Gotham
Provided you flash the correct firmware and follow the instructions provided it should go smoothly.

Well I thought it would be a problem that my device is undetected in download mode. Thanks for the help :)

---------- Post added at 11:54 PM ---------- Previous post was at 11:02 PM ----------

Well I am S-Off and SuperCID-ed so do i need to check for anyhting in the firmware rather that it is for the M9 ? CID won't matter I guess if I am S-Off and SuperCID. Not sure about MID though...
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
Well I thought it would be a problem that my device is undetected in download mode. Thanks for the help :)

---------- Post added at 11:54 PM ---------- Previous post was at 11:02 PM ----------

Well I am S-Off and SuperCID-ed so do i need to check for anyhting in the firmware rather that it is for the M9 ? CID won't matter I guess if I am S-Off and SuperCID. Not sure about MID though...

I would make sure the MID matches as that stands for the model ID and flashing different model firmware not intended for your device could really screw things up.
 

mwake4goten

Senior Member
Dec 2, 2012
117
15
Halifax, NS
Hi I have unrooted HTC One m8 and want to wipe my cache partition to make phone quicker. Can this tool work for this make and model? Many thanks!

Sent from my HTC One_M8 using Tapatalk
 

berndblb

Inactive Recognized Contributor
Nov 22, 2012
4,875
2,113
Los Angeles, CA
You should head over to the HTC M8 section. A wealth of information and very knowledgeable people can help you much better.
But to answer your question: No you cannot use this or any other tool to wipe cache. You'd have to be bootloader unlocked for it and, depending which version you have, S-off.
Wiping cache is not going to help make your phone run faster anyway and if your M8 is slow there's something else going on... That's one of the fastest phones I ever had...
Back up your data and do a factory reset.
 
  • Like
Reactions: mwake4goten

Top Liked Posts

  • There are no posts matching your filters.
  • 1185
    https%3A%2F%2Fsites.google.com%2Fsite%2Frodsmods13%2F_%2Frsrc%2F1370838835651%2Fhome%2FTitle%2520Image.png

    Introduction

    ADB and Fastboot are arguably two of the most indispensable tools used when working with Android devices. If you really want to modify, debug, and tweak along with their countless uses in rooting, and other procedures ADB and Fastboot are a must for any Android device owner. Typically if you want to install ADB and Fastboot you have to download and setup the Android SDK (If you really want to learn about Android Development I highly recommend downloading and installing the full Android SDK from here), but this can be unnecessary for people who just want to install ADB and Fastboot. To simply the process I created a windows installer that will install the latest version of ADB and Fastboot for you quickly and easily. The total installation of Minimal ADB and Fastboot is around 2 MB in size (Compared to the 90+ MB size of the Android SDK Tools, and 425+ MB size of the complete Android SDK) making it very lightweight.
    Screenshots


    https%3A%2F%2Fimg.xda-cdn.com%2FBlDVsJLUowpSkP8tsnlmLvNlUEI%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FpbwfmY7P4Bi3DLl2hvApUl3-aVo%253D%252Fhttps%25253A%25252F%25252Fimg.xda-cdn.com%25252FXZ3ayFkLUEDpqs4yDodbpWwX04E%25253D%25252Fhttps%2525253A%2525252F%2525252Fsites.google.com%2525252Fsite%2525252Frodsmods13%2525252F_%2525252Frsrc%2525252F1370839220039%2525252Fhome%2525252Fexample%2525252520screenshot.png
    https%3A%2F%2Fimg.xda-cdn.com%2FMTQo0PA16XpeehpFfDYGvuBd3-8%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FfTkkOVj-XsQ66MA8V2BNSuasocA%253D%252Fhttps%25253A%25252F%25252Fimg.xda-cdn.com%25252FqDOyUNyk2nLH5hXYcIfUJAyIiC4%25253D%25252Fhttps%2525253A%2525252F%2525252Fsites.google.com%2525252Fsite%2525252Frodsmods13%2525252F_%2525252Frsrc%2525252F1370839230991%2525252Fhome%2525252Fstep%25252525202.png

    Features

    • Easily Install ADB and Fastboot with a simple to use installer
    • Lightweight, total installation around 2 MB in size
    How to Install

    Prerequisites
    • Your device is plugged into your computer
    • You have USB Debugging enabled under Developer Options (Note: This may be listed as ADB Debugging on some ROM's)
    • You have installed the necessary drivers and your computer is recognizing your device

    1. Download the Minimal ADB and Fastboot setup.exe from here
    2. Follow the Installers instructions and select where you would like to install Minimal ADB and Fastboot too (For simplicity I choose to install it to the Desktop)
    3. After you have chosen where to install Minimal ADB and Fastboot too select whether you would like to create a Start Menu Folder or not for the instalation
    4. Once you have chosen where to install it to and if you want to create a Start Menu Folder select the install option
    5. After the Installation Wizard has completed you can select to start Minimal ADB and Fastboot
    6. You can also start Minimal ADB and Fastboot by navigating to the Start Menu Folder you choose to create during installation or the desktop shortcut you choose to create and selecting Minimal ADB and Fastboot
    7. You should now see a command window open, with the command window open you can now issue ADB and Fastboot commands to your device

    For more information on issuing commands to your device using ADB and Fastboot I would recommend taking a look at this guide on ADB and this guide on Fastboot.
    Changelog
    *For previous versions changelog please click the "Click To Show Content" button
    *Updated ADB and Fastboot to latest version 1.0.3.6 release candidates Revision 0e9850346394-android

    Version 1.4.3 (2-9-18)
    *Updated ADB and Fastboot to version 1.0.3.9
    *Automated build tools initial version uploaded to github

    Version 1.4.1 (10-22-16)
    *Updated ADB and Fastboot to latest version 1.0.3.6 release candidates
    *Uploaded Zip file containing portable version meaning no setup EXE just unzip and use the tools!


    Version 1.4 (4-27-16)
    *Updated ADB and Fastboot to latest version 1.0.3.5 release candidates
    *Prepared for eventual open sourcing of Minimal ADB and Fastboot


    Version 1.3.1 (8-9-15)
    *Fixed bug with compatibility on 32-bit Windows Operating Systems
    *Updated ADB and Fastboot to latest version 1.0.3.2 release candidates


    Version 1.3 (6-26-15)
    *Updated ADB to version 1.0.3.2 latest release candidate
    *Updated Fastboot to latest version
    *Smaller size 0.75 MB
    *Implemented some behind the scenes stuff to get ready for cross platform release


    Version 1.2 (11-6-14)

    *Updated ADB to version 1.0.3.2
    *Updated Fastboot to latest version


    Version 1.1.3 (7-18-13)

    *Fixed problem that was causing a force close with the desktop shortcut on Windows 8/8.1


    Version 1.1.2 (6-28-13)

    *Added start menu shortcut that open a command prompt window in the directory where you installed Minimal ADB and Fastboot to allowing you to easily run ADB and Fastboot commands
    *Added option to create desktop shortcut for command prompt window in Minimal ADB and Fastboot directory


    Version 1.0 (6-10-13)

    *Initial version uploaded
    Downloads

    For 32-bit and 64-bit Windows Operating Systems:

    *To download previous versions please click the "Click To Show Content" button

    Download Version 1.4.3 Here

    MD5 Checksum: 689D0602B44ADF8DD53165C24F80CBC9

    Download Version 1.4.3 Portable Here

    MD5 Checksum: ECB45F9CD6160D81DE7941F73A911063

    Download Version 1.4.2 Here

    MD5 Checksum: 9AC9D9AB43E3AD5F0355575B88802685


    Download Version 1.4.1 Here

    MD5 Checksum: 63DF1EC9340D9E43D7C3216E05BC8D88

    Download Version 1.4.1 Portable Here

    MD5 Checksum: D7B1C009C87C77AAF045FA3ED239E591


    Download Version 1.4 Here

    MD5 Checksum: 13F90B6A5FBFA6F90E92B0D3262ED1B1


    Download Version 1.3.1 Here

    MD5 Checksum: D72D659D2B206C14B6FEA6F1E7311A63


    Download Version 1.3 Here

    MD5 Checksum: D14849CE2F1FA6CCC726823FCD0D723F


    Download Version 1.2 Here

    MD5 Checksum: 813C54CDF3B461CD485E23F327ADF725

    Download Version 1.1.3 Here


    MD5 Checksum: 47334BD7837C379F44A96B9FEE9F66E7

    Download Version 1.1.2 Here

    MD5 Checksum: AA291CD76C224EB6CCC061B80F89074F

    Download Version 1.0 Here

    MD5 Checksum: B7E99321CBA3711DCAB7D3885BAAD336


    Dropbox Mirror:

    *To download previous versions please click the "Click To Show Content" button

    NOTE: Due to the high traffic it causes I will no longer be mirroring on Dropbox newer builds. A new mirroring solution is in the works :good:.

    Download Version 1.4.1 Portable Here

    MD5 Checksum: D7B1C009C87C77AAF045FA3ED239E591

    Download Version 1.4 Here

    MD5 Checksum: 63DF1EC9340D9E43D7C3216E05BC8D88


    Download Version 1.4 Here

    MD5 Checksum: 13F90B6A5FBFA6F90E92B0D3262ED1B1


    Download Version 1.3.1 Here

    MD5 Checksum: D72D659D2B206C14B6FEA6F1E7311A63


    Download Version 1.3 Here

    MD5 Checksum: D14849CE2F1FA6CCC726823FCD0D723F


    Download Version 1.2 Here

    MD5 Checksum: 813C54CDF3B461CD485E23F327ADF725


    Download Version 1.1.3 Here

    MD5 Checksum: 47334BD7837C379F44A96B9FEE9F66E7


    Download Version 1.1.2 Here

    MD5 Checksum: AA291CD76C224EB6CCC061B80F89074F

    Download Version 1.0 Here

    MD5 Checksum: B7E99321CBA3711DCAB7D3885BAAD336
    Credits

    Code:
    *Google for developing ADB and Fastboot
    Thank you to CONAN TROUTMAN and the rest of the XDA writers for featuring this on the portal on June 12, 2013 :)!
    93
    @demkantor @berndblb

    As promised ladies and gentleman I'm am proud to present all of you with Minimal ADB and Fastboot Version 1.4!

    Changelog:

    Version 1.4 (4-27-16)
    *Updated ADB and Fastboot to latest version 1.0.3.5 release candidates
    *Prepared for eventual open sourcing of Minimal ADB and Fastboot

    Thank you for all the support and please continue to provide feedback on what new features you would to see implemented in the next version of Minimal ADB and Fastboot. Over 450,000 downloaded version 1.3.1 alone!
    74
    Tools that Use Minimal ADB and Fastboot

    [tool][app] 10 min adb/fastboot for htcm8 on win8 an win8.1 Thread By: Tigerstown


    Note: If you would like to create a tool that uses Minimal ADB and Fastboot you are free to do so, all I ask is that you link to the original thread and give proper credit :). Additionally if you would like your tool or guide that uses Minimal ADB and Fastboot to be added to this list please let me know.
    29
    @000001a @demkantor @berndblb

    Hello everybody :) a new version of Minimal ADB and Fastboot is now available! The changelog is as follows below:
    Version 1.4.1 (10-22-16)
    *Updated ADB and Fastboot to latest version 1.0.3.6 release candidates
    *Uploaded Zip file containing portable version meaning no setup EXE just unzip and use the tools!

    Thanks to all you guys and girls for answering questions and helping each other in the thread when I am not around and thanks a million as the past two versions have been downloaded over 1 million times combined :):good:! As always let me know if you have any questions or comments I'll be happy to help you out :)!

    ~This release is dedicated in memory on my Grandfather (Opa) without him I wouldn't be the tech enthusiast I am today <3
    28
    @demkantor @berndblb

    Hello everybody as promised before the end of Friday it's 11:30 PM here in Boston and version 1.4.2 of MAF has just been added to the OP! It includes adb and fastboot revisions 0e9850346394-android. The link for the portable version will be uploaded in the morning :good:! Also please leave your feedback on what features you would like to see for MAF version 2.0, which will be the first to include support for Windows, Mac, and Linux. Thank you all for the continued support it means a lot to me :)!