non-branded phone acts like it's branded - "SIM network unlock NCK"

MateUserHHTT

Senior Member
Aug 2, 2014
58
17
0
Hamburg
Dear xda-community,

My phone: Honor 9 lite, non-branded, android 8, magisk installed. Running unofficial lineage-os 15.1.
Since 2 days now, after I enter the SIM-card's PIN, it says "SIM network unlock NCK" unlock/dismiss like in the attached picture.

How I tried to fix it:
* factory reset
* using different sim card
* flashing another ROM
* restoring a FULL TWRP backup of stock ROM (bck includes: kernel, ramdisk, cust, oeminfo, product, system, system image, vendor, vendor image, version, odm)
* TWRP -> advances -> fix contexts
* I also changed the permission of the sd-card with chmod +rw. I don't think I accidentally did that recursively on the / directory. But to be sure, I also ran the fix_permissions script following this guide: https://www.drewgreen.net/2012/03/15/manually-run-fix-permissions-from-recovery/

How it probably happened:
I was trying to delete content of a microsd-card in my phone. I used adb shell su went into the sd-card directory and executed rm -rf ./
However, I accidentally forgot the "." before the "/" :crying::eek:
The terminal got flooded with "... read only file-system", since most is mounted as read only. But maybe somefiles were deleted, that I couldn't see in the terminal (scrollback buffer was full) .

Does anyone have an idea
1. why the error still exists after a factory reset (both with twrp and stock recovery) and even after restoring a full twrp backup?
2. how to fix this? Or is the problem unrelated to the stupid thing I did and just coincidental?

I am very thankful for any help and appreciate whoever takes his time to help me.

*UPDATE*

I used my warranty and my phone got sent to honor. Before, I relocked the bootloader and flashed an updated stockrom, so 1. they didn't see I immediately (at boot time) that I tampered with the phone and 2. I could tell the shop that it happened while installing system update. :)
they didn't charge me anything and it works again.
 

Attachments

Last edited:

AShah85

Member
Dec 27, 2018
24
0
0
were you ever able to resolve this? i have the same imei and nck issue.


Dear xda-community,

My phone: Honor 9 lite, non-branded, android 8, magisk installed. Running unofficial lineage-os 15.1.
Since 2 days now, after I enter the SIM-card's PIN, it says "SIM network unlock NCK" unlock/dismiss like in the attached picture.

How I tried to fix it:
* factory reset
* using different sim card
* flashing another ROM
* restoring a FULL TWRP backup of stock ROM (bck includes: kernel, ramdisk, cust, oeminfo, product, system, system image, vendor, vendor image, version, odm)
* TWRP -> advances -> fix contexts
* I also changed the permission of the sd-card with chmod +rw. I don't think I accidentally did that recursively on the / directory. But to be sure, I also ran the fix_permissions script following this guide: https://www.drewgreen.net/2012/03/15/manually-run-fix-permissions-from-recovery/

How it probably happened:
I was trying to delete content of a microsd-card in my phone. I used adb shell su went into the sd-card directory and executed rm -rf ./
However, I accidentally forgot the "." before the "/" :crying::eek:
The terminal got flooded with "... read only file-system", since most is mounted as read only. But maybe somefiles were deleted, that I couldn't see in the terminal (scrollback buffer was full) .

Does anyone have an idea
1. why the error still exists after a factory reset (both with twrp and stock recovery) and even after restoring a full twrp backup?
2. how to fix this? Or is the problem unrelated to the stupid thing I did and just coincidental?

I am very thankful for any help and appreciate whoever takes his time to help me.
 

MateUserHHTT

Senior Member
Aug 2, 2014
58
17
0
Hamburg
@AShah85
Unfortunately not.
I brought it to the shop were I bought the phone and they then sent it to honor. They fixed it free of charge but never told me what they did.
I bought this phone in Germany, where simlocking is illegal. They buy them elsewhere and unlock them for the german market. Apperantly I (somehow) undid this unlocking.
I'm not familiar enough with this topic, but I don't think you can change that with regular tools and probably need a key which hash is stored on the phone.

In short:
I used warrenty to fix it. I relocked the bootloader (to get rid of that "phone cant be trusted" screen at boot time) and reflashed stock rom (some newer one) and told them this error occured when I was trying to upgrade (cuz this apperantly indeed happens sometimes, search the internet...).