With my S4 running CM13 I'm now getting this error,
Unfortunately, Setup Wizard has stopped.
How do I resolve it?
With my S4 running CM13 I'm now getting this error,
Unfortunately, Setup Wizard has stopped.
How do I resolve it?
Here is a method that you can do without whiping,
System
)/system/priv-app/Setup-Wizard
/system
is empty. Is it because of the android versionn?
I noticed when clicking report
that the issue was a permissions issue.
using adb shell dumpsys package com.google.android.setupwizard
you will see two lists related to permissions, one requested permissions, and one install permissions.
Comparing these lists, there were 8 items requested, but not installed. I fixed this using:
pm grant com.google.android.setupwizard android.permission.CALL_PHONE
pm grant com.google.android.setupwizard android.permission.GET_ACCOUNTS
pm grant com.google.android.setupwizard android.permission.PROCESS_OUTGOING_CALLS
pm grant com.google.android.setupwizard android.permission.READ_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_PHONE_STATE
pm grant com.google.android.setupwizard android.permission.WRITE_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_OWNER_DATA
pm grant com.google.android.setupwizard android.permission.WRITE_OWNER_DATA
Note that the last two items gave an error message: Bad argument: java.lang.IllegalArgumentException: Unknown permission: android.permission.READ_OWNER_DATA
.
But ignoring those, now my phone worked again.
I tried all the solutions listed here, and in my case they didn't work. Removing the setupwizard alltogether did work, but it also broke multiuser functionality (apparently the default user gets created in the wizard, and without the user you can't create more users!). Also the home-button and square-button didn't work at all. So I decided to flash the image again and solve the problem instead of curing the symptoms.
In my case, I had to get into the settings menu and enable+connect to WiFi. Apparently the wizard "forgets" to show the connect to wifi dialog! Getting into the settings menu took a few tries, but it's absolutely doable.
Once I was connected to wifi, it worked as it should. I'm running AOSP 7.1.2 on a Nexus 7 2012.
adb
installed and working (assuming it is available in PATH).adb root
adb shell 'pm disable com.google.android.setupwizard'
If you don't have root or if adb root
fails, then you can use instead adb shell 'pm hide com.google.android.setupwizard'
.
NOTE: This problem usually happens when installing a major CM update without wiping the data partition, so probably a cleaner solution would be backing up all the relevant apps, doing a clean install, installing the correct version of gapps, and then restoring your app data from backups.
For me this solution worked. It might be annoying as you have to do all the clicks in between the Setup Wizard error messages.
And yes, this method will work in all the versions of android (including 7.1.1-Tested)
The error message disappeared as soon as I did this. Hope it helps ;)