[TOOL] Advance Tool for Android™ - ADB and fastboot commands

Search This thread

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
One piece of script I use - because I tend forget to charge my phone...
I just plug it to pc and can forget it again...
Requires that the phone starts automatically when charged enough...
Add if you like the idea...

Code:
set/p passs= Pin: 
rem To remove the pin from the screen.
cls
echo Waiting for device...
adb wait-for-device
rem Let it start fully...
echo Waiting for 3 more minutes...
timeout /T 180
adb shell input text %passs%
adb shell input keyevent 66
set passs=
 

SwayWasTaken

Senior Member
Apr 3, 2019
134
101
msartore.dev
One piece of script I use - because I tend forget to charge my phone...
I just plug it to pc and can forget it again...
Requires that the phone starts automatically when charged enough...
Add if you like the idea...

Code:
set/p passs= Pin: 
rem To remove the pin from the screen.
cls
echo Waiting for device...
adb wait-for-device
rem Let it start fully...
echo Waiting for 3 more minutes...
timeout /T 180
adb shell input text %passs%
adb shell input keyevent 66
set passs=

Will it start automatically? or will it remain in the battery screen?
 

Heamnath

Senior Member
Jan 6, 2017
53
1
Chennai
Can you add wipe efs and modem partition?, if I am wrong , sorry. Because recently somehow my imei erased, so I have to flash original imei, wiping efs in poco is write protected, pls add the feature
 

Shivaji41

New member
Oct 27, 2017
1
0
Can I use this to unlocking bootloader of smart watches too?
I own mi watch which I am trying to unlock bootloader or get root access...
 

SwayWasTaken

Senior Member
Apr 3, 2019
134
101
msartore.dev
Can I use this to unlocking bootloader of smart watches too?
I own mi watch which I am trying to unlock bootloader or get root access...
I'm not very sure you can, but you can try to start ATA while the smartwatch is attached to your pc, if ATA detect your smartwatch you can try to reboot to fastboot and unlock it. (I never unlocked a smartwatch, so if you don't want to mess with it, don't do it. this is not a guide so all you do is under your responsibility)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    ata-tool.jpg

    ATA Tool Only for Windows and Linux

    Code:
    /*
     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     */

    This tool include adb.exe and fastboot.exe and Scrcpy. This tool currently only supports Windows and Linux, in future updates I might add support for macOS.

    Windows Versions:
    Windows ATA Tool v0.9.3.10072020:

    if the botton doesn't work click this link: https://github.com/MassimilianoSart...W/ATA-v0.9.3.10072020-for-Windows-By-Sway.zip

    Linux Versions:
    Linux ATA Tool v0.0.2.280920200:

    if the botton doesn't work click this link: https://github.com/MassimilianoSart...20L/ATA-v0.0.2.28092020-for-Linux-By-Sway.zip

    Windows Features:

    • UNLOCK BOOTLOADER
    • FORMAT DATA PARTITION (EXT4)
    • FORMAT DATA PARTITION (F2FS)
    • FLASH BOOT (only .img file)
    • FLASH BOOTLOADER (only .img file)
    • FLASH RADIO (only .img file)
    • FLASH RECOVERY (only .img file)
    • FLASH SYSTEM (only .img file)
    • FLASH VENDOR (only .img file)
    • FLASH CACHE (only .img file)
    • FLASH ROM (You must know what you are doing)
    • Check connected devices
    • Boot into ROM
    • Boot into recovery
    • REBOOT SMARTPHONE
    • REBOOT INTO THE RECOVERY
    • REBOOT INTO THE Fastboot/Bootloader
    • Check connected devices
    • Automate Apks installer
    • Check devices version connected
    • Install an app
    • Unistall an app (No System App)
    • Emulate device (Resize Screen)
    • Emulate device (Change Density)
    • Reset (Emulate device)
    • Screen Recording
    • Smarthphone Status
    • Change system info
    • Grant WRITE_SECURE_SETTINGS permission
    • Grant DUMP permission
    • Check for granted permissions
    • Create and run a program: keyevent Istruction https://developer.android.com/reference/android/view/KeyEvent.html
    • Scrcpy - Screen mirror
    • ADB over network working
    • Logcat and Display On Screen Only
    • Logcat and Record Text File Locally
    • "getevent" and Display On Screen Only
    • "getevent" and Record Text File Locally
    • View System Info (Data From build.prop, g.prop, and others)
    • Wireless debugging (only on Android 11)
    • adb backup and restore
    • input from keyboard to smartphone




    Linux Features:
    • Check connected devices
    • REBOOT SMARTPHONE
    • REBOOT INTO THE RECOVERY
    • REBOOT INTO THE Fastboot/Bootloader
    • Check devices version
    • Enable/Disable Dark Mode in Q
    • Device serial number

    Liked my work? Give me a beer




    Requirements

    1. To run Scrcpy the Android device requires at least API 21 (Android 5.0).
    2. Make sure you enabled adb debugging on your device(s). On some devices, you also need to enable an additional option


    Issues:
    Strange outputs?
    if you find strange outputs from commands, it's a know issue, you have to start again the command and it will work!

    Licence:
    ATA:
    • Copyright (C) 2019-2020 SwayWasTaken
    Scrcpy:
    • Copyright (C) 2018 Genymobile
    • Copyright (C) 2018-2020 Romain Vimont
    SDK Platform Tools:


    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.


    Links:
    ATA Tool source Download link: https://github.com/MassimilianoSartore/Advance-Tool-for-Android/archive/master.zip
    Scrcpy repository: https://github.com/Genymobile/scrcpy
    SDK Platform Tools link: https://developer.android.com/studio/releases/platform-tools.html
    Github page: https://github.com/MassimilianoSartore/Advance-Tool-for-Android-ADB-Tool-
    Donate link: https://www.paypal.me/SWayGaming
    Icon in the download botton: https://icons8.it
    PS : I am not responsible for bricked devices use ATA at your own risks!

    Android is a trademark of Google LLC.
    2
    This program was made with an Unlicensed compiler.
    Please buy the PRO version to distribute your EXE.

    Press any key to continue . . .

    Always these lame bat2exe converters.

    Why not people just distribute these as plain batch files I wonder...

    :rolleyes:
    2
    Thanks for your reply,
    Although, i did place the recovery in the script folder, my device issue isnt related to your tool.
    My fastboot dosent work. No commands work (except fastboot devices), mi flash dosent work, the only way to flash rom/ recovery is via edl.
    Do you have knowledge about this problem?
    Thanks again!

    no sorry
    2
    Sorry if I was a bit - well - a bit too me. I have just stumbled into these batexes maybe too many times. All sort of "kitchens" (what the heck, isn't there still a better word, really) use them, ASSAYYED, TOAD (open source? okay, maybe so***), Uppercut (several batexes inside each other, just plain weird..).
    Maybe they have their use but I haven't figured it out yet really.

    Great, now it's much smaller too... :good:

    ;)

    (*** the bat files can usually found from the temp folder when one runs these exes)
    2
    V 0.5

    Changelog:
    - some improvement under the hood, now the program will check if the device is connected

    Download:
    https://github.com/MassimilianoSartore/Advance-Tool-for-Android/archive/master.zip