EFS backup under Linux (UBUNTU, MINT)
Requirements:
1 ROOT device
2 Included debugging USB, the parameters of the developer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment NEXUS_5_EFS_backup_restore_LINUX.zip
Backup EFS under WINDOWS
Requirements:
1 ROOT device
2 Included debugging USB, the parameters of the developer.
3 Installed driver on the PC
View attachment 2628530 | View attachment 2628531
View attachment NEXUS_5_EFS_Backup_Restore_WIN.zip
Tested on Windows 7 -64 bit
Backups are stored in the folder with the utility.
DependentShake said:
EFS stands for Encrypting File System, which is really important part of networking and communication for Android Smartphones, It also contains your device IMEI data. When installing the Custom ROMs, it is always recommended to backup EFS Data, because these are the places, where you might loose this data and when you lose it, it means you may no longer be able to use your smartphone for communication, ultimately which becomes just a multimedia toy!! Therefore if you’re an advance Android user, then you’ve to learn, How to Backup EFS Folder on your Samsung device.
Today, I will guide you, using the step by step instructions, How to Backup and Restore EFS from any Android Samsung Device using the EFS Professional tool. There are also many other methods and Tools which lets you perform the same task but in this tutorial we’ll be using the EFS Professional, which is developed by a recognized xda developer.
Guidelines and Requirements:-
1. Make sure you’ve already got Root Access on your Samsung Android Phone.
2. This EFS Backup tool is only for Samsung devices, do not try it on another device.
REMOVED REST OF PROCEDURE........ Not for the Nexus 5.
Click to expand...
Click to collapse
Ummmmm.....this is the nexus 5 forum, not a Samsung device.
It even says for Samsung only and not to try on another device.
Maybe delete your post....to avoid confusion. Thanks!!
Step 1: install TWRP.
Step 2: select backup EFS.
Thanks for reading.
Ya you don't even need to backup the efs for this device ...
Unlike my nexus s... (Samsung)
Sent from my Nexus 5 using Tapatalk
Actually you should always backup your EFS even on this phone. I remember in the earlier days people were having issues with TWRP wiping their EFS. Always back it up as soon as you unlock and put custom recovery. Save to PC and cloud storage just in case. Always. :good:
Twr will back it up. Then save it elsewhere
From my mobile telephony device.
Guys if EFS is broken and i have a EFS backup how can restore? If EFS is broken we dont havê access to sdcard ?
Enviado do meu Nexus 7 através de Tapatalk
Related
My SGS is rooted, using Sempahore kernel. I recently flashed the new JVU rom and backed-up some apps before flashing using Titanium Backup.
After the flash i wanted to recover my games (Asphalt6) but when i launch the game, it keeps asking me to download another 155MB, and it doesn't bring me to my saved game where i had all my stars. It just starts from 0
All i did was open TB - goto backup/restore - click Asphalt 6 - click Backup!
3 files are maded in my titanium backup folder (biggest file +-6MB)
Do i have to set some settings to backup the saved game?
So i can learn for my next flash that i wont loose my saved games from Asphalt6 and GTA3 again..
Thanks
Did you restore the data after flashing?
jsolhac said:
Did you restore the data after flashing?
Click to expand...
Click to collapse
Yes, ofcourse.. I have tried every method. First installes Asphalt from market, downloaded all files, en then restored (data/app/data+app) via TB
Removes everything, en only restored data+app via TB, then it asked me to download extra files.
Nothing worked. 0 stars..
But maybe i did the backup wrong, or you have to put some extra settings, i was looking in the setting from TB and checked some extra now.
I just want to know how to do it right, so when i will flash again, i don't lose my saved games again..
Size limit
GirlKillu said:
Yes, ofcourse.. I have tried every method. First installes Asphalt from market, downloaded all files, en then restored (data/app/data+app) via TB
Removes everything, en only restored data+app via TB, then it asked me to download extra files.
Nothing worked. 0 stars..
But maybe i did the backup wrong, or you have to put some extra settings, i was looking in the setting from TB and checked some extra now.
I just want to know how to do it right, so when i will flash again, i don't lose my saved games again..
Click to expand...
Click to collapse
Hi,
It's bit old thread, however i'll post in case someone will have similar question...
In Titanium Backup you would need to go to settings and change the max size of the app data allowed to be backed up, or to choose to save data always, despite of it's size.
I don't remember default value, but its rather low, like 32 Mb or similar, larger data packs are simply skipped from backup process and only APKs are available when restoring those.
You can find the setting by going to:
Preferences -> Backup app external data
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I figured there was no tool or script to backup the most essential partition on your Tab 10.1, so I decided to make a script that does one thing, and one thing only.
It makes a backup of the /efs partition.
This is for the Tab 10.1 (P7500) only! Don't run it on any other device, or you might get some strange results when restoring it.
I am not responsible for anything you do to your device. If your cat starts overheating when your doorbell rings, IT IS NOT MY RESPONSIBILITY.
Now, on to the real thing.
I haven't tested the restore function and there is none as of yet. When people need it, I'm willing to take a look at it but restoring this partition is always risky.
Making a backup is strongly recommended though.
You should get an output similar to this picture, which shows the needed steps as well.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements:
- A rooted Tab 10.1
- Busybox
- Terminal emulator, adb or a scripting app.
Here's what you need to do:
1. Download the script, unzip it and place efs_backup.sh on the root of your sdcard.
2. Enter the following command in the terminal: 'su'
3. A prompt will appear, press 'Allow'
4. Enter 'chmod 755/sdcard/efs_backup.sh'
5. Enter 'sh /sdcard/efs_backup.sh'
6. All done! It is wise to upload your file, /sdcard/efsbackup/efsbackup.img, to a cloud service like Dropbox to make sure you don't lose your backup.
Now remember, this is only for the P7500 and the P7510. If requested, I am willing to port it to other devices as well.
I'll try to make an app for this, but for now you can use this script.
Changelog
---Version 1---
Initial release
---Version 1.1---
Added secondary backup ***Thanks fusionjack!***
Added checking of the first backup
If you appreciate my work, you can always click the Thanks button or buy me a soda. I most certainly appreciate that.
whats different with
Code:
cat /proc/mounts
dd if=/dev/block/mmcblk0p1 of=/sdcard/efs.img
and i think its working with P7501 too
There is no difference, I never said there was. This is just a scripted version.
Sent from my GT-I9100 using XDA App
can u make a restore script to?
Basically, you just need to switch the content of 'if' and 'of' to restore it (correct me if I'm wrong). But...ONLY restore it if you have REALLY problem with IMEI!
True, but I won't let people mess with their phones this way unless they absolutely need it. So there won't be a restore script until someone loses his efs data.
Sent from my Galaxy Nexus using XDA App
Agreed. Additionally, I made a .tar.gz backup for my efs with this following command:
/system/xbin/busybox tar zcvf /sdcard/efsbackup.tar.gz /efsThe reason I made this backup just in case if .img file cannot be restored.
Might add that too, having a secondary backup is never a bad plan.
Sent from my Galaxy Nexus using XDA App
Uploaded version 1.1. Changelog available in the OP.
Hi,
I'm trying to restore a backup of my apps, along with their data, to my new htc one but have hit a problem. The one is not rooted so titanium is not an option and mybackup seems to be unable to restore my apps data.
I've only just got the one and am a bit reticent to root at this early stage in case it bricks.
Are there any solutions to migrate my app data (from a desire on cm7 btw, so helium not an option either).
Can't believe such a simple thing is proving so difficult!
bobfleming said:
Hi,
I'm trying to restore a backup of my apps, along with their data, to my new htc one but have hit a problem. The one is not rooted so titanium is not an option and mybackup seems to be unable to restore my apps data.
I've only just got the one and am a bit reticent to root at this early stage in case it bricks.
Are there any solutions to migrate my app data (from a desire on cm7 btw, so helium not an option either).
Can't believe such a simple thing is proving so difficult!
Click to expand...
Click to collapse
As far as I know root access is required for what you are trying to do. It will be fairly impossible to brick a HTC through rooting it as you have s-on (basically you can't write to any partitions that could brick a phone with s-on). Maybe someone else knows more and there is some app that can do this :fingers-crossed:
Try HTC own transfer app
Settings
Then under personal settings
Select transfer content
This has a range of transfer options specifically intended to copy apps, and other data including photos from your old phone to your HTC one
If your old phone isn't an HTC then you may need HTC transfer app from android play store on your old phone first
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC One using xda app-developers app
Hello, I had a problem with my Redmi Note 9, the IMEI disappeared after the Android 11 update. Does anyone have an efs backup so I can restore?
Efs does not contain imei and you can't share IMEI between different devices or you will brick your device.
VD171 said:
Efs does not contain imei and you can't share IMEI between different devices or you will brick your
Click to expand...
Click to collapse
What is the best method for me to recover my IMEI? I thought that if I got a backup of the same device as mine I could restore by twrp.
Flash engineering rom, enter in meta mode, rewrite IMEI 2 and keep IMEI 1 as null.
Backup NVDATA, flash wanted rom and then restore NVDATA back.
How to use Modem Meta Tool to Flash or Write IMEI on Mediatek Device
Step-by-Step guidelines to Flash, Write or Fix IMEI on devices running on Mediatek Chipset using the Modem Meta Tool.
androidmtk.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello, the following is my device (Redmi Note 9, Merlin) the IMEI disappeared after the V12.0.1.0 update and until today it has no IMEI. And look that the latest version is in V12.5.4.0 and no solution. A guy I met on the internet forced the bootloader to unlock (I don't know how he did it) and fixed the IMEI problem, but V12.5.3.0 which was the version I was on, was full of bugs (Storage in " others" filling by itself, an error of not connecting to Google servers, it was not possible to use the play store). Because of that I decided to install a custom ROM (Pixel Experience 12.1) the ROM is perfect, no bugs, normal storage, accessing the normal Play Store, I would like to stay in it only with the IMEI working. But in this ROM change the IMEI disappeared again. I would like to know as much information as possible so that I can solve this, like a step by step of the whole procedure, I would be very grateful.
Can you please tell me how you installed a custom recovery and flashed the ROM, please? I have the Redmi Note 9 and the MIUI 12.5.4. When it got bricked and I complained about it at my local "shop" (Something like a Microcenter), they reflashed it (thus losing all my photos from Summer 2021, around 80GBs of photos and videos with my family) I think they flashed a wrong MIUI ROM or an MTK firmware as the TWRP app reports the phone as "gauguin" (which is Redmi Note 9 Pro 5G) The ADB shell says merlinnfc which is correct. Also, I see some options such as Hotspot and multiple users as the first options on the Settings main page. I compared it with my classmate's phone as he got the same model as me. (But he was lucky enough not to brick it during an update )
Also, don't you have a sticker on the back of your phone with the IMEI numbers?
https://www.howtogsm.com/2021/07/repair-imei-xiaomi-redmi-note-9-merlin.html I only found this thing about the IMEI repair. I'm really sorry for the IMEI loss which is not common when flashing. ❤
Hello People,
Just ordered an OP 10 pro and waiting the shipment ( yeah, my OP3T is now old )
I saw there isn't TWRP actually on this device. I always like to do a FULL backup of my phone in case of emergency ( brick or something else).
Is there any other tool to do a full partition backup ?
Btw, anyone know if a team is working on a TWRP port ?
Thanks
You can backup even if there isn't TWRP. You don't need to worry about it.
and I heard last month that the team was working on this feature and soon update may come.
let's hope.
Or even if the update doesn't come you can return the phone. There is a certain time and you can read the return policy for more information.
Nixeus2 said:
Hello People,
Just ordered an OP 10 pro and waiting the shipment ( yeah, my OP3T is now old )
I saw there isn't TWRP actually on this device. I always like to do a FULL backup of my phone in case of emergency ( brick or something else).
Is there any other tool to do a full partition backup ?
Btw, anyone know if a team is working on a TWRP port ?
Thanks
Click to expand...
Click to collapse
There was barely a functional TWRP on the 8 pro, main reason being that you don't need it to flash ROMs and with contacts, messages and WhatsApp etc all being cloud based, swift back up allowing for a cloud back up too then you're not in any need for TWRP, so the emphasis has been taken off it.
Ideally it would be nice, but more to the point we need a solid tried and tested recovery method, of which twrp could maybe have helped.
Atm I believe fastboot enhance can save you from bricks and the above mentioned syncs and app back ups more then do the job.
My last two phones P20 Pro and the OnePlus 8 pro I've flashed like crazy at times and never needed TWRP once.
Yeah but twrp can backup all partition ( EDL, NVRAM...)
You can back up EDL without TWRP.
Nixeus2 said:
Yeah but twrp can backup all partition ( EDL, NVRAM...)
Click to expand...
Click to collapse
There are ways to backup via adb commands in fastboot d but you have to know locations and what is what
There is a way to backup stuff you need to find in fox for backup module then you can make a full backup of your device but i don't know how it fully works or what it will backup or on GitHub there are some backup things but i don't know what it was called no more
HessNL said:
There is a way to backup stuff you need to find in fox for backup module then you can make a full backup of your device but i don't know how it fully works or what it will backup or on GitHub there are some backup things but i don't know what it was called no more
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}