How to restore EFS backup in IMG file format? - Lenovo ZUK Z2 (Plus) Questions & Answers

Hi, I just flashed AICP and found that the VoLTE is missing. I've an EFS partition backup taken with TWRP earlier. But that file is an IMG file. When I try to restore that IMG file using TWRP it asks for the correct partition to restore. All I can see are:
Boot
Recovery
System image
Vendor image
Firmware (image)
Splash
Could someone please say to which partition should I restore it?

niyonsv said:
Hi, I just flashed AICP and found that the VoLTE is missing. I've an EFS partition backup taken with TWRP earlier. But that file is an IMG file. When I try to restore that IMG file using TWRP it asks for the correct partition to restore. All I can see are:
Boot
Recovery
System image
Vendor image
Firmware (image)
Splash
Could someone please say to which partition should I restore it?
Click to expand...
Click to collapse
Your efs backup should be named something like efs.emmc.win

Samirmathakiya said:
Your efs backup should be named something like efs.emmc.win
Click to expand...
Click to collapse
Nope, the file name is efs_backup.img . How to restore it?

Could someone please help? I found tutorials only to backup EFS partition using TWRP. Didn't find any for restoration. At least someone please post the link to it? Googling didn't give any results.

I've already asked this on XDA before, but no one replied me. Here's the link: https://forum.xda-developers.com/le...te-problems-custom-roms-t3744291/post77703907
If the EFS in IMG file format can't be restored then what's the point of backing up the EFS using TWRP? I always QPST the ZUI ROM whenever I switch to a different ROM. This time I don't have my PC with me, that's why I'm asking this. If we can't restore this using TWRP then at least please confirm it. Then I will wait until I get my PC.

niyonsv said:
I've already asked this on XDA before, but no one replied me. Here's the link: https://forum.xda-developers.com/le...te-problems-custom-roms-t3744291/post77703907
If the EFS in IMG file format can't be restored then what's the point of backing up the EFS using TWRP? I always QPST the ZUI ROM whenever I switch to a different ROM. This time I don't have my PC with me, that's why I'm asking this. If we can't restore this using TWRP then at least please confirm it. Then I will wait until I get my PC.
Click to expand...
Click to collapse
Efs Backup created through twrp contains .win format and you can recover only if it's in that format. Or if you are damn sure that you have created backup through twrp then find that version of twrp and then try to restore.

You dont have to flash the file, you have to restore it using twrp
Make a backup of your current efs through twrp
You will find it in the internal memory in twrp folder
Go into the folder, keep going in till you find the img file of your current backup, replace it with the previous backup.
Then boot into twrp md go into restore, you will find the option to restore the efs partition

Related

CWM Nandroid Backup

I;m using CWM for nandriod backups. I can not see where the backups are located when looking for them when the phone is connected to my computer. Does anyone know where the backups are located? What folder?
In /data/media/clockworkmod/backups
Just verifying, are you able to get a proper full backup using Nandroid?
When I tried, it couldn't backup the /recovery , see http://forum.xda-developers.com/showpost.php?p=45698409&postcount=179 .
As far as I know the Xperia ZL is not fully supported in Nandroid, the developer even asked me for the device's tech specs:
Information about your device is rare on the internet. Would you be able to direct me to a place where I can obtain information about partition layout for that device? A scatter file, PIT file, a link to any github repos for your device, or recovery.fstab from recovery ramdisk would be just fine.
Click to expand...
Click to collapse

[Q] How to restore backup nandroid upload as zip from Clockworkmod?

Hi,
Yesterday I made a new nandroid backup and uploaded it using clockworkmod, which created an zip file, my problem is, how upload it to android to restore again using clockworkmod?
Thanks in advanced
There should be an option to restore and let you choose the backup under "Backup and Restore" in recovery.
Sent from my Galaxy Nexus using Tapatalk
sklks said:
Hi,
Yesterday I made a new nandroid backup and uploaded it using clockworkmod, which created an zip file, my problem is, how upload it to android to restore again using clockworkmod?
Thanks in advanced
Click to expand...
Click to collapse
You made a nandroid while in custom recovery right ? The confusing part is you say then you uploaded it . If its on your phone then it should be in your clockworkmod backup directory .
SuperGoober said:
You made a nandroid while in custom recovery right ? The confusing part is you say then you uploaded it . If its on your phone then it should be in your clockworkmod backup directory .
Click to expand...
Click to collapse
The problem was, I made an nandroid backup and uploaded it to my computer, and to save space deleted from my GNex. I installed a new rom (4.4) and because I didn't like it wanted to return to my backup. I couldn't find a way to upload it to my GNex using Rom Manager/Clockworkmod Recovery, then I tried to copy to "sdcard" then to /mnt/shell/emulated/clockworkmod/backup, but using root explorer applications I couldn't, finally I used an terminal application to move/copy using comand lines as su/sudo (can't remember which), after this I finally restore the backup.
What's strange is, with Rom Manager I can upload the backup to my computer using http://192.168.43.1:4000, has an zip file, but to restore from my computer to GNex there isnt any option, either to extract the folder with date and time to the correct folder, in this case /mnt/shell/emulated/clockworkmod/backup.
that sound like u already wipe data partition.. just make any fake flash zip to mount up the partition.
then restore the recovery from your sd (if any)..
or can push that recovery data...
1. using correct path - /data/media/0/twrp/backup/folder_name.. or any ( can found this path in nandroid recovery log)
galaxy nexus i9250

[Q] Bricked HTC One M8 - No OS Installed

Hi there - i am completely new to this so please excuse my ignorance. I rooted my phone and due to some Apps not working that I really needed, I tried to unroot to get back to where I was to start with.
I have now found myself in the awful position of my device having no OS installed and no matter what threads I have followed, I cannot get any ROM to install.
What I have is:
Unlocked Bootloader
TWRP installed
S-On
HBOOT 3.16.0.0000
I think I have the right ROM for my device (Vodap001) and i have tried using sideloading and ADB push but none of these work.
Can anyone please help me to get back to a stock ROM
Did you try to sideload a full ROM, or a backup? Asking as backups can't be installed using sideload. If tried to sideload a full ROM, what exactly happened?
You could just sideload any full sense ROM, the place the TWRP Backup for you version into the TWRP Backup folder on your phone and run a restore.
Sent from my HTC One_M8 using XDA Free mobile app
HTCNerdYoda said:
Did you try to sideload a full ROM, or a backup? Asking as backups can't be installed using sideload. If tried to sideload a full ROM, what exactly happened?
You could just sideload any full sense ROM, the place the TWRP Backup for you version into the TWRP Backup folder on your phone and run a restore.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Hi, thanks for the reply. I tried to sideload a stock nandroid backup from one of the links. Is this not correct?
Sorry- quite new to this!
Where would I find a full ROM from?
drc_1975 said:
Hi, thanks for the reply. I tried to sideload a stock nandroid backup from one of the links. Is this not correct?
Sorry- quite new to this!
Where would I find a full ROM from?
Click to expand...
Click to collapse
see my sig mate
exocetdj said:
see my sig mate
Click to expand...
Click to collapse
Hi exocetdj
I've followed these instructions but I get a 'failed' message.
Here is the string:
E:Unable to open zip file.
Error flashing zip '/external_sd/TWRP/Backups/rom.zip'
Updating partition details...
Does this mean the zip file is corrupt or something?
I have taken this from one of the Stock nandroid backups here http://forum.xda-developers.com/showthread.php?t=2701376
drc_1975 said:
Hi exocetdj
I've followed these instructions but I get a 'failed' message.
Here is the string:
E:Unable to open zip file.
Error flashing zip '/external_sd/TWRP/Backups/rom.zip'
Updating partition details...
Does this mean the zip file is corrupt or something?
I have taken this from one of the Stock nandroid backups here http://forum.xda-developers.com/showthread.php?t=2701376
Click to expand...
Click to collapse
Put it in root directory of external sd card.
That apart, I saw that some .zip files doesn't open properly at all but keeps on throwing errors even if you try to open it on a PC. If you have 7zip try and extract the .zip file and use 7zip to make it a .zip file again.
On a side note, are you trying to flash a backup again instead of a ROM? Just because you download a backup and rename it ROM.zip doesn't make it a ROM anymore than taking a baseball bat and naming it a soccer ball makes it a "soccer ball"
Download any stock ROM from Android Development ROM Repository. You could also just download a custom ROM quickly, flash the ROM. When that's done go into recovery and restore the nandroid backup for your device.
drc_1975 said:
Hi exocetdj
I've followed these instructions but I get a 'failed' message.
Here is the string:
E:Unable to open zip file.
Error flashing zip '/external_sd/TWRP/Backups/rom.zip'
Updating partition details...
Does this mean the zip file is corrupt or something?
I have taken this from one of the Stock nandroid backups here http://forum.xda-developers.com/showthread.php?t=2701376
Click to expand...
Click to collapse
Zip file is not corrupted ... the way you do it totally wrong.
Stock nandroid backup is NOT a ROM.zip
See this on how to use a nandroid backup in proper way (replace the numbers with the one that you downloaded) : http://forum.xda-developers.com/showpost.php?p=55316046&postcount=1894
HTCNerdYoda said:
Did you try to sideload a full ROM, or a backup? Asking as backups can't be installed using sideload. If tried to sideload a full ROM, what exactly happened?
You could just sideload any full sense ROM, the place the TWRP Backup for you version into the TWRP Backup folder on your phone and run a restore.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
same with my phone no OS..but i have in internal storage TWRP restore 2014-09-04--12-57-49 KOT49H release-keys,what to do?
shengaurhen said:
same with my phone no OS..but i have in internal storage TWRP restore 2014-09-04--12-57-49 KOT49H release-keys,what to do?
Click to expand...
Click to collapse
If you just wiped the system partition you can got into TWRP, choose Restore and using this menu restore your OS that you have backed up and on your internal storage.
Hi, I'm still not having any luck with trying to get an OS back on my HTC One M8.
I've followed the advice and done the following:
1. I have extracted a nandroid stock backup, put this into the TWRP\backup folder and attempted to restore this from TWRP. This appears to do everything, i get no errors and looks great until I swipe to reboot and i get the mesage stating No OS Installed. Am I wrong in thinking this shoudl restore the OS?
2. I have downloaded ViperOneM8_2.4.0 and put this zip file in the root of my SD Card. I have then used the Install menu in TWRP, selected the .zip file and I still get the message E:Unable to open zip file. I have checked using 7Z and the file appears in tact and not corrupt.
can someone give me an idiots guide of how to get out of this mess I have created?
Thanks

TWRP: No partitions selected for restore

Hi!
i kinda messed up my phone a little after trying to upgrade my firmware. I must have flashed the wrong one.
Fortunately i can get into the bootloader, recovery and even start a custom rom.
Unfortunately some things are broken there:
-BT not working
-cant install any apps from store
-some other things
now i tried to reset my phone to complete stock using a nandroid backup from the forum
i dragged it on my phone, twrp sees it and when i try to install it i cant choose the partitions to restore.
When i swipe it i get the Error:
E: no partitions selected for restore
i made a nandroid backup of my broken rom and i can flash this without any problems
maybe im trying to use the wrong nandroid? i tried several but i always get that message. What came to my mind is that there are some files missing in the nandroid backups i downloaded. its about all the 0byte .tar files. Are these interchangeable so i can just try to use copy the ones i have to the nandroid backup i want to install?
Can someone please tell me which nandroid backup i should get?
CID: VODAP102
version bootloader: 3.16.0.000
version baseband: 1.16.2133156.VA15G
S-ON
i only get empty text when using: fastboot getvar version-main
Please help me!!
kiark
kiark said:
Hi!
i kinda messed up my phone a little after trying to upgrade my firmware. I must have flashed the wrong one.
Fortunately i can get into the bootloader, recovery and even start a custom rom.
Unfortunately some things are broken there:
-BT not working
-cant install any apps from store
-some other things
now i tried to reset my phone to complete stock using a nandroid backup from the forum
i dragged it on my phone, twrp sees it and when i try to install it i cant choose the partitions to restore.
When i swipe it i get the Error:
E: no partitions selected for restore
i made a nandroid backup of my broken rom and i can flash this without any problems
maybe im trying to use the wrong nandroid? i tried several but i always get that message. What came to my mind is that there are some files missing in the nandroid backups i downloaded. its about all the 0byte .tar files. Are these interchangeable so i can just try to use copy the ones i have to the nandroid backup i want to install?
Can someone please tell me which nandroid backup i should get?
CID: VODAP102
version bootloader: 3.16.0.000
version baseband: 1.16.2133156.VA15G
S-ON
i only get empty text when using: fastboot getvar version-main
Please help me!!
kiark
Click to expand...
Click to collapse
The bootloader 3.16 indicates your phone is on 1.12 or 1.54 software
any of these should work for VODAP102
http://www.androidfilehost.com/?fid=23329332407590589
MD5: 2feda594532c887c9ee7844d37cd82f3
https://mega.co.nz/#!alZBDLLa!Dr7FtoL55aWNKjT1mNt4zNYZW1OK4OdzKoZ0F6_Soks
https://mega.co.nz/#!xRQ2BA4C!CMuEs0yX-c-gyKEoWbZZ2GtQdw8mpwqgDSf9RFDWRak
I would try the first one first and be sure and check the MD5 of the files you download. It may also be worth your time to update to the latest version of TWRP
Hi!
thanks for the help.
i tried the suggested nandroid, but now im stuck on the: "E: no partitions selected for restore" error
there isnt any showing up somehow.
kiark
kiark said:
Hi!
thanks for the help.
i tried the suggested nandroid, but now im stuck on the: "E: no partitions selected for restore" error
there isnt any showing up somehow.
kiark
Click to expand...
Click to collapse
where are you putting the extradited files ?
they go in TWRP/BACKUPS/YourSerialnumber/nandroidyoudownloaded
in TWRP you can chang where it looks for the backup by simply click the word internel storage xxxxxmb or external sd xxxxxmb or usb_otg xxxxxmb
just choose where you put the nandroid you downloaded
Hi,
thanks for all the help, i feel stupid now - i had a folder too much in the recovery folder :/
now everything seems to work properly and im also on the right firmware
thanks again!
kiark
Hi Guys,
I found this thread and post my problem here cause I have the exact same problem.
I made an backup with the "online nandroid backup" app ant want to restore it with TWRP.
I put the folder in TWRP\backups\myserial\ and it is available in the restore menu in TWRP. But when I try to use it the message is shown!
What can I do? Do I have to flash CWM to use my backup?
goldani said:
Hi Guys,
I found this thread and post my problem here cause I have the exact same problem.
I made an backup with the "online nandroid backup" app ant want to restore it with TWRP.
I put the folder in TWRP\backups\myserial\ and it is available in the restore menu in TWRP. But when I try to use it the message is shown!
What can I do? Do I have to flash CWM to use my backup?
Click to expand...
Click to collapse
same problem here
hi @all i solved this problem ...I hope it will be helpful......
the backup must be in only one folder!!!! ex: twrp:\backups\myserial\here put the folder with the file in it...not a folder and subfolder
sarumans said:
hi @all i solved this problem ...I hope it will be helpful......
the backup must be in only one folder!!!! ex: twrp:\backups\myserial\here put the folder with the file in it...not a folder and subfolder
Click to expand...
Click to collapse
Hey, I have the same issue, a folder with a subfolder, but I'm not sure how to fix the problem...any help?
---------- Post added at 07:22 PM ---------- Previous post was at 07:04 PM ----------
Never mind, got it sorted. It always feels better when you work at it and figure it out yourself. Thanx sarumans for the point in the right direction.
nysfinest318 said:
Hey, I have the same issue, a folder with a subfolder, but I'm not sure how to fix the problem...any help?
---------- Post added at 07:22 PM ---------- Previous post was at 07:04 PM ----------
Never mind, got it sorted. It always feels better when you work at it and figure it out yourself. Thanx sarumans for the point in the right direction.
Click to expand...
Click to collapse
you have to copy only the subfolder in the twrp - backup folder.....
I am happy to have been helpful
htc sensation xe one
Hello, ive the same problem. I did factory data reset and while reseting, phone lagged i waited 20 minutes but nothing changed so i unplugged battery and now phone boots only in bootloader and fastboot TWRP, when i want to restore files from my back up it sais no partition selected for restore please help!
sandrex50 said:
Hello, ive the same problem. I did factory data reset and while reseting, phone lagged i waited 20 minutes but nothing changed so i unplugged battery and now phone boots only in bootloader and fastboot TWRP, when i want to restore files from my back up it sais no partition selected for restore please help!
Click to expand...
Click to collapse
After selected the desired backup folder to restore, did you actually "check" the boxes for the partitions (Boot, System, Data) you want to restore (before you do Swipe to Restore)?
there is actually no box like this or i just look in the wrong place. To do restore i go to bootloader then recovery, restore and i just select the backup folder i dont know where schould i check that boxes.
sandrex50 said:
there is actually no box like this or i just look in the wrong place. To do restore i go to bootloader then recovery, restore and i just select the backup folder i dont know where schould i check that boxes.
Click to expand...
Click to collapse
That TWRP version?
Probably can't help any further, since I am know seeing you have a phone that is pretty old. This forum section is specific to the M8.
clsA said:
where are you putting the extradited files ?
they go in TWRP/BACKUPS/YourSerialnumber/nandroidyoudownloaded
in TWRP you can chang where it looks for the backup by simply click the word internel storage xxxxxmb or external sd xxxxxmb or usb_otg xxxxxmb
just choose where you put the nandroid you downloaded
Click to expand...
Click to collapse
YOU my friend are an absolulte BEEEEEEEEAUTY!!!!
Everywhere that I checked other than here, simply stated that the backup file had to be in the BACKUP folder.
After two days of failure with multiple attempts to install different roms for my S4 (I know, wrong thread) I resorted to the 'Restore' option. I was losing my mind until I found this post of yours. That 'YourSerialNumber' step is crucial.
MUCH respect.
Pottertons said:
YOU my friend are an absolulte BEEEEEEEEAUTY!!!!
Everywhere that I checked other than here, simply stated that the backup file had to be in the BACKUP folder.
After two days of failure with multiple attempts to install different roms for my S4 (I know, wrong thread) I resorted to the 'Restore' option. I was losing my mind until I found this post of yours. That 'YourSerialNumber' step is crucial.
MUCH respect.
Click to expand...
Click to collapse
Easy and useful trick, is to use TWRP to make a backup. For instance, go into TWRP, select Backup, check Boot partition only (assuming your device has that - I don't know much about the S4), which is probably just 10-20 Mb.
TWRP will construct the proper folder structure to save the Boot backup. You can then copy the downloaded nandroid to the same location.
You can put several backup folders in twrp:\backups\myserial\backup1, backup2
But remember (no sub-folders)
**backup1 and backup2 are two different backups. You can also rename folders for your ease but you can't rename (myserial folder) otherwise it will disappear.
w69 said:
You can put several backup folders in twrp:\backups\myserial\backup1, backup2
But remember (no sub-folders)
**backup1 and backup2 are two different backups. You can also rename folders for your ease but you can't rename (myserial folder) otherwise it will disappear.
Click to expand...
Click to collapse
Useful info. I personally like to rename the backup folders (after TWRP generates the backup) with details about the ROM, date, etc. such as: "Stock Rooted Magisk (2-2-18)".
I know TWRP auto creates a file name, with the date and time of when the backup is made. But I still like to change the date format to something that is easier for me to understand. Plus some details on what exactly the backup contains (rooted or not, stock or custom ROM, etc.).
Can anyone help pls ..i have the same problem .Kindly show the right way pls
jc1266 said:
Can anyone help pls ..i have the same problem .Kindly show the right way pls
Click to expand...
Click to collapse
Sure.
TWRP -> BACKUP -> choose BOOT only -> execute
now check where the image was saved eg: ext: /TWRP/BACUPS/XXXXXXXXXX/DATA.../files
now delete what is in the XXXXXXXXXX folder and move your folders there from the path / TWRP / BACKUPS / YYYYYYYYYYY /
this is because it was re-uploaded TWRP and now have a different backup path (folder XXXXXXXXXX)

HELP, from cm11 to stock rom

Can anyone help step by step ? Installed cm11 and twrp 2.8.1.0.
grazhve said:
Can anyone help step by step ? Installed cm11 and twrp 2.8.1.0.
Click to expand...
Click to collapse
easiest solution is to restore from some one else his backup. It won't be fully stock since you still have TWRP recovery.
You can download a backup from here and here. I recommend b635 but it is your choice.
First make a full backup of your phone. Boot in twrp go to backup and swipe to backup.
Then in twrp mount your phone as usb.
Exract the downloaded .zip file. Then put that downloaded folder on sd card. Not the entire folder, but just the last folder.
Should look like this on your sd card: twrp>BACKUPS>022JBW7N3A017892(can be different folder name)>name of downloaded folder>11 different .win and .md5 files
then in twrp choose restore and select the one you want to restore to. One is your cm11 backup (you made yourself) and the other is the downloaded backup
Sorry if it is not clear enough. If you still have problems please tell me. :good:
Thanks its clear, my biggest problem was. which restore version download

Categories

Resources