Cloning The Contents of One Nexus 4 Onto Another - Nexus 4 Q&A, Help & Troubleshooting

I have a rooted Nexus 4 that is full of apps and files. I just received a new Nexus 4 (hardware rev_11) and I want to recreate my old Nexus' contents on the new one.
Do I have to do this manually with Titanium Backup, or is there an easier way to do this?

montrealguy said:
I have a rooted Nexus 4 that is full of apps and files. I just received a new Nexus 4 (hardware rev_11) and I want to recreate my old Nexus' contents on the new one.
Do I have to do this manually with Titanium Backup, or is there an easier way to do this?
Click to expand...
Click to collapse
Make a nandroid on the first nexus 4 and restore that on the second. Voila.

klvnhng said:
Make a nandroid on the first nexus 4 and restore that on the second. Voila.
Click to expand...
Click to collapse
Do I need to root the new phone first before doing this? And do I need to install the same version of ClockWorkMod Recovery on the new one as well before I restore a Nandroid?

yes root the new phone. Get CWM on it then restore your back up. and unroot old phone and lock boot loader and ship it back
Sent from my Nexus 4 using xda premium

montrealguy said:
Do I need to root the new phone first before doing this? And do I need to install the same version of ClockWorkMod Recovery on the new one as well before I restore a Nandroid?
Click to expand...
Click to collapse
Yes, you do need to root the new phone as well. The same version of CWM is not necessary, however.

bodom_hc said:
yes root the new phone. Get CWM on it then restore your back up. and unroot old phone and lock boot loader and ship it back
Click to expand...
Click to collapse
klvnhng said:
Yes, you do need to root the new phone as well. The same version of CWM is not necessary, however.
Click to expand...
Click to collapse
1. Does a Nandroid backup/restore also include the contents of the internal SDcard? I have folders with pdfs, music files, etc...
2. I'm on rooted version of the stock rom. How exactly do I revert to stock? Is there a toolkit that includes the stock image?

montrealguy said:
1. Does a Nandroid backup/restore also include the contents of the internal SDcard? I have folders with pdfs, music files, etc...
2. I'm on rooted version of the stock rom. How exactly do I revert to stock? Is there a toolkit that includes the stock image?
Click to expand...
Click to collapse
No, nandroid doesn't backup the SD card partition. Back that up yourself. As for reverting to stock, refer to this page: http://forum.xda-developers.com/showthread.php?t=2010312
You can find the 4.2.1 stock ROM here: https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz

montrealguy said:
1. Does a Nandroid backup/restore also include the contents of the internal SDcard? I have folders with pdfs, music files, etc...
2. I'm on rooted version of the stock rom. How exactly do I revert to stock? Is there a toolkit that includes the stock image?
Click to expand...
Click to collapse
Internal sd card can easily be backed up by plugging into your computer as mtp. Make sure you have your drivers installed if using windows. For mac i think you download an app called Android File Transfer.
Sent from my Nexus 4 using Tapatalk 2

klvnhng said:
No, nandroid doesn't backup the SD card partition. Back that up yourself. As for reverting to stock, refer to this page: http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
So Nandroid doesn't back up the Android and data folders as well as other app folders? The Android and data folders appear in the same main drive with many other folders...? Do I back them up and restore them as well?

montrealguy said:
So Nandroid doesn't back up the Android and data folders as well as other app folders? The Android and data folders appear in the same main drive with many other folders...? Do I back them up and restore them as well?
Click to expand...
Click to collapse
A nandroid backs up everything but the SD card. That is the only thing you have to manually backup.

klvnhng said:
A nandroid backs up everything but the SD card. That is the only thing you have to manually backup.
Click to expand...
Click to collapse
But there is no SD card. Or do you mean the internal drive? So I backup everything stored in the phone? So the Nandroid is only backing up the folders I can't see?

montrealguy said:
But there is no SD card. Or do you mean the internal drive? So I backup everything stored in the phone? So the Nandroid is only backing up the folders I can't see?
Click to expand...
Click to collapse
Where do I find the Nandroid backup on the phone and how do I copy to my computer? I don't see it on the main drive...

montrealguy said:
But there is no SD card. Or do you mean the internal drive? So I backup everything stored in the phone? So the Nandroid is only backing up the folders I can't see?
Click to expand...
Click to collapse
SD card refers to /mnt/sdcard, not an actual SD card. The nandroid backs up your device's entire hard drive, except /mnt/sdcard. The nandroid is saved here. This means you should manually backup /mnt/sdcard.

montrealguy said:
But there is no SD card. Or do you mean the internal drive? So I backup everything stored in the phone? So the Nandroid is only backing up the folders I can't see?
Click to expand...
Click to collapse
if you watch a nandroid backup, it looks like it only backs up /system and /data. your whole internal sdcard doesnt get backed up in a nandroid as far as i know.
just manually transfer your files (music, pictures, files, etc) with your computer.
montrealguy said:
Where do I find the Nandroid backup on the phone and how do I copy to my computer? I don't see it on the main drive...
Click to expand...
Click to collapse
i think they are in /media/data/0/clockwordmod/backup
you will have to use a file manager (root explorer or whatever your choice) to move the backup into 0 folder so you can access it from your computer to save onto the harddrive.

klvnhng said:
You can find the 4.2.1 stock ROM here: https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz
Click to expand...
Click to collapse
I installed this ROM and it has no dialer and it has Awesome Beats! Does anyone have the stock rom link please???

montrealguy said:
I installed this ROM and it has no dialer and it has Awesome Beats! Does anyone have the stock rom link please???
Click to expand...
Click to collapse
I'm getting the idea that you guys have left out some crucial details here. I relocked the bootloader, unrooted and removed CWM. Then I flashed the Google Factory Stock Rom, and I'm getting an incomplete OS. It's missing the Dialer and it has Awesome Beats!
Can someone advise me what to do? I'm supposed to deliver the phone in stock condition in 40 minutes! I'm using the Nexus 4 Toolkit!

I did this with my replacement from a rev_10 to another rev_10, worked fine.
I did it from a rev_10 to a rev_11, broke root and some apps that use SD including screenshots. Fixed root with reflash but i still can't screenshot. Guess I'll start from scratch
---------- Post added at 08:18 PM ---------- Previous post was at 08:16 PM ----------
montrealguy said:
I'm getting the idea that you guys have left out some crucial details here. I relocked the bootloader, unrooted and removed CWM. Then I flashed the Google Factory Stock Rom, and I'm getting an incomplete OS. It's missing the Dialer and it has Awesome Beats!
Can someone advise me what to do? I'm supposed to deliver the phone in stock condition in 40 minutes! I'm using the Nexus 4 Toolkit!
Click to expand...
Click to collapse
Choose to unroot in the toolkit

montrealguy said:
I'm getting the idea that you guys have left out some crucial details here. I relocked the bootloader, unrooted and removed CWM. Then I flashed the Google Factory Stock Rom, and I'm getting an incomplete OS. It's missing the Dialer and it has Awesome Beats!
Can someone advise me what to do? I'm supposed to deliver the phone in stock condition in 40 minutes! I'm using the Nexus 4 Toolkit!
Click to expand...
Click to collapse
Weird. What do you mean it has "Awesome Beats!"?
Meanwhile, you can try this link: http://www.randomphantasmagoria.com/firmware/nexus-4/occam/ , but I'm pretty sure that the file I posted earlier is the same one.

klvnhng said:
Weird. What do you mean it has "Awesome Beats!"?
Meanwhile, you can try this link: http://www.randomphantasmagoria.com/firmware/nexus-4/occam/ , but I'm pretty sure that the file I posted earlier is the same one.
Click to expand...
Click to collapse
I unlocked the bootloader and flashed 4.2 and everything seemed alright. But now there is no stock recovery!?? When I go to Recovery, all I get is a little android icon!
Help!

I just flashed the stock recovery with the Toolkit and now when I go to Recovery, I get the Android laying down with the red triangle exclamation mark. Can anyone help??
How do I bring back the stock recovery?

Related

Just curious...

Is it possible to have multiple NANDROID backups at once? The only thing I can see that would resemble this is via ROM Manager, where it let's you do multiple backups but I'm not sure if these are NANDROID backups.
It would be cool to have all ROMs installed and as backups, so that it's easier to go from one to another while testing and deciding on which one to use as your daily driver.
I have three different nandroid backups on my SD card currently.
HondaCop said:
Is it possible to have multiple NANDROID backups at once? The only thing I can see that would resemble this is via ROM Manager, where it let's you do multiple backups but I'm not sure if these are NANDROID backups.
It would be cool to have all ROMs installed and as backups, so that it's easier to go from one to another while testing and deciding on which one to use as your daily driver.
Click to expand...
Click to collapse
You can have multiple backups in amon ra or clockword. Clockwork/Rom Manager let you rename backups.
chazglenn3 said:
I have three different nandroid backups on my SD card currently.
Click to expand...
Click to collapse
Sweet! So you did them straight from Recovery or via ROM Manager?
Yes, that's the beauty of it. Just wipe and restore to any setup you have backed up. However many you want, however different.
Sent from my PC36100 using Tapatalk
adelaney said:
Yes, that's the beauty of it. Just wipe and restore to any setup you have backed up. However many you want, however different.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
donatom3 said:
You can have multiple backups in amon ra or clockword. Clockwork/Rom Manager let you rename backups.
Click to expand...
Click to collapse
Man, how have I lived without doing this! hahahah I guess because I've been living on CM6 ever since the first nightly was released. But I am going to give it a shot too. Thanks.
HondaCop said:
Is it possible to have multiple NANDROID backups at once? The only thing I can see that would resemble this is via ROM Manager, where it let's you do multiple backups but I'm not sure if these are NANDROID backups.
It would be cool to have all ROMs installed and as backups, so that it's easier to go from one to another while testing and deciding on which one to use as your daily driver.
Click to expand...
Click to collapse
Yes.
Open up your nand backup file, usually named "nandroid" you will find the last 5 or so backup with date and time used to name the files. The Recovery program may have a limit on how many it keeps at once (i.e. last 5...) However if you're trying to back up specific ROM's you may want to copy and paste these to another area of the SD Card so that they are not overwritten in subsequent backups. You can then move them back (in the event that they are overwritten) to the nandroid folder to restore.
-kp
You can use nandroid to make as many backups as you want as long as you have room on your SD card. It is also safe to rename by mounting your SD card and going to the nandroid folder and renaming each one.
HondaCop said:
Man, how have I lived without doing this! hahahah I guess because I've been living on CM6 ever since the first nightly was released. But I am going to give it a shot too. Thanks.
Click to expand...
Click to collapse
Right now I have a Sprint 1.47 rom with root access, a DC 3.2.3 rom and the latest CM6 nightly all as Nandroid backups. Once the official Froyo update comes out and is given root access by someone here I will replace the Sprint 1.47 with that and have those three backups.
Captainkrtek said:
You can use nandroid to make as many backups as you want as long as you have room on your SD card. It is also safe to rename by mounting your SD card and going to the nandroid folder and renaming each one.
Click to expand...
Click to collapse
I use Amon's recovery and I renamed 4 of my backups a few days ago. They won't restore now, I'm getting the "run from mobile-sh" error

Formatting the SD card

I just recently got the MyTouch4G, got it permrooted and did a full back up of my sd card to my pc, but it's still on stock rom. I want to flash cyanogen7 but there's a lot of junk on the sd card first
My question is if it is okay to do a full format and if so, any advice on important folders or files I should copy back after the format, apart from the clockwork folder (i know that one is important)
Thanks for any help...
Sent from my HTC Glacier using XDA App
Well do as I do just create a dir called Files and inside it make sub dir's and put all stuff you want in it like aduio, video, photo, ect. Also dont worry about the other folders in your root /sdcard. Far as format goes as you backed it up to your PC just format sdcard and if you missed something it will rebuild itself. Make sure you backed up video/photo whatever if you took any. Usually once you install something that requires you to place elements in the root of your sdcard after its complete always remove it this way you save yourself a lot of headaches later on. I always keep my dir nice and clean old habit of *nix world
STHNS said:
Well do as I do just create a dir called Files and inside it make sub dir's and put all stuff you want in it like aduio, video, photo, ect. Also dont worry about the other folders in your root /sdcard. Far as format goes as you backed it up to your PC just format sdcard and if you missed something it will rebuild itself. Make sure you backed up video/photo whatever if you took any. Usually once you install something that requires you to place elements in the root of your sdcard after its complete always remove it this way you save yourself a lot of headaches later on. I always keep my dir nice and clean old habit of *nix world
Click to expand...
Click to collapse
Thanks for your response. Just curious but clockwork recovery on Vibrant saves itself as update.zip (if I remember correctly) on the root of the internal sd card. Where does it save recovery on MT4G? I didn't see an update.zip file after flashing recovery. Thanks again for your response
Sent from my HTC Glacier using XDA App
Its saved under /sdcard/clockworkmod/backup you will see the dir with timestamp. Normally I don't waste time backing up as I know what I am doing but if you do want it then go ahead and just mv the dir to your PC temporarily then sync back to sdcard once you are done.
Whatever data is saved even the cache on SD I know so if I find data that is valuable I still mv it to /sdcard/files and redirect that path. This way I have clean data scheme as you don't want 9000 bs on your root directory.
Thanks again for replying. I know where the nandroid backups are stored but what I was wondering about is the actual clockwork recovery that you boot into in order to flash roms, make backups, etc. On Samsung Vibrant, when you go into rom manager and flash recovery, it creates a zip file on the root of your internal sd. When you do this with MT4G, it puts that recovery flash somewhere.
Sent from my HTC Glacier using XDA App
m00nshake said:
Thanks again for replying. I know where the nandroid backups are stored but what I was wondering about is the actual clockwork recovery that you boot into in order to flash roms, make backups, etc. On Samsung Vibrant, when you go into rom manager and flash recovery, it creates a zip file on the root of your internal sd. When you do this with MT4G, it puts that recovery flash somewhere.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
I think CM comes with clockwork rom manager preinstalled. Your recovery won't change when you flash a rom. There's no need to back up recoveries because they're available in rom manager. If you need cw 3.0.0.5 just download the flashable version from the cm7 forum and save it.
Swyped on my rooted MyTouch4G
Since the mytouch 4g installs some of the apps on the microSD card, does a nandroid backup include those in the system image? Or should I use something like titanium backup for those?
pstu said:
Since the mytouch 4g installs some of the apps on the microSD card, does a nandroid backup include those in the system image? Or should I use something like titanium backup for those?
Click to expand...
Click to collapse
Nandroid will back everything in the system including apps but some data is stored on the sd card as well. My advice is to a nandroid and backup your entire sd card to your pc as well
Sent from my HTC Glacier using Tapatalk
XfooYen said:
I think CM comes with clockwork rom manager preinstalled. Your recovery won't change when you flash a rom. There's no need to back up recoveries because they're available in rom manager. If you need cw 3.0.0.5 just download the flashable version from the cm7 forum and save it.
Swyped on my rooted MyTouch4G
Click to expand...
Click to collapse
This is not really in reference to cyanogenmod but any rooted MT4G. When you root your phone you download and install clockwork. From rom manager, you choose ' flash recovery'. You choose your phone from the list and it flashes the recovery image somewhere on your phone. My question was to find out what directory does it flash recovery to and as what the file is called.
I am currently running gorillasens final but this would be the same as any rom here, possibly the exception being cyanogenmod
Sent from my HTC Glacier using Tapatalk
m00nshake said:
Nandroid will back everything in the system including apps but some data is stored on the sd card as well. My advice is to a nandroid and backup your entire sd card to your pc as well
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
I understand that, my question was whether or not a nandroid backup includes the app data stored on the sd card?
pstu said:
I understand that, my question was whether or not a nandroid backup includes the app data stored on the sd card?
Click to expand...
Click to collapse
No it does not have data stored on sd card
Sent from my HTC Glacier using Tapatalk
What is list files/folders that came stock on the MT4G micro-SD card?
Thanks

Nandroid backup

Hey guys I was just wondering my last sd card busted and I had to get another one so I don't have the nandroid backup from the beginning when I first rooted my phone is this ok?
Sent from my HTC Aria CM7 using XDA App
Its fine you can just flash to stock and backup that
Sent from my Liberty using XDA App
You mean I downgrade make a nandroid backup
Sent from my CM7 HTC Aria using XDA App
does your phone still boot up properly without any issues? i'm assuming since you had backups prevoiusly that clockworkmod is already installed on your phone. you can just boot into recovery and make another backup. it isn't necessary to have your original backup.
Maybe a good time for a reminder that SD cards fail and accidents happen. It's always a good idea to periodically copy the entire contents of the SD card, which will include your nandroid backups, to an empty folder on your desktop/laptop. Just be sure and enable viewing of hidden and system files & folders.
cHarley04 said:
Maybe a good time for a reminder that SD cards fail and accidents happen. It's always a good idea to periodically copy the entire contents of the SD card, which will include your nandroid backups, to an empty folder on your desktop/laptop. Just be sure and enable viewing of hidden and system files & folders.
Click to expand...
Click to collapse
I've been doing this, but I never thought about the hidden files. Thanks!

N9005 nandroid backup - CWM - Backup Size?

Hello
I've just made a nandroid backup from cwm recovery to my external sd card. I have the 32gb variant and the 16gb is used but my nandroid backup made by cwm is 3.8gb.. I've searched in the cwm menu for more options to backup my phone but i didnt see any. e.g. full backup etc. It only has backup and advanced restore? I think that the size of the backup would be 16gb.. Have I done something wrong?
Sent from my SM-N9005 using XDA Free mobile app
Anyone?
Viptr said:
Anyone?
Click to expand...
Click to collapse
No because it didn't t backup your data
rayman95 said:
No because it didn't t backup your data
Click to expand...
Click to collapse
And what Ι have to do to backup everything?? I want to make a backup with everything inside! Apps - settings - my files - app settings etc...
Viptr said:
And what Ι have to do to backup everything?? I want to make a backup with everything inside! Apps - settings - my files - app settings etc...
Click to expand...
Click to collapse
Flash Philz you have more options than cwm but not sure that you can do it completely
rayman95 said:
Flash Philz you have more options than cwm but not sure that you can do it completely
Click to expand...
Click to collapse
Thank you for your advice. I will try Philz as soon as I can. I've customized my omega rom so much with xposed modules etc.. and it's the most beautiful customization I've ever done to my phone and I don't want to lose anything! It's my ideal customization! I've added some s5 features - icons etc and nova launcher with icon packs - played with dpi etc and it' very beautiful! Thank you even if it doesn't work. You've got +1 Thanks from me
If i understand you right, you want to make a backup of your sd card ? You can't do that with a recovery backup. And you don't need to. The rom isn't on the sd card. The 3.8 gb is just right, it made a backup of your rom, that's all you need. You can backup your card to your computer, if you want.
And btw, it's forbidden to bump up your thread in less than 24 hours. People are not just sitting here waiting to answer your questions. Patience.
Sent from my N9005
Dejan Sathanas said:
If i understand you right, you want to make a backup of your sd card ? You can't do that with a recovery backup. And you don't need to. The rom isn't on the sd card. The 3.8 gb is just right, it made a backup of your rom, that's all you need. You can backup your card to your computer, if you want.
And btw, it's forbidden to bump up your thread in less than 24 hours. People are not just sitting here waiting to answer your questions. Patience.
Sent from my N9005
Click to expand...
Click to collapse
OK! Thank you for your answer and sorry for my impatience.
Viptr said:
I want to make a backup with everything inside! Apps - settings - my files - app settings etc...
Click to expand...
Click to collapse
If you are still unsure, the backup did backup everything (apps, settings, app settings...). It didn't backup your personal files (pictures, music, videos,...). That's not the purpose of recovery backups.
It makes an "image" of your current rom, your personal files it's best to backup them to your computer.
Sent from my N9005

[Q] Wipe data & Titanium Backup

Hey there. I have what I bet is a silly question for most here. Anyhow, here goes:
I have my user apps and data backed up with Titanium Backup. Am on stock Lollipop, but will flash CM12 eventually. As it requires a data wipe, my question is how to "save" backed up data in TIBackup so that I can restore everything I need after flashing?
Is everything stored in some specific file/folder that I need to copy to my PC and copy it back on my SD card after flashing CM? Or is it something else?
Thanks in advance.
Misce said:
Hey there. I have what I bet is a silly question for most here. Anyhow, here goes:
I have my user apps and data backed up with Titanium Backup. Am on stock Lollipop, but will flash CM12 eventually. As it requires a data wipe, my question is how to "save" backed up data in TIBackup so that I can restore everything I need after flashing?
Is everything stored in some specific file/folder that I need to copy to my PC and copy it back on my SD card after flashing CM? Or is it something else?
Thanks in advance.
Click to expand...
Click to collapse
yes, you need to back it up in SD card.
nijom said:
yes, you need to back it up in SD card.
Click to expand...
Click to collapse
Oh crap, it's the whole TitaniumBackup folder isn't it? I was hoping it was all compressed in one file, but... Oh well. Thank you for the info, case closed.

Categories

Resources