-
-
Save vmx/6545554da37b8d68730728297daa3438 to your computer and use it in GitHub Desktop.
compile, push, and start SystemUI.apk
This file contains hidden or 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 | |
# Works for me on Android 7.0 (Nougat) | |
# You might need to edit `frameworks/base/packages/SystemUI/Android.mk` and add | |
# `LOCAL_JACK_FLAGS := --multi-dex native` to the `SYSTEM_UI_INCREMENTAL_BUILDS` | |
# case | |
. build/envsetup.sh | |
SYSTEM_UI_INCREMENTAL_BUILDS=true make -j 4 | |
adb start-server | |
adb shell pkill -TERM -f com.android.systemui | |
adb remount | |
adb push $OUT/system/priv-app/SystemUI/SystemUI.apk /system/priv-app/SystemUI/SystemUI.apk | |
adb shell pkill -TERM -f com.android.systemui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment