[Q] EFS Restore Requred? - Nexus 5 Q&A, Help & Troubleshooting

Okay, so i have the LG Nexus 5 [Naww :victory:] but , i am paranoid , i guess about the EFS partition held on these devices.
After every update/rom flash i restore the EFS i created the first day i rooted, because of whatever reason dealing
with Samsung devices i feel like it could be corrupted, at the point i run stock rom and leave untouched.
Someone shine some light on this topic for me, explain to me why or why it would not happen and great thanks!
-i4GS/NiRuX

There's absolutely no need to backup and restore your efs every time you flash something. Back it up once and store it off your phone.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
There's absolutely no need to backup and restore your efs every time you flash something. Back it up once and store it off your phone.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Still though, chances of EFS corrupting are ?

i4GS said:
Still though, chances of EFS corrupting are ?
Click to expand...
Click to collapse
Very low, I'd be afraid to backup and restore the efs every time I flashed something. There's more chance of a bad nandroid and corruption that way. Just back it up and store it off your phone. If you lose your imei, flash the cache.img in fastboot first then try and restore the efs.
I've never seen anyone lose there imei without much worse happening, bad emmc which is not recoverable from.
Sent from my Nexus 5 using XDA Free mobile app

i4GS said:
Still though, chances of EFS corrupting are ?
Click to expand...
Click to collapse
Slim to none IMO. The only way I know to corrupt the EFS is to flash the EFS partition from one device to another. Not saying it can't happen, but the chances of corrupting the EFS are greater if you're constantly restoring it as opposed to from flashing ROMs, kernels, etc.

Related

can I restore nandroid on a new phone?

I'm trying to get a replacement of my GS3 tomorrow since the GPS is acting weird. I backed up apps and system data using TiBu and also made a nandroid when I was still on root66. Then I odin'ed back to stock and did factory reset (by the way, that did get rid of the unlocked padlock //relief) so I'm good to go.
The question is, once I get the new phone and odin root66, can I restore the nandroid on the new phone? If not, can I restore any system data from TiBu?
I did search this in the forums and saw a few similar questions. but 2 posts said no and 1 said yes. so I'm confused.
simollie said:
I'm trying to get a replacement of my GS3 tomorrow since the GPS is acting weird. I backed up apps and system data using TiBu and also made a nandroid when I was still on root66. Then I odin'ed back to stock and did factory reset (by the way, that did get rid of the unlocked padlock //relief) so I'm good to go.
The question is, once I get the new phone and odin root66, can I restore the nandroid on the new phone? If not, can I restore any system data from TiBu?
I did search this in the forums and saw a few similar questions. but 2 posts said no and 1 said yes. so I'm confused.
Click to expand...
Click to collapse
yes you can restore your old nandroid on the new phone..
Smok3d said:
yes you can restore your old nandroid on the new phone..
Click to expand...
Click to collapse
But depending on the recovery you are using you may need to put it in the correct id folder. I know amon RA uses specific id labled folders for each device (even the same model).
Sent from my SCH-I535 using Tapatalk 2
Smok3d said:
yes you can restore your old nandroid on the new phone..
Click to expand...
Click to collapse
Yes, you can do it (I've done it) but it's not really a great idea.
You are much much better off to spend the time & reinstall everything fresh.
I thought I read somewhere recently that because backups capture phone specific data on Samsung models that you are unable to move a backup from one phone to another without overwriting some valuable individual phone information. I've done it across multiple other model phones and tablets but hear it is Samsung specifically that has issues.
Someone with prior knowledge and/or links to discussion please chime in.
Thanks everyone. I'll err on the safe side and setup everything from scratch.

Quick Question

This might be a dumb question but does flashing a Kernel still have the risk of losing IMEI or just when flashing roms?
EDIT: Also if i make a nandroid backup will it replace the stock backup i made?
bump
1. Back up your imei if you decide to root PERIOD.
2 NANDROID BACKUPS wont overwite eachother . Just keep a healthy backup of each rom/kernel setup you use. So you can go back and forth .
Sent from my SCH-I535 using Tapatalk 2
DROID3R said:
1. Back up your imei if you decide to root PERIOD.
2 NANDROID BACKUPS wont overwite eachother . Just keep a healthy backup of each rom/kernel setup you use. So you can go back and forth .
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, I do have my IMEI backed up but i was just wondering if there is a risk. Kinda on the edge about flashing more stuff since its working good but wanted to try some kernels.
There's always a risk. From what I've read - losing imei is so random it may or may not ever happen.
Sent from my synergized gs3
blueb0x said:
There's always a risk. From what I've read - losing imei is so random it may or may not ever happen.
Sent from my synergized gs3
Click to expand...
Click to collapse
That worry's me a bit, I got Paranoid Android running smoothly so i think im good for now.
blueb0x said:
There's always a risk. From what I've read - losing imei is so random it may or may not ever happen.
Sent from my synergized gs3
Click to expand...
Click to collapse
This.
If you follow the steps on this thread though (http://forum.xda-developers.com/showthread.php?t=1852255) you should be fine. I lost my IMEI flashing CM10 without a backup, and ended up having to re-inject in using QPST. I was stuck roaming for awhile, but was able to fix it doing this (http://forum.xda-developers.com/showpost.php?p=31028642&postcount=115). Bottom line, you'll probably be fine if you end up losing your IMEI as long as you have a backup.

No baseband, IMEI, etc after upgrade to 4.4.1

Hi guys,
I upgraded my rooted Nexus 5 to 4.4.1 from TWRP and after reboot it, it does not work anymore. No signal, no IMEI, SDcard error... I don't know exactly how to fix it, I guess that is a baseband, ROM or something like that problem. Can someone help me?
Thanks a lot!
pep0te said:
Hi guys,
I upgraded my rooted Nexus 5 to 4.4.1 from TWRP and after reboot it, it does not work anymore. No signal, no IMEI, SDcard error... I don't know exactly how to fix it, I guess that is a baseband, ROM or something like that problem. Can someone help me?
Thanks a lot!
Click to expand...
Click to collapse
Looks like your EFS is screwed up
Did you made a nandroid backup ?
Also, try flashing full stock if you didn't
Edit : This post should probably be in Q/A section
Yup, sounds like EFS got b0rked somehow.
I really hope you made an EFS backup before flashing anything, as that holds all your IMEI and radio configuration data.
If you have, simply restore that backup and you should be good to go. If not... I dunno. Take it back and see if you can get it swapped out?
I don't think flashing back to stock will help, as EFS is flashed at the factory to set the IMEI. Stock restore images have no way to know what your IMEI should be, so they can't re-set it.
And yes, this should be in Q&A.
It happened to me before with my nexus 5
Just flash Factory Images and you will be fine
https://developers.google.com/android/nexus/images#hammerhead
When you people say backup your EFS is that automatically backed up in a nandroid backup? Or is there something special you need to do?
Hi, I had this same problem a while back and flashing the factory image worked for me too.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 06:30 PM ---------- Previous post was at 06:20 PM ----------
@Hand76 In TWRP you can specify the partitions for the backup, I assume CWM has a similar option somewhere, I don't use it so can't say for sure.
Had the same problem. Flashing factory image solved the issue.
Sent from my Nexus 5 using Tapatalk
macacao said:
Had the same problem. Flashing factory image solved the issue.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
+1. You might be able to just flash the cache.img.
Hand76 said:
When you people say backup your EFS is that automatically backed up in a nandroid backup? Or is there something special you need to do?
Click to expand...
Click to collapse
Well, I know TWRP does backup when doing a full backup. Not sure about CWM
There is also a thread in original dev section, containing a script to backup EFS separatly
That's the first thing I did before flashing any ROM
Just fyi, if flashing the factory image fixes the problem, then the efs are never truly gone...
When I lost the efs on my Nexus 's, it was game over, needed new hardware... Seems to only really be a major problem with Samsung phones
Sent from my Nexus 5 using Tapatalk
Your cache was probably corrupted. Flash the stock cache.img and report back.
Hey,
Thanks for your answers. Was a bit lost but finally I fixed it with Wug's Nexus Root Toolkit:
http://forum.xda-developers.com/showthread.php?t=2517778
It seems my cache was broken (even something else xD) but flashing factory image solved the issue.
I'm having this same issue I've tried everything I can think of I have a ESF backup but it's not bringing my sdcard or baseband back I've tried factory restore & wipe I just can't figure this out help me guys please
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
ddloco said:
I'm having this same issue I've tried everything I can think of I have a ESF backup but it's not bringing my sdcard or baseband back I've tried factory restore & wipe I just can't figure this out help me guys please
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Fastboot flash the cache.img. problem solved
Synyster06Gates said:
Your cache was probably corrupted. Flash the stock cache.img and report back.
Click to expand...
Click to collapse
what exactly did you do in the toolkit I can't seem to get it to fix the cache or radio issue
Sent from my Nexus 4 using xda app-developers app
ddloco said:
what exactly did you do in the toolkit I can't seem to get it to fix the cache or radio issue
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Don't use a tool kit! Just flash the cache.img in fastboot.
ddloco said:
what exactly did you do in the toolkit I can't seem to get it to fix the cache or radio issue
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
That's your problem. Use ADB and flash the cache from the stock image (found in the how to return your phone to stock thread in the general section). No tool kits.
okay guys ive done every thing i can ive followed instuctions for restoreing factory image iv tried the fastboot command for cachen i finally got my efs zip 9onto my phone but it still hasnt fixed it i dobnt know what else to do i have a last log with somew crazy stuff going on for some odd reason my sdcard is /data/media/0 but i know for sure it should be /storage/emulated/0 this is strang i dont have the money to rma this is my only phone please man help me
no signal/ sdcard in strange spot / camera /gallery hangouts force close upon boot im so sick to my stomache behid this one god damn twrp if i do get it fixed or replaced in wikll be cwm from know on
ddloco said:
okay guys ive done every thing i can ive followed instuctions for restoreing factory image iv tried the fastboot command for cachen i finally got my efs zip 9onto my phone but it still hasnt fixed it i dobnt know what else to do i have a last log with somew crazy stuff going on for some odd reason my sdcard is /data/media/0 but i know for sure it should be /storage/emulated/0 this is strang i dont have the money to rma this is my only phone please man help me
no signal/ sdcard in strange spot / camera /gallery hangouts force close upon boot im so sick to my stomache behid this one god damn twrp if i do get it fixed or replaced in wikll be cwm from know on
Click to expand...
Click to collapse
Im in the same boat dude. im working on returning it.
benbailey84 said:
Im in the same boat dude. im working on returning it.
Click to expand...
Click to collapse
ddloco said:
okay guys ive done every thing i can ive followed instuctions for restoreing factory image iv tried the fastboot command for cachen i finally got my efs zip 9onto my phone but it still hasnt fixed it i dobnt know what else to do i have a last log with somew crazy stuff going on for some odd reason my sdcard is /data/media/0 but i know for sure it should be /storage/emulated/0 this is strang i dont have the money to rma this is my only phone please man help me
no signal/ sdcard in strange spot / camera /gallery hangouts force close upon boot im so sick to my stomache behid this one god damn twrp if i do get it fixed or replaced in wikll be cwm from know on
Click to expand...
Click to collapse
Did you guys ever manage to bring your Nexus 5's back to life? or where they completely bricked?

[Q] Best way to switch from old to new N5?

What would be the easiest way to get all my data and rom over to my RMA device? I guess it would be copying sdcard content and restore a nandroid from old phone? Anything, I should take care about?
cheers!
In the nandroid do not backup efs partition. Restoring that on your new device will permanently screw it up.
Yes sure, but other than that, it should work fine?
Tapatalked from my Nexus 5
Personally, I stay away from restoring a nandroid on a different device (even if it is the same model). It may work just fine, but doing it the safe(r) way is really not that hard.
I'd let contacts/calendar/photos/music be handled by google (gmail account, G+ and Google Music)
For App data, for game progress or Google authenticator codes or tasker profiles etc, I'd use Titanium backup.
Alright, I'll go with titanium backup then, better safe than sorry!
Tapatalked from my Nexus 5
I recently did a nandroid and transfer of my data only.
Worked like a charm.
Just saying.
WR
Sent from my Nexus 5
In Total Agreement Restore Data Only from Previous Nandroid
I recently did a nandroid and transfer of my data only
+1
jd1639 said:
In the nandroid do not backup efs partition. Restoring that on your new device will permanently screw it up.
Click to expand...
Click to collapse
What means "permanently screw it up"?
Actually I don't know what the efs partition is.
Cloonix said:
What means "permanently screw it up"?
Actually I don't know what the efs partition is.
Click to expand...
Click to collapse
Thats where your phones IMEI is stored... If you screw it up without having a backup u are screwed! You wont be able to connect to network without a valid IMEI...
It will brick the device. Its just not a good idea. The same way that you can't take a hardrive that is formatted for one computer operating system and plug it into a different one even if its the exact same hardware. It won't work.
Sent from my Nexus 5
WarRaven said:
I recently did a nandroid and transfer of my data only.
Worked like a charm.
Just saying.
WR
Sent from my Nexus 5
Click to expand...
Click to collapse
On different phones? Sounds good!
Yes, i was using and left a 16gb I gave to wife when my 32 arrived.
So to be clear, I only backed up data and transferred the file over to new phone. Updated (32) to the point where the old one was at, then restored it (data only back up) and here I am today a week later and all is well in my world.
I wasn't sure it would work, but tried and made life simple.
WR
Sent from my Nexus 5

Uprooting and return N5 to Google

My wife's new Nexus 5 recharger died yesterday after just 3 weeks of use. I contacted Google and instead of just replacing the charger they insisted on a total exchange. Ridiculous!
Here's what I need advice about.
1. The device is rooted and I obviously need to unroot and destroy its data before sending it back. Is there a simple way to do that so Google doesn't find evidence of rooting that would disqualify the warranty? I remember something about a "tamper" setting.....
2. The phone has a T-Mobile sim for a prepaid plan which I obviously need to move. Will it be necessary to reenable it because of the changed phone?
3. Because the phone is rooted I have phandroid TWRP and titanium backups. Can I just transfer the phandroid backup to the new phone and restore it even though it's a different phone? What steps do I need to be aware of?
Thank you for any help you can provide.
This is all you need http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5
1) follow the factory image thread stuck at the top of general
2) although I have no experience with T-Mobile specifically (I assume you mean T-Mobile USA, not other T-Mobiles?) a sim is a sim. Once it's activated, you insert it in any phone and it should work
3) phandroid? Do you mean nandoid? If so, yes you can restore it on another phone but DO NOT RESTORE EFS AS YOU'LL BRICK THE NEW PHONE!
Sent from my Nexus 5 using Tapatalk
1) While you're still rooted, download BootUnlocker from Google Play and reset the tamper flag. Then reflash the factory image and lock the bootloader.
2) You should be able to transfer the SIM to the new handset and have it work. It worked for me when I was on AT&T and went from the S4 to the N5. If it doesn't work, I would assume all you have to do is call T-Mobile and add the new IMEI to their network.
3) You can restore the backups from your old phone, but DO NOT under any circumstances restore the EFS partition backup from the old phone as restoring an EFS backup from one phone to another will brick the new phone and there is no way to get back once you do this.
rootSU said:
3) phandroid? Do you mean nandoid? If so, yes you can restore it on another phone but DO NOT RESTORE EFS AS YOU'LL BRICK THE NEW PHONE!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thank you.
Yes I meant nandroid. What is an efs?
Anderson2 said:
Thank you.
Yes I meant nandroid. What is an efs?
Click to expand...
Click to collapse
Read this thread carefully and backup your EFS!
http://forum.xda-developers.com/goo...t/modem-nexus-5-flashable-modems-efs-t2514095
vin4yak said:
Read this thread carefully and backup your EFS!
http://forum.xda-developers.com/goo...t/modem-nexus-5-flashable-modems-efs-t2514095
Click to expand...
Click to collapse
Further to this, checkin your backup. You may have files called EFS. Do not restore those.
Also take a backup of the new phone before restoring a backup of the old one
Sent from my Nexus 5 using Tapatalk
I looked at my TWRP backups. Restore gives options to restore 3 items
1 boot
2 system
3 Data
None of these say efs.
Can I safely assume my backups don't include efs? I'm not sure I have another way to check.
Maybe I should skip restoring the TWRP nandroid from one phone to the other.
Just restore #3 (data) from the nandroid. Would that be safer?
Or just titanium backup?
I meant look in the backup using a file manager
Sent from my Nexus 5 using Tapatalk
Personally I'd save myself the headache and just buy a new charger for $14. The efs backup option is in the advanced back-up menu on twrp.
Anderson2 said:
My wife's new Nexus 5 recharger died yesterday after just 3 weeks of use. I contacted Google and instead of just replacing the charger they insisted on a total exchange. Ridiculous!
Click to expand...
Click to collapse
Do you have to send the current phone back before they send the replacement? If not, can't you just take the charger from the replacement phone and send the broken charger back with the replacement handset. You'd save yourself a lot of trouble.
That would be the logical thing to do........ They are sending me the replacement first.
I was thinking of doing just that but they asked for the imei of the phone I was returning so I'm worried about that messing things up.
I may call them back after the replacement phone gets here and say something like I changed my mind, will buy my own charger, and can I just return the replacement phone they sent and see if that will work.
Let's hope that will work.

Categories

Resources