KIW-L22 Wrong device info after restoring backup

ranfan06

New member
Feb 11, 2019
2
0
0
Hi. I'm using Honor 5X KIW-L22.

I used a CM13 custom ROM. My power button went kaput and my phone kept on restarting. Fixed the power button. Suddenly I can't buy anything from Google Play Store, and my phone lost all apps. Reinstalled some, and the data was not lost.

I wanted to revert to stock > update to MM. Found a guide on how to revert to stock using TWRP backup, and so I did that. It went to KIW-L22C675B130 (thanks @gopinaidu77. It was easy to downgrade).

Next step, trying to update (dload method) got me stuck. "System update fail" each time. Re-downloaded the update.app file, tried different build, tried using fastboot. Nope.

I noticed that my phone model shows up as "unknown" in some app. Not sure if since the power button case, or after the firmware downgrade.

From the "About phone", the info is like this:
  • Model number: unknown
  • Build number: KIW-L22C675B130
  • CPU: Quad core 1.2 GHz
  • RAM: 1.0GB
  • Internal storage: 405MB free, 4.0GB total
  • Android bersion: 4.3
  • Kernel version: unavailable
  • EMUI version: EMUI System 2.0

Read somewhere that I need to flash my cust.img and cache.img too (fastboot method), and it says "Failure:command not accepted" or something similar.

Help?

Edit1: I remembered I flashed the B140 debloated ROM from @gopinaidu77 before using CM13. So I tried to flash it again. Now my device info changed again. It's now MSM8916 for arm64, build KIWW-L24C567B140, RAM dan internal storage showing correct total, android version 5.1.1, kernel version is not unknown, and EMUI version 3.1. Also I noted that TWRP said something about "fail to mount /cust (invalid command)".

Edit 2: Fixed info in the "About phone" screen after fixing /cust partition, but when connecting the device to my PC, I still get the "MSM8916 for arm64" model. So something else is the problem, I should think.
 
Last edited:

ranfan06

New member
Feb 11, 2019
2
0
0
Fixed

Fixed my phone. The one thing I did was flashing the /userdata partition. The following steps are for future references:

  1. Extract the USERDATA.img from the stock Huawei update.app (mine is KIW-L22C636B130, Malaysia variant)
  2. Boot to bootloader--- "adb reboot bootloader"
  3. Flash the img file using mfastboot.exe--- "mfastboot.exe flash userdata USERDATA.img"
  4. Restart the phone to system
  5. Go to Settings > Backup & Restore > Factory Reset
  6. Restart again. Voila!

Maybe we can flash our device using TWRP by flashing all the partitions one by one?
 

shashank1320

Recognized Contributor
May 26, 2015
7,481
2,065
113
Delhi
Saw this today and yeah that was the solution. I fixed my 2 phone the same way recently but differently with cust and version partition. If that doesn't fix you need to flash the oeminfo file and then the data file but most of the time it will be fixed with the above method.