MI4C IMEI/Baseband unknown - Xiaomi Mi 4C

Hi guys!
Yesterday my firmware update went terribly wrong and now I have a device that states that imei and baseband are unknown, so I my both sim-cards don't work.
I've tried several types of IMEI restoration, but none of them worked.
Unfortunately I don't have any backup for nvram. So, my guess is that there is a problem with EFS partition on the phone.
In QPST NV RF Manager I see my real IMEI from the box, so I guess it is still present, but my baseband doesn't work. Can you please suggest any help on recovering the baseband? Or if it is possible share with me modem backup or nvram backup without IMEI (I've seen on this forum that one guy with Samsung S3 had a kind of the same problem and he was given a working nvram backup without IMEI (IMEI was 0/00)) I can write my IMEI then, if baseband works again. Will appreciate any help.

Send it back. Only the oem is legally able to mess with the IMEI.

zelendel said:
Send it back. Only the oem is legally able to mess with the IMEI.
Click to expand...
Click to collapse
Well... I have managed to make it work again and my original IMEI is back. The only thing I had to do is to restore a working NVRAM backup (from another device) via QPST. So, it wasn't that hard. Much simpler than sending it back to China.

landslider said:
Well... I have managed to make it work again and my original IMEI is back. The only thing I had to do is to restore a working NVRAM backup (from another device) via QPST. So, it wasn't that hard. Much simpler than sending it back to China.
Click to expand...
Click to collapse
If you restored the file from another device then it won't have the right IMEI.

zelendel said:
If you restored the file from another device then it won't have the right IMEI.
Click to expand...
Click to collapse
It HAS right IMEI, I checked it with the original box. No need to put up an argument about it. Both devices (mine and the one which was backupped and restored from) are working fine, bot have ORIGINAL IMEI numbers and no errors considering networks or MI accounts. So, actually I have no idea what you are trying to tell me.

landslider said:
It HAS right IMEI, I checked it with the original box. No need to put up an argument about it. Both devices (mine and the one which was backupped and restored from) are working fine, bot have ORIGINAL IMEI numbers and no errors considering networks or MI accounts. So, actually I have no idea what you are trying to tell me.
Click to expand...
Click to collapse
I'm not making an argument. I'm trying to figure out how a number which is supposed to be hard coded into the file is then restored by restoring the files from a different device.
As these devices are not sold in the states learning as much as possible is a good thing.
Glad you got it working.

zelendel said:
I'm not making an argument. I'm trying to figure out how a number which is supposed to be hard coded into the file is then restored by restoring the files from a different device.
As these devices are not sold in the states learning as much as possible is a good thing.
Glad you got it working.
Click to expand...
Click to collapse
Okay, sorry. I will try to make it a bit clearer=) This device is not sold in Russia either (officially at least), so the only way to get it is to buy from aliexpress or ebay or anything else. In that case the buyer doesn't get any guarantee or official support. So if the device is broken and can't be restored it turns into a garbage. I believe that in the US the situation with that kind of devices is almost the same.
Now, if You are not familiar with QPST it is a software package for qualcomm based devices which can make backup/restore of some non-firmware software from the device (like IMEI, ESN, Baseband, LTE Channels etc). As for IMEI number, basically, as You've said it is hard coded into device so it is pretty hard to get it changed or fully deleted. Here we come to my case of unknown Baseband and IMEI. Though via phone settings I could see: "Unknown", my IMEI didn't change and was stored in the device. The "error" or smth like that happened after the factory reset and my guess is that the file structure of NVRAM was changed. So, backup of NVRAM taken from the working device didn't actually have IMEI or ESN in it, but it has the right file structure without any errors. That is what happened, the file structure was restored without changing any factory numbers.
If you have any questions, feel free to ask

landslider said:
Okay, sorry. I will try to make it a bit clearer=) This device is not sold in Russia either (officially at least), so the only way to get it is to buy from aliexpress or ebay or anything else. In that case the buyer doesn't get any guarantee or official support. So if the device is broken and can't be restored it turns into a garbage. I believe that in the US the situation with that kind of devices is almost the same.
Now, if You are not familiar with QPST it is a software package for qualcomm based devices which can make backup/restore of some non-firmware software from the device (like IMEI, ESN, Baseband, LTE Channels etc). As for IMEI number, basically, as You've said it is hard coded into device so it is pretty hard to get it changed or fully deleted. Here we come to my case of unknown Baseband and IMEI. Though via phone settings I could see: "Unknown", my IMEI didn't change and was stored in the device. The "error" or smth like that happened after the factory reset and my guess is that the file structure of NVRAM was changed. So, backup of NVRAM taken from the working device didn't actually have IMEI or ESN in it, but it has the right file structure without any errors. That is what happened, the file structure was restored without changing any factory numbers.
If you have any questions, feel free to ask
Click to expand...
Click to collapse
It is almost the same with a few exceptions. One being that their devices are banned from all people that work for the government, sometimes they get stopped at customs due to copyright issues and with the latest news about them coming loaded with malware, most won't buy them.
That makes sense in a way. Not sure why a factory reset would mess up that part of the device as it shouldn't touch it.
Thanks for the info.

zelendel said:
Not sure why a factory reset would mess up that part of the device as it shouldn't touch it.
Click to expand...
Click to collapse
I don't know either, but it was an unforgettable experience and a lesson to do backups of everything.

Hi @landslider, what's up friend? I have the same problem but I have no backup hidden partitions. Could you help me fix my device?

harolete said:
Hi @landslider, what's up friend? I have the same problem but I have no backup hidden partitions. Could you help me fix my device?
Click to expand...
Click to collapse
Hi! Have you tried flashing China developer rom with Miflash?
Second option: Connect to your PC and run QPST according to one of the manuals (in order for your phone to show up as a COM), run RF NV Manager and look up your line 550 NV_IMEI if it is filled with numbers that are the same as on your box (check HEX above them and numbers should resemble yours from box but written in opposite direction, eg: on the box it is XXXX69XXXXX in the QPST it will be 96). So, if your IMEI is at its place than all you need is a working device from someone to make a backup. Backup must be made in newer versions of QPST in *.xqcn format and than restored to your phone with checked box "allow ESN mismatch"

landslider said:
Well... I have managed to make it work again and my original IMEI is back. The only thing I had to do is to restore a working NVRAM backup (from another device) via QPST. So, it wasn't that hard. Much simpler than sending it back to China.
Click to expand...
Click to collapse
Could you teach me how to do that? how can i make nvram backup via other mi4c? and how can i put it into my mi4c ?? as i am not good at computer so i need your detailed explanation. I would be very glad if you help me.....

landslider said:
Okay, sorry. I will try to make it a bit clearer=) This device is not sold in Russia either (officially at least), so the only way to get it is to buy from aliexpress or ebay or anything else. In that case the buyer doesn't get any guarantee or official support. So if the device is broken and can't be restored it turns into a garbage. I believe that in the US the situation with that kind of devices is almost the same.
Now, if You are not familiar with QPST it is a software package for qualcomm based devices which can make backup/restore of some non-firmware software from the device (like IMEI, ESN, Baseband, LTE Channels etc). As for IMEI number, basically, as You've said it is hard coded into device so it is pretty hard to get it changed or fully deleted. Here we come to my case of unknown Baseband and IMEI. Though via phone settings I could see: "Unknown", my IMEI didn't change and was stored in the device. The "error" or smth like that happened after the factory reset and my guess is that the file structure of NVRAM was changed. So, backup of NVRAM taken from the working device didn't actually have IMEI or ESN in it, but it has the right file structure without any errors. That is what happened, the file structure was restored without changing any factory numbers.
If you have any questions, feel free to ask
Click to expand...
Click to collapse
so can you please upload that xqcn file from the working device ? i have the same issue and i can't find a working mi4c inn my area !

spybit2008 said:
so can you please upload that xqcn file from the working device ? i have the same issue and i can't find a working mi4c inn my area !
Click to expand...
Click to collapse
Hi! Unfortunately no, I can't. I don't have xiaomi mi4c anymore

spybit2008 said:
so can you please upload that xqcn file from the working device ? i have the same issue and i can't find a working mi4c inn my area !
Click to expand...
Click to collapse
http:/ en.miui.com thread-315233-1-1.html (replace whitespaces with slash)
There is a thread in official forum where one guy shares qcn backup. There is also an instruction to restore IMEI and baseband. But It doesn't help for me. Network still unavailable.

Related

[Q] Nexus 5 Possible EFS issue, IMEI already repaired

First post, long time lurker, so i'll start with a big thanks to the entire community for all the help you've unknowingly given me.
I just got a nexus 5 to replace my original n5 which has a broken screen. I took a backup of the original and restored it to the new one. Unfortunately i didn't know what EFS was, so i restored the old EFS to the new phone. IMEI went to zero. HUGE BUMMER.
I was able to fix the IMEI with QPST, but the new phone will not connect to the network. I've run a check on the IMEI and it is not blacklisted. Without incriminating myself, lets just say that i'm positive that the new IMEI is good.
The phone recognizes that i've inserted a SIM but shows no signal. I've tried to search for networks, i've checked the APN settings...
I REALLY don't want to send this to LG since they can't give me a price or even a ballpark figure without me shipping them the phone...
Any advice on next steps would be greatly appreciated.
What should i try next?!
flash the factory img and do not restore your efs on it.
simms22 said:
flash the factory img and do not restore your efs on it.
Click to expand...
Click to collapse
I guess i should have mentioned that i've flashed factory also. Currently the phone is on the latest firmware, unrooted, locked bootloader. Flashing factory had no effect at any point.
I bought this phone on Swappa BTW, so i am assuming there are no hardware issues. I'm not at all certain what else may have been screwed up by having another phone's EFS restored over this "new" phone's EFS...
More Info
I am able to attempt to manually select the network. When i search for networks, the available networks are shown, but when i try to connect it shows the Registering dialog for quite a while, then fails. This is the same behavior as a working phone without a SIM installed. The odd part is that the phone will recognize when a SIM is installed or removed. It seems that my problem may be that the SIM is not being read properly or the data is being lost/corrupted between SIM and antenna. Is this possible? Is this EFS corruption? is this something i can fix? Please help.
Bump?

[DEV] N5 efs repair

So for now it will be 2 weeks of this anoying issue that phone radio just disapers, in setting section it just say "radio off", first I thought I am lucky and factory reset helped but as time passed it hapened again againa again..... For now it seems completely shutt off, because nothing bring it up online. I had made diferrent tehnices like bringing phone in diag mode that for some time helped and setting some of nv items to defaults(found default walues in internet), changing radio mode in DFS but as I sad now nothing helps. So I ask someone of you guys for helping hand to share efs partitions efs1 and efs2, to modify them whit mine setting(esn, imei......) to try this last chance. Or I will need to buy other phone as mine dosn't had warranty. And if I succeed I will make universall efs dump without esn, imei, meid... so they can be filled with your stuff.
So I am asking for someone who had twrp backup of efs or can dump booth partitions of unmodifed band N5 D821 international variant. And I can promise I will not use your imei esn and other settings as I can read mine so they aren't damaged. And please if you share it do it with pm as thoose partitions contain your phone radio info and provide radio version who you are using.
P.S if someone had simallar isues and had repaired it please share it
[EDIT]
Please share efs partition I will pay you if it help me because new mb is 190USD and I realy like my phone.
firecode95 said:
So for now it will be 2 weeks of this anoying issue that phone radio just disapers, in setting section it just say "radio off", first I thought I am lucky and factory reset helped but as time passed it hapened again againa again..... For now it seems completely shutt off, because nothing bring it up online. I had made diferrent tehnices like bringing phone in diag mode that for some time helped and setting some of nv items to defaults(found default walues in internet), changing radio mode in DFS but as I sad now nothing helps. So I ask someone of you guys for helping hand to share efs partitions efs1 and efs2, to modify them whit mine setting(esn, imei......) to try this last chance. Or I will need to buy other phone as mine dosn't had warranty. And if I succeed I will make universall efs dump without esn, imei, meid... so they can be filled with your stuff.
So I am asking for someone who had twrp backup of efs or can dump booth partitions of unmodifed band N5 D821 international variant. And I can promise I will not use your imei esn and other settings as I can read mine so they aren't damaged. And please if you share it do it with pm as thoose partitions contain your phone radio info and provide radio version who you are using.
P.S if someone had simallar isues and had repaired it please share it
[EDIT]
Please share efs partition I will pay you if it help me because new mb is 190USD and I realy like my phone.
Click to expand...
Click to collapse
It';s illegal to tamper with this. No one will provide you efs. Send it for repair to LG
rootSU said:
It';s illegal to tamper with this. No one will provide you efs. Send it for repair to LG
Click to expand...
Click to collapse
But as far I now lg don't mess with this they instead of repairing changes motherboard.
firecode95 said:
But as far I now lg don't mess with this they instead of repairing changes motherboard.
Click to expand...
Click to collapse
Ask them.
rootSU said:
Ask them.
Click to expand...
Click to collapse
Maybe you can help me and to guarranty you that I don't keep your efs you can see all what I change throught teamwiever or some other alternative?

Backup imei using dd or something similar

Hi guys,
I factory reset my s7 recently and when trying to root it again I lost my imei. Luckily I was able to restore using my old twrp backup which brought my imei back.
I restored the whole system, although I actually just wanted to use the imei partition.
So I guess I have two questions here, the first being: in theory, could I have just rooted the new factory reset device (with the imei missing) and restore the efs partition from twrp only? Would that work? Or, even more convenient, would there have been any way to write the efs partition directly to restore the imei (using dd or something similar?).
It would be cool if the latter version would work because in that case I wouldn't have had to restore my backup.
And another thing: is there a way to backup the imei only? Or can I restore an efs partitions made from my lineagOs system with twrp on any ROM (e.g. stock) and get the imei back?
Greetings deM
Can't tell for sure if you can just dd your way through, but I know for sure you can tamper with the imei without restoring or flashing the whole firmware, tho! using a paid tool/dongle, the z3x got many features and repairing/changing imei is one of them, if it can directly change the imei without flashing anything then you probably could do it too, I would also mention this process requires root and adb, but I don't have quite the idea about the commands or steps needed (especially for dual sim) as that tool I mentioned does the thing for me!
Salazar33 said:
Can't tell for sure if you can just dd your way through, but I know for sure you can tamper with the imei without restoring or flashing the whole firmware, tho! using a paid tool/dongle, the z3x got many features and repairing/changing imei is one of them, if it can directly change the imei without flashing anything then you probably could do it too, I would also mention this process requires root and adb, but I don't have quite the idea about the commands or steps needed (especially for dual sim) as that tool I mentioned does the thing for me!
Click to expand...
Click to collapse
Okay thanks for the input. Using this tool is of course legit, I'm just curious if it could be achieved only by using a shell. Because in theory we have access to the filesystem if we're rooted so I figured we might be able to just to this using dd or something.
Greetings deM
derelektrischemoench said:
Okay thanks for the input. Using this tool is of course legit, I'm just curious if it could be achieved only by using a shell. Because in theory we have access to the filesystem if we're rooted so I figured we might be able to just to this using dd or something.
Greetings deM
Click to expand...
Click to collapse
I noticed I didn't give you an answer for your question about restoring the EFS backup, and yes it works, you can even copy it from a phone to another, sometimes it works across different android versions too but that I didn't test myself.
In the shop I work in, we rarely get Samsung phones that have IMEI issues, but Mediatek and most cheap chinese phones, Yes, whenever there is an issue with IMEI or cellular network, I erase the existing NVRAM and flash a new one, and most of the time that solves it, for IMEI I use another Jtag called CM2 (chinese miracle 2) but it doesn't support the newer Mediatek chips with fully locked bootloaders, some clients won't go as far as unlocking the bootloader cause of the warranty and what not. Besides the CM2, rooting and using the engineering mode, you can push the new IMEI easily, with Samsung you can do that with root as well, but its way harder and doesn't work on new Android Versions!
Back to the Z3x and the S7, I've done some research, and from what I learned it accesses the EFS partition or something, with root ofcourse, it reads some specific sectors that contains the IMEI and network informations, then using zTool, which I don't know if its part of Z3x or some other software, to modify that information and basically allow to the network to be fully functional.

Can I temporarily duplicate IMEI from one phone then edit second phone's IMEI back?

So I have 2 phones (both S7e), but one lost its IMEI / having "can't mount /efs" problem. This phone unluckily doesn't have a back up of its own EFS / IMEI digitally, but it still has the phone sticker that has its associated IMEI. Now, my plan was to TWRP restore a backup from the working phone to the unusable one so that I can fix the EFS problem and right after, "edit" the IMEI number to what it's supposed to according to the sticker left on the phone.
My questions are:
1) is this possible?
2) if so, can someone help me find out the proper steps/tools to help me change the IMEI on the 2nd phone with the temporarily duplicated IMEI
3) any tips on making sure I don't have both phones running and get blacklisted for having 2 phones with the same IMEI on i was thinking just to leave both phones on airplane mode or at the very least, turn off the first phone until I get the second phone working
djo_5296 said:
So I have 2 phones (both S7e), but one lost its IMEI / having "can't mount /efs" problem. This phone unluckily doesn't have a back up of its own EFS / IMEI digitally, but it still has the phone sticker that has its associated IMEI. Now, my plan was to TWRP restore a backup from the working phone to the unusable one so that I can fix the EFS problem and right after, "edit" the IMEI number to what it's supposed to according to the sticker left on the phone.
My questions are:
1) is this possible?
2) if so, can someone help me find out the proper steps/tools to help me change the IMEI on the 2nd phone with the temporarily duplicated IMEI
3) any tips on making sure I don't have both phones running and get blacklisted for having 2 phones with the same IMEI on i was thinking just to leave both phones on airplane mode or at the very least, turn off the first phone until I get the second phone working
Click to expand...
Click to collapse
No thats not possible. And reset imei is illegal
djo_5296 said:
So I have 2 phones (both S7e), but one lost its IMEI / having "can't mount /efs" problem. This phone unluckily doesn't have a back up of its own EFS / IMEI digitally, but it still has the phone sticker that has its associated IMEI. Now, my plan was to TWRP restore a backup from the working phone to the unusable one so that I can fix the EFS problem and right after, "edit" the IMEI number to what it's supposed to according to the sticker left on the phone.
My questions are:
1) is this possible?
2) if so, can someone help me find out the proper steps/tools to help me change the IMEI on the 2nd phone with the temporarily duplicated IMEI
3) any tips on making sure I don't have both phones running and get blacklisted for having 2 phones with the same IMEI on i was thinking just to leave both phones on airplane mode or at the very least, turn off the first phone until I get the second phone working
Click to expand...
Click to collapse
I think u should look for repair your efc partition
There are plenty of artical about restoring your imei or baseband version
I don't think u can restore your efc with same s7 edge backup
1st thinng u have to repair your efc partition
I have read artical about How to restore your efc partition or imei and baseband version
U will found out this thread on same page
I had also loose my efc and baseband version
But now it's fine
What i have done it's also there

Question ROG 5 Null IMEI Repair to it Factory State

Greetings
Mods kindly spare me not trying to change IMEI here I know thats illegal, Just trying to repair the phone back to its factory state
I am having null IMEI issue with my ROG5 and Network is not working
Now I don't have any backup unfortunately which is worse ( I have had this experience with the Samsungs before and their only hope was EFS backup, i am not sure how it is for ROG's)
I have noticed many people experiencing the same after converting the ROM unfortunately don't have the box with them , good thing is I have my phones box with me is there a way that I can repair my phone to its working factory state
I don't have access/option of those premium boxes for repair in my city, is there a way that I could repair it myself instead of falling for scam paying somewhere thanks I'm advance help appreciated
techyrock said:
Greetings
Mods kindly spare me not trying to change IMEI here I know thats illegal, Just trying to repair the phone back to its factory state
I am having null IMEI issue with my ROG5 and Network is not working
Now I don't have any backup unfortunately which is worse ( I have had this experience with the Samsungs before and their only hope was EFS backup, i am not sure how it is for ROG's)
I have noticed many people experiencing the same after converting the ROM unfortunately don't have the box with them , good thing is I have my phones box with me is there a way that I can repair my phone to its working factory state
I don't have access/option of those premium boxes for repair in my city, is there a way that I could repair it myself instead of falling for scam paying somewhere thanks I'm advance help appreciated
Click to expand...
Click to collapse
So long as this thread doesn't deteriorate to paid services and changing IMEI, you are ok.
Why don't you look at https://forum.xda-developers.com/t/repair-your-asus-rog-phone-5-with-edl-mode.4271121/?
TNSMANI said:
So long as this thread doesn't deteriorate to paid services and changing IMEI, you are ok.
Why don't you look at https://forum.xda-developers.com/t/repair-your-asus-rog-phone-5-with-edl-mode.4271121/?
Click to expand...
Click to collapse
Greetings
Thanks for the reply mate, will this resolve the IMEI issue aswell? Or ill need some tool to manually write IMEI, the thing is I want it to its factory state meaning both IMEI and serial on box the way phone came
techyrock said:
Greetings
Thanks for the reply mate, will this resolve the IMEI issue aswell? Or ill need some tool to manually write IMEI, the thing is I want it to its factory state meaning both IMEI and serial on box the way phone came
Click to expand...
Click to collapse
I don't know. I simply searched the forum before posting. You will have to read that thread in full to find answers to your questions.
TNSMANI said:
I don't know. I simply searched the forum before posting. You will have to read that thread in full to find answers to your questions.
Click to expand...
Click to collapse
I looked that thread up, that apparently is a fix for devices stuck in EDL mode, My device is booted & functioning properly other than no IMEI display in dialer *#06# and Sim/Network not working
Does your fingerprint reader work? That would be surprising, like hundreds of users on Zentalk who have an HS SIM, it is the disconnected cable that is in question and that manages both (SIM and Reader footprint).

Categories

Resources