what's wrong with my Xiaomi 5s plus(natrium), bad sector with UFS flash?

tournet

Member
Sep 24, 2011
37
7
0
My mobile phone is Xiaomi 5s plus (natrium) , no repair, It was a little slow with MIUI 9, so I changed to Lineageos 15.1, there is allways "no emergency calling" notification with Lineageos15.1(it turned out that is because of my china-unicom sim card) , so I change back to MIUI 9 again. the flash process was a little slow with miflash.exe, normal before is about 200s, but this time is about 400s, and all the later flash with miflash.exe is slower than the normal(from 400s to 1000s).
Now there is a new and serious problem! the phone will became very very slow suddenly, during problem, when I make a call, it was so slow that I must wait about 10 second or more before I input next number. both with MIUI OS and Lineageos, but when I "format" the whole internal storage under TWRP and install a clean ROM or simply reboot, the phone works fine.
who can do me a favour and tell me, Is this phone's UFS flash have bad sector? or something else problem?
 
Last edited:

khanjui

Senior Member
Dec 1, 2012
1,461
754
0
22
Eskisehir
500px.com
Nothing is wrong with your phone since you stated that making a clean flash fixes it for you. Also you should flash latest developer firmware in order to use LineageOS without having problems. Also unencrypted storage might be more efficient."Format Data" from TWRP for unencrypting your storage.

Sent from my Xiaomi MI 5s Plus using XDA Labs
 
Last edited:

tournet

Member
Sep 24, 2011
37
7
0
Nothing is wrong with your phone since you stated that making a clean flash fixes it for you. Also you should flash latest developer firmware in order to use LineageOS without having problems. Also unencrypted storage might be more efficient."Format Data" from TWRP for unencrypting your storage.
Thanks for your reply.
I have download the miui 9 -8.1.4 version Rom, LineagOS 15.1 is based on this version, I have flashed this version modem pack only, ortherwise, Lineageos15.1 can't be installed. this time I'll make a full official rom flash and clear all data with miflash.exe.
 
Last edited:

tournet

Member
Sep 24, 2011
37
7
0
I have had many tries, the phone still random suddenly hangs, after problem happens, I must format whole data parition under twrp and reboot, then the phone works like a charm. I doubt there are some bad block on system partition. so I delete this partition (/dev/block/sde39), and create another one on /dev/block/sda15 (original sda15 is userdata, now became sda16),but no use.
acording to dmesg log, maybe the problem is on sda,not on sde?
...........
[ 356.430125] sd 0:0:0:0: [sda] CDB:
[ 356.430129] Write(10): 2a 00 00 79 25 00 00 00 80 00
[ 356.430145] ufshcd 624000.ufshc: UPIU[10] - issue time 326208897 us
[ 356.430151] ufshcd 624000.ufshc: UPIU[10] - Transfer Request Descriptor [email protected]
...........
here is the full dmesg log file View attachment dmesg_log_hangs.zip
who can do me a favour?
 
Last edited:

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,156
1,520
193
Garden of Time
I have had many tries, the phone still random suddenly hangs, after problem happens, I must format whole data parition under twrp and reboot, then the phone works like a charm. I doubt there are some bad block on system partition. so I delete this partition (/dev/block/sde39), and create another one on /dev/block/sda15 (original sda15 is userdata, now became sda16),but no use.
acording to dmesg log, maybe the problem is on sda,not on sde?
...........
[ 356.430125] sd 0:0:0:0: [sda] CDB:
[ 356.430129] Write(10): 2a 00 00 79 25 00 00 00 80 00
[ 356.430145] ufshcd 624000.ufshc: UPIU[10] - issue time 326208897 us
[ 356.430151] ufshcd 624000.ufshc: UPIU[10] - Transfer Request Descriptor [email protected]
...........
here is the full dmesg log file View attachment 4517789
who can do me a favour?
got the same issue with my friend's Mi5 (not S Plus) that turned out the PowerIC is broken & need replacement...