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.
15 lines
452 B
15 lines
452 B
#!/bin/bash
|
|
|
|
adb root
|
|
wait ${!}
|
|
adb shell pm enable com.google.android.setupwizard || true
|
|
wait ${!}
|
|
if adb shell pm list packages | grep com.android.provision; then
|
|
adb shell pm disable com.android.provision || true
|
|
wait ${!}
|
|
fi
|
|
adb shell am start org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardTestActivity
|
|
wait ${!}
|
|
sleep 1
|
|
adb shell am start com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardTestActivity
|