[Q] Restore Image from one Nook to another? - Nook Color General

I had to replace my Nook because of a bad SD card retaining clip. Does anyone know if I can restore the image from my previous NC to the new one? It was a rooted stock 1.1. The only thing I can think of that would give me trouble is the B&N registration.
Thanks

You should make dd images of system, data and boot of the current NC.
Then root the new one and dd back the three images..
Sam
Sent from my HTC Desire using XDA App

Any how would we do this? Do we need a modified Clockwork SD? Is there a script for that avail?

Related

Need help rebuilding emmc

Ok fellas, my nook color has been out of commission for over 2 months. I can boot from sd but not from internal emmc.
Sam has been helpin me but it has been difficult due to him being in a different part of the world. From what i've been told my emmc is corrupt and my partitions need to be rebuilt or formatted.
I have tried the different fixes here and still i am stuck on the N screen.
I am trying to return my NC to stock form.
I will let Sam chime in also. I know there are a lot of talents on this forum and pretty sure this can be fixed.
Thanks everyone..
Sent from my SGH-T959 using XDA App
Hi,
As Wendell said, I've tried helping him with his corrupt emmc.
The problem is:
The emmc semms to be corrupt, or at least some sectors of it. Wendell cannot return it, because it boots to CWR. That's the strange part, though the disk seems totally corrupt, it still seems to be able to boot. I guess some sectors and still working. But I don't know of any way to find out which..
This is what I know so far:
The internal emmc generally returns I/O error when trying to use fdisk or parted.
But, somehow, depending on the bs and count, I can dd /dev/zero to it.
Even after having dd zeros to it, it still seems to boot to internal CWR. So, the dd isn't working. Still don't know why, or how to remedy to it.
If someone could give us a clue or two here, it would be very much appreciated. I must admit I'm really no HDD expert..
Thanks!!
Sam
http://nookdevs.com/Flash_back_to_clean_stock_ROM
Have you guys tried this? Or has an internal EMMC rom been flashed?
Any idea how the partition became corrupt? Did you dual-boot?
Partition became corrupt after flashing a couple of the very first OC kernels. Not sure if thats what caused it but wouldn't boot past N screen. Since then i have been trying to fix it by doing the several fixes to no avail and possibly damaging the emmc even more.
Sent from my SGH-T959 using XDA App
fprice02 said:
http://nookdevs.com/Flash_back_to_clean_stock_ROM
Have you guys tried this? Or has an internal EMMC rom been flashed?
Click to expand...
Click to collapse
Please correct if I'm wrong but i think i need the stock recovery for this method. Unfortunately, the stock was replaced with CWR and now i cannot even get rid of CWR off the internal. If I could do it again, I would not place CWR on internal but rather run it off sd. I installed CWR via rom manager because the sd method was not yet available.
Try option number 3 in the thread I made in the general forum. the clockworkmod recover + stuck at " " screen. Flashing cwm via rom manager can cause corrupted /boot partition
Sent from my Vortex using Tapatalk
Woot , thanks for your response.
I have tried those methods to no avail. I can currently boot into CWR via 'home+N' but here is the crazy part, I cannot use the zip that sam made to remove CWR from emmc or even try to update to 3.0.1.0 via the CWR zip. My CWR on the emmc will not budge at all.
Sam, has even tried to erase my emmc totally from being able to boot to CWR just so I can get it looked at by B&N but CWR will not budge.
Excuse my ignorance, but will linux run off the sd card on the nook?
What about using something like GParted? Perhaps the USB bootable image on the sd card might work?
I know you are all trying to help. But please keep in mind that there aren't any obvious answers here. The emmc is corrupt. You can't flash anything to it.. and as I already stated, parted won't work either, it returns I/o error.
The only strange thing is that the nook still boots.. I can't understand that as the emmc lacks any partition table.
We need someone with hdd repairing experience. None of the answers found on existant threads will help Wendell..
Thank you.
Sam
Sent from my Desire HD using XDA App
samuelhalff said:
The only strange thing is that the nook still boots.. I can't understand that as the emmc lacks any partition table.
Click to expand...
Click to collapse
The boot may be from real hardware/non-eemc rom.
I know you said it's a emmc error - but have you tried to flash back to stock using CWM off of the SD with thecubed's MonsterRoot pack?
Yes
Sent from my SGH-T959 using XDA App
I'm sure you have tried this... but just in case...
Can you fdisk the partitions... then dd image img files to it?
I don't know if you will have any way of saving mmcblk0p2 and 3 to save your device specific information.
I believe sam has already tried
Sent from my SGH-T959 using XDA App
Here is what i would try.
First thing, get a cwm sd card setup that is bootable and has a decent amount of space so you can backup your emmc. The cwm sd card will allow us to adb in, but not worry about having any emmc partitions mounted (booting to a full android image would want at least the mmcblk0p2 partition mounted).
Make sure you have adb setup and working, so you can adb in once you've booted into cwm from the sd card. Make sure you know how to use adb pull and adb push to get files onto and off of the device easily.
Boot from the card, adb shell into the device. make sure when you are doing dd commands you are pulling from and writing to image files in a directory on the sd card, not on the emmc. you probably shouldn't even have any emmc partitions mounted at all.
Note: dd and bzip2 are both on the cwm 3.0.10 ramdisk, dunno about the earlier versions
I'd make a backup image of your emmc just in case things go from bad to worse:
Code:
dd if=/dev/mmcblk0 | bzip2 -9 > backup.img.bz2
This will take a while.
Now you'll need a MBR from someone with a stock partition table (i'm dual booting so mine probably won't work, otherwise i'd make one for you). Any volunteers?
Code:
dd if=/dev/mmcblk0 of=mbr.img bs=512 count=1
Once you have this file, just dump the image onto your emmc.
Code:
dd if=mbr.img of=/dev/mmcblk0
once you have a working partition table, you should be on your way to using the standard recovery techniques peppered throughout the forums.
btw, this won't fix any corruption in the extended partition table, that would take a little more effort (i'd have to read up on where/how that info is saved). Also obviously if it's a hardware problem rather than just corrupted data you have more problems than this will fix.
p.s. cwm loading witch a corrupt partiton table isn't that weird imho. the bootloader has barely over 400 bytes to load up the boot file and hand things off, it's probably not taking a close look at the partition map when it does this.
I know am probably being a stupid noob...have you tried the 8 failed boots?
Sent from my NookColor using Tapatalk
wendellc said:
Woot , thanks for your response.
I have tried those methods to no avail. I can currently boot into CWR via 'home+N' but here is the crazy part, I cannot use the zip that sam made to remove CWR from emmc or even try to update to 3.0.1.0 via the CWR zip. My CWR on the emmc will not budge at all.
Sam, has even tried to erase my emmc totally from being able to boot to CWR just so I can get it looked at by B&N but CWR will not budge.
Click to expand...
Click to collapse
Again..probably being a noob...are the file permissions set as ro? Mayhaps you need to change permissions?
Sent from my NookColor using Tapatalk
Lol.
Thanks for all your input.
DD and fdisk return i/o error. DD only works if I use i.e 1M as BS.
It seems there isn't any partition table on the emmc.
I guess some sectors are dead. The idea would be to identify which ones and erase them.
Although simply being able to remove the bootloader would allow Wendell to bring it back to the shop..
Maybe someone has a clue as to how to delete completely the first X sectors of emmc..?
Thanks.
Sent from my Desire HD using XDA App
samuelhalff said:
Lol.
Thanks for all your input.
DD and fdisk return i/o error. DD only works if I use i.e 1M as BS.
It seems there isn't any partition table on the emmc.
I guess some sectors are dead. The idea would be to identify which ones and erase them.
Although simply being able to remove the bootloader would allow Wendell to bring it back to the shop..
Maybe someone has a clue as to how to delete completely the first X sectors of emmc..?
Thanks.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Did you read my post? It is exactly telling you how to replace the first sector of the emmc. you can source it from /dev/zero with a bs=512 and a count=1 if you really wanna wipe the bootloader, but better would be just getting it working yeah? all our nooks have the same partition map (unless we are dual booting) and that map is stored on the first sector. My instruction tell how to pull the first sector with dd, and how to push it back on. notice i'm accessing the mmc directly? not the partitions? so unless his hardware is bad (or the extended partition is corrupt too) then my instructions will work. He just needs a copy of the first sector of a working nook. I'd put mine up but i'm not sure it would work, i have two extra partitions from stock. It probably wouldn't matter, but i'm not 100% sure on that, so i'd rather it be someone else that makes the image from a nook with a stock partition map (the contents of the partitions can be whatever, as long as they are all in the same place as stock).
Hi,
Thanks. Yes, I read your post. dd, for some reason, only works if I set bs to at least 1M. I don't have the NC, but maybe Wendell could confirm that.
Wendell: go to "adb shell" and type [dd if=/dev/zero of="/dev/block/mmcblk0" bs=512 count=1] without the [].
Please confirm that this returns an I/O error.
But for some reason, using 1M or greater as bs works, but the bootloader still isn't erased.. it still boots to CWR..
I'm pretty sure all the I/O error i've had mean that there's a hardware failure.. But that's my opinion, nothing more..
Thanks.

[Q] Backup Virgin Nook Color 1.1?

I recently purchased a Nook Color just for the purpose of root / rom'ing it.
No problem there - CM7 and loving it.
So much so, my Mom has now gone out and bought one - asking that it get the ROOT/ROM treatment.
Not a problem.
It's still in the sealed box - and I was thinking this would be a perfect candidate / time to do a full backup of the Virgin system, just to have for ease of reverting should service / return be needed.
I saw in the Dev section someone posting a multi partition full backup of a virgin 1.01 - but no steps on how it was done.
I've got a pretty good idea (bootable CWM) - but wanted to make sure of the steps so I dont forget something / partitions / etc.
Anyone able to give me a hand?
Mom's chomping at the bit for it - and I dont know how long I can keep this nookie a virgin
Thanks in Advance.
Monsterroot pack
I had a similar request. In my case, I used Autonooter 3.0 with BN ROM 1.1.
Because I didn't change the partition size, I just created a CWM bootable on SD using MonsterRoot 0.7 and created the backup on the SD card.
I used Autonooter because the friend wanted to keep the stock BN reader and also wanted to used the Nook user manual.
I figure I just need to make an SD bootable CWM... that part is easy / well documented.
What I'm fuzzy on is:
Can I boot to CWM SD right out of the box?
No Root - first power on boot straight to CWM and back up the unregistered (virginal) 1.1 Nook OS
If so - I'm fuzzy on what / how to back up "all" the partitions....
I am familar with backing up the current rom and restoring it.
Just need to know how I back up each partition, so I get a full image.
Thanks in advance.
NetForce-TX
Technologia Liberabit Vos
Technology will set you free

[Q] nook Color 1.1 not booting to sd

I've been trying to use autonooter 3. I wrote the image to SD with dd if=image.img of=sd. With my appropriate values of course. The nook will not boot with the SD inserted. If I take it out sometimes it still wont boot for a few presses/plugs. New to nook but not Droid or nix so let me know what's wrong if you can.
Got to boot now and see softkeys and YouTube when I try to use some of the soft keys I get a message saying cannot execute as root.
Used cwm SD to flash rooted 1.1. Easy enough.
Sent from my SGH-T959 using XDA Premium App

install cm after rooting

Hi, i wanted to ask this to leapinlar in this thread: http://forum.xda-developers.com/showthread.php?t=2062613, but since i can't, i will ask it openly. I've rooted a Nook HD+ 2.2.0 following that guide succesfully. Now I would like to try out cyanogenmod, but just try it out so if possible i would to run a hybrid configuration without changing to much in the internal file structure. My goal is to be able to use the tablet without the high temps i get whenever i look at videos or even use the web browser in the stock os.
So, after following the guide from that thread what would be most simple way to install cyanogenmod? (i mean, without following the other guide which would mean doing a factory reset, getting a 4gb sd card and other stuff)
Thanks
porompom said:
Hi, i wanted to ask this to leapinlar in this thread: http://forum.xda-developers.com/showthread.php?t=2062613, but since i can't, i will ask it openly. I've rooted a Nook HD+ 2.2.0 following that guide succesfully. Now I would like to try out cyanogenmod, but just try it out so if possible i would to run a hybrid configuration without changing to much in the internal file structure. My goal is to be able to use the tablet without the high temps i get whenever i look at videos or even use the web browser in the stock os.
So, after following the guide from that thread what would be most simple way to install cyanogenmod? (i mean, without following the other guide which would mean doing a factory reset, getting a 4gb sd card and other stuff)
Thanks
Click to expand...
Click to collapse
Try one of bokbokan's SD install versions. Either CM10.1 or CM10.2.
Sent from my SCH-i705 using XDA Premium HD app
Thanks leapinlar for your response, yeah that was the guide i was referring to, the "for dummies guide". So this would mean i have to get a 4gb sd card, do a factory reset, install CWM in the internal memory and everything else that is written there? (this would mean overwriting the root i already did?) Or can i just use the CWM sd card that i used for the root and install cyanogen from the zip?
porompom said:
Thanks leapinlar for your response, yeah that was the guide i was referring to, the "for dummies guide". So this would mean i have to get a 4gb sd card, do a factory reset, install CWM in the internal memory and everything else that is written there? (this would mean overwriting the root i already did?) Or can i just use the CWM sd card that i used for the root and install cyanogen from the zip?
Click to expand...
Click to collapse
The 'for dummies guide' is for putting CM on internal memory replacing stock. You said you wanted to leave stock alone and install to an SD. That is why I suggested one of bokbokan's SD ROMs in the dev forum.
But yes, you can use the CWM SD you created to do the root to install a CM ROM to internal memory replacing stock. Just follow the dummies guide after the creation of the CWM SD.
Sent from my BN NookHD+ using XDA Premium HD app
leapinlar said:
The 'for dummies guide' is for putting CM on internal memory replacing stock. You said you wanted to leave stock alone and install to an SD. That is why I suggested one of bokbokan's SD ROMs in the dev forum.
But yes, you can use the CWM SD you created to do the root to install a CM ROM to internal memory replacing stock. Just follow the dummies guide after the creation of the CWM SD.
Sent from my BN NookHD+ using XDA Premium HD app
Click to expand...
Click to collapse
hi again, i've been using the hybrid install and now my SD card is full and the OS is slow (i can't see the files that are making it full)... should i expand the partition in the sd card? (it is 127 mb)
hi again, so today i had another problem: i had to restart the nook because the cyanogen OS froze and during boot the SD card was never detected... so i turned it off, got the SD card out and the nook did a factory reset on its own with which i lost all my data!
i am wondering if the root was also lost amd what should i do to prevent this from happening?
porompom said:
hi again, so today i had another problem: i had to restart the nook because the cyanogen OS froze and during boot the SD card was never detected... so i turned it off, got the SD card out and the nook did a factory reset on its own with which i lost all my data!
i am wondering if the root was also lost amd what should i do to prevent this from happening?
Click to expand...
Click to collapse
Yes, if the device reset, you lost everything, including root if you had it. The way to prevent the device from reseting is to not let it fail to boot 8 times in a row. Turn it off until you get an SD inserted that boots properly.
Sent from my BN NookHD+ using XDA Premium HD app

[Q] Can I use the same bootable SD card to install CM11 on multiple Nook HD+?

Hello fellas, so I followed one of Leapinlar's guides on how to install CM11 onto my Nook HD+ 16gb. Everything went great and my Nook has been performing flawlessly all this time. I happen so have two Nook HD+ devices, and now that I know how much better CyanogenMod is compared to the stock OS, I want to install CM11 on the second one as well. I still have the bootable 2GB SD card I used to install CM11 on the Nook (used same card to backup stock B&N OS). At this stage, I plan on using the Nook until it dies on me, gets broken, or stolen. I don't see why I would go back to the stock OS.
1. Could I use the same bootable SD card to install CM11 onto the second Nook? was the serial # or anything of that sort saved onto the SD card making it unique to the device or something?
2. I have already done a Full baseline backup of my Nook on a FAT32-formatted SD card that isn't bootable. Is this backup better than the original bootable backup SD I made originally? Why would I still need the original stock B&N OS backup?
I couldn't find any threads on the subject, so I'm kind of hesitant to try it myself. Don't want to brick the Nook. Maybe one of you has tried it. Well, Happy Holidays to all of you. Thanks for the great forum.
Portable bootable
Merazomo said:
...
1. Could I use the same bootable SD card to install CM11 onto the second Nook? was the serial # or anything of that sort saved onto the SD card making it unique to the device or something?
...
Click to expand...
Click to collapse
My understanding is that even bootable variants of CM11 still go to the Nook's internal storage to get device serial #, MAC address, etc. So, one bootable SD card should be portable between devices.
I originally created a bootable SDcard variant of CM11 and liked it so much, that I decided to install it internally. Before I did that, however, I did back up the entire device (in case I decide to sell it). I then (search for the thread) made a bootable SDcard with B&N's OS v2.20. That way, if there's ever a reason you want to go back to the B&N OS, you can.
Merazomo said:
Hello fellas, so I followed one of Leapinlar's guides on how to install CM11 onto my Nook HD+ 16gb. Everything went great and my Nook has been performing flawlessly all this time. I happen so have two Nook HD+ devices, and now that I know how much better CyanogenMod is compared to the stock OS, I want to install CM11 on the second one as well. I still have the bootable 2GB SD card I used to install CM11 on the Nook (used same card to backup stock B&N OS). At this stage, I plan on using the Nook until it dies on me, gets broken, or stolen. I don't see why I would go back to the stock OS.
1. Could I use the same bootable SD card to install CM11 onto the second Nook? was the serial # or anything of that sort saved onto the SD card making it unique to the device or something?
2. I have already done a Full baseline backup of my Nook on a FAT32-formatted SD card that isn't bootable. Is this backup better than the original bootable backup SD I made originally? Why would I still need the original stock B&N OS backup?
I couldn't find any threads on the subject, so I'm kind of hesitant to try it myself. Don't want to brick the Nook. Maybe one of you has tried it. Well, Happy Holidays to all of you. Thanks for the great forum.
Click to expand...
Click to collapse
Yes the same bootable SD can be used on multiple HD+ devices. But the backup files from the first device should be moved somewhere else since there is not room for two different backups on a 2GB card. And that first backup is unique to that device and should not be used on the second device, but the basic CWM is ok to use.
The original stock backup is useful if you want to go back to the way it was before installing CM. But it is not really necessary since you can flash the stock ROM from my HD/HD+ CWM thread linked in my signature (item 6) to get back to original out of the box condition. This might be useful if you need to return the device to B&N under warranty. Having CM installed on it when you return it voids the warranty.
Sent from my BN NookHD+ using XDA Premium HD app
leapinlar said:
Yes the same bootable SD can be used on multiple HD+ devices. But the backup files from the first device should be moved somewhere else since there is not room for two different backups on a 2GB card. And that first backup is unique to that device and should not be used on the second device, but the basic CWM is ok to use.
The original stock backup is useful if you want to go back to the way it was before installing CM. But it is not really necessary since you can flash the stock ROM from my HD/HD+ CWM thread linked in my signature (item 6) to get back to original out of the box condition. This might be useful if you need to return the device to B&N under warranty. Having CM installed on it when you return it voids the warranty.
Sent from my BN NookHD+ using XDA Premium HD app
Click to expand...
Click to collapse
I'm sorry, one last question. Would it be accurate to say that I can drag and drop the original B&N backup file I have in my 2GB sd card to my computer, zip it, save it, delete it from the sd card, and then do the same process for the second Nook HD+? Zip, save, and delete the original backup. Would the sd card still be bootable to install CM if I were to play around with only the backup and nothing else? DeanGibson and you leapinlar have pretty much answered my question completely. At this point I just want to pick my brain, all of this was pretty interesting. I won't bother you guys with any more questions regarding this subject, so thank you very much for the help.
Just one answer
Merazomo said:
I'm sorry, one last question. ...
Click to expand...
Click to collapse
Actually, you had two questions ... However, the answer to both is yes.
Merazomo said:
I'm sorry, one last question. Would it be accurate to say that I can drag and drop the original B&N backup file I have in my 2GB sd card to my computer, zip it, save it, delete it from the sd card, and then do the same process for the second Nook HD+? Zip, save, and delete the original backup. Would the sd card still be bootable to install CM if I were to play around with only the backup and nothing else? DeanGibson and you leapinlar have pretty much answered my question completely. At this point I just want to pick my brain, all of this was pretty interesting. I won't bother you guys with any more questions regarding this subject, so thank you very much for the help.
Click to expand...
Click to collapse
Yes you can copy the backup files to your PC and delete the originals, but there is no need to zip them since they are already compressed and it is best to leave them native since they need to retain their md5 sums. The card will still be bootable.
Sent from my BN NookHD+ using XDA Premium HD app

Categories

Resources