[Q] Best method for EFS backup ? - Galaxy Note 3 Q&A, Help & Troubleshooting

Ive been trying a number of methods to backup my efs partition and most have failed..
I have tried using A.S.ID's efs tool but i keep getting an error about choice.exe.
Have also tried EFS Profes... tool but that gets stuck at "initialising ADB server"
Anyway i have searched around for the "how to" and tried doing it manually but i have no idea if it was correct.
Can someone correct me if i am wrong please.
This is the command i used in ADB
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=/sdcard/efs.img
cc.1/by-name/efs of=/sdcard/efs.img
28672+0 records in
28672+0 records out
14680064 bytes transferred in 1.106 secs (13273113 bytes/sec)
I now have a efs.img in my sdcard... :highfive:
The problem i now have is that, do i .tar the img file to flash with odin for a restore when needed...
If you have an alternative please let me know.
Thanks

Related

Korean Galaxy S1 variants support page - m130k,m180, etc

Hello there guys, i have owned three different galaxy variants namely : m110s,m130k and gt-I9000. So far, its been a wonderful experience flashing and modifying except for the korean variants. ever since i softbricked my m130k, finding resources for it has been a headache, and all the people, including some guys here in xda are not that interested in the other lowly variants of galaxy s, even if they're also using korean variant like m110s. i have compiled some resources and links and i will post them one by one as i have the time. for now, im just asking all of you guys out their to help in making posting and helping out people using the said korean phones.
up until now, i haven't fixed my phone yet, i badly need the other files missing in the roms available in the internet, like dbdata.rfs and the likes.i know many guys using the same phones have also encountered such problem. anyway i would like to post this link, for those guys willing to use ADB or Heimdall and post some of their own phone files. thank you
>>>>>link for instructions in extracting phone files<<<<<<<<<<<<<<
http://www.freeyourandroid.com/guide/building_roms_for_odin
ill also upload my own collected files as we go along.Thank you all. Attached here is a pit for m130k extracted using Heimdall.i have already used it and it can successfully repartition your device, note however that we cannot use the roms found in the internet because they only contain factory,zimage and modem file, so repartitioning will indeed BRICK your unit unless you use a complete rom fil for m130k.
e:/ cant mount /efs (shw-m130k)
hello guys. just giving an update on those persons having problems with their m130k. specifically the e:/cant mount issue. so far ive always been in the wrong direction. my phone was already working but it just keeps on resetting the settings on power up, as well as i cannot save anything on internal sd (it was detected as 0 bytes). so i searched and found possible solutions in pit. so i downloaded pit using heimdall, and used it to repartition my system. however, as worse comes to worse. this caused my phone to not go past the recovery screen, not being able to use my phone again and the cant mount error still occurred. in short, it made my problems worse. so i did some research and out of frustration, i tried using the EA20 revision for m130k. after flashing, all the cant mount error vanished. however, because i used repartition earlier, i still cannot go past the recovery console and the galaxy k logo is gone, replaced by anycall talk-love logo.
so for those who are in the same position as me and haviong cant mount problems,
i suggest using EA20 first to fix your phone and PLEASE do not REPARTITION. and for those who can give me a hand, ill appreciate that. thank you
pulling data from ADB for possible recovery
dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096
dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096
dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096
dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096
dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
adb pull /sdcard/boot.bin
adb pull /sdcard/pit.pit
adb pull /sdcard/efs.rfs
adb pull /sdcard/Sbl.bin
adb pull /sdcard/param.lfs
adb pull /sdcard/zImage
adb pull /sdcard/factoryfs.rfs
adb pull /sdcard/dbdata.rfs
adb pull /sdcard/cache.rfs
adb pull /sdcard/modem.bin
some ADB commands i saw for pulling files and possible creation of recovery rom
mms.apk
can you sirs provide me a stock mms.apk and tw.launcher for the m130k plsssss
i accidentally uninstalled it and have no backups for it
check this out guys... m130k.blogspot.com
shwm 130
hello guys. im using a LG shwm130L anycall. it was factory reset by accident now its in korean languages. Im really really badly needed your help. My sis gave this to me and its very valuable.
ryenneinaho said:
hello guys. im using a LG shwm130L anycall. it was factory reset by accident now its in korean languages. Im really really badly needed your help. My sis gave this to me and its very valuable.
Click to expand...
Click to collapse
just press menu button, press settings and scroll down to keyboard letter "A" icon press it and press the top most menu to switch to English.
Check this out! Links to useful Guides and " Banned " Documentaries ​

[Q] EFS Backup?

Now that we have root is there a way to back up EFS? I'm a noob and managed to get my GS2's efs folder corrupted after flashing a ROM don't want the same thing happening to my S4
cl_l said:
Now that we have root is there a way to back up EFS? I'm a noob and managed to get my GS2's efs folder corrupted after flashing a ROM don't want the same thing happening to my S4
Click to expand...
Click to collapse
just download GSII_Rapair form playstore... gl
Or... do it yourself.
Download and install Android Terminal Emulator from the play store. You will need to get to a root prompt (su enter).
The following assumes that the partition information posted by mohan_kr in the Android Development forum is accurate.
Code:
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img
Also, since I don't have the s4 yet, I am assuming that the path to internal storage is /mnt/sdcard/ as it is on the s2 with 4.1.2. But use a file explorer to verify the path to internal storage.
Store this in a safe place. To restore the efs partition:
Code:
dd if=/mnt/sdcard/efs.img of=/dev/block/mmcblk0p10

[Q] Took the OTA for ZVC and am now bootlooping. Reload stock with no success

I initially took the OTA to ZVC download thinking that I could just boot into recovery and cancel the download before it started so that the message to update wouldn't appear anymore in my notification bar. I took the download then when the phone booted into recovery I cancelled the download, but now my phone is stuck in bootloop. I am trying to restore using the LG software updater tool found in this thread (http://forum.xda-developers.com/showthread.php?t=2471370&highlight=upgrade) but it keeps giving me an error that there are "No upgrade items to fix" and it won't proceed with the update. Are there any other ways I could try that will work for me?
Can someone please help? I need my device back in working order for work.....
haoleflip said:
Can someone please help? I need my device back in working order for work.....
Click to expand...
Click to collapse
I will pay someone to help me out pleeeeaaaaasssseeeeeeeee
haoleflip said:
I initially took the OTA to ZVC download thinking that I could just boot into recovery and cancel the download before it started so that the message to update wouldn't appear anymore in my notification bar. I took the download then when the phone booted into recovery I cancelled the download, but now my phone is stuck in bootloop. I am trying to restore using the LG software updater tool found in this thread (http://forum.xda-developers.com/showthread.php?t=2471370&highlight=upgrade) but it keeps giving me an error that there are "No upgrade items to fix" and it won't proceed with the update. Are there any other ways I could try that will work for me?
Click to expand...
Click to collapse
Is it booting you back into Recovery each time? Do you have root (#) when you adb shell? If so, maybe you can clear the OTA by doing the following dd command...
[email protected] ~/adb $ adb shell
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: writing '/dev/block/platform/msm_sdcc.1/by-name/fota': No space left on device
65537+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 2.656541 seconds, 12.0MB/s
~ # [email protected] ~/adb $
daryelv said:
Is it booting you back into Recovery each time? Do you have root (#) when you adb shell? If so, maybe you can clear the OTA by doing the following dd command...
[email protected] ~/adb $ adb shell
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: writing '/dev/block/platform/msm_sdcc.1/by-name/fota': No space left on device
65537+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 2.656541 seconds, 12.0MB/s
~ # [email protected] ~/adb $
Click to expand...
Click to collapse
Sorry, but what is adb shell? and how do I run that command?
I just want simple step by step instructions on how to get my phone restored. I have tried countless threads and none of it is working for me. I am running into issues like no other. Please, I will be more than happy to pay someone to help me out here. I have paypal....

can I flash my efs.img via odin?

can't boot my phone cause I have deleted my efs folder becasue in one of the guides here someone said that if you had full recovery of your efs and you sure that your efs folder is damged than delete the folder and recover, well so I did... (I downgrade from lolipop to 4.4.2, lost my imei in the "process"
I had the efs.img backup on my computer and I moved it to my phone, I deleted my efs folder using root browser and than I used some adb app to type the commend "dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096" and I restred my phone, but it never left samsmung logo and I can't boot up my phone I tried to go to stock channgeing roms, nothing helps, in recovery mode it says "E:/can't mount efs" something like that.. and the phone won't boot up, just stuck on samsung logo.
somone have any Idea what can i do?
After flashing a stock ROM, did you perform a factory wipe before booting the phone for the first time?
audit13 said:
After flashing a stock ROM, did you perform a factory wipe before booting the phone for the first time?
Click to expand...
Click to collapse
you mean when I downgrade from lolipop to the stcok rom?, if yes Than I didn't and that what cause me losing my imei and started this whole efs problem...
Did you try flashing back to stock LP? Flashing stock kk would not normally damage the efs.
audit13 said:
Did you try flashing back to stock LP? Flashing stock kk would not normally damage the efs.
Click to expand...
Click to collapse
yey I manged to fix ti!!!! god that was hard **** yes!! to me!
if someone will see this so this is what I did
1) I flashed to stock rom based lolipop but still had the issue of "E:failed to mount /efs" cause it didn't recvoer the folder and my phone still won't boot up, so I found a fix
right here http://forum.xda-developers.com/galaxy-s3/general/how-to-fix-efailed-to-mount-efs-invalid-t2858056
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3 (this line dind't even work for me so I skipped it)
Code:
reboot
affter I did it phone boot up finally but I still had a fake Imei so next I used this guide (this time I ain't deleting the efs folder like he wrote"
2)http://forum.xda-developers.com/showthread.php?t=2392632, I alredy had efs.img as back up so all I did is install latest "su" and the latest busybox than I installed "Terminal Emulator"
and used the second method
"Put your efs.img on your phone memory(not external sd card!) in the main memory, not inside folder.
Open terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Then write:
Code:
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096"
my phone rebooted and now I have my imei back!
Congratulations on your success and posting your solution!
worked for me
okdark4 said:
"Put your efs.img on your phone memory(not external sd card!) in the main memory, not inside folder.
Open terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Then write:
Code:
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096"
my phone rebooted and now I have my imei back!
Click to expand...
Click to collapse
Hi okdark4,
thanks for sharing!
For me, I hat to use a slightly different command - just for the others to know:
su
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3
reboot
That's it!

[Help] fix the Corrupted EFS on 900P

Hi mates, thank you for helping!
Really a complicated story mine, had on this phone already issues with baseband (when I bought it had LL 5.01) when I upgraded it to RR 7.1.2, then I figured out I needed to upload the latest stock 6.0.1 G900PVPS3CQD1 to have it working, I also PITted the phone before, it worked for 5-6 monts, then the signal went off.
I've tried different solutions:
1) in TWRP typed in its terminal the commands I've found here:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
It said "not enough space" but it looks in the end it copied around 3MB. Rebbited but no changes
2) Again thr TWRP:
dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=efs.bak
dd if=/dev/block/bootdevice/by-name/modemst1 of=modemst1.bak bs=4096
dd if=/dev/block/bootdevice/by-name/modemst2 of=modemst2.bak bs=4096
find /efs -exec ls -l {} \; > efs-permissions
nothing changed
3) updated to lineage 15.1, it says "no sim card" (the sim works fine in another 900V) with rooted ADB shell tried the "dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1" but no such file. Then I decided to flash stock LL 5.01 BOK but like in stock 6.01 says "invalid sim card".
4) I run in adb:
adb shell
mount
and can't see /stl4 /efs so this is why I assume that efs is corrupted.
Somebody says to flash (under Odin PDA) EFS-Fix-regalstreak.tar.md5, but I won't risk to flash other phones data on my phone, including its IMEI.
Someone else says I have to backup EFS (I suppose this is possibile because when I executed adb commands it never said me that the files don't exist) and reflash it to fix the corruption. How this is possible to do? Thank you!
PS: I attached the backupof EFS made by TWRP, seems all good (not corrupted), why sim doesn't work?
I'm now on stock LL BOK, using in adb mount I have this
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0

Categories

Resources