[IMPORTANT] How To Do EFS Backup And Restore For GT-I8552 - Samsung Galaxy Grand Quattro

[IMPORTANT] HOW TO DO EFS BACKUP AND RESTORE FOR GT-I8552​
I Got PM Very Long Ago For Way To Backup Of "EFS" But In Last Two Weeks I Started Getting Request Again So Here Is The Simple Way I Wanna Share "How To Backup "EFS" For GT-I8552
As There Is No CWM For Our Device That Supports "EFS" Backup And Also Third Party Apps Ain't Working Now What To Do
So Here We Go Then :-
Q :- What is "EFS" ?
A :- "EFS" Folder Is The Very Sensitive System Folder That Contains Phone-Specific Information Such As The IMEI, Wireless Devices MAC Addresses, Product Code, And Much More. If This Thing Not Handled Properly, Can Turn Your Device Completely Useless As It Will No Longer Be Recognized By Your Carrier.
Problem Is, Flashing Custom ROMs Sometime Can Corrupt Contains Within "EFS" Folder. That’s Why Backing Up "EFS" Folder Is Very Important If You Love To Flash New ROM.
NOTE :- ROOT IS REQUIRED..!!
INSTRUCTIONS :-
EFS BACKUP
1. Download Android Terminal Emulator Or Download ROM Toolbox Pro Or ROM Toolbox Lite.
2. Open Terminal Emulator Or Terminal Emulator In ROM Toolbox App.
3. Use This Code To Backup "EFS"
Code:
su
dd if=/dev/block/mmcblk0p16 of=/sdcard/efs.img
And hit Enter In Keyboard..
4. You Will Get efs.img In Your SDCard, Copy It To PC Or Upload On Storage Sites Like 4shared.com , Mediafire.com etc
EFS RESTORE
1. Download Android Terminal Emulator Or Download ROM Toolbox Pro Or ROM Toolbox Lite.
2. Open Terminal Emulator Or Terminal Emulator In ROM Toolbox App.
3. Use This Code To Restore "EFS"
Code:
su
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p16
And hit Enter In Keyboard..
4. Guess What You Restored Your "EFS"
Please Hit "THANKS" or "DONATE" To Support.

bro did u try restoring ? r u sure it restore successfully?

tonyjs007 said:
bro did u try restoring ? r u sure it restore successfully?
Click to expand...
Click to collapse
Yes buddy it will restore u need root access for that thats all :good:

I already flashed jasp hd Rom before backing up efs partition now what should I do

ZANKRUT.DOSHI said:
I already flashed jasp hd Rom before backing up efs partition now what should I do
Click to expand...
Click to collapse
Np u can backup now efs.img just in case

We have to put backup of efs (.img file in internal storage or external while restoring it?? :|
Sent from my GT-I8552 using XDA Premium 4 mobile app

Jaspreet_Singh said:
Yes buddy it will restore u need root access for that thats all :good:
Click to expand...
Click to collapse
Bro did u restore it by this way? And can u tell me which information stored on mmcblk0p3 ?
Sent from my GT-I8552 using Tapatalk

kinchit1495 said:
We have to put backup of efs (.img file in internal storage or external while restoring it?? :|
Sent from my GT-I8552 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
internal as above command is for internal only
coolkoushik07 said:
Bro did u restore it by this way? And can u tell me which information stored on mmcblk0p3 ?
Sent from my GT-I8552 using Tapatalk
Click to expand...
Click to collapse
yes its working and p3 is for modem for our device..

Jaspreet_Singh said:
internal as above command is for internal only
yes its working and p3 is for modem for our device..
Click to expand...
Click to collapse
Ur given command is wrong. There is no sdcard directory, it would be sdcard0 or extSdCard. By the way can u tell me what is the work of bs command. Somewhere i saw people use bs=4096 while using dd command. Can u please explain it?
{
"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 GT-I8552 using Tapatalk
---------- Post added at 08:42 PM ---------- Previous post was at 07:53 PM ----------
Edit : my bad. Ur code is working too. I did a mistake by /storage/sdcard/ so it gave error. So ignore that part. But if u can please explain bs parameter.
Sent from my GT-I8552 using Tapatalk

I think it ws wrong it should be sdcard0
Sent from my GT-I8552 using XDA Premium 4 mobile app

kinchit1495 said:
I think it ws wrong it should be sdcard0
Sent from my GT-I8552 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope. mine works fine, the output should be efs.img

I think bs stands for block size. But can anyone explain what it does?
Sent from my GT-I8552 using Tapatalk

thnxs bro for great in gt-i8552
Gt-i8552 rocksss!!!

coolkoushik07 said:
Ur given command is wrong. There is no sdcard directory, it would be sdcard0 or extSdCard. By the way can u tell me what is the work of bs command. Somewhere i saw people use bs=4096 while using dd command. Can u please explain it?
Sent from my GT-I8552 using Tapatalk
---------- Post added at 08:42 PM ---------- Previous post was at 07:53 PM ----------
Edit : my bad. Ur code is working too. I did a mistake by /storage/sdcard/ so it gave error. So ignore that part. But if u can please explain bs parameter.
Sent from my GT-I8552 using Tapatalk
Click to expand...
Click to collapse
The /sdcard/ *should* be universal on many samsung devices (at least I know it IS like that on the Galaxy Ace and on the Galaxy Win, i8550L that I own).
Regarding the bs operand of the dd command, in this case you don't need it, as you're acting directly over the EFS partition. In the use of this command the bs operand is used for when you're working with a whole disk.
Technical stuff below:
For example, if you don't have the precise /dev/block/mmcblk0pXXX of a partition (taking in consideration that /dev/block/mmcblk0 is the disk you want to read from), you can use dd in this way:
Code:
dd if=/dev/block/mmcblk0 bs=4096 of=/sdcard/kernel.img
In the example, we're backing up the Kernel part of the phone (note that this is not real information, just an example, so don't blame me if you try to dump that command back in the phone assuming things you don't know xD), as you may (or may not) know, a disk is comprised of many blocks, you can google about that later it's quite late and don't wanna go on too deep so i'll try to be brief; if your disk is 512 mb in size, probably the first 32MB would be for boot, kernel, recovery, modem and NVRAM (not to be confused with modem), these 32 MB might be distributed this way:
1-1024MB Bootloader
1024-6144 Kernel+Recovery
6144-18432 Modem
18432-32768 NVRAM
and so on
Long story short, don't mess with DD

Backing Up EFS Partition
Dear Jaspreet,
Myself and CoolKoushik07 tested this procedure long before. However this is not working solution. This is due to the natture of the EFS filesystem.
Please go through my Post # 39,40,41,42,43,44.
http://forum.xda-developers.com/showthread.php?t=2541198&page=5
Please correct me if I am wrong.
Regards

Arinio said:
Dear Jaspreet,
Myself and CoolKoushik07 tested this procedure long before. However this is not working solution. This is due to the natture of the EFS filesystem.
Please go through my Post # 39,40,41,42,43,44.
http://forum.xda-developers.com/showthread.php?t=2541198&page=5
Please correct me if I am wrong.
Regards
Click to expand...
Click to collapse
Check ur command "dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img"
and mine "dd if=/dev/block/mmcblk0p16 of=/sdcard/efs.img"
Two mistakes ? first is our mounting point for efs is mmcblk0p16 and there is no storage "of=/storage/extSdCard/efs.img" it shud be either to sdcard directly or of=/extSdCard/efs.img

Jaspreet_Singh said:
Check ur command "dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img"
and mine "dd if=/dev/block/mmcblk0p16 of=/sdcard/efs.img"
Two mistakes ? first is our mounting point for efs is mmcblk0p16 and there is no storage "of=/storage/extSdCard/efs.img" it shud be either to sdcard directly or of=/extSdCard/efs.img
Click to expand...
Click to collapse
Just a lil correction.. /storage/extSdCard/ is not wrong directory..
Sent from my GT-I8552 using Tapatalk

Backing Up EFS Partition
Dear Jaspreet,
Please check my Post #43.
Regards

Jaspreet_Singh said:
[IMPORTANT] HOW TO DO EFS BACKUP AND RESTORE FOR GT-I8552​
Click to expand...
Click to collapse
hello @Jaspreet_Singh
Im forget to make a backup by my efs folder I8552 again after formated my PC.
Now its empyt cause i had troubles flashing test by custom rom
Important
Except the stock lockscreen and stock setupwizard inicial everything works even empty folder cause I managed to recreate the mac adress, retrieve the IMEI
3G signal ok
calls Ok
IMEI ok
IP/Wi fi ok
Is it something can u do , like send files folders attachment and i using sdk put my mac adress, ip and imei to restore files?
tks

@mjraogr....
Add facebook.
https://m.facebook.com/GlaMsP?ref=bookmark
I also had the same problem, I was looking for solutions to this problem and in one of these search found an EFS file from another machine and tried their luck to restore my folder ..
Following the steps in this link posted by @manojkumar8552 my work out and now is working perfectly.
Download these files, extract the desktop.
https://drive.google.com/file/d/0B6t2vRswL0dHVXRKYXZncGd1WVU/view?usp=sharing
1 - run the Backup_EFS ...
2 - Once completed Backup your EFS.img, rename such as EFS MY or something.
3 - Inside the folder contains another file (efs Restore.img) change the name to EFS.img.
4 - Run the Restore_EFS ...
5 - Restart the device ...
6 - Enter the ROOT folder with Explorer, find the EFS / Factoryapp folder, edit the file (factorymode) will contain OFF switch to ON all upper case, reset the unit ....
Good luck ... these steps have worked in the mine, hope it helps ...
NOT TO THANK !!

Related

{HELP}{Karbonn A30}{compile CWM recovery from stock}

i have a Karbonn A30 with 5'9" screen.i want to create a CWM recovery for the device.
i have tried many ways but its not working.the original recovery is attached below.
michael.the.don said:
i have a Karbonn A30 with 5'9" screen.i want to create a CWM recovery for the device.
i have tried many ways but its not working.the original recovery is attached below.
Click to expand...
Click to collapse
Have you tried running it through the official Clockworkmod Recovery builder? Or have you taken a look at the guides Porting ClockworkMod Recovery to a New Device and [GUIDE] Compile CWM Recovery?
i have tried porting it. i dont knw if its working or not.because its a MT6577 device and i cannot get it to flash the recovery partiton. even AIO flasher hangs when i try to flash recovery.can u tell me if the below given build is a successfull port.i used the online builder for this.
how did u extract recovery.img??
rakesh1988 said:
how did u extract recovery.img??
Click to expand...
Click to collapse
First you have to figure out which block is the recovery partition this can be found by either typing in terminal emulator or ADB shell "mount" or running a command similar to "cd dev/block/platform/{SoC Name Here for example mmci-omap-hs.0}/by-name" then once in that directory "ls -l" noting the block name of the recovery partition. After you have done that then you can dump the recovery partition to your phone by running the command "dd if={path to recovery partition you obtained earlier from one of the above mentioned commands} of={path to SD Card or output destination}/recovery.img".
michael.the.don said:
i have tried porting it. i dont knw if its working or not.because its a MT6577 device and i cannot get it to flash the recovery partiton. even AIO flasher hangs when i try to flash recovery.can u tell me if the below given build is a successfull port.i used the online builder for this.
Click to expand...
Click to collapse
Try flashing it through MobileUncle Tools, worked on MMX A110, another MT6577 device.
MobileUncle Tools doesnot flash.anyway bricked my device using sp flash tools.it will be back tomm from servicing.
michael.the.don said:
MobileUncle Tools doesnot flash.anyway bricked my device using sp flash tools.it will be back tomm from servicing.
Click to expand...
Click to collapse
is there no stock rom for a30 which can be used to flash the phone using sp flash tool??
i tried to get recovery img dump on sd card
i was at cd dev/block/platform/abcd(soomething was der)/by-num
after that i get list of mmcblk0p1 to mmcblk0p6
how to confirm that which is a recovery ?
arkerio said:
i tried to get recovery img dump on sd card
i was at cd dev/block/platform/abcd(soomething was der)/by-num
after that i get list of mmcblk0p1 to mmcblk0p6
how to confirm that which is a recovery ?
Click to expand...
Click to collapse
The directory should be by-name not by-num. After you are in the correct directory type "ls -l" the recovery partition should be the partition with the "SOS" name listed. If you only have by-num directory you can try running (Make sure to be running the shell as superuser by typing "su" in terminal emulator or ADB shell first) "cat /proc/mtd" and if that doesn't work try (Also with superuser permissions) cat /proc/emmc both of this commands if they return a value the recovery partition will be named "recovery". Let me know if you still have questions .
here is s gscript that lets u dump all the partitions.a ful rom backup.
i have a full dump.only the PRELOADER and DSP_bl is corrupted.
i cant get them to load in sp flash tools
see the attached gscript.for complete backup use the "back_mt6575_a4_v2c" script.
i have attacher the scatter file if some one needs it.my device is still in servicing.so i cant go foreward.
{credits for the "back_mt6575_a4_v2c" script to original developer.i fount it not mine.i dont knw whos it is.}
M very noob in all this things and i dnt know how to use above scripts
but from the reply above -1
i got it how to backup recovery img
cat /proc/emmc this command works
learning learning learning will ask question if i stuck
preparing ubuntu pc
here is the turorial how to use the gscript.http://forum.xda-developers.com/showthread.php?t=1825722
see the section where it says rombackup.
but instead of using the script mentioned in the tutorial.use the one i have given above.u dont need any commands here.it will backup automatically/.
Hi
m getting error while unpacking recovery.img
"Error: the input file does not appear to be a valid file. at ./unpack-mt65xx.pl
line 45."
but the recovery.img which is attched to firsth post is getiing unpack perfectly
what m doing wrong
i got recovery by following commands
one is - cat /dev/block/mmcblk0p2 > /mnt/sdcard/recovery.img
&
second is if=/dev/block/mmcblk0p2 of=/mnt/sdcard/recovery.img
using both the command i get recovery.img but it is of 5MB
and the recovery which is attached at 1st post is of 6MB
EDIT:
michael.the.don i have used ur given script and m able to get all img as backup
and i have also created cwm as per guide given by you
let me know how you bricked ur device ?
what you were trying ?
How did you get that scatter file ?
my recovery is attached but yet no tried it
cherry mobile titan CWR,TWRP and Stock Recovery
High Guys here is the different recoveries from our rebranded Karbon a30 to Cherry Mobile Titan TV
Clockworkmod - CWMR - 6.0.1.5
https://mega.co.nz/#!YUgEkSKC!JjokMRNW9dmpk5XbVVSBKz4LAi9fjcAWkzuChCDuE4s
TWRP Lewa Recovery - 1.0
https://mega.co.nz/#!oVoS2ABB!TGXNFF0dL6V5J2enBS0juGYWXKRhwOpPddJV0GC_q_g
TWRP Lewa Recovery - 2.3
https://mega.co.nz/#!9d5FxIpT!XqBoqyiDJg914Tfajwp4i3xioMAjo9ZVI2zf5LqjRbc
Stock Recovery
https://mega.co.nz/#!dAZSDCba!CP49czZxvdpbKBG3gWzPMzSv3bxdFRi8AQKvEI2-5z4
Enjoy
rnovino
Junior Member
Join Date: Nov 2012
Posts: 16
cherry mobile titan CWR,TWRP and Stock Recovery
High Guys here is the different recoveries from our rebranded Karbon a30 to Cherry Mobile Titan TV
Clockworkmod - CWMR - 6.0.1.5
https://mega.co.nz/#!YUgEkSKC!JjokMR...cAWkzuChCDuE4s
TWRP Lewa Recovery - 1.0
https://mega.co.nz/#!oVoS2ABB!TGXNFF...OpPddJV0GC_q_g
TWRP Lewa Recovery - 2.3
https://mega.co.nz/#!9d5FxIpT!XqBoqy...9ZVI2zf5LqjRbc
Stock Recovery
https://mega.co.nz/#!dAZSDCba!CP49cz...Ri8AQKvEI2-5z4
Enjoy
Click to expand...
Click to collapse
These are .img files and need to be flashed using Mobile Uncle from Play Store
Once you have downloaded any of the recovery file you need to download the MOBILE UNCLE MTK TOOL on google play store for you to port the recovery update on your phone.
{
"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"
}
and then copy the RECOVERY.IMG from the recovery image you have downloaded either the CWMR and TWRP on the root of your sd card or internal storage
now open the MOBILE UNCLE MTK TOOL and click the RECOVERY UPDATE and you will see the RECOVERY.IMG at the top that you have copy on the root of your storage.
NOTE: be sure to check the spelling that it is spelled as “recovery.img” without the quotes or else it will not be detected on the folder
now just click ok then ok again and it will reboot to recovery, after rebooting it will now be on the recovery mode that you have chosen , in this example i used the TWRP v2.3.2.3.
and now you can select backup and check all the things you want to backup and swipe the handle on the bottom part and wait for it to finish
to check if you have backup successfully you can click the restore mode and you will see the backup you have made, and from there you can choose on what backup you want to restore.
ALL THE BEST GUYS!!!!!
SOURCE:http://pinoyscreencast.net/cherry-mobile-titan-tv-and-karbon-a30-stock-cwmr-v6-0-1-5-and-twrp-v2-3-2-3-recovery/
If You find my post helpful, Hit Thanks!
Thank you. Flashed CWMR successfully on Karbonn A30
ApplePriest said:
Thank you. Flashed CWMR successfully on Karbonn A30
Click to expand...
Click to collapse
AWESOME!!!!!
Twrp (karbonn a30) link is asking for decryption password, please share the same
Sent from my Micromax A110 using Tapatalk 4 Beta
Hoe to download recovery. Img from above link
Sent from my Karbonn A30 using XDA Premium 4 mobile app

[SCRIPT] ADD RAM WITHOUT PARTITION EXT {All rooted devices include MDPI}

i have MANUAL step to increase virtual memory (such as adding secondary ram). But in this mod YOU DO NOT NEED to create a partition ext2/3/4. This step will help u if ur kernels doesn't have swap partition support. Ok, check it out,, its very easy and simple method
{
"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"
}
Click to expand...
Click to collapse
1. Download swap file from here
2. Extract it so from 800kb will be 800mb Peace
3. Choose 1 from 3 files size for swap that u want ( up to you )
4. Copy file to /sdcard
5. Make sure you have BusyBox installed
6. Then, U can type on "Terminal Emulator"
for example im using with 128mb size :
- to turned on swap
su
swapon sdcard/swap128
Click to expand...
Click to collapse
- to turned off swap
su
swapoff sdcard/swap128
Click to expand...
Click to collapse
-to check swap status
su
free
Click to expand...
Click to collapse
NOTE :
- on terminal emulator, type the name of swap file correctly and the place must correctly too . . . (experiment)
- If u restart ur phone, swap will reset and u must type on emulator again. But if u want to run my script at each boot, u can try it with app swapper2 or ROEHSOFT RAM Expander
- on some devices if u will connect to usb storage, then u must turn off swap before u connect usb storage to PC. But, this problem can be resolved by installing USB OTG (MTP) or using swapper2
For anyone who got error like 'not found', try to change permissions on /system/xbin "swapon and swapoff" to (tick all box)
TUTORIAL USING THIS SCRIPT WITH SWAPPER2
sorry for my bad english
IF I HELPED YOU PRESS THANKS BUTTON
good work
but in wrong forum
yamin8000 said:
good work
but in wrong forum
Click to expand...
Click to collapse
oops.
so, what the forum to post above thread?
-im new here
edit. changed to script
i tested but terminal say swap not found
king40 said:
i tested but terminal say swap not found
Click to expand...
Click to collapse
You must type the name of swap file correctly, so swap will detected. If u choose 256mb size, so on terminal emulator must 256 too. Look at purple colour above. im using 128mb.
Besides that, the place of swap file must appropriate too.
- try with costum kernel and install busybox
is it okay to use a class 4 sdcard ??
kelvin99 said:
is it okay to use a class 4 sdcard ??
Click to expand...
Click to collapse
Maybe not bad, but i suggest u to use with class 6 or higher. Swap process depend on how much speed sdcard to read and write. So, if u use with higher class sdcard, then it will give a better result.
hurriX8 said:
You must type the name of swap file correctly, so swap will detected. If u choose 256mb size, so on terminal emulator must 256 too. Look at purple colour above. im using 128mb.
Besides that, the place of swap file must appropriate too.
Click to expand...
Click to collapse
I did all u said but mine too says swap not found
MCM4u said:
I did all u said but mine too says swap not found
Click to expand...
Click to collapse
do you have using custom kernel??
try it with custom kernel and swap will found.
edit. write "swapon" not "swapON" on terminal emulator
Does it work on xperia s?
Sent from my Xperia S using xda premium
alveos said:
Does it work on xperia s?
Sent from my Xperia S using xda premium
Click to expand...
Click to collapse
of course.
it will work on ur Xperia S
hurriX8 said:
do you have using custom kernel??
try it with custom kernel and swap will found.
Click to expand...
Click to collapse
i'm using the latest CM10 nightly
MCM4u said:
i'm using the latest CM10 nightly
Click to expand...
Click to collapse
then do you have installed busybox??
hurriX8 said:
i have MANUAL step to increase virtual memory (such as adding secondary ram). But in this mod You do not need to create a partition ext2/3/4 because im using swap file.
1. Download swap file from here
2. Extract it so from 800kb will be 800mb Peace
3. Choose 1 from 3 files size for swap that u want ( up to you )
4. Copy file to /sdcard
5. Make sure you have BusyBox installed
6. Then, U can type on "Terminal Emulator"
for example im using with 128mb size :
- to turned on swap
su
swapON sdcard/swap128
- to turned off swap
su
swapOFF sdcard/swap128
-to check swap status
su
free
note :
- on terminal emulator, type the name of swap file correctly and the place must correctly too . . .
- Much better if you have unlock bootloader / custom kernel your phone . . . (swap process can be better so more fast and swap will be easier to found)
- on some devices if u will connect to usb storage, then u must turn off swap before u connect usb storage. But, this problem can be resolved by installing USB OTG
sorry for my bad english
IF I HELPED YOU PRESS THANKS BUTTON
Click to expand...
Click to collapse
Unlocked bootloader only??
sandorjuraszik said:
Unlocked bootloader only??
Click to expand...
Click to collapse
NO . . .
it for all rooted devices with busybox installed.
with unlock only increase swap speed :good:
hurriX8 said:
then do you have installed busybox??
Click to expand...
Click to collapse
no i don't, is it required?
MCM4u said:
no i don't, is it required?
Click to expand...
Click to collapse
yes. its very important.
hurriX8 said:
yes. its very important.
Click to expand...
Click to collapse
it still doesnt work
i did everything exactly the way u said
Good work
Sent from my I9082 using xda app-developers app
MCM4u said:
it still doesnt work
i did everything exactly the way u said
Click to expand...
Click to collapse
Im really sorry because i cnt help u then. On my mini pro with HavenDroid jB 4.2.2 rom and LuPus v7 kernel it work very well.
I've tried to help you as much as possible. Maybe u can try with other mod such as Zram :angel:
Nizamkhanfb said:
Good work
Sent from my I9082 using xda app-developers app
Click to expand...
Click to collapse
Does it work on your phone dude?

[Q] EFS Backup

I am trying (as recommended) to make an EFS backup of my phone.
I have tried EFS Backup Pro but the version of busybox I have (the one from Play Google: 1.21.0) seem to have an applet missing: readlink.
They ask to downgrade to version 1.20.2 but so far I could not find the APK to do that
How can I downgrade busybox ?
I have also tried the tuto for the GS3 i9305 using QPST but when I dial *#7284# I don't get the Menu "Phone util" so I assume this procedure doesn't work for the Galaxy mega ?
Has anybody managed to save the EFS on the mega ??? If yes how ??
Thanks in advance.
Tilagoon said:
.....................
Has anybody managed to save the EFS on the mega ??? If yes how ??
Click to expand...
Click to collapse
For this we must have root:
I have already a backup efs.img from i9205 made like this THREAD but changed the partition efs to 10 (see the screenshot). This command:
dd if=/dev/block/mmcblk0p10 of=/storage/extSdCard/efs.img bs=4096
If I have some efs issue I will try the restore of it. (I'm not sure if this work. Take care, the responsibility is Your's)
PS: For i9200 You must see if the partition efs is the 10 also.
,
Ok, thanks for your fast answer.
My phone is also a I9205, so I'll try.Anyway there is no risk as long as we don't restore the backup.
Dont know if this will work but if you have root, install root explorer and just copy your efs folder to an ext SD card?
or am i thinking too simple about this?
SquirtingCherry said:
Dont know if this will work but if you have root, install root explorer and just copy your efs folder to an ext SD card?
or am i thinking too simple about this?
Click to expand...
Click to collapse
Yes, I confirm this work. I restored the efs twice whit Root Explorer on Galaxy Tab 7" P1000 and one on Note 10.1 N8000.
But we must verify the permissions, I compared whit another device. Can be some issues whit.
I had a look with root explorer and there is nothing after the permissions (rwxrwx) , no -> and no file name.
This is valid for all the directories in the root directories.
By the way the name I don't have the same directories as you ??
How did you get that ? Which file explorer ??
Root Explorer, now 2.21.1 version from Speed Software. On top we must put on R/W to see or change permissions.
For exemple: long touch on efs folder, on next window we have permissions. Touch on permissions, we see it on a new little window.
We can verify, change... or ok/cancel.
I am using Root explorer 3.and this is what I can see:
{
"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"
}
Doesn' really look like what you get !!
PS: Sorry but I did find yet how to put a miniature un the post
Tilagoon said:
I am using Root explorer 3.and this is what I can see:
................................................
Doesn' really look like what you get !!
PS: Sorry but I did find yet how to put a miniature un the post
Click to expand...
Click to collapse
Good, is the new version 3 and You are already on r/w. Now make this:
Long touch on efs folder until you have a new window whit many options (attach1), also permissions (Permissões in Portuguese).
Touch on permissions, we see it on a new little window (attach2). This mean rwxrwx--x = 7,7,1 (my case).
Your is rwxrwxrwx = 7,7,7
(r=Leitura, w=Gravação, x=Executar)
We can verify, change... or ok/cancel.
See attachs:
PS: On version 3 You can mark efs at right and touch on menu. Is same.
Valente
Yes, I have done that already and changed the last part of the permission to rwx (was--x) as you can see in may capture.
But still no indication like yours: -> mmcblk0p10 !!
And as you can see also my root directory is different from yours????
Tilagoon said:
And as you can see also my root directory is different from yours????
Click to expand...
Click to collapse
Because I prefer the Root Explorer old version 2.21.1 and invalidate the update of it on Play Store.
Updated now to vers 3 to test to You but I returned to old version. I like it more.
Ok, I'll try with the same version as yours and see what I get.
But my concern was that the name of the directories in my capture and yours are quite different and I don't think that the other version of Root explorer wil change anything.
I have installed version 2.21.1 and I get the same thing !
But I think I have finally understood what's going on: your first capture is not the capture of the Root directory as what we see are not sub-directories but files !!
Can you tell me the path to get that ??
Tilagoon said:
I have installed version 2.21.1 and I get the same thing !
But I think I have finally understood what's going on: your first capture is not the capture of the Root directory as what we see are not sub-directories but files !!
Can you tell me the path to get that ??
Click to expand...
Click to collapse
Like I wrote. Long touch on efs folder, You have like my first screenshot whit options (Opções in Portuguese).
ValenteL said:
Like I wrote. Long touch on efs folder, You have like my first screenshot whit options (Opções in Portuguese).
Click to expand...
Click to collapse
I must be stupid but I can' get what I want which is show in the attachment below.
I have all the steps: mount R/W, long touch on EFS, then I get the options menu and if I go in permissions I can change them but when I say OK I return to the contents of the root directory.
I have tried to change the permissions but no way. I really don't see what more can be done to get this information.
I think I'll give up and will no longer bother you.
Any way thank you very much for your help and having be so patient.
Tilagoon said:
I must be stupid but I can' get what I want which is show in the attachment below.
I have all the steps: mount R/W, long touch on EFS, then I get the options menu and if I go in permissions I can change them but when I say OK I return to the contents of the root directory.
I have tried to change the permissions but no way. I really don't see what more can be done to get this information.
I think I'll give up and will no longer bother you.
Any way thank you very much for your help and having be so patient.
Click to expand...
Click to collapse
Take care, is not there, this is not the root directory. Is on Your screen post 8 on root you see efs folder. Is here You must try long touch... etc, my screens post 9.
This screen in this Your post is from /dev/block/platform/msm_sdcc.1/by-name/partitions, is not the root directory, the efs here is not a folder is a partition.
PS: Attach root directory whit efs folder, not file.
ValenteL said:
Take care, is not there, this is not the root directory. Is on Your screen post 8 on root you see efs folder. Is here You must try long touch... etc, my screens post 9.
This screen in this post is from /dev/block/platform/msm_sdcc.1/by-name/partitions, is not the root directory, the efs here is not a folder is a partition.
Click to expand...
Click to collapse
Thanks a lot !! I almost kill my self to find this.Now I have it (of course) :victory::victory::laugh:
I will do the save.
Tilagoon said:
Thanks a lot !! I almost kill my self to find this.Now I have it (of course) :victory::victory::laugh:
I will do the save.
Click to expand...
Click to collapse
:laugh::laugh::laugh::victory::victory:

[31.12.15]IMEI(EFS)BAckup Tool N 5 I Updated for systemless root I Promo for RD/C/T

IMEI (EFS) BAckup Tool Note 5
{
"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"
}
This is simple EFS backup tool. We are very well knowing about what EFS is and why it is MUST to backup on every rooted device. If you don't know then Read this.
You needs root access to use this tool otherwise app won't open..
Location of stored file :
Device storage/MyEFS
If you unable to see backup, contact me with details of your device variant
Download :
Pro Version
XDA version (free)- Attached at end of this post.
Difference between Free/Play store
-Both version makes backup in same format and no difference in backup.
-Pro version have option to Restore with single click
-Free version will save file in MyEFS and if you make next backup it will replace older one. While play store version everytime creates new folder with date ,Time and your IMEI stamp so you can keep multiple backup as well no confulsion about which backup is made when and on which device. Also it makes copy of build.prop so you can get idea you were on which ROM when backup created)
-Play store version give notification in case backup not created.
-Weekly Auto backup feature available on play store version.
-PIT creator. Play store V1.1 added option to create PIT file from existing layout
Click to expand...
Click to collapse
This tool using generic name of partition block and you can restore with simple adb shell
dd if=/path of backup files/ of=/partition block according your device
ChangeLog
1.0 - Initial release. (3644)
1.1 - Fixed for systemless root users.
What is EFS
This part of the device contains some important and some basic info related to our device identity like Bluetooth MAC address, wireless devices MAC addresses, product code (also in the nv_data.bin) and the very main IMEI address (nv_data.bin), programming parameters for the device such as your account information (phone number, etc), data provisioning parameters, and a whole bunch of other things. So you can guess it's will be different for each device and one can't use others. In latest samsung device this information store in other partition so requires to make backup of that partition too.
How it can corrupt :
- Any bad flashing, mishandling system modification can cause this.
- Also It can be corrupted by downgrading stock ROM. If you flash any old ROM on newer ROM it can corrupt EFS. Basically newer ROM believed to have new kernel that changes EFS data which older Modems can't read and results to fail in reading IMEI.
Impact on device/How I know I have corrupted EFS
When there is EFS partition is corrupted, device loses IMEI and due to this device can't gets connected to network. Baseband info also sometimes shows unknown.
-Check your IMEI in setting / by dialling *#06# if it is null OR if it starts with 0049** then IMEI is generic and corrupted. In Normal case IMEI which you can see in device setting or dialing *#06# is exactly same you can see on bill/box/sticker under battery compartment
-If you are unable to connect to network in spite of correct IMEI, chance are
A. Your device is Locked to specific Network OR
B. Your device is banned due to tempered IMEI
-If your AP,CP,CSC all are correct and even you are getting error (unknown CSC XXX) on kies update, it may be due to corrupt Product code in EFS. Read This for detail.
What care should i take
Before flashing anything, first thing you should do is to make EFS backup. Every person who have rooted device should make EFS backup earliest and place it to safer place on PC and /Cloud.
If you are on older ROM, make EFS backup on older ROM as well make another after upgrading ROM too.
If you have already updated to newer ROM, make backup on current ROM.
Exit "Permanent Safe Mode" This condition represent with loss of IMEI + yellow text box on homescreen with device info.here is Screenshot
Here is different method to remove it.
Method1 :
Open root explorer.
Navigate to /efs/FactoryApp/
Open "factorymode" file as Text and edit it:
Change this:
Code:
OFF
To:
Code:
ON
Open "keystr" file as Text and edit it:
Code:
OFF
To:
Code:
ON
Reboot device.
Method2:
Open Terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Write the following & click enter:
Code:
rm /efs/FactoryApp/keystr
Write the following & click enter:
Code:
rm /efs/FactoryApp/factorymode
Write the following & click enter:
Code:
echo -n ON >> /efs/FactoryApp/keystr
Write the following & click enter:
Code:
echo -n ON >> /efs/FactoryApp/factorymode
Write the following & click enter:
Code:
chown 1000.1000 /efs/FactoryApp/keystr
Write the following & click enter:
Code:
chown 1000.1000 /efs/FactoryApp/factorymode
Write the following & click enter:
Code:
chmod 0744 /efs/FactoryApp/keystr
Write the following & click enter:
Code:
chmod 0744 /efs/FactoryApp/factorymode
Reboot your device
Method3
Install attached safemode_exit apk as regular app. Open from drawer - Grant su permission - Reboot when asked.
e:failed to mount /efs(invalid argument) error with bootloop
This condition usually happens with using unsupported tool (usually from play store).
To recover this, needs to use adb shell
Code:
adb shell
mke2fs / dev/block/mmcblk0p[COLOR="Red"]x[/COLOR]
mount-w-t ext4 / dev/block/mmcblk0p[COLOR="red"]x[/COLOR] / efs
x means your device EFS partition number
PS : It needs CWM and busybox installed.
Reserved 3
Reserved 4
Reserved 5
Thank you
Sent from my SM-N920T using Tapatalk
Yet another useful contribution
Thanks
Nothing happens when i try to launch the app. Is that normal, or should there be a GUI? Also tried pro version.
Sent from my SM-N920T using Tapatalk
daftlush said:
Nothing happens when i try to launch the app. Is that normal, or should there be a GUI? Also tried pro version.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Are you sure you have rooted device? As said in op it won't open without root access.
Sent from my SM-N920I using xda premium
dr.ketan said:
Are you sure you have rooted device? As said in op it won't open without root access.
Sent from my SM-N920I using xda premium
Click to expand...
Click to collapse
ohh yeah. root is 100%.
Sent from my SM-N920T using Tapatalk
daftlush said:
ohh yeah. root is 100%.
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Which is your device model ?
Reinstall and click on app icon and wait till it ask for supersu. Once you grant permission then only app will show ui
Sent from my SM-N920I using xda premium
dr.ketan said:
Which is your device model ?
Reinstall and click on app icon and wait till it ask for supersu. Once you grant permission then only app will show ui
Sent from my SM-N920I using xda premium
Click to expand...
Click to collapse
t-mo. rooted. su set to auto allow.
Sent from my SM-N920T using Tapatalk
Check Super su log and see it has granted su permission to app.
i have no baseband and imei unknown after updating to latest tmo firmware and installing DarthStalker. Have backup from when i first rooted phone. will purchasing your app fix you think?
do i need to downgrade to old firmware and restore?
many thanks for all your hardwork for the community,!
Try Restoring directly if doesn't work then flash same firmware on which you made backup. If any issue or doesn't work pm me.
Before doing anything make copy of backup on multiple storage.
Sent from my SM-N920G using xda premium
Thank you so much for all the help. I am now back up and running. You are awesome ,sir.!
Got it to work. How do i find out what to type in promt to restore?
Sent from my SM-N920T using Tapatalk
nice tool, but how to restore a backup ?
nmx87 said:
nice tool, but how to restore a backup ?
Click to expand...
Click to collapse
the same question
Guys it's in the OP...use Terminal Emulator with the commands in the OP. .

Nubia z7 nx506j qcn backup

Greetings to everyone here.
I have a Nubia Z7 NX506j and tried to flash it with nubia tool. The flash completed successfully but I lost both my IMEIs. Unfortunately I didn't know that nubia tool keeps a QCN backup and coincidentally formatted my pc. I found a guide about how to hex edit a QCN backup and insert both IMEIs but only for Z7 mini and Z7 max. Can someone please post a working QCN backup of a NX506J and I will make sure to erase the previous IMEIs and insert mine. I will also make sure to post a guide on how I restored it if someone is kind enough to share it.
Thank you!
EDIT: Managed to fix it with the precious help of www.androidbrick.com
Guide coming soon!
Ok, so here goes:
1) First of all you need a qcn backup from a working phone of the same model. I had the luck to ask the owner of www.androidbrick.com to share with me one.
2) You need a hex editor to open the qcn backup
3) Based on these two guides http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ and http://4pda.ru/forum/index.php?showtopic=596441&st=8180#entry40033587 and adapting them to the qcn i had in my hands, I deleted the IMEIs and MEID from the backup and inserted the ones printed in my phone box
4) Because the IMEIs and MEID on my phone were not "0" but "NULL" i couldn't restore the modified QCN backup, and had to first delete the partitions that hold this kind of information. Based on this guide http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ i found the partitions (modemst1, modemst2 and fsg) according to the partition table on our device (mmcblk0p10, mmcblk0p11 and mmcblk0p20) accordingly and deleted them with the dd commands found on the above guide (I had to first root the device in order to do that).
5) After i deleted I could successfully restore the QCN backup using QPST (more info on the guide above)
6) Reboot, and voila! The IMEIs and MEID have been restored successfully and phones, calls and mobile data working again!
tassos_chry said:
Ok, so here goes:
1) First of all you need a qcn backup from a working phone of the same model. I had the luck to ask the owner of www.androidbrick.com to share with me one.
2) You need a hex editor to open the qcn backup
3) Based on these two guides http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ and http://4pda.ru/forum/index.php?showtopic=596441&st=8180#entry40033587 and adapting them to the qcn i had in my hands, I deleted the IMEIs and MEID from the backup and inserted the ones printed in my phone box
4) Because the IMEIs and MEID on my phone were not "0" but "NULL" i couldn't restore the modified QCN backup, and had to first delete the partitions that hold this kind of information. Based on this guide http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ i found the partitions (modemst1, modemst2 and fsg) according to the partition table on our device (mmcblk0p10, mmcblk0p11 and mmcblk0p20) accordingly and deleted them with the dd commands found on the above guide (I had to first root the device in order to do that).
5) After i deleted I could successfully restore the QCN backup using QPST (more info on the guide above)
6) Reboot, and voila! The IMEIs and MEID have been restored successfully and phones, calls and mobile data working again!
Click to expand...
Click to collapse
My IMEIs are "NULL" so I have to follow your guide.
Can you please tell me the commands for the command window?
This isn't working:
ls -al /dev/block/platform/soc/624000.ufshc/by-name
IceTea7 said:
My IMEIs are "NULL" so I have to follow your guide.
Can you please tell me the commands for the command window?
This isn't working:
ls -al /dev/block/platform/soc/624000.ufshc/by-name
Click to expand...
Click to collapse
Type "ls -al /dev/block/platform/" and according to what appears on the terminal continue to that path until you find the partition table of your device
Sent from my Nexus 5X using Tapatalk
tassos_chry said:
Type "ls -al /dev/block/platform/" and according to what appears on the terminal continue to that path until you find the partition table of your device
Click to expand...
Click to collapse
If I type "ls -al /dev/block/platform/"it shows the following result:
drwxr-xr-x root root 1970-01-08 03:04 msm_sdcc.1
But I don't know what to do next.
If I add soc or the other things of that line the result is that there is no such file.
Then you should type "ls -al /dev/block/platform/msm_sdcc.1" and continue accordingly. But if you lack basic terminal knowledge I highly suggest that you shouldn't go on as you could really mess up your device
Sent from my Nexus 5X using Tapatalk
Yes, I lack of basic knowledge but as long as I don't delete anything, I can't do any damage, right?
But that's the point of the tutorial. To delete the partitions needed in order for your IMEIs to become "0". If you by accident delete the wrong partition, the device could possibly never power on again
Sent from my Nexus 5X using Tapatalk
First I have to find the partitions.
The tutorial is pretty clear to me, so I think I will delete the right things.
---------- Post added at 01:37 PM ---------- Previous post was at 01:23 PM ----------
Just to make things clear.
This is my current situation.
{
"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"
}
IMEI and MEID are NULL but they need to be 0, right?
IceTea7 said:
First I have to find the partitions.
The tutorial is pretty clear to me, so I think I will delete the right things.
---------- Post added at 01:37 PM ---------- Previous post was at 01:23 PM ----------
Just to make things clear.
This is my current situation.
IMEI and MEID are NULL but they need to be 0, right?
Click to expand...
Click to collapse
Yes that's right, I just realized I made a typo in my previous post
I have found the lines and have followed the guide but my Z7 still shows null instead of 0.
I have tried it a second time but no change.
Still null instead of 0.
tassos_chry said:
Yes that's right, I just realized I made a typo in my previous post
Click to expand...
Click to collapse
I'm still not able to set my Z7 into DIAG-Mode. Do yu have any advice for me?
Drivers should be installed correctly.
I have no clue why it's not working.
IceTea7 said:
I'm still not able to set my Z7 into DIAG-Mode. Do yu have any advice for me?
Drivers should be installed correctly.
I have no clue why it's not working.
Click to expand...
Click to collapse
I'm pretty sure the command I told you was right, so I guess it's a driver issue.
What OS are you using? Have you disabled driver signature enforcement, if on Windows 8.1 or 10? If neither of the above help try on another computer with driver signature enforcement disabled
Sent from my Nexus 5X using Tapatalk
tassos_chry said:
I'm pretty sure the command I told you was right, so I guess it's a driver issue.
What OS are you using? Have you disabled driver signature enforcement, if on Windows 8.1 or 10? If neither of the above help try on another computer with driver signature enforcement disabled
Click to expand...
Click to collapse
I'm using Windows 10.
Disabling driver signature is a good hint. I will see if I have disabled it.
tassos_chry said:
I'm pretty sure the command I told you was right, so I guess it's a driver issue.
What OS are you using? Have you disabled driver signature enforcement, if on Windows 8.1 or 10? If neither of the above help try on another computer with driver signature enforcement disabled
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Now I have been finally able to set my Z7 into DIAG mode mode but the QPST tool still doesn't recognize my phone.
Hi, I have the same problem with my nx506j, none of the nubia tools will recover my bricked z7 Max. Could you share the qcn file you received so that I can try your guide?
Many thanks
Ade
Hi .please if anyone can help me with a qcn file backup for a nubia z7. i'l be much obliged Thank you
tassos_chry said:
Ok, so here goes:
1) First of all you need a qcn backup from a working phone of the same model. I had the luck to ask the owner of www.androidbrick.com to share with me one.
2) You need a hex editor to open the qcn backup
3) Based on these two guides http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ and http://4pda.ru/forum/index.php?showtopic=596441&st=8180#entry40033587 and adapting them to the qcn i had in my hands, I deleted the IMEIs and MEID from the backup and inserted the ones printed in my phone box
4) Because the IMEIs and MEID on my phone were not "0" but "NULL" i couldn't restore the modified QCN backup, and had to first delete the partitions that hold this kind of information. Based on this guide http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/ i found the partitions (modemst1, modemst2 and fsg) according to the partition table on our device (mmcblk0p10, mmcblk0p11 and mmcblk0p20) accordingly and deleted them with the dd commands found on the above guide (I had to first root the device in order to do that).
5) After i deleted I could successfully restore the QCN backup using QPST (more info on the guide above)
6) Reboot, and voila! The IMEIs and MEID have been restored successfully and phones, calls and mobile data working again!
Click to expand...
Click to collapse
Hello,
I know this is an old thread, I have the same the problem as you but my device is Z7 mini, can anyone help to have the qcn file of this model so that I can restore my EMEI. Thanks.
isbou said:
Hello,
I know this is an old thread, I have the same the problem as you but my device is Z7 mini, can anyone help to have the qcn file of this model so that I can restore my EMEI. Thanks.
Click to expand...
Click to collapse
Sorry do not have anymore qcn of these phones. Perhaps you can contact androidbrick.com

Categories

Resources