EFS Backup - Nexus 6P Q&A, Help & Troubleshooting

How are we backing up EFS? TWRP? Some other app?

You don't need to backup efs,
Sent from my Nexus 6P using Tapatalk

but yes you can back it up with twrp

Have things changed from the Nexus 5 days? I recall the recommendation with the N5 was to make an EFS backup in case of IMEI problems. Different now on the N6P?

I do it no matter what but didn't have a problem with corrupted EFS until OnePlus One.
During flashing to stock on OPO, EFS got messed up. Luckily I had a EFS backup handy so I flashed it back and my phone was good to go again. I tried restoring EFS backup I made in TWRP but it did no good. Since I always make backup using terminal (which gives you two files). I restored the two files to get working EFS and IMEI back.
However on N6P, I couldn't use the same method. Either the EFS partition is different than before or there was something else since I got "permission denied" error. I am also looking for method to backup EFS before its messed up.

Looks like a poor soul already ran into a corrupted EFS
http://forum.xda-developers.com/nexus-6p/help/efs-corrupted-stock-unrooted-t3236513

Should be fine for him to refresh stock, efs was only an issue on Samsung devices because they were stupid enough to have the entire part in an area that could be wiped, no other manufacturers do or did that. I found out first hand with the Nexus s, but the 5 and so on were fine if you just refreshed the system image
Sent from my Nexus 6P using Tapatalk

enaybee above says he had problems on a 1+1 too. I don't plan on restoring EFS ever, but I'd still like to take a backup if possible, just in case. I just don't know what's reliable, I know TWRP has an option and I used it on my old N5 but who knows if you can actually restore from it should you ever need to.

italia0101 said:
You don't need to backup efs,
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Why on earth would you say that? An EFS backup should be made on any device where it is possible.

Heisenberg said:
Why on earth would you say that? An EFS backup should be made on any device where it is possible.
Click to expand...
Click to collapse
Read my second post.
Sent from my Nexus 6P using Tapatalk

italia0101 said:
Read my second post.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It isn't a matter of the EFS partition being wiped, it's a matter of it becoming corrupt, which can happen randomly. You shouldn't be giving advice like this if you don't fully understand the situation.

Heisenberg said:
It isn't a matter of the EFS partition being wiped, it's a matter of it becoming corrupt, which can happen randomly. You shouldn't be giving advice like this if you don't fully understand the situation.
Click to expand...
Click to collapse
OK fella. Had all the Nexus devices since the S, but OK, can't be bothered to argue with you. Have a nice day
Sent from my Nexus 6P using Tapatalk

How do we backup efs on the 6p?

nyjumpman said:
How do we backup efs on the 6p?
Click to expand...
Click to collapse
You can use TWRP to back it up, I have instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

Heisenberg said:
You can use TWRP to back it up, I have instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
I hope a restore works, but I'm not brave enough to try it. There's a report above that a restore in TWRP didn't work on a 1+1 phone. Still good to have this TWRP backup, until we learn more.

Heisenberg said:
You can use TWRP to back it up, I have instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
Hmm, twrp says it cant mount storage
Do I need to be decrypted to do this?

nyjumpman said:
Hmm, twrp says it cant mount storage
Do I need to be decrypted to do this?
Click to expand...
Click to collapse
No, you just need the latest TWRP 2.8.7.2 it can decrypt fine. If you have this version, does it not prompt you to enter a pin/password?

sirxdroid said:
No, you just need the latest TWRP 2.8.7.2 it can decrypt fine. If you have this version, does it not prompt you to enter a pin/password?
Click to expand...
Click to collapse
Oooh, it does, I was just hitting cancel
Thanks so much, entered my pin to decrypt and efs backed up without a hitch
Now to just pray I never have to use it!!

nyjumpman said:
Oooh, it does, I was just hitting cancel
Thanks so much, entered my pin to decrypt and efs backed up without a hitch
Now to just pray I never have to use it!!
Click to expand...
Click to collapse
I suggest making a copy of that backup to your computer or dropbox, gdrive, not just on the phone. The sdcard may end up wiped by accident when you play with TWRP, etc.

sirxdroid said:
I suggest making a copy of that backup to your computer or dropbox, gdrive, not just on the phone. The sdcard may end up wiped by accident when you play with TWRP, etc.
Click to expand...
Click to collapse
This is advice to live by, make a backup of your backup!

Related

TWRP Nandroid?

On TWRP Nandroid Backup there are 7 options that can be backed up: Boot,System,Data,Cache,Recovery,EFS and Preload. The 1st 3 are always checked but I was wondering which of the other 4 options do most people check when doing a Nandriod?
Thanks
Boot,System,Data,
that is ALL
You might want to backup efs once just in case you lose it down the road. But I've never had to use it
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
That is a given, but is it not needed every backup. backup efs for sure once, and put it in a safe place.
Thanks for input guys. So it it just makes the Nandroid a bigger file with all checked but not really necessary.
RonH54 said:
Thanks for input guys
Click to expand...
Click to collapse
Thanks button would be nice
I made two Nandroids after rooting; 1st being Boot+System+Data and 2nd just EFS alone

[Q] Help! I deleted twrp backup

I accidently deleted my twrp backup while I was flashing a rom and is there anyway to recover my twrp backup because its very important
No.
Sent from my Nexus 4 using Tapatalk
Another answer than no,I think there some ways to restore data on android
xmagiicsx said:
Another answer than no,I think there some ways to restore data on android
Click to expand...
Click to collapse
no, youre not restoring it. might as well take it out of your head. if it was a photo, or a small file, id say you had a chance. not a file as large as a nandroid, sorry.

No efs backup option in twrp?

After reading that i should definitely have a efs back up i read that twrp has option built in so i booted into twrp (2.6.3.3) went into backup option and its not there. Im currently running just rooted stock vs980,any help? Can i use the option that is in freegee app?
ANTLAY said:
After reading that i should definitely have a efs back up i read that twrp has option built in so i booted into twrp (2.6.3.3) went into backup option and its not there. Im currently running just rooted stock vs980,any help? Can i use the option that is in freegee app?
Click to expand...
Click to collapse
Never heard of it being in twrp but yes, you can use the freegee app.
Sent from my magic box.
GlitchedSoul said:
Never heard of it being in twrp but yes, you can use the freegee app.
Sent from my magic box.
Click to expand...
Click to collapse
Read that it is in twrp since 2.6.3.2 or something like that, if i use freegee and something happens i just restore efs through the app too?
ANTLAY said:
Read that it is in twrp since 2.6.3.2 or something like that, if i use freegee and something happens i just restore efs through the app too?
Click to expand...
Click to collapse
Yep, just go back into the app and restore. Shouldn't need to ever restore but always backup in case something happens.
Sent from my magic box.
GlitchedSoul said:
Yep, just go back into the app and restore. Shouldn't need to ever restore but always backup in case something happens.
Sent from my magic box.
Click to expand...
Click to collapse
Ok thanks, im coming straight from a gnex and had no idea about a efs backup till today so im trying to make sure i got everything inline incase the poo hits the fan
Little more help..when are efs backups needed,after each rom flash? Or just once?

Install OTA update on rooted phone with TWRP without wiping data

Hello, I have rooted and installed TWRP in my nexus 6p and now I have received the OTA update but I can't install it. How can I install it without losing my data?
Thanks
Sent from my Nexus 6P using XDA Free mobile app
airmark said:
Hello, I have rooted and installed TWRP in my nexus 6p and now I have received the OTA update but I can't install it. How can I install it without losing my data?
Thanks
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
Unfortunately you cant :/
Download TiBu that is the closest you can get...
If you download a custom rom that keeps it up to date, they will probably include the update and you can just flash over it. but stock rom there isnt much u can do.
airmark said:
Hello, I have rooted and installed TWRP in my nexus 6p and now I have received the OTA update but I can't install it. How can I install it without losing my data?
Thanks
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
Download the Google factory image for the 6p. Use fastboot to manually flash the system.img, boot.IMG, and recovery.IMG. take the ota then reroot.
Sent from my Nexus 6P using Tapatalk
airmark said:
Hello, I have rooted and installed TWRP in my nexus 6p and now I have received the OTA update but I can't install it. How can I install it without losing my data?
Thanks
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
Go to guide, instructions there:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
raul4916 said:
Unfortunately you cant :/
Download TiBu that is the closest you can get...
If you download a custom rom that keeps it up to date, they will probably include the update and you can just flash over it. but stock rom there isnt much u can do.
Click to expand...
Click to collapse
Yes you can.
I did that and after rebooting I got a message saying:
Encryption unsuccessful
and prompting me to do a factory reset!
please don't tell me i have to wipe data!? quick googling doesn't seem promising...
airmark said:
I did that and after rebooting I got a message saying:
Encryption unsuccessful
and prompting me to do a factory reset!
Click to expand...
Click to collapse
airmark said:
please don't tell me i have to wipe data!? quick googling doesn't seem promising...
Click to expand...
Click to collapse
What did you do?
airmark said:
please don't tell me i have to wipe data!? quick googling doesn't seem promising...
Click to expand...
Click to collapse
Trying to undo the last steps by flashing back the modified boot.img and TWRP.
Booting into TWRP and it asks for a password to decrypt storage!!!
Is wiping the only option??
I followed the guide religiously. What went wrong?
Heisenberg said:
What did you do?
Click to expand...
Click to collapse
I followed the guide (part 10. How To Take An OTA Update If You Have Root).
Then after rebooting (before installing the OTA that is) I got a message saying encryption unsuccessful and I needed to wipe my phone. I turned it off instead and tried to restore it as it was before. Screw the OTA, I just need my phone back. I flashed back boot and recovery, is system.img or vendor.img the culprit?
Any ideas? Do I need to wipe data?
airmark said:
Trying to undo the last steps by flashing back the modified boot.img and TWRP.
Booting into TWRP and it asks for a password to decrypt storage!!!
Is wiping the only option??
I followed the guide religiously. What went wrong?
Click to expand...
Click to collapse
airmark said:
I followed the guide (part 10. How To Take An OTA Update If You Have Root).
Then after rebooting (before installing the OTA that is) I got a message saying encryption unsuccessful and I needed to wipe my phone. I turned it off instead and tried to restore it as it was before. Screw the OTA, I just need my phone back. I flashed back boot and recovery, is system.img or vendor.img the culprit?
Click to expand...
Click to collapse
I really don't know what went wrong here, other people have done this with no issues. In TWRP it should be able to decrypt as long as you enter the password/pin.
Heisenberg said:
I really don't know what went wrong here, other people have done this with no issues. In TWRP it should be able to decrypt as long as you enter the password/pin.
Click to expand...
Click to collapse
I had a screen lock pattern, I entered the numbers that correspond to it (from what I read somewhere else, like a num keypad), no joy.
But then again, shouldn't actual booting into the system work as well? Why give this error msg?
I'm going to format then...
unless your super comfortable with ADB and fastboot, flashing things through them is never a good idea, you will screw up allot of the time. its always easier for the average user to wait for a ota zip and flash that. Or never root and accept otas.
Im not saying never use adb, just dont use it when its super important to keep your data
TheAtheistOtaku said:
unless your super comfortable with ADB and fastboot, flashing things through them is never a good idea, you will screw up allot of the time. its always easier for the average user to wait for a ota zip and flash that. Or never root and accept otas.
Im not saying never use adb, just dont use it when its super important to keep your data
Click to expand...
Click to collapse
The only problem with that is even when an OTA zip is available you'd need to use fastboot to flash system etc to remove root anyway.
So I formatted, then set it up, then tried restoring my latest nandroid backup and now it doesn't recognise the pattern lock!
Heisenberg said:
The only problem with that is even when an OTA zip is available you'd need to use fastboot to flash system etc to remove root anyway.
Click to expand...
Click to collapse
i meant a TWRP zip. unless im misunderstanding something, you can just flash those over your current rooted stock and be on your way
---------- Post added at 07:50 PM ---------- Previous post was at 07:47 PM ----------
airmark said:
So I formatted, then set it up, then tried restoring my latest nandroid backup and now it doesn't recognise the pattern lock!
Click to expand...
Click to collapse
known problem, read this
Thanks for that, although at first after reading the first few posts I thought there was no solution, luckily I kept reading until here: http://forum.xda-developers.com/showpost.php?p=63797741&postcount=34
I did that and it worked! so at least I got back my working phone. Back to square one (almost, I lost all my local copies of photos, with only cloud backup for the last 2 weeks or so) with no OTA installed. I may try it again at some other point or wait for a more safe method.
airmark said:
Thanks for that, although at first after reading the first few posts I thought there was no solution, luckily I kept reading until here: http://forum.xda-developers.com/showpost.php?p=63797741&postcount=34
I did that and it worked! so at least I got back my working phone. Back to square one (almost, I lost all my local copies of photos, with only cloud backup for the last 2 weeks or so) with no OTA installed. I may try it again at some other point or wait for a more safe method.
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6p/development/rom-nexus6p-stock-roms-t3234067
TheAtheistOtaku said:
http://forum.xda-developers.com/nexus-6p/development/rom-nexus6p-stock-roms-t3234067
Click to expand...
Click to collapse
Thanks, I've just overcome the trauma and gathered the courage needed to give it another go today
So, do I have this right? If I download and flash build MDA89D ROM will it upgrade in place over my currently installed build MDB08K without losing my data? (I asked in that thread as well)
Sent from my Nexus 6P using XDA Free mobile app

g935f and Titanium Backup

I have root and am trying to restore backups I made from Nexus 6p. Every time I try to restore I get a restore "## elements failed." Really looking for some guidance.
Thanks
gadget069 said:
I have root and am trying to restore backups I made from Nexus 6p. Every time I try to restore I get a restore "## elements failed." Really looking for some guidance.
Thanks
Click to expand...
Click to collapse
That's odd. Internal or external storage?
Sent from my Star-Tac
gadget069 said:
I have root and am trying to restore backups I made from Nexus 6p. Every time I try to restore I get a restore "## elements failed." Really looking for some guidance.
Thanks
Click to expand...
Click to collapse
Noticed this too.... Think it has to do with latest Tb update.... I cleared cache for the app... and then uninstalled and installed granted root and then it worked...
gadget069 said:
I have root and am trying to restore backups I made from Nexus 6p. Every time I try to restore I get a restore "## elements failed." Really looking for some guidance.
Thanks
Click to expand...
Click to collapse
This happens for both storage places.
Kjc99 said:
Noticed this too.... Think it has to do with latest Tb update.... I cleared cache for the app... and then uninstalled and installed granted root and then it worked...
Click to expand...
Click to collapse
I'll try that, getting frustrating.
Still a no go. I did however use files I pulled from my Nexus 6 and those worked. Every time I try to use the files from my 6p I restore failed.
Any help on this?
Sent from my SM-G935F using Tapatalk

Categories

Resources