Jump to content

ADB & Fastboot tool


dragonheard
 Share

Recommended Posts

Hello everyone,

I've been working on an android tool which helps with some (basic) stuff in ADB and Fastboot.

Features:

Install adb and fastboot (downloads the setup n installs it)

adb:

Reboot: Device (normal), Recovery, Bootloader

Install apps

Fastboot

Flash: kernel, Recovery

Reboot Device(normal), Bootloader

 

Well that's it for now...

To be added:

Maybe a tutorial how to flash roms?

comment anything usefull and i'll try to add it

Bugs:
There's this weird bug which occurs as soon as you click adb/fastboot/install or close a newly opened GUI window.

The script will pause and you won't be able to click anything anymore... you even have to close it via the icon bar in the lower right corner.. ( I would greatly appreciate any help on this as i currently am unable to find the reason for this to happen)

That's it for the bugs as far as i know.

Find any new bugs? glitches? comment below and i'll see what i can do

any help with the code itself would also be appreciated as it's a bit messy right now =/

 

Download:

https://www.mediafire.com/?m369j3xeyffmu51

This contains both the source and the program itself.

source = ADB.au3

 

virus scan:

https://www.virustotal.com/nl/file/b5bc565da3f842d3b750b5d734b0fc5731ec0fb0fc9c1c9932f2634db4c4403b/analysis/1398722313/

 

dh.
 

Link to comment
Share on other sites

I recommend changing this:

Case $Install
            Call("download", "https://dl.dropboxusercontent.com/s/vr0dk0tegjefyg3/adb-setup-1.2.exe?dl=1&token_hash=AAHFEATGWfb_rAqmrd4Jr_p_8isUDqw0xFnbjYRtVKspjg", @TempDir & "\adbinstaller.exe")

To This:

Case $Install
            download("https://dl.dropboxusercontent.com/s/vr0dk0tegjefyg3/adb-setup-1.2.exe?dl=1&token_hash=AAHFEATGWfb_rAqmrd4Jr_p_8isUDqw0xFnbjYRtVKspjg", @TempDir & "\adbinstaller.exe")

There isn't much of a need to use the call function.  Especially if you want to ever obfuscate this script in the future.

Also... the reason your gui gets stuck after you go into any of the buttons is because you are having them stuck in an infinite loop.  You need to place an ExitLoop command at the end of each Case in your secondary While WEnd loops. ;-)

Hope this helps.

Proph

Link to comment
Share on other sites

I recommend changing this:

Case $Install
            Call("download", "https://dl.dropboxusercontent.com/s/vr0dk0tegjefyg3/adb-setup-1.2.exe?dl=1&token_hash=AAHFEATGWfb_rAqmrd4Jr_p_8isUDqw0xFnbjYRtVKspjg", @TempDir & "\adbinstaller.exe")

To This:

Case $Install
            download("https://dl.dropboxusercontent.com/s/vr0dk0tegjefyg3/adb-setup-1.2.exe?dl=1&token_hash=AAHFEATGWfb_rAqmrd4Jr_p_8isUDqw0xFnbjYRtVKspjg", @TempDir & "\adbinstaller.exe")

There isn't much of a need to use the call function.  Especially if you want to ever obfuscate this script in the future.

Also... the reason your gui gets stuck after you go into any of the buttons is because you are having them stuck in an infinite loop.  You need to place an ExitLoop command at the end of each Case in your secondary While WEnd loops. ;-)

Hope this helps.

Proph

Thanks a lot :D

+ i forgot to remove that call i was working on removing all of them seems i overlooked one,

i'll add the exitloop to check if it works :)

 

 

edit: exitloop works but whenever i try to reboot trough ADB it opens another ADB gui =/

Edited by dragonheard
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...