My Unofficial crDroid Build for Xiaomi Mi 10S

2025-05-15T21:32:24+08:00

There is an official crDroid ROM for wayne, but the maintainer has bundled a f*cking bullshit proprietary malware MIUI camera, and as a free software advocate, I firmly reject it.

Then I have rebuilt crDroid for thyme from the device tree, kernel and vendor from LineageOS and published this unofficial ROM.

Bug: When editing QS tiles, the System UI crashes. Logs below (I am not a professional developer, if you know the fix, please contact me, any help will be greatly appreciated):

[ 05-15 20:41:44.930 31358:31358 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: com.android.systemui, PID: 31358
java.lang.UnsupportedOperationException: 
 at android.os.Parcel.createExceptionOrNull(Parcel.java:3273)
 at android.os.Parcel.createException(Parcel.java:3245)
 at android.os.Parcel.readException(Parcel.java:3228)
 at android.os.Parcel.readException(Parcel.java:3170)
 at vendor.lineage.powershare.IPowerShare$Stub$Proxy.isEnabled(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:26)
 at com.android.systemui.qs.tiles.PowerShareTile.refreshState(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:32)
 at com.android.systemui.qs.tileimpl.QSTileImpl.onPowerSaveChanged(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:1)
 at com.android.systemui.statusbar.policy.BatteryControllerImpl.addCallback(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:28)
 at com.android.systemui.qs.tiles.PowerShareTile.<init>(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:132)
 at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get10(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:65)
 at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:51)
 at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTile(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:17)
 at com.android.systemui.qs.customize.QSCustomizerController.show(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:348)
 at com.android.systemui.qs.QSPanelController$$ExternalSyntheticLambda1.run(go/retraceme fa7c6b731c22dc952b51df16dc62000ff145241869e9c80e04f72a46cb355027:37)
 at android.os.Handler.handleCallback(Handler.java:991)
 at android.os.Handler.dispatchMessage(Handler.java:102)
 at android.os.Looper.loopOnce(Looper.java:232)
 at android.os.Looper.loop(Looper.java:317)
 at android.app.ActivityThread.main(ActivityThread.java:8935)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

Download the builds here.

I have made a minor change to the device tree and the source code is available here. Other source code (including android, kernel and vendor) is available on LineageOS's GitHub and crDroid's GitHub