yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] mr_fosi:
Yes, you're right, there is something wrong there. :D

Last night I deleted all partitions on the card and again used DD to write the IMG from the 7z file to the unpartitioned card. I chose the 7z file because like in windows, Kubuntu's archiver reported the IMG file size in the zip files in a funky way (0 bytes) but the 7z file contents looked fine.

It took 51m 39s to write the image to the card but it did so without errors. Gparted tells me that there are now 3 primary and 4 logical partitions leaving 125MB unallocated.

So it looks like I now have the card ready, but I won't be able to test it for a couple hours. I'll report back and let you know how it goes.
[Nook Color Android Development] mr_fosi:
Good morning to you all. :)

In answer GTT1: All you need to do is write the IMG to the card and boot from it. The IMG has all the needed partitions, CWM 3.0.0.1, the scripts and the ZIP file to get this all done.

Regarding the card cum stock ROM, I am sure you can write an image of it and keep it as a backup. DD is perfect for this (win32DI is probably fine too) because it does a sector-by-sector copy of the card which insures a perfect 1:1 match with the original if you have to re-burn the image at a later date.

Regarding my own exploits, I have seen some success.

Here's what I did:

- I upped my CWM 3.0.0.1 uSD to the latest 3.0.2.8 using the guide I linked earlier.

- I used CWM to make a (nandroid) backup of my CM7 setup, including SD-EXT and .android_secure info. This required ~800MB.

- I reverted to 1.01 stock using this guide, which was easy since I already had my CWM uSD ready to go.

- Once reverted, I booted into the stock ROM, registered, downloaded my books then got the official 1.2 update from B&N and followed their instructions.

- Once I was upped to stock 1.2 using the official update, booted into the upped stock ROM just in case it needed to verify the registration or anything. It didn't seem to do anything, but it seems like a safe thing to do.

- I used the manual nooter to root 1.2, which was again dead-simple because I had my CWM uSD standing ready.

- Once rooted, I booted into the now-rooted 1.2 and registered my market and it it fully sync, then I shut it down.

- I popped in my CWM uSD and made nandroid backup of the rooted 1.2 ROM, then shut it down again and popped in the Stock2SD uSD that I burned last night.

- I followed the instructions in the OP; it took a good while (20 min?) to copy everything over but I think I am using a class 2 uSD, so there you go. :D

- After all data was copied, I popped the Stock2SD uSD out and booted into the rooted 1.2 just to be sure everything was kosher and it was, so I shut it back down and popped my CWM uSD in again.

- Using CWM I restored the backup(s) of my CM7 setup, excluding the SD-EXT partition, since nothing was changed.. The device locked when I restored boot and data but I have read that this is normal (at least for boot), so I just hard-offed it, booted back to my CWM uSD and continued restoring partitions. It took a good while to write all the files but I've been told that patience is a virtue.

- Once the backups were all restored, I booted without the Stock2SD card to make sure that my CM7 was back and ready to go, and... IT WAS! WOOT!

- I shut it back down, popped in the Stock2SD card and booted to verify that the stock worked and... II DID! WOOT X2! It loaded things much slower than it did when on the EMMC but I will attribute that to the lower class rating of my uSD. Once things were loaded into memory, they ran snappy enough.

So the moral of the story is: stick with 7zip and DD and when the going gets tough, look not to your uSD card but rather at its adapter before you spend hours trying to fix a non-existent boot record.

Many, many thanks again to you racks for posting this wonderful fix!
[Nook Color Android Development] Ophbalance:
It may be me, and I may not have left 1.2 up long enough for all the B&N bits to be happy, but can anyone who has magazine subscriptions get them to work? I get force closes on the B&N apps for the most part.
[Nook Color Android Development] racks11479:
We have success?!! Awesome! :D

Glad you got it all working! Enjoy your stock on SD and the wonderful roms here from the Nook Community on you EMMC. :)

Great writeup by the way ;)

Thanks,

Racks
[Nook Color Android Development] onlinespending:
Once you get the stock ROM copied over to a microSD card, is there some way to be able to choose between that ROM on the microSD card and the one on eMMC (CM7 in my case) upon booting the Nook Color? I'd like my big 32GB microSD card to not only hold my media but also the stock ROM and be able to boot from it selectively. Thanks.
[Nook Color Android Development] mr_fosi:
Not using this method.

The card will be made bootable and will thus boot every time if it is in the slot. Perhaps the dual boot guys would have suggestions on how to add a boot manager to it.

If you figure out how to make that work, I'd like to know as well.

Also, this needs to be done on an 8GB card, I believe. I dunno if it would work properly on a larger card but I'm interested in hearing the results if you test it.
[Nook Color Android Development] racks11479:
All you really need todo is replace the u-boot.bin file of your stock sd rom with the one from jamm4rs thread. It will give you an option to boot to emmc or sd. So you will be able to leave the sdcard in
[Nook Color Android Development] mr_fosi:
Sweet! I just may give this a shot!
[Nook Color Android Development] Cheese Masterj:
I'm up and running on MicroSD Card now, a big, big thanks to Racks11479 for his work, and Mr_Fosi, as I used the guide in his post as a model. Beyond a small hiccup where I needed to re-partition the SD Card, it was really straight forward. It's great having the Stock features available, especially the magazines. I'm looking forward to seeing others benefit from all the dev efforts.
[Nook Color Android Development] racks11479:
Glad to know you got it working Cheese Masterj.

Mr_fosi if you wouldn't mind it, I've included your write up in my OP. With credit to you of course. :)

Thanks,

Racks
[Nook Color Android Development] mr_fosi:
No probs at all. :D

Glad to contribute something of use.
[Nook Color Android Development] Ophbalance:
Just to verify, those that are running this on SD are able to download magazines and such through the B&N shop? If so, I'm going to have to let the 1.2 update simmer on EMMC a bit longer before I run the 2sd script.
[Nook Color Android Development] Cheese Masterj:
yes, it's working fine. I caught up on back issues of Spin and The Boston Globe today using Stock on SD
[Nook Color Android Development] mr_fosi:
Works for me.
[Nook Color Android Development] fuzzynco:
Does this work like the CM7 prepararer??

That is, are the original contents (from the .img) replaced with the

data from the eMMC partitions? Does it write all 8 partitions to SD card?

I'm trying to find a way to preserve the hardware specific information

in eMMC p2 and p3 on SD for possible disaster recovery. I currently

have NOOKcolor 1.2 stock on eMMC and daily run Nookie Froyo 0.6.8

from SD card. I have a separate 2gb bootable CWR 3.0.2.8 (targets

eMMC though). I use that to do nandroid backups of eMMC partitions.

Thanks
[Nook Color Android Development] mr_fosi:
My card has 7 partitions and 128MB unallocated. All but the first are non-windows and I don't care to boot linux to check their formats for you.

- 71MB FAT32 named "boot"

- 71MB

- 16MB

- 455MB

- 957MB

- 353MB

- 5.4GB

Hope that helps you.
[Nook Color Android Development] fuzzynco:
looked at the scripts

It copies everything except emmc p3 (factory). p2 appears to be the hardware

specific partition emmc p2 (rom).
[Nook Color Android Development] racks11479:
Correct. However. I would suggest you backing up the /factory partition to your PC as well. Which is p3. This partition stores the factory.zip(the stock software that came with your nook) and also the rombackup.zip(**very important** this is the backup of your /rom partition) It holds all of the important unique device ID's. If you lose the rombackup.zip or the /rom partition. Then you're pretty much screwed from running the Stock B&N software on your device.

I would have preferred not to copy over the /rom partition to the SDcard either but it just wouldn't boot without it.

-Racks
[Nook Color Android Development] play3r:
sdcard partition

My sincere thanks to racks11479 for this image / process. I was able to create a bootable SD from a virgin NC. Then, I was able to boot from the SD and register.

I made one minor change. On the SD card in the system partition, I modified the etc/vold.conf file. I added "partiion 8" to the 2nd device path, volume_sdcard2. Without this change, when booting from the stock SD card, my NC was pointing the SD card to the first, boot, partition.

See: settings -> Device Info -> SD Card

Now to try it out at my local B&N store.

Thanks again!
[Nook Color Android Development] caballar:
Would it be possible for someone to post a sd-card img file with this process already performed so that people who want to stay on CM7 could just burn someone else's image of 1.2 to an sd?

similar to the sd images on racks11479's thread? http://xdaforums.com/showthread.php?t=998861
[Nook Color Android Development] fuzzynco:
Stock to SD followup

Ok -- I can mount emmc p3 (factory) with NookColorUMS and just

'cp -a' the file system to the PC like I did p2 (rom). I imagine dd

would create a usable .img too.

Out of curiosity, if we're copying rom (device specific files) to the SD

card, why not the device specific backups? Since that changes the

partitioning, the card is not actually a clone / backup of the current

emmc partitions? Does the 8 failed boots restore just crash because

it can't find the factory partition?

Can the script be updated to fix the /sdcard (or /media) partition

to point to p8 (where it is) rather than auto (p1) ?
[Nook Color Android Development] artcwolf:
I think i'm confused or did something wrong. I'm running MadCats recent honeycomb on my eMMC, i downloaded and wrote the SD img to my SD card using windisk32 i ran the CWM on boot up to the card, but i'm still loading my eMMC.

Should i have my NC back at stock before i do the SD img?
[Nook Color Android Development] Cheese Masterj:
Did you ever get an answer to this question? I had this working a while back with no issue, but lost the micro sd card with the Nook stock on it. I followed the directions as before, but also keep booting to emmc.

There have been many updates since I installed originally, and I am now also running a custom boot animation if it matters.
[Nook Color Android Development] racks11479:
Your not booting to emmc. Your booting to the sdrom you just copied over from your Emmc partitons.

This img copies whatever rom you have on emmc to the sdcard. But I specifically made it for stock because some people still wanted the stock b&n functionality but wanted to run a custom rom on their emmc. So yes you would need to revert to stock then run the script on the img.

-Racks
[Nook Color Android Development] Phatdawg:
Got a new sandisk 8 gb card and this image file is too big for it slightly. Anyway, you could resize this to 7.3 flat?

Thanks.

Nevermind, I wrote image to 16gb, resized the last partition to 5.3 and then re imaged, and re wrote to 8 gb card.
[Nook Color Android Development] Cheese Masterj:
Thanks Racks, somehow I missed that I had to be on stock. I hadn't even been drinking yet either!
[Nook Color Android Development] HarleyChick:
Works Great!

Racks - just wanted to say thank you! I was looking for a way to get Stock 1.2 on an SD card, and this process worked really well. I had a bit of a hiccup when I went to return CM7 to the emmc, (had to reinstall twice, and reboot 3 times I think), but everything is working perfectly now.

You ROCK out loud! :D
[Nook Color Android Development] racks11479:
That's great to hear. I'm glad you found it useful. :D

Thanks for the kind and "loud" words. :p

-Racks
[Nook Color Android Development] HarleyChick:
OC Kernal to SD Card

Need a little help - or just a point to the right thread. How do I get Dalingrin's OC Kernal for Stock 1.2 mounted on my SD Card? I downloaded the Kernal (yes, specifically the one for the SD Card), and copied it over to my Stock 1.2 SD card, but do I need to do anything else? I'm assuming I do, but how do I boot into recovery from my Stock 1.2 card? Do I boot into recovery from the "reboot" menu while I'm in CM7 and then insert my card and choose install zip, and if so will it automatically install it to the card, or will it mess up my emmc?

Did I ask enough questions in one little paragraph? :(
[Nook Color Android Development] mr_fosi:
Not sure if you need the SD version? Since you moved your stock install to the SD, did you have to use an SD-specific stock kernel to do so?

If not, I wonder if it would be as simple as manually placing the files from the OC kernel in the appropriate partitions on the SD...?

Whaddya reckon, racks?
[Nook Color Android Development] racks11479:
You should be able to boot into CWM Recovery from the SDcard. The CWM I included in the install has a modified recovery.fstab so it will mount the SDcard rom partitions and not your EMMC partitions.

If you download the OC sd specific zip from Dalingrin, you could prep it for an SD install by unzipping the contents and modifying the "updater-script". Change "mmcblk1p2" to "mmcblk1p5" and boot into CWM Recovery that should have been installed to the your Stock SDrom.

Or you can do as Mr_fosi suggests and copy over the file to the corresponding partitions after unzipping the OC kernel zip.

Hope that explains it somewhat.

-Racks
[Nook Color Android Development] HarleyChick:
Racks - I hate to sound like an idiot, but I cannot seem to get my Nook to boot into recovery with the Stock SDcard installed. I've tried everything I know (not much, I'll admit), but it just goes right to the "read forever" screen. What am I doing wrong?
[Nook Color Android Development] racks11479:
OK, try this. I assume you have CM7 on EMMC. Download the attached zip below to your PC.

Then download the NookColorUMS app from Samuelhalff here.

And install the NookColorUMS app in CM7. With the StockSD-Rom inserted in the nook, and the nook connected to your PC/Mac/Linux. Launch the app and mount 1st Partition of SDcard. That will mount the /boot. Now unzip the contents of the zip you just downloaded. And copy the "u-boot.bin", uRecRam, uRecImg over to the boot partition that was mounted to your computer. Make sure you eject the drive then unmount the drive in the NookColorUMS app as well. Now reboot your Nook with the StockRom-SD still in. It should give you j4mm3r's boot menu. From there you can choose to boot to EMMC, or SD, recovery or alternate. You should now be able to boot to SD-->Recovery.

Hope this helps. ****Make sure you backup.. just in case :)****

Let me know how it goes.

-Racks
[Nook Color Android Development] HarleyChick:
First, let me say thanks for trying to help. Unfortunately, I can't get my work computer to "recognize" my Nook when I plug it in, so it will not mount the hardware properly. Ugh!

Let me ask this though: Is there any reason I can't just copy those particular files over to my card like I would any other file, or there something special about the UMS app? Or could I do it in EASEUS? Also am I "copying" those files over, or am I "replacing" the files that are already on the card and named the same?
[Nook Color Android Development] racks11479:
Nah, you could just copy them over if your computer recoginizes the partitions when u plug in the micro sd with a microsdcard reader. You would be replacing the files. But make sure you backup the original anyways just in case something goes awry. Just add a .bak extension to the originals then copy over the new ones to the /boot partition.

-Racks
[Nook Color Android Development] HarleyChick:
Okay, first, let me say that it was very easy to get into CWM recovery by doing what you said above. However, once I got into recovery, I could not find my zip file to "install". I clicked on everything - install, update; no dice. I took out the card, put it in my computer and sure enough the zip file was still there. And of course, when I put the card back in the Nook, it will only boot into recovery.

I took the card back out, deleted files that I had just put on to get to recovery, put the "backup" files back in place, put the card back in the Nook, and now it will get as far as the "Read Forever" screen, but that's it; nothing else.

Don't know where to go from here. I could start again from scratch, but I'm just not sure I'm up to it. Any suggestions? :confused:
[Nook Color Android Development] racks11479:
Not sure what the problem would be if you copied back the original "u-boot.bin" file. It should work as before, you really didn't do anything harmful to change the boot process.

I'll PM you tonight when I get a chance, hopefully we can figure this out together without you having to redo your setup again. :)

-Racks
[Nook Color Android Development] HarleyChick:
Out of frustration, I went back to square one and recreated my Stock 1.2 SD card, so at least I can use it to get back to 1.2 when I want to. Would still like to get the OC kernal on there, but if it is going to cause me this much heartburn its not worth it.

Thanks so much for your patience and help. ;)
[Nook Color Android Development] KnowledgeBroker:
*Post removed*
[Nook Color Android Development] DizzyDen:
Racks... love your work buddy...

One thing I can think of that might be an improvement is to have the stock-on-SD mount /dev/block/mmcblk0p2 and 0p3 instead of copying them over... then it wouldn't hurt using copies of the SD in multiple devices at once... since it would reference device specific information from eMMC instead of SD.
[Nook Color Android Development] racks11479:
Hi DizzyDen,

I would have loved to do so as well. But as stated in my OP. No matter what I tried it just would not boot. Those were my initial intentions when prepping the install. But gave up after 3 days of getting the same outcome no matter what workaround I tried doing. If you or someone else can figure it out, please take what I have and roll with it! :D

-Racks
[Nook Color Android Development] DizzyDen:
OK... I have a couple of ideas to try... first would be trying to mount eMMC's 2nd and 3rd partitions to same file structure on the SD... second would be trying to symlink them... unless you already tried these approaches.
[Nook Color Android Development] lschroeder:
Initial Boot Behavior Back

Somehow in eMMC version of MN Stock 1.2 I set Zeam as the default. For testing in-store-reading I need initial behavior of choosing back. Is there anyway with ADB wireless to do a command to unset Zeam as default? Could also use Root Explorer.

By the way for everybody out there, your routines work for a modified, rooted manual nooter ROM as well. Thanks Racks, you are the greatest!
[Nook Color Android Development] harryzee:
Racks,

I have posted the following...are you working on this???

Thanks for any response.

I am currently using mn 4.6.16 on internal.

I had previously (and quite successfully) tried stock 1.2 on an sd card while I ran CM 7.0.3 or Phiremod 6.3 internally.

I just tried the new 1.3 zip on an sd card burned with cm 3.0.2.8 and the install action aborted.

Is anyone working on a 1.3 image similar to the following that was done for v1.2?

http://xdaforums.com/show....php?t=1061523

My aim is to experiment with doing a mn to the sd card without distubing my current stable mn settings.

Thanks in advance.
[Nook Color Android Development] stealth658:
Hi, I've got this setup working on my NC, with CM7 on the EMMC and Nook OS 1.3 on the SD card. The only issue I have is that on Nook OS, it mounts the 'media' partition from the SD card (the 5.4GB one), and on CM7 it mounts the 'boot' partition (70MB).

Basically, I'd like CM7 to mount the same partition as the Nook OS does. I think it'd have to do with changing the /etc/vold.fstab, but I'm not really sure how to go about doing it. If anyone could help me out, I'd really appreciate it. Thanks.

Edit: Sorry, that was easy enough. Just had to change the partition from auto to 8.
[Nook Color Android Development] JLCollier2005:
I apologize if these questions have been answered, I just read through all 10 pages but noticed a huge gap of about a month in between posts, so decided to just ask.

I am currently running CM7 7.1RC on eMMC. I'd like to be able to make an SD card (16GB) that I can leave in there and have the option to boot either OS (the CM7 on device and B&N 1.3 on the SD card) and that I could keep my media (books, music, sounds, videos, pictures, etc.) all on the SD card with it.

Also, I'd like to be able to do all of this WITHOUT changing my current CM7 setup (meaning I don't want to have to backup everything, go through the whole process and then restore.)

I know it's a lot to ask because obviously the OS isn't built to act like this, but I wanted to confirm if it's possible

If it is NOT possible, how easy is it to do the backup my current CM7, go back to stock, transfer it to SD, restore my CM7 and have the dual boot option?

Thanks for the help all!
[Nook Color Android Development] 4regt4:
Hopefully somebody is still following this thread......

The OP references an .img file that recreates (as I understand it....) stock like partitions on the SD card. But most/all of this thread seems to predate "blue dot" partitioning scheme. I'd like to put my ManualNootered 1.3 on SD, and keep the NC at completely stock B&N 1.3. So to do so, I'm assuming (yes, I know....), that I need all of this to be constructed using the new partitioning.

Anyway, ideas on putting rooted 1.3 on SD, stock in eMMC?

Bunches of thanks in advance.

Edit: I was just thinking (yes, I know, I shouldn't think...) that perhaps I could follow the method in the thread of installing CM7 to SD. But instead of copying the .zip of CM7, I could just put in my latest CWM backup of my Nootered 1.3 instead. Sounds really iffy, but it's unlikely I'd end up with a brick, as I have copious backups on a bootable CWN chip. Maybe worth a try?
[Nook Color Android Development] racks11479:
Hi there, funny that I havent been back here in a while and thought I'd drop in to see whats up and I see this. Well your second thought wouldn't work with verygreens SD install. His method searches for a zip file. Your CWM Backup of your rom are .img files.

I haven't had time to do much lately, but maybe I can throw together a "blue-dot" partition layout backup when I get a minute and just post it here just in case somebody might find it useful. I have no ETA's but will work on it as soon as I have some free time. And of course I will need someone to test it for me since I don't have "blue-dot" nook. PM me if you are interested in doing so. I'll keep you updated when I have something to test.

-Racks
[Nook Color Android Development] mikey4226:
I'm having some issues here. This guide worked fine for me in the past, but for some reason, it's not playing nice this time around. I'm running Windows 7 Professional 32-bit on a Toshiba Portege M700 laptop.

Whenever I try to use WinImage to burn the stock2sd_v.0.1.img to my usd card, I get the error message: "Error in writing disk Disk 2, error 121: The semaphore timeout period has expired."

I've googled it, and none of the solutions have worked. I've tried the process after a clean boot with Windows firewall disabled, AV disabled, and only microsoft services running.

I've used different usd cards, so it's not the card. I think it may be an issue with the reader, but I don't have an alternative card reader to test out. Does anyone have any possible solutions? Thanks in advance!
[Nook Color Android Development] racks11479:
@mikey4226,

I've never had the issue you are having. And I've tried burning it on a pc, mac and linux and all went well for me. Only suggestion would be to get a new card reader. As most of the problems that people have with burning .img to an microsdcard has to do with the reader itself.

Oh and OP updated with working links.

Thanks,

Racks