Created
October 13, 2017 06:37
-
-
Save pkozlovskiy/a08fb848d5de3687a68351c8e1b59b12 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
#!/bin/bash | |
#scp [email protected]:/media/aosp/android-7.1.2_r33/out/target/product/bullhead/system/priv-app/SystemUI/SystemUI.apk $(pwd) | |
adb shell pkill -TERM -f com.android.systemui | |
adb remount | |
adb push SystemUI.apk /system/priv-app/SystemUI/SystemUI.apk | |
adb shell pkill -TERM -f com.android.systemui | |
adb shell chmod 0644 /system/priv-app/SystemUI/SystemUI.apk | |
sleep 2 | |
adb shell am startservice -n com.android.systemui/.SystemUIService |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment