Soft reboots after upgrading (fatal exception in system_server ActivityManager)


vient

Members
Jan 5, 2021
5
3
Hi! I have a problem with my Redmi K20 after upgrading from 11.0.2.0 to 12.0.6.0. After logging in it performs a soft reboot in ~15 seconds. What I found in adb logs is following exception:

Code:
01-06 16:22:29.373 22189 22233 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
01-06 16:22:29.373 22189 22233 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=91; index=10004
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at android.app.AppOpsManager$1.opChanged(Unknown Source:15)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.server.appop.AppOpsService.notifyOpChanged(Unknown Source:18)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.server.appop.AppOpsService.notifyOpChanged(Unknown Source:13)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.server.appop.AppOpsService.lambda$NDUi03ZZuuR42-RDEIQ0UELKycc(Unknown Source:0)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.server.appop.-$$Lambda$AppOpsService$NDUi03ZZuuR42-RDEIQ0UELKycc.accept(Unknown Source:18)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(Unknown Source:655)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(Unknown Source:125)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.internal.util.function.pooled.OmniFunction.run(Unknown Source:10)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at android.os.Handler.handleCallback(Unknown Source:2)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Unknown Source:4)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at android.os.Looper.loop(Unknown Source:242)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at android.os.HandlerThread.run(Unknown Source:28)
01-06 16:22:29.373 22189 22233 E AndroidRuntime:        at com.android.server.ServiceThread.run(Unknown Source:12)
01-06 16:22:29.378 22189 22233 I am_crash: [22189,0,system_server,-1,java.lang.ArrayIndexOutOfBoundsException,length=91; index=10004,NULL,15]
01-06 16:22:29.378 22189 22233 I DropBoxManagerService: add tag=system_server_crash isTagEnabled=true flags=0x2
01-06 16:22:29.384 22189 22233 I Process : Sending signal. PID: 22189 SIG: 9
after which all services die and soft reboot occurs. Is it a known problem? How can I proceed with resolving this issue?

I've attached a part of logcat -b all output which is from typing last password character to UI restart.

Sorry for reposting again but it seems to be more appropriate place than model-specific forum. Original post can be found here.
 

Attachments

  • adb_log.txt
    977.5 KB · Views: 421

vient

Members
Jan 5, 2021
5
3
I lurked around a bit and tried to:
  • wipe cache/dalvik cache/package cache
  • delete second space applications and account
with no avail.
 

vient

Members
Jan 5, 2021
5
3
Welp, I was tired of trying to understand how to debug or at least find system_server executable so I performed a normal wipe in TWRP (system reset?), problem is gone now.

Thanks everybody, I guess.