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

Search This thread

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
Just in case it wasn't something weird, here is a link to the SDK25 platform tools with fastboot that works with Pixel. "Scott" posted the link in another thread:
https://dl.dropboxusercontent.com/u/31360541/platform-tools-version_1.0.36-API_25.zip

Thanks for the link I just checked and as you can see in the screenshot below the version you provided me with and the one that appears in the 1.4.1 of MAF is the same actually :):

adb_comparison.png


If you have any questions though please continue to ask them because I'm happy to help out:good:.
 
  • Like
Reactions: killall and Skid71

svnhvn

Senior Member
Aug 1, 2013
1,633
699
Jakarta, Far East
hi, just want to ask. my adb is already on 1.0.36 and i want to sideload supersu but my devices keep tellin' me that i need adb 1.0.32 or newer to do that. can you help me what's wrong? thanks.
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
hi, just want to ask. my adb is already on 1.0.36 and i want to sideload supersu but my devices keep tellin' me that i need adb 1.0.32 or newer to do that. can you help me what's wrong? thanks.

If it says you need version 1.0.3.2 or newer then using version 1.4.1 of minimal adb and fastboot which includes adb version 1.0.3.6 should work. But since you said it's not try one of the older versions of minimal adb and fastboot i believe version 1.3 of my tool has adb version 1.0.3.2 :). If you still have questions let me know!
 

pdagenius

Senior Member
Nov 4, 2006
551
34
ADB and Fastboot on Oneplus X (Onyx) - Win8.1 x64 - fixed, working

I struggled with this setup on my Oneplus X, so thought I would add something to this thread in case it helps someone else ....

I installed various drivers until I found that Minimal ADB and Fastboot 1.4.1 and the ADB Driver program sorted out my installation on my Win8.1 x64 pc.

Simply install Minimal ADB from this thread, disable Signed Driver Enforcement on Windows 8 (read this) and run the ADBdriver tool when the phone is connected to the pc. The ADBdriver tool shows you what the current status is for your driver and confirms (hopefully) that everything is now working when it has finished doing its stuff. Worked first time like a charm with both ADB and Fastboot modes working correctly.

Quite why the Minimal ADB tool from this thread is not sufficient on its own is beyond my comprehension at the moment.
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
I struggled with this setup on my Oneplus X, so thought I would add something to this thread in case it helps someone else ....

I installed various drivers until I found that Minimal ADB and Fastboot 1.4.1 and the ADB Driver program sorted out my installation on my Win8.1 x64 pc.

Simply install Minimal ADB from this thread, disable Signed Driver Enforcement on Windows 8 (read this) and run the ADBdriver tool when the phone is connected to the pc. The ADBdriver tool shows you what the current status is for your driver and confirms (hopefully) that everything is now working when it has finished doing its stuff. Worked first time like a charm with both ADB and Fastboot modes working correctly.

Quite why the Minimal ADB tool from this thread is not sufficient on its own is beyond my comprehension at the moment.

I would like to politely point out that it says in the original post that the drivers are not included in MAF and that is to keep the size of the package as small as possible. If you have any suggestions though or wish to elaborate more on your last sentence of this post I would be happy to listen and consider any feedback :).
 

pdagenius

Senior Member
Nov 4, 2006
551
34
I would like to politely point out that it says in the original post that the drivers are not included in MAF and that is to keep the size of the package as small as possible. If you have any suggestions though or wish to elaborate more on your last sentence of this post I would be happy to listen and consider any feedback :).[/QUOTE

Thank you, for the clarification, I understand now and it was not a helpful statement. Sorry it just my limited knowledge of the details of ADB, Fastboot and android drivers. Also Android drivers, particularly with Windows, seem to be a bit hit and miss in my experience, and a device may be recognised and still not work :)
 
Last edited:
  • Like
Reactions: shimp208

bovirus

Senior Member
Oct 7, 2007
2,154
795
@Caelestiel

Please take care that the request is OT here.
The request is aboutt how to unlock the bootloader.
Is not a request about adb commands.
 

vaynefox

Senior Member
Mar 20, 2014
63
1
binan
Thx dude...I really need this tool since I need to relock my zenfone4 bootloader which needs an adb tool to lock...really thx dude....
 
  • Like
Reactions: shimp208

rybshik

Senior Member
Oct 17, 2009
319
21
mfastboot VS fastboot

minimal adb and fastboot
What are advantages (if any) of using CMD 'mfastboot' VS CMD 'fastboot'?

if I need to flash stock recovery, which of the follwing would work better
Code:
mfastboot flash recovery recovery.img
or
Code:
fastboot flash recovery recovery.img

As I understand, the latest version of 'mfastboot' is Ver. 2 and can be downloaded from Using Mfastboot.exe to Unbrick a Motorola
 
Last edited:

jdegreef

Senior Member
Oct 24, 2013
520
165
Brussels
What are advantages (if any) of using CMD 'mfastboot' VS CMD 'fastboot'?

if I need to flash stock recovery, which of the follwing would work better
Code:
mfastboot flash recovery recovery.img
or
Code:
fastboot flash recovery recovery.img
As I understand, the latest version of 'mfastboot' is Ver. 2 and can be downloaded from Using Mfastboot.exe to Unbrick a Motorola
AFAIK mfastboot is for Motorola (Lenovo) devices.
But it's a very long time since I have used either of these. Flashfire can do the same. Unless your device do not boot which I try to avoid :D
 
  • Like
Reactions: rybshik

halentech

Senior Member
Jan 29, 2010
52
8
There is bug with flashing big OTA files through ADB:

c:\b>adb sideload update.zip
adb I 3916 6404 adb_trace.cpp:169] Android Debug Bridge version 1.0.36
adb I 3916 6404 adb_trace.cpp:169] Revision 84e3321d5db3-android
adb I 3916 6404 adb_trace.cpp:169]
loading: 'update.zip'adb I 3916 6404 sysdeps_win32.cpp:145] load_file: could not allocate 1523890908 bytes

* cannot read 'update.zip' *


File size of update.zip is:

1 523 890 908 - update.zip

Please fix this issue. I need it urgently.
 

elandroido

Senior Member
Aug 13, 2014
1,022
598
Munich
There is bug with flashing big OTA files through ADB:

c:\b>adb sideload update.zip
adb I 3916 6404 adb_trace.cpp:169] Android Debug Bridge version 1.0.36
adb I 3916 6404 adb_trace.cpp:169] Revision 84e3321d5db3-android
adb I 3916 6404 adb_trace.cpp:169]
loading: 'update.zip'adb I 3916 6404 sysdeps_win32.cpp:145] load_file: could not allocate 1523890908 bytes

* cannot read 'update.zip' *


File size of update.zip is:

1 523 890 908 - update.zip

Please fix this issue. I need it urgently.
Nothin like a Christmas "Fix this" order... Great spirit man!
Anyhow, maybe you just have not enough space on you device?
If you have, as a workaround, flash from internal...
 

halentech

Senior Member
Jan 29, 2010
52
8
adb crash after file open. Problem is that adb does not work with those big files. I try to compress update.zip to maximum compression ratio and see if this help. Phone is Xiaomi 3s with bad ota update from Xiaomi (black screen with system ui crashed message) and I want to save user data. So only option is to push new released fixed ota update through adb.
 

elandroido

Senior Member
Aug 13, 2014
1,022
598
Munich
adb crash after file open. Problem is that adb does not work with those big files. I try to compress update.zip to maximum compression ratio and see if this help. Phone is Xiaomi 3s with bad ota update from Xiaomi (black screen with system ui crashed message) and I want to save user data. So only option is to push new released fixed ota update through adb.
Try to mount internal storage in twrp and copy update.zip there... Then flash from there...
The author of this tool will surely not change adb, you need to address Google for this
... ;)
 
  • Like
Reactions: shimp208

halentech

Senior Member
Jan 29, 2010
52
8
Phone has stock Xiaomi recovery and locked bootloader. Only way is full flash by MiFlash=lost of user data or push stock ota update through adb. No other way.
 

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 :)!