Help!!!! Please I had corrupted my efs partition please any one upload a backup of Efs backup. you can do it by putting these commands into terminal emulator "su" and grant permissions and then "dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img" without quotes and upload .img file Need help URGENT!!!!!
Related
When I first got SGS3 I made efs backup as suggested by xda. I didn't backup it as a folder, only as a dd block copy.
So if you are good today - make block copy of EFS and tar copy using adb:
adb shell
su
dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.sbn
cd /sdcard
tar cvf efs.tar /efs
Also there is a way of saving NVRam into recovery. Do it now if you haven't yet:
adb reboot nvbackup
Then if you still don't feel safe download QPST tools from IMEI thread and backup your NVRam to PC.
My earpiece died and I got a replacement SGS3.
Something (CWM6?) caused IMEI corruption. I didn't know that, so I tried reflashing modems and ROMs. I was trying everything to restore my connectivity. It somehow didn't help that there are seversal guides on how to do IMEI restore.
While I was waiting for another tool download I decided to restore efs from my previous SGS3 on to current SGS3 (I was at my wits end). And I didn't backup current EFS - my huge mistake! But I already almost give up on the phone at that point.
QPST+Peoplearmy tool was able to restore my IMEI. But EFS is now corrupt (why? I cannot even mount it!). And I can only use one modem - the one I used when backing up EFS (UCALG1 modem).
On the good side - after formatting EFS and making it clean, I can run CM10.1 without any issues. My serial number is 000000, but who cares.
Here's how to format EFS:
1. Reboot into recovery (CWM 5.8.0.5 touch is my preferred)
2. You should be able to see phone connected to PC in adb (recovery mode)
3. Issue following commands:
adb shell
mke2fs -T ext4 /dev/block/mmcblk0p11
mkdir /efs
mount -w -t ext4 /dev/block/mmcblk0p11 /efs
Lesson learned - try not to mess with EFS at all. Do IMEI restore using QPST and Peoplearmy. I'll keep you posted on EFS restore efforts.
Assuming I made a block copy of my EFS partition using "dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.sbn".
How would I restore it should I corrupt my EFS?
Like this?
dd if=/sdcard/efs.sbn of=/dev/block/mmcblk0p11
HiKsFiles said:
Assuming I made a block copy of my EFS partition using "dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.sbn".
How would I restore it should I corrupt my EFS?
Like this?
dd if=/sdcard/efs.sbn of=/dev/block/mmcblk0p11
Click to expand...
Click to collapse
Correct.
Sent from my SAMSUNG-SGH-I747 using xda premium
---------- Post added at 03:19 PM ---------- Previous post was at 03:15 PM ----------
Or you can do the backup in one nice command:
dd if=/dev/block/mmcblk0p11 | gzip -9 > /sdcard/efs.gz
And to restore:
gunzip /sdcard/efs.gz - | dd of=/dev/block/mmcblk0p11
Oh, and you don't need to reformat the partition before restoring, that happens during the restore, because every bit gets overwritten.
Sent from my SAMSUNG-SGH-I747 using xda premium
bravomail said:
...make block copy of EFS and tar copy using adb:
adb shell
su
dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.sbn
cd /sdcard
tar cvf efs.tar /efs
Click to expand...
Click to collapse
The TAR command failed for me on my i747, TAR not found.
d3athsd00r said:
Or you can do the backup in one nice command:
dd if=/dev/block/mmcblk0p11 | gzip -9 > /sdcard/efs.gz
Click to expand...
Click to collapse
This worked like a charm for me, thanks.
I can't seem to find if the following script needs any changes or i can just copy/ paste it to back up my efs
Backup:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img
Could anyone confirm if i can just copy paste it?
Kind regards
Requirements
- Find7/7A rooted
- Terminal Emulator from playstore (Jack Palevich version tested)
Backup of partition EFS
1. Make sure you have the root and terminal emulator app by Jack Palevich installed
2. Open the terminal and type
su (press Enter to confirm, and give access to the root)
dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512 (hit enter to confirm)
dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512 (hit enter to confirm)
3. If everything went well you will find two files in the internal memory called modemst1.bin modemst2.bin, these are the two partitions that you'll save in a safe place on your PC
Restore EFS Backup in case of need
1. Boot your device in fastboot (vol up and power when off)
2. Put the two bin files previously downloaded to a folder on pc
3. Hold down shift and right-click the folder that contains the two files of EFS backup and select "Open Command Window Here"
4. Make sure your computer recognizes your phone in fastboot with the command fastboot devices
5. Give the command fastboot flash modemst1 modemst1.bin (for flashing modemst1.bin)
6. Give the command fastboot flash modemst2 modemst2.bin (for flashing modemst2.bin)
7. Finally reboot with the command fastboot reboot
thanks
Vonnegut xda for driving
Source: Post 1 - Post 2
Been waiting for some way to backup efs, gonna try as soon I can !!
Thx a lot
does this work
does this work in real , has anyone tried it ? please let me know if anyone has backedup the efs partition in oppo find 7
can anyone give me tutorial how to backup imei without pc? is there an application i need to install first?
zacutesz said:
can anyone give me tutorial how to backup imei without pc? is there an application i need to install first?
Click to expand...
Click to collapse
◄ BACKUP METHOD ►
Follow these instructions, but first install Terminal Emulator from Play Store ►
Thanks to Sector1369
► Make sure that you are rooted
► create a folder called "imei" (without quotes) inside your internal sdcard.
► install Terminal Emulator
► Type the following in terminal
1►
Code:
su
2► Remember to type the lines one by one...
Code:
dd if=/dev/block/mmcblk0p16 of=/sdcard/imei/mmcblk0p16_modemst1
dd if=/dev/block/mmcblk0p17 of=/sdcard/imei/mmcblk0p17_modemst2
dd if=/dev/block/mmcblk0p20 of=/sdcard/imei/mmcblk0p20_fsg
dd if=/dev/block/mmcblk0p23 of=/sdcard/imei/mmcblk0p23_modem
dd if=/dev/block/mmcblk0p9 of=/sdcard/imei/mmcblk0p9_DDR
dd if=/dev/block/mmcblk0p12 of=/sdcard/imei/mmcblk0p12_bk1
dd if=/dev/block/mmcblk0p18 of=/sdcard/imei/mmcblk0p18_fsc
► Now the backup is stored in "imei" folder of your internal storage ,store these files in safe place.
◄ RESTORE METHOD ►
► Make sure that you are rooted
► Make sure you have your backed up folder called "imei" (without quotes) inside your internal sdcard.
► install Terminal Emulator
► Type the following in terminal
1► This will grant root access
Code:
su
2► Remember to type the lines one by one...
Code:
dd if=/sdcard/imei/mmcblk0p16_modemst1 of=/dev/block/mmcblk0p16
dd if=/sdcard/imei/mmcblk0p17_modemst2 of=/dev/block/mmcblk0p17
dd if=/sdcard/imei/mmcblk0p20_fsg of=/dev/block/mmcblk0p20
dd if=/sdcard/imei/mmcblk0p23_modem of=/dev/block/mmcblk0p23
dd if=/sdcard/imei/mmcblk0p9_DDR of=/dev/block/mmcblk0p9
dd if=/sdcard/imei/mmcblk0p12_bk1 of=/dev/block/mmcblk0p12
dd if=/sdcard/imei/mmcblk0p18_fsc of=/dev/block/mmcblk0p18
Automatic method using PC - Auto IMEI Backup & Restore Tool
deadlyindian said:
Follow these instructions, but first install Terminal Emulator from Play Store ►
Thanks to Sector1369
► Make sure that you are rooted
► install Terminal Emulator
► Type the following in terminal
1►
Code:
su
2► Remember to type the lines one by one...
Code:
dd if=/dev/block/mmcblk0p16 of=/sdcard/imei/mmcblk0p16_modemst1
dd if=/dev/block/mmcblk0p17 of=/sdcard/imei/mmcblk0p17_modemst2
dd if=/dev/block/mmcblk0p20 of=/sdcard/imei/mmcblk0p20_fsg
dd if=/dev/block/mmcblk0p23 of=/sdcard/imei/mmcblk0p23_modem
dd if=/dev/block/mmcblk0p9 of=/sdcard/imei/mmcblk0p9_DDR
dd if=/dev/block/mmcblk0p12 of=/sdcard/imei/mmcblk0p12_bk1
dd if=/dev/block/mmcblk0p18 of=/sdcard/imei/mmcblk0p18_fsc
► Now the backup is stored in "imei" folder of your internal storage ,store these files in safe place.
Click to expand...
Click to collapse
every time i press enter after write first line it says "cannot open for write: no such file or directory"
it's that ok?
zacutesz said:
every time i press enter after write first line it says "cannot open for write: no such file or directory"
it's that ok?
Click to expand...
Click to collapse
i forgot to mention that you need to create a folder inside your internal sd card named as
Code:
imei
then place the commands in the terminal.
Oh, ok. Thx mate ?
Thanks.. How to restore this data . . if i facing the related problem after flashing ROM?
zacutesz said:
Oh, ok. Thx mate
Click to expand...
Click to collapse
You're Welcome
lak2004mi said:
Thanks.. How to restore this data . . if i facing the related problem after flashing ROM?
Click to expand...
Click to collapse
Check post 2 :angel:
Great instruction
Thanks a lot, for this step by step backup/restore method!
Hi, i was trying to repair my imei but i accidentally typed dd if=/dev/zero of=/dev/block/sdf and my baseband, imei, wifi, bluetooth all gone so i tried to write new qcn but qpst just failing so i need /sdf backup if anyone has an same device just type this command dd if=/dev/block/sdf of=/sdcard/sdf.bin and upload it.
Thanks in advance.
Here is the sdf.bin file for fix your device just type following to adb shell;
sdf.bin
download file and put it to your device
adb shell
su
dd if=/dev/block/sdf of=/sdcard/corruptedsdf.bin ( backup your corrupted sdf partition just in case )
dd if=/sdcard/sdf.bin of=/dev/block/sdf
i have same proplem my phone is redmi 9s curtana please help i need sdf.bin
or need sdf backup comands from another working phone