Notes for CMSetupWizard - opengapps/opengapps GitHub Wiki
If you use the CMSetupWizard
keyword to remove CyanogenMod's SetupWizard, but not have set-up your device yet, you will be hit by the issue that the pull-down Quick Settings menu doesn't work anymore (See CM bug #2889).
This issue exists because CyanogenMod decided (see CM bug #2431) that the Quick Settings should only be shown if their own provision database key CM_SETUP_WIZARD_COMPLETED
has been set, instead of sticking to Google's and AOSP's key DEVICE_PROVISIONED
.
Google's SetupWizard obviously does not set CM's key, thus you 'need' the CyanogenMod SetupWizard.
So either you need to keep CMSetupWizard installed for at least the first boot, or you need to apply a manual workaround, or you need to patch the ROM.
Affected ROMs
CyanogenMod 13 and LineageOS 13 or those based on them (the CM14+ codebase used Google's new Quick Settings code, resolving it).
Workarounds (requires root)
-
The following may be executed from a command prompt in booted Android, and is only necessary once:
su -c 'settings --cm put secure cm_setup_wizard_completed 1'
-
Flash the CMSetup Fix for GApps Installer zip by osm0sis via custom recovery to install a su.d script that will automatically execute the above command at the appropriate time following first boot. It is available in his xda-developers Odds and Ends thread.
Patch
TODO
As for now LineageOS removed this in favor of USER_SETUP_COMPLETE
https://review.lineageos.org/#/q/branch:cm-14.1+CM_SETUP_WIZARD_COMPLETED
It's unclear whether this will be tied to and thus breaking any features going forward.