Nestor Kwak
d800cecc66
Useful to quickly test modifications on a system where the wizard already run.
16 lines
384 B
Bash
Executable File
16 lines
384 B
Bash
Executable File
#!/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
|