You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
384 B
Bash
16 lines
384 B
Bash
#!/bin/bash
|
|
|
|
adb root
|
|
wait ${!}
|
|
adb remount
|
|
wait ${!}
|
|
adb shell mount -o rw,remount /system
|
|
wait ${!}
|
|
adb push $1 /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
|
|
wait ${!}
|
|
adb shell chmod 644 /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
|
|
wait ${!}
|
|
adb shell chown root:root /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
|
|
wait ${!}
|
|
adb reboot
|