yashsingh1/xdaforums huggingface dataset:
[Honor 8 Themes, Apps, and Mods] gopinaidu77:
Works bro . I did it manytimes
[Honor 8 Themes, Apps, and Mods] adriansticoid:
Oh. Alright then.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Reserved

Reserved for FAQs and other experiences.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Bidyadhar:
If i keep a backup of efs patition using twrp..will i be safe in case the partition is corrupt or unreadable?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Yes, that will help in future. Also should take backup of xqcn file using QPST.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] rainbyte:
I had the lost IMEI problem before, but I did not need rooted phone to solve it. Just turn off the phone, then press Volume (-), and finally connect at the same time the usb cable (make sure drivers were installed before!). You will see 3 new devices, the important is the diagnostics one. Take note of the COM port, and you can use QFIL to backup/flash the qcn. All without root :D
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Interesting, was not aware of this. Is this EDL mode?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Bidyadhar:
Sir, can you please tell me how to backup xqcn?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Go till Step 7 as per first post and therein choose backup in place of restore. That's it !
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] rainbyte:
I think is not EDL mode, because usb vendor and product ids are different. When I had the IMEI problem, I tried to restore qcn from EDL mode to no avail. After that, I found the suggestion of using Vol(-) and it worked, but it is a diffrent mode, because screen is not black in this one, it shows some options instead (sdcard flash, qcn restore, etc).
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
Please, write here a guide how to edit this values in HEX-editor.

Thanks in advance!
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Pls refer below quoted text from OP

Use Search and replace feature of Hex Editor to replace above value with your device values
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
Man, I've tried to do it with two different editors with no luck, because I'm not so close to operate with it. So I ask you to write guide.

Regards.

Problem solved, done by myself.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Good, why don't you share small guide on same for other users now.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
It looks strange. I've asked you to do this, but now you ask me to write a small guide...

I've used Hex Workshop (it's not an advertisement, because I've tried to edit QCN-file with few different editors and they wasn't so friendly to use).

1) Open editor, choose QCN.

Press "Search" and put in data of MEID, Wi-Fi and Bluetooth MACs:

MEID: 22 22 22 22 22 22 22

WIFIMAC: 55 55 55 55 55 55

BTMAC: 66 66 66 66 66 66

!!! Please, notice, that Wi-Fi MAC, that you can see in menu of phone is shown as "54 55 55 55 55 55", but in editor it will be found as "55 55 55 55 55 55" and even in three places. I've changed in all three, because edition of one only doesn't change MAC after reboot.

3) Check after reboot:

- Wi-Fi and Bluetooth MACs are native

- MEID has changed, but it become upside down by group consist of 2 digits (first two digits are now in the end and so on). Problem was solved by "MEID/ESN Tool".

Press "Volume -" and "Power On/Off" (release Power after vibration) until you see "Menu from 0 to 5" (SD update...GetInfo). Connect phone to PC. Launch "MEID/ESN Tool", press "Initialize" (COM-port will be shown), then press button "MEID" and set checkbox "do MEID", enter native MEID (it is like IMEI w/o last digit; it is shown on the box and on the film from the back of the phone), press "Write".

!!! I've tried to change MEID in "MEID/ESN Tool" before QCN was edited, but this was unsuccessful, MEID didn't changed. MEID become native after I've edited QCN in hex-editor and then used "MEID/ESN Tool" as mentioned above.

4) The last one - recover native IMEIs. IMEIs were changed via programm "WriteDualIMEI(W+G_eMMC)". Press "Volume -" and "Power On/Off" (release Power after vibration) until you see "Menu from 0 to 5" (SD update...GetInfo). Connect phone to PC. Launch "WriteDualIMEI(W+G_eMMC)" and enter native IMEIs, press "Start". After reboot you will get native IMEIs.

!!! I've tried to edit IMEIs in hex-editor. But QCN include IMEIs consist of 16 digits, but regular IMEI consist of 15. I've replaced last (useless) number by pressing "space" on keyboard and after reboot there wasn't network. I've supposed that I need to put not a "space", but something like "leave an empty cell" in hex-editor. I haven't tried to do this because I have "WriteDualIMEI(W+G_eMMC)".
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
[MENTION=4648819]sergsinger[/MENTION] don't know why it's strange.. we can give back to xda community only by sharing our knowledge!

Since you had learnt and done it yourself, why not to share the same.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sunnythehoney:
i try your method without rooting, but it didn't work, can you send me qcn file to edit for z2132, also to edit with hex editor is find and replace imei 3333...33 with our imei number is ok or there is other method, also where to look for meid.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Pls read OP in detail...the xqcn file is shared there...also to write IMEI you will need tool WriteDualIMEI_W_G_eMMC

Again pls read and download all tools as mentioned in OP as pre-requisite
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sunnythehoney:
i download above 66...6.xqcn file posted above and edit with hexeditor by replacing meid:22.....22 by imei translator hex number. same for imei numbers and restore through qpst config. and then use writedualimei_w_g_emmc all operations shows no error completed successfully but after reboot when dial *#06# shows null meid or imei. now i am going to try by inverting meid no by inverting regular meid no. and imei in inverting pair and make first 8 as 8A. see what happen
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] badri21:
where did you find your mied no i am having the same problem
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
It is shown on the box & film from the back of the phone. Usually it is like first IMEI w/o last digit.

In hex-editor MEID which comes with QCN will be simply found by typing "22 22 22 22 22 22 22" in search bar.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] badri21:
this is the back of my box help me find it
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
If you haven't found it on the box read this
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] badri21:
thanks
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
86216803252381
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
For Indian Phones there is not MIED and we have to put IMEI only.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sunnythehoney:
if u copy

666666.xqcn

file from op than find and replace

22 22 22 22 22 22 22

by meid no which i learn that it is imei no but last digit dropped. now to replace meid no. with hex editor u should first write it in form of pair and than inverting pair means first pair goes to last in this manner e.g.

86xx02

ur 15 digit imei no than meid will be

86xx0

last digit ommited now pair it like

86 xx x0

and invert as

x0 xx 86

for above

666666.xqcn

file.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] badri21:
thanks for the reply

---------- Post added at 11:10 AM ---------- Previous post was at 11:02 AM ----------
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sohilj23:
I followed everything and still radio is off, I can see my IMEIs by dialing *#06#. Is there any other way to fix this problem ?

Some people say it's related to the hardware and if that's the case, ZUK quality control sucks, It's not even 3 months since I bought the phone and mostly I didn't put sim card in it.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
Did you try only to recover QCN from the first post without editing in hex?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
I will suggest you to reflash the stock firmware using QFIL. After that restore the xcqn file.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sohilj23:
I used Notepad++ and replaced all of those numbers with my phone's details. ( IMEI,MEID and etc ) but without editing it no, I think if I do that it's gonna ruin my imei because for now I can check both of IMEIs by dialing *#06# .

I haven't install stock Rom after using this method but I might install ZUK 1.9 with QFIL, Do you mean doing the same process ? Does this method really apply for me since I have correct IMEI ?

Also is there any way to erase XQCN or QCN file completely and rewrite it again ? Do you guys suggest changing baseband ?

I'm wondering why ZUK or Lenovo doesn't care about their customer and announce something regarding this matter.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sergsinger:
the main in your answer is

I've recommended you to restore QCN w/o being edited and then check network connection. I did it and nothing was ruined. When I made sure that network come back, I used hex-editor and two programs, that are mentioned above, to restore my native values.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sunnythehoney:
[/QUOTE]

if u r on stock rom with bootloader locked, than u first unlock bootloader and enter into fastboot mode than give command "fastboot erase modemst1" and "fastboot erase modemst2" to erase ur efs folder through adb fastboot. now u restore any xqcn file from working same phone, than either u use software like "FactoryTool_WriteIMEI_v1.0.2" or "WriteDualIMEI_W_G_eMMC" in diag mode to write ur imei no. or u should edit above xqcn file with hex editor in restore with qpst.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sohilj23:
When I use "fastboot erase modemst1" or "fastboot erase modemst2" it says waiting for devices but when I use this command -i 0x2b4c it appears to be working, So after erasing the efs partition, Should I still have access to my IMEI or Not ? Because I restarted the phone to check if the *#06# shows anything and it's showing the IMEI and MEID.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Reinstalling Zuk 1.9 via QFIL will help in ensuring that all other things are fine in ROM and it is as close to out of box settings. The IMEIs will continue to be same only and not change. That way might help in resolving other unknown issues which are keeping Radio Off.

I had something similar too and so I started with QFIL, progress of xqcn etc etc.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sohilj23:
Okay I followed the guide step by step and still no signal however it detects the carrier. ( tried 3 different Sim cards so far )

I flashed the Zuk 1.9 by using QFIL and this is the second time I'm doing all of these steps and it seems it doesn't work for me :( .

By dialing *#*#4636*#*# it shows the Radio is off and network type has been set on "TD-SCDMA, GSM/WCDMA and LTE" by device, I tried to change the network type so it may help but it doesn't change at all and Turn on radio is non-functional.

Also I used all of those different basebands and they didn't make any difference :( .
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] sunnythehoney:
no, after this command ur device specification i.e. imei deleted just like if u flash rom with erase all. the device specific command -i 0x2b4c not required and this command "fastboot erase modemst1" only executed if ur bootloader is unlocked, and this require when ur efs memory file corrupted. restore healthy qcn/xqcn file with qpst and edit with software, with hex editor only xqcn work. if u already flashed stock rom and bootloader is locked(not relocked) than u don't need to unlock and erase modem if imei numbers are blank.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Hmm.. I had same case but with fresh QFIL followed by unlocking bootloader, rooting, QPST usage to restore xqcn and finally writing of IMEI worked well. To be frank I had done qfil some 10-12 times as was trying multiple things.. had deleted modem files etc too to get as raw start as possible.

So with all above done and still not working, am without any further suggestions. :confused:
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] aayan007:
Fixed it

Thank you so much for the post

I fixed mine :D

Flashed stock ROM

Flashed xqcn file

Used meid/msn tool ( as I read in more comments )

And then wrote imei using the tool in post

And voila everything is working no problem at all

:) :D
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Terminator.J:
Yeah, I accidentally did this too. I don't have the box with the MAC address stickers or the plastic film from the back any longer, because the phone was working fine for a month.

I *do* have the two IMEI numbers (for each SIM slot) saved, but I don't have a backup of the EFS partition or my old QCN (why is it possible to erase this?!).

I still show a WIFI MAC address in Settings > About > Status, but Bluetooth (even when turned on) is 00:00:00:00:00:00.

Am I just out of luck?

I guess I'll try out all that fun endian flipping I think people discovered was needed, using find & replace in Notepad++ to edit the default XQCN file from the guide, and see if I can get mobile network back at least.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Terminator.J:
Okay, so on the far side of the experience... First of all, WHO'S IDEA WAS IT that modemst1 and modemst2 partitions that function like a radio settings cache on every other device I've used recently (Moto G XT1045, Moto G 2015 XT1540, ZUK Z2 Pro) and get erased via fastboot routinely as part of troubleshooting connectivity issues, WOULD BE THE EQUIVALENT OF THE EFS PARTITION AND HOLD ALL YOUR QCN STUFF IN IT AND NUKE YOUR PHONE IF ERASED?!

That's some bulllllll ****.

Anyway, I used QFIL to flash 1.9 then 2.5 stock firmwares, unlocked bootloader, rooted with Magisk build 1420 (latest beta), allowed superuser via ADB console, and continued with the find/replace instructions according to the guide on the dummy values in the .XQCN file (MEID is entered as little-endian; that's what swapping the 2-byte sections is called). It transferred correctly that way. I tried doing likewise with the IMEI numbers, alternately padding the last zero in the first word or last word and tried all kinds of shifts & reversals and endian tricks but never quite made it translate directly without using the second utility after restoring modified .XQCN file. I made up wifi and bluetooth adapter MAC addresses by incrementing the ones I have on my Z2 Pro (watch, I'll meet the guy visiting from Hong Kong or India next week with that actual Z2 Plus and he'll kick me off the wifi), and those could just be entered exactly as you read them on the sticker without any endian convolution.

The software downloader tool from QPST actually didn't work for me; what DID work for sending my modified .XQCN file was to open the diagnostic ports via ADB shell, and then go into QFIL, select the DIAG port, and use the QCN Backup/Restore tool instead. It doesn't seem to automatically be able to restart the phone, so you have to do that manually, then it'll say it's waiting for boot, and you have to use ADB to re-open the DIAG port before it realizes the process is complete and lets you exit and use the other thing to fix the IMEI numbers, but it worked in the end. Woo.

Now I'm only 5 hours behind where I started, ready to try and see if enabling VoLTE and then installing AEX 4.6 unofficial EAS will give me working VoLTE with MetroPCS here where we live, so I can start restoring all my wife's stuff on her phone with new, shiny, high-quality phone calling where she can actually hear someone on the other end and maybe her phone will ring since there's hardly any signal at our house besides LTE.

Oh yeah, I forgot to add that was the point... trying to keep my wife from killing me by having her phone back up & going in the morning.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] nenushiva:
Thank u legend

THANK U VERY MUCH SIR HELPED ME A LOT .I'VE SUCCESSFULLY RETRIEVED MY LOST IMEI ON LENOVO ZUK Z2......

thanks a lot for having concern on half knowledge CANDIDATES LIKE ME .
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Welcome... I spend endless time finding right solution and hence thought of sharing.

Good to know. Indeed this is complicated way.

Welcome... take care in future.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Lasan22:
Please make a video

And explain how to edit the xqcn file

Please

A lot of thanks??????
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Sorry don't have that much time. [emoji22]

May be someone else can do.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Lasan22:
If I send you my imei can you give me edited xqcn file
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] aayan007:
U dont need to do that much of a hassle i can help u getting u imei back :) tell me ur problem in bit detail :)
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Lasan22:
I was just flashing the stock rom and selected the Erase all before download option

And when I booted there was no network and I checked the imei by *#06# and it was blank

Now IAM in rooted zui 2.5 Indian (magisk) and bootloader unlocked

My wifi and Bluetooth is working fine
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] aayan007:
Hehe lucky u i had the same problem successful restoring the imei and meid but Bluetooth and wifi mac addresses were same as they were in the xqcn provided in the post but they were working fine for me

The thing i did was restored xqcn of this post then using meid /msn tool wrote meid first then using imei tool ( they mentioned the tool name in post ) wrote too and things were working fine for me :)

Whatsapp me 9555683911 i ll help yaa as much as i can :)
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Lasan22:
Thanks

Now I got my networks back

Thanks a lot aayan

You helped a lot
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Rony John:
Bro need help with the hex editing part. :D. wifi and bluetooth is working. IMEI is blank. omitted last digit from imei 1 and batch them into 2 pair and reversed them.

Eg: if 123456789abcdef is my imei 1, meid will be 123456789abcde and what i should replace in the hex editor is "de bc 9a 78 56 34 12". Correct me if im wrong. But when it comes to imei part, 1 number is excess. How to replace it?

Can i whatsapp you bro :)

Nvm. Done successfully
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] EAXDA:
i dont have problem with imei everything is working but mobile signal is too weak,anyone have the same problem?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] kiran111569:
i am unable to follow the above mentioned steps, kindly make a video
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Sorry friend, this tutorial was made long back when was in a fix. Making video not possible for me.

Suggest, try to read patiently and follow same and in case of dooubts reach out here for help.

All the best
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] kushal.purkar:
restore EFS

[MENTION=719438]mGforCe[/MENTION]

I had backed up EFS in TWRP before flashing any ROM,

Now I want to restore it as my VOLTE has gone.

How to do it?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Restore the same via TWRP. It helps if same version of TWRP is used as at time of backup.

PS: This guide is for lost IMEIs etc
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] dknsb:
MY SIM CARDS ARE NOT DETECTING SIGNALS, the imei is same please help me
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] 0pera:
I was the same as you about two year ago,too.Its too hard though have read the guide with some experience.I checked almost all information of it in the Internet and finally wasted two days and great energy to fix it completely.What a terrible and memorable experience that I do not want to remember it...maybe I was the idiot but the better way I suggested is to ask local service center or a friend who is proficient in telecommunication for help indeed.

If you still want to try it,maybe some posts in Chinese BBS will be useful(in particular how to recover your original IMEI and some other device code...of cz you need remembered them yet).

By the way, some may let you change the motherboard, it works but too stupid and expensive!
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
Indeed the overall process is complicated and not easy but after going through pain, shared the experience and knowledge for benefit of community.

The issue is that once you put in other variabilities like basebands, ROMs etc it becomes more complicated.

My view is that if one is willing & patient enough to read & understand, try the steps (and repeat may repeat read & understand, try the steps if stuck) chances are that this will work.

Obviously if Service Center is close by, try same.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] jefferzombie:
Guys, after about 8 months my phone got no signal issue. I try all the methods but none works. In my case, my phone not lost the imei and meid, wifi and bluetooth works fine, when i put *#06# on dial, it shows the correct imei from both sims. I gave up and troll it in drawer. Buyed a Moto G5 Plus to fill in the column. But last night i gave another try on Zuk and now it work!

i flash ZUI 1.9, and this version locked my bootloader again. than flash Zui 2.5 via qfil, than update to Zui 3.5 OTA.

Unlock and flash TWRP, than flash TWRP Treble, flash gerenic treble GSI. i do this before gave up and not work, still the same problem, imei is fine but no signal from operator on both sims.

But last night i flash the new TWRP Treble, this new version modify the partition scheme from the first version from Vache's first TWRP Treble. So i flash the AEX 5.7 (not the GSI, the non Treble version) and my sim card now works!

I don't know what exactly happens, but maybe the new partition scheme move some data that system can see now, and can't see before

I found here https://xdaforums.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287

This TWRP Treble https://androidfilehost.com/?fid=5862345805528044154

And this AEX Rom https://downloads.aospextended.com/download/eHByd29iWmM2S045MU0xMEo3Z3RpNVZoRHN4NlFEN29HY2ZqcU9rMDdwYz0=

So, if someone got the same problem, maybe it can be solved like for me.

i will continue testing this week and report here.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] mGforCe:
[MENTION=5304762]jefferzombie[/MENTION] - thanks for sharing your experience. Indeed there seems to be multiple reasons for missing signals - lost IMEIs, mismatched basebands, corrupted EFS what not.

It is hence important to share what all learnings we have so that might help someone else.
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] jefferzombie:
Yep, I know. Your guide is a very good one. Very detailed, but unfortunately after a lot of trying it not solve my problem. So the more solution possibilies we have, better for community right?

I really don't know if it will work for others. It's a very strange this suddenly signal loss, and for me it's nos completely solved, the Sim 2 got signal, but I can't connect or make call, the Sim 1 works flowlessly.

But thanks again for your help!
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] zakwanPHG:
How to replace last 2digit imei number to 1 number?

For example it will look like this :

Default xqcn Imei1 : 33 33 33 33 33 33 33 33

Mine imei : 12 34 56 78 90 12 34 5

That last number must add 0 at front or after 5 or let it be space?
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] zakwanPHG:
Edited,solved
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] apollo3x:
hi, i tried this method to restore imei. i was able to restore my imei.

but jio to jio calls are not getting placed. im able to call other number but not jio
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] zakwanPHG:
Go to carrier aggregation threads,mybe its will help u