Efs and relationships with Kies update. - Galaxy Note II Android Development

Efs and relationships with Kies update.
Ok so another weired behaviour from efs comes to picture.
Recently I have observed many cases with failure of firmware update with Kies due to unknown csc (xxx), even though dialing *#1234# showing everything correctly.
Now I have observed this when you have corrupted EFS, height is that your IMEI still will be correct and no network issue. But you will have only corrupted product code.
Again
This kind of issue happens if you restore your EFS backup which you have created on older rom (before me6) on latest ROM (ME6 or later).
In such condition there won't be network / IMEI issue, but you won't able to update on Kies.
How to confirm your product code corrupted ?
Install check fus or sammobile app from play store and this will show product code 'inactive'
Remedy :
You should have EFS backup which should created just after upgrade to me6 or later.
Restoring this backup also restores your product code too and you will able to see product code again on above said application.
If you have EFS backup, which you have created on older ROM only then you can reflash Older ROM. this will erase IMEI but with your older EFS backup restore it. Now check your product code, it should be appear correctly. You can now upgrade to latest ROM and make new EFS backup. which you need to restore on newer ROM only.
I have tested myself restoring both EFS backup and above said is conclusion.
So make efs backup on both firmware (prior and post me6) and restore accordingly if you want to keep Kies update possibility intact.
What if don't have any EFS backup and Product Code is missing?
Let our elite dev to respond if we can restore it with ?Hex code or anything else, Untill that
Probably you have to live with Odin
Sent from my GT-N7100 using xda premium

Related

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.

Corrupted IMEI

Would anyone out there be able to point in me in the direction for correcting a corrupted IMEI?
Had a dev release a new version of their rom today and updated, since doing so imei is now unkown.
I've restored with full odin and pit file but no luck.

restoring imei

i had corrupted efs partition i took it to a local repair shop they fixed it. it was rooted and downgraded to 5.1.1 and the imei was changed,..right after that i backed up my efs,flashed official 6.0.1using odin and then i flashed xtrestolite rom.but in xtresolite rom it does not shows imei while i press *#06# but it shows imei in about device/status/imei information and there is no issues like emergency call only.i tried flashing my backed up efs partition but the result was same. now the question is it fixable ? and can i restore my original imei as i am planing to sell the device.
It's just a ROM problem. If you want to sell the device, just install stock ROM.
I dunno, I have XtreStoLite and *#06# shows IMEI & S/N. Don't think it's a ROM problem. Did you ask guys at repair shop about it?
Sent from my SM-G920W8 using Tapatalk

Flashing twrp backup changed my imei

I flashed a TWRP MOAR backup, 1 day after that, my carrier blocked my phone, they said the TAC (first 8 imei's numers) was from another model, a samsung galaxy prime (I have an SM-N920P) so they blocked that imei. The point is I didn't do anything to change that imei, I just made a full backup and restore (including EFS folder). Any way to get my original imei? I already tried flashing the backup again. I don't have any other copy.

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?

Categories

Resources