Can't Backup'ing EFS Partition - Galaxy Ace S5830i Q&A, Help & Troubleshooting

My phone lost his Imei after restoring to factory settings. I have root, and I was trying to do it because I have root so unrooted&wipe but after wipe my imei lost again, (once happened again, that time i sent it to service and came in good condition) but I found the EFS backup ing and editing with a hex editor will set things to order but even I have root and giving permissions to any program wont see SU.
Galaxy Toolbox prog. can't find any EFS and I could not be able to edit it. There is no Galaxytoolbox folder (or YGSxyz folder) in sdcard. And if I look with root explorers, there is no things in efs folder.
I mean to use this method but I do not have anything in my efs folder.
Any Ideas?

SweetyVolty said:
My phone lost his Imei after restoring to factory settings. I have root, and I was trying to do it because I have root so unrooted&wipe but after wipe my imei lost again, (once happened again, that time i sent it to service and came in good condition) but I found the EFS backup ing and editing with a hex editor will set things to order but even I have root and giving permissions to any program wont see SU.
Galaxy Toolbox prog. can't find any EFS and I could not be able to edit it. There is no Galaxytoolbox folder (or YGSxyz folder) in sdcard. And if I look with root explorers, there is no things in efs folder.
I mean to use this method but I do not have anything in my efs folder.
Any Ideas?
Click to expand...
Click to collapse
try to do this tutorial http://forum.xda-developers.com/showthread.php?t=1968360 there is a
guide with adb but you have to root youe device then for me it?s normal that root explorer doesn't see
efs partition for security i think and so you see that is empty...

flash stock kernel..u will get your imei back..works for me every time
Sent from my GT-S5830i using xda app-developers app

angel.sea said:
try to do this tutorial http://forum.xda-developers.com/showthread.php?t=1968360 there is a
guide with adb but you have to root youe device then for me it?s normal that root explorer doesn't see
efs partition for security i think and so you see that is empty...
Click to expand...
Click to collapse
My device is rooted and its giving permission to applications but applications can't read the given SU permission. Somehow weird situation, oh by the way my phone could not connect to wifi on by own, i have to enter values of my wifis parimeters of ip gateway etc. and I could not update SU binary.
srt99 I'm not a professional android user, not linux anyway, so I dont want to interact with changing roms because there is no Turkish rom in sammobile or any like (I do not use Turkish language on my phone, but still my guarantine is continue and will send if I could not make it. )

AW: Can't Backup'ing EFS Partition
SweetyVolty said:
I'm not a professional android user, not linux anyway, so I dont want to interact with changing roms because there is no Turkish rom in sammobile or any like (I do not use Turkish language on my phone, but still my guarantine is continue and will send if I could not make it. )
Click to expand...
Click to collapse
You don't have to be a professional, like everybody can do this. Just flash this through cwm and you have stock kernel again.
¿U mad bro¿

SweetyVolty said:
My phone lost his Imei after restoring to factory settings. I have root, and I was trying to do it because I have root so unrooted&wipe but after wipe my imei lost again, (once happened again, that time i sent it to service and came in good condition) but I found the EFS backup ing and editing with a hex editor will set things to order but even I have root and giving permissions to any program wont see SU.
Galaxy Toolbox prog. can't find any EFS and I could not be able to edit it. There is no Galaxytoolbox folder (or YGSxyz folder) in sdcard. And if I look with root explorers, there is no things in efs folder.
I mean to use this method but I do not have anything in my efs folder.
Any Ideas?
Click to expand...
Click to collapse
try this new script http://forum.xda-developers.com/showthread.php?t=2177118..bml15 is the partition that contain the imei
or write this code on terminal emulator
su press enter
busybox dd if=/dev/bml15 of=/sdcard/bml15.img press enter
a line at a time
and see the sd card try with hexeditor like the guide http://forum.xda-developers.com/show....php?t=1968360

Thanks for posting with this much helpful contains. But my device can not gain root acces even have the app superuser in main menu. I couldnt figure out why, while I'm trying to update binary it couldn't gain root access even given permission to superuser inself. Tried to install SuperSU from chainfire but it does not install it. even with ccw mod installer.

SweetyVolty said:
Thanks for posting with this much helpful contains. But my device can not gain root acces even have the app superuser in main menu. I couldnt figure out why, while I'm trying to update binary it couldn't gain root access even given permission to superuser inself. Tried to install SuperSU from chainfire but it does not install it. even with ccw mod installer.
Click to expand...
Click to collapse
you tried to do the Unroot with cwm and redo the root process?
if you type in terminal emulator su on what you said?

angel.sea said:
you tried to do the Unroot with cwm and redo the root process?
if you type in terminal emulator su on what you said?
Click to expand...
Click to collapse
Uhm i do with normal recovery mode, not with cwm. If I write "su" "$" changes to "#" but if I write "whoami" returns with this line "whoami: not found"

SweetyVolty said:
Uhm i do with normal recovery mode, not with cwm. If I write "su" "$" changes to "#" but if I write "whoami" returns with this line "whoami: not found"
Click to expand...
Click to collapse
what is whoami?
so if with su changes with # you are in root.....so try the command that wrote before for bml15
and to upgrade su bin try super user fix by chainsdd in playstore if forse fix then you have to remove the battery

angel.sea said:
what is whoami?
so if with su changes with # you are in root.....so try the command that wrote before for bml15
and to upgrade su bin try super user fix by chainsdd in playstore if forse fix then you have to remove the battery
Click to expand...
Click to collapse
whoami - who am i
However, this is used on Linux to check the username of the User
It is useless for s5830i
If your phone gets #
Then it's rooted
Try my Tool In Development section for backing up EFS partition

angel.sea said:
what is whoami?
so if with su changes with # you are in root.....so try the command that wrote before for bml15
and to upgrade su bin try super user fix by chainsdd in playstore if forse fix then you have to remove the battery
Click to expand...
Click to collapse
Yes i have the bml15 and when open it with hex editor at line 0x80000 I can see my imei number, what should I do now?
dd if=/sdcard/bml15.img of=/dev/block/bml15 line prints "dd: not found" how ever, the opposite command token the bml15.img to sd card.

SweetyVolty said:
Yes i have the bml15 and when open it with hex editor at line 0x80000 I can see my imei number, what should I do now?
dd if=/sdcard/bml15.img of=/dev/block/bml15 line prints "dd: not found" how ever, the opposite command token the bml15.img to sd card.
Click to expand...
Click to collapse
if you can see your emei that's a problem of incompatibility between your firmware....but you had installed cronemode's scripts?
try to reflash stock kernel and will see that your emei wiill come back....LINK [STOCK KERNEL] ----- http://www.mediafire.com/?8amfqkqq28v1h9f
stock kernel modules ---- http://www.mediafire.com/?7tckgiclaq80aoc
flash with cwm that take from this thread http://forum.xda-developers.com/showthread.php?t=1551156

angel.sea said:
if you can see your emei that's a problem of incompatibility between your firmware....but you had installed cronemode's scripts
Click to expand...
Click to collapse
Hm.. My firmware is in its orginal state, I only rooted my phone and OS started to flikering so I decided to wipe data, delvik clean cache wipe etc. after that my imei is became unknown...
Edit: I didnt install any scripts, or cronemode?

SweetyVolty said:
Hm.. My firmware is in its orginal state, I only rooted my phone and OS started to flikering so I decided to wipe data, delvik clean cache wipe etc. after that my imei is became unknown...
Edit: I didnt install any scripts, or cronemode?
Click to expand...
Click to collapse
try to use the file of this thread http://forum.xda-developers.com/show....php?t=1551156 to unroot and root then reflash stock kernel that there were a mistake in os
your rom will be the same....try and tell me if work fine...for me work fine
no you have to use a little apk bmlunlock and then to use the command to mount the partition or viceversa and then
busybox dd if=/sdcard/bml15.img of=/dev/block/bml15 but i don t remember if you have to use chmod command also

My dear sir, I have complated my mission with odin and lastest sammobile rom. Thank you all for your greatest effords and helps. :angel:

SweetyVolty said:
My dear sir, I have complated my mission with odin and lastest sammobile rom. Thank you all for your greatest effords and helps. :angel:
Click to expand...
Click to collapse
iM happy to you....

I have a weird problem
I tried restoring IMEI with every possible method
But it didn't get restored
Even flashed stock firmware
Didn't help
Though after some retries, I was able to restore it back but then too, I disappears after some reboots

iamareebjamal said:
I have a weird problem
I tried restoring IMEI with every possible method
But it didn't get restored
Even flashed stock firmware
Didn't help
Though after some retries, I was able to restore it back but then too, I disappears after some reboots
Click to expand...
Click to collapse
Using any cronmod scripts?
Sent from my GT-S5830i using xda premium

uchihachi said:
Using any cronmod scripts?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Yes
But I was using them for last 5 months without a problem

Related

[Q] No Imei?, No Baseband?

I have no Imei, No baseband, No reception (obviously)
ive been running cognition 1.51
and have downloaded csc selecter or something similer (that never worked) but i think that may be the issue when i opened it..
But i was wondering if there is a fix for this yet? or if someone can help me with resoring my phone to factory including the format of the efs folder?
ive searched for help about this, but noone has seemed to come up with a solution..
any help would be greatly appreciated
FIXED
cantelog said:
1st off i have a macbook running OSX 10.6.8
i take no responsibility for any bricking
make a backup of efs
NOTE: - Buy Root Explorer
- You have to have root!
- You HAVE to Have SUPERUSER installed
- USB debugging ON on your Phone (Settings>Applications>Development)
- Google is your friend and so am i
-- INSTALL SDK
1. Downloaded the android SDK http://developer.android.com/sdk/index.html
2. unzip the SDK and changed the folder name from "android-sdk-mac_x86" to something simple "android"
3. drop the folder into Applications
4. open up terminal and copy "export PATH=$PATH:/Applications/Android/platform-tools/" WITHOUT THE "
(now you have SDK INSTALLED)
-- THE FIX
1. plug in your phone
2. open Terminal, and open Superuser app on your phone
- NOTE: when you write "su" into Terminal, accept on the superuser app.
In Terminal Write -
adb shell
su
cp -r /efs /sdcard
3. Mount your Sdcard
4. copy and save a backup of the folder efs
5. download hexedit for mac
6. open Hexedit and open NV_data.bin, search for i9100
-should be something like "XX 1.500XSAGT-I9100XXXXSAXXXXXXXX"
7. change the RED codes to your CSC country code and save
here are some country codes
8. open /IMEI/mps_code.dat in Hexedit
- change the Code for your country code aswell and save
9. unmount Sdcard
10. MAKE SURE U HAVE A BACKUP OF EFS
11. Goto Root Explorer and copy contents of sdcard/efs to efs/
12. reboot
13. Yippee
Click to expand...
Click to collapse
Did you back up your efs folder?
Sent from my GT-I9100 using xda premium
cantelog said:
I have no Imei, No baseband, No reception (obviously)
ive been running cognition 1.51
and have downloaded csc selecter or something similer (that never worked) but i think that may be the issue when i opened it..
But i was wondering if there is a fix for this yet? or if someone can help me with resoring my phone to factory including the format of the efs folder?
ive searched for help about this, but noone has seemed to come up with a solution..
any help would be greatly appreciated
Click to expand...
Click to collapse
Just reflash modem.
If you didn't back up your efs folder, you might be out of luck. Try flashing the stock firmware for your provider and see if that helps.
Sent from my GT-I9100
all the flashing i have done over the past year with my sgs i9000 and now sgs2 i9100 i have never seen anything todo with efs.
so no i havnt backed up that folder, that cant be the only way to fix this?
i have looked in my efs folder and there is some files with .bak in them so im thinking some of the roms ive flashed in the past may have done a backup or something?
cantelog said:
all the flashing i have done over the past year with my sgs i9000 and now sgs2 i9100 i have never seen anything todo with efs.
so no i havnt backed up that folder, that cant be the only way to fix this?
i have looked in my efs folder and there is some files with .bak in them so im thinking some of the roms ive flashed in the past may have done a backup or something?
Click to expand...
Click to collapse
If you are missing baseband, there can't be imei either so flashing modem should restore it.
Happened to me a couple of times.
Daagen said:
Just reflash modem.
Click to expand...
Click to collapse
ill do that now
cantelog said:
ill do that now
Click to expand...
Click to collapse
ive just reflashed the modem KH3 and still
NO IMEI
Baseband Unknown
WTF
cantelog said:
ive just reflashed the modem KH3 and still
NO IMEI
Baseband Unknown
WTF
Click to expand...
Click to collapse
It means you still dont have modem for some reason.
If you have flashed new kernels recently, go back to kernel which worked and then reflash modem.
Daagen said:
It means you still dont have modem for some reason.
If you have flashed new kernels recently, go back to kernel which worked and then reflash modem.
Click to expand...
Click to collapse
Im going to flash stock KH3 Kernel, Rom and Modem
because that worked for me in the past
do you recommend i re partition from odin? (could it help/hurt?)
No need for repartition.
Daagen said:
No need for repartition.
Click to expand...
Click to collapse
I flashed Stock kernel KH3, Stock Rom KH3, and Stock Modem KH3, Still have NO Baseband still NO IMEI and still NO Reception. aarrgghh
djnoicatse said:
If you didn't back up your efs folder, you might be out of luck. Try flashing the stock firmware for your provider and see if that helps.
Sent from my GT-I9100
Click to expand...
Click to collapse
Telstra Firmware for I9100 isnt available at samfirmware.com yet, so i cant flash that Branded Rom
cantelog said:
Telstra Firmware for I9100 isnt available at samfirmware.com yet, so i cant flash that Branded Rom
Click to expand...
Click to collapse
When you changed CSC, Your IMEI got corrupted. Only way to restore is efs back up or reverting back to original firmware. This should work ...
If not , You may try this one , http://forum.xda-developers.com/showthread.php?t=837239
I was able to solve it using this method. You need to be rooted to do this ...
This will void your warranty ... so be careful.
I would definitely not recommend using a i9000 method of getting the baseband, imei back on a i9100.
The EFS folder contains critical files for the IMEI, Baseband, serial number of the phone etc.
Check in the Q&A threads and in here someone else also had the same issue and they managed to resurrect their phone with some developer support.
Good luck, only other option is a repair job and just say kies crashed through the firmware update and now the phone doesn't boot.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Virtualsk said:
When you changed CSC, Your IMEI got corrupted. Only way to restore is efs back up or reverting back to original firmware. This should work ...
If not , You may try this one , http://forum.xda-developers.com/showthread.php?t=837239
I was able to solve it using this method. You need to be rooted to do this ...
This will void your warranty ... so be careful.
Click to expand...
Click to collapse
FIXED
Thankyou for putting me in the right direction Virtualsk
if you arent using a pit file dont touch the re-partion box or your will screw your phone completely and dont tick the EFS box either although now that doesnt matter as its already to late.
1st off i have a macbook running OSX 10.6.8
i take no responsibility for any bricking
make a backup of efs
NOTE: - Buy Root Explorer
- You have to have root!
- You HAVE to Have SUPERUSER installed
- USB debugging ON on your Phone (Settings>Applications>Development)
- Google is your friend and so am i
-- INSTALL SDK
1. Downloaded the android SDK http://developer.android.com/sdk/index.html
2. unzip the SDK and changed the folder name from "android-sdk-mac_x86" to something simple "android"
3. drop the folder into Applications
4. open up terminal and copy "export PATH=$PATH:/Applications/Android/platform-tools/" WITHOUT THE "
(now you have SDK INSTALLED)
-- THE FIX
1. plug in your phone
2. open Terminal, and open Superuser app on your phone
- NOTE: when you write "su" into Terminal, accept on the superuser app.
In Terminal Write -
adb shell
su
cp -r /efs /sdcard
3. Mount your Sdcard
4. copy and save a backup of the folder efs
5. download hexedit for mac
6. open Hexedit and open NV_data.bin, search for i9100
-should be something like "XX 1.500 XSA GT-I9100XXX XSA XXXXXXXX"
7. change the XSA codes to your CSC country code and save.
here are some country codes
8. open /IMEI/mps_code.dat in Hexedit
- change the Code for your country code aswell and save
9. unmount Sdcard
10. MAKE SURE U HAVE A BACKUP OF EFS
11. Goto Root Explorer and copy contents of sdcard/efs to efs/
12. reboot
13. Yippee
I was trying to make a call, the person on the other side could not hear me. I reboot and...lost my baseband. Checked IMEI, it was also missing. Tried the solution above, but when I get to the below command:
cp -r /efs /sdcard
I get the message: "-r /efs /sdcard: not found"
I'm using Windows 7, BTW.
Please, please help.
Thanks.

[Q] help with factory mode

hi
im very new in the forum thats my first post
i tried to install an app that required a rebbot in my gt-i9300, i rebooted and i got an pop-up window said that factory mode has crashed.
i searched for days in the internet and i found this thread: http://forum.xda-developers.com/showthread.php?t=1762204&page=53
i did all but my galaxy says that its unable to chmod /efs/FactoryApp/factorymode: no such file or directory
then i realised that i have no efs directory and that i can download one from here http://forum.xda-developers.com/showthread.php?t=888193
so' my question is,
if i will flash it with odin, will the error will dissapear?
and if the answer is yes,
i understand that some people flash it because they have no imei and the phone dont recognize their sim card.
and my fear it can happen to me if ill flash it
some help please?
What app did you try installing?
slaphead20 said:
What app did you try installing?
Click to expand...
Click to collapse
the swapsd app.
but theres no matter what app i installed
i just want to know if i can install the efs directory without problems
so please help me everyone!
You have a backed up EFS on your phone ???
jje
JJEgan said:
You have a backed up EFS on your phone ???
jje
Click to expand...
Click to collapse
yes i have a backup named efs.tar in my root directory
can i restore the folder from it?
arimal199 said:
yes i have a backup named efs.tar in my root directory
can i restore the folder from it?
Click to expand...
Click to collapse
Well, obviously you can. That's what an efs backup is for
Copy the tar file to your PC and download the Android SDK.
Once the Android SDK is installed, open up a command prompt.
Once you're in the command prompt, CD to the directory where the ADB executables and libraries are.
Usually it's here:
Code:
cd C:\android-sdk\platform-tools\
Once you're in the directory where the files are, unpack the TAR file and type the following code:
Code:
adb start-server
adb push <path-to-your-unpacked-TARfile> /efs/
adb kill-server
If you need further assistance, feel free to PM or email me
Hope I could help!
Lg
familyguy59 said:
Well, obviously you can. That's what an efs backup is for
Copy the tar file to your PC and download the Android SDK.
Once the Android SDK is installed, open up a command prompt.
Once you're in the command prompt, CD to the directory where the ADB executables and libraries are.
Usually it's here:
Code:
cd C:\android-sdk\platform-tools\
Once you're in the directory where the files are, unpack the TAR file and type the following code:
Code:
adb start-server
adb push <path-to-your-unpacked-TARfile> /efs/
adb kill-server
If you need further assistance, feel free to PM or email me
Hope I could help!
Lg
Click to expand...
Click to collapse
wow
thanks man ill try it
arimal199 said:
wow
thanks man ill try it
Click to expand...
Click to collapse
oh i forgot
my pc doesnt recognize my galaxy
maybe i can go to someone that already has a adb and see if he can fix it
but really thanks
I believe you'll also need to change files owners and access rights for it to work.
Edit : if you don't have any efs folder, I think your efs partition might not be mounted. Type "mount" in a terminal emulator and check if a line refers to /efs (that should be block 3)
arimal199 said:
oh i forgot
my pc doesnt recognize my galaxy
maybe i can go to someone that already has a adb and see if he can fix it
but really thanks
Click to expand...
Click to collapse
Check out the links in my description. (Win8 help - ADB etc. etc. ...) that works with Windows Vista, 7 and 8. If you need the ADB binaries, in that same thread, you can donate a bit of money to me and I'll license you a program (Always with updated binaries) that installs ADB and fastboot to your system's root. With the click of a button
Lg
Edit: You can also download my universal Android tool kit and with the next update, all the Samsung Galaxy S III variants will be supported and you can easily backup/restore your /efs partition from there (With the Pro version, that is)
spocky12 said:
I believe you'll also need to change files owners and access rights for it to work.
Edit : if you don't have any efs folder, I think your efs partition might not be mounted. Type "mount" in a terminal emulator and check if a line refers to /efs (that should be block 3)
Click to expand...
Click to collapse
i looked in mounts and storage in cwm and saw that efs is not mounted.
can i mount it and it will work?
arimal199 said:
i looked in mounts and storage in cwm and saw that efs is not mounted.
can i mount it and it will work?
Click to expand...
Click to collapse
no i understood' i wasnt at factory mode at all!
all the time i had imei and call function , the only problem was that factory test has stopped.
so, i downloaded titanum backup pro and turned factory test app off.
now my galaxy went back to normal all works as well!
thanks for trying to help guys!

[SOLVED] Can't restore EFS from backup

Problem solved!​
**********************
I think my problem happened because a flashed a ROM with MG4 baseband, and then flashed UltimaROM with another baseband which caused my baneband to corrupt.
I tried to flash Stock ROM and install different baseband but non of this worked.
finally I flashed BTU stock ROM (Which comes with MG4) but the problem still here.
Then I installed root, deleted the efs folder and replaced all the files with the files in the backup - restart and everything is working! my IMEI returned to normal.
**********************​
Original question
Hello devs,
I have Siyah kernel which auto backup my EFS, i have backup named "efs_28Aug2013-1852.tar.gz"
I want to restore from this backup because I lost my IMEI when I flashed UltimaROM
I renamed it to "efsbackup.tar.gz" and put it in the root of the sdcard
then I started adb shell & run the code
Code:
su
umount /efs
mke2fs /dev/block/mmcblk0p1
mount -w -t ext4 /dev/block/mmcblk0p1 /efs
busybox tar zxvf /sdcard/ efsbackup.tar.gz -C /
I granted ADB shell root access
then i went to recovery and run the command (because I can't run umount /efs while device's running it gives resource busy message)
However when I run the first command "su" in gives me this message
Code:
/sbin/sh: su: not found
so I skipped to the next command
but I get the message
Code:
umount: can't umount /efs: Invalid argument
Please guys any help appreciated
Click to expand...
Click to collapse
Unzip it with a file manager and use a root explorer to replace manually
Sent from my GT-I9300 using Tapatalk 4
.
I've backup my efs with adb but how do you have a file on tar format, i've got a file on .img, it's normal ?
There's about nine different ways to backup the efs, .img is fine but a little on the large side at 20mb. A .tar of the same is only 5mb.
rootSU said:
Unzip it with a file manager and use a root explorer to replace manually
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Thank you for your reply, I did as you said but this only changed my IMEI from "Unknown" to the generic IMEI "004999..."
Is there something wrong in the method or my backup may be corrupt
Sent from my Nexus 7 using Tapatalk 2
Read the imei / efs thread in general.
Sent from my GT-I9300 using Tapatalk 4
Thank you again, I read the thread in the past but it looks like it has been updated recently.
I think my problem happened because a flashed a ROM with MG4 baseband, and then flashed UltimaROM with another baseband which caused my baneband to corrupt.
I tried to flash Stock ROM and install different baseband but non of this worked.
finally I flashed BTU stock ROM (Which comes with MG4) but the problem still here.
Then I installed root, deleted the efs folder and replaced all the files with the files in the backup - restart and everything is working! my IMEI returned to normal.
Thank you RootSU for your help.
hey bro,
i am stuck
help me out
- my efs(folder) is blank
- i installed stock with pit file but no help!
- right now my cell is in bootloop!
- it goes to recovery, download mode.
i have efs.tar.gz file and a folder named efs in my ext sd
how do i copy that to int memory?
can't even create a cwm flashable zip file of the same?????
help me bro.....
You are posting in a thread that tells you how to restore an efs backup, how much more could you possibly need?
Go to recovery, factory reset.
Get the phone to boot, unpack the .tar file and follow the instructions in the OP.
boomboomer said:
You are posting in a thread that tells you how to restore an efs backup, how much more could you possibly need?
Go to recovery, factory reset.
Get the phone to boot, unpack the .tar file and follow the instructions in the OP.
Click to expand...
Click to collapse
Dear boomboomer,
i am sorry, but my phone is in "bootloop" how am i suppose to delete the "EFS" ? that s what i am asking!!!!!
i have both efs.tar.gz and extracted folder ready in my ext-sd......
i wonder if somebody can help me with creating a cwm.zip from the .tar file
thanks ....
try to install stock again via odin but this time install a diffrent version (for example if you installed INU this time try INS).. before that factory reset your phone and wipe cache via recovery mode.. don't lose your efs backup it's very important copy it to your PC in case something wrong happens
i already did so
almousawi said:
try to install stock again via odin but this time install a diffrent version (for example if you installed INU this time try INS).. before that factory reset your phone and wipe cache via recovery mode.. don't lose your efs backup it's very important copy it to your PC in case something wrong happens
Click to expand...
Click to collapse
bro, thanks for your help recently i tried cm 10 also but nothing happened.
believe me i tried everything now the only option is left that is
to restore efs backup from efs.tar.gz (which is about 12 MB)
OR
create a cwm flashable zip from the efs folder which is about 22 MB)
OR
take my phone to download mode and try to push whole "efs" folder to the location with help of "ADB"
hello
mikks said:
bro, thanks for your help recently i tried cm 10 also but nothing happened.
believe me i tried everything now the only option is left that is
to restore efs backup from efs.tar.gz (which is about 12 MB)
OR
create a cwm flashable zip from the efs folder which is about 22 MB)
OR
take my phone to download mode and try to push whole "efs" folder to the location with help of "ADB"
Click to expand...
Click to collapse
hello nobody is here to help......??????
mikks said:
hello nobody is here to help......??????
Click to expand...
Click to collapse
Correct this is not a paid for service .
Suggest you take it to a service centre .
know that i did that already....
JJEgan said:
Correct this is not a paid for service .
Suggest you take it to a service centre .
Click to expand...
Click to collapse
thanks for the reply, respect to your reply and interest no disrespect ...
i took that to the center but they failed and by the way they come to me in some cases... so they give me free service...
my phone is in boot loop, i have efs.tar.... can i use phills recovery ????? or can i use someone elses backup... just to boot up my device ...then i'll be good .... i just need to get my device booted up.....

[Q] NO network

Hi. i cant understand the sticky threads at all. i have read it 1000 times.
Lost the signal after flashed Imperium ROM.
I believe i can recover that by restore a cwm backup i did some time ago ?
BUT i have formated the internal phone and no restore files are located. I have it on PC but
have not been able to copy the backup folder to the phone so that CWM can find it ??
And the stickys makes no sense to me..
Damn it.
Just knew i was going the wrong way in Imperium AROMA installer .. :/
Any help plz ?
I have found a way in the forums to find the files in CWM...
/data/media/clockworkmod/backup..... I put them there and i could find the recovery file.
But i just glanced somewhere that i wont restore them modem . :/
Anyway its restoreing, and i hope it works.
If you made a full nandroid then it will restore your modem, but not your efs folder - which is responsible for most no network issues.
You'll have to read through the stickies, particularly the 'before you root' and 'imei know this stuff' ones. I'm not going to type it all out for you.
Follow the instructions to flash a stock ROM with an EMG4 baseband, which solves many efs issues. If it doesn't then you'll need to pay for a repair, about £20.
just realised its bricked.
i have a copy of efs folder on pc but not sure what to do.
EFS Proffesional cant find a backkup in restore tab, even though i believe i did make one.
In my efs folder are.
bluetooth
drm
factoryapp
emei
wifi
and 7 files.
can i copy and paste something to the phone to make it work ?
Yes , copy those backed up efs folder files to your phone's efs folder and reboot. It should work.
sent from the state where marijuanated muffins are NOT illegal !
I would recommend using ADB as copy doesn't retain the required permissions.
Full step-by-step adb guide for this in my IMEI / EFS thread
rootSU said:
I would recommend using ADB as copy doesn't retain the required permissions.
Full step-by-step adb guide for this in my IMEI / EFS thread
Click to expand...
Click to collapse
I use root explorer to copy paste and it did retain permissions but yeah to be on safer side using bridge is more preferable
sent from the state where marijuanated muffins are NOT illegal !
kangerX said:
I use root explorer to copy paste and it did retain permissions but yeah to be on safer side using bridge is more preferable
sent from the state where marijuanated muffins are NOT illegal !
Click to expand...
Click to collapse
Yes root explorer may be better than other file managers with root permissions to be fair. But most people think root exploring is a simple thing that can eb done by any free app
hi and thank you.
I was not able to copy efs folder to phone, or to say, i managed to copy it via Es file explore to the root efs.
But phone ended up with Factory error, so now i have the screen thing on the phone.
I tried to type the guide from root SU in Terminal with no luck, nothing worked or would be regonized, sadly.
I read somewhere that i stock rom might solve the things, so thats where im going now.
I have removed binary counter to 0, and it says im on stock firmware and recovery.
I have installed stock recovery.
BUT im stuck at finding my STOCK ROM.
Im using THIS guide......
http://forum.xda-developers.com/showthread.php?t=2323847
AP: I9300XXEMG4
CP: Unknown
CSC: I9300NEEEMG2
As far as i can read i shall find I9300NEEEMG2 on this page.....
http://samsung-updates.com/device/?id=GT-I9300
But its not there, there are many I9300XEMG4 ?.
I have tried installing KIES, to find my firmware/model. But it wont find my phone.
Im stuck at those 1000 stock roms.
Help plz.
sup3rbuck said:
I was not able to copy efs folder to phone, or to say, i managed to copy it via Es file explore to the root efs.
But phone ended up with Factory error, so now i have the screen thing on the phone.
Click to expand...
Click to collapse
This is because you did not follow suggestions. ES will not do the trick because it will not retain permissions. ADB was your option, or perhaps root explorer.
I did try this page http://developer.android.com/tools/index.html and downloaded SDK pack.
Its pure madness to me, and i was unable to find something that looked like a file browser.
Root explore i did look at, but it did cost some money. And maybe it wont work !
sup3rbuck said:
I did try this page http://developer.android.com/tools/index.html and downloaded SDK pack.
Its pure madness to me, and i was unable to find something that looked like a file browser.
Root explore i did look at, but it did cost some money. And maybe it wont work !
Click to expand...
Click to collapse
FX Explorer and Root add on is free .
Service centre repair is relatively cheap .
I have paid 5$ a month in some insurance, so last resort is i smash it with a hammer so they wont be able to connect it to a computer.
And get a new one. But i wanna learn this stuff for the future.
I tryed fx explore, and the Factory mode has gone now. But still no network, and eimei says null/null ?
sup3rbuck said:
I have paid 5$ a month in some insurance, so last resort is i smash it with a hammer so they wont be able to connect it to a computer.
Fraud and theft is not allowed on XDA .
Click to expand...
Click to collapse
Sure no problem.
as a Blacksmith, stuff might happens when sheit hits the fan.
Thanks for all you answers.
I have fixed my phone with a stock firmware install. :highfive:

[Guide] How to recover IMEI having no backups at all

Hey guys! This thread for such difficult cases when IMEI (CSPSA parittion) is lost and you don't have any backups for this partition.
It's a long story, how exactly I recently turned my phone into a tablet without RIL working but the long story short - both EFS and CSPSA parrtitions were messed up without any obvious ways to recover the latter, since I had no backup.
First of all, I should thank @ace2nutzer since he first found in JB firmware utility, that sets the IMEI to default one (15 zeros). The below is code taken from one of JB codinap firmware:
Code:
#TA Loader to write default IMEI
service ta_load /system/bin/ta_loader recovery
user root
group radio
oneshot
The legality of the use of this I'll leave out the scopes of this topic (and thus this is up to Samsung / ST-Ericcson vendors since this utility was developed by them) - remember that this guide is not about how to change IMEI, but only to recover your original one. Also remember that changing IMEI is illegal in many of countries.
Ok, let's go to the work, but remember, any even more serious damage that you can do to your phone is not my responsibility!
There are some of prerequisites that must be met in order to recover IMEI:
at least JB 4.1.2 or any newer firmware (2.3.6 is not tested) - device must be rooted
your phone is still able to boot the system (the described below is likely not to work in recovery mode)
baseband and signal level are showed in settings, but *#06# combination shows nothing and thus your phone can't be registered in the network
Android terminal emulator installed or adb
stock CSPSA partition from XXLK2 codina / codinap . The below linked this parittion for codina (I'm not sure if codinap users can use it as well, in such case you need to download XXLK2 2.3.6 firmware and extract this partition manually): http://www.xda.mister-freeze.eu/XDA-files/ChronoMonochrome/misc/cspsa/cspsa_stock.img
proper EFS partition (or backup) - I'll leave EFS recovery out of this topic, since I haven't found much variants of recovery of this parittion other than to ask someone to upload their EFS parition. Over the Internet, you can also find some EFS partitions for Ace 2, but I haven't tested them.
ta_loader binary - can be taken from any 4.1.2 (or higher) firmware (see the path above)
Below is how I finally managed to recover IMEI: (attention! everything listed below is only for those who have messed up CSPSA partition. If you're not sure that this is the case for you - don't follow steps written below.)
firstly, backup your CSPSA partition just in case (if you are sure that this is not usable at all and is not useful anymore for anything - you can skip this step):
Code:
dd if=/dev/block/mmcblk0p6 of=/sdcard/cspsa_backup.img bs=512000
flash cspsa partition from XXLK2 stock:
Code:
dd if=/sdcard/cspsa_stock.img of=/dev/block/mmcblk0p6 bs=512000
and reboot the phone
backup /system/bin/ta_loader to some place (e.g. /sdcard or /ramdisk) and replace sequence of 15 zeroes to your original IMEI (can be found back under the battery) using sed:
Code:
sed -ie "s,000000000000000,<15_digits>," /ramdisk/ta_loader
sed -ie "s,<15_digits>0,<16_zeroes>," /ramdisk/ta_loader
I've used sed twice, because there are two occurences of 15 zeroes in ta_loader binary and we want to change only one of them (the rest occurence is not related to IMEI at all),
<15_digits> stands for your IMEI -> second sed command reverts an unwanted change.
Warning! Don't ever try to change IMEI to a non-original this way, it won't work!
now just type
Code:
/ramdisk/ta_loader recovery
, this will reboot your phone to recovery
reboot to system and voila! Original IMEI is there!
If this guide have saved your bacon then please consider donating to @ace2nutzer or me!
Permission denied
When I try to flash the cspsa_stock.img using terminal emulator, it say permission denied.. please help me..
Try
Code:
su
or:
Code:
sudo -i
Confused the 3rd step
You said to replace 15 zeroes to my imei, then you said that <15_digits> stand for my imei, so do i have to change the <15_digits> with my imei? If yes, which one? the first sed or the second? And what should I do for the <16_digits> ? Thanks
Primen2000 said:
When I try to flash the cspsa_stock.img using terminal emulator, it say permission denied.. please help me..
Click to expand...
Click to collapse
Since you're unfamiliar with image flashing, are you sure you're in the right topic? This one is for these unlike cases where CSPSA partition is broken, you might want to check first if this is not the case before you continue.
Primen2000 said:
You said to replace 15 zeroes to my imei, then you said that <15_digits> stand for my imei, so do i have to change the <15_digits> with my imei? If yes, which one? the first sed or the second? And what should I do for the <16_digits> ? Thanks
Click to expand...
Click to collapse
If yes, which one?
Click to expand...
Click to collapse
Both, consider both commands like one.
And what should I do for the <16_digits> ?
Click to expand...
Click to collapse
there is no <16_digits> mentioned in OP, <16_zeros> stands for the sequence of 16 zeroes.
Worked 100%
Oh Man... I've already give up to this old phone because no sim card detected due to IMEI issue for 1 week. And after buy new smartphone last night (Xiaomi Note 4), Now your tutorial worked. I feel sad and happy.. Thanks a lot you guys..
Permission denied
I have entered the following in an adb shell without any error message
cp /system/bin/ta_loader /sdcard
sed -ie "s,000000000000000,my imei," /sdcard/ta_loader
sed -ie "s,my imei+0,0000000000000000," /sdcard/ta_loader
but when I then try
/sdcard/ta_loader recovery
I get a "permission denied". Shell says I am root and the ta_loader's permissions are -rwxrwx---.
Any ideas? (sorry I am not quite familiar with android...)
andi_ypsilon said:
I have entered the following in an adb shell without any error message
cp /system/bin/ta_loader /sdcard
sed -ie "s,000000000000000,my imei," /sdcard/ta_loader
sed -ie "s,my imei+0,0000000000000000," /sdcard/ta_loader
but when I then try
/sdcard/ta_loader recovery
I get a "permission denied". Shell says I am root and the ta_loader's permissions are -rwxrwx---.
Any ideas? (sorry I am not quite familiar with android...)
Click to expand...
Click to collapse
That command just for rebooting to recovery. You can do it yourself.
bien2004official said:
That command just for rebooting to recovery. You can do it yourself.
Click to expand...
Click to collapse
Obviously, it's not just rebooting to recovery but also writes IMEI to a stock CSPSA partition. If CSPSA partition is already recovered (or not broken) then it will just reboot to recovery.
andi_ypsilon said:
but when I then try
/sdcard/ta_loader recovery
I get a "permission denied". Shell says I am root and the ta_loader's permissions are -rwxrwx---.
Any ideas? (sorry I am not quite familiar with android...)
Click to expand...
Click to collapse
Binaries cannot be run from sdcard partition. Copy binary to e.g. /data/local and retry.
ChronoMonochrome said:
Obviously, it's not just rebooting to recovery but also writes IMEI to a stock CSPSA partition. If CSPSA partition is already recovered (or not broken) then it will just reboot to recovery.
Binaries cannot be run from sdcard partition. Copy binary to e.g. /data/local and retry.
Click to expand...
Click to collapse
Thanks ChronoMonochrome, this has worked. Android now shows the correct IMEI.
But SIM card is still not detected even though its working in another phone (and it worked in the ACE2 before installing CustomROM). In "SIM status" all the points are "not available". Can you give me some ideas how to tackle this?
BTW, ta_loader showed some errors (don't know if relevant)
https://imgur.com/a/HsJQU6P
andi_ypsilon said:
Thanks ChronoMonochrome, this has worked. Android now shows the correct IMEI.
But SIM card is still not detected even though its working in another phone (and it worked in the ACE2 before installing CustomROM). In "SIM status" all the points are "not available". Can you give me some ideas how to tackle this?
BTW, ta_loader showed some errors (don't know if relevant)
https://imgur.com/a/HsJQU6P
Click to expand...
Click to collapse
Have you followed all the steps of this guide?
ChronoMonochrome said:
Have you followed all the steps of this guide?
Click to expand...
Click to collapse
What I did using adb:
1) Took cspsa_stock.img from the download link, copied it to sdcard, and typed dd if=/sdcard/cspsa_stock.img of=/dev/block/mmcblk0p6 bs=512000
2) sed -ie "s,000000000000000,123456789....," /local/data/ta_loader
sed -ie "s,1234567890...0,0000000000000000," /local/data/ta_loader
This gave me a modified ta_loader (pulled it to computer and found my IMEI within) and a second file called "ta_loadere". (Don't know why. Same size, contains my IMEI twice)
3) /local/data/ta_loader recovery
4) Select reboot in recovery
andi_ypsilon said:
What I did using adb:
1) Took cspsa_stock.img from the download link, copied it to sdcard, and typed dd if=/sdcard/cspsa_stock.img of=/dev/block/mmcblk0p6 bs=512000
2) sed -ie "s,000000000000000,123456789....," /local/data/ta_loader
sed -ie "s,1234567890...0,0000000000000000," /local/data/ta_loader
This gave me a modified ta_loader (pulled it to computer and found my IMEI within) and a second file called "ta_loadere". (Don't know why. Same size, contains my IMEI twice)
3) /local/data/ta_loader recovery
4) Select reboot in recovery
Click to expand...
Click to collapse
Hmm, then it might depend on what exactly happened to phone. On mine EFS and CSPSA partitions both were broken, but that was not problem (an EFS partition doesn't contains anything irrecoverable, a backup image can be found here). Flashing a full stock image might help as well (I had MF1 4.1.2 stock ROM installed at the moment I broke CSPSA & EFS partitions).
ChronoMonochrome said:
Hmm, then it might depend on what exactly happened to phone. On mine EFS and CSPSA partitions both were broken, but that was not problem (an EFS partition doesn't contains anything irrecoverable, a backup image can be found here). Flashing a full stock image might help as well (I had MF1 4.1.2 stock ROM installed at the moment I broke CSPSA & EFS partitions).
Click to expand...
Click to collapse
SOLUTION: Flashing the phone with Odin 3.2.1.4 and i8160XXNB1_OXXNB4_Android_4.1.2_service.zip from https://service-gsm.net/Samsung/I8160/i8160XXNB1_OXXNB4_Android_4.1.2_service.zip/ restored SIM card detection.

Categories

Resources