MULTI 8.4.26/8.5.x (Final)


Do you like this MIUI version?


  • Total voters
    869
Status
Not open for further replies.
Thank you for the tip. I was wondering. I read that you should never format /system on any Xiaomi phone. It is safe for the Mi Mix 2? How do I know which phones it is safe for and which ones it isn't?
It works on any device as xiaomi.eu builds are standalone builds, so no need to have OS installed for flashing xiaomi.eu builds

Sent from my MI 5 using Tapatalk
 
  • Like
Reactions: Mali2 and mrgnex
I have encountered a bootloop after flashing 8.5.3 over 8.4.12 on my Mi5, and resolving problem required pulling off some very intricate tricks.

First i managed to pull off adb logcat of the bootlooping device and caught something interesting:
Code:
05-07 00:45:15.107  2696  2696 E System  : ******************************************
05-07 00:45:15.108  2696  2696 E System  : ************ Failure starting system services
05-07 00:45:15.108  2696  2696 E System  : java.lang.ClassCastException: android.content.pm.PackageParser$Service cannot be cast to android.content.pm.PackageParser$Provider
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.commitPackageSettings(Unknown Source:793)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(Unknown Source:1860)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanPackageLI(Unknown Source:3)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanPackageInternalLI(Unknown Source:1150)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanPackageLI(Unknown Source:18)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanDirLI(Unknown Source:221)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.scanDirTracedLI(Unknown Source:37)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.<init>(Unknown Source:1762)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.pm.PackageManagerService.main(Unknown Source:5)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.SystemServer.startBootstrapServices(Unknown Source:316)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.SystemServer.run(Unknown Source:295)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.server.SystemServer.main(Unknown Source:10)
05-07 00:45:15.108  2696  2696 E System  :      at java.lang.reflect.Method.invoke(Native Method)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
05-07 00:45:15.108  2696  2696 E System  :      at com.android.internal.os.ZygoteInit.main(Unknown Source:203)
05-07 00:45:15.108  2696  2696 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
05-07 00:45:15.108  2696  2696 E AndroidRuntime: java.lang.ClassCastException: android.content.pm.PackageParser$Service cannot be cast to android.content.pm.PackageParser$Provider
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.commitPackageSettings(Unknown Source:793)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(Unknown Source:1860)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanPackageLI(Unknown Source:3)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanPackageInternalLI(Unknown Source:1150)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanPackageLI(Unknown Source:18)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanDirLI(Unknown Source:221)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.scanDirTracedLI(Unknown Source:37)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.<init>(Unknown Source:1762)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.main(Unknown Source:5)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.SystemServer.startBootstrapServices(Unknown Source:316)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.SystemServer.run(Unknown Source:295)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.server.SystemServer.main(Unknown Source:10)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
05-07 00:45:15.108  2696  2696 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(Unknown Source:203)
05-07 00:45:15.110  2696  2696 E MQSEventManagerDelegate: failed to get MQSService.
05-07 00:45:15.112  2696  2696 E AndroidRuntime: Error reporting crash
05-07 00:45:15.112  2696  2696 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
05-07 00:45:15.112  2696  2696 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(Unknown Source:49)
05-07 00:45:15.112  2696  2696 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
05-07 00:45:15.112  2696  2696 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
05-07 00:45:15.112  2696  2696 E AndroidRuntime:        at java.lang.Thread.dispatchUncaughtException(Thread.java:1953)

Now a big warning: do not try this at home unless you really know what you are doing!

So, seeing an error at PM i backed up and removed /data/system/package* files and dirs.
After this it really booted up (very long) but afterwards just all applications crashed.
This was caused by uid and suid mismatch, so i had to write a small script to update uids in new files with old ones.
And after replacing packages.xml and packages.list with uid-fixed versions almost everything worked - after settling all down and re-setting up few things i had to copy over contacts2.db to recover full call history and all contacts.

I do not have information about what causes the java.lang.ClassCastException: android.content.pm.PackageParser$Service cannot be cast to android.content.pm.PackageParser$Provider exception, but if anyone knows how to solve the problem easier - welcome.

P.S: The update (or first boot?) does something to files, so flashing over old version does not allow booting too.
 
  • Like
Reactions: ingbrzy
No, he stated clearly to wipe /data partition. You can omit /data/media (at least for mi5) but the rest has to be wiped. So do backup of your user data like application/messages etc., because it will be deleted.
 
  • Like
Reactions: Anderson Hartvig
do not have any problem? no bootloop? notifications, led, everything works?
I did have a bootloop ore what you may call it . I had the first oreo for the mi mix installed .After few days i saw some bugs .poor battery 3/4 day and it was almost empty Than when last friday i installed 8.5.3 . everytime it booted up to twrp and that was it . Tought i go back to the first oreo for the mix since i didnt want to do a wipe . I have subwaysurfers on my phone and i beeing playing that for alomst a year and i didnt want to loose my credits . Well long story short .that didnt work also .needed to do a wipe of the dalvik and cache . gone were all my apps .Needed to install everything again .
Than when i got in the screen were i needed to connect to the internet i didnt get a keyboard .So i needed to open my router to get acces . Must say untill now 8.5.3 works good . havent seen any problem untill now
 
I did have a bootloop ore what you may call it . I had the first oreo for the mi mix installed .After few days i saw some bugs .poor battery 3/4 day and it was almost empty Than when last friday i installed 8.5.3 . everytime it booted up to twrp and that was it . Tought i go back to the first oreo for the mix since i didnt want to do a wipe . I have subwaysurfers on my phone and i beeing playing that for alomst a year and i didnt want to loose my credits . Well long story short .that didnt work also .needed to do a wipe of the dalvik and cache . gone were all my apps .Needed to install everything again .
Than when i got in the screen were i needed to connect to the internet i didnt get a keyboard .So i needed to open my router to get acces . Must say untill now 8.5.3 works good . havent seen any problem untill now

I still have Android 7. I installed the last TWRP. if i install the update then i just have to clean dalvik cache?
 
How to downgrade from weekly version to stable 9.5.x please help me

Sent from my Redmi Note 4X using Tapatalk
 
A clean install is better. You do a downgrade 9.6 to 9.5 maybe you have problems with a dirty install
 
Any idea for this, i'm on Redmi note 3 pro prime Kate :
Hello, before update when i do a swipe UP i Can search for finding emplacement app on desktop or search a file for exemple. After update when i swipe UP it's a Google search useless. How fix this please.
 
Hola buen día, La ROM 8.5.3 released presenta problemas de touchscreen en el Mi5, no responde bien al deslizar de derecha a izquierda se salta como si dejara de presionar, y también deja de responder. Pensé q era problema de táctil pero volví a stock y se arregló. Por favor arreglar ya que siempre uso ROM EU en todos mis dispositivos. Muchas gracias
 
Theoretically it should be:
settings->installed aplications -> (your app name) -> other permisions -> display pop-up window

However I'm not sure in which apps it will works.
 
Theoretically it should be:
settings->installed aplications -> (your app name) -> other permisions -> display pop-up window

However I'm not sure in which apps it will works.
on youtube it should work but I do not know how to make it work.
 
  • Like
Reactions: HofMan
Status
Not open for further replies.

Similar threads