yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] gtkansan:
After a lot of work I got CWM back through nookie froyo.

I installed root explor through adb (ADB install rootexplorer.apk) while booted up into nookie froyo. Other programs exist on the market to be able to RW whatever directory you want, but I purchased this in the past and so had the apk available through a Titanium backup.

Then used root explorer to set RW on /media and /system so I could get the recovery file to transfer over to the device. New instructions used:

Save this file to the androidsdk/tools folder on your drive:

http://koush.tandtgaming.com/test/cl...3-nook-uRecRam

adb push clockwork-b3-nook-uRecRam /media/

adb shell

su

mkdir /system/boot/

mount -t vfat /dev/block/mmcblk0p1 /system/boot

cat /system/boot/uRecRam > /system/boot/uRecRam.bak

cat /media/clockwork-b3-nook-uRecRam > /system/boot/uRecRam

umount /system/boot

rmdir /system/boot

**** Note: I also had some issues with the above, since the /system/boot folder already existed. I used root explorer to delete the folder to ensure I wouldnt have any extra crap, but since it was made by installing clockwork earlier (for me) Im sure it wouldnt cause any issues.

**** Also make sure that once you are done with "adb shell" you only see one # symbol. I had an error where it would auto go in with Su permissions and I would have two # (i.e. # # ) and wouldnt accept commands. If that is the case just type exit to get back to one #, or remove the su command from the typed commands above.

Hope this helps others, certainly was a lot of work for me to get this going.
[Nook Color Android Development] philburkhardt:
It's been quite an adventure, huh? :)

I wound up going a different route. I had to install Nookie Froyo 0.5.8, because 0.5.9 was giving me SD card errors. Once I had 0.5.8 installed, I got on to the internet, went to my Gmail (where I had emailed myself the ROM Manager apk) downloaded, and installed ROM Manager from there. Then I was able to flash CWM. I popped in the SD card I was using when everything was working, successfully booted into recovery (YES!:D), and I am now restoring my backup from yesterday morning.

I will let you know in a minute if the backup restores ok.

EDIT: I am back up and running!!!
[Nook Color Android Development] samseh:
I have a possibly stupid question. Is it possible to revert eveything to stock, except keep CWR, to be able to easily move between rooted and unrooted roms using different nandroid backups? that way when i am at B&N store i can restore to the unrooted back up and enjoy browsing the books?
[Nook Color Android Development] straby187:
You could replace the /boot folder with sam's zip with the boot folder you have now.... maybe lol
[Nook Color Android Development] samuelhalff:
To keep CWR, remove uRecRam and RecImg from boot in 1.0.0, remove kernel and kernel-image in 1.0.1. Then flash the zip.

Haven't tested it, but should work...

Sam
[Nook Color Android Development] samseh:
Thanks will try

ogicPD Zoom2 using Tapatalk
[Nook Color Android Development] Jrbourque:
right now im stuck on a bootloop on the n screen, so i should be able to flash this in recovery and start over again in rooting right?
[Nook Color Android Development] samuelhalff:
Yes.

Or, you could try this adb command:

From nookie (terminal emulator, or adb).
[Nook Color Android Development] jianglai:
Just out of curiosity and maybe many people here already know:

1) what exactly changes after rooting? /system or /boot or together?

2) I assume CWR is in /boot so that restore /boot will restore stock recovery?

3) if I flash quickie kernel will does it go? /system?

4) where in the 8-fail stock restore which wiped /system, does it leave /system empty or does it copy an stock image to that directory? I think it should be the latter then where is this stock image located on the emmc?
[Nook Color Android Development] Cuppeerr:
yes its just that my screens broken and it seems like choosing update.zip instead of picking the file would be easier, but unfortuantly i cant see anything in clockwork recovery.
[Nook Color Android Development] samuelhalff:
1) Rooting changes your footprint (android market requirement) in system/build.prop. It enables adb and allows superuser in boot/uRamdisk. I could be mistaken about superuser.

2) Indeed, CWR is located in boot/uRecRam.

3) The kernel overclocking sits in boot/uImage

4) The 8 failed restore is triggered by the boot count in rom/devconf/BootCtn. Rom is on mmcblk0p2. I guess boot/uRecRam then launches restore from factory.zip located in factory partition mcblk0p3. Factory.zip contains stock system and boot. The rest is formatted (I mean data mmcblk0p6, and cache mmcblk0p7) when going through power+n reset. Data is populated on boot through system files.

Quick recap of NC's partitions:

- /dev/block/mmcblk0p1 is boot (vfat)

- ...mmcblk0p2 is rom (vfat)

-....mmcblk0p3 is factory (ext2?)

-....mmcblk0p4 is a logical partition

-....mmcblk0p5 is system (ext2)

-....mmcblk0p6 is data (ext3)

-....mmcblk0p7 is cache (vfat)

-....mmcblk0p8 is media (vfat)

Note that product individual information is located in rom and factory partitions (in devconf in the former and as a zip backup of rom in the latter).

Also, you should know that the 8 failed boots reset leads to replacement of system with stock. The power+n reset leads to the clearing of data+cache. Thus, there are two different resets to choose from.
[Nook Color Android Development] jianglai:
That's a very thorough explanation! Does that mean with auto-nooter, CWR and quickie the only partition that changes from stock are /system and /boot (of coz /data and /media but they are not part of the OS)?

Also if Factory.zip contains device individual information if you used the Factory.zip that just posted will that duplicate the OP's device information to yours? Or I'll put it in this way Factory.zip is different for EACH unit?
[Nook Color Android Development] samuelhalff:
Yes, only boot and system require modifications regarding autonooter, CWR and overclocking.

Factory.zip does not contain individual info, rombackup.zip does, which is located in factory partition mmcblk0p3, where you will also find factory.zip. both zips are sitting next to each other.

In case you're not sure. Rombackup.zip is a backup of rom partition mmcblk0p2. So your device's personnal info is located on two different partitions.

Your B&N account info and Wifi keys can be found in system and data.
[Nook Color Android Development] jianglai:
Great. Thanks a lot. Will try poking around.
[Nook Color Android Development] DiMENZi0N:
Accidentally Formatted /Boot in CWR

I've accidentally formatted /boot using CWR and now the device acts like it will not even power on unless I boot Nookie from SD card. I did install ROM Manager in Nookie and reflashed CWR, but every time I tell ROM Manager to reboot into recovery, it just restarts and immediately boots Nookie Froyo from the SD card again. Any suggestions?
[Nook Color Android Development] samuelhalff:
You have to understand that CWR gets flashed in the internal boot partition. Not the NF external boot partition. Which means that if you boot from SD, you cannot boot to CWR.

That said, what you can do is boot to NF on SD, then use a boot.img (image of boot partition found here) to dd back onto you internal boot. Don't worry, it will all be fine.

Follow indications on linked thread and you'll be booting stock in no time.
[Nook Color Android Development] nmtuna:
Flash Stock

Hey, I was able to flash the stock recovery via the update.zip, and I did the 8x boot to try to flash stock and I get an install error. I've only had my device for 3 days but I didn't use the correct gmail account when I set it up so my market won't download all my purchased games. So I'm trying to flash stock so I can set it up correctly.

Any idea how to get the stock flash working again, minus using the Clockwork Mod method???
[Nook Color Android Development] samuelhalff:
Well, start again from scratch. Boot from NF on uSD. And then use the 1.0.1 restore in CWR. Then, no need for a 8x restore.

Don't forget to format data and system before flashing the .zip.
[Nook Color Android Development] wendellc:
hoping this would save my nook, seems as if CW wont mount and open. I formated data and system but but won't let me. When trying to flash this zip it starts then aborts itself. I will try the other methods mention as i cannot get past the N screen. No problems until I tried flashing the other OC kernels.
[Nook Color Android Development] samuelhalff:
Note that you have adb access when booted to CWR. Try dd boot.img and system.img that way (you'll need to mount them, you can do that with CWR, mounts and storage).
[Nook Color Android Development] Dahsar:
I was just wondering is this recovery zip able to be flashed through cwr like other android phones
[Nook Color Android Development] wendellc:
mount and storage menu wont allow, nothing but errors. I really need some help restoring my Nook. I booted Nookie Froyo via sd but no market. I was hoping reinstalling clockework would fix my issues.
[Nook Color Android Development] wendellc:
went through the process for adb and it is not picking up my nook. After 'adb devices' it says 'list of devices attached' but nothing shows up. I have already uninstalled and reinstall the drivers to no avail. The funny thing is that adb worked about a month ago when I first rooted the nook.
[Nook Color Android Development] samuelhalff:
That means you haven't repaired your configuration. There are several posts and pages explaining all this. Keep at it.
[Nook Color Android Development] ericman77:
What is a usd? Can I just use a formatted sdcard? Fat32?
[Nook Color Android Development] ericman77:
I got stuck in a loop. tried every thing just turned it off plugged it in to the pc and it started installing a update and now its booting up.
[Nook Color Android Development] fallingd0wn:
This worked perfectly. Thanks.
[Nook Color Android Development] moesasin:
i followed your instructions (1.0.1) to the T and am stuck at the Big gray N with the adobe disclaimer at the bottom. I also tried using a bootable SD of clockword to do the restore and nothing. In both cases i tried multiple combinations of formatting the system and data before and after the restore and i get the same results. N + power button says install failed, please reboot.

Please help. This is 2 nights of trying to get recover my device after that terrible emmc guide.
[Nook Color Android Development] samuelhalff:
Have you tried booting from uSD to NF? If that works, use adb and dd command to push the boot.img file found on the forum.
[Nook Color Android Development] ericman77:
I got stuck in a boot loop. So just out of curiosity plugged it in to my pc and as soon as i did it started installing a update. Don't know if it was just a coincidence and it installed it from my sdcard when i plugged it in or if it conected to my pc internet and installed it automagicly.?
[Nook Color Android Development] moesasin:
Well its boots to NF, i don't know where to go from there because every image of NF i have tried only leaves me with ~115mb of free space. Which isn't enough for those zip files. When i try and use another uSD card with the files on there while froyo is booted up i get a black screen, im assuming because the froyo card is not in the nook anymore.
[Nook Color Android Development] samuelhalff:
You need ADB. When booted to Nookie from SD, use these commands.

First mount media:

After that, push boot.img and system.img found on shad0wf0x's post (here) , with this:

Do the same with system.img.

Then, dd images from media to partitions, with:

Note: each dd will take some time, be patient.

Try this out, if the commands return errors, post them here.
[Nook Color Android Development] ericman77:
This has saved me 2 times now thank you so much:-)
[Nook Color Android Development] DNicolasL:
Will this bail me out if I flashed an unstable kernel?
[Nook Color Android Development] klfaulk:
Restored Successfully

thanks, samuelhalff.

after attempting several other more complicated methods that all failed, your process and v. 1.0.1 worked perfectly.

a BIG THANKS to you for your efforts to help us with feeble skills.
[Nook Color Android Development] samuelhalff:
Well, it's always a pleasure to help.

dNicolasL: Yes, if you're using stock OS 2.1 (not Nookie)..

Sam
[Nook Color Android Development] wendellc:
OK, finally got adb running while on CWR, I have this zip on root of my sd, how do I use it?
[Nook Color Android Development] samuelhalff:
Which zip? If it's flashable, use CWR...
[Nook Color Android Development] wendellc:
I already tried with CWR previously but it starts and then it aborts the process. I mentioned that CWR won't let me do anything flash a zip, mount etc...

I get this when I boot into CWR

E:Can't mount /cache/recovery/command

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't mount /cache/recovery/last_log

E:Can't openf /cache/recovery/fast_log

I got adb. I put the boot and system img's on root of sd card and ran dd command to no avail.

I then read a few posts previously that I need to be in Nookie so I put nookie on my 4gb SD but this only allowed the boot.img since it says I don't have enough space to put the system.img. I booted nookie and ran dd still nothing.

Now, I see the command that I have to mount first and then run dd.

I not familiar with adb so if someone could possibly clarify the steps to be done. Possibly I am doing wrong.

I started getting issues with my rooted nook after flashing the OC kernel, in doing so I think it corrupted the boot sector and getting stuck at the N screen.
[Nook Color Android Development] samuelhalff:
Well, if you dd boot, that could be enough.

When you boot to nookie from sdcard.

Open terminal, open you sdcard to make sure boot.img is there, with:

adb shell

cd sdcard

Or, if this last command dosent work:

cd mnt/sdcard

Then enter:

ls

Once you've spotted boot.img with ls command, the very next command needs to be:

dd if=boot.img of=/dev/block/mmcblk0p1

Once finished, enter

cd ..

cd ..

Then

echo -n -e "\x08\x00\x00\x00" > /rom/devconf/BootCnt

Then enter

reboot

Your NC should reboot to recovery. If it dose t boot to stock recovery enter last command (echo) again in nookie. Once green arrow recovery finishes:

Boot while using power+n and reset to factory settings.

Then boot up and be happy.

Sam
[Nook Color Android Development] wendellc:
entered cd mnt/sdcard, next line typed in ls and i got the following

[1 ; 34mAndroid [0m [1 ; 34mLOST.DIR [0m

Is my NC screwed:confused:
[Nook Color Android Development] Kokanee483:
So now having downloaded the .zip archive, do I just extract it to my sdcard or do I have to use one of the included files to create an image???
[Nook Color Android Development] samuelhalff:
Use clockwork recovery..
[Nook Color Android Development] samuelhalff:
Then push boot.img to /media and dd from there...

You need to mount it first. Media is mmcblk0p8
[Nook Color Android Development] wendellc:
Samuel, thanks for effort in helping me with adb but I just can't get it going. Maybe I'm just not knowledgeable enought with adb. But if someone is willing to help me with this over the phone, I would really appreciate it.

Give me a pm and I'll get in contact.

Really want to get this going, at the moment I am just running Nookie off the sd card but want things back to normal.
[Nook Color Android Development] samuelhalff:
use IOMonster rootpack with boot repair file found at the bottom of froyo on emmc thread. then do faxtory resets.
[Nook Color Android Development] art.in.memphis:
wendellc,

I struggled for two days with this. I should have backed off and looked with fresh eyes. When I did I saw that I had been transposing some numbers in a command line. I'm a little bit dyslexic. When I slept and looked at it again I saw my mistake right off.

Good luck,

Art in Memphis
[Nook Color Android Development] nootered:
I tried following these steps, but forgot to put the 1.0.1 zip on the SD card, so after I formatted system and data, I pulled the card while still in CWR and then put it back in with the zip on it.

When I went to apply the flash it said no files on the card.

I wanted to reboot and try it all over again but now I just stick at the "n" screen. How do I go back into CWR now?
[Nook Color Android Development] wendellc:
Hello Samuel

I have done as you have advised and after installing the stock boot repartition I cannot format system or data, CWR will give me an error when doing so. I tried to go ahead an run the restore to 1.0.1 zip and it still aborts the installation. I don't know if it is CWR or that my NC is totally jacked.
[Nook Color Android Development] samuelhalff:
nootered, if you boot with IOmonster rootpack from sd you shouldnt see the n screen. burn the image again...

second poster, what kind of error do you get when formatting data/system? have you tried removing the sd and booting by holding power+n around 30 sec? you should see the factory reset.
[Nook Color Android Development] nootered:
Yeah, I figured that out about an hour ago. Thanks for the information and original thread! Much appreciated, sir.

I also made a Guide so that others won't run through the same frustrations if they want to get back to a stock 1.0.1 image of the NC.

http://xdaforums.com/showthread.php?t=931720

Cheers
[Nook Color Android Development] wendellc:
when I try to format it displays

Formatting /system...

Error formatting /system! same with data

I tried the power + n for and it will boot back to CWR.
[Nook Color Android Development] samuelhalff:
That means you haven't flashed the boot repair file from first post. Flash that then factory reset with power+n. Remove sdcard before doing so..
[Nook Color Android Development] stwallman:
I appear to have hosed up my boot partition somehow. I installed ROM Manager from the market, then flashed CWR. First time I went to use ROM Manager to create a backup and my NC rebooted and now am stuck on the "Touch the Future of Reading" screen whereupon it reboots again.

I do have an NF card available. Should I try and install ROM Manager and reflash CWR again from within NF ? Will that even work ?

Looking for suggestions, but right now I can't even use my NC. :(
[Nook Color Android Development] samuelhalff:
Yes, flashing CWR from NF does flash it on your internal partition, not on the SDcard.

But I'm not sure that will help if it dosen't boot past "touch the..". Try the boot repair file you can find on my Froyo on eemc thread. Flash that one using IOMonster's rootpack (boot from SDcard). Having done that, you should boot past "touch the..". If you get stuck again after that, you'll probably need to restore you system, using stock or Froyo/emmc, depending on what you had before (use the same as you had before, if that wasn't clear enough). You can use my flashable .zips from CWR on IOMonster's rootpack.

Sam
[Nook Color Android Development] damngood98:
Any chance of a mirror for the stock zip? I've tried for 2 hours trying to download it without success. It bogs down & eventually just quits on me

edit: must be a fail on my cable. i posted this from work on my phone originally & tried downloading it with my phone. took less then 10 minutes and my coverage at work is pretty spotty sometimes

anyways, thanks all!
[Nook Color Android Development] wendellc:
samuel, I flashed the "repartitioned boot to stock " file via CWR, that is the file you are referring to?

While I flash it it goes through the whole process and says done/, the weird thing is that the orange bar that shows the install progress stays blank and never even starts.
[Nook Color Android Development] damngood98:
bought a used nook from someone who must have tried putting android on it but borked it up so i've been trying to restore to stock and do the process myself the right way.

i've got the 1.0.1 file, i'm wiping data & system, applying the zip. all looks good until i try registering the nook. it says it's connected but when i continue from there it says there is a problem, please contact customer support. i can select device and see a list of details about the device or power off.

after doing all of this (formating everything & applying the stock) when i do power off and the screen goes dark, there is still a grey status bar at the top that says android system. something is not getting wiped completely.

i've been at this for 3 days now and am not really any further than when i began. can someone please offer some advice? thank you
[Nook Color Android Development] volwrath:
Samuel,

Thank you for the repartition-boot-with-stock.zip. Somehow I or CWR screwed out the book partition after a nandroid restore. The NC booted once, but on next reboot, it hung at touch the future blahblah and wouldnt continue. Also couldnt get back into CWR. I never even touched froyo on eMMC but nonetheless this got me going again.

Thanks bunches
[Nook Color Android Development] hvuong2:
Haven't had time yet... but thank you, thank you, thank you!!!

I had my Nook all ready to go... but then installed the Pre-rooted 1.1.0 that was in the other thread. Upon installing, all looked good, but I ran into the following issues:

-Button Savior would not work correctly

-Had to reinstall some apps

-Had to reset CPU speed since the 1.1.0 set it back to default

-Market would not work

-YouTube would not work

-Lost ADB access

-A couple other things...

So, either I did something wrong, or the Pre-root got me to the point where my system would simply get stuck on the "n" loading screen for an hour.

Got back into CWR, formatted data & system, flashed this image of yours. Re-rooted using AutoNooter... and now I'm back on track again.

You are a life saver...!!!
[Nook Color Android Development] samuelhalff:
The orange bar isn't supposed to move. If it says done, then you should be able to reset your NC.
[Nook Color Android Development] wendellc:
Hi Sam

I am still trying to get my NC boot. Previously, After flashing the 1.0.1 file in the OP caused for the install to abort the install for some reason. I downloaded the 1.0.0 file and flashed it and finished the install, it also said it would remove CWR.

Well after removing sdcard and rebooting it was still stuck at N screen. I rebooted into recovery and CWR was still installed.

I am curious as to whether the files is actually being installed as reported in CWR because while going through the install process the progress (orange bar) bar did not move or fill to the end at all.
[Nook Color Android Development] grandmasterlarry:
ok i get this error

cant open /sdcard/nook-complete-restore-1.0.1.zip

(bad)

installation aborted

Any help?
[Nook Color Android Development] samuelhalff:
You need to format data and system in 'mounts an storage' menu in CWR before flashing the zips.

If CWR says the file is bad, downloae the file again and make sure md5sum returns the right value.
[Nook Color Android Development] donhu:
This worked for me, when nothing else did, however:

adb push [path/to/boot.img] /media

adb push [path/to/system.img] /media

should be:

adb push [path/to/boot.img] /media/boot.img

adb push [path/to/system.img] /media/system.img
[Nook Color Android Development] wendellc:
trying to format both system and data via CWR is a no go as it gives me an error.
[Nook Color Android Development] samuelhalff:
Try with ADB and mkfs.ext2 command on /system. Google it.
[Nook Color Android Development] wendellc:
Thanks Sam I will google.

[path/to/boot.img] <what goes here

[sdcard/boot.img]?
[Nook Color Android Development] wendellc:
Did a google search but nothing on the nook, the searches bring up different phones and require flashing other files, for example sdparted... is it the same for the nook

Anyway, I am getting desperate in trying to restore this Nook.

I do have have honycomb off the sd working so that's cool..

Stillo, I can't get past the fact that the internal partitions are probably jacked up.. I would be willing to pay someone to help me fix it.