J'essaie de flasher la version stable Xiaomi EU de MIUI 10 sur mon Redmi Note 4 MTK.
- TWRP :
3.0.2
- ROM :
Xiaomi EU MIUI 10 (HMNote4_V10.2.1.0)
- Gapps :
arm64-6.0-nano
Après un premier flash avec effacement complet, il est resté bloqué dans l'assistant d'installation à la sélection de la carte SIM avec Unfortunately, Setup Wizard has stopped
erreur.
Message d'erreur Java :
java.lang.IncompatibleClassChangeError: The method 'void android.telephony.SubscriptionManager.setDefaultDataSubld(int)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'com.google.android.setupwizard.carrier.SimSetupActivity$SetSimDataFragment' appears in /system/priv-app/SetupWizard/SetupWizard.apk)
at com.google.android.setupwizard.carrier.SimSetupActivity$SetSimDataFragment.apply(SimSetupActivity.java:166)
at com.google.android.setupwizard.carrier.SimSetupActivity$SimSetupFragment.applySelection(SimSetupActivity.java:326)
at com.google.android.setupwizard.carrier.SimSetupActivity$SetSimDataFragment.applySelection(SimSetupActivity.java)
at com.google.android.setupwizard.carrier.SimSetupActivity.start(SimSetupActivity.java:93)
at com.google.android.setupwizard.BaseActivity.onNextPressed(BaseActivity.java:378)
at com.google.android.setupwizard.BaseActivity.onNavigateNext(BaseActivity.java:660)
at com.android.setupwizardlib
Puis je l'ai re-flashé sans wipes. Et une autre erreur est apparue - Unfortunately, Settings has stopped
Message d'erreur Java :
java.lang.RuntimeException:
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.wifi.WifiSetupActivity}:
java.lang.lllegalStateException: You need to use a miui theme (or descendant) with this activity.
at android.app.ActivityThread.performLaunchActivity(Activity Thread.java)
at android.app.ActivityThread.handleLaunchActivity(Activity Thread.java)
at android.app.ActivityThread.access$1100(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygotelnit$MethodAndArgsCaller.run(Zygotelnit.java)
at com.android.internal.os.Zygotelnit.main(Zygotelnit.java)
Caused by: java.lang.lllegalStateException: You need to use a miui theme (or descendant) with this activity.
at com. miui.internal.app.ActivityDelegate.installSubDecor(SourceFile)
at com.miui.internal.app.ActivityDelegate.onCreate(SourceFile)
at miui.app.Activity.onCreate(SourceFile)
at com.android.settings.kg.onCreate(SettingsActivity.java)
at com.android.settings.wifi.WifiSetupActivity.onCreate(WifiSetupActivity.java)
at android.app.Activity.performCreate(Activity.java)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
... 10 more
Que faire pour résoudre ce problème ?