[FIXED] Restore EFS - Galaxy Note II Q&A, Help & Troubleshooting

Hello, due to a problem I have to backup my efs retaurer performed during an installation with aroma. However I do not know how to do. Could you help me? Thank you in advance
Edit: This is good! I unzipped my compressed file two times and I copied the files from the backup to paste into the efs folder (thanks root)

ecalou said:
Hello, due to a problem I have to backup my efs retaurer performed during an installation with aroma. However I do not know how to do. Could you help me? Thank you in advance
Edit: This is good! I unzipped my compressed file two times and I copied the files from the backup to paste into the efs folder (thanks root)
Click to expand...
Click to collapse
Is this Fixed :good:
If yes please change the title of the thread [Fixed]

Related

[Q] (Solved)InfiniteView — how to restore?

Hi all.
I did a mistake and uninstalled InfiniteView without backup. Now i want to restore it but each time i try to install the .apk it says «Application not installed». Can anyone guide me how to properly restore it, please?
Xperia Arc LT15a, build 4.0.A.2.368.
Thanks!
XperienceD has posted the system apps on the apps forum.
sinkster©
Thanks for reply.
I've got the archives, but when trying to install it says «Application not installed». What i am doing wrong?
z-vet said:
Thanks for reply.
I've got the archives, but when trying to install it says «Application not installed». What i am doing wrong?
Click to expand...
Click to collapse
copy that file in system folder, make permissions( XX0, x00,x00) and move in system/App folder. Then reboot phone
ZyxeLa said:
copy that file in system folder, make permissions( XX0, x00,x00) and move in system/App folder. Then reboot phone
Click to expand...
Click to collapse
That's exactly what i did and it still doesn't work.
Solved: found the .apk in this thread: http://forum.xda-developers.com/showthread.php?t=1058761.
Thanks!

Titanium Backup: Restore app data from zip file?

I have downloaded an app + data (so it seems), from a friend. He made a backup for me and told me I could restore it using Titanium Backup.
It's a zip file and it contains a .tar.gz of the data, a .apk.gz (app) and a .properties file.
The .properties file seems to contain Titanium Backup information.
So I assume there should be some way of importing this zip file using Titanium Backup. But I can't find that option.
What I can find is "Backup" (which creates a backup of an app and stores it *somewhere*) and "Restore", where I can't specify a path or anything.
How can I restore the data inside this zip?
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
D0GuKaN said:
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
Click to expand...
Click to collapse
Can someone please help me? I have all of my backed up info on Google Drive from TB. I moved that info from Google to my phone and have tried to batch restore, but it keeps showing 0 files. Please help as I have a lot of apps and data backed up and I don't care to start over. I purchased the TB Pro app for just such an occasion and now I can't use it.
SmoothTrickle said:
Can someone please help me? I have all of my backed up info on Google Drive from TB. I moved that info from Google to my phone and have tried to batch restore, but it keeps showing 0 files. Please help as I have a lot of apps and data backed up and I don't care to start over. I purchased the TB Pro app for just such an occasion and now I can't use it.
Click to expand...
Click to collapse
Did you solve your problem?
buu1152 said:
Did you solve your problem?
Click to expand...
Click to collapse
No. I never received a response so I just gave up and started over.
D0GuKaN said:
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
Click to expand...
Click to collapse
This works indeed.
I selected a batch operation for backing up apps and system data. Downloaded it via the TB Webserver and thought I was okay.
Tried restoring by uploading it to my Nexus via TB Webserver anddd it's gone. Not in the Titanium Backup app, nor to be found on the Nexus with a file browser.
Uploaded the zip manually using an usb cable to the emualted sd andddd no,option in Titanium Backup to say "its here!".
Downloaded an unzip thingie in the Play Store, unzipped the shizzle and let the files in the zip -one level down- being unpacked in the TitaniumBackup folder.
Restarted TB and yay, it can see again. Batch restored everything and... it works. Kinda. Stuck on Swiftkey as we speak. But this is the best I could come up with.
Sigh.
1. Is there any method to update the apk files stored in the zip file with newer version ?
2. How can we delete /update the backup apks with newer version?
rohitshakti said:
1. Is there any method to update the apk files stored in the zip file with newer version ?
2. How can we delete /update the backup apks with newer version?
Click to expand...
Click to collapse
There may be a better way to do this, but somewhere in Preference you can tell it how many backups to keep. I think the default is "All". Set it to 1 and that should do the trick.

EFS Partition Backup and More [All G2 Variants]

LG G2 EFS Backup Zip
Background
The G2 has no built in EFS backup partitions. EFS contains things like your MEID or IMEI... your data profiles.. radio settings. The EFS cannot be replaced... it is unique to your phone only... backing up your OWN EFS is highly recommended.
I have added EFS backup to the IOroot scripts so that everyone that roots will have a copy of their EFS partitions on the computer you run IOroot from. Regardless, this current thread will still be a good "heads up" and an alternative for those who insist on using other shady root methods or for those who just want another way to back things up. ​Backing up EFS
In TWRP, flash the LG_G2_Backup_EFS.zip attached in this thread. LG_G2_Backup_EFS.zip creates a flashable zip backup of your EFS in /sdcard/EFS_Backup/. Please check to make sure the backup zip worked and actually made a .zip file. Any issues please list what recovery and version you are using and please post the recovery.log.
Backup your efsbackupflashable.zip somewhere else besides your internal SD!!! Email.. cloud.. PC..
Restoring EFS
To restore your original EFS just boot into recovery and flash the efsbackupflashable.zip in your /sdcard/EFS_Backup folder.
If flashable zip wasn't created or to manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst2
​
Backup ALL Partitions
Well almost all... I am attaching another zip which backs up most of your phones partitions.. excluding system/data/cache and some other useless partitions. Backing up all partitions isn't as important as backing up the EFS but it can't hurt. Never know when you may need it.. especially those who like to poke around with their phone and try new things.
Run the zip in recovery.. it will make backup .img files on your internal sdcard in a new folder named "backupz"... remember to copy your backups off the internal sdcard.​
Wow nice find and quick work! I wonder what the chances are of messing you current info up, so your backup would actually be necessary?
drkow19 said:
Wow nice find and quick work! I wonder what the chances are of messing you current info up, so your backup would actually be necessary?
Click to expand...
Click to collapse
Even if the chances are really small, it is always nice to have a backup.
Having to restore with QPST or other similar methods is not fun at all.
Thanks autoprime.
this was pretty fast considering i just saw you post this in irc
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
bckrupps said:
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
Click to expand...
Click to collapse
Same situation here.
bckrupps said:
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
Click to expand...
Click to collapse
jasonsf said:
Same situation here.
Click to expand...
Click to collapse
hmm k... this happened on the LG OG as well... then some people had it working on CWM.. some people had to flash an AOSP rom first.. seems random. If someone can provide me the recovery.log after flashing the efs zip that would help. I'm going to bet its an issue with 7z packing the zip the new flashable zip for some reason or another.
i uploaded a new zip which will still try to make the flashable zip.. while also backing up the individual efs partitions.
redownload the new zip to backup efs img files.
To manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st2
autoprime said:
hmm k... this happened on the LG OG as well... then some people had it working on CWM.. some people had to flash an AOSP rom first.. seems random. If someone can provide me the recovery.log after flashing the efs zip that would help. I'm going to bet its an issue with 7z packing the zip the new flashable zip for some reason or another.
i uploaded a new zip which will still try to make the flashable zip.. while also backing up the individual efs partitions.
redownload the new zip to backup efs img files.
To manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st2
Click to expand...
Click to collapse
I have the recovery boot loop issue and was just using your zip to test out ADB Sideload in TWRP. I'll wait until my phone is working before I give your tool another try. Too many variables right now.
Jason
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
jasonsf said:
Same situation here.
Click to expand...
Click to collapse
Same thing happens to me on VZW. Here is the recovery.log
http://pastebin.com/jhyHJ0Yz
jug6ernaut said:
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
Click to expand...
Click to collapse
I can confirm this information on my AT&T G2. Maybe the script can be modified as such (unconfirmed):
Code:
# backup partitions
EFS_PREFIX=modem_st # Assume Verizon model (with underscore)
if [ -e /dev/block/platform/msm_sdcc.1/by-name/modemst1]; then # Use AT&T model nomenclature
EFS_PREFIX=modemst
fi
/sbin/busybox dd if=/dev/block/platform/msm_sdcc.1/by-name/${EFS_PREFIX}1 of=/tmp/efs1.img;
/sbin/busybox dd if=/dev/block/platform/msm_sdcc.1/by-name/${EFS_PREFIX}2 of=/tmp/efs2.img;
jug6ernaut said:
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
Click to expand...
Click to collapse
Ugh.. sorry about this. I must have been in HTC mode.. they use the "_" derpppp.
updated the zip.. see how that goes.
mine did not create a .zip file. On At&t, but still thanks a ton! will keep these two efs.img's stored on my dropbox so that I always have a backup.
Anyway to make these two into a flashable zip manually? I'm sure the code is in the script somewhere I just don't feel like looking haha
This now works for me autoprime. It created efs1.img, and efs2.img on VZW. Thx!
Got my two image files, both 3mb....thanks! I am on ATT.
im on verizon. works great. kudos
Confirm works on ATT.
Sent from my LG-D800 using Tapatalk 2
I have updated the zip in the OP... it now creates a proper flashable backup zip as well as teh 2 efs img files.
thanks to @jug6ernaut for testing all of my broken zips :highfive:
In TWRP the zip fails every time..... attached photo of error.
Sent from my VS980 4G using XDA Premium HD app
anyone else have the error that @mouf32 is having? I have some users on IRC that say it's working just fine. And there's been 50+ downloads with no other issues.
@mouf32 have you tried to redownload the file? maybe the zip got messed up or is corrupted?

Restore some WhatApp media files from Nandroid Backup

Greetings Folks!!! :highfive:
I have taken a CWM backup of my phone when it was on 4.2.2 version ROM, before installing a new 4.4.4 ROM. Now, I want to extract a particular picture (probably a .JPG or a .PNG file) from the WhatsApp media folder (located on my internal sdcard) from that CWM backup. I don't really want to restore the whole backup or even the WhatsApp App+Data to get that file. I have installed Nandroid Manager, which can browse the backups, but I don't know where to navigate to extract that picture file. Can someone advise on this, please? Thanks.
acemccloud1 said:
Greetings Folks!!! :highfive:
I have taken a CWM backup of my phone when it was on 4.2.2 version ROM, before installing a new 4.4.4 ROM. Now, I want to extract a particular picture (probably a .JPG or a .PNG file) from the WhatsApp media folder (located on my internal sdcard) from that CWM backup. I don't really want to restore the whole backup or even the WhatsApp App+Data to get that file. I have installed Nandroid Manager, which can browse the backups, but I don't know where to navigate to extract that picture file. Can someone advise on this, please? Thanks.
Click to expand...
Click to collapse
GO to sdcard/whatsapp/media/whatsapp images enjoy dnt forget to click on thankx button.
Thanks for the response @Preshak . But I think you misunderstood my query. I know the location of the WhatsApp media folder. The issue is that I took a CWM backup of my phone (it was on version 4.2.2) and then formatted it and installed version 4.4.4. In this process the internal SDcard got wiped, including all the WhatsApp media files. But I believe those should be in the CWM backup. Hence wanted to know where in the back folders would I find the WhatsApp media files.
Sorry to say bro but u cant.
As cwm or twrp dnt backup your sd card data. Excluding android folder..
Press thanks Button
Sent From RR for I9082

TWRP can't recognize backup folder name

My phone is GT-N7105 (Samsung Note 2)
=============SHORT STORY=============
TWRP can't recognize my backup folder name which I am trying to restore
=====================================
=============LONG STORY=============
I had a nandroid backup before, then I copied the backup to PC, still have it. Then I flashed lineage 13. I deleted the nandroid backup on the phone storage. Now I want to restore the backup so I copied the backup files from the PC.
Now when I go to TWRP Restore mode, no backups are found.
I already searched through the internet and found the renaming method but there's a problem:
this is my original backup:
TWRP/backups/42f7491d7b409fc7/2017-03-01--05-28-34_JZO54K.N7105XXDMB
I tried to make a new backup of my current lineage (just to see if the folder name changed based on the new folder the backup process will create), here is what the resulting folder was:
TWRP/backups/42f7491d7b409fc7/2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
As you can see, only the innermost folder name changed. So from what I found through searching, it said to rename the old backup folder to the new backup folder's name, meaning :
I changed
2017-03-01--05-28-34_JZO54K.N7105XXDMB
to
2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
TWRP still can't see the original backup.
So what should I rename the original backup folder for TWRP to recognize it and make it appear?
EDIT:
I already updated my TWRP but problem still exists.
Create a new backup with your current rom, then remove it and add the old one instead.
futchy4u said:
Create a new backup with your current rom, then remove it and add the old one instead.
Click to expand...
Click to collapse
Sorry not really a developer type of guy and I regret tinkering with these stuff on my phone.
What you meant was to make a backup with current rom just to get the folder name that TWRP will recognize and then swap the old stock backup into the folder?
If I just rename the stock backup folder name to 2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c it's the same as what you said right?
and it should still run smoothly (stock rom should be restored without errors)?
Sorry just asking out of caution.
It's ok, we're all helping each others here. And we all had lots of mistakes and we still do.
Anyways, yes renaming it could do the trick but you don't need to rename the backup name directly. Instead, you need to rename the folder containing the backup.
TWRP path is going to be similar to that
/TWRP/BACKUPS/4d00475b004150de/2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
Click to expand...
Click to collapse
All you need to get is that folder name "4d00475b004150de" because it's auto generated by twrp, that's why I asked you to create another backup even if you just backed up your boot file to generate the folder.
Once you did the backup you can then move your old backup to that folder or rename that old similar folder to the newly created one (not the rom backup folder itself).
sgn15 said:
Sorry not really a developer type of guy and I regret tinkering with these stuff on my phone.
What you meant was to make a backup with current rom just to get the folder name that TWRP will recognize and then swap the old stock backup into the folder?
If I just rename the stock backup folder name to 2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c it's the same as what you said right?
and it should still run smoothly (stock rom should be restored without errors)?
Sorry just asking out of caution.
Click to expand...
Click to collapse
futchy4u said:
It's ok, we're all helping each others here. And we all had lots of mistakes and we still do.
Anyways, yes renaming it could do the trick but you don't need to rename the backup name directly. Instead, you need to rename the folder containing the backup.
TWRP path is going to be similar to that
All you need to get is that folder name "4d00475b004150de" because it's auto generated by twrp, that's why I asked you to create another backup even if you just backed up your boot file to generate the folder.
Once you did the backup you can then move your old backup to that folder or rename that old similar folder to the newly created one (not the rom backup folder itself).
Click to expand...
Click to collapse
Oh, the folder name code you're referring to was 42f7491d7b409fc7 for me. Thanks. I tried it and everything worked (done restoring and it looks like everything is working so far). Thanks a lot again!
To moderators, this topic's problem is solved. Not sure if the topic needs to be locked after being solved, but yeah just a heads up. Not very active here.
Cheers.
sgn15 said:
Oh, the folder name code you're referring to was 42f7491d7b409fc7 for me. Thanks. I tried it and everything worked (done restoring and it looks like everything is working so far). Thanks a lot again!
To moderators, this topic's problem is solved. Not sure if the topic needs to be locked after being solved, but yeah just a heads up. Not very active here.
Cheers.
Click to expand...
Click to collapse
You're welcome. I think it's ok to be left here so that it could help others.

Categories

Resources