Skip to content

crDroid Home goes into a crash loop if device is Android Go #998

@Lost-Entrepreneur439

Description

@Lost-Entrepreneur439

Issue type

Source code related

Device

LG Nexus 5 (hammerhead)

crDroid version

crDroid 12

Exact version / Build date

12.10/2026-05-19

Bug description

When crDroid is compiled for a device that has Android Go enabled, the launcher does not work, and just goes into a crash loop.

Steps to reproduce

  1. Compile crDroid with Android Go enabled
  2. Flash it onto your device
  3. Boot and complete setup
  4. Launcher goes into crash loop

Relevant log (logcat/build log)

time: 1779187069144
msg: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.launcher3/com.android.launcher3.Launcher3QuickStepGo}
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4500)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4703)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:224)
	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2965)
	at android.os.Handler.dispatchMessage(Handler.java:132)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9328)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
Caused by: android.view.InflateException: Binary XML file line #101 in com.android.launcher3:layout/launcher: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
	at com.android.quickstep.views.OverviewActionsView.updateVisibilities(OverviewActionsView.java:271)
	at com.android.quickstep.views.OverviewActionsView.onFinishInflate(OverviewActionsView.java:255)
	at com.android.quickstep.views.GoOverviewActionsView.onFinishInflate(GoOverviewActionsView.java:55)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1069)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1016)
	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1191)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1051)
	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1160)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1051)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1016)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1059)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1016)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:601)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
	at com.android.launcher3.statemanager.StatefulActivity.inflateRootView(StatefulActivity.java:73)
	at com.android.launcher3.Launcher.setupViews(Launcher.java:1299)
	at com.android.launcher3.uioverrides.QuickstepLauncher.setupViews(QuickstepLauncher.java:376)
	at com.android.launcher3.Launcher.onCreate(Launcher.java:474)
	at com.android.launcher3.uioverrides.QuickstepLauncher.onCreate(QuickstepLauncher.java:881)
	at android.app.Activity.performCreate(Activity.java:9306)
	at android.app.Activity.performCreate(Activity.java:9284)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1541)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4484)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4703)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:224)
	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2965)
	at android.os.Handler.dispatchMessage(Handler.java:132)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9328)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

Screenshots or videos

No response

Solution

If not fixable or not worth fixing (i understand theres not a lot of Go devices so it might not be worth fixing), just remove Launcher3Go and Launcher3QuickstepGo from packages/apps/Launcher3 and vendor/lineage. This is what I currently do for my unofficial builds for hammerhead.

Additional context

i understand this is an unofficial device, but since this is source related, I believe the issue is still valid.

Acknowledgements

  • I've checked device is officially supported and that no support is provided for unofficial devices (for device specific reports and not source related).
  • I'm running latest version available on crdroid.net for this device and that the device is still maintainer supported (not flagged unsupported on download page)
  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly and understand that not doing so will automatically result in closing of ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triagelabled for new issues in order to confirm viewed and directed properly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions