NAND restore to new different device - Nexus One Q&A, Help & Troubleshooting

I have a new refurbished swapped nexus one from HTC. Question is, can I restore my current nexus one's nand backup onto the new device?
thanks.

Excellent question. I'd like to know if this works too .
Would be a nice way to distribute pre-prepared images (without any sync or google account setup of course)
You may need to rename the nandroid path as it uses the phone serial for the folder name.

Yes, and u need to rename the folder of the serial number with the new one. I've done it.
Sent from my Nexus One

nxt said:
Yes, and u need to rename the folder of the serial number with the new one. I've done it.
Sent from my Nexus One
Click to expand...
Click to collapse
sounds good. i take it that your newly imaged nexus one works as expected?
i stumbled on an htc evo thread that did not recommend doing this as it breaks wimax having to do with keys? i just want to be sure that the new refurbished nexus one will not get crippled in any way with a nandroid restore from another nexus one.
see this thread named "[Q] Nand Restore???? Please Help" in EVO Q&A (i cannot post links)
thanks.

britoso said:
Excellent question. I'd like to know if this works too .
Would be a nice way to distribute pre-prepared images (without any sync or google account setup of course)
You may need to rename the nandroid path as it uses the phone serial for the folder name.
Click to expand...
Click to collapse
How would you do that? nandroid/xxxxx folder you mean?

eViL actually uploaded a Clockworkmod backup for the HD ROM for testing purposes. Everyone was able to install it. Guess this is kinda the same situation.
The folder names should not be an issue, I always rename mine. I think all that matters is the "guts" of the folder.

I don't have any personal experience with the N1 because I only have one,but I had 2 g1's,one mine,one I bought for my little brother,I used to flash a rom to mine,set it up and just do a nand restore on his that way he only was without a phone for a few minutes instead of an hour while I set it up,so I know for sure it works on the G1/MT3G since its the same hardware as the G1.

Related

Restore Nandroid backup from different phone?

Can I restore a nandroid backup from a friends phone on to my phone?
Are there any problems that may occur if I do this?
In theory it should work. AS LONG AS BOTH OF YOU TWO HAVE THE SAME PHONE!!!
Try it and find out, but remember:
ONLY YOU ARE RESPONIBLE FOR BRICKING YOUR PHONE NANDROID FIRST!
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
unCoRrUpTeD said:
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
Click to expand...
Click to collapse
Yeah, it can be done. In fact, I actually save all my nandroids to my computers for safety reasons (e.g., in case my SD card dies on me, or my nandroid becomes corrupted for some unknown reason(s)). Anyway, just place the nandroid in the nandroid/HT[whatever_u'r_id_is]/ on u'r sd card as uncorrupted states above. It shouldn't mess with u'r phone number or what not... but although, you may end up with the same contacts, lol. I'm not sure how that aspect of it works... Try it and find out
I wonder if the nandroid's use the device ID number to label each nandroid (within) the file and if it has to match the device being flashed to... anyway, let us know how it comes out if you do try it. And remember, nandroid u'r current setup first before trying it, just in case it messes up u'r phone for some reason. But I honestly don't fore see that happening. Good luck!
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
tripstermcgee said:
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
Click to expand...
Click to collapse
You should be ok. It will make a new device folder in the nandroid folder, then you can manually move your others over to the new one.
-----
Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
No confirmation post
I wish he would have confirmed this works, I just got a lemon exchange from the SHack and I'm wondering if I have to set it all back up or if I can just restore to an old backup. I understand that this works in theory and I get the whole changing the device id thing but there is no confirmation that this works.
BUT i will try and give a yay or nay confirmation now.
Edit: IT DOES Work. I did this on a LG G2x. It did not have the device ID I expected., (worried me a little it was the wrong stuff), I assume some phone have this some don't, but as far as I can tell this worked just fine.
I'm geeked when i realized I had to redo my 12 emails and sign into a dozen or more apps and config all those personalized settings again I was pissed. But now I'm good.
Thanks XDA and all the Devs and Geeks out there that make this a great site.
no folder as nandroid only clockworkmod which as all my backup. opening a backup folder shows XXXXX.md5, XXXXX.vfat.tar, XXXXX.rfs.tar, XXXXX.rfs.tar, XXXXX.rfs.tar

Switching Between 2 roms w/o wiping.

Just wondering if there is a way to have 2 roms on your phone at the same time and being able to switch between them. I am working on some app dev with googles new app inventor and I seem to be having all kinds of wierd stuff so I want to flash stock for using app inventor while keeping my current Zen Hero in tact so I can just switch back when I am done. I thought there was some kinda rom manager but I wasn't sure if it made you wipe before switching to another rom.
About the only option you have is to nand backup your current rom, wipe everything, flash the rom you want to work with, boot it up and let it load, boot back into recovery and nand backup that one. Then you can nand restore between the two without wiping. If you have a2sd enabled you will want to do backup with ext.
How do I select which nand backup I want to restore. Normally it just restores the last backup and I dont have a choice.
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Also if you have renamed the folder and put a space in it that could cause a problem so you might want to remove the spaces.
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
AjaxBU said:
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
Click to expand...
Click to collapse
Nice! Yeah me too, I go there a lot!
teedo757 said:
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
Click to expand...
Click to collapse
Do you mean when you select "Nand restore"? You shouldn't be selecting Nand backup if you are trying to restore a previous nandroid. Also, what version of recovery do you have?
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
unCoRrUpTeD said:
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
Click to expand...
Click to collapse
Works. Thanks a ton.
teedo757 said:
Works. Thanks a ton.
Click to expand...
Click to collapse
You can edit the names of the folders that are located inside /nandroid/(device_name). The folder name is originally named after yyyymmddhhmm or something similiar. Just rename them with no spaces or symbols, then you will know which one is which.

[Dev] Help needed, no apps in market??

I created a custom Rom, a really great mash up for people that like certain things from eugenes R2 final and Nero using KA6 while also implementing a very nice stock look (stock gingerbread messaging, dialer, contacts)... calling it Frankenstein. I of course will give credit and am not taking any credit away from these real great devs... this is just a mash-up.
This is where I need my [Help] while doing this, testing on my vibrant etc. I have managed to mess up my market.... my phone started off by not being able to connect (data) at all, and only having basic phone ability (mms, callling out).. I have fixed that, but no matter if I odin back to stock, do the eugene froyo odin/reformat back to jfd.. the market will not update. No apps really whatsoever... I get more apps when going to a rom like Nero V5 vs. stock JFD.. so this tells me that I am getting the market the way it was when they were implemented into the roms? but even with nero v5 im still missing a great deal such as titanium backup, file managers... even little things like doodle jump....
anyone that can provide detail that leads to a fix i will happily donate $15 via paypal, no big deal.
files must be missing, would love help.
Edit: have tried clearing data, resigning in.. all the little things... and as i said i have flashed back to jfd... now im on jfd with apps such as firefox test.. and a bunch of apps that were most likley the first apps ever put on market.. this puzzles me.
Thanks, Brandon
the only featured app right now is auto focus snake.. which looks like a android test app...
http://www.google.com/support/forum/p/Android+Market/thread?tid=55c997eccabf0a6a&hl=en&start=40
seems to be an issue with SGS devices and the market? WTF
Attached is a copy of the vending.apk I've been using in my kangs, and haven't had a problem with it. It shows all apps, on my phone its updated by now, but if it isn't when you push it, it should update properly given a little bit and a reboot. I would say if this doesn't fix your issue, it may be something else in your build. Just push the file to the system/app folder in your build, reboot and test it. Or, copy and replace the vending.apk in your working files, recompile and flash your rom, and test it. Good Luck.
so, select section you want, select free or latest or whatever, and you will see them.... or just search for the app you want
IMEI issue
I had the same issue all test apps in market and really no access.
I had to restore my backup and relock the phone.
Now all is working.
It is because certain apps don't recognize the Vibrant's build number. (T959KA6 is an example of a build number)
Sent from my SGH-T959 using XDA App
No I flashed back to stock tried Nero 5. Nothing helped had to restore nvdata. Imei was something like 004 phone was unlocked and tested on ATT. Look when you go into the market and it popup saying phone kay not support the market. Tried multiple google accounts its linked to your google account and your imei for supported apps on your type of phone.
Sent from my SGH-T959 using XDA App
saintjmf said:
No I flashed back to stock tried Nero 5. Nothing helped had to restore nvdata. Imei was something like 004 phone was unlocked and tested on ATT. Look when you go into the market and it popup saying phone kay not support the market. Tried multiple google accounts its linked to your google account and your imei for supported apps on your type of phone.
Sent from my SGH-T959 using XDA App[/QUOTE
there we go, my imei starts with 004 too, and is not my original imei.. what is the easiest way to restore my files? if you could give step by step that would be great! thanks mate.
Click to expand...
Click to collapse
You have to have a backup copy of your original.
If you do delete the files that start with nv -- in the /efs directory.
You probably can see your original IMEI if you open the file that is hidden in the directory /efs it is .imei -- That held the correct number for my IMEI. not sure if someone knows how to use that if you dont have an original backup of nvdata.bin.
I took nvdata.bin and put it in the /efs directory.
removed all files that start with nv in /efs example nv2data.bak
rebooted phone it built md5 from nvdata.bin.
factory reset and all apps back.
I also coudlnt get my pro license of titanuim backup to register with google checkout until this was completed.
saintjmf said:
You have to have a backup copy of your original.
If you do delete the files that start with nv -- in the /efs directory.
You probably can see your original IMEI if you open the file that is hidden in the directory /efs it is .imei -- That held the correct number for my IMEI. not sure if someone knows how to use that if you dont have an original backup of nvdata.bin.
I took nvdata.bin and put it in the /efs directory.
removed all files that start with nv in /efs example nv2data.bak
rebooted phone it built md5 from nvdata.bin.
factory reset and all apps back.
I also coudlnt get my pro license of titanuim backup to register with google checkout until this was completed.
Click to expand...
Click to collapse
i do have a back up of my efs folder thank god. what program did you use to access your efs folder is what im saying? not sure if i have access to adb commands on this machine that i am using, any other way?
and remember i cant use market, so if someone can maybe provide a program to navigate my phone files from my pc, i can just put back in the nv data
I used root explorer
Sent from my SGH-T959 using XDA App
Can I flash this with clockwork mod? And does the voodoo kernel and sounds work with this?
I created another thread about this as I believe there maybe alot more users with this issue
Sent from my SGH-T959 using XDA App
whit this program you use to access your efs folder
http://www.mediafire.com/?c8x8wvpc9vhcd5x
shon yakobi said:
whit this program you use to access your efs folder
http://www.mediafire.com/?c8x8wvpc9vhcd5x
Click to expand...
Click to collapse
said this version is expired, need to update manually?
saintjmf said:
I used root explorer
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
do you know if there is a rom out there that has this preinstalled? remember i cant get apps because of that market.
The problem [might] be inside the build.prop.
Try changing:
Code:
ro.build.fingerprint=Samsung/SGH-T959/SGH-T959/SGH-T959:2.2/FROYO/UVKA6:user/release-keys
to
Code:
ro.build.fingerprint=Samsung/SGH-T959/SGH-T959/SGH-T959:2.1-update1/ECLAIR/UVJFD:user/release-keys
total commander
whit this program you use to access your efs folder its ok no problom
http://forum.xda-developers.com/attachment.php?attachmentid=494485&stc=1&d=1295487965
IMEI
You're IMEI can easily be found by just taking out your battery and looking under it at the sticker with all the numbers and bar codes. It may just show IME and have either dashes or periods (you can ignore the punctuation). That is your original IMEI (this is nothing more than your serial number, make sure you know what it is because if you ever have a hardware issue and want to still utilize your warranty then they check by this number, and of course unroot the phone first so it won't be considered out of warranty)

[Q] Things to do/save BEFORE flashing ROM

...[from elsewhere] ...I didn't see any mention of this in the how-to threads so I didn't back up my EFS files from the stock rom. Anyone here have had any issues with this after going back to stock?
Click to expand...
Click to collapse
That is an example of things that are scattered in many threads...specifically, what are the things you should DO or SAVE before flashing a new ROM?
Above seems to be one (except is "EFS" a folder or what?). Would folks please offer your suggestions of the "protective" steps to be done/preserved in case of future difficulties.
Actually, in addition to the one quoted, doing a Titanium Backup is in almost all of the how-to discussions, so I guess that is already covered.
efs is really only relevant if you plan on using kies. Your phones product code and imei number are stoped in those files. flashing roms can alter these files. I have never done this. If you want to down load root explorer, or free option android mate. I would pay for root explorer. Find the efs file copy and paste it to your internal sd. Then save it to your pc
Android id. Dl android id changer from market. if you have not already dl busy box from market. Install busy box using app. Open android id changer, click save id, custom flashes change this and it us god to have it saved, you can restore using same app after flash
Do you know what odin is?
Do you know your build number?
mcord11758 said:
efs is really only relevant if you plan on using kies. Your phones product code and imei number are stoped in those files. flashing roms can alter these files. I have never done this. If you want to down load root explorer, or free option android mate. I would pay for root explorer. Find the efs file copy and paste it to your internal sd. Then save it to your pc
Android id. Dl android id changer from market. if you have not already dl busy box from market. Install busy box using app. Open android id changer, click save id, custom flashes change this and it us god to have it saved, you can restore using same app after flash
Do you know what odin is?
Do you know your build number?
Click to expand...
Click to collapse
Recapping this...
EFS is a file. Can save it using Root Explorer or Android Mate.
I have copied down all the data under the battery. Is there more than that in this file?
I am confused about second paragraph. You mention download
Android ID Changer
Busy Box
Which one is it that captures the Android ID? And obviously it saves it, but where?
Yes, odin is mentioned in the how-to's, but it IS part of the flashing process. I am looking for things that should be done BEFORE starting that.
Yes, I know the build (1006). It is part of the data under the battery. And flashing wouldn't destroy or modify that.
Yes the efs had your csc or product code. If you flash a rom that is a port from another device this may be changed. Not an issue if you do not use kies.
Busybox is an app that installs commands onto your phone that certain programs need to operate correctly. Titanium backup and android id changer need this to function correctly. Android id changer saves your id in a file on your internal sd. The file is called update.id when you flash a rom you open the app again click load id, then change id. Phone reboots, id us back to your original id
Odin is a utility that flashes you back to stock 2.1. It is used by many as a safe way to go from rom to rom with a clean install. It is also used to recover from software bricks.
If you have more questions that pop up pm me, this way we are not clogging up the q&a
I think the exchange helps many people who I assume, like me, are trying to sort all this out.
MAIN purpose of the thread is to identify things to do/save before beginning the 'change to another ROM' process--which to me would include the Odin flash back to stock if you aren't there already.
But these side question resolutions are pertinent.
Your Busybox comment threw me a curve. It sounds like you are saying it installs stuff TiBU and Android ID Changer need in order to work. You mean TiBU as downloaded from the market does not work as a standalone app?
tibu needs busy box. If you download tibu and open the app there is a button on the bottom that says problems. If you click it it will also look to install busy box commands.
You are right about the usefulness of threads like this, no disrespect but it looks like you joined xda 4 days ago. These types of discussions are constant and rehashed on nearly a daily basis. For some odd mental quirk I read then all and help when I can. There are a thousand questions you can have, the offer to pm was to keep it easy
I have been reading for two weeks--I mean reading A LOT, not just 4 days ago; that was when I registered on the site. This is a =wonderful= resource, but it is a plain fact that what you need to know is scattered all over the place, both video and written how-to's. I have not found a single one that includes everything you need to know. I mean, for example, they will tell you to do something, which seems trivial to them, but which really involves other knowledge. And that sounds like a non-isue, but in fact it is a complete showstopper for "us" types. Yes, you can go off hunting to clarify the incompleteness, but that is exactly what I am talking about--hunting all over the place.
By the time someone gets to the point they can create something with completeness, the problem is...they are already to the point they can create such a thing. That contradiction arises from it being almost impossible to remember what you didn't know "back then."
I had been studying HARD trying to get "it," everything you need to do to flash a different ROM. Then, a day or so ago, in all that hunting around I speak of, someone mentioned "be sure you ... before you flash." It dawned on me that, when you think you are ready to flash, you aren't. There are things that should be done BEFORE. I started the "hunt" again as alluded to here. Then I said, dang, all us newbies would be well served if all the preliminary do's and save's were in one thread (preferably, ultimately in one LIST). Thus the reason for this thread.
If I am wrong, and other newbies really don't need to know these things, then yes, it can be done in PM. Others will never see it, and still be stuck in the hunting-all-over mode. Thus, I think it is desirable and helpful to others to put it in public, in one thread.
Once again no disrespect. Your point is taken.
Tibu to back up all your user apps, no system information. unless you want to learn how to use odin in the case of issues
Android id changer to back up your android id
Rom manager to back up your current setup, and flasg clockwork recovery. Never restore a backup of one rom on top of another rom
Contacts to external sd, sim, or sync with google
Efs using root explorer to copy folder and save in pc
Odin to flash stock and or recover from software brick. Builds 1010 and above do not use one click odin
No offense taken, and that's a great input. Thanks.
If others see anything else, please contribute.
Ok, I am also new at this, I have flashed 3 Roms. This is what I have done when changing ROMs.
Download Titanium Backup and rom manager. Back up your apps with Titanium Backup.
Download the ROM you want to flash.
Download Odin.
Turn on usb debugging.
Plug phone into the computer, pull down the notification window and click on usb to mount the sd card.
Open this up to look at files.
You should have an update.zip file you can copy to your desktop. You also should have a folder named Titanium Backup that you can save as well.
Once you have this, you can begin.
Take your phone to stock using odin. There are several tutorials available. I used this one,http://forum.xda-developers.com/showpost.php?p=10056254&postcount=36 because I have a 1010 phone.
Once this is done, I push the voume up and down along with the power button. You will get a menu giving you a choice to reinstall packages. You need to click this, go to yes, and it will pull up to the same menu again. Hit reinstall packages again which will get you to clockwork recovery.
Now, I chose to wipe/factory reset to make sure my phone was "clean".
Then, I chose to apply the update.zip.
Then, I chose to install a zip file from the sd card, scrolled down to the rom file, and chose it.
Then it will install the Rom. You will choose go back, then reboot the system. Then your Rom should be installed.
I think I remembered everything. I used a few tutorials:
http://theunlockr.com/2010/08/02/how-to-load-a-custom-rom-on-the-samsung-captivate-vibrant/
and this one:http://forum.xda-developers.com/showpost.php?p=10183875&postcount=4
Hope this helps!
OOPS. Thanks, but this thread is for things to do or save BEFORE starting the ROM change.
So... let's say that you didn't save your android id before you flashed... will that cause problems?
beryxil said:
So... let's say that you didn't save your android id before you flashed... will that cause problems?
Click to expand...
Click to collapse
You tell me. Did you? Are you experiencing problems?
it depends on the rom you are using. You may experience issues downloading from market and certain games may give you issues.
If you did not save it and you are not having problems then no big deal. You can go back to stock and save it, then flash again.

[Q] Create Copy of SGS

I want to create a copy of my phone as it is (not just user data, but everything, firmware and databases too) - so TitaniumBackup is probably not sufficient for what I need.
The idea is to be able to explorw all aspects of the phone on my computer - things such as passwords etc.
I repeat, I do not just want the firmware, but everything from my current phone in its current state.
I have already rooted it, just not sure what I need to do from here? Assume it's something Linuxy or Telnet based? (I am using a Windows Machine, so ideally something I can do on there)
Thanks for your help
i think to access the complete ROM via a PC you would need some sort of linux OS. you can do a nandroid backup via CWM and find a compatible program to let you browse thru the md5 file format but then again im not sure thats possible via windows OS... perhaps you could ask one of the Dev's for advice as im sure not all them create roms, themes, apps using linux based OS's ???
I think I did try to post this in the Dev section, as I felt it was better suited there, but maybe by selecting the 'This is a question' option, it got moved into this forum.
I have a backup using CWM which has produced some IMG files - will take a look in them and see if it's got what i'm looking for it in there.
I thought maybe I would need ADB running, but maybe I don't.
ADB is like having some Chinese woman teaching you German...... totally confusing..... at least it is for me anyway but good luck hope you do what you set out to do
what you want is NAND back up.
Search for rom manager on the market.
You must be rooted for this.
NAND back up is like creating the back-up image of your current cell phone just like you do it for your computer.
it backs up your phone completely.
Do some googling and you will see.
[email protected] said:
what you want is NAND back up.
Search for rom manager on the market.
You must be rooted for this.
NAND back up is like creating the back-up image of your current cell phone just like you do it for your computer.
it backs up your phone completely.
Do some googling and you will see.
Click to expand...
Click to collapse
Rom Manager does not back up your kernel. Use sgs kernel flasher for this task.
Sent from my GT-I9000 using XDA App

Categories

Resources