Zdravím, řeším takový problém. Poslední verze kterou jsem měl nainstalovanou bylo 20.11.18 s verzí TWRP 3.4.0.0. Řeším to že když jsem chtěl instalovat verzi 20.12.2 nedokázal jsem rozšifrovat uložiště heslem které jsem zvolil jako zámek obrazovky pokud si dobře pamatuji tak to tak funguje. Poté jsem udělal wipe dat a zkusil to znovu nastavit tak abych si byl jistý že to je chyba někde při instalaci dal jsem heslo 1234 a i tak jsem se potom už do TWRP nedostal. Má někdo podobné zkušenosti? Je třeba lepší použít starší verzi TWRP ?
Kód: Pre zobrazenie URL sa musíte prihlásiť
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.home/com.miui.home.recents.RecentsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.miui.home.launcher.Launcher.isWindowFocus()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:134)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.miui.home.launcher.Launcher.isWindowFocus()' on a null object reference
at com.miui.home.recents.views.RecentsView.loadTaskStack(Unknown Source:29)
at com.miui.home.recents.views.RecentsView.reloadStackView(Unknown Source:3)
at com.miui.home.recents.views.RecentsView.showCurrentTask(Unknown Source:3)
at com.miui.home.recents.AppToOverviewAnimationProvider.onActivityReady(Unknown Source:25)
at com.miui.home.recents.OverviewCommandHelper$RecentsActivityCommand.onActivityReady(Unknown Source:2)
at com.miui.home.recents.OverviewCommandHelper$RecentsActivityCommand.lambda$x04l5b2P_FPCg22IymqGOAyQ_u8(Unknown Source:0)
at com.miui.home.recents.-$$Lambda$OverviewCommandHelper$RecentsActivityCommand$x04l5b2P_FPCg22IymqGOAyQ_u8.test(Unknown Source:6)
at com.miui.home.recents.RecentsActivityTracker.init(Unknown Source:6)
at com.miui.home.recents.RecentsActivityTracker.access$200(Unknown Source:0)
at com.miui.home.recents.RecentsActivityTracker$Scheduler.initIfPending(Unknown Source:11)
at com.miui.home.recents.RecentsActivityTracker.onRecentsActivityCreate(Unknown Source:10)
at com.miui.home.recents.RecentsActivity.onCreate(Unknown Source:6)
at android.app.Activity.performCreate(Unknown Source:77)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
... 11 more