You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
627 B
18 lines
627 B
set -e
|
|
|
|
# Build both our APK and APEX combined together
|
|
./build/soong/soong_ui.bash --make-mode -j64 MediaProviderLegacy com.google.android.mediaprovider
|
|
|
|
# Push our updated APEX to device, then force apexd to remount it
|
|
adb shell stop
|
|
adb remount
|
|
adb sync
|
|
adb shell umount /apex/com.android.mediaprovider*
|
|
adb shell rm -rf /data/apex/active/com.android.mediaprovider*
|
|
adb shell rm -rf /data/apex/decompressed/com.android.mediaprovider*
|
|
adb shell setprop apexd.status '""'
|
|
adb shell setprop ctl.restart apexd
|
|
adb shell rm -rf /system/priv-app/MediaProvider
|
|
adb shell rm -rf /system/priv-app/MediaProviderGoogle
|
|
adb shell start
|