I installed a fresh copy of Cyanogenmod 13 on my Nexus 4, and attempted to install Open GApps.
However, I was repeatedly presented with the errors: “SetupWizard has stopped working” and “Google Play Services has stopped working”.
I found the fix for SetupWizard here: http://www.deseret-tech.com/journal/cyanogenmod-13-nightly-setupwizard-has-stopped-working/
The solution is to run
adb shell to get shell access on the device, then to run the following to allow Google’s setup wizard to have the READ_PHONE_STATE permission.
Figuring the Google Play Services would be similar, I made sure USB debugging was enabled and ran
adb logcat on my machine to see what the error was:
Following the same rough logic as the SetupWizard issue, I can see that com.google.android.gms wants ACCESS_FINE_LOCATION.
So, I ran the following in