Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created August 19, 2019 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shakalaca/8bf69b5f677a056a648f72ca533ebce3 to your computer and use it in GitHub Desktop.
Save shakalaca/8bf69b5f677a056a648f72ca533ebce3 to your computer and use it in GitHub Desktop.
MagiskManager crash after patching boot.img
08-19 16:58:40.700 10186 10186 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-19 16:58:40.717 10186 10186 E AndroidRuntime: FATAL EXCEPTION: main
08-19 16:58:40.717 10186 10186 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 10186
08-19 16:58:40.717 10186 10186 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{f3bf030 position=17 id=-1, oldPos=11, pLpos:11 scrap [attachedScrap] tmpDetached not recyclable(1) no parent} androidx.recyclerview.widget.RecyclerView{83839cf VFED..... .F....ID 0,0-1080,1680 #7f0900ab app:id/flash_content}, adapter:me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapter@6a7df5c, layout:androidx.recyclerview.widget.LinearLayoutManager@8b05265, context:a.f@4372ab2
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:5953)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6137)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6097)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6093)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:4066)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3830)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4385)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1915)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at com.google.android.material.appbar.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:144)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at com.google.android.material.appbar.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:41)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1874)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:898)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at com.android.internal.policy.DecorView.onLayout(DecorView.java:758)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.View.layout(View.java:19590)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6053)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2488)
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2204)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1390)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6762)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:778)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:713)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:789)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.os.Looper.loop(Looper.java:169)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6585)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
08-19 16:58:40.718 10186 10186 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
08-19 16:58:40.725 1601 8224 W ActivityManager: Force finishing activity com.topjohnwu.magisk/a.f
08-19 16:58:40.726 1601 8224 D ActivityTrigger: ActivityTrigger activityPauseTrigger
08-19 16:58:40.734 1998 1998 D StatusBar: mTopActivityClassName:a.b
08-19 16:58:40.734 1601 1641 I ActivityManager: Showing crash dialog for package com.topjohnwu.magisk u0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment