Sunday, February 28, 2016

How to restore UI in stock Lollipop 5.1 with GApps removed?

Hi, I'm new to Android and learning how it works by customizing stock-based 5.1 ROM for Moto G 4G 1st gen (XT1039 aka Peregrine). My current aim is to strip it down to bare usable and stable minimum. So far I removed a lot of bloat and got to the point where there are only 4 Google apps left:

- GmsCore,
- GoogleServicesFramework
- SetupWizard
- SetupWizardExt

When I remove them, and add a build.prop line "ro.setupwizard.mode=DISABLED" that disables initial setup everything still seems to work fine - the only problem is UI dysfunction. The Home button is not working (there's no action assigned to it) and quick settings disappear from notifications area. During my research I found an information that these functions are disabled by default to prevent user "escaping" Setup Wizard with Home button or accessing settings before the initial setup is done. Even when disabled in build.prop Setup Wizard still gives some kind of "signal" to Gms Core during initial boot that UI can be unlocked which means the 4 listed Google apps must be included into ROM to make everything work. My question is if there's any way around it. Can you remove all GApps from the rom, install it, boot and somehow restore Home button, quick settings and other things that could be missing?

Thank you.


from xda-developers http://ift.tt/1Tgh4j2
via IFTTT

No comments:

Post a Comment