[ZTE Nubia Z17  ROMs, Kernels, Recoveries, & Other ] papadidhiu:
Thanks Aljoscha81(spasibo). Just I saw you post. I spend some day to understand what I have done. So... I have formatted (deleted, wiped or corrupted) efs partition with TWRp , and my cellphone had remained without IMEI (SIM1, SIM2 and MEID). I tried several things, but not success. Solution is there : https://4pda.ru/forum/index.php?showtopic=885224.

Simply. My qsn file was damaged. I tried several tools and I arrived to write IMEI (SIM1 and SIM2) with FactoryTool_Wingtech_v1.0.2 (tool). Pay attention folks. You need a tool that can write Qualcomm devices. Once that IMEI (SIM1 or SIM2) is written, you should delete to rewrite. But if IMEI for both sims are corrupted I think that you need to made them blank with adb. ( I cannot remember exactly the way I solved my problem), but I remember that I wrote them blank with adb before witting new IMEI ( i believe that follow commands I used. Make a search in internet)

++++++++++++++

with adb

su

dd if=/dev/zero of=/dev/block/sdf1

dd if=/dev/zero of=/dev/block/sdf2

dd if=/dev/zero of=/dev/block/sdf3

+++++++++++++++

My biggest problem was that I was not able to open ports in my Nubia or to open adb shell (su was missing). One time that I arrived to have open ports I wrote my IMEI ( you can writte also by WriteDualIMEI_W_G_eMMC (has some videos in internet and I accidentally had COM4 open).

As Aljosha said, the only way for me was to hex edit my qcn file (but mine was corrupted or different from what folk can download here :

https://4pda.ru/forum/index.php?s=&showtopic=885224&view=findpost&p=68778308

I opened my qcn file with:

QCNView part of QPST

but my values have been not listed as follow :

++++++++++++++++++

ESN: NV item: 0 [NV_ESN_I], index 0

IMEI 1: NV item: 550 [NV_UE_IMEI_I], index 0

MEID: NV item: 1943 [NV_MEID_I], index 0

ESN: NV item: 5597 [NV_ESN_ME_I], index 0

MEID: NV item: 5598 [NV_MEID_ME_I], index 0

IMEI 2: NV item (SIM 1): 550 [NV_UE_IMEI_I], index 0

(seems position of IMEI 1 is missing over there ) as explained here:

https://4pda.ru/forum/index.php?s=&showtopic=885224&view=findpost&p=80353569

For folks have qsn file damaged have a look here : https://4pda.ru/forum/index.php?s=&showtopic=885224&view=findpost&p=68778308 (the same link as I wrote above)

Read carefully article ( also see this similar video)

https://www.youtube.com/watch?v=mY5hsH3--VE

or

https://www.youtube.com/watch?v=jPouF3bzoDI (these second one I just found).

So. Download the qcn file from links above and produce one for your selves ( use IMEI generator https://dyrk.org/tools/imei/ to produce random IMEI for yourself if you have not your originals)

Now Shortly my adventure.

IMEI and MEID damaged.

1- I wrotte blank my IMEI's (with adb)

2- I wrote accidentally my IMEI by a software mentioned above (but was not the right way).

The wright way. as follow :

If you have damaged your Nubia ZTE 17 ( qcn file and you have no original box IMEI,SN, MEID and etc.)

You will need IMEI , MEID or SN ( .... make a search in internet and with some difficulties maybe you will find that some one has accidentally has published it's box - numbers ). You can generate your IMEI online but I am not very sure for MEID ( I grabbed MEID form one site that has an article for Nubia ZTE 17 - Unboxing).

So. You have now. 2 IMEI's for your SIM Cards and a MEID Number.

- I flashed my Nubia ZTE 17 (is is explained here: https://4pda.ru/forum/index.php?s=&showtopic=885224&view=findpost&p=80353569) . use google transalator if you cannot understand russian. Use Miflash

and Nubia ZTE 17 Firmware. (as I did today). Use this ROOM just to write your qcn file as explained follow.

Prepare your qcn file and write it to Nubia ZTE 17 by QPST Utility that you can find in internet ( or in the above mentioned site).

My Nubia recognized my Network ( with 2 IMEI installed accidentally and with MEID that I found in Internet). I think that if IMEI exists qcn file does not replaced them (I prepared a qcn file with 2 fresh IMEI and MEID but did not replaced the IMEI's)

After that, simply install TWRP and install LineageOS. In this moment I am using Linux to install TWRP and will continue to install .

I can publish my original qcn file (but seems that MEID section is deleted also Serial section ) and i double in size than what I downloaded from 4pda (as explained above).

That's all story.

I am not very sure what is Radio file prepared by Aljosha , but I will have a look.

Thanks Aljosha81 for your help. I saw your post just some moments that I resolved my problem. Anyway. Thanks.

Hope this helps.