yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] drewX2:
*** Post complete now ***

Here are some detailed directions for those that need it. I did this on a Mac, but that shouldnt matter.

- STEP ONE: -

Make a Nooter 0.2 card: http://xdaforums.com/showthread.php?t=857529

Turn off Nook, insert Nooter card, turn on (your screen will probably be black as if nothing is turned on)

open up a terminal and type "ssh root@192.168.2.2"

remove your sdcard from the nook color (leave your nook on), format it fat32 and copy over boot.img/system.img from first post and unzipped froyoMe attachment at bottom of post

insert sdcard back into nook

- STEP TWO: Now you can do the script I made or jump to "DO IT YOURSELF" -

type "mkdir /sdcard"

"mount /dev/mmcblk0p1 /sdcard" (see *1 below if this doesnt work)

"/sdcard/froyoMe"

Wait for it to finish.

- DO IT YOURSELF -

type "mkdir /sdcard"

"mount /dev/mmcblk0p1 /sdcard" (see *1 below if this doesnt work)

"mkdir /tmpfolder"

"mount /dev/mmcblk1p6 /tmpfolder" (mounting data partition)

"cd /tmpfolder"

"rm -rf *" (clearing data partition)

"dd if=/sdcard/boot.img of=/dev/mmcblk1p1"

"dd if=/sdcard/system.img of=/dev/mmcblk1p5"

After this you are done!

---------

** If you cant tell whether your nook is on or off, use this cheat. open up a terminal or command prompt and constantly ping your nook at 192.168.2.10... when it shows no response you know its off

*1 - If this doesnt work, your sdcard may be coming up as a different device, therefore, do this:

"cd /dev"

"ls"

Pay attention to which devices are available, the ones starting with mmcblk

Eject your sdcard and do another "ls" command. One of the mmcblk devices should have disappeared. Try inserting it back in and doing "ls" again. Do this a few times back and forth if need be to figure out which device your sdcard is showing up as, then use this for the above steps.
[Nook Color Android Development] modembug:
if you are connected via SSH with nooter you need to target /dev/mmcblk1p1 not /dev/block/mmcblk0p1 as that is the sdcard... :)
[Nook Color Android Development] modembug:
if you get a bootloop boot back into nooter and ssh in and type "mkdir data" and "mount /dev/mmcblk1p6" then "cd data", "rm -r *". that will remove the data that is causing the issue... :)
[Nook Color Android Development] starkruzr:
Can someone explain why the Nooter card and ssh are necessary?

Let me explain step by step what I'm proposing:

1) Download Nookie Froyo SD image.

2) dd SD image to an SD card.

3) Copy the boot.img and system.img to the sdcard partition of the SD card. Expand the sdcard partition if necessary.

4) Boot from Nookie Froyo SD.

5) Pop into terminal, dd boot.img to eMMC, dd system.img to eMMC.

6) Reboot.

Done?
[Nook Color Android Development] drewX2:
That should work too. I did it that way previously.
[Nook Color Android Development] drewX2:
One anomaly I have noticed is the notification pulldown is kind of screwy. Its checkered on the left, right, and bottom. Why is this?
[Nook Color Android Development] gZusLuvsU15:
I'm getting "mount: mount point /sdcard does not exist" when you mount the SD card. I made the directory and can see it in the list. Why does it say that it does not exist?
[Nook Color Android Development] drewX2:
did you make the directory first via "mkdir sdcard"? Do a "cd /" first tho to make sure you are in the root directory
[Nook Color Android Development] gZusLuvsU15:
I think I got it. I had to do "mkdir /sdcard" in the first step.
[Nook Color Android Development] modembug:
I think I might have an update.zip that works....

UPDATE: still broken
[Nook Color Android Development] urbanengine1:
Awesome! Post it up for resting
[Nook Color Android Development] Novarider:
Can I just download a dd for windows program and follow the directions posted?

Here are two dd for windows programs. Let me know if you think they will work.

http://www.aeroquartet.com/movierepair/dd%20for%20windows.html

http://sourceforge.net/projects/windd/

Also the instructions say to run nooter.2 does that mean I need to factory reset my NC before doing this? or can I just skip that step since I'm already rooted with auto nooter.
[Nook Color Android Development] starkruzr:
When I did this:

"dd if=/sdcard/system.img of=/dev/mmcblk1p5"

I got

"# dd if=/sdcard/system.img of=/dev/mmcblk1p5

dd: writing '/dev/mmcblk1p5': No space left on device

355433+0 records in

355432+0 records out

181981184 bytes (173.6MB) copied, 14.122650 seconds, 12.3MB/s"

Any idea why?
[Nook Color Android Development] samuelhalff:
You need to format first.

Try this:

adb shell

mkfs.ext2 /dev/block/mmcblk0p5

Then dd.
[Nook Color Android Development] starkruzr:
# mkfs.ext2 /dev/block/mmcblk0p5
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
116736 inodes, 465853 blocks
23292 blocks (5%) reserved for the super user
First data block=1
Maximum filesystem blocks=524288
57 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
# dd if=/sdcard/system.img of=/dev/mmcblk1p5 bs=2M
dd: writing '/dev/mmcblk1p5': No space left on device
88+0 records in
86+1 records out
181981184 bytes (173.6MB) copied, 16.393097 seconds, 10.6MB/s
#

Format worked, doesn't seem to have actually cleaned it out?
[Nook Color Android Development] starkruzr:
Wait a second.

Why is boot /dev/mmcblk0p1 and system is /dev/mmcblk1p5? Why the change from 0 to 1 there? Am I writing to the wrong partition?
[Nook Color Android Development] gZusLuvsU15:
I got everything installed fine. The problem is though, I updated to the new market and had an issue with the programs starting to download and then immediately stop. I reverted back to the original market and now they just say "Downloading" or "Download Unsuccessful". Any ideas?
[Nook Color Android Development] starkruzr:
Okay, after successfully imaging system.img to /dev/block/mmcblk0p5 and wiping /dev/block/mmcblk0p6 (which is data), I boot, it goes through "Touch the future of reading," the "n" screen, and then goes to the "ANDROID" shiny-animated-graphic thing, where it stays, just going over "ANDROID" over and over. What is this a symptom of? Has it gotten through /boot and now trying to run things from /system?
[Nook Color Android Development] drewX2:
I had the same problem with the new market. You need to revert back to the old one.
[Nook Color Android Development] drewX2:
Yes, I believe so. I think that your system partition is not so good. If you image the system while on the froyo sdcard, does it reference mmcblk0p5 in the internal memory or sdcard (I thought it was the sdcard)?

For comparison also:

# df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 244.1M 12.0K 244.1M 0% /dev

tmpfs 244.1M 0 244.1M 0% /mnt/asec

/dev/block/mmcblk0p2 69.5M 106.0K 69.4M 0% /rom

/dev/block/mmcblk0p5 440.5M 106.6M 329.4M 24% /system

/dev/block/mmcblk0p6 941.9M 74.9M 819.1M 8% /data

/dev/block/mmcblk0p8 5.0G 163.7M 4.8G 3% /mnt/media

/dev/block/vold/179:17

7.4G 4.6G 2.8G 62% /mnt/sdcard

/dev/block/vold/179:17

7.4G 4.6G 2.8G 62% /mnt/secure/asec

These are the normal nook partitions for reference:

mmcblk0p1 - Boot (vfat)

mmcblk0p2 - Rom

mmcblk0p3 - Device specific files (serial number, etc) and Factory.zip (flashable zip that returns NC to factory settings)

mmcblk0p4 - Logical Partition (Nothing of use here)

mmcblk0p5 - System

mmcblk0p6 - Data

mmcblk0p7 - Cache (vfat)

mmcblk0p8 - Media (vfat)
[Nook Color Android Development] gZusLuvsU15:
What do you mean "revert" back? I reinstalled all the Google Apps and now I'm getting the continual "Downloading" and "Download Unsuccessful" issues.
[Nook Color Android Development] drewX2:
Sorry about that, didn't read you reverted back.

Did you do: Menu > Settings > Applications > Manage Applications > All > Market > Clear Cache + Clear Data + Force Stop > Reboot your nook

You can also try Clear Cache + Clear Data + Forcestop in Google Services Framework before reboot in addition to the above
[Nook Color Android Development] gZusLuvsU15:
No prob! Pretty sure I did that...I've tried a lot of things :) I'll try it again, just to make sure!
[Nook Color Android Development] starkruzr:
Can you rephrase this? I'm not sure I understand what you're asking.

mmcblk0p5 is the system partition on eMMC. That doesn't seem to change, whether you're booted from SD or not.
[Nook Color Android Development] drewX2:
Why are your system/data partitions different? Shouldn't system be mmcblk0p5 and data mmcblk0p6?

Here is mine:

/dev/block/mmcblk0p5 440.5M 106.6M 329.4M 24% /system

/dev/block/mmcblk0p6 941.9M 74.9M 819.1M 8% /data

The sizes are much different too
[Nook Color Android Development] gZusLuvsU15:
Still getting the "Download Unsuccessful" error, after clearing the cache & data, and force stopping, Market and Google Services Framework. Any other ideas??
[Nook Color Android Development] EpicFail236:
Really interested in giving this a try, but all the download links are expired or dead. Anyone have these that can put them up on mediafire or the like?
[Nook Color Android Development] drewX2:
These should work.
[Nook Color Android Development] Novarider:
Any closer to a working update.zip or maybe even a flashable version through CWM recovery?
[Nook Color Android Development] starkruzr:
Yes, they should - if I was booted off of eMMC :) The reason why my system and data are mmcblk1 is because I am using a Nookie Froyo SD card to dd the system and boot images to eMMC.

It seemed fairly straightforward: image a new Nookie Froyo SD, copy the system and boot .imgs to it, boot to the Nookie Froyo SD, fire up adb, dd boot to mmcblk0p1 and system to mmcblk0p5. Then reboot. For some reason it seems to have been anything but straightforward.
[Nook Color Android Development] bL33d:
What he said :)
[Nook Color Android Development] modembug:
Okay since there seems to be much confusion about the mount points, please refer to my thread on this.. http://xdaforums.com/showthread.php?t=924729&highlight=ref+mount+points
[Nook Color Android Development] modembug:
I have hit a road block with the update.zip... if there are any folks out there that are updater-script savvy hit me up... Im sure its something silly that i am simply overlooking..
[Nook Color Android Development] modembug:
Here is a more in depth tutorial: http://forum.androidcentral.com/bar...how-install-nookie-froyo-internal-memory.html
[Nook Color Android Development] slvdc1:
I tried this and got

# mount /dev/mmcblk1p6

mount: can't find /dev/mmcblk1p6 in /etc/fstab or /etc/mtab

if i cd /dev then ls it shows the partition just cant mount it??!?\

Ideas?
[Nook Color Android Development] drewX2:
You need to specify where you want to mount

so do this:

"mkdir /tmpfolder"

"mount /dev/mmcblk1p6 /tmpfolder"

"cd /tmpfolder"

"rm -rf *"
[Nook Color Android Development] slvdc1:
This worked. Trying to boot now...so far just a black screen. cant tell if its doing anything :p.

EDIT: if I hold the power button i get "OMAP3630" pop up in the device manager for about a half a second then it disappears :(
[Nook Color Android Development] EpicFail236:
A Bit of additional notes here, it seems part of the problem here is that the device won't always make mmcblk0 be the eMMC and blk1 be the SD card. the easiest way to check this is:

cd /dev

ls

And find which mmcblk has seven partitions (I am assuming your SD card doesn't have seven partitions. if it does, what the hell are you doing with your SD card?). That is the destination.

Hope this helps at least someone :-)
[Nook Color Android Development] starkruzr:
Has anyone else seen blk0 be the SD card and blk1 be the eMMC? Because I have never, ever seen that happen.
[Nook Color Android Development] succulent:
When I did,

dd if=system.img of=/dev/block/mmcblk1p5

I got no space left on device and 244MB copied. How do I clear space?

edit-nvm, read page 5.
[Nook Color Android Development] EpicFail236:
From what I've read elsewhere, it seems to be based on which boot loader you use (CWM vs. Nooter vs. Whatever)
[Nook Color Android Development] EpicFail236:
Market Download Unsuccessful fix!

Think I found the issue with the "download unsuccessful" problem!

Apparently, the system requires write access to the "downloads" folder to actually update apps. Of course, this means that you have to have an SD card inserted for the market to update anything. If anyone else is having this problem, try mounting your SD card on your device, then re-run your market installs/updates and see if that works. Let me know if I was just a victim of coincidence however
[Nook Color Android Development] Novarider:
If I download a DD program for wondows and follow the instructions linked on page 7 would this work on windows?
[Nook Color Android Development] drewX2:
Yes and you will need a ssh client too

*** I just updated my directions earlier in this thread with a script to help people prevent typos ***

http://xdaforums.com/showpost.php?p=10874850&postcount=29
[Nook Color Android Development] modembug:
thanks drewx2 :D
[Nook Color Android Development] succulent:
This work! I use PuTTy as ssh client on windows.

Word of advice, this Froyo built has no Android Market. I can't get ADB to work ever on my PC. I had to download Astro File Manager from google. Then I restored all my apps using Titanium Backup. So backup first and make sure you can ADB a file manger app to your Nook or find one.
[Nook Color Android Development] slvdc1:
I was able to run your script but I am getting a message that there isnt enough room for each of the building steps??! Am I forgetting something? It mounts the partitions, then clears, then builds but the dd fails because there is no room :(

EDIT: Also, the step "mount /dev/mmcblk0p1 /sdcard" doesnt work for me on mmcblk0p1 the only other one i can use is mmcblk0p5 is that ok? My sd card isnt in 2 partitions so i dont know why its that way
[Nook Color Android Development] drewX2:
You cant use mmcblk0p5 because that is the system partition.

do a "df -h" and paste the output please
[Nook Color Android Development] slvdc1:
C:\androidsdk\android-sdk-windows\platform-tools>adb shell

# df -h

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 244.3M 12.0K 244.3M 0% /dev

tmpfs 244.3M 0 244.3M 0% /mnt/asec

/dev/block/mmcblk0p2 69.5M 106.0K 69.4M 0% /rom

/dev/block/mmcblk1p2 144.3M 86.3M 50.6M 63% /system

/dev/block/mmcblk1p3 687.1M 40.1M 612.2M 6% /data

/dev/block/mmcblk0p7 341.8M 12.1M 312.0M 4% /mnt/cache

/dev/block/mmcblk0p6 941.9M 16.0M 878.0M 2% /tmpfold

#

Also, for some reason the "unmount" command isnt recognized. Maybe my version of adb isnt right?

EDIT: looking at my list and the reference mount points.....something is very wrong here. Maybe from using early version of CWM to restore? not sure...how can I fix it? I've tried dd'ing stock images but im not sure how to get them on now? I cant mount properly
[Nook Color Android Development] drewX2:
Are you using nooter or the nookie froyo sdcard? My directions/script assume you made a nooter card.
[Nook Color Android Development] ericman77:
Works great!! Just need back button. Any body know where to find directions to remap volume keys. Seen it before cant find it again.
[Nook Color Android Development] slvdc1:
I was using a nooter card.

EDIT: I booted into CWM sd recovery and tried to flash the stock.zip to return to stock and CWM says "cannot mount /sdcard invalid argument" /sigh

How did this get so f*cked up...
[Nook Color Android Development] modembug:
Use button savior :)
[Nook Color Android Development] modembug:
lol... sorry not to laugh at your misfortune, to fix go mounts and mound sdcard first.... or just dd the stock images :)
[Nook Color Android Development] starkruzr:
What can we do about applications not showing up in Market? Did the build.prop Sholes-2.1 change, gave me a few things but still can't see Zeam, the new Facebook, some applications like Engadget and The Weather Channel. Help?
[Nook Color Android Development] samuelhalff:
I'm uploading a flashable zip of nookie/emmc. For those interested in waiting..

I was tired of explaining how to recover from messed up NCs...

Sam
[Nook Color Android Development] Novarider:
HOLY SH*T!!! I actually got this to work! I'm so excited!!!!!!!!

Ok deep breath. Now I feel better.

The screen isn't as responsive as it was running off of the sdcard. What would cause this?
[Nook Color Android Development] drewX2:
Yes Please

Did you turn it off then back on after booting?
[Nook Color Android Development] wretchedlocket:
http://nookdevs.com/NookColor:_Nookie_Froyo_Tips

sent from my rooted Captivate using the XDA App
[Nook Color Android Development] wretchedlocket:
Were you actually able to get button savior to work? I got it installed just fine but it won't show in my app drawer and won't launch.

sent from my rooted Captivate using the XDA App
[Nook Color Android Development] Novarider:
If you include gaaps and softkeys most people would be completely set from there
[Nook Color Android Development] samuelhalff:
Flashable gapps included.
[Nook Color Android Development] wretchedlocket:
Quick question: is there a need to go back to stock Nook before running through this process?

sent from my rooted Captivate using the XDA App
[Nook Color Android Development] drewX2:
Nope, no need.
[Nook Color Android Development] j1what:
Is this posted somewhere yet? I'd love to run froyo, but not quite ready for all the command line work all through the rest of this post...still a little new to this.

Thanks
[Nook Color Android Development] urbanengine1:
Ignore......
[Nook Color Android Development] j1what:
My above comment was in regard to this....sorry 'bout that.
[Nook Color Android Development] urbanengine1:
Just realised ;)

But yes, where is that zip :?
[Nook Color Android Development] nookierookie:
Is the recent "flashable zip" on the OP flashable via CWM? That is what that means, right?
[Nook Color Android Development] urbanengine1:
Unfortunately it doesn't say "flashable zip" or anything of the kind, so i dnt want to try try it in case on destroys my nook :eek: :(

Can the op confirm that it is in fact a CWM flashable zip?

EDIT: i think its safe to assume it is, as the zip is about 900 mb
[Nook Color Android Development] drewX2:
Its not. I dont think it has been posted yet.
[Nook Color Android Development] Novarider:
Now that I have this up and running I have two questions.

1. How can I get my computer to recognize the internal media of the NC? When I hook up my NC to windows it just shows the sd card not the internal media.

2. Can I just flash things to this like normal? What I mean is can I flash the over clock kernel then if I don't like it flash back to stock with no problems? If so what needs to be wiped Just cache?
[Nook Color Android Development] slvdc1:
Well, I know i'm an idiot and screw thing up but thats how we learn right ;) Going to try dd the stock images again...
[Nook Color Android Development] spyz88:
Does anyone have working links to the NookieFroyo.zip? The links in the OP are dead. Can someone upload them to dropbox or mediafire?

Thanks
[Nook Color Android Development] Novarider:
Why not just flash the flashable version that was posted in the main dev section?
[Nook Color Android Development] spyz88:
Because they are on SlingFile which seems to not like Chrome, Safari or Firefox. It moans about enabling cookies when they are enabled.
[Nook Color Android Development] slvdc1:
IE tab fixes it.
[Nook Color Android Development] Novarider:
When I get home tonight I will post a mirror if its still needed.
[Nook Color Android Development] JesterDev:
FIXED.

Worked for me, however, I am having market issues "Install unseccessful". Tried putting in the SD card, and still no help.

I managed to adb install several apps, however, seems to me that these apps to not have write access. SetCPU crashes whenever I try and make changes, and Tapatalk crashes whenever I add a forum to my favorites. The only app manager that works is Rootexplorer. Reinstalling these apps does not seem to make a difference.

Edit: Just noticed this. When I insert the SD card, it says "Removed SD Card", when I put it in "SD safe to remove" - Have to reformat SD card again? Formatted as Fat32, already.

EDIT AGAIN!: Managed to fix my own problem. NC kept telling me that the card was damaged, and every time I tried to format via the NC it would fail stating the the card was damaged - Which it very well may be. However I loaded it up in windows, created a new folder "New Folder", inserted it back into my NC, and all was right with the world. Market now works again, after canceling the previous downloads, it all seems to work. Just have to reinstall the apps again so they get proper permissions.
[Nook Color Android Development] slvdc1:
Was able to dd the stock images over. Now I get to the normal NC startup screen. lets try this again...more slowly
[Nook Color Android Development] EpicFail236:
Be careful with that SD card and make sure the boot flag was removed from it. I had a similar issue with a formatted SD card, and when I reformatted it, it didn't have the boot flag removed, the Nook tried to boot from the card and caused me no end of trouble, and ended up in a reflash and two hours of my wife putting up with my complaints.
[Nook Color Android Development] modembug:
Its a set of dd images, non flashable
[Nook Color Android Development] Novarider:
Can someone please tell me how to mount the internal media so that my computer can see it? I would like to be able to access that 5gb of storage so I can put some movies on it
[Nook Color Android Development] modembug:
Novarider, I got your message. I am replying public so everyone can see it. I see that Sam has his reasons and has decided to leave XDA unfortunately as my work was based on what he had going. I am looking forward to moving forward with his progress and getting the custom rom movement kicked off so we can enjoy the custom roms that we do on our Android Phones. I should have time here soon to take apart the img file that he uploaded before he left.

Cheers!
[Nook Color Android Development] urbanengine1:
Awesome :D

Thanks for continuing your work :D

(Anybody else think its a good time to get a case of beer!?!)
[Nook Color Android Development] Novarider:
Someone has to know what I'm asking. Even if its not possible right now just tell me that so I know please
[Nook Color Android Development] theadlee:
MP3's and Youtube not working

I have the weirdest problem mp3's will not play and when trying a youtube video is says, "Sorry, this video cannot be played"

Seems like some kind of codec issue. Any ideas?
[Nook Color Android Development] modembug:
I am adding more mirrors so hopefully more people can grab the images...

Cheers!
[Nook Color Android Development] modembug:
Not sure if thats possible... You could probably do it via SSH, or just push via adb
[Nook Color Android Development] jasoraso:
I think modembug's port of 2.2 is based on Cicada's port, so this should help:

http://xdaforums.com/showpost.php?p=10875876&postcount=493
[Nook Color Android Development] Novarider:
What would that command be? Something like adb push "name of the file" /media/ or would it be. Adb push "location of the file/name of the file" /media/ if that's wrong what would be the correct command?
[Nook Color Android Development] Novarider:
Is everyone getting worse battery life than with stock rooted? My battery drops fast
[Nook Color Android Development] modembug:
adb push {filename} /media would be correct :)
[Nook Color Android Development] modembug:
Please list the apps/services you have running.. Also are you using exchange push etc?
[Nook Color Android Development] Novarider:
With or without those brackets?

dolphin browser, k9 mail, root explorer, zeam, kindle, ez pdf, maybe a couple others. Nothing different than stock rooted. I have removed phone, mms, telephoney apks to get rid of cell standby. According to spare parts it is sleeping. I did turn window and transition animations to fast.
[Nook Color Android Development] starkruzr:
PSA: If you find applications FCing with no rhyme or reason to them, install and use "My Fake Location." These are typically applications that expect GPS to be there.