Mi4 Lte Ramdom Reboots [with Logs]


Usually android kernels have their own cpu regulators and governor settings while mpdecision is for Qualcomm chips and nullifies the kernel's settings, so maybe these two (in Mi4's case) don't exactly get along. Perhaps Miui's MM kernel doesn't "allow" it to function properly, so by removing mpdecision the kernel's settings are "better" for this particular chip.

Or perhaps cpu hotplugging is the culprit and simple tweaks to thermald can solve it.

In any case I guess we will find out if no reboots happen. :) Maybe it's worth a try just by tweaking thermald and leaving mpdecision too.

Was reading somewhere that Mpdecision is anyway disabled by Xiaomi as they implemented their own CPU management, so removing it would not make any difference.
 
Was reading somewhere that Mpdecision is anyway disabled by Xiaomi as they implemented their own CPU management, so removing it would not make any difference.
It makes difference for mi4, all cores will become active, you can check with cpuz

On mi5, all cores are always active.
So my trials mimic in some way mi5.

Envoyé de mon MI 4W en utilisant Tapatalk
 
Problem: wake lock manager drained about 10% of battery life per day XD. But still be ok, no overheating issue, juz draining more battery life. My fone has no auto reboot for 500 hours.

//btw do u guys notice that MIUI v8 drains more battery life than Kitkat 7.1.x? with 7.1.5 china stable my phone can stand for 5-6 hours but with 8.0.2.0 it's juz about 4-4.5 hours :'(.
 
Last edited:
  • Like
Reactions: jc rey
Problem: wake lock manager drained about 10% of battery life per day XD. But still be ok, no overheating issue, juz draining more battery life. My fone has no auto reboot for 500 hours.

//btw do u guys notice that MIUI v8 drains more battery life than Kitkat 7.1.x? with 7.1.5 china stable my phone can stand for 5-6 hours but with 8.0.2.0 it's juz about 4-4.5 hours :'(.
yes, to me MIUI8 drains more than kitkat.
If you want to try a new possible solution, give a try with earlier post involving mpdecision removal+thermal tweak.
Or flashing zeurion kernel (stable one week testing, drain seems fine).

No the issue I see with wake lock app is that it keeps ups the active cores, in your case only 2 because of kernel bug. It cannot force the 2 cores sleeping, even performance governor can't. In daily usage it drains more than default due to minimal activity.

I tried about 70 h without mpdecision and tweaked thermal and it reminded me that to achieve 2GHz core throughput, having 4 at 500MHz consumes only about third of power. I saw in fact my drain is well in favor of keeping 4 cores. Aslo on my mi5, the 4 cores are always active (as they do not support mpdecision on it).
 
Just deleted mpdecision myself but left the original thermal conf for testing. Indeed all 4 cores are always active lowest frequency at 300mhz, cpu load is minimal because all are active, personally I think this is why battery drain is less. I'm not sure about the temperature of the phone yet though.

It's a shame KK's mpdecision caused reboot because all 4 cores were active as well but 2 or 3 were able to sleep when not needed.

@jc rey How was temperature of your phone during your tests with mpdecision removed and thermal tweak? Also what exactly does your tweak do compared to original?
 
seems temp was a bit lower , in my tweaked (got from beta team), CPU[0] has same parameters that other cores, it was not the case in original (sampling and threshold), and there is a battery section while it is absent from the original. I found it more safe in the end.

Back to your trial @buzdo, don't you feel your mi4 is more responsive with 4 cores ? (I had this feeling)
 
Yes I noticed the cpu0 parameters and I was wondering why.

I thought the battery monitor parameters were readded with Miui 8? I know they were present in KK Miui 7.1 and omitted later in MM 7.x for some reason.

The temperature seems fine now to me although it might possibly get very hot under stress due to all 4 cores going off I'm guessing? But so far it's nice and cool with medium usage.

Yes there is a difference in responsiveness, personally I like it way better. Also battery drain seems same as before, according to AIDA64 the "idle" consumption is even lower than with mpdecision.

Anyway I'm testing now with original thermal conf (with battery monitor like in KK and MM 8).
 
  • Like
Reactions: jc rey
Yes I noticed the cpu0 parameters and I was wondering why.

I thought the battery monitor parameters were readded with Miui 8? I know they were present in KK Miui 7.1 and omitted later in MM 7.x for some reason.

The temperature seems fine now to me although it might possibly get very hot under stress due to all 4 cores going off I'm guessing? But so far it's nice and cool with medium usage.

Yes there is a difference in responsiveness, personally I like it way better. Also battery drain seems same as before, according to AIDA64 the "idle" consumption is even lower than with mpdecision.

Anyway I'm testing now with original thermal conf (with battery monitor like in KK and MM 8).
Ok, keep us posted on your findings.

Envoyé de mon MI 4W en utilisant Tapatalk
 
Well sad to report phone rebooted during the night. Lately phone reboots almost on a 24 hour cycle (sometimes twice), usually it took longer to reboot when trying different tests.

I guess judging by this mpdecision has no bearing on reboots, at least in my case. By process of elimination I'm now going to try mpdecision and tweaked thermal to see if throttling and hotplugging settings are actually to blame here.
 
  • Like
Reactions: jc rey
But I can not explain why only some users with some Rom specifically have to restart problems , I would not think that some mi4 have hardware problems do not know what kind , and therefore tend to restart with some Rom , I know it seems stupid as thinking but arrived at this point
 
  • Like
Reactions: jc rey
I'm using cyanogenmod and I honestly did not have any reboot problems apart from a very reproducible one: If i run Geekbench the phone reboots at about 51% of the CPU Benchmark every time. I would be interesting to know why it could maybe shed some light on these reboots. Oh and by the way I did not have reboots with Geekbench and MIUI. How can I debug with ADB?
 
Well sad to report phone rebooted during the night. Lately phone reboots almost on a 24 hour cycle (sometimes twice), usually it took longer to reboot when trying different tests.

I guess judging by this mpdecision has no bearing on reboots, at least in my case. By process of elimination I'm now going to try mpdecision and tweaked thermal to see if throttling and hotplugging settings are actually to blame here.
Are you reboot free with wake lock app?

Envoyé de mon MI 4W en utilisant Tapatalk
 
But I can not explain why only some users with some Rom specifically have to restart problems , I would not think that some mi4 have hardware problems do not know what kind , and therefore tend to restart with some Rom , I know it seems stupid as thinking but arrived at this point
Yes have in mind that too. You will notice no mi3 in this thread and no mi4/64, only 16gb variant. I have mi4 64 that never rebooted while my 16gb experienced a lot, with same installs.
I noticed batteries can be differently branded Sony or Samsung.

Envoyé de mon MI 4W en utilisant Tapatalk
 
c93b4349cfd54fc456e101fec4fd4e36.jpg


Removing mpdecision with tweaked thermal Conf antutu goes 61k

Envoyé de mon MI 4W en utilisant Tapatalk
 
@jc rey I haven't tried the wake lock app yet. I'm first trying different scenarios to maybe get an idea of what's going on. It's a shame it's not my phone because I would be way further with tests. :p

Anyway gf says that battery is the best so far with mpdecision removed and also noticed performance improvement. I'm now going to try mpdecision + thermal tweak when I get the chance, then if it fails only thermal tweak.
 
  • Like
Reactions: jc rey
Agree for battery:
3h driving GPS WiFi on screen on (coyote app)
Stock: battery ends at 49%
Removed me plus tweak: bat ends at 64%.

Envoyé de mon MI 4W en utilisant Tapatalk
 
how do I figure out which battery mount my phone ? and in any event that could give the battery problems ?
 
Last edited:
how do I figure out which battery mount my phone ? and in any event that could give the battery problems ?
You need to remove the phone back side with a succion. To me, the Samsung is mounted on models with problems.

Envoyé de mon MI 4W en utilisant Tapatalk
 
Update: phone rebooted right before my eyes on the table sleeping with mpdecision removed and thermal tweak. :(

I still can't get the partitioning thing out of my head. I'm thinking wake lock app in a way prevents the phone to do some sort of caching/storing, kind of keeping the phone awake because it's an active process and in effect not causing a reboot.
Perhaps it's got something to do with partition sectors where cache (or something else) is located since introducing MM. This is the only reason I can think of why KK system isn't affected since it had different space allocation. And also why I had reboots with KK on MM partition system.
I'm going to look into relocating cache partition storage into sdcard space. From what I've been reading it's doable.
 
I continue testing, in beta team we see no reboot for now. You test wake lock?

Envoyé de mon MI 4W en utilisant Tapatalk
 
Testing with mpdecision removal + thermal tweak. No reboot in last 16 hrs. Will keep testing. BTW I got no reboots on global beta since I bought this phone.
 
  • Like
Reactions: jc rey
Testing with mpdecision removal + thermal tweak. No reboot in last 16 hrs. Will keep testing. BTW I got no reboots on global beta since I bought this phone.
Did you notice a speedup on your device? Is battery better?
 
  • Like
Reactions: Rıdvan