Restore backup from other Nexus 5? - Nexus 5 Q&A, Help & Troubleshooting

I received my Nexus 5 a week ago, and after setting it all up how I like it, I noticed dead pixels. I ordered a replacement which has arrived today. and I'm wondering if I can make a TWRP backup on my old phone, and then restore it on the new one? Both have the same SKU number - LG-D821.AAU3WH.

iPWNtehNOOB said:
I received my Nexus 5 a week ago, and after setting it all up how I like it, I noticed dead pixels. I ordered a replacement which has arrived today. and I'm wondering if I can make a TWRP backup on my old phone, and then restore it on the new one? Both have the same SKU number - LG-D821.AAU3WH.
Click to expand...
Click to collapse
Yes but DO NOT BACKUP OR RESTORE EFS!!!!!!

Absolutely. The trick to this is to make a quick backup on the new phone (backup cache, or something small) so that it creates a folder with your new device's serial number. TWRP looks in /sdcard/TWRP/BACKUPS/<DEVICE's SERIAL NUMBER>/ to find backups.
So, once TWRP has created a folder for the new device's serial number, you can transfer over the backup files from the previous device. You'll need to ADB PULL the directory to a computer from the old device, then PUSH them back to the new one.
It works like a charm. My wife dropped her first N5 during a walk in a park and shattered the screen -- when her new one came, we made it a perfect "clone" of the first this way.
Good luck!

rootSU said:
Yes but DO NOT BACKUP OR RESTORE EFS!!!!!!
Click to expand...
Click to collapse
bcgaynor82 said:
Absolutely. The trick to this is to make a quick backup on the new phone (backup cache, or something small) so that it creates a folder with your new device's serial number. TWRP looks in /sdcard/TWRP/BACKUPS/<DEVICE's SERIAL NUMBER>/ to find backups.
So, once TWRP has created a folder for the new device's serial number, you can transfer over the backup files from the previous device. You'll need to ADB PULL the directory to a computer from the old device, then PUSH them back to the new one.
It works like a charm. My wife dropped her first N5 during a walk in a park and shattered the screen -- when her new one came, we made it a perfect "clone" of the first this way.
Good luck!
Click to expand...
Click to collapse
Excellent, thanks gents! So backup and restore EVERYTHING but EFS, or just Data?

iPWNtehNOOB said:
Excellent, thanks gents! So backup and restore EVERYTHING but EFS, or just Data?
Click to expand...
Click to collapse
You'll need to restore /system and /data if you want it exactly the same. I do not know what modifications / differences between the /system on your old and new phone are, so if in doubt, do both.

You should also do a backup of the EFS partition of the new phone since it's fresh, and keep it in a handy place. You never know when you might need it.

Further information from Dees_troy.

isn't EFS something samsung specific? can't find it on my N4

prulleman said:
isn't EFS something samsung specific? can't find it on my N4
Click to expand...
Click to collapse
Nope. Here is a thread for N5.

Primokorn said:
Nope. Here is a thread for N5.
Click to expand...
Click to collapse
ok thanks didn't know that. good info awaiting my N5

prulleman said:
ok thanks didn't know that. good info awaiting my N5
Click to expand...
Click to collapse
One of the first things you should do after root
TWRP has also a built-in feature as you may know.

prulleman said:
isn't EFS something samsung specific? can't find it on my N4
Click to expand...
Click to collapse
They all have efs but only some phones implement it as a dedicated partition or mounted filesystem.
Sent from my Nexus 5 using Tapatalk

Related

[Q] Wiped /efs folder

Hello,
Before I go to the Car Phone Warehouse and look stupid, does anyone know if my nexus s is capable of rebuilding the correct nv files and anything else it needs to work properly?
The original IMEI folder is still present. Of course the IMEI number is printed inside the phone.
It does replace some files if I remove them. It's not helping, and I get a default IMEI number.
Without your backup, the IMEI can't be restored.
brainmaster said:
Without your backup, the IMEI can't be restored.
Click to expand...
Click to collapse
Thanks again brainmaster. Your MIUI is excellent btw.
Sending my phone off (no warranty obviously...) lets see what can be done.
brainmaster said:
Without your backup, the IMEI can't be restored.
Click to expand...
Click to collapse
Hi,
How do I go about getting the /efs backed up and restored in case of trouble?
I've read around that nandroid backups don't store /efs.
Thanks.
Gehrschrein said:
Hi,
How do I go about getting the /efs backed up and restored in case of trouble?
I've read around that nandroid backups don't store /efs.
Thanks.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1225560
[DEV] EFS Autobackup script for ROM Developers & Users by brainmaster
Sent from my -=Nexus MV=- powered Nexus S c",)
Thank you.
I love this thread.
Just to update, got it back and regenersis in Glasgow had been able to fix it.
Sent from my Nexus, fool

[UNSOLVED] Unknown IMEI/Baseband

LESSON LEARNT (for everyone): Please make sure to do a complete EFS backup before you do anything or you will end up like me!!!
So yeah I flashed Deodex_LF2_Cwm.zip yesterday, trying to deodex my DDFL2.
And following that I experienced total loss of mobile signal, baseband, IMEI, IMEI SV, and phone (*#1234#).
And I haven't been seeing this kinda thing to come, I did not back up EFS. (Yeah brilliant me)
So I tried a few of these:
[GUIDE] Recover your IMEI in 9 steps
Repair IMEI using EFS Pro
Reflashing from latona.pit then XXKPE; for a few times
Flashing stock ROM for Malaysia region (Froyo and GB)
Flashing various Modem.tar (DDLE1, DXKP7, etc) via Odin3 at different ROM levels (XXKPE, DDLF2, even CM10A4)
Restoring Nandroid backup from other SL user (Thanks Rich'Dawg')
But nothing worked so far yet.
Now that I checked the /efs folder is empty and there is only a folder named lost+found.
Some websites said about fixing IMEI for small fees but in cases of blank IMEI (*#06#), chances are only 30%.
And my last resort would be getting it replaced in Samsung service centre or any repair shop, which I suspect that the motherboard would be more expensive than some simple new Android phones.
Leaving this forum for the moment as to collect more money to get a new phone . . . :crying:
Lastly, thanks for all the input. Greatly appreciated.
Do you able to call anyone. ? if yes then no need to change anything. if no then you should search for imei solution on xda. there is some tutorial for fake imei.
nicsptl said:
Do you able to call anyone. ? if yes then no need to change anything. if no then you should search for imei solution on xda. there is some tutorial for fake imei.
Click to expand...
Click to collapse
Nope. I totally lost signal and mobile network.
cheeyeen said:
Nope. I totally lost signal and mobile network.
Click to expand...
Click to collapse
do you flash b4 CM10? if yes, search your sd card and External sd card for the installation backup of efs folder
chongns said:
do you flash b4 CM10? if yes, search your sd card and External sd card for the installation backup of efs folder
Click to expand...
Click to collapse
Yes I did but nope I couldn't find. sucks.
It is in a folder name backup
Sent from my GT-I9003 using Tapatalk 2
chongns said:
It is in a folder name backup
Sent from my GT-I9003 using Tapatalk 2
Click to expand...
Click to collapse
Sad enough this folder does not exist in my phone....
Have you had any idea if Samsung would fix this in Malaysia..? Or how much would that be.
I spent like 10 hours trying to look for a solution but >"<
cheeyeen said:
Sad enough this folder does not exist in my phone....
Have you had any idea if Samsung would fix this in Malaysia..? Or how much would that be.
I spent like 10 hours trying to look for a solution but >"<
Click to expand...
Click to collapse
no idea of how much it should be.
but a idea to help you,
1st idea:
go in recovery and fix permission.
2nd idea:
you said you flash Deodex LF2 in CWM, it should not touch efs folder. so, very high change of your nv_data.bin file backup still good.
OK. use any file browser look in the efs folder, see if the below file still exiting, (they are hidden file)
check on the file date. is the date older than the date you flash the zip, if yes, this is the one original from your phone.
the file name start with a dot
.nv_data.bak - ( this is your imei backup file) copy and rename the .nv_data.bak to nv_data.bin and set permission and change owner.
.nv_data.bak.md5 - (delete this file first)
chongns said:
no idea of how much it should be.
but a idea to help you,
1st idea:
go in recovery and fix permission.
2nd idea:
you said you flash Deodex LF2 in CWM, it should not touch efs folder. so, very high change of your nv_data.bin file backup still good.
OK. use any file browser look in the efs folder, see if the below file still exiting, (they are hidden file)
check on the file date. is the date older than the date you flash the zip, if yes, this is the one original from your phone.
the file name start with a dot
.nv_data.bak - ( this is your imei backup file) copy and rename the .nv_data.bak to nv_data.bin and set permission and change owner.
.nv_data.bak.md5 - (delete this file first)
Click to expand...
Click to collapse
Fixed permission.
I found one .nv_data.bak dated year 1994 , which I think came in when I was trying to flash some efs fixes i found in XDA.
Without much hope I tried what you said, but still nothing happened. IMEI blank, baseband unknown.
Is it possible to have the mobile phone repair shop with RIFF or Jtag or some box thingy to have this done?
i think you must change the motherboard
cheeyeen said:
[Request] Is it possible if anyone could send me a Nandroid backup of a working rom, so I could restore it via CWM? (It is a way I found in the XDA forum).
...
So yeah I flashed Deodex_LF2_Cwm.zip yesterday, trying to deodex my DDFL2.
And following that I experienced total loss of mobile signal, baseband, IMEI, IMEI SV, and phone (*#1234#).
And I haven't been seeing this kinda thing to come, I did not back up EFS. (Yeah brilliant me)
So I tried a few of these:
[GUIDE] Recover your IMEI in 9 steps
EFS Pro
Reflashing from latona.pit then XXKPE; for a few times
Flashing various Modem.tar (DDLE1, DXKP7, etc) via Odin3 at different ROM levels (XXKPE, DDLF2, even CM10A4)
But nothing worked so far yet.
Now that I checked the /efs folder is empty and there is only a folder named lost+found.
And my last resort would be getting it replaced in Samsung service centre??
I don't know how much would it cost in Malaysia to change the motherboard but I'm sure it will be stupidly high...
Or.. does that mean my time in i9003 forum is up..? :crying:
Please help me because I don't want to buy a new phone yet! :crying:
Click to expand...
Click to collapse
Mate, do you like JellyBam V.1.3.0? Because that's the only Nandroid backup i have in my phone. I was thinking to upload it to my Box account for Emergency Backup if i don't have my computer. If you like, i can upload it for you, but the size of the backup would be nuts, it's 850 MB. It's up to you.
Rich'Dawg' said:
Mate, do you like JellyBam V.1.3.0? Because that's the only Nandroid backup i have in my phone. I was thinking to upload it to my Box account for Emergency Backup if i don't have my computer. If you like, i can upload it for you, but the size of the backup would be nuts, it's 850 MB. It's up to you.
Click to expand...
Click to collapse
I would try anything as long as it works! Please do!
Best of Luck
a friend of mine ran through the same same problem and i think he did some sort of repair from a shop but later we came to know that the backup can do the task not sure whether that work or not but u can give it a try,, BEST of Luck with that..... Hopit Fix the Issue
Good luck sir! As far as I know, if you would choose to replace the motherboard from repair center, it would cost you more or less 80% of the original price of the phone. So it would seem that you have to buy a new one. I hope that a nandroid backup (as stated above) would solve the problem. God bless you! Think positive
i have the same problem and tried those solution the TS tested and still no luck, i wan't to try those nandroid backup but can't find any.
Rich'Dawg' said:
Mate, do you like JellyBam V.1.3.0? Because that's the only Nandroid backup i have in my phone. I was thinking to upload it to my Box account for Emergency Backup if i don't have my computer. If you like, i can upload it for you, but the size of the backup would be nuts, it's 850 MB. It's up to you.
Click to expand...
Click to collapse
Bro,pls upload... let me try it... if imei is changed to 043xxxxxxx then we can fix with z3x box
Xperia.IN said:
Bro,pls upload... let me try it... if imei is changed to 043xxxxxxx then we can fix with z3x box
Click to expand...
Click to collapse
can you share it with me if you have nandroid backup, i will try to fix it with z3x and asansam
never thought deodexing gonna brick the phone.. ive deodex once without any problem.. without any doing backup before that.. lucky me.. huhu
try other people's nandroid and see.. i dont think it needs a specific emei or what so ever.. as long as its a backup.. goodluck..
the problem is we can't find someone to lend us their nandroid backup.
I did it!
Bro, try use Efs Pro, http://forum.xda-developers.com/showthread.php?t=1308546
Try the new version, you can choise Qualcom version, write you IMEI number, go back to initial and do NV Restore.
My SG Fit go back to life (after maybe 4 months with 0000000000000 Imei). :good:
I´m very happy
Hope it work for you! Good luck!

[Q] How to create a backup of the entire phone to restore it later?

Hi, I currently have my nexus 5 in 4.4.4, and I'd like to try Android L, but I want to know if there's a way to create a full backup of my phone, like an image, so I can go back to 4.4.4 with everything as I left it, including apps, contacts, images, and all that, my phone is rooted, so I guess there's a a way, but, would it be possible to restore it if I'm already in Android L? thanks!
saman0suke1 said:
Hi, I currently have my nexus 5 in 4.4.4, and I'd like to try Android L, but I want to know if there's a way to create a full backup of my phone, like an image, so I can go back to 4.4.4 with everything as I left it, including apps, contacts, images, and all that, my phone is rooted, so I guess there's a a way, but, would it be possible to restore it if I'm already in Android L? thanks!
Click to expand...
Click to collapse
Take a nandroid backup then copy your sdcard to your computer
rootSU said:
Take a nandroid backup then copy your sdcard to your computer
Click to expand...
Click to collapse
Is this going to work if I want to use it from Android L to restore it? thanks!
saman0suke1 said:
Is this going to work if I want to use it from Android L to restore it? thanks!
Click to expand...
Click to collapse
Your best bet would be to take a nandroid backup (which will go to sdcard) then connect in recovery and adb pull the entire /sdcard (which is /data/media/0) to your pc. Then whne you want to go back, adb push it back.
Click the link in my signature. In there you'll find a thread about adb and fastboot if you're unsure about adb push and pull commands.
rootSU said:
Your best bet would be to take a nandroid backup (which will go to sdcard) then connect in recovery and adb pull the entire /sdcard (which is /data/media/0) to your pc. Then whne you want to go back, adb push it back.
Click the link in my signature. In there you'll find a thread about adb and fastboot if you're unsure about adb push and pull commands.
Click to expand...
Click to collapse
I'll take a look at it, I appreciate the help, thanks!
No probs.
The good thing about adb is you can push and pull files to your device, even if you cant get into Android.
rootSU said:
No probs.
The good thing about adb is you can push and pull files to your device, even if you cant get into Android.
Click to expand...
Click to collapse
That's great! and I have used adb before, mostly with rooting and development, but not a lot with backups and all that, I'll give it a try, thanks!:good:
U can use cwm too
kanhaiya
Kanhaiya1.kk said:
U can use cwm too
kanhaiya
Click to expand...
Click to collapse
That would be the "nandroid" part of the solution I suggested. This will not backup the sdcard though
Yes u ri8
Bt i suggested an easy way.. & with the help of some apps like titanium backup or my backup he can restore all things..
kanhaiya
Another way you can do is install Gdrivesync and sync your /sdcard partition to your Google Drive account. It won't replace the files on the phone but this will enable you to be able to recover lost downloads. You can set it up to have it automatically sync every x hours and it's nice too because if you accidently want to install the latest update but it wipes your whole phone including any backups, at least you can get your data again and just have to set up your apps.
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
rootSU said:
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey, I was doing some research, but all the tutorials that I find talks about GooManager, CWM or TWRP. I thought there was a way to create the nandroid backup manually, if not, which of these would you recommend? after that I would pull the entire sdcard I guess right? thanks!
saman0suke1 said:
Hey, I was doing some research, but all the tutorials that I find talks about GooManager, CWM or TWRP. I thought there was a way to create the nandroid backup manually, if not, which of these would you recommend? after that I would pull the entire sdcard I guess right? thanks!
Click to expand...
Click to collapse
You can investigate adb backup. Never used it myself so not sure what it includes
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
rootSU said:
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
rootSU said:
You can investigate adb backup. Never used it myself so not sure what it includes
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
Click to expand...
Click to collapse
I'll check on that one; just wondering, have you ever used any of those that I mentioned? if so, which one would you recommend? Thanks!
saman0suke1 said:
I'll check on that one; just wondering, have you ever used any of those that I mentioned? if so, which one would you recommend? Thanks!
Click to expand...
Click to collapse
The only thing that has worked consistently for me is to grab what you want off the /sdcard and copy it to a pc. Then a nandroid of the rest of the phone. I've had mixed results with adb backup and backup apps.
Sent from my Nexus 5 using XDA Free mobile app

Boost Moto E 2nd gen XT1526 Nandroid Backup

I Have Made A Clean nandriod backup
Link To The Files U just put them in a folder then put the folder on ur phone
https://www.mediafire.com/folder/boaj76nc91cwt/Clean_Moto_e_2015_rooted_1970-01-06-19-03-16
Any way someone can post a backup that's not rooted please??
Sorry man that was the best I could do
JoshTheAndroidUser said:
Sorry man that was the best I could do
Click to expand...
Click to collapse
was wanting to make and post a backup but i have had tech issues. I am on my second phone now. Had the 1st one 1 day and started getting a sim error. Got a replacement. I worked for about 3 hours and did the exact same thing. SMH! Dont know what is happening. Anyone else ran into this?
What kernel is running in this backup?
crazynapkinman said:
What kernel is running in this backup?
Click to expand...
Click to collapse
Lmao!! Really?? It's the Stock kernel
Oh, duh. Hence "clean" lol
JoshTheAndroidUser said:
I Have Made A Clean nandriod backup
Link To The Files U just put them in a folder then put the folder on ur phone
https://www.mediafire.com/folder/boaj76nc91cwt/Clean_Moto_e_2015_rooted_1970-01-06-19-03-16
Click to expand...
Click to collapse
Just wondering, if i use someone else's is nanadroid backup, what makes my phone different from his (if there is a difference) besides the 4g sim?
Sent from my iPhone using Tapatalk
Andr01dye said:
Just wondering, if i use someone else's is nanadroid backup, what makes my phone different from his (if there is a difference) besides the 4g sim?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
Nothing really I Suggest you Use This One Since Its Clean Stock Rom And its Rooted Already
I THANK YOU A WHOLE HELL A LOT YOU SAVE ME FROM A LOT OF FRUSTRATION THANK YOU SO MUCH. ive used up alll my thanks but i will thank you.
JoshTheAndroidUser said:
I Have Made A Clean nandriod backup
Link To The Files U just put them in a folder then put the folder on ur phone
https://www.mediafire.com/folder/boaj76nc91cwt/Clean_Moto_e_2015_rooted_1970-01-06-19-03-16
Click to expand...
Click to collapse
I put the files in a folder tried restoring it through recovery, but nothing show up. Did I miss something?
Sent from my iPhone using Tapatalk
Can u make a twrp backup instead of nandroid is better to use
I wish to know this too!!!
i also have the issue of needing a backup, when i go to restore after putting the folder in my phone on twrp nothing shows up!!
That's because you were just told to put the backup in a folder on your phone and not told the correct way to do it, in order for it to show up in TWRP it has to be placed in the proper folder, IE: sdcard1/TWRP/BACKUPS/{Your phone's serial #}/{The named folder of this backup}/
Now the backup should show in TWRP and restore properly
Edit: I used sdcard1 in my example cause all my backups are on my external 32gb sdcard, if you need to use internal storage then just replace sdcard1 with sdcard
Sent from my XT1526 using Tapatalk
zip it
goldeneagle1972 said:
That's because you were just told to put the backup in a folder on your phone and not told the correct way to do it, in order for it to show up in TWRP it has to be placed in the proper folder, IE: sdcard1/TWRP/BACKUPS/{Your phone's serial #}/{The named folder of this backup}/
Now the backup should show in TWRP and restore properly
Edit: I used sdcard1 in my example cause all my backups are on my external 32gb sdcard, if you need to use internal storage then just replace sdcard1 with sdcard
Sent from my XT1526 using Tapatalk
Click to expand...
Click to collapse
as the title implies zip the file
Sprint TWRP Backup
Anyone have the XT1526 Sprint model? I Need a TWRP backup for the Sprint model of this phone.
₩¥£€ said:
as the title implies zip the file
Click to expand...
Click to collapse
The title in no way implies that this is a zip, everyone knows that nandroid backups are not zip files, they are a folder with partition files inside that the recovery makes
ontel said:
Anyone have the XT1526 Sprint model? I Need a TWRP backup for the Sprint model of this phone.
Click to expand...
Click to collapse
Did you manage to get a 5.1 ROM for sprint moto e 2015? I am looking for the same thing. Maybe the boost 5.1 stock rom would work?
@JoshTheAndroidUser
Can you please advise how to root the Boost/Verizon Moto E 2nd Gen 2015 ?
vipsy6 said:
@JoshTheAndroidUser
Can you please advise how to root the Boost/Verizon Moto E 2nd Gen 2015 ?
Click to expand...
Click to collapse
+1 to this. Just picked up a boost Moto e 2015 today for 30 bucks. Would love to get root & twrp on this bad boy! on 5.1

Clone 2 N5 Phones

So i broke the glass on my n5 but it's working ok, recently i manged to buy a cheap new white one, and basically have 2 working phones.
I want to transfer all my stuff from the old > new, i'm wondering, apart from the usual Titanium path, is there any google service or other method that will make a copy of my old phone on the new one?
What would be the best approach here, if Titanium, are there any shortcomings?
ty
Why not backup in TWRP (make sure NOT to backup EFS) and then restore (once again, WITHOUT EFS) on the other phone? Everything will be exactly the same.
Also make sure they're both on the same bootloader/baseband.
You forget the content of your /sdcard. Use adb pull/push to transfer your favorite folders/files to your new device.
Tnx gents! I was thinking of nandroid, but wasn't sure it can work between phones.
They have the same baseband, by the same bootloader you mean the same version/build number?
Of course i will transfer sdcard by other means.
btw. it's strange google doesn't offer simple backup/restore to new phone
invisibles said:
Tnx gents! I was thinking of nandroid, but wasn't sure it can work between phones.
They have the same baseband, by the same bootloader you mean the same version/build number?
Of course i will transfer sdcard by other means.
btw. it's strange google doesn't offer simple backup/restore to new phone
Click to expand...
Click to collapse
I did that,since I asked Google to replace my phone due to abattery charging problem. I installed same bootloader same radio same twrp version on both phones,backup all the "SD card" with a PC,and then made a nandroid backup. Now if you export the whole nandroid folder on the new phone ,you will not be able to install it because the folder name is related to the phone serial (if you look at the nandroid folder is named with many random charters). To solve this I created a nandroid backup on the new nexus 5 ,and renamed the backup of the old one with the name of the new one. This worked for me . I don t know if now you have to do the rename stuff no with last versions, but was like this 8 months ago (don't remember twrp version).
Don t backup efs partition and restore on the new one,it contains the imei and other stuff,and don't try to flash a 32gb nandroid backup on a 16gb model, I don't know if it will work
It worked, i also found out you can migrate stuff from the old nexus using google tap&go through nfc, don't know how much that restores..
Ty all for the help

Categories

Resources