Hi! I bought a xiaomi redmi 6 , 4/64. With brand new phone after factory reset, I started using it. There is nothing in it, no sd card, no sim card.
After some time, the performance became unusable. The phone boots in like 10 minutes and input/output seems to be incredibly slow. Applications load incredibly slow, images are also very, very slow to load and save. But once an application is open, it works pretty fast.
So I read, and unlocked the phone and flashed with MiFlash with brand-new image cereus\_global\_images\_V11.0.5.0.PCGMIXM\_20200916.0000.00\_9.0\_global with MIUI 11.0.5 . All data erased, new system.
After updating all the system apps and installing all my apps, the performance became unusable again. It’s incredibly slow, I have to wait for anything to load, the same problem again. So started investigating further.
I flashed recovery partition twrp-3.7.0\_9-0-cereus.img, booted twrp. Twrp logo showed up, however the twrp menu also showed up also very long after about 10 minutes. I suspect this is related to the same issue. I logged adb shell and typed top – the cpu iowait was close to 100%. So I strongly suspect it’s a i/o problem. I proceeded with rooting the phone, by installing DFE-Magisk-v16.7 .
I run \`for i in /dev/mmcblk0p\*; do ( set -x ; e2fsck -f $i; ); done\` from twrp to check all partitions. All are clean. Anything else I can check? Other partition I can check?
What can I do to fix it? Is this issue specific to MIUI 11?
I do not see any errors in dmesg, but it’s rather long. What to look for? Any other places I can check?
How do I attach a terminal to inspect logs during boot? The boot is very slow, is there a way to debug it?