yashsingh1/xdaforums huggingface dataset:
[Galaxy S III General] arsenicas:
.tar backup restore - efs

Hi guys. I lost my IMEI last week when I tried to restore backed up stock 4.3. I was on CM11 4.4.4 which I had been trying out for a while. I'm using Philz recovery.

I had not backed up efs consciously but I remember seeing efs_backup folder in my sd card. the Rom may have automatically backed up because there are 2 .tar.gz files on different dates. so I thought I could restore those. I placed the folder in clockworkmod/backup but Philz recovery can't find the folders. I also tried extracting the efs folders and replacing the dead efs folder generated by the phone but I still have no signal. I've no idea what to do next after hours of Google. I can't believe my luck that I found a backup. anyone please help me restore my IMEI

---------- Post added at 04:36 PM ---------- Previous post was at 04:21 PM ----------

oh, it looks like I managed to work around a little. After reflashing the cm11 I was using before and manually restoring the efs folder from the back up I had, I got my signal back. so I'm wondering, will flashing stock with Odin lose my IMEI again? thanks, anyone with a response. I'm just trying to avoid further headaches. I think I've had my share
[Galaxy S III General] ujinking:
help, lost my imei after 4.3 upgrade..

can anybody with a box help me out, im in nairobi and no boxes like z3x or nspro are sold..
[Galaxy S III General] ramansehra:
Install solid Explorer or any good root browser.

2 explore the EFS folder

3.select folder factory mode

4.open factory mode file as text file.

5.it will show "off"

6.change it to ON and save file

7.restart
[Galaxy S III General] Acuna:
Exactly... just follow the steps above to get off factory mode but it wont recovery your IMEI if /efs is corrupted... i'm assuming thats your issue since your cel can't get signal.
[Galaxy S III General] ujinking:
how? I used chimera trial and you can only change to a certain number...

---------- Post added at 06:26 AM ---------- Previous post was at 06:24 AM ----------

is there anybody who knows the ics repartition method? or should I start PBA method.
[Galaxy S III General] Acuna:
Why not send it to Samsung for repair? I have tried chimera as well... like you said, you wont be able to re-write to your EMEI unless you buy credits. Instead i let samsung do the job... they simply re-write the EMEI. It took half an hour and they didn't even charge for the service.
[Galaxy S III General] dany547:
thats the ideea, temporaty fix, if you want to restore the IMEI from the phones back you will have to pay 99$.
[Galaxy S III General] kraken77:
need fast reply, i accidently upgraded my i9300 ics to jellybean MH1. but then, there are no network and it shows emergency call only. how to fix that? sorry if it has been answer many several times. Anyway i have backup my ICS EFS. Can i downgrade to ICS and restore its EFS. Will i get my network back? Need urgent.

Is there any other option? When i try to restore my imei on MH1 it shows my imei correctly but i dont have any connection and it shows no service. I've try Ariza patch but my baseband shows "Unknown Baseband", i have try flashing MH1 modem also still no network. Please i need smart solution. Please
[Galaxy S III General] S3LEE:
i have repaired many s3's s4's and now my own note 2 but the mistake i made was not backing up the EFS because even though i can restore ( write) my imei back onto the phone it still will not find signal because the efs folder is missing i also get a bluetooth error because the config files are all in the sale folder the EFS folder i do write **FACTORY** imeis back for people if you need my help drop me a message thanks :)
[Galaxy S III General] nebsif:
HALP! I had null/null IMEI, restored an ancient 4.1.2 back up (4 gigs), which got me back the signal + 3g. Then wiped, flashed this http://xdaforums.com/galaxy-s3/development/rom-efextreme-lite-rom-v2-0-t2786248 and started getting Not Registered on Network. Then I restored again, but now im getting not registered on network even on the ancient backup?!?! wtf :(

btw is it ok if my IMEI ends with /01 (NOT generic)?

edit3: WTF IS THIS ****!? I force flashed a Modem thru TWRP (was getting error 7 in CWM), that broke my imei again, then I restored and got the reception back. How am I supposed to upgrade to 4.3 or 4.4 w/o ****ing up my reception/efs?!?!!? ugh sorry guy it was a loooooong and stressful night. :(

edit4: ultimately fixed by restoring a 4.1.2 back up, flashing above linked rom, then odin flashing TWRP to bypass status 7 errors in CWM, and flashing patched MK6 modem via TWRP. hope it helps somebody with null / null imei and/or Unregistered on Network
[Galaxy S III General] pabloyan:
this was really helpful, thanks
[Galaxy S III General] kraken77:
Oh man. You are late. I need that in urgent yesterday but now i fixed my phone mate ;) anyway pm me what Samsung phone can you write "Factory Imei" back. Just in case i lost my note 3 imei. :) but i already safe my EFS just to be safe. FUhh this S3 is killing me. This efs thinggy never happen on my N3 mate.

---------- Post added at 04:49 AM ---------- Previous post was at 04:47 AM ----------

In my case i flashed Clockwork mod or Philz. I never tried TWRP
[Galaxy S III General] appmonkeydev:
Plsssss need help

Please can anyone help me to fix this issue.. the suggested solution in this thread made it worst. really appreciate any help

check the issue explained here, http://xdaforums.com/galaxy-s3/help/samsung-galaxy-s3-installed-omega-rom-t2861637#post55122602
[Galaxy S III General] oxick:
YES I KNOW, dont backup EFS!!! YES YES I KNOW, my mistake, The S3 is my brother CEL... My is NOTE 2 and make a lot of BACKUP!!

First, sorry my english (im Argentino)

This is my problem, i ROOT, then FLASH BLEKOTA 4.4.2 http://xdaforums.com/galaxy-s3/development/rom-blekota-s5-lite-beta-4-5-1-t2752331 in cel of my brother.....

Work great and FINE i think like 5 DAYs, then he sendme WHATSApp no have SIGNAL NETWORK, dont conect with here company

In resumen!!

He start from ANDROID 4.1.2, flash to BLEKOTA 4.4.2

No backup EFS, and IMEI is 0049 (generic), NO SIGNAL NETWORK

I read to much POST here, there, anyware... but really really, all is a little option, but i dont wanna make this worse!!

Need your help, I download righ now a ANDROID 4.1.2 (I9300UBEMH2_I9300UVOEMH1_ARO.zip), but i have a question, the kernel and the MODEM.... If i change in 4.4.2, kernel and modem from 4.1.2, sure sure brick this.....

Repeat SORRy my ENGLISH!!!, need your help... or simple tell what to do!!!

Thank!!

My dude is what ROM STOCK with ODIN FLASH!? Downgrade from 4.4.2 to 4.1.2 no problem right? Can i later flash another CUSTOM ROM?

here ATTACH some SCRRENSHOTs to se my KERNEL and MODEM have from STOCK!!!
[Galaxy S III General] NaminatoR1254jaime.sier:
First, calm down.

Second, just download a NON PATCHED (yes, non patched EFS v2 modem (MK6, NA8, for example).

It should work.
[Galaxy S III General] oxick:
Thanks to response!! So if try to flash a only modem NON PATCH in this ROM BLEKLOTA... maybe work!! GREAT!! I will search where can a i download some of this MODEM!!... if you know some link!!! Thanks!! I will tell the result!!

WEll!! i search and download 2 MODEM different, MODEM_xxugmk6_4.3 and MODEM_xxuNA8 (cant put LINK sorry, new member) but BOTH MODEM dont give a solution!! only FLASH MODEM
[Galaxy S III General] samiran2216:
regd not registered on network isue

Hello evryone..

i use a Samsung Galaxy S3 GT-i9300 with the following settings currently:

MODEM- I9300BUUGMJ3

AP- I9300XXEMF1

CSC- I9300OXAEMC2

ROM- ARHD v28.0 (android 4.1.2)

KERNEL- siyah 1.9.1

i know these settings are pretty old now but this is what seems to work flawlessly for me. i have tried 4.3 (ARHD v51) but like many other users i get the "Not registered on Network" issue. To solve it i use "patched_BUUGMJ3_modem", i have also seen that "patched_XXUGMK6_modem" works and gets back the network in my phone. i am sorry i dont have the links but i do have the modems if anybody needs. trust me i have tried many things and read many posts in many different forums, this is what worked for me..!!

what i want to know is, i wana install Liquid Smooth v3.2 (kitkat 4.4.4)..it seems quite good to me and my friend has it..i installed it a few times and it runs too, only problem- "not registered on network" - i need a working solution to this, if anybody can please help i'd be very verryyy grateful. i have tried these above mentioned patched modems but somehow they are not helping me this time (if anybody can answer me why). i have tried flashing stock 4,3 roms from sammobile, the issue still persists and only patched modem brings back the network.

most importantly i have taken my phone even to a service centre and they said even they are unable to rectify the problem, so seems i am on my own now..i know the msg is big, but if u do read it, please do reply.

Thank You
[Galaxy S III General] Aziz04:
I 've found a new method. So I'm getting my efs backup . very practical

:cowboy:
[Galaxy S III General] rgxHost:
Similar problem here. But no solutions worked for me.

A couple of minutes ago i could make my efs consistent again. And everything else.

I now know that my efs is v1.

But im still with null/null imei.

I achieved part of my repair only by recovering an old cwm backup ive made...

Ofcourse with clean install.

Locked and re unlocked the device.

And now EFS it is consistent.

Everything is fine except i still have null imei.

How to rewrite my imei?

Also if it helps:

(apks)

GS2 Repair

Galaxy SIM Unlock

There are more...

(pc apps)

Efs professional

CDMA nv Editor

Dont remember the exact names.

And... There are more tools around.

Some require box to repair / rewrite imei
[Galaxy S III General] Wyneg:
Thanks!

Thanks to your post I could release my S3 from Stock ROM without losing network. :D
[Galaxy S III General] rgxHost:
Where to get Modem?

Either efs v1 or v2?

Can't find accurate file.

---------- Post added at 03:48 AM ---------- Previous post was at 03:43 AM ----------

Hit thank if it helped you.
[Galaxy S III General] pfmdan:
Add another reason for wrong IMEI - incorrect CSC

Hi rootSU!

First, thanks for writing this guide! I know you no longer use an S3 but myself and many other current S3 users would be grateful if you could update the OP to reflect the fact that an 0049 IMEI and missing serial can also be caused by having an incorrect CSC installed. I got a 0049 IMEI when I installed BTU roms, but when I installed a H3G (seeing as I'm on Three) ROM I got my IMEI and serial back.

It would also be useful to mention the csc changer app and A.S.id's recovery ROM.

For more info see my latest post here:

http://xdaforums.com/galaxy-s3/help/i9300-network-0049-imei-0-serial-t2900470/page2

Thanks!
[Galaxy S III General] Isnotok:
Hello guys, I have trouble with my signal on any AOSP roms: always when i'm trying to install CM11, Paranoid, Archidroid, etc. - I have no signal. It isn't porblem, because I resotre my EFS and stock rom easily, but I'd like to use AOSP rom. I have done any possible reccomended actions (efs backup, flashing different modems, etc.) - nothing helped. My current modem is UBUGNF1. I will appreciate your help and advices. Thank you for your attention and have a nice day.
[Galaxy S III General] vldesco:
can you connect using stock samsung rom but can't with any AOSP? Did you check if your APN is set correctly? Usually I have to enter my APN info with every new AOSP install (I am being too lazy to request include them to CM team :D), another tip, with stock ROM my APN has type "internet", but with AOSP it must has "default"

Hope this helps
[Galaxy S III General] Isnotok:
Thank you for your answer, but it didn't help, because my IMEI is 0049 type and, as I posted earlier, resotre doesn't help on any AOSP ROMs.
[Galaxy S III General] sudman:
rootSU, you're a lifesaver mate. Kept getting the dreaded 0049 IMEI when I was trying to downgrade a colleague's S3. I'd backed up his EFS partition but when i restored it the IMEI was still showing as 0049.....then I came across your thread and realised it was being causes by an old baseband trying to read a new Efs partition. Updated the baseband to a newer version & bang, back to the correct IMEI.
[Galaxy S III General] snj12341:
hi, i have a galaxy s3 of a friend. his imei number is showing ?????? What should i do?
[Galaxy S III General] Braticevici Bogdan:
IMEI problem

I recently got a Samsung Galaxy S3 I9300.

Error "Not registered on network" occurs when I call .

When I type * # 06 # IMEI number appears but at the end I got " / 15"

How can i fix this??
[Galaxy S III General] faddys123:
do you get data but can't make calls?

---------- Post added at 08:19 PM ---------- Previous post was at 08:18 PM ----------

Hi all,

So my friend has a galaxy s 3 and he's not getting service so I said i'll take a look at it.

So i rooted it and changed roms and stuff and I put my sim in and add the apn settings of Giffgaff and

I got data connection H+ but then I tried to make a call and it says No mobile network phone.

I checked the imei and doesn't appear to be corrupt and I checked *#0011# and it said IMEI CERT = Pass.

So don't know what the problem is and the phone is sim unlocked .

I checked online to make sure that the phone he gave me wasn't blacklisted or anything just in case lol
[Galaxy S III General] mshobz89:
help plz

i installed 4.3 on my s3 i9300 international varient using odin and after that my phones having this problem not registered on network PLZ HELP...my old phone version was 4.1.2...my phone is showing its amei no aswell...waiting for help
[Galaxy S III General] Nesqu1k2010:
fix imei 0044

i was trying to change my imei to original and no results, i even purchase SRC for 40$ and find out i need special wire and box to flash it , i want to ask is it possible if some one who have right flasher for imei (modem) can flash same phone with my imei , dump it and send it to me , and i just flash it my original imei to my phone , i can do donation , i already spend 40$for nothing , but if it posible i can send my account from SRC with credit to change imei , and you just flash modem and send dump, and when i put it inside mu phone , my phone will work again
[Galaxy S III General] Nesqu1k2010:
or just tell me who can help me with my problem
[Galaxy S III General] shanky887614:
this has been done to death here.

try flashing stock rom, modem,bootoader

if that doesnt work you need to send to to a company to have it jtag

i have used phonefunshop in the past to fix mine after a bad flash.

always backup your rom through recovery and efs partition etc
[Galaxy S III General] vldesco:
AFAIK, Samsung technical support center can help with lost IMEI (in some countries at least)
[Galaxy S III General] Alikhanak:
I backed up My EFS, Flashed my phone with back to N00t V5 and then i did not have reception. I recovered my EFS backup and now i am getting this screen, can someone help me with this.

I have changed my ROM to orignal but still this is coming.
[Galaxy S III General] Mendim.M:
are you sure you changed to stock 4.3?

I can see that your modem is mg4(if I am not wrong) you I think you need to update it! Get stock rom greater than mg4 (get latest 4.3) and flash with odin.
[Galaxy S III General] mixthoor:
I would like to thank you very much for the tips in a first post. My efs partition was corrupted and I was looking for a solutions in the internet. I found it of course on this forum. After the install custom Recovery Images (CWM, TWRP, Philz) and ROMs (CM v10.1 stable and CM11 nightly, NamelessROM), my SIM card could not register in my providers network. My IMEI was gone and all the codes like *#06#, *#197328640#, *#9090# didn't show my any infos.

I reflashed the latest stock ROM I9305XXUFNI3_I9305DBTFNI3_DBT.zip using Odin v3.09. After that, I was able to phone. Your are great guys! Keep doing.

Regards

Mixthoor
[Galaxy S III General] TOKz:
Can anyone help me out, my IMEI number has changed to 0049 and i remember backing up my EFS when i was installing a ROM using the AROMA installer. I have a file on my SD card which says efs.zip.gz, i cant flash this file. Can anyone help me out with whether this is the backup and how i can restore my EFS.
[Galaxy S III General] infinitumomega:
Hi TOKz, looking at the extension it seems that the image was zipped then gzipped.

Thus to extract the original image you should do:

gzip -d efs.zip.gz

Followed by an unzip

unzip efs.zip

Then check the size of the file you get out. It should be 20971520 bytes. You can determine this by:

ls -l

If so, then you can restore the image to the partition, supposing that the image file is efs.img

dd if=efs.img of=/dev/block/mmcblk0p3

Otherwise, what is the size of the file you get out ?
[Galaxy S III General] TOKz:
hey sorry it was a efs.tar.gz file does that made a difference? I can still extract it though
[Galaxy S III General] infinitumomega:
I thought the zip.gz looked a bit off =P. Yep it makes no difference. What does make a difference is the size of the extracted file.

For my cellphone (I9300) it is 20mb, as indicated in the previous post. If yours is the same size it's likely to be a partition dump. If you have ubuntu / some other unix OS then you can try and mount the image

sudo losetup /dev/loop0
sudo mount /dev/loop0 /mnt
cd /mnt
ls

You should see all the efs files.

To extract tar.gz files:

tar avf efs.tar.gz

but the exact parameters depends whether you're on android or *nix.

So to achieve the same on android, it seems you'll need to do

gzip -d efs.tar.gz
tar -x -f efs.tar
[Galaxy S III General] 3dawg:
One little problem I'm having that I'm not sure is related is that I can't sim unlock my phone using the galaxsim app. It says "your device contains a new locking system blah blah blah" so I can't even pay the £2.50 to unlock the phone :/

Is there any free/cheap way to do this? and do you think perhaps this inability to unlock with galaxsim is at all related to the CM11?

i9300 btw.
[Galaxy S III General] LeandritoG:
Have a topic like this for gt-i9500???

I'm having the issue of "no registered on network", but my imei still there...
[Galaxy S III General] UrduGeek:
is there any way to get rid of emergency calls only?? i have GT-I9300 International, btw i do not have any efs backup. :( [MENTION=2872010]rootSU[/MENTION] you kind help needed.
[Galaxy S III General] danarama:
I don't have an S3 any more. In fact, I've owned 2 other phones since I had an S3. I'm probably not the best person to ask.
[Galaxy S III General] UrduGeek:
Thank you any way,
[Galaxy S III General] vldesco:
AFAIK, Only in one Samsung Authorized support center.
[Galaxy S III General] UrduGeek:
Thank You For Your Kind Support :( Seems you are the Authorized Support Center Representative :D thank you anyway.
[Galaxy S III General] vldesco:
Hahaha, no, I don't, actually I love my wife's "new" S3 :D, but hate Samsung poor support for S3 (including not sources for developers).
[Galaxy S III General] UrduGeek:
I am Confused, You love your Wife's? or You Love her New S3 :D btw what if i downgrade it to 4.1.2??
[Galaxy S III General] adrianbravom:
What about if i get this?

I Have a Samsung Galaxy S3 i9300, this phone time ago worked all fine, but in the last days my imei and baseband started to appear "unknown" sometimes, so my sim card not get recognized, explained better: sometimes baseband and imei dissapear and appear again time after, more and more frequently, until now I'd never get recognized, i don't have a EFS backup, i'm serously thinking that is a hardware problem. I already downloaded to 4.0 and the same problem, cannot sent to Samsung attention for client I'm from Venezuela and samsung don't have support here

Sorry for my english.

Thanks for all.

Enviado desde mi Nexus 5
[Galaxy S III General] jasi275:
I lost my imei when i was flashing twrp 2.8.60 from rashr and got stuck in bootloop . i have the efs.tar.gz (its not .img) backup so should i extract it to tar and flash via odin.

edit; never mind i flashed archidroid 3.0.2 444 and everythings fine now.
[Galaxy S III General] DjFrantec:
so you back with a signal.....because i want to download it now....and try it
[Galaxy S III General] Dhusteh:
Hello I recently flashed my rom from the stock fw and after I have continued getting no network at all, but my IEMI is still present but failed to make backup of my previous .efs what should I do?
[Galaxy S III General] asiph:
As mention in the thread, do a refleshing a newer stock rom.

BTW check if you can do call and sms, but still have network detecting issue. (I had the issue). For me flashing a new stock rom resolved it.
[Galaxy S III General] the boy plunger:
Any help

http://xdaforums.com/galaxy-s3/help/i9300-imei-0049-confused-methods-t3188365

Thanks
[Galaxy S III General] metalshegy:
im trying to sim unlock i9300, efs v2

ROM: 12.1-20150828-UNOFFICIAL-i9300

Android version: 5.1.1

Baseband version: I9300BOUGNB1

Kernel version: 3.0.31-ArchiKernel-gb2f88f5

Build number: ArchiDroid-3.1.3-STABLE-LMY48G-CyanogenMod-i9300

i followed the steps from http://xdaforums.com/galaxy-s3/general/guide-how-to-sim-unlock-galaxy-siii-free-t1718665/page14 but couldnt find the right values in hex editor that need to be changed. some other members have the same issue but no answer was provided. is the efs v2 causing that issue? and if so is there any way to unlock the sim card?
[Galaxy S III General] moh.tataloo:
tanks......my device is n8000 10.1 and serial number is 00000000000!can do repeir whit tis way?and restore my serieal?because i do any way is site and not work for n8000!..plaese help
[Galaxy S III General] Rene2322:
Hello, I tried several time to clean flash the 0820 snapshot CM13 on my I9300, but without luck. Problem is my SIM is not detected. When dial *#06# IMEI number is OK.

I use this phone as daily phone with latest CM11 snapshot.

I posted in the Q&A-thread of this forum. It appears my install procedure is correct. Someone suggested I might have installed CM11 over stock 4.2.1 (and skipped stock 4.3). I can't remember anymore.

Latest KIES3 backup (original Samsung firmware) I can find on my PC is dated January 2014.

Few questions:

1. can old EFS partition cause this problem when installing CM13 (no sim detected)?

2. how can I determine which EFS version I have?

3. will clean install stock 4.3 update the EFS partition to the so called EFS v2?

Thanks, René
[Galaxy S III General] dawoodkh:
Hello guys.I just updated my 4.3 official rom to cm 13 on my i9300 device.

I have a full back up (including efs folder 'system' datas and etc.) via TWRP.

but when I installed cm 13 and full Gapps My IMEI has gone I tried restoring efs folder(by TWRP )but still there is no IMEI. IMEI is unknown.

anyone knows how I can fix it?!

because of full back up I can easily go back to my ex rom without any serial problem

but I want to try sth new.

thank you guys

I'm waiting for your answers.
[Galaxy S III General] Petrit Ziu:
About step 2 of the /efs is corrupt case. Should i flash a stock original firmware or a stock based custom rom? Via custom recovery or odin? Thanks