Created
October 4, 2014 14:04
-
-
Save akamud/4b8d5518b1af86431737 to your computer and use it in GitHub Desktop.
Script to extract android database files without root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
color 0a | |
title Extractor | |
if [%1]==[] ( | |
echo Nome do aplicativo nao especificado... | |
echo. | |
echo Operation Failed! | |
) else ( | |
echo Please connect your Android device with USB Debugging enabled: | |
echo. | |
bin\adb.exe wait-for-device | |
bin\adb.exe backup -f tmp\backup.ab -noapk %1 | |
if exist tmp\backup.ab ( | |
echo. | |
java -jar bin\abe.jar unpack tmp\backup.ab tmp\backup.tar | |
bin\tar xvf tmp\backup.tar -C tmp\ apps/ | |
echo Cleaning up temporary files ... | |
echo. | |
del tmp\backup.ab /s /q | |
del tmp\backup.tar /s /q | |
echo Done! | |
) else ( | |
echo Operation Failed! | |
) | |
) | |
timeout /t 1500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment