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.
 
 
 

16 lines
384 B

  1. #!/bin/bash
  2. adb root
  3. wait ${!}
  4. adb remount
  5. wait ${!}
  6. adb shell mount -o rw,remount /system
  7. wait ${!}
  8. adb push $1 /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
  9. wait ${!}
  10. adb shell chmod 644 /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
  11. wait ${!}
  12. adb shell chown root:root /system/priv-app/CyanogenSetupWizard/CyanogenSetupWizard.apk
  13. wait ${!}
  14. adb reboot