IMEI in Filesystem? Apps keeping IMEI in logs? oneplus 8 - Android Q&A, Help & Troubleshooting

I dont have box. Phone shows IMEI Unknown. Need to find it in filesystem to write it back
I am trying to find my IMEI in my filesystem, oneplus 8.
Is it somewhere encrypted?
Any APPS that save it in Logs? or /data/opdiagnose logs maybe?

Does *#06# work?

Otherwise this may be useful:
[GUIDE] Recover your IMEI in 9 steps.
If you did not make any backup of your EFS folder, and your IMEI is messed up, this could be your solution to recover your lost IMEI. NOTE THAT AT LEAST YOU MUST HAVE THE SHIPPED ORIGINAL EFS FOLDER ON YOUR PHONE ( even if you didn't make a...
forum.xda-developers.com

Twrp backup? Efs restore

OnePlus community you search
OnePlus Community
Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.
community.oneplus.com

chrysopra said:
Otherwise this may be useful:
[GUIDE] Recover your IMEI in 9 steps.
If you did not make any backup of your EFS folder, and your IMEI is messed up, this could be your solution to recover your lost IMEI. NOTE THAT AT LEAST YOU MUST HAVE THE SHIPPED ORIGINAL EFS FOLDER ON YOUR PHONE ( even if you didn't make a...
forum.xda-developers.com
Click to expand...
Click to collapse
that post is 11 years old........... what is the EFS folder in op8 even?
and no I dont have backups or original box..... thats why i make this post.....
i searched the entire internet for entire days now..... pls answer if you have a solution

The efs folder is in the root directory of your phone. While almost every year a new verison of Android appears, the basic structure didn´t change.
With a normal file manager, the efs isn´t accessible, not even visible.
That´s not a bug, it´s a (security) feature, protecting this essential folder from being deleted or overwritten accidentially.
FYI:
Android from A to Z: What is the EFS folder?
The EFS folder contains important system files. It is advisable to make a backup, and not modify it if we do not have advanced knowledge.
androidayuda.com

chrysopra said:
The efs folder is in the root directory of your phone. While almost every year a new verison of Android appears, the basic structure didn´t change.
With a normal file manager, the efs isn´t accessible, not even visible.
That´s not a bug, it´s a (security) feature, protecting this essential folder from being deleted or overwritten accidentially.
FYI:
Android from A to Z: What is the EFS folder?
The EFS folder contains important system files. It is advisable to make a backup, and not modify it if we do not have advanced knowledge.
androidayuda.com
Click to expand...
Click to collapse
it;s not there.... I'm root with adb shell su. if it's there how to access it? are you sure it's there?

the efs consists mainly of two files: modemst1 and modemst2.
Read his:
How to Fix Corrupt EFS/No IMEI/Network Issues [3 Methods]
In this comprehensive guide, we will show you various methods to fix corrupt EFS, No IMEI, No SIM card detected, and network-related issues
www.droidwin.com

Related

[Q] Custom Rom/Unlocking issue

Hi, I'm wondering If anyone can help me with a strange issue I'm having with my Vibrant. I unlocked my phone a while back using the method in this forum
http://www.communityhosting.net/sgsunlock/vibrant.html and it worked fine.
Then I installed custom roms, I first had a froyo rom and then most recently used Eugene's Gingerclone. However a couple days ago I went to look at my phone and the APN settings were all jacked up (There was no signal just a cancel sign where the bars used to be). I've went back to the stock 2.1 rom- T959UVJFD using Odin and the service works, however when I upgrade to any other ROM the APN issue remains and I have no network service at all with any rom I've tried. I really don't know what the issue is...if anyone could help I would greatly appreciate it...because I would hate to be stuck with the stock ROM. If you have a paypal account we can work something out. I am using AT&T sim card with T-Mobile Vibrant.Thanks
Hi,
When you go to Settings > About Phone > Status...
Does your IMEI read correctly? Or do you have a generic number that starts with 044xxxxxxx or something like that?
It appears to be a generic 0044 # under the stock rom. Thanks!
Justindawg1506 said:
It appears to be a generic 0044 # under the stock rom. Thanks!
Click to expand...
Click to collapse
No problem. Please download and install Root Explorer (cost money but worth it) and browse to your EFS folder. When you are there post up the files in that directory. This may be correctable as your unlock wasn't fully successful.
EFS Folder
.android
.imei
.nv2.bak
.nv_data.bak
.nv_data.bak.md5
.nv_state
nv
nv_data.bin
nv_data.bin.md5
Justindawg1506 said:
EFS Folder
.android
.imei
.nv2.bak
.nv_data.bak
.nv_data.bak.md5
.nv_state
nv
nv_data.bin
nv_data.bin.md5
Click to expand...
Click to collapse
First, copy the full EFS folder somewhere else on the phone like the Internal SD storage section or to your PC. Now, delete nv_data.bin and nv_data.bin.md5. After those are deleted, copy .nv_data.bak and .nv_data.bak.mdf. After they are copied paste them in the same EFS directory and rename them to nv_data.bin and nv_data.bin.md5. Reboot the phone and let me know if you have your IMEI number back. This may re-lock the phone but atleast you have an intact IMEI number. Then copy the EFS structure in full valid form to somewhere else on the phone or PC and now you can mess up that section as much as you want trying to unlock and you can always restore the good folder and retry. Or if you want to send it to me, I can unlock and maintain a valid IMEI for you...
Nope, IMEI is still the same. The phone only creates a new nv_data.bin file and no nv_data.bin.md5 is created.
I stumbled upon your mobile tech video on Youtube(repairing the IMEI). After watching that, I'm pretty convinced my Vibrant's IMEI is lost forever. I'm just confused because the dates modified on the nv backup files are from last October (before I even tried unlocking or doing anything with the efs folder). I'm probably going to just put this phone on eBay. Thanks again for helping me figure this out.

please delete thread

Is there a tool to check if my efs backup is good or not ?
currently I have a bad efs on my phone, and when I tried to restore a 3 months old backup my phone still does not recognize my imei.
so, I m wondering if there is a program to check whether my backup is good or not.
also, I guess it is impossible to read the imei from the nv_data.bin file ?
BTW, the app I used to backup my efs folder copied the entire folder into /sdcard/backup/efs so I have a copy of the (entire) efs folder and not a .tar archive. does that makes any difference ?
I read some where in the dev section that copying the folder will loose the permission, is that the only thing I lost from my backup ?

HEEEELP! Phone wont recognize Sim - No IMEI - EFS

My s3 stopped recognizing the Sim yesterday, so i searched for a solution. i read in xda that its the EFS partition. I got no IMEI and no Baseband. Somehow i found 2 files on the internal SD Card: "efsbackup.tar" and "efsdev-mmcblk0p3.img".
I read this thread, but it didnt help me.
Any idea how i could fix it?
Btw, Android Revolution HD 11.0 with stock kernel
I'm guessing your Rom auto backs up the efs, so best to ask on their thread about reinstalling it
Restore your EFS backup .
jje
im going to install now arhd 11.3 and then do the restore of the efs backup.
i noticed that the backup was built yesterday evening, when the problem already was. well it seems like i got no backup, when it was working
I followed in this thread this post:
Process:
1. make a copy of your EFS folder using root explorer and store it somewhere safe (on your SD card and external SD card should do it).
2. delete the EFS folder from the root of your phone using root explorer.
3. reboot the phone
4. open root explorer and go to the EFS folder (yes, it is still there! The Android OS has generated a new one for us) and delete the following files:
nv_data.bin
nv_data.bin.md5
nv.log
.nv_data.bak
.nv_data.bak.md5
nv_data.bin.bak
and the entire IMEI folder.
5.Now go to your backed up EFS folder on your sd card and copy the IMEI folder and the " .nv_data" file (note the dot) to your new EFS folder.
6.Make another copy of the ".nv_data" file in your new EFS folder. Rename one of them to "nv_data.bin" and the other one to "nv_data.bin.bak".
7. Connect your phone to your PC and start up EFS PRO. After your phone has been detected, press the "Repair nv data" button to correct the ownership and permissions.
8. Reboot your phone into recovery mode using the three botton combo and flash the original modem firmware (the modem.bin file that you extracted earlier) to your phone using Odin (use the "phone" button for the upload) or Heimdall (use the "radio" partition for the modem.bin file upload).
9. Reboot the phone normally and your IMEI number will be restored and you will be able to connect to your mobile network again
Click to expand...
Click to collapse
and now i got an IMEI, but its still not mine: 004999010640000 / 01
If you have an efs.tar file why dont you put it in PDA in Odin?.
wont work.
deleted
Ok....then I dont understand why it backs up as a tar file then
yesterday i flashed siyah kernel, siyah probably made a efs backup. but that backup was already after that problem happened.
well i got now the 0049 imei
So you dont have a back up of you original IMEI is that what your saying?.Flashing ROMs normally is what makes a backup not flashing a kernel so Id say the backup is original.
Read this
http://forum.xda-developers.com/showthread.php?p=30682712
i read this but i dont know what to do with it. i understand that this are options to backup the efs partitions but not how to restore it how to restore it if already lost
x Schieby said:
i read this but i dont know what to do with it. i understand that this are options to backup the efs partitions but not how to restore it how to restore it if already lost
Click to expand...
Click to collapse
you need to read better then
You'll need to perform an "IMEI injection" which is a kludgy last-resort restore method that manually writes the IMEI to NVRAM; the link I provided in Part C of "Backup" will tell you how to do it.
x Schieby said:
My s3 stopped recognizing the Sim yesterday, so i searched for a solution. i read in xda that its the EFS partition. I got no IMEI and no Baseband. Somehow i found 2 files on the internal SD Card: "efsbackup.tar" and "efsdev-mmcblk0p3.img".
I read this thread, but it didnt help me.
Any idea how i could fix it?
Click to expand...
Click to collapse
That's what the efs backup is for xD
Calm down, or you'll make things worse. Unzip the efs.tar to /efs and reboot your phone (DON'T PULL THE BATTERY)
Everything should work like a charm again
Hope I could help!
LG familyguy59/Beatsleigher
slaphead20 said:
you need to read better then
You'll need to perform an "IMEI injection" which is a kludgy last-resort restore method that manually writes the IMEI to NVRAM; the link I provided in Part C of "Backup" will tell you how to do it.
Click to expand...
Click to collapse
sorry, but i still dont get it with the qpst. thats the part c you are thinking of right?
familyguy59 said:
That's what the efs backup is for xD
Calm down, or you'll make things worse. Unzip the efs.tar to /efs and reboot your phone (DON'T PULL THE BATTERY)
Everything should work like a charm again
Hope I could help!
LG familyguy59/Beatsleigher
Click to expand...
Click to collapse
going to try this now
familyguy59 said:
That's what the efs backup is for xD
Calm down, or you'll make things worse. Unzip the efs.tar to /efs and reboot your phone (DON'T PULL THE BATTERY)
Everything should work like a charm again
Hope I could help!
LG familyguy59/Beatsleigher
Click to expand...
Click to collapse
well, thats how my phone ended. i did that yesterday and my phone finally didnt even booted.
then i went to my carriers shop and told them it wont boot, and today i got a brand new phone
anyway thanks to all help!

Incorrect IMEI

Bought and activated used phone 2 weeks ago. Phone worked fine thru Friday night. Woke up Saturday to find I could not connect to cell network. Call to carrier revealed my IMEI number does not match the number they have. Somehow my phone IMEI changed to 350000000000006. Internet search revealed many others with same problem. The main difference between their situations and mine is the fact that in almost all of their cases their phone was rooted and they flashed many different ROMS to their phones and something obviously went wrong. My phone is NOT rooted and I have not tried to modify anything. Simple as that. Went to bed working, woke up broken.
I have now researched this the last few days and have no clear answer. Is it possible to set my IMEI back to my correct, legal,clean and not blacklisted value? Any help is greatly appreciated.
My guess is without a backup of the original, you can't do anything about it. Best bet is probably return it to the store you got it from and get a refund/exchange.
Edit:
Fastest and safest bet would be refund/exchange.
Little research has shown other people had a similar issue. Check Nox to make sure the phone hasn't been rooted before, if it has, you know what happened. If it hasn't, chances are the phone was flagged as lost/stolen after being sold (if 2nd hand).
As for a fix, I found this:
http://forum.gsmhosting.com/vbb/f898/g925f-imei-350000000000006-a-2044425/
Recover corrupt IMEI (without prior EFS backup folder)
Items needed
Root Explorer
Efs folder (no need to have a backup of this prior to the disappearance of IMEI folder, but it has to be this folder on the phone)
Obviously having a rooted phone
Instructions
1- With the Root Explorer to back efs folder to the SD Card
2- For safety make a second copy of the folder to the PC
3- Once both copies made to proceed to erase the original EFS folder on your phone
4 Restart the phone
5- When you start the phone, it will automatically create a new folder EFS, Root Explorer to delete the files and nv_data.bin.md5 nv_data.bin found inside the new EFS folder.
6 Copy the folder from the SAI IMEI folder we saved on the SD card and stick it on the new EFS folder created in the root directory of your phone
7- Since the SAI folder we saved on the SD card .nv_data file copy, paste into the new folder EFS generated in the root directory and rename it nv_data.bin phone, then recopy again .nv_data file rename it nv_data.bin.bak
8- With Root Explorer /efs/nv_data.bin change the owner
9. Restart the phone
If all went well you should have recovered the IMEI can check if recovered by entering * # 06 # on the phone dialer.
Thanks for the response ProdigyThirteen.
The Knox is clean 0x0. Everything I have found says the original IMEI is clean and not flagged.
I will definitely look into the procedure you provided. It looks promising. I'll take any sign of hope I can get.
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Shaggydoo said:
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Click to expand...
Click to collapse
Copy the nv_data file from the SD card to the newly generated EFS folder on the phone and name it nv_data.bin. Then make another copy in the same EFS folder and name it nv_data.bin.bak.
Then you need to set the permissions for EFS folder/nv_data.bin file. They need to be set to rw-r-r. However for this procedure you need to be rooted.
Shaggydoo said:
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Click to expand...
Click to collapse
Could you tell me did it work?
No, unfortunately it did not work. After following all the steps again, the IMEI still comes up incorrect. The search continues ..........
Shaggydoo said:
No, unfortunately it did not work. After following all the steps again, the IMEI still comes up incorrect. The search continues ..........
Click to expand...
Click to collapse
Have you tried flashing the stock firmware again? Either by smart switch or odin?
Will try again tonight when I get home.
Callumbr1, No dice on the stock flash. I installed Smart Switch and tried to do the reinitialization. It gets along in the process and then fails in the " Device does not have DRK" error. Also have DM-verity error. I tried to find solution briefly but didn't get far. Ran out of time tonight. Will try again tomorrow. Still appreciate your help.
Shaggydoo said:
Callumbr1, No dice on the stock flash. I installed Smart Switch and tried to do the reinitialization. It gets along in the process and then fails in the " Device does not have DRK" error. Also have DM-verity error. I tried to find solution briefly but didn't get far. Ran out of time tonight. Will try again tomorrow. Still appreciate your help.
Click to expand...
Click to collapse
I remember I did have the exact DRK error on my s6 edge one and dm verity fail. The way I fixed it was by flashing stock firmware through Odin. Quote me when you try again and I'll do my best to help mate.
IMEI
If you want to get back your IMEI try Dashboard .
you will find all your devices there, then try to find a way to write your IMEI in your phone (may need root)
Dashboard (https://myaccount.google.com/dashboard?hl=en)

Where can i Find the IMEI number within the efs folder?

Currently I had damage a new phone in the process of transferring a twrp backup from my gold note 8 onto my black note 8, but now silly of me I didn't realize I tried restoring the efs partition as well causing me to have a bad partition. Now, I currently manage to fix the efs partition and solve some issues im just stuck in trying to find the file in which I can alter the IMEI as currently its 00000000000 i've checked NV_data, but I cant seem to find the offset that contains it i've tried searching it on my working phone to see if I can spot the imei so I can find the right offset, but no dice.
edit: I've solved my problem i'm not sure if it'll work for you, but what I did was root my device, delete the efs folder which eventually game "000000000" imei and the baseband wasn't appearing as unknown anymore, then within the new efs folder that was created on its own there was a folder called efsec in which it contained !svc and svc files, so I extracted these files and edit these files with notepad++ which within there was an option for imei and it showed me all 0000000 so I imputed the original imei, and finally after a reboot I reflashed stock and then flashed a combination file which when it booted up it automatically restored my imei
THORMUNZ said:
Currently I had damage a new phone in the process of transferring a twrp backup from my gold note 8 onto my black note 8, but now silly of me I didn't realize I tried restoring the efs partition as well causing me to have a bad partition. Now, I currently manage to fix the efs partition and solve some issues im just stuck in trying to find the file in which I can alter the IMEI as currently its 00000000000 i've checked NV_data, but I cant seem to find the offset that contains it i've tried searching it on my working phone to see if I can spot the imei so I can find the right offset, but no dice.
edit: I've solved my problem i'm not sure if it'll work for you, but what I did was root my device, delete the efs folder which eventually game "000000000" imei and the baseband wasn't appearing as unknown anymore, then within the new efs folder that was created on its own there was a folder called efsec in which it contained !svc and svc files, so I extracted these files and edit these files with notepad++ which within there was an option for imei and it showed me all 0000000 so I imputed the original imei, and finally after a reboot I reflashed stock and then flashed a combination file which when it booted up it automatically restored my imei
Click to expand...
Click to collapse
Thanks for the answer. I would like to clarify one point ...
I realized that you replaced the parameter "deviceID": "00000000000" in SVC and !SVC files (in the newly created /efs/ sec_efs folder) with your original IMEI.
But what does "and then flashed a combination file" mean?
With which software did you flashed the modified SVC and !SVC files?
Maybe you just replaced SVC and !SVC files with 00000000000 IMEI onto SVC and !SVC with your original IMEI via RootExplorer for ex.?

Categories

Resources