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

Search This thread

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
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.

As mentioned above I myself can't fix or change ADB, Minimal ADB and Fastboot just includes the stock Google files needed for ADB and Fastboot to work! However try asking your question in your devices thread, or you could also ask a question in the general Android Q&A section!
 

halentech

Senior Member
Jan 29, 2010
52
8
Ok, I will download git source tree for ADB and do modification of sources and compile my version. I do not understand, why is in ADB some stupid limit of file size (bad declaration of properties). It is obviously a bug, which should be fixed by ADB contributors or creators. It has nothing to do with phone brand or something else. It is just ADB problem, that cannot hold big files. There will be more incidents like this, because system images are growing up.

ADB simple crash at file open procedure

Halentech

Oh, it is already opened BUG, I will wait for solution:
https://code.google.com/p/android/issues/detail?id=229648
 
Last edited:
  • Like
Reactions: berndblb

rybshik

Senior Member
Oct 17, 2009
319
21
fastboot does not read IMEI

I've got a new Telus Moto XT1601 Harpia. I have already successfully unlocked the bootloader.

I observed one strang thing though. Command
Code:
fastboot getvar al
does not read the IMEI. Any thoughts why?
Code:
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8916-81.04
(bootloader) product: harpia
(bootloader) board: harpia
(bootloader) secure: yes
(bootloader) hwrev: 0x81B0
(bootloader) radio: 0x2
(bootloader) emmc: 16GB Samsung REV=08 PRV=07 TYPE=57
(bootloader) ram: 2GB Samsung S8 SDRAM DIE=8Gb
(bootloader) cpu: MSM8916
(bootloader) serialno: ZY223XXXXX
(bootloader) cid: 0x0032
(bootloader) channelid: 0x82
(bootloader) uid: C6948B1E00000000000000000000
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 268435456
(bootloader) reason: Volume down key pressed
[COLOR="Red"][B](bootloader) imei:[/B][/COLOR]
(bootloader) meid:
(bootloader) date:
(bootloader) sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Dec 26  0: 5:41 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/harpia/harpia:6.0.1/MPI24
(bootloader) ro.build.fingerprint[1]: .241-15.3/3:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.71.3.harpia.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LA.BR.1.1.3_RB1.
(bootloader) ro.build.version.qcom[1]: 05.01.00.032.015
(bootloader) version-baseband[0]: M8916_20250106.08.05.14R HARPIA_LATAM_
(bootloader) version-baseband[1]: CUST
(bootloader) kernel.version[0]: Linux version 3.10.49-g9d5add0 (hudsoncm
(bootloader) kernel.version[1]: @ilclbld31) (gcc version 4.8 (GCC) ) #1
(bootloader) kernel.version[2]: SMP PREEMPT Sat Jul 9 03:03:37 CDT 2016
(bootloader) sbl1.git: git=MBM-NG-V81.04-0-g45132b9
(bootloader) rpm.git: git=MBM-NG-V81.04-0-g932f716
(bootloader) tz.git: git=MBM-NG-V81.04-0-g4a1e438
(bootloader) hyp.git: git=MBM-NG-V81.04-0-g4a1e438
(bootloader) aboot.git: git=MBM-NG-V81.04-0-g3220316
(bootloader) partition-type:modem: raw
(bootloader) partition-type:sbl1: raw
(bootloader) partition-type:DDR: raw
(bootloader) partition-type:aboot: raw
(bootloader) partition-type:rpm: raw
(bootloader) partition-type:tz: raw
(bootloader) partition-type:hyp: raw
(bootloader) partition-type:utags: raw
(bootloader) partition-type:misc: raw
(bootloader) partition-type:padA: raw
(bootloader) partition-type:abootBackup: raw
(bootloader) partition-type:rpmBackup: raw
(bootloader) partition-type:tzBackup: raw
(bootloader) partition-type:hypBackup: raw
(bootloader) partition-type:utagsBackup: raw
(bootloader) partition-type:logs: raw
(bootloader) partition-type:frp: raw
(bootloader) partition-type:padB: raw
(bootloader) partition-type:modemst1: raw
(bootloader) partition-type:modemst2: raw
(bootloader) partition-type:hob: raw
(bootloader) partition-type:dhob: raw
(bootloader) partition-type:fsg: raw
(bootloader) partition-type:fsc: raw
(bootloader) partition-type:cid: raw
(bootloader) partition-type:metadata: raw
(bootloader) partition-type:logo: raw
(bootloader) partition-type:clogo: raw
(bootloader) partition-type:persist: raw
(bootloader) partition-type:kpan: raw
(bootloader) partition-type:boot: raw
(bootloader) partition-type:recovery: raw
(bootloader) partition-type:ssd: raw
(bootloader) partition-type:padC: raw
(bootloader) partition-type:sp: raw
(bootloader) partition-type:hw: raw
(bootloader) partition-type:customize: raw
(bootloader) partition-type:cache: raw
(bootloader) partition-type:system: raw
(bootloader) partition-type:oem: raw
(bootloader) partition-type:userdata: raw
(bootloader) partition-size:modem: 0x00000000027e0000
(bootloader) partition-size:sbl1: 0x0000000000080000
(bootloader) partition-size:DDR: 0x0000000000020000
(bootloader) partition-size:aboot: 0x0000000000113000
(bootloader) partition-size:rpm: 0x000000000003e800
(bootloader) partition-size:tz: 0x000000000008c000
(bootloader) partition-size:hyp: 0x0000000000020000
(bootloader) partition-size:utags: 0x0000000000080000
(bootloader) partition-size:misc: 0x0000000000080000
(bootloader) partition-size:padA: 0x000000000036f000
(bootloader) partition-size:abootBackup: 0x0000000000113000
(bootloader) partition-size:rpmBackup: 0x000000000003e800
(bootloader) partition-size:tzBackup: 0x000000000008c000
(bootloader) partition-size:hypBackup: 0x0000000000020000
(bootloader) partition-size:utagsBackup: 0x0000000000080000
(bootloader) partition-size:logs: 0x0000000000200000
(bootloader) partition-size:frp: 0x0000000000080000
(bootloader) partition-size:padB: 0x000000000022f000
(bootloader) partition-size:modemst1: 0x0000000000180000
(bootloader) partition-size:modemst2: 0x0000000000180000
(bootloader) partition-size:hob: 0x000000000007a000
(bootloader) partition-size:dhob: 0x0000000000008000
(bootloader) partition-size:fsg: 0x0000000000300000
(bootloader) partition-size:fsc: 0x0000000000000400
(bootloader) partition-size:cid: 0x0000000000020000
(bootloader) partition-size:metadata: 0x0000000000080000
(bootloader) partition-size:logo: 0x0000000000400000
(bootloader) partition-size:clogo: 0x0000000000400000
(bootloader) partition-size:persist: 0x0000000000800000
(bootloader) partition-size:kpan: 0x0000000000800000
(bootloader) partition-size:boot: 0x0000000001000000
(bootloader) partition-size:recovery: 0x0000000001019000
(bootloader) partition-size:ssd: 0x0000000000002000
(bootloader) partition-size:padC: 0x000000000087e000
(bootloader) partition-size:sp: 0x0000000000800000
(bootloader) partition-size:hw: 0x0000000000800000
(bootloader) partition-size:customize: 0x0000000002000000
(bootloader) partition-size:cache: 0x0000000010000000
(bootloader) partition-size:system: 0x00000000a0000000
(bootloader) partition-size:oem: 0x0000000029000000
(bootloader) partition-size:userdata: 0x00000002bdde0000
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: tkpca

Update: I have just done SIM unlock (via code), but it has not changed the information read by ADB/Fastboot
 
Last edited:
Could you possibly add another download mirror that allows for direct downloads?

I'm currently making a script which checks for the current version of your "Minimal ADB and Fastboot" and downloads it for portable use :p.
The script itself is kind of an automated ADB batch script and starts out by getting the required files to use ADB [downloads ADB if it needs too and other programs; such as Ansicon (used for the purpose of coloring CMD)].

I really hope to hear back soon! :)
 

TheZander

Senior Member
Aug 9, 2011
132
8
i did the steps but now my phone is bootlooping. it says at the top left ''boot verification failed cause different hash'' i have the sprint. it wont let me into recovery
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
i did the steps but now my phone is bootlooping. it says at the top left ''boot verification failed cause different hash'' i have the sprint. it wont let me into recovery

First off what device do you have and which version of Android is it running? Second what procedure were you following when your phone went into a bootloop? If you can provide me with the above information I can help direct you to a better place to ask your question :).
 
  • Like
Reactions: KOLIOSIS

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
with minimal ... how can i run logcat to a file ... i need to get a log file for when my phone boots .. a ROM wont finish the boot

You can open MAF and from the command prompt in Windows run the command:
Code:
adb logcat

This will allow you to capture a logcat to export to a file run the following:
Code:
adb logcat >> log.txt

In the directory where MAF is located will be log.txt that you can look at and share! Let me know if you still have questions :).
 
  • Like
Reactions: lhakim3630

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
@shimp208

Could you please update MAF with latest Android Platform Tool version (25.0.3)?

Yes definitely man :)! I will try and do that on Wednesday of this week, I just got back to college so the first day will be very busy but by Wednesday I should have enough time to update it :fingers-crossed: :good:!
 

berndblb

Inactive Recognized Contributor
Nov 22, 2012
4,875
2,113
Los Angeles, CA
with minimal ... how can i run logcat to a file ... i need to get a log file for when my phone boots .. a ROM wont finish the boot
To get a log of the boot process requires your rom to supports adb early on in the boot process. Typically the adb daemon on your tablet does not get started until /data gets mounted and/or Android boots up. If your kernel supports an earlier implementation you're in luck, but if you can't get capture a logcat of boot, that is probably the reason. Just thought I'd mention it before you question your sanity... ;)
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
Hello everybody! As promised later today I will be releasing an update for MAF! You may all have heard that Google allows you to download the platform tools now standalone for Windows, Mac, and Linux. This doesn't mean MAF will stop existing just the opposite in fact :)! MAF will still be dedicated to including the latest versions of just the essentials for ADB and Fastboot to work in an even smaller package then the Google provided package that includes all platform tools. In fact this will speed up my development of MAF for Mac and Linux as well :). In fact the goal is to setup a build server that every night will build an updated version of MAF containing the absolutely most recent version of ADB and Fastboot for all three major operating systems. Thank you all for the support and remember MAF is only going to get better :). So keep calm and MAF on :good:!
 

Enddo

Senior Member
Oct 31, 2013
2,064
880
Atlanta, Ga.
www.youtube.com
In fact the goal is to setup a build server that every night will build an updated version of MAF containing the absolutely most recent version of ADB and Fastboot for all three major operating systems.

That sounds awesome. I look forward to seeing this type of progress. Thanks for all of the hardware you do for the community
 

shimp208

Inactive Recognized Contributor
Jan 25, 2011
2,613
3,089
Boston
@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 :)!
 
Last edited:

MazdaGTI

Senior Member
Dec 29, 2007
240
15
Pältre, Misso vald, Võrumaa
I have problem. After entering command fastboot device-id, get (waiting device) and my LG G5 H850 EUR will stuck in introduction screen without possibility shut down with power button. Soft is 6.0.1 Marshmallow. Have newest USB installed.
 

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