Go Back   Android Forums > Android Development > Android System Mods, Scripts and Hacks

Like Tree2Likes
  • 1 Post By Sepero
  • 1 Post By palmtree5

test: Reply
 
LinkBack Thread Tools
Old February 28th, 2013, 11:17 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default 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:


Download Latest Version Here:
ADB Utility by Lateralus138




For a Linux script from Palmtree5 go here:
For Linux

Advertisements
Lateralus138 is offline  
Last edited by Lateralus138; July 17th, 2013 at 09:20 PM.
Reply With Quote
The Following 7 Users Say Thank You to Lateralus138 For This Useful Post:
argedion (March 13th, 2013), nsciucco (July 2nd, 2013), Omnichron (March 1st, 2013), palmtree5 (July 17th, 2013), sammyz (March 3rd, 2013), SamuraiBigEd (March 13th, 2013), Sepero (March 12th, 2013)
sponsored links
Old March 1st, 2013, 12:44 AM   #2 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: ADB Utility

Thank you so much!
Omnichron is offline  
Reply With Quote
Old March 1st, 2013, 06:52 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

Quote:
Originally Posted by Omnichron View Post
Thank you so much!
You're very welcome!
Lateralus138 is offline  
Reply With Quote
Old March 15th, 2013, 02:37 AM   #4 (permalink)
Linux Guru
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 581 Times in 228 Posts
Default

Neat stuff, but unfortunately I can't use it. Maybe you could edit the title to: ADB Utility for Windows

If I ever get the free time, I might match you with a Linux version. Then we could change the title again
Sepero is offline  
Reply With Quote
Old March 16th, 2013, 11:38 AM   #5 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

This is great!

Quote:
Originally Posted by Sepero View Post
Neat stuff, but unfortunately I can't use it. Maybe you could edit the title to: ADB Utility for Windows

If I ever get the free time, I might match you with a Linux version. Then we could change the title again
I could probably do this too
__________________
Find a post helpful? Hit
See spam or something offensive? Hit
New to the site? Site Rules/Guidelines and Introductions
Not a member yet but want to join? Join here!
Want to chat with staff?Here
Want to chat with mods?Here
palmtree5 is offline  
Reply With Quote
Old March 16th, 2013, 03:50 PM   #6 (permalink)
Linux Guru
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 581 Times in 228 Posts
Default

Quote:
Originally Posted by palmtree5 View Post
I could probably do this too
If you do, be sure to post the source to gihub.com, then I can pull request any ways I find to improve it.
Sepero is offline  
Reply With Quote
Old March 20th, 2013, 09:13 PM   #7 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

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++.
palmtree5 is offline  
Reply With Quote
The Following User Says Thank You to palmtree5 For This Useful Post:
Sepero (March 21st, 2013)
Old March 21st, 2013, 01:53 PM   #8 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

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...

Quote:
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.
Lateralus138 is offline  
Last edited by Lateralus138; March 21st, 2013 at 01:55 PM.
Reply With Quote
Old March 21st, 2013, 02:13 PM   #9 (permalink)
Linux Guru
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 581 Times in 228 Posts
Default

Quote:
Originally Posted by Lateralus138 View Post
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.
Sepero is offline  
Reply With Quote
Old March 21st, 2013, 02:42 PM   #10 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

Quote:
Originally Posted by Sepero View Post
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.
Lateralus138 is offline  
Reply With Quote
The Following User Says Thank You to Lateralus138 For This Useful Post:
Sepero (March 21st, 2013)
sponsored links
Old March 21st, 2013, 03:00 PM   #11 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

Quote:
Originally Posted by Lateralus138 View Post
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.
Quote:
Originally Posted by Sepero View Post
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
palmtree5 is offline  
Last edited by palmtree5; March 21st, 2013 at 03:03 PM.
Reply With Quote
The Following User Says Thank You to palmtree5 For This Useful Post:
Sepero (March 21st, 2013)
Old March 21st, 2013, 03:27 PM   #12 (permalink)
Linux Guru
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 581 Times in 228 Posts
Default

Quote:
Originally Posted by palmtree5 View Post
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.

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).
palmtree5 likes this.
Sepero is offline  
Reply With Quote
Old June 25th, 2013, 08:30 PM   #13 (permalink)
Senior Member
 
nsciucco's Avatar
 
Join Date: Mar 2012
Location: MASSACHUSETTS
Gender: Male
Posts: 1,372
 
Device(s): HTC EVO V(3D) [ROM] _unSENSEable v 2.0 Buttered Toast.
Carrier: Virgin Mobile

Thanks: 131
Thanked 290 Times in 206 Posts
nsciucco@gmail.com
Default

Wow. I cant believe I never saw this before. This is awesome
__________________
If you like my work brighten my day and *Donate*
nsciucco is offline  
Reply With Quote
Old June 25th, 2013, 09:39 PM   #14 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

Quote:
Originally Posted by nsciucco View Post
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.
Lateralus138 is offline  
Reply With Quote
Old June 27th, 2013, 08:00 PM   #15 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

Out of curiosity, what happened with the Linux version of this?
palmtree5 is offline  
Reply With Quote
Old June 27th, 2013, 11:05 PM   #16 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

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.
Lateralus138 is offline  
Reply With Quote
Old June 28th, 2013, 07:29 AM   #17 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

Quote:
Originally Posted by Lateralus138 View Post
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!
palmtree5 is offline  
Reply With Quote
Old July 17th, 2013, 10:50 AM   #18 (permalink)
Sunny Vacation Supporter!
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,719
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,416
Thanked 2,194 Times in 1,154 Posts
Default

Quote:
Originally Posted by palmtree5 View Post
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
Attached Files
File Type: zip droidTools-1.0.1.zip (1.50 MB, 9 views)
Sepero likes this.
palmtree5 is offline  
Last edited by palmtree5; July 18th, 2013 at 08:10 PM.
Reply With Quote
The Following 2 Users Say Thank You to palmtree5 For This Useful Post:
Lateralus138 (July 17th, 2013), Sepero (July 19th, 2013)
Old July 17th, 2013, 11:12 AM   #19 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

Awesome thanks, will jump over to Linux and check it out!
Lateralus138 is offline  
Reply With Quote
The Following User Says Thank You to Lateralus138 For This Useful Post:
palmtree5 (July 17th, 2013)
Old July 17th, 2013, 08:44 PM   #20 (permalink)
Junior Member
Thread Author (OP)
 
Lateralus138's Avatar
 
Join Date: Aug 2011
Location: decatur, illinois
Gender: Male
Posts: 64
 
Device(s): Rooted ZTE Warp [ROM]AlienWarp - with my mods
Carrier: Boost

Thanks: 13
Thanked 11 Times in 5 Posts
Send a message via Yahoo to Lateralus138 Send a message via Skype™ to Lateralus138
Default

Sorry Palmtree5 for not noticing that before, but I have now changed the title of this thread and added a link to your link into the first post.
Lateralus138 is offline  
Reply With Quote
The Following User Says Thank You to Lateralus138 For This Useful Post:
palmtree5 (July 17th, 2013)
sponsored links
Reply


Go Back   Android Forums > Android Development > Android System Mods, Scripts and Hacks
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.