New [mi2s] Random Shutdown/restart On Latest Fw


Mirio

Members
Oct 16, 2017
5
1
Hi,
I have an issue with latest FW (7.9.21-7.10.12) the phone shutdown/restart randomly without any message (usually during night). I can't get the logcat because when the phone is restarted the logcat is clear.

Any tips?

This is info about the phone:
-----
Model: Xiaomi Mi2s
Android version: 5.0.2 LRX22G
Miui version: Miui 9 by xiaomi eu (7.10.12)
Ram: 2G
Kernel: 3.4.0-perf-....
Root: Yes (Magisk 14.0)
Recovery: TWRP 2.7.8 (merged partition)
-----
 
I've captured logcat after crash.
Below the errors:

Code:
[ 10-16 20:21:52.892 27460:27541 D/miuiweather_update_in_background ]
location_update_is_success=location_update_success

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
org.json.JSONException: No value for brandInfo

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at org.json.JSONObject.get(JSONObject.java:389)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at org.json.JSONObject.getJSONObject(JSONObject.java:609)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.source.WeatherReader.parseBrandInfo(WeatherReader.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.structures.WeatherData.<init>(WeatherData.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.model.WeatherSession.updateAllBackgroundWeatherNet(WeatherSession.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.service.WeatherUpdater.run(WeatherUpdater.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.service.ServiceJob.doMyJob(ServiceJob.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at com.miui.weather2.service.UpdateService.onHandleIntent(UpdateService.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:22:20.530 27460:27541 W/System.err ]
    at android.os.HandlerThread.run(HandlerThread.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
org.json.JSONException: No value for brandInfo

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at org.json.JSONObject.get(JSONObject.java:389)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at org.json.JSONObject.getJSONObject(JSONObject.java:609)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.source.WeatherReader.parseBrandInfo(WeatherReader.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.structures.WeatherData.<init>(WeatherData.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.tools.WeatherDB.generateWeatherData(WeatherDB.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.tools.WeatherDB.getBackgroundWeatherData(WeatherDB.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.tools.WeatherDB.getWeatherDataLocalByPidArray(WeatherDB.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.model.WeatherSession.getWeatherDataLocalByCityId(WeatherSession.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.model.WeatherSession.updateAllBackgroundWeatherNet(WeatherSession.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.service.WeatherUpdater.run(WeatherUpdater.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.service.ServiceJob.doMyJob(ServiceJob.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at com.miui.weather2.service.UpdateService.onHandleIntent(UpdateService.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:22:20.680 27460:27541 W/System.err ]
    at android.os.HandlerThread.run(HandlerThread.java)

[ 10-16 20:22:20.700 27572:27572 I/ServiceManager ]
Waiting for service AtCmdFwd...

Code:
[ 10-16 20:24:02.690 27699:27771 E/MiuiGallery2_CloudControl.ProfileCache ]
Failed to load from local file, errorClause: com.google.gson.stream.MalformedJsonException: Unterminated object at line 281 column 13, errorMessage: com.google.gson.stream.MalformedJsonException: Unterminated object at line 281 column 13.

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 281 column 13

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.Streams.parse(Streams.java:56)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.Gson.fromJson(Gson.java:803)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.Gson.fromJson(Gson.java:768)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.miui.gallery.cloudcontrol.ProfileCache.loadFromLocalFile(ProfileCache.java)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.miui.gallery.cloudcontrol.ProfileCache.load(ProfileCache.java)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.miui.gallery.cloudcontrol.CloudControlManager$1.doInBackground(CloudControlManager.java)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.miui.gallery.cloudcontrol.CloudControlManager$1.doInBackground(CloudControlManager.java)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at android.os.AsyncTask$2.call(AsyncTask.java)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at java.lang.Thread.run(Thread.java:818)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 281 column 13

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    at com.google.gson.internal.Streams.parse(Streams.java:44)

[ 10-16 20:24:02.690 27699:27771 W/System.err ]
    ... 15 more

[ 10-16 20:24:02.690 27699:27771 D/MiuiGallery2_CloudControlManager ]
Load cache costs 151 ms.

[ 10-16 20:24:02.720 27572:27572 I/ServiceManager ]
Waiting for service AtCmdFwd...

Code:
[ 10-16 20:34:19.965  1136: 1136 D/StatusBar ]
 GroupChild: false  GroupsContainsKey: false  IsUpdate: false IsGroupSummary: false hasIcon: true

[ 10-16 20:34:19.965  1136: 1136 V/ExpandedNotification ]
push score:0.0, local score:0.0, pkg:android

[ 10-16 20:34:19.965  1136: 1278 W/System.err ]
java.lang.NoSuchMethodException: buzzBeepBlinkForNotification [class java.lang.String]

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at java.lang.Class.getMethod(Class.java:664)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at java.lang.Class.getMethod(Class.java:643)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at com.android.systemui.statusbar.phone.PhoneStatusBar.beep(PhoneStatusBar.java)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at com.android.systemui.statusbar.phone.PhoneStatusBar.access$5300(PhoneStatusBar.java)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at com.android.systemui.statusbar.phone.PhoneStatusBar$W.handleMessage(PhoneStatusBar.java)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:34:19.975  1136: 1278 W/System.err ]
    at android.os.HandlerThread.run(HandlerThread.java)

Code:
[ 10-16 20:37:38.800  1212: 1212 D/wpa_supplicant ]
netlink: Operstate: ifindex=28 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)

[ 10-16 20:37:38.810 30726:30726 E/whetstone.activity ]
java.lang.NoSuchFieldException: ACTION_DEVICE_IDLE_MODE_CHANGED
    at java.lang.Class.getDeclaredField(Class.java:886)
    at com.miui.whetstone.server.WhetstoneActivityManagerService.<init>(WhetstoneActivityManagerService.java)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    at miui.util.ReflectionUtils.newInstance(ReflectionUtils.java)
    at miui.util.ReflectionUtils.tryNewInstance(ReflectionUtils.java)
    at com.android.server.SystemServerInjector.addExtraServices(SystemServerInjector.java)
    at com.android.server.SystemServer.startOtherServices(SystemServer.java)
    at com.android.server.SystemServer.run(SystemServer.java)
    at com.android.server.SystemServer.main(SystemServer.java)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)


[ 10-16 20:37:38.820 30726:30726 W/System.err ]
java.lang.UnsatisfiedLinkError: Library tida not found; tried [/vendor/lib/libtida.so, /system/lib/libtida.so]

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.Runtime.loadLibrary(Runtime.java:395)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.System.loadLibrary(System.java:989)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.miui.server.TidaService.<clinit>(TidaService.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.Class.classForName(Native Method)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.Class.forName(Class.java:308)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.Class.forName(Class.java:272)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.server.SystemServerInjector.addExtraServices(SystemServerInjector.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.server.SystemServer.startOtherServices(SystemServer.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.server.SystemServer.run(SystemServer.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.server.SystemServer.main(SystemServer.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.reflect.Method.invoke(Native Method)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at java.lang.reflect.Method.invoke(Method.java:372)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

[ 10-16 20:37:38.820 30726:30726 W/System.err ]
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

[ 10-16 20:37:38.820 30726:30726 E/whetstone.activity ]
java.lang.NoSuchFieldException: ACTION_DEVICE_IDLE_MODE_CHANGED
    at java.lang.Class.getDeclaredField(Class.java:886)
    at com.miui.whetstone.server.WhetstoneActivityManagerService.<init>(WhetstoneActivityManagerService.java)
    at com.android.server.SystemServer.startOtherServices(SystemServer.java)
    at com.android.server.SystemServer.run(SystemServer.java)
    at com.android.server.SystemServer.main(SystemServer.java)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

Code:
[ 10-16 20:37:43.755 31263:31263 W/System.err ]
java.io.FileNotFoundException: /sys/module/lowmemorykiller/parameters/minfree: open failed: EACCES (Permission denied)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at libcore.io.IoBridge.open(IoBridge.java:456)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at java.io.FileInputStream.<init>(FileInputStream.java:76)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.autoClean.entry.AutoCleanEntry.updateMinLevelOnInit(Unknown Source)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.autoClean.entry.AutoCleanEntry.<init>(Unknown Source)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.autoClean.entry.AutoCleanEntry.makeInstance(Unknown Source)

[ 10-16 20:37:43.755 31024:31865 D/AppActivityService ]
onCreate context : com.miui.securitycenter.dynamic.app.AppActivityService@f684cf3

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.server.WhetstoneService.<init>(Unknown Source)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.server.WhetstoneService.getInstance(Unknown Source)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.miui.whetstone.WhetstoneApplication.onCreate(Unknown Source)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.app.ActivityThread.access$1600(ActivityThread.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at android.app.ActivityThread.main(ActivityThread.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at java.lang.reflect.Method.invoke(Native Method)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at java.lang.reflect.Method.invoke(Method.java:372)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at libcore.io.Posix.open(Native Method)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    at libcore.io.IoBridge.open(IoBridge.java:442)

[ 10-16 20:37:43.755 31263:31263 W/System.err ]
    ... 18 more

Code:
[ 10-16 20:37:42.189 30891:32142 I/XLDownloadManager ]
NetworkChangeHandlerThread bssid=36:b5:c2:38:20:62 [XLDownloadManager.java:-1 - com.xunlei.downloadlib.XLDownloadManager$NetworkChangeHandlerThread.run] []

[ 10-16 20:37:42.199 30891:32142 W/System.err ]
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference

[ 10-16 20:37:42.199 30891:32142 W/System.err ]
    at com.xunlei.downloadlib.XLUtil.getNetWorkCarrier(XLUtil.java)

[ 10-16 20:37:42.199 30891:32142 W/System.err ]
    at com.xunlei.downloadlib.XLDownloadManager$NetworkChangeHandlerThread.run(XLDownloadManager.java)

[ 10-16 20:37:42.199 30891:32142 W/System.err ]
    at java.lang.Thread.run(Thread.java:818)

[ 10-16 20:37:42.199 30891:32142 I/XLDownloadManager ]
NetworkChangeHandlerThread NetWorkCarrier=UNKNOWN [XLDownloadManager.java:-1 - com.xunlei.downloadlib.XLDownloadManager$NetworkChangeHandlerThread.run] []

[ 10-16 20:37:42.219 30726:32067 D/         ]
jboolean locAlarmSvc::native_register(JNIEnv*, jobject)]62

Code:
[ 10-16 20:37:43.850 31024:32340 D/ShutdownOnService ]
ACTION_RESET_SHUTDOWNTIME

[ 10-16 20:37:43.860 31574:32323 E/Analytics-Api-SysAnalytics ]
getVersionName exception:
java.lang.IllegalArgumentException: Service not registered: com.xiaomi.analytics.internal.a.c$1@3e6dc19b
    at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java)
    at android.app.ContextImpl.unbindService(ContextImpl.java)
    at android.content.ContextWrapper.unbindService(ContextWrapper.java)
    at com.xiaomi.analytics.internal.a.c.G(SourceFile:77)
    at com.xiaomi.analytics.internal.a.c.getVersionName(SourceFile:160)
    at com.xiaomi.analytics.internal.a.c.m(SourceFile:172)
    at com.xiaomi.analytics.internal.c$2.run(SourceFile:175)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)


[ 10-16 20:37:43.890 31816:31816 I/CrashlyticsCore ]
Initializing Crashlytics 2.3.8.97


[ 10-16 20:37:44.000 31587:31587 D/PhoneInterfaceManager ]
[PhoneIntfMgr] publish: com.android.phone.PhoneInterfaceManager@2b765b0d

[ 10-16 20:37:44.000 30726:30865 F/Environment ]
Path requests must specify a user by using UserEnvironment
java.lang.Throwable
    at android.os.Environment.throwIfUserRequired(Environment.java)
    at android.os.Environment.getExternalStorageDirectory(Environment.java)
    at android.miui.Shell.<clinit>(Shell.java)
    at miui.security.SecurityManagerCompat.writeQcomBootTime(SecurityManagerCompat.java)
    at miui.security.SecurityManagerCompat.writeBootTime(SecurityManagerCompat.java)
    at com.miui.server.SecurityManagerService$SecurityWriteHandler.handleMessage(SecurityManagerService.java)
    at android.os.Handler.dispatchMessage(Handler.java)
    at android.os.Looper.loop(Looper.java)
    at android.os.HandlerThread.run(HandlerThread.java)


[ 10-16 20:37:44.010 31574:31574 W/System.err ]
java.io.FileNotFoundException: cloudcontrol/Network.default.json

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at android.content.res.AssetManager.openAsset(Native Method)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at android.content.res.AssetManager.open(AssetManager.java)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at android.content.res.AssetManager.open(AssetManager.java)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.LocalDefaultConfigs.load(LocalDefaultConfigs.java:43)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.LocalDefaultConfigs.getVersion(LocalDefaultConfigs.java:82)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.ModuleConfigApplier.mergeLocalConfig(ModuleConfigApplier.java:49)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.ModuleConfigApplier.apply(ModuleConfigApplier.java:42)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.PerfModuleConfigs.apply(PerfModuleConfigs.java:176)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.cloudcontrol.PerfModuleConfigs.getString(PerfModuleConfigs.java:302)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.strategy.ServiceStrategy.checkDefaultServiceCloudConfig(ServiceStrategy.java:231)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.system.am.SysoptManager.<init>(SysoptManager.java:83)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.system.am.SysoptManager.getInstance(SysoptManager.java:92)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at com.miui.daemon.performance.SysoptService.onCreate(SysoptService.java:22)

[ 10-16 20:37:44.010 31574:31574 W/System.err ]
    at android.app.ActivityThread.handleCreateService(ActivityThread.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at android.app.ActivityThread.access$1900(ActivityThread.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at android.app.ActivityThread.main(ActivityThread.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at java.lang.reflect.Method.invoke(Native Method)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at java.lang.reflect.Method.invoke(Method.java:372)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

[ 10-16 20:37:44.020 31574:31574 W/System.err ]
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

[ 10-16 20:37:44.030 31574:32323 E/Analytics-Api-SysAnalytics ]
getVersionName exception:
java.lang.IllegalArgumentException: Service not registered: com.xiaomi.analytics.internal.a.c$1@3e6dc19b
    at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java)
    at android.app.ContextImpl.unbindService(ContextImpl.java)
    at android.content.ContextWrapper.unbindService(ContextWrapper.java)
    at com.xiaomi.analytics.internal.a.c.G(SourceFile:77)
    at com.xiaomi.analytics.internal.a.c.getVersionName(SourceFile:160)
    at com.xiaomi.analytics.internal.a.c.m(SourceFile:172)
    at com.xiaomi.analytics.internal.c$2.run(SourceFile:205)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)

Code:
[ 10-16 20:37:48.444 31574:32456 W/System.err ]
java.lang.NoSuchMethodException: hasSwappedOutPss []

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at java.lang.Class.getMethod(Class.java:664)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at java.lang.Class.getDeclaredMethod(Class.java:626)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at com.miui.daemon.performance.analysis.os.ProcessMemoryTracker.<init>(ProcessMemoryTracker.java:83)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at com.miui.daemon.performance.analysis.os.MemAnalyser.<init>(MemAnalyser.java:105)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at com.miui.daemon.performance.analysis.os.MemAnalyser.getInstance(MemAnalyser.java:99)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at com.miui.daemon.performance.statistics.jankinspector.JankUtils$ConclusionHandler.handleMessage(JankUtils.java:728)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at android.os.Handler.dispatchMessage(Handler.java)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at android.os.Looper.loop(Looper.java)

[ 10-16 20:37:48.444 31574:32456 W/System.err ]
    at android.os.HandlerThread.run(HandlerThread.java)

Any tips?