cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | adb root |
| 4 | wait ${!} |
Bruno Martins | da735e0 | 2021-01-31 21:27:54 +0000 | [diff] [blame] | 5 | if adb shell pm list packages | grep com.google.android.setupwizard; then |
| 6 | adb shell pm disable com.google.android.setupwizard || true |
| 7 | wait ${!} |
| 8 | fi |
| 9 | if adb shell pm list packages | grep com.android.provision; then |
| 10 | adb shell pm disable com.android.provision || true |
| 11 | wait ${!} |
| 12 | fi |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 13 | adb shell am start org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardTestActivity |