• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Mods ADB Utility for Windows, Linux version in post #18.

Hi all, I am constantly using adb in the Android SDK to access and work on my phones and having to constantly bring a new cmd window up and doing all the commands manually gets tedious and so I have created a batch utility for all of the usual ADB commands.

This utility has almost all the usual commands that you might need with an interactive user interface to make all the normal ADB tasks quicker and easier to use:

  • Get file - used adb pull to transfer files from your phone to your computer. Interactive interface asks you where you'ld like to pull the file from.
  • Put file - uses adb push to transfer files from your computer to your phone. The interactive interface will ask you what file you want to transfer; you can either type the full path or drag the file into the window.
  • Reboot options - reboot phone, into recovery mode or into the bootloader with options 3, 4 and 5.
  • Mount options - use adb remount to remount the android system as rw, readable and writable.
  • ADB Shell options - Start a shell (or root shell) in Android or start and kill the adb server. You can also select if your port is listening via usb or tcpip.
  • Other options - Start up APK Multitools, set APK Multitools path and EXIT

Setup Instructions:
Extract the adb_utility.bat file to where ever your adb.exe; most likely in sdk/platform-tools where ever you installed adb, but it can also be put in APK Multitools. As long as adb.exe is in the same folder it will work just fine.

When you run the batch file it checks to see if you have set your path to your APK Multitools script which if you have it stores in a text file called apkm_location.txt. If that file exists it will skip to the program, if not it runs you through the setup where you will type the full path of your APKM script (or drag the file into the window) and then saves it to the newly created above stated text file. This location can be changed by option [14] at anytime.

Release Notes Version 1.0:
I have re-written this several times, but I have organized it to the best of my ability and made it as user friendly as possible to be my first alpha release for the public.

Not much to this script as in bugs etc., but if you notice any bugs or just have general feed-back or suggestions please feel free to let me know. I will add any new things that people would think they might need while using this utility and I will also be writing this is Linux shell script.

Most people will use this for things you do on rooted phones, but this can be used for some things on unrooted phones as well.

If you have any trouble running this try running as administrator.

Screenshot:
adbutil_screen_zps89d81dd1.png


Download Latest Version Here:
ADB Utility by Lateralus138




For a Linux script from Palmtree5 go here:
For Linux
 
https://github.com/palmtree5/linuxDroidToolkit

There it is. Feel free to improve it. Note, you will need ADB and the Linux version of the script in this thread for full functionality (although there are bugs at the moment: some of the menu options seem to not go properly when selected as it acts as if there was an invalid input). It's in C++.
 
  • Like
Reactions: Sepero
Upvote 0
Lol sorry for the late replies all, but I am not getting notifications even though I am subscribed by instant email...

I'm laughing because you guys are talking about doing this for Linux, but if anyone actually read what I wrote above I said I will eventually do it for Linux...

I will add any new things that people would think they might need while using this utility and I will also be writing this is Linux shell script.
Just saying, but cool somebody has already written it. Thanx palmtree5.

Note: I found a few small bugs myself and have fixed and updated the link above.
 
Upvote 0
I'm laughing because you guys are talking about doing this for Linux, but if anyone actually read what I wrote above I said I will eventually do it for Linux...
I hadn't even noticed. Now doesn't that make me look silly.

If you still wanted to write it as a shell script that would be good too. The code by palmtree5 is appreciated, but a shell script would be much more welcome as it would open the code to a broader audience for easier editing and correction, and not require the magic knowledge of g++ compiling.
 
Upvote 0
I hadn't even noticed. Now doesn't that make me look silly.

If you still wanted to write it as a shell script that would be good too. The code by palmtree5 is appreciated, but a shell script would be much more welcome as it would open the code to a broader audience for easier editing and correction, and not require the magic knowledge of g++ compiling.


I sounded a little nasty with that remark, sorry wasn't trying to be. I wasn't laughing at you, I was laughing with you lol!


Having said that.. I will write it for Linux, but it may be a little while. I have quite a few projects going on and 1 year old twins that are all keeping me quite busy at the moment.
 
  • Like
Reactions: Sepero
Upvote 0
Lol sorry for the late replies all, but I am not getting notifications even though I am subscribed by instant email...

I'm laughing because you guys are talking about doing this for Linux, but if anyone actually read what I wrote above I said I will eventually do it for Linux...

Just saying, but cool somebody has already written it. Thanx palmtree5.

Note: I found a few small bugs myself and have fixed and updated the link above.

No problem, I didn't even notice that you had said that.
I hadn't even noticed. Now doesn't that make me look silly.

If you still wanted to write it as a shell script that would be good too. The code by palmtree5 is appreciated, but a shell script would be much more welcome as it would open the code to a broader audience for easier editing and correction, and not require the magic knowledge of g++ compiling.

Probably a good thing for me to try to do, learn more shell scripting as my knowledge there is fairly limited. I kinda just jumped to a C++ program as that's currently where my programming knowledge lies. With that, should I bother leaving my code up?

And yeah, g++ seems like magic to me especially seeing as I'm used to VC
 
  • Like
Reactions: Sepero
Upvote 0
Probably a good thing for me to try to do, learn more shell scripting as my knowledge there is fairly limited. I kinda just jumped to a C++ program as that's currently where my programming knowledge lies. With that, should I bother leaving my code up?
I would say yes, leave your code up, at least until we get a shell script available. I didn't want to criticize your efforts on the C++ program, because I know it took time and thought to make it possible. I often feel a little attached when I've worked hard to make some code, and we always want to feel like we did a good job. :eek:

I'm familiar with C, Python, PHP, Javascript, Shell scripting, and a couple other languages. Choosing the right language for the situation can sometimes be a tricky dilemma.

I'll admit a personal bias of mine though, and that is I hate compiling other peoples code (because it always breaks). :D
 
Upvote 0
Wow. I cant believe I never saw this before. This is awesome

You're welcome.... If you have any suggestions or want something added just let me know. The version in the download is actually version 1.1, but it was just two little error changes and I can't remember which so I didn't really need a change log.
 
Upvote 0
Lol sorry haven't got to it, but life gets busy you know? I'm sure there's some Linux gurus around that can convert it if they are familiar with all involved parts... I rarely use adb in Linux unless I'm storing SD files to my pc to partition sd card or something, but that's only if my Windows partitions are full and that's rare... Got a few projects going on and my twin boys got some events coming up I gotta get ready for so I'll be busy a little longer I'll try and get to it in a few weeks.
 
Upvote 0
Lol sorry haven't got to it, but life gets busy you know? I'm sure there's some Linux gurus around that can convert it if they are familiar with all involved parts... I rarely use adb in Linux unless I'm storing SD files to my pc to partition sd card or something, but that's only if my Windows partitions are full and that's rare... Got a few projects going on and my twin boys got some events coming up I gotta get ready for so I'll be busy a little longer I'll try and get to it in a few weeks.

I know how that goes. I tried to make a script but it doesn't seem to work. Back to debugging!
 
Upvote 0

Anyone interested, there's a bash script there that has most of the functions of the script in the OP

-h or -? Output usage from the readme. The script assumes adb is in the same folder as the script; if this is not the case, edit your copy of the script

Or you can download the attached zip. My github will have the latest version but I will make every attempt to keep this up to date. The zip includes ADB
 

Attachments

  • droidTools-1.0.1.zip
    1.5 MB · Views: 75
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones