Resolved [WEEKLY] Messaging App -- Temp Fix


Status
Not open for further replies.

Igor Eisberg

Patch/Mod Developer
Staff member
Oct 6, 2016
1,152
896
222
#1
Seems like Xiaomi devs are too busy and can't fix this bug that they themselves created.
So, I took a few hours debugging the Messaging app to locate the root cause of the disappearing sender info on main conversation list.
Glad to tell you that I finally discovered the issue and fixed it. Hopefully, Xiaomi wakes up and fixes it officially...

In the meanwhile, if you're experiencing this issue, flash this package on your ROM to fix it:

Android 7.0+:
https://www.mediafire.com/file/9spi7u62bki8v9r/MessagingFix.flashable.zip/file

Android 6.0:
https://www.mediafire.com/file/4m8scj6s4t1czc8/MessagingFix_6.0.flashable.zip/file

This will be pre-included in the next release - 9.1.24.
 

graw2

Mi Mix 2S Tester
Staff member
May 17, 2013
4,007
3,466
322
#4
Works perfect on MIX2S as well! Thanks Igor, great job!

Sent from my MIX 2S using Tapatalk
 
Aug 4, 2014
45
15
20
#6
on Mi8 Message app crash when search message at second character.

Code:
 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.isProjected()' on a null object reference
at android.graphics.drawable.LayerDrawable.isProjected(Unknown Source:24)
at android.view.View.invalidateInternal(Unknown Source:114)
at android.view.View.invalidate(Unknown Source:17)
at android.view.View.setFrame(Unknown Source:105)
at android.view.View.layout(Unknown Source:42)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
at android.widget.LinearLayout.layoutVertical(Unknown Source:195)
at android.widget.LinearLayout.onLayout(Unknown Source:5)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.ListView.setupChild(Unknown Source:296)
at android.widget.ListView.makeAndAddView(Unknown Source:42)
at android.widget.ListView.fillDown(Unknown Source:48)
at android.widget.ListView.fillDown(Unknown Source:1)
at android.widget.ListView.fillFromTop(Unknown Source:31)
at android.widget.ListView.layoutChildren(Unknown Source:566)
at com.miui.internal.variable.v16.Android_Widget_ListView_class.handleLayoutChildren(Unknown Source:0)
at android.widget.AbsListView.onLayout(Unknown Source:31)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at com.android.internal.policy.DecorView.onLayout(Unknown Source:0)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.view.ViewRootImpl.performLayout(Unknown Source:30)
at android.view.ViewRootImpl.performTraversals(Unknown Source:2318)
at android.view.ViewRootImpl.doTraversal(Unknown Source:31)
at android.view.ViewRootImpl$TraversalRunnable.run(Unknown Source:2)
at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
at android.view.Choreographer.doCallbacks(Unknown Source:82)
at android.view.Choreographer.doFrame(Unknown Source:176)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Unknown Source:9)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
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:274)
Sent from my MI 8 using Tapatalk
 

graw2

Mi Mix 2S Tester
Staff member
May 17, 2013
4,007
3,466
322
#10
on Mi8 Message app crash when search message at second character.

Code:
 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.isProjected()' on a null object reference
at android.graphics.drawable.LayerDrawable.isProjected(Unknown Source:24)
at android.view.View.invalidateInternal(Unknown Source:114)
at android.view.View.invalidate(Unknown Source:17)
at android.view.View.setFrame(Unknown Source:105)
at android.view.View.layout(Unknown Source:42)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
at android.widget.LinearLayout.layoutVertical(Unknown Source:195)
at android.widget.LinearLayout.onLayout(Unknown Source:5)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.ListView.setupChild(Unknown Source:296)
at android.widget.ListView.makeAndAddView(Unknown Source:42)
at android.widget.ListView.fillDown(Unknown Source:48)
at android.widget.ListView.fillDown(Unknown Source:1)
at android.widget.ListView.fillFromTop(Unknown Source:31)
at android.widget.ListView.layoutChildren(Unknown Source:566)
at com.miui.internal.variable.v16.Android_Widget_ListView_class.handleLayoutChildren(Unknown Source:0)
at android.widget.AbsListView.onLayout(Unknown Source:31)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at com.android.internal.policy.DecorView.onLayout(Unknown Source:0)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.view.ViewRootImpl.performLayout(Unknown Source:30)
at android.view.ViewRootImpl.performTraversals(Unknown Source:2318)
at android.view.ViewRootImpl.doTraversal(Unknown Source:31)
at android.view.ViewRootImpl$TraversalRunnable.run(Unknown Source:2)
at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
at android.view.Choreographer.doCallbacks(Unknown Source:82)
at android.view.Choreographer.doFrame(Unknown Source:176)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Unknown Source:9)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
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:274)
Sent from my MI 8 using Tapatalk
FC when typing anything in messaging search bar is not related to this fix. It is official MIUI issue. Same in Global beta 9.1.17
 
Last edited:
Likes: Kaizer_Hanz

Igor Eisberg

Patch/Mod Developer
Staff member
Oct 6, 2016
1,152
896
222
#12
I installed this on miui eu 8.11.29. Contact delay is fixed, but I sms setting and sms Additional setting title become strange. View attachment 22897 View attachment 22898
Link updated, redownload and reflash.
Alternatively, you can just manually remove /data/system/package_cache folder with TWRP's File Manager.
The fix wasn't changed, just added the package_cache auto-removal.
 

Igor Eisberg

Patch/Mod Developer
Staff member
Oct 6, 2016
1,152
896
222
#14
I need your help, install the zip as indicated and now I get an error that does not let me enter the message application ... This is the error:
Did you redownload the ZIP? It was updated today to refresh package_cache.
Alternatively, you can go to TWRP -> Advanced -> File Manager, and manually delete the "package_cache" folder in /data/system.
 
Jan 18, 2019
5
0
3
#15
Did you redownload the ZIP? It was updated today to refresh package_cache.
Alternatively, you can go to TWRP -> Advanced -> File Manager, and manually delete the "package_cache" folder in /data/system.
Already do what you mentioned and everything remains the same, the messaging application still does not work ...
Any other possible solution?
 
Nov 26, 2012
9
0
13
#17
Link updated, redownload and reflash.
Alternatively, you can just manually remove /data/system/package_cache folder with TWRP's File Manager.
The fix wasn't changed, just added the package_cache auto-removal.
Ok it's fixed thanks. But found another one when selecting multiple messages for deletion.
IMG_20190119_075334.jpg
 
Status
Not open for further replies.