Backup imei using dd or something similar - Samsung Galaxy S7 Questions and Answers

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.

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?

MI4C IMEI/Baseband unknown

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.

no cell service after IMEI repair

i accidentally wiped the IMEI off of my nexus 5 when trying to repair my EFS partion (which was corrupt at the time), since i had the original value on a sticker on the back i tried to repair it. i finally managed to repair it by reflashing the radio image, then using the qualcom nv tools to write it back. my main problem is i cannot connect to the mobile network (which is at&t) after the repair, i reflashed the stock rom and updated it to the latest version (i used android lollipop in the repair process), then i manually set the APN settings according to at&t support page and still no luck. is there anyway to restore my mobile connection?
I have no clue if my suggestion is valid in this situation or not, but I know there are root apps and Xposed modules that can change IMEI. Perhaps you can try one of those to re-apply the IMEI to the system? Sadly I have no experience with doing this myself. Note that if you try this it will apparently erase various data.
I am aware of the xposed modules, however they are only temporary and need to be set each time you switch to a new ROM. in my case I plan to switch to Ubuntu touch or Sailfish OS when I get everything working again, which xposed does not work on. I did make a permanent change via the qualcom nv tools, but I am beginning to think I erased more than the IMEI. I know the MIED is only a few characters short of the IMEI, so thats restored, but I ended up with an ESN being written to the device even though I had not entered one. I am not sure if it was randomly generated somehow or if there is a way to figure out what the ESN should be from then IMEI. I also heard of baseband data being stored in the EFS partition, although I did flash a radio image to it prior to writing the IMEI and i think a radio image would likely have that data. I have no idea about the other types of data that a radio image wouldn't contain that would be essential to connecting. Any ideas?

[Fixed] My SM-G955U Has No IMEI or Baseband

EDIT:
I was able to fix it! I had to install a custom ROM to obtain root and delete my EFS partition.
So, here is a bit of a story I will try to keep short.
I went to Vietnam and bought a S8+ from there.
It was a US S8+ from Sprint.
I used it fine there but when I came back to states I tried to put my Verizon sim in and it doesn't work.
I don't get any signal. But I am able to see Baseband and IMEI.
So, I tried to use Odin and flash one of the SM-G955U1 Firmware.
Now, my phone is weird and out with no Baseband or IMEI.
So I try to flash back to firmware it was on.
Same thing.
Any ideas why my S8+ is like this?
MLIGN said:
So, here is a bit of a story I will try to keep short.
I went to Vietnam and bought a S8+ from there.
It was a US S8+ from Sprint.
I used it fine there but when I came back to states I tried to put my Verizon sim in and it doesn't work.
I don't get any signal. But I am able to see Baseband and IMEI.
So, I tried to use Odin and flash one of the SM-G955U1 Firmware.
Now, my phone is weird and out with no Baseband or IMEI.
So I try to flash back to firmware it was on.
Same thing.
Any ideas why my S8+ is like this?
Click to expand...
Click to collapse
Can you get into recovery/download mode now? What was the last known version of software you know that was on your phone?
If you can get into recovery, what info are in those details?
JeffDC said:
Can you get into recovery/download mode now? What was the last known version of software you know that was on your phone?
If you can get into recovery, what info are in those details?
Click to expand...
Click to collapse
Sorry for the long wait. If you are still interested.
CARRIER: SPR
RPMB fuse blown
RPMB PROVISIONED
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
FRP LOCK: OFF
WARRANTY VOID: 0x0
QUALCOMM SECUREBOOT: ENABLE
RP SWREV : B3(1,1,1,1,1) K2 S3
SECURE DOWNLOAD: ENABLE
DID: 205EDC8B7351
- duplicate
MLIGN said:
- duplicate
Click to expand...
Click to collapse
What happens if you restore from the OEM function?
Try downloading custom recovery and flashing a custom rom. You will lose samsung pay but you might have a working phone it's a chance I would take if it was me. Your baseband is messed up try just flashing your carrier baseband . These are just ideas good luck
Sent from my [device_name] using XDA-Developers Legacy app
If flashing a custom ROM will fix your phone then so will downloading latest official Samsung ROM and flashing via latest Odin .
The second option above would be the best to try unless you're happy to have a custom rom and lose Samsung pay and anything that relies on Knox being functional
paul_59 said:
If flashing a custom ROM will fix your phone then so will downloading latest official Samsung ROM and flashing via latest Odin .
The second option above would be the best to try unless you're happy to have a custom rom and lose Samsung pay and anything that relies on Knox being functional
Click to expand...
Click to collapse
Update on the post, I sent it into Samsung. I should hear word soon if they can fix it and how much if anything.
Jtag dead phone to life and rewrite IMEI
First of all my phone is the s8+ G955fd, but I am sure that the people that helped me can help most Samsung owners with bricked phones.
My phone ended up being stuck on the first boot screen, I couldn't get into recovery or download mode. I installed TWRP and after that I lost my IMEI numbers( dual sim), so I tried to reflash stock and thats when i became bricked. I searched someone to help and found reference to the Fonefunshop in England. I sent it there and they said that the eMMC chip was bad. I searched for someone who could write to it or put a new one on the motherboard . I found A2Z cellular in Ottawa Canada. They used jtag to restore it to stock and they told me that the Fonefunshop had not opened the phone which is necessary to use jtag as they claimed, so avoid them.
The phone was now back doing everything it should except the IMEI's were null like before. I gave them the original IMEI's and the phone is working like new.
If your Samsung is bricked these guys can probably fix it and it won't cost much to find out.
the SM-G955U has a locked bootloader, so people should not be telling you to flash a custom recovery or custom ROMs. there is only one way to get root on this phone, through the samfail exploit, and safestrap is the only working recovery. I don't believe it supports CDMA networks but I'm not 100% sure on that. I have this device and I'm only aware of GSM carriers using it.
Just an update on this issue. I still don't have a working Baseband or IMEI. Any clues?
I was able to fix it! I had to install a custom ROM to obtain root and delete my EFS partition via ADB.
MLIGN said:
I was able to fix it! I had to install a custom ROM to obtain root and delete my EFS partition via ADB.
Click to expand...
Click to collapse
Hi. Can you detail how you fixed you phone please? What custom rom did you use and the steps you used please? I have the same phone with the same problem.
Thanks
MLIGN said:
I was able to fix it! I had to install a custom ROM to obtain root and delete my EFS partition via ADB.
Click to expand...
Click to collapse
Be very careful with doing that. It can cause the EFS (the partition that controls IMEI, Mac and a few other things) to be completely corrupted. Which will cause the device to be useless without fixing it.
Now a little heads up. As messing with the IMEI is illegal in many countries (the US being one of them) There are only 2 ways to fix an IMEI issue allowed on XDA.
1. Restore the backed up EFS partition
2. Return it to the OEM to be repaired.
What did you do after you deleted EFS? I can delete in Combination but I dont get the IMEI number back.
Please I need all XDA members assist ,because of I mistake delete EFS with combination file on my G955U VZW , I have null imei number, then I repair it by flash qcn with z3x Samsung tool , but still I have IMEI number but emergency call only is still display without service ,

Mi Note 10 IMEI lost and baseband repair, QCN backup causes recovery loop

I have a CC9 Pro Premium. Even if i can't fix my problem, hopefully this story will PREVENT people from messing with their IMEIs... I hope no one ever goes through what I just did
I'm obviously by no means encouraging changing IMEIs, even in certain 3rd world countries where it could be necessary!
So here's a detailed backstory: When you purchase a phone where I live, you need a valid passport in order to pay tax and register it's IMEI number, and if not you get cut off by your operator within a month.
I didn't have one, since it also takes about 4-8 months to process, and I couldn't even preform a request due to the corona virus situation.
So, being the ignorant idiot I am, I thought it would be a great idea to change it's IMEI number till I can register the original one, since a lot of people do this over here apparently, white market
I followed a tutorial I found online (And re-posted on XDA, so there's nothing really wrong with it), and here's what happened:
(Root, TWRP and Diag is OK in all steps)
I made a .qcn backup using QPST build 480, saved the original somewhere safe, edited the copy, wiped modemst1, modemst2 and fsg, then restored it
*phone reboots*
Everything's the same, and still getting reception, no change
Took another backup and saw it was the same, so I give up
The next day I try again, but this time is when the problems started... I take another QCN backup just to be sure, and it's slightly larger (Could be because I just inserted a 2nd SIM for the first time right before it), edit it, then wipe modemst1, modemst2, fsg and this time: "fsc" since I saw someone do it in another tutorial for the Mi Note 10
*phone reboots*
*boot animation*
*resets and goes to recovery*
I was shocked. I wipe the 4 partitions again and the phone boots normally, nothing has changed (apparently).
So I put my SIMs in and go watch a movie. Then I switch it on, only to see there's no reception!!!
I wipe the partitions, and restore the first original backup... boots to recovery again...
Wipe... Boots normally... restore the 2nd original one (slightly larger, both sims)... boots to recovery...
Then I just decide to miflash a fastboot rom, maybe that will get things back to normal!
So I wipe, flash rom... IMEI and Baseband now Unknown... Yikes...
I next find an xQCN backup online for the Mi Note 10 that only has a single IMEI in it, that belongs to the 2nd sim (SIM 1 550 only, QCN View, the 1st 550 missing)
Replace it with my original and reboot, IMEI 2 and baseband is back! But no reception, even after multiple reboots...
I wipe partitions again, IMEI 2 is still there... Interesting...
I continue trouble shooting, even: wiping the partitions, restoring the original backup, flashing fastboot rom... still boots to recovery (Mi Recovery of course), setting 755 permission for modem files...
------------------------------------------------
SUMMERY:
I need to find out why the original backup keeps booting to recovery!!! Also some information about "fsc" partition would be nice, since wiping that probably started the whole issue (Is it a backup for fsg?!)
Important things I discovered:
1) Wiping modemst1 and modemst2 at the same time is enough for the phone to boot
2) The reboot to recovery (Recovery loop?) with the original backups is caused on an OS level, because one time it took so long that I even saw the lockscreen for half a second before it rebooted (no SIMcard in the phone either)
3) After hours of dorking I found 2 other similar instances that could be related:
https://forum.xda-developers.com/ze...onor-qcn-file-ze550kl-z00ld-ww-t3520647/page4 (Page 4-5)
(Normal boot using a custom rom?? Interesting... maybe Xiaomi.eu made no difference for me because it's still pretty much just MIUI)
https://www.youtube.com/watch?v=8Ym0FP4BkY0 (The bottom comment):
"We cannot repair both SIM slots.
We can only repair SIM2 slot for IMEI repairing. After IMEI repair process, SIM1 IMEI getting '0' value. When we are trying to repair both SIM slot phone is entering the Bootloop and entering the recovery mode(twrp). Thats why we are remove SIM1 IMEI from qcn file and this time we can will repair to SIM2 slot. Do you know this Problem ? What can we do to solve this problem? Thank you in advance for your help."
Regards, and many thanks... DON'T MESS WITH IMEIs!!!
imei repair is done.
the only problem is returning to "Factory settings" and imei is deleted.
gokmenm said:
imei repair is done.
the only problem is returning to "Factory settings" and imei is deleted.
Click to expand...
Click to collapse
Really?! How did you do it?! Both SIM cards or just SIM 2 ????????
ZINHAR said:
Really?! How did you do it?! Both SIM cards or just SIM 2 ????????
Click to expand...
Click to collapse
I am also facing same problem... I restored only one IMEI with Redmi Note 7
If found solution please inform me too
macblaze said:
I am also facing same problem... I restored only one IMEI with Redmi Note 7
If found solution please inform me too
Click to expand...
Click to collapse
So far it only seems possible to restore sim 2, I contacted a professional IMEI dealer and this is what he said:
"IMEIs cannot be changed simply through a USB port on modern snapdragon SOCs. Only the secondary sim modem can be restored, because the primary sim is locked to the chipset. When tampered with, it goes into a lockdown state which means it can probably never be used again unless a breach is found"
I sold the phone and got a Nokia 9 Pureview, much more consistent but still has it's own issues
ZINHAR said:
So far it only seems possible to restore sim 2, I contacted a professional IMEI dealer and this is what he said:
"IMEIs cannot be changed simply through a USB port on modern snapdragon SOCs. Only the secondary sim modem can be restored, because the primary sim is locked to the chipset. When tampered with, it goes into a lockdown state which means it can probably never be used again unless a breach is found"
I sold the phone and got a Nokia 9 Pureview, much more consistent but still has it's own issues
Click to expand...
Click to collapse
:crying::crying::crying: Okay thanks for your sharing :good:
Same issue with Mi Note 10
Hi I also flash to EU ROM and now Im facing the same no service issue. So how to solve this?
gaiya said:
Hi I also flash to EU ROM and now Im facing the same no service issue. So how to solve this?
Click to expand...
Click to collapse
If it's related to the IMEI, multiple guides have already been made since I made this post. Just search for it on YouTube!
If not, could be a bad rom, bad recovery, incomplete unlock, etc.
Try a stable Orange Fox Recovery, that might fix it
No service mi note 10
gaiya said:
Hi I also flash to EU ROM and now Im facing the same no service issue. So how to solve this?
Click to expand...
Click to collapse
Hi have you solved the no service issue?
No not yet, no any solution for it
gaiya said:
Hi have you solved the no service issue?
Click to expand...
Click to collapse
Just flash the SIM 2 QCN I provided (edit the IMEI), and write the IMEI using pirated box software for free, you can find everything you need on YouTube. When I had the problem, pirated box software for the Mi Note 10 wasn't available yet
redmi note 9s
ZINHAR said:
Just flash the SIM 2 QCN I provided (edit the IMEI), and write the IMEI using pirated box software for free, you can find everything you need on YouTube. When I had the problem, pirated box software for the Mi Note 10 wasn't available yet
Click to expand...
Click to collapse
Hi can you help me to change Redmi Note 9S IMEI repair ?
where can I find tutorial and programs
ZINHAR said:
Just flash the SIM 2 QCN I provided (edit the IMEI), and write the IMEI using pirated box software for free, you can find everything you need on YouTube. When I had the problem, pirated box software for the Mi Note 10 wasn't available yet
Click to expand...
Click to collapse
hey help me.
How to disable sim 1 imei.
Which pirated box tool you have used
ZINHAR said:
I have a CC9 Pro Premium. Even if i can't fix my problem, hopefully this story will PREVENT people from messing with their IMEIs... I hope no one ever goes through what I just did
I'm obviously by no means encouraging changing IMEIs, even in certain 3rd world countries where it could be necessary!
So here's a detailed backstory: When you purchase a phone where I live, you need a valid passport in order to pay tax and register it's IMEI number, and if not you get cut off by your operator within a month.
I didn't have one, since it also takes about 4-8 months to process, and I couldn't even preform a request due to the corona virus situation.
So, being the ignorant idiot I am, I thought it would be a great idea to change it's IMEI number till I can register the original one, since a lot of people do this over here apparently, white market
I followed a tutorial I found online (And re-posted on XDA, so there's nothing really wrong with it), and here's what happened:
(Root, TWRP and Diag is OK in all steps)
I made a .qcn backup using QPST build 480, saved the original somewhere safe, edited the copy, wiped modemst1, modemst2 and fsg, then restored it
*phone reboots*
Everything's the same, and still getting reception, no change
Took another backup and saw it was the same, so I give up
The next day I try again, but this time is when the problems started... I take another QCN backup just to be sure, and it's slightly larger (Could be because I just inserted a 2nd SIM for the first time right before it), edit it, then wipe modemst1, modemst2, fsg and this time: "fsc" since I saw someone do it in another tutorial for the Mi Note 10
*phone reboots*
*boot animation*
*resets and goes to recovery*
I was shocked. I wipe the 4 partitions again and the phone boots normally, nothing has changed (apparently).
So I put my SIMs in and go watch a movie. Then I switch it on, only to see there's no reception!!!
I wipe the partitions, and restore the first original backup... boots to recovery again...
Wipe... Boots normally... restore the 2nd original one (slightly larger, both sims)... boots to recovery...
Then I just decide to miflash a fastboot rom, maybe that will get things back to normal!
So I wipe, flash rom... IMEI and Baseband now Unknown... Yikes...
I next find an xQCN backup online for the Mi Note 10 that only has a single IMEI in it, that belongs to the 2nd sim (SIM 1 550 only, QCN View, the 1st 550 missing)
Replace it with my original and reboot, IMEI 2 and baseband is back! But no reception, even after multiple reboots...
I wipe partitions again, IMEI 2 is still there... Interesting...
I continue trouble shooting, even: wiping the partitions, restoring the original backup, flashing fastboot rom... still boots to recovery (Mi Recovery of course), setting 755 permission for modem files...
------------------------------------------------
SUMMERY:
I need to find out why the original backup keeps booting to recovery!!! Also some information about "fsc" partition would be nice, since wiping that probably started the whole issue (Is it a backup for fsg?!)
Important things I discovered:
1) Wiping modemst1 and modemst2 at the same time is enough for the phone to boot
2) The reboot to recovery (Recovery loop?) with the original backups is caused on an OS level, because one time it took so long that I even saw the lockscreen for half a second before it rebooted (no SIMcard in the phone either)
3) After hours of dorking I found 2 other similar instances that could be related:
https://forum.xda-developers.com/ze...onor-qcn-file-ze550kl-z00ld-ww-t3520647/page4 (Page 4-5)
(Normal boot using a custom rom?? Interesting... maybe Xiaomi.eu made no difference for me because it's still pretty much just MIUI)
https://www.youtube.com/watch?v=8Ym0FP4BkY0 (The bottom comment):
"We cannot repair both SIM slots.
We can only repair SIM2 slot for IMEI repairing. After IMEI repair process, SIM1 IMEI getting '0' value. When we are trying to repair both SIM slot phone is entering the Bootloop and entering the recovery mode(twrp). Thats why we are remove SIM1 IMEI from qcn file and this time we can will repair to SIM2 slot. Do you know this Problem ? What can we do to solve this problem? Thank you in advance for your help."
Regards, and many thanks... DON'T MESS WITH IMEIs!!!
Click to expand...
Click to collapse
Hi , same things happen to me.I have mi note 10 lite.
before the dealing to imei I take modemst1,modemst2,and fsg backup via dd codes.
and take qcn and xqcn backup via qpst.
And after that In fastboot commend I write
"fastboot erase modemst1"
"fastboot erase modemst2"
"fastboot erase fsg"
so my imei have gone.When I edit the qcn ( imei1 and imei2 both) and flash back to the phone. phone is going to recovery mode and nvdata is corrupted error happen.There is two possibility to the save to phone. First one you wipe-data in stock-recovery or again in fastboot mode you have to erase modemst1,modemst2,fsg.
So I erased again and open the phone.
This time I edited qcn file (only imei2,imei1 codes deleted in codes line and string) so my edited qcn only exist imei2 codes.
so I flashed back to phone and imei1 shows 0 and imei2 shows my original imei(I want to recover my original imei). and after that in the adb I flashed my stock modemst1,modemst2,fsg via dd codes and (also some secret codes and combination ) and after reboot my both imei show and start working.I dont know the reason but somehow my phone skip the security.Interesetingly .I guess phone security in the software not to hardware.
I want to check something so I tried 20 time to flash my stock backups via dd codes but it is only work 2 time whenever I tried the flash and after reboot my phone add ramdump(app 2 gb every time) files in the main stroage ( I search it,it is crash log). Interesting
Right now I search to skip security so I find some codes in build.prop
"ro.miui.restrict_imei=1" I think this one cause the problem to change imei so I try to disable it but I cant change to build.prop because in android 10 you can't mount system(rw) so cant change to build.prop.I think only solution is flashing edited system.new.dat file but I cant decompile system.dat.file so .
After Android 10 magisk root app just work in systemless way(this is not even a root not like the old time).You have root but you cant change anything with root access so in originally this is not root and it is sucks and bull****.
Do you know any rom tool for the edit system.new.dat file or how can I create new custom rom so if I success it I want to change both imei. I googled it but every tool is too old to use.
Regards..
i have problem with mi 8 no basedband unknow and restart.....no qcn write...try with UMT or QFIL not work.
Mi Note 10 losts IMEIs after factory reset
gokmenm said:
imei repair is done.
the only problem is returning to "Factory settings" and imei is deleted.
Click to expand...
Click to collapse
Good morning, yes, I'm working on a brother in law's smartphone (tucana) and I notice same issue, can it be solved?
We also bought Hydra Dongle Qualcomm Tool and Software but I'm not able to fix the IMEIs on his Mi Note 10 (tucana)
Maybe you can help me (tucana)!
37berat37 said:
Hi , same things happen to me.I have mi note 10 lite.
before the dealing to imei I take modemst1,modemst2,and fsg backup via dd codes.
and take qcn and xqcn backup via qpst.
And after that In fastboot commend I write
"fastboot erase modemst1"
"fastboot erase modemst2"
"fastboot erase fsg"
so my imei have gone.When I edit the qcn ( imei1 and imei2 both) and flash back to the phone. phone is going to recovery mode and nvdata is corrupted error happen.There is two possibility to the save to phone. First one you wipe-data in stock-recovery or again in fastboot mode you have to erase modemst1,modemst2,fsg.
So I erased again and open the phone.
This time I edited qcn file (only imei2,imei1 codes deleted in codes line and string) so my edited qcn only exist imei2 codes.
so I flashed back to phone and imei1 shows 0 and imei2 shows my original imei(I want to recover my original imei). and after that in the adb I flashed my stock modemst1,modemst2,fsg via dd codes and (also some secret codes and combination ) and after reboot my both imei show and start working.I dont know the reason but somehow my phone skip the security.Interesetingly .I guess phone security in the software not to hardware.
I want to check something so I tried 20 time to flash my stock backups via dd codes but it is only work 2 time whenever I tried the flash and after reboot my phone add ramdump(app 2 gb every time) files in the main stroage ( I search it,it is crash log). Interesting
Right now I search to skip security so I find some codes in build.prop
"ro.miui.restrict_imei=1" I think this one cause the problem to change imei so I try to disable it but I cant change to build.prop because in android 10 you can't mount system(rw) so cant change to build.prop.I think only solution is flashing edited system.new.dat file but I cant decompile system.dat.file so .
After Android 10 magisk root app just work in systemless way(this is not even a root not like the old time).You have root but you cant change anything with root access so in originally this is not root and it is sucks and bull****.
Do you know any rom tool for the edit system.new.dat file or how can I create new custom rom so if I success it I want to change both imei. I googled it but every tool is too old to use.
Regards..
Click to expand...
Click to collapse
I read all your whole post and I can suggest to try to use XiaoMiFlash.exe of 2019-12-06 (WARNING: option below must be CLEAN ALL to save your unlocked state of the Bootloader) for flashing back to Android 9 in Fastboot mode original flash (those of about 4GB) , after that you can try to edit the build.prop with some Apps that work with root / Magisk.
But please, 1st I really urgently need your 4 partitions backup (also the fsc), can you send to me?
TIA and best regards!
effesse72 said:
I read all your whole post and I can suggest to try to use XiaoMiFlash.exe of 2019-12-06 (WARNING: option below must be CLEAN ALL to save your unlocked state of the Bootloader) for flashing back to Android 9 in Fastboot mode original flash (those of about 4GB) , after that you can try to edit the build.prop with some Apps that work with root / Magisk.
But please, 1st I really urgently need your 4 partitions backup (also the fsc), can you send to me?
TIA and best regards!
Click to expand...
Click to collapse
I am using mi note 10 lite not mi note 10 so there is no android 9 for mi note 10 lite
37berat37 said:
I am using mi note 10 lite not mi note 10 so there is no android 9 for mi note 10 lite
Click to expand...
Click to collapse
Sorry, I didn't know it.
Btw, did you already try File Explorer apps with root access?
37berat37 said:
Hi , same things happen to me.I have mi note 10 lite.
before the dealing to imei I take modemst1,modemst2,and fsg backup via dd codes.
and take qcn and xqcn backup via qpst.
And after that In fastboot commend I write
"fastboot erase modemst1"
"fastboot erase modemst2"
"fastboot erase fsg"
so my imei have gone.When I edit the qcn ( imei1 and imei2 both) and flash back to the phone. phone is going to recovery mode and nvdata is corrupted error happen.There is two possibility to the save to phone. First one you wipe-data in stock-recovery or again in fastboot mode you have to erase modemst1,modemst2,fsg.
So I erased again and open the phone.
This time I edited qcn file (only imei2,imei1 codes deleted in codes line and string) so my edited qcn only exist imei2 codes.
so I flashed back to phone and imei1 shows 0 and imei2 shows my original imei(I want to recover my original imei). and after that in the adb I flashed my stock modemst1,modemst2,fsg via dd codes and (also some secret codes and combination ) and after reboot my both imei show and start working.I dont know the reason but somehow my phone skip the security.Interesetingly .I guess phone security in the software not to hardware.
I want to check something so I tried 20 time to flash my stock backups via dd codes but it is only work 2 time whenever I tried the flash and after reboot my phone add ramdump(app 2 gb every time) files in the main stroage ( I search it,it is crash log). Interesting
Right now I search to skip security so I find some codes in build.prop
"ro.miui.restrict_imei=1" I think this one cause the problem to change imei so I try to disable it but I cant change to build.prop because in android 10 you can't mount system(rw) so cant change to build.prop.I think only solution is flashing edited system.new.dat file but I cant decompile system.dat.file so .
After Android 10 magisk root app just work in systemless way(this is not even a root not like the old time).You have root but you cant change anything with root access so in originally this is not root and it is sucks and bull****.
Do you know any rom tool for the edit system.new.dat file or how can I create new custom rom so if I success it I want to change both imei. I googled it but every tool is too old to use.
Regards..
Click to expand...
Click to collapse
Thank you for posting your findings on the thread! I believe the solution for Mi Note 10 users could be flashing Android 9 and changing that build.prop line, we need someone to confirm this. I hope you discover a fix for your phone as well, please write a step by step guide if so. Good luck!

Categories

Resources