Last active
August 29, 2015 13:56
-
-
Save joninvski/9345566 to your computer and use it in GitHub Desktop.
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
# Write on | |
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system | |
# Take a screenshot | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png | |
# verbose logging in sqlite | |
adb shell setprop log.tag.SQLiteLog V | |
adb shell setprop log.tag.SQLiteStatements V | |
adb shell stop | |
adb shell start | |
# Check dependencies of app subproject | |
$ ./gradlew app:dependencies --configuration "compile" | |
# Check the properties of the app subproject | |
$ ./gradlew app:properties | |
# Indent code with astyle | |
astyle --style=java --recursive \*.java | |
# | |
expect -c ' | |
set timeout -1 ; | |
spawn android update sdk -u; | |
expect { | |
"Do you accept the license" { exp_send "y\r" ; exp_continue } | |
eof | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment