yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] gconol:
@vigeh

First you need to unzip those files you just downloaded. Second, you need to copy the "boot.img" and "system.img" (not the *.zip) to the "/SDCARD" folder on your SDCARD. I had to use WIFI FILE Explorer in Nookie Froyo cuz I messed up my nook so bad, i couldn't copy these files by turning on the USB Storage through the regular method. It took me days to figure this out cuz i'm kinda slow.

I hope you installed the Android-SDK on your computer already. If so, then go to the folder named "\platform-tools" on your PC - this is where ADB.EXE is located. Connect your nook and type "ADB DEVICES" just to make sure your nook is connected to the computer. It'll show up and tell you it is or not. If it is connected then do the following:

1. Type "ADB SHELL" then you'll see a "#" symbol after you hit enter.

2. Type "dd if=/sdcard/boot.img of=/dev/block/mmcblk0p1" just the way it is written by the original poster (minus the "" marks)

at this point, it usually wont say anything. Just wait a few minutes and something will pop up. In my case, it says:

"477033984 bytes <454.9MB> copied, 138.757660 seconds, 3.3MB/s"

"#"

3. Type the second command next to the "#" sign "dd if=/sdcard/system.img of=/dev/block/mmcblk0p5"

wait another few minutes til the next confirmation pops up.

4. turn off nook, remove SD card

5. Hold the N button and the Power button at the same time and it'll ask you to reset the nook to factory settings.

I hope this helps you ....
[Nook Color Android Development] mmaner:
well im a tard... i did this without reading that YOU CANNOT HAVE GOOGLE APPS!!!! so anyway Im trying to get back to a stock image, but i cant figure out how to copy 700 med +/- of images to 134 meg f free space. someone un-tard me plz :). thanks
[Nook Color Android Development] Sir a teema:
I have ClockworkMod Recovery installed, and if I put the factory.zip you provided on my sd card and use the option 'install zip from sdcard' will that in fact install factory settings on the nook?

I tried to do the 8 failed boots, but cannot get it to work with this installed.
[Nook Color Android Development] Ign3nt:
How do you get to your "working adb?" I'm probably even more ignorant on this SDK stuff that vigeh4. I have SDK installed though.
[Nook Color Android Development] shad0wf0x:
How to get adb working is found here:

http://nookdevs.com/NookColor_USB_ADB
[Nook Color Android Development] Ign3nt:
Thanks to Shadowf0x for getting ABD to work :)

I have a question though, if I dont have the file "SDCARD" in my SD card then can I just make a new file and name it SDCARD, and put both of the .img's into it?
[Nook Color Android Development] shad0wf0x:
I'm not sure if that will work, I guess it's worth a try, however if you replace the existing factory.zip and do a factory reset you will restore back to 1.01 instead of 1.0 if you don't already have a nc that has 1.01 on it. I saw another thread about trying to use the factory.zip with cwm, but I didn't see anyone coming back and say it worked. How to flash back to stock is found here:

http://nookdevs.com/Flash_back_to_clean_stock_ROM
[Nook Color Android Development] shad0wf0x:
The nookie froyo sdcard partition for me was 900+m, and I've heard that all you need to do for this to work is to flash the boot.img.
[Nook Color Android Development] shad0wf0x:
You could try to mount the media partition in nookie froyo and put them there.

The partition is /dev/block/mmcblk0p8 and type is vfat.
[Nook Color Android Development] mmaner:
Ill try it tonight. thanks
[Nook Color Android Development] samuelhalff:
A few answers to a few questions:

- You don't need a file called SDCARD on your SDCARD, just copy files to the root of the SD.

- You can't flash boot.img, you need to use dd command with ADB

- Factory.zip won't flash on CWR, Factory.zip's format is made for the B&N stock recovery console. Won't work. But you can flash my files, see Restore to stock (zip files) thread, in Dev.

Sam
[Nook Color Android Development] mmaner:
i bought a new 4 gig sd card, class 4, and used win32 disk imager to write nookie-froyo-SDIMAGE_2GB-0.5.9.img to it. Same problem as before, I get a 'damaged sd card' error in the notifier bar and I cannot mount 'usb storage'.

any ideas on what Im doing wrong? Id reallllllllly appreciate the help here as Ive essentially bricked my nookcolor until I can write the factory images back to it and start over with the nookie froyo install or gong back to stock plus root. thanks

* edit - I may be on to something here. theres a 900 meg section of the sd card that is not formated or anything. is there a way to use this to push the images to?
[Nook Color Android Development] shad0wf0x:
I used 0.5.8 to make these images, sdcard works fine on that, can download it still from here I believe:

http://xdaforums.com/showthread.php?t=883175
[Nook Color Android Development] mmaner:
i bought a new class 4 card, used nookie froyo 5.8, this got me to clockwork mod recovery and this got me to flashing the stock 1.0.1 image. im back up and running finally :)
[Nook Color Android Development] moesasin:
How did you restore to stock from clockwork? I'm stuck with there isn't enough space on my SD card after imaging it with froyo 5.8 or 5.9. Or did you format the unallocated space?
[Nook Color Android Development] naplesbill:
I just want to let you know that on my 1.0.1 Nook Color, the first 8 reset attempt always fails. The second attempt seems to work properly.
[Nook Color Android Development] art.in.memphis:
Clockwork gave me the power to totally brick my NC. I am in the process of downloading and un-bricking. wish me luck. :-)
[Nook Color Android Development] seeddemon:
lifesaver

Thank You for this
[Nook Color Android Development] art.in.memphis:
I am at my wits end. I probably have a weird Froyo on my SDcard. I messed up the boot directory on the NC and I just want my NC back. Overclocking was fun until I blew the /boot directory. Doh!

I downloaded the boot.img and extracted to my sdcard that has Froyo. adb can't see that file. My computer (Ubuntu 10.04) can't see the /sdcard directory. Any pointers on how to dd the boot.img in my situation? Google is usually my friend but not today or yesterday.

Thanks much.
[Nook Color Android Development] shad0wf0x:
download the older version of nookie froyo and use that, 0.5.9 has problems with the sdcard mounting. Or you could use the clockworkmod sd card image that is posted in this forum.
[Nook Color Android Development] art.in.memphis:
Will do. Clockworkmod gave me the power to corrupt my boot so maybe it can give me the power to right the situation. I didn't realize there was a ClockWorkMod sd. Domo, Domo!

Well, The 0.5.8 Nookie-Froyo was a bit nicer to work with but the NC will only boot from the sdCard. I'm missing something, somewhere or somehow.

The only place I could stash the files that adb would find them was in /data/data. That shouldn't have done anything.
[Nook Color Android Development] samuelhalff:
I have a doubt about this, but you should make sure the sdcard is mounted in nookie before looking for boot.img.

Try

adb shell mount /dev/block/mmcblk1p4 /sdcard

Or

adb shell mount -o rw, remount /dev/block/mmcblk1p4 /sdcard

Or, the same with /mnt/sdcard instead of /sdcard.

Then cd to one those two and ls there (ls command).

You could also mount media and dd from there.

adb shell mount /dev/block/mmcvlk0p8 media

adb push /path/to/local/boot.img /media

adb shell

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

Boot.img will stay on media unless you factory/reset. And nookie dosent mount media by Default. Media is huge, enough for boot and system.img
[Nook Color Android Development] art.in.memphis:
It is hard to be a dyslexic. I looked at my last screenshot and I was typing 05p and 01p instead of 0p1 and 0p5. NC is back. Thanks y'all.
[Nook Color Android Development] gedster314:
I think I borked mmcblk0p3 (recovery partition). I was trying to replace the 1.0 factory.zip with 1.01 factory.zip I tried do a reset and it gave me an error. I did manage to get the NC rebooted with stock firm and it registered fine so I guess the serial number is ok.

Can some one give me a list of files in mmcblk0p3 so i can check to make sure I did not delete any other files.

Thanks.
[Nook Color Android Development] nootered:
This is driving me nuts. I have download both the files listed on the first page. Put them on the SDCard unzipped, so I have two img files there.

Now, I installed the Android SDK, updated everything and installed the drivers properly for the Nook.

Now, here is my issue. When I go to platform-tools, I double-click on adb.exe and a command window comes up and then just goes away so quick I can't read a thing.

What gives? I want to reset this back to stock.
[Nook Color Android Development] damngood98:
hi everyone. just got a nook, bought it used from someone from craigslist. the guy who had it before did a botch job trying to root it. someone directed me to here to get back to stock.

now i don't what has/hasn't been done to the nook already. i have an extra sdcard. i see the files in the op for download. what else do i need to have ready? any & all help is appreciated.

btw, i do have adb installed on my pc already.

thanks again!
[Nook Color Android Development] shad0wf0x:
ADB.exe is a command line utility, not a windows program, you run it from the command line where you unzipped it to.

Here is a link to the nook color adb usb wiki:

http://nookdevs.com/NookColor_USB_ADB
[Nook Color Android Development] shad0wf0x:
all you need is the 2 img files in the OP and a working adb.
[Nook Color Android Development] damngood98:
thank you. one other question, what exactly is a froyo nookie card? do you simply mean having a flashable froyo zip on the card?

i bought this already corrupted and am trying to find my way so i can do it the right way.
[Nook Color Android Development] mrapollinax:
I just wanted to say thank you for this. I royally messed up my attempted install of 1.1.0 pre-rooted. Gmail didn't work, market didn't work and I could get the system to reset to defaults. luckily your 1.0.1 file and the CWR flash system was able to get me back to 1.0.1 where I can run auto-nooter again to get me back to my original setup.

Hopefully I'll be able to get CWR working again and will flash over the 1.1.0 pre-nootered ROM again. You sir, are awesome for making these available.
[Nook Color Android Development] JesterDev:
Thanks so much for this!!! Really saved me.
[Nook Color Android Development] themanwithnoname:
Hi all.. Ive getting error of dd:cant open 'sdcard/boot.img' No such file or directory

this is my workflow

1. copied the boot.img into sdcard via pc

2. boot nookie 0.5.9

3. adb shell with dd if=/sdcard/boot.img of=/dev/block/mmcblk0p1

( earlier problem cant boot into nc after messed up with framework with internal nookie. )

Anyone please help. Thank you
[Nook Color Android Development] sixcoronas:
Ok, I ran the commands with ADB just fine and now when I boot, the "Nook Color by B&N" screen just flashes on and off every 5 seconds.

Any ideas?

Edit- It looks like a reboot took care of.
[Nook Color Android Development] Homer_S_xda:
I'm resetting my NC back to stock and mine came with 1.0.0. Is it these partitions I need to dd to images to have a set for 1.0.0?

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

dd if=/dev/block/mmcblk0p5 of=/sdcard/system.img

Resulted in

C:\Users\blah>adb shell
# dd if=/dev/block/mmcblk0p1 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p1 of=/sdcard/boot.img
144522+0 records in
144522+0 records out
73995264 bytes (70.6MB) copied, 26.795044 seconds, 2.6MB/s
# dd if=/dev/block/mmcblk0p5 of=/sdcard/system.img
dd if=/dev/block/mmcblk0p5 of=/sdcard/system.img
931707+0 records in
931707+0 records out
477033984 bytes (454.9MB) copied, 205.945679 seconds, 2.2MB/s

The sizes above match the sizes of your set. When compressing, they don't seem to compress very much. Did you use any other options?

Homer
[Nook Color Android Development] Homer_S_xda:
Nookie Froyo 0.5.9 has a borked vold. Did you fix it with the instructions in the NF thread? If you did, it should then properly mount your SDCard.

Also, if you copied the boot.img to the sdcard via pc was that in a card adapter or via adb?

Homer
[Nook Color Android Development] pts69666:
Thank you for these files. I haven't needed them yet, however, if I ever need to get warranty work done, these will get me to stock really quick =D
[Nook Color Android Development] namgorf:
Well, I was completely unable to get adb to work on any of my systems, so I did it all completely on the device itself. Here's how!

Firstly, I used nookie-froyo-0.5.8 because 5.9 has SD issues, once there I got on my network and got into my email account.

From there I emailed myself WiFi_File_Explorer.apk because I was unable to see the SD card over USB. Using the web interface I uploaded boot.img and system.img.

Then I installed Connectbot

And started a local terminal session.

From the local terminal session I typed su to get super user rights, once that was done I just typed the commands from the op:

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

dd if=/sdcard/system.img of=/dev/block/mmcblk0p5

Each command takes some time to run, and once done I shut down the nook. Removed the SD card and was pleased to see it finally boot.
[Nook Color Android Development] Dragracekid:
anyone have there nook actually shut down after a while with the commands in proccesse? i run the boot one and it runs for a while and shuts down any help? if it doesnt work this time im going to run it through a terminal emulator and see if that works
[Nook Color Android Development] aztigen22:
Just having this detailed as possible since i really messed up my system, boot, data, EVERYTHING in NC..but revived it to stock...hope this helps

Here is what happened: I have a NC with 1.0.1.

then i updated to 1.0.1 to autonooter my nook----done.

everything is OK, gmail,market,youtube,etc,no problems-----done.

then flashed NookieFroyo 6.7 to emmc-------done.(thanx)

flashed throught Rom Manager and restarted my NC-----PROBLEM BEGIN: unable to turn NC on.

installed CWR to run in SD-----done.

tried to flash again 6.7 to emmc------done.

STILL UNABLE TO TURN ON

flashed Nookie Froyo 5.9 running in SD via CWR-SD------done.

WORKED FINE but still in SD

tried to flash other Rom/Stock to internal NC------NO SUCCESS.

wiped everthing, formated SDcard,boot,system,data,cache in CWR-SD: !!!this even made it worse!!! it just ruined my boot and system

make sure you have adb in your computer

SAW THIS THREAD and ITS THE 100% SOLUTION

What I did:

-Flashed a 2GB SD with NookieFroyo 5.9 SD running (thank you Brianf21)

-completed the makepart.sh and formatpart.sh, reboot

-Download the system and boot found in the first post of Shad0wf0x

-unzipped and moved to where my android SDK is: C:/android-sdk/tools/--- in Windows PC

-connected my NC running NookieFroyo 5.9 to PC

-opened terminal or in PC--- Command prompt

-adb push the boot.img and system.img to /sdcard/

-dd the files..

turned off NC

removed SD

hold ''n'' button while turning NC on

and booted to BN 1.0.1

hope i was of help....thanks so much Shadowfox
[Nook Color Android Development] rawfish:
Hi aztigen22,

Good to hear it works for you - it doesn't work for me though. Similar to CWR where it blanks after LOADING displays (despite holding various key combos for approx. 60+ secs, the same thing happened when I tried to run both Brianf21 and Sam's Froyo SD.
[Nook Color Android Development] samuelhalff:
You also could have used monsters CWR SD image and my boot repair zip file. Then do the two resets...

Sam
[Nook Color Android Development] rawfish:
Hi Sam, I am attempting all the methods I could find to restore to stock, none are working. shad0wf0x's method will not work for me as it did for you, as I do not have access to ADB (tried to get the NC detected under both Win7 and Ubuntu).

Simply put, how it happened was:

OOBE -> BN 1.01 -> Autonooter -> block OTA -> Root + gApps > Rom Mgr'd CWR into eMMC -> HC v4 SD -> gApps -> manual su -> dalingrin's 1.1ghz oc kernel -> reboot success > checked on symlinks -> auto-reboot to stock -> reboot -> HC loads -> blacks out, unable to reboot anymore.

Issue: Suspected corrupt boot on eMMC, maybe internal CWR involved? Loading CWR-SD always fails (with various button combos & durations), as with any form of HC/Froyo SD - they do not go past the loading screens. Tried on 4 different uSD sizes/brands, 2 card readers, 2 OSes, various recommended .img writers & formatters - no progress.

Anyway, I appreciate the threads you've created here - they are very helpful indeed. I am still positive my device has not hard-bricked, nor had its CPU fried (else, the bootloader would not work in the first place, right?). Hoping others will help :)
[Nook Color Android Development] aztigen22:
maybe you had a bad burn? if you got CWR-SD running,then i think this process will work on any NC.. in the CWR-SD,before i booted Brianf21's nookiefroyo, i even formated everything i saw in the CWR-SD...the cache,data,system,boot,SDcard, and SD-ext... that's why i thought i destroyed my emmc/internal storage...since i cant get any flashable zip in my emmc..

So i burned ''.img'' of brianf21's nookiefroyo ver 5.9..its the one you can download in his thread with the number ''5''.. then burn it with win32imager..u can download it in the link he gave in the same thread.. then run froyo5.9(YOU SHOULD run brianf21's ''makepart.sh and formatpart.sh'' please read)...assuming u have downloaded shadowfox's files, connect you NC (running froyo-SD) you will not be able to access your storage through USB but u can ADB it.. just adb push the boot and system images(copy the images first into the Adroid SDK/tools/)then abd push it into adb push to ''/sdcard/''...you will see in your terminal if it succesfully copied...then use shadowfox's DD commands to DD the image INTO you NC's INTERNAL STORAGE/emmc...shutdown,remove SD and boot..
[Nook Color Android Development] aztigen22:
THANKS for advising another way...

u mean the 8 failed and factory reset?Will it flash to my emmc?i tried flashing few versions of flashable zip unto my emmc and it didnt succeeded. thats why i thought i ruined the partitions, thus, booted a froyo in SD and dd the stuffs,etc.. BUT, i havent tried your boot repair zip..ill try it for then post what happened..could you link your boot repair file?or maybe ill just search for it?;)
[Nook Color Android Development] rawfish:
Hi aztigen22, thanks. Both CWR and even Brianf21's Froyo 5.9 SD does not boot up on my device. I don't think it's a bad burn, as I've tried it too many times already on a variety of uSDs (x4 to be exact).

Anyone has any ideas too? Thanks.
[Nook Color Android Development] faceman66:
I am trying to create something similar to the OP, but running into some errors. I want to create my own images of my internal partitions and I have been trying to use the directions from over at nookDevs to 'Dump NookColor Partitions' but I am receiving the following errors:

Trying to output to the root of the Sd card:

dd if=/dev/block/mmcblk0p8 of=/sdcard/bk_p8media.img
/sdcard/bk_p8media.img: cannot open for write: Read-only file system

Trying to output to a folder on the Sd card that I made sure had RW privledges:

dd if=/dev/block/mmcblk0p8 of=/sdcard/backups/bk_media.img
/sdcard/backups/bk_media.img: cannot open for write: No such file or directory

What gives? I'm obviously doing something stupidly wrong. I've tried finding more info about how to dump internal partitions and all I can get is how to install over them, but not the other way around.

UPDATE:

Yup, I was being stupid... I forgot to unmount the NC and the SD from Windows so that it was writable from within ADB. All happy with this step now. Thanks ShadowFox
[Nook Color Android Development] aztigen22:
have u tried booting with ''n'' pressed? or maybe plug your NC into your computer's USB and with a bootable CWD-SD or Froyo-SD then turn it on. last week i had trouble with my NC not turning on even with boot SD, that worked. Hope this will do.
[Nook Color Android Development] rawfish:
Thanks, I did so with no results. Will keep that in mind when I retry my steps.
[Nook Color Android Development] trusteelfan:
Help my nook just has a black screen. I was trying to install honeycomb when I was formatting it just frooze and the screen went black. Im not sure if this will help me. I cant even tell if the nook is on or off. What can I do.
[Nook Color Android Development] faceman66:
Read the forums here and burn a Froyo bootable SD. Pop it in and make sure you can boot to SD. If you can, follow this threads first post to repair your Nook. If you can't boot for some reason, then you need to repair your boot partition first, in which case you might want to start with this thread:

http://xdaforums.com/showthread.php?t=914690
[Nook Color Android Development] OneStepAhead:
Thanks for posting this. None of the other methods worked for returning my 1.0 nook to stock. In one last hail mary attempt it finally stopped boot looping after flashing your img's. Of to B&N to return this device now. It was fun, but I'm just not using it really.
[Nook Color Android Development] ClarkSt:
I'm going insane. Every step of the way has some issue. I am now at the point where I need to copy the boot.img and system.img to the Mookie Froyo sdcard, but there was only room for the boot.img (!!!) ARGH!!! So, now I see this "makepart.sh and formatpart.sh", but, of course, THEY'RE NOT THERE!!! It took me forever to find where the damn things are supposed to be and how to get to them. But, apparently, the Nookie Froyo I'm using - the latest one .69, I believe - apparently doesn't have it anywhere.

So... does ANYONE have any idea where I can find these files, and once I do, how to get them on the Nook?
[Nook Color Android Development] execudroid:
I am in major need of help here. I think I may have loaded HC to internal, so unrooting is not working for me. I want to do a full reset of my Nook. Can someone point me in the right direction?
[Nook Color Android Development] samuelhalff:
If you have no idea of how to use the dd command, try this thread:

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

Use second file..
[Nook Color Android Development] Humanio:
I haven't had success using the boot or system files using the method above so I'd like to try it using the factory.zip.

Via the adb i assume it would be push (location of factory zip) /dev/mmcblk0p3

? I don't want to screw anything up without knowing for certain.
[Nook Color Android Development] InsightGoalie:
Thank you very much! You saved my nook last night... I was a bit worried. And to add some information to your original post, you do not need ADB. I for some reason haven't gotten ADB to work with my nook (but I have with all my phones, go figure). I just used terminal emulator inside of the Nookie-Froyo SD rom. Its the same thing as running ADB shell.
[Nook Color Android Development] DizzyDen:
Could someone please post the dd image of the mmcblk0p3 partition?

I think mine is corrupt causing 8 failed boots to fail installing stock image.

Thank you.

NM... DO NOT post a dd image of that partition... it does include a backup of /rom/devconf which has device specific information.... however if someone could point me in the direction of exactly how that backup is made I would appreciate it....

Is it merely a copy of /rom/devconf or what?

I think I have it working right after doing mke2fs /dev/block/mmcblk0p3 and then cp /rom/devconf/* /emmc/devconf/ but first time got weird error box... but is working right now.
[Nook Color Android Development] RegLinUsr:
My Nook Color's original software version is v1.1.0. Is there a Stock v1.1.0 available or simply image it to v1.0.1 if need be and then upgrade back to v1.1.0 again?

I am trying to find a way to actually backup my Nook's original ROM/Software but I'm failing to find the correct procedure to do this.

Thanks!