Search code examples
androidadb

How to remove the Setup Wizard app in Android 4+?


I need to bypass the setup wizard on my Nexus 5 running 4.4 only using ADB as my digitizer and screen are broken. I just want to find the Setup Wizard app and remove it via ADB. Does anyone know how to do this?


Solution

  • The wizard is inside the "GoogleServiceFramework.apk", in the system/app folder. You need to root and remount your system to rw to delete the apk. But after you delete it, you cannot use any Goolge service.

    However, the mechanism behind this setup wizard is simple. It just declares that it is also a "HOME" application with priority=2. So you can just use package manager (pm) on adb shell to disable the wizard start up activity. Then you can see the normal home application directly.