Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
I have no IMEI, this work with this problem?
dev0xteam said:
Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
Click to expand...
Click to collapse
Isn't flashing a file in ODIN harder than just copying your efs backup folder and pasting it over the newer efs?
I've been doing that since the beggining of times and it's infinitely easier and inside the own phone.
Good idea though, i'd like if you could do the same with a flasheable zip in the phone.
1up_ said:
I have no IMEI, this work with this problem?
Click to expand...
Click to collapse
No.
giovox said:
Isn't flashing a file in ODIN harder than just copying your efs backup folder and pasting it over the newer efs?
I've been doing that since the beggining of times and it's infinitely easier and inside the own phone.
Good idea though, i'd like if you could do the same with a flasheable zip in the phone.
Click to expand...
Click to collapse
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
chongns said:
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
Oh, I understand now, I thought he made It for the typical lack of/or generic IMEI issue.
Thanks for clearing it out, I'll do a backup as soon as I get my pc back
Sent from my GT-I9003 using xda app-developers app
1up_ said:
I have no IMEI, this work with this problem?
Click to expand...
Click to collapse
this will work partially, this will give you generic imei.
Is this a cwm flashable zip that the op has provided? So il just flash d efs-backup...and then edit to restore my own imei..?
Sent from my GT-S7562 using xda premium
dev0xteam said:
Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
Click to expand...
Click to collapse
can you make a small exe application it will be easy to use to back up and restore this one is not working on my computer
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
The zip isn't a backup. It contains the tools required for the backup.
chongns said:
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
I think it doesnt contain his IMEI info... instead we have to extract a backup for our device first and then restore if needed... it is clear that THIS METHOD WILL NOT WORK WHO HAVE NO IMEI AVAILABLE..
dev0xteam said:
The zip isn't a backup. It contains the tools required for the backup.
Click to expand...
Click to collapse
All right. My bad. Cause I never download it.
Sent from my GT-I9003 using Tapatalk 2
---------- Post added at 09:05 PM ---------- Previous post was at 09:01 PM ----------
mustafahussain said:
I think it doesnt contain his IMEI info... instead we have to extract a backup for our device first and then restore if needed... it is clear that THIS METHOD WILL NOT WORK WHO HAVE NO IMEI AVAILABLE..
Click to expand...
Click to collapse
You are right. However. This will help to who still have good efs partition for preventing lost of imei. Especially now we have Lola great ROM for flashing.
Sent from my GT-I9003 using Tapatalk 2
imei problem
hi guys
recently i flashed a custom rom and then i found out that i had to backup my efs folder.i was nt getting network in that custom rom and with *#06# i was nt getting anything .so i decided to use my nandroid backup.after restoring i have my iemi number shown typing the *#06# keyword.sim cards fully functional .my phone is s duos (dual sim). but if i check my efs folder its empty.so my question is do i have efs data lost.??if lost then how am i able to make calls?if nt y is my efs folder empty?
Related
Hi I have a problem: i had a samsung galaxy s 9000. I had it for a year: i tried many roms on it ( cyanogenmod, miui, ecc ). I used ,also, a tool to backup my EFS's galaxy; this tool is here: http://forum.xda-developers.com/showthread.php?t=1138873
Now, I have a nexus s i9023 slcd. And here it is the problem: now, the linked tool to backup my EFS doesn't work. I root my nexus and the bootloader is unlocked. I used 5.0.2.0 CWM. The rom is 2.3.6 STOCK - GRK39F. I used windows 7 32 bit and I start the prompt command as Administrator. When I write "efs_backup.bat" I can read this:
http://imageshack.us/photo/my-images/267/immaginegsj.jpg/
Is it possible resolve these PERMISSION DENIED'S?
I ,also, type ( in the APP terminal emulator ) :
su
chmod 777 /efs
exit exit
but I don't solve the PERMESSION DENIED problem.
I hope you will help me.
I can't post in the "tool EFS backup and restore" thread (http://forum.xda-developers.com/showthread.php?t=1138873) because I'm new member
There's no reason why you can't copy the efs folder manually. Copy it into your sdcard and then copy it into your computer for an extra backup
Obscurely referenced from the fifth dimension on my Nexus S
bedalus said:
There's no reason why you can't copy the efs folder manually. Copy it into your sdcard and then copy it into your computer for an extra backup
Obscurely referenced from the fifth dimension on my Nexus S
Click to expand...
Click to collapse
I don't understand why the xda efs backup's tool doesn't work in my nexus s: it was ok on my galaxy s.
I post here to solve this problem: please, help me. Thanks.
I had trouble with that tool too. I remember i got it working, i think by moving the script into the sdk tools folder, and make sure USB debugging is selected.
Still, i don't think it is worth the trouble. You could just copy the folder like i suggested before, which is easier. Or you could install Team Win Recovery Project which can backup your efs
Obscurely referenced from the fifth dimension on my Nexus S
bedalus said:
I had trouble with that tool too. I remember i got it working, i think by moving the script into the sdk tools folder, and make sure USB debugging is selected.
Still, i don't think it is worth the trouble. You could just copy the folder like i suggested before, which is easier. Or you could install Team Win Recovery Project which can backup your efs
Obscurely referenced from the fifth dimension on my Nexus S
Click to expand...
Click to collapse
I read that TWRP recovery should create problems on efs folder during its backup/restore. Do you use it or cwm 5.0.2.0?
I use team win. No problems with efs when backup runs.
I haven't tried restore yet, but they assure it works.
Sent from my SNES
bedalus said:
I use team win. No problems with efs when backup runs.
I haven't tried restore yet, but they assure it works.
Sent from my SNES
Click to expand...
Click to collapse
I SOLVED with efs backup tool !!!!!
I changed my stock rom with miui and, now; the tool is working !
Hello,
I have LG Optimus Elite Android 2.3.7...it was rooted...
I accidentally deleted /system/bin/sh...gee..oh my god..
The problem is that I am not even able to adb to my phone now..
If I do adb to that phone, it is complained about /system/bin/sh doesn't exist something...
Gee...........
Obviously, factory reset didn't help cuz it didn't restore the sh...
What would be my option ??
When I just reboot my phone, it is just stay "Welcome to" screen...Even though I touched the begin, it won't go next..I think because..
my /system/bin/sh file is deleted..so my phone can't execute anything from the phone shell..
What would be my option to recover my phone?
Please help
Thanks,
Get a copy of sh and
> adb push sh /system/bin/
But /system is read-only so you need to mount read-write. But you cannot because
> adb shell
Cannot execute sh because it is not there.
You need to restore from nandroid backup. Failimg that, restore back to stock with Odin.
anotherguy19 said:
Get a copy of sh and
> adb push sh /system/bin/
But /system is read-only so you need to mount read-write. But you cannot because
> adb shell
Cannot execute sh because it is not there.
You need to restore from nandroid backup. Failimg that, restore back to stock with Odin.
Click to expand...
Click to collapse
I would follow his advice. Good luck!
Thanks for your suggestion.
BTW, nandroid backup -> I don't think I can use it because I don't have original backup rom?
Odin -> does this also work for LG phone?
anotherguy19 said:
Get a copy of sh and
> adb push sh /system/bin/
But /system is read-only so you need to mount read-write. But you cannot because
> adb shell
Cannot execute sh because it is not there.
You need to restore from nandroid backup. Failimg that, restore back to stock with Odin.
Click to expand...
Click to collapse
goforandroid said:
Thanks for your suggestion.
BTW, nandroid backup -> I don't think I can use it because I don't have original backup rom?
Odin -> does this also work for LG phone?
Click to expand...
Click to collapse
No, you can't use nandroid backup. A nandroid is an image file of your system partitions. PC users typically know this as ghosting or cloning. To linux users, it's just a dd. You create the image yourself from a working copy. You don't need the original ROM. You can make a backup of your /system partition (nandroid) any time you have a working copy.
PS I'm an idiot. LG was literally the first thing u said. And you are correct. You need to use LG Flash Tool.
See 1942836
Unfortunately, 1942836 is not the same model I have.
I don't think I can use that instruction.
It really makes me crazy since I can't use adb at all....
I tried creating update.zip and put it in sd card to install..however, as you may know, signature verification failed.
if I could get key file to create signed zip file other than test one, that may work.
Is there anyway I can bypass the signature verification??????
Thanks,
anotherguy19 said:
No, you can't use nandroid backup. A nandroid is an image file of your system partitions. PC users typically know this as ghosting or cloning. To linux users, it's just a dd. You create the image yourself from a working copy. You don't need the original ROM. You can make a backup of your /system partition (nandroid) any time you have a working copy.
PS I'm an idiot. LG was literally the first thing u said. And you are correct. You need to use LG Flash Tool.
See 1942836
Click to expand...
Click to collapse
Can't you reflash your system?
I think you need /bin/bash for adb to start, so without it, you can't push anything from your computer to your phone i guess..
What bootloader do you use?
1bymany said:
Can't you reflash your system?
I think you need /bin/bash for adb to start, so without it, you can't push anything from your computer to your phone i guess..
What bootloader do you use?
Click to expand...
Click to collapse
Obviously, before happening this issue, I was able to use adb...
And..now..if I issue adb, then nothing shows up in the list of devices attached section...I guess because it can't communicate somehow with /system/bin/sh I just accidentally deleted.
I know that I can use Odin to install CWM for Samsung phone....I just found that there is LG Flash tool program on the internet does simialr thing like Odin for LG phone..however, I am not sure where I can find the dll that I can use from LG Flash tool program.
Any idea?
Thanks,
goforandroid said:
Obviously, before happening this issue, I was able to use adb...
And..now..if I issue adb, then nothing shows up in the list of devices attached section...I guess because it can't communicate somehow with /system/bin/sh I just accidentally deleted.
I know that I can use Odin to install CWM for Samsung phone....I just found that there is LG Flash tool program on the internet does simialr thing like Odin for LG phone..however, I am not sure where I can find the dll that I can use from LG Flash tool program.
Any idea?
Thanks,
Click to expand...
Click to collapse
You will indeed have to reflash your device, as you don't have any other way of putting the bash binairy back.
I guess, as you are rooted, you know how to reflash your device. If you don't, search the forum
grtz
anotherguy19 said:
Get a copy of sh and
> adb push sh /system/bin/
But /system is read-only so you need to mount read-write. But you cannot because
> adb shell
Cannot execute sh because it is not there.
You need to restore from nandroid backup. Failimg that, restore back to stock with Odin.
Click to expand...
Click to collapse
perfect
So I think I made a stupid mistake.
I was trying to reset google wallet and It hung at 97% and wasn't able to reset. I used the google wallet installer to basically change my build prop to the nexus build prop. I figured it would just overwrite my original wallet app anyway, and once my build prop was changed to the nexus build prop I could simply reset the app from there.
Anyways, phone rebooted and it's stuck in a bootloop and isn't getting passed the boot animation screen. I can get into recovery mode and download mode just fine. I tried restoring a backup I had with CWM and it says "md5 mismatch error". I really have no idea what to do at this point, and would rather not go completely to stock since I know my data is still there. Also I'm concerned to even restore a backup because i'm pretty sure my build prop was changed. I'm also wondering if it would be possible to simply factory reset and flash a new rom on top of it.
Any help would be greatly appreciated.
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Khizar Amin said:
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Click to expand...
Click to collapse
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
BadUsername said:
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
Click to expand...
Click to collapse
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Khizar Amin said:
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Click to expand...
Click to collapse
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
BadUsername said:
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
Click to expand...
Click to collapse
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Khizar Amin said:
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Click to expand...
Click to collapse
Restoring my system partition only from advanced restore worked perfectly. All my apps stayed how they were and I didn't have to update all of my apps after I restored. Way better than doing a full restore in this case.
Thank you for this advice, this will be a very helpful method to me if I make any mistakes while messing with anything in my system folder. And yes, it was certainly an experience for me.
Sent from my SCH-I535 using Tapatalk 2
Hey!
I have a backup on my pc, and when i transfer it to my phone in the TWRP folder -> BACKUPS and when i enter recovery mode -> restore, the backup ain't there.
Chekhn said:
Hey!
I have a backup on my pc, and when i transfer it to my phone in the TWRP folder -> BACKUPS and when i eter recovery moe -> restroe, the backup ain't there.
Click to expand...
Click to collapse
Rebooting the phone and reconnecting the phone to usb may help usualy.
gee2012 said:
Rebooting the phone and reconnecting the phone to usb may help usualy.
Click to expand...
Click to collapse
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?
Chekhn said:
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?
Click to expand...
Click to collapse
What i said in my post above is to reboot the phone and reconnect usb when it rebooted, solved it for me
Chekhn said:
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?
Click to expand...
Click to collapse
It's a known issue. Go to the twrp thread and search "restorecon". I'm on my phone and it's a little difficult for me to do it ATM.
gee2012 said:
What i said in my post above is to reboot the phone and reconnect usb when it rebooted, solved it for me
Click to expand...
Click to collapse
Still nothing :/
Wakamatsu said:
It's a known issue. Go to the twrp thread and search "restorecon". I'm on my phone and it's a little difficult for me to do it ATM.
Click to expand...
Click to collapse
This command?:
su
restorecon -r /data/media/0
Chekhn said:
This command?:
su
restorecon -r /data/media/0
Click to expand...
Click to collapse
Give that a shot.
Wakamatsu said:
Give that a shot.
Click to expand...
Click to collapse
Didn't work, it says. "invalid option"
Is the backup in a folder with your serial number?
Can you find the backup using TWRP file manager? Look in both /sdcard and /data/media/0 and feedback results
Also take a new backup. Does it go back to the same place?
rootSU said:
Is the backup in a folder with your serial number?
Can you find the backup using TWRP file manager? Look in both /sdcard and /data/media/0 and feedback results
Click to expand...
Click to collapse
What do you mean "is the backup in folder with your serial number"?
The backup is from my other Nexus 5
Chekhn said:
What do you mean "is the backup in folder with your serial number"?
The backup is from my other Nexus 5
Click to expand...
Click to collapse
Well that's the problem then!
Firstly do NOT restore an EFS backup. If you have EFS in your nandroid , don't restore it.
When you first take a backup, TWRP creates /sdcard/TWRP/backup/75465474566 where the numbered folder is the serial number of your device.
If you copied a numbered folder from another device, it wont find it. Similarly if you have no numbered folder, it won't find it.
Create a new backup on the new phone to create the new numbered folder then put your old backup there.
Remember, do not resorts EFS if you took a backup on the old device on yo your new one as you'll brick it..
Chekhn said:
Didn't work, it says. "invalid option"
Click to expand...
Click to collapse
Odd. You may not have the applet installed.
Wakamatsu said:
Odd. You may not have the applet installed.
Click to expand...
Click to collapse
Invalid option is the -r he did. Sometimes people have to change it up a bit. There's 2/3 different versions of that command people have to try. Its irrelevant now though, given the more accurate info we have.
rootSU said:
Well that's the problem then!
Firstly do NOT restore an EFS backup. If you have EFS in your nandroid , don't restore it.
When you first take a backup, TWRP creates /sdcard/TWRP/backup/75465474566 where the numbered folder is the serial number of your device.
If you copied a numbered folder from another device, it wont find it. Similarly if you have no numbered folder, it won't find it.
Create a new backup on the new phone to create the new numbered folder then put your old backup there.
Remember, do not resorts EFS if you took a backup on the old device on yo your new one as you'll brick it..
Click to expand...
Click to collapse
Thank you this worked!
Chekhn said:
Thank you this worked!
Click to expand...
Click to collapse
No probs
Using a rooted nexus 5 running stock 4.4.4. And twrp 2.8.x.x
(I searched for a twrp support thread but could not find one).
I want to restore an old twrp backup I had made some time ago (with an earlier version of twrp) and moved to my pc. So I copied that backup from my pc to the twrp folder in the nexus 5. But when I reboot into TWRP, twrp lists other backups, but not the one I just copied back into its folder.
How can I get twrp to see and restore that nandroid backup?
Thank you.
My first thought is - is it the same device? I had a similar problem when I got a replacement phone, and the solution was simply to rename the old backup with the new device's id.
Yes, the same device, but different versions of twrp.
SOLVED.
Entirely my fault. I needed to move the backup file down to the next subfolder. Once I got it into the correct subfolder TWRP found it fine.
can u tell the correct folder name to place the old backup file. thnks in advance....
maybeme2 said:
SOLVED.
Entirely my fault. I needed to move the backup file down to the next subfolder. Once I got it into the correct subfolder TWRP found it fine.
Click to expand...
Click to collapse
can u tell the correct folder name to place the old backup file. thnks in advance....
The path is:
sdcard
...> TWRP
........> BACKUPS
............> ZG16775GGD5 (your device id)
................> backup file(s)
device id
dahawthorne said:
The path is:
sdcard
...> TWRP
........> BACKUPS
............> ZG16775GGD5 (your device id)
................> backup file(s)
Click to expand...
Click to collapse
thkss for hlp, can u tell how to get device id... thnks in advnc
Settings/About phone/Status/Serial number