yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] xdabr:
Continuing my adventures in clueless noobing, I've downloaded the following 3 files. I hope they're correct, and if so perhaps they could go in the example in post #2. Please let me know if this in error.

jtbnet's installer:

http://dl.dropbox.com/u/6922721/Nook-2GB-SDCard-CW3010-VGCM7InstallerAsALTinMultiBoot-v6.zip

Current CM7 nightly as per CM7 page:

http://mirror.sea.tdrevolution.net/cm/nightly/encore/cm_encore_full-38.zip

GApps as per CM7 Wiki:

http://android.d3xt3r01.tk/cyanogen/gapps/gapps-gb-20110307-signed.zip

So the GApps are generic for CM7 on ALL devices?

From the other thread:
[Nook Color Android Development] 12paq:
Nope. But for now CM7 for the Nook uses a generic version.

This a simple way to get around distribution of Google crap in Roms, we just do it ourselves and the attorneys take their money and go away.

back on topic, would it be easier for you to just install one of either, Rack's or Verigreen's (my fav) CM7 uSD installs first before jumping into this? I don't blame you tho... this is a really versatile setup. The learning curve is steep but fun! (:
[Nook Color Android Development] xdabr:
Thanks 12paq, but believe it or not I'm going for simplicity -- as far as I can tell the other options require 2 SD cards and/or Clockwork Recovery and/or modifying the eMMC, all of which I'd rather avoid. Is that not true?

I'd rather just download a single ISO with the latest CM7 and GApps, burn it to SD, and call it a day. This thread seems like the closest at present?
[Nook Color Android Development] 12paq:
Well, neither Rack's or Verygreen's modify eMMC and I don't believe Verygreen's Agnostic CM7 needs more then one card. (hint: buy some cheap 2gig cards for experimenting fun)

And with running CM7 from sd, not modifying eMMC is kind of the point. ;)

But still not a reason to go forward with this install. However, this thread I believe, is more of a developers template? But no reason to not use it for yourself, except for me it was hard to get my head around. lol.

All I did was change my boot files from my existing set up, so I could safely mess around and experiment (see thread). I am soft bricked as we speak from another experiment.. but I am restoring via a nandroid backup thanks to the op's compiliation, so all's good.
[Nook Color Android Development] jtbnet:
I've added links and comments to OP#2 THANX!
[Nook Color Android Development] jtbnet:
Sorry to hear you woes today but great you have a backup to restore :)

With VG's installer as Main boot in his card the initial install overwrites the uImage and uRamdisk thus why I moved it to AltImage and AltRam so that VG's great functionality would be there for me to use again for tomorrow's nitely with out me needing copy copy the files back to boot...
[Nook Color Android Development] 12paq:
No woes, this is all fun. I always back up my data and mess around as much as possible. :)

Heres is my recent challenge; the current nightly 04/09 is 93,874kb and now I have about 89,000kb free on boot, so there is not enough space to put the nightly on the boot partion and use VG's installer. I probably can either revert back to my original set up (I made copies of my boot files) or just use CWM as always..

What size should the boot partition be? just in case I have a hidden file taking up space.. thx.

**EDIT: my boot size issue is not from the op's installer**
[Nook Color Android Development] jtbnet:
I ran into that problem a while back and then wasted more space on /boot with the saved copies of the the different bootloaders, images, and ramdisks so when I made this card I went from scratch instead of using someone else's premade and I made a 150MB /boot partition then you have ~120MB free... the original on most other's cards was a 117MB partition and I found I only had abot 90MB free thus CM7 plus gapps had to be some seperately....
[Nook Color Android Development] 12paq:
You know, you are probably correct. Certainly, this is the most versatile.

I am really enjoying this set up. :)
[Nook Color Android Development] TheEditor:
Ok, Thanks to the update of this flashing system I can now see the SD mounted under CM7. Now my wish it to get the same SD Card partition mounted as SDCARD under the rooted stock Eclair and the SD booted CM7. I know there was something about it in the past but I cant lay my finger on it. Any help would be appreciated.
[Nook Color Android Development] jtbnet:
I should probably put this in OP#2 a bit more cleaned up too...

To have rooted stock eclair version nook use the same sdcard partition (#4) as you use when booting on an SDcard bootable you make one simple edit to the stock eclair /system/etc/vold.conf... there are 2 definition blocks in the file... the first is for mount of internal eMMC partition 8 as /media, while the second block is to mount the 1st sdcard partition as /sdcard... to change this so that the 4th partition on the SDcard gets mount to /sdcard just Add a line;

partition 4

in the second block with your favorite editor like Root Explorer, or via adb pull,edit,push of the vold.conf file...
[Nook Color Android Development] TheEditor:
Thanks that worked the trick. I finally have my holy grail, rooted Eclair in emmc and CM7 on SD with a boot menu and shared SD partition. Please keep up your development efforts for tools of this type.
[Nook Color Android Development] psiphi:
Discovered I needed to add label "sdcard" to 4th partition to get SWIFTP working and change it to primary type for my card size... (Noticed the Primary change already mentioned...) I found wireless FTP best method to move files around, especially from android to android device...

Good work on this...
[Nook Color Android Development] ganovim:
sorry, but this is unclear.

Here is my vold.conf for the rooted emmc 1.1

what do I change to share the same sd partition for /sdcard?

volume_sdcard {

## This is the direct uevent device path to the SD slot on the device

media_path /devices/platform/mmci-omap-hs.1/mmc_host/mmc0

partition	8

media_type mmc

##mount_point /sdcard

mount_point /media

ums_path /devices/platform/usb_mass_storage/lun0

}

volume_sdcard2 {

## Currently points to internal eMMC, assumes eMMC is formatted as FAT32

media_path /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

media_type mmc

##mount_point /media

mount_point /sdcard

ums_path /devices/platform/usb_mass_storage/lun1

}
[Nook Color Android Development] stilger:
This is what my vold.conf looked like when i modified it for the 4th partition:

## vold configuration file for zoom2

# modified for encore

volume_sdcard {

## This is the direct uevent device path to the SD slot on the device

media_path /devices/platform/mmci-omap-hs.1/mmc_host/mmc0

partition 8

media_type mmc

##mount_point /sdcard

mount_point /media

ums_path /devices/platform/usb_mass_storage/lun0

}

volume_sdcard2 {

## Currently points to internal eMMC, assumes eMMC is formatted as FAT32

media_path /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

partition 4

media_type mmc

##mount_point /media

mount_point /sdcard

ums_path /devices/platform/usb_mass_storage/lun1

}

Worked fine.
[Nook Color Android Development] jtbnet:
THANX... It does seem odd to me that an app cares about the label of the partition but luckily Easeus easily labels Fat32 partitions and you can actually do this as part of the the step of extending to fit your full SDcard...

That said I will label all four partitions the next time I push an updated version but as there is an easy workaround for now I'll hold off pushing another version till we come up with more changes that will be useful as I'm sure we will have more ideas for useful tweaks...

Edit: Also... v6 has all 4 partitions set as Primary... the Logical on the 4th was a mistake in v5...
[Nook Color Android Development] RegLinUsr:
I must be missing something... using v.6.

I burned the image to my SD, no prob. I resized the 4th partition to max of my card with Easeus' and dropped "cm_encore_full-38.zip" and "gapps-gb-20110307-signed.zip" into the 1st partition. I used Root Explorer to modify my vold.conf; inserting the 'partition 4' as noted. Rebooted holding the N and got menu. Selected "SD" and "alternate" and it booted up like my Linux box. Got to the "Flushing cache" and it stopped there. I waited 5 minutes and since nothing happened, I long held the power button until it shut off. I restarted and rebooted it again as before. This time I get the penguin and a quick bootup with it stating that it didn't find the image or gapps. So, I then rebooted and did nothing to stop it from booting off of the card directly and it flashes a quick "LOADING" message followed by 'ANDROID_' in the top left corner for a few seconds followed by a '-' in top right corner. It stops there and does nothing after that.

Do I need to rename the files for the cm_encore and gapps files to load correctly?

Thanks!
[Nook Color Android Development] RegLinUsr:
CyanogenMod just updated to a STABLE release... trying it now.

Status Update: w00t... it worked! :)
[Nook Color Android Development] jtbnet:
This far you are correct...

'I burned the image to my SD, no prob. I resized the 4th partition to max of my card with Easeus' and dropped "cm_encore_full-38.zip" and "gapps-gb-20110307-signed.zip" into the 1st partition.'

The modify vold.conf in eMMC is Only for booting to Eclair and mounting the right partition as /sdcard... thus really not part of the initial steps for most folks...

Then just boot to Alternate... and continue the boot process and you are done... it continues and installs CM7 and GApps... then goes black screen... then force hard reboot by holding Power and you should come up with the new version and GApps installed...
[Nook Color Android Development] RegLinUsr:
It now boots up asking me to use the default or setup wizard. Then it FC's and I get the android standing in the middle with the hand wanting me to touch the android. Doing so does nothing tho'. I'm stuck again. :(

Getting a bigger hammer...

Status Update: Bah, I 'changed' the language and it allowed me to continue... go figure.
[Nook Color Android Development] jtbnet:
good news... it presenting you with all the continueing setup first time steps...
[Nook Color Android Development] RegLinUsr:
So far, WiFi connected but BT is dead. Not able to connect to Gmail tho', odd. Will continue playing with it to see what else works or doesn't.

The interface is quite sluggish but it works. Good job to those involved!

Status update: WiFi is working... after several minutes, Goggle.com loaded.
[Nook Color Android Development] :
I had to also change the language and then press and hold on the Android icon in the middle of the screen for 5-10 seconds before I could continue. This might help others so I thought I should mention it.........

Also, I had to enter my password for wifi, try to connect, disconnect and try a second time to connect before it stopped looping and finally connected. Wifi has been stable since for me.

This is an awesome, easy way to boot into sd roms. Thanks!!!
[Nook Color Android Development] xdabr:
Yeah, okay, but what was the right answer? :)

Complete action using

com.android.provision.DefaultActivity

Setup Wizard

[ ] Use by default for this action

(I chose Setup Wizard, ran through it but "Skipped" the Google Account setup. It then reran the Setup Wizard and then Force Closed itself, leaving me at the desktop. So, that's good or bad?)

I didn't have to change the Language setting as the others did though.

Anyway, thanks for the Dummies instructions; they worked well, and the only temporarily confusing thing was using the hard volume keys to modify the boot method. I wonder if there's an easier way to switch between SD and eMMC boot on a daily basis. (Weird; if I reboot and go into the boot menu, it shows eMMC as the selection again, but still boots into CM off SD? Okay, I see, it seems to work like this: EVERY boot will go into CM7 by default, and if you want to go to eMMC while the SD card is present you need to hit NookButton for the boot menu and then VolumeDown,VolumeDown,VolumeDown to boot, and you need to do that EVERY time you want to go to eMMC.)

Ran through the Google Account setup to get Flash and some other things from the Market... all OK. Opted out of CM7 phone-home tracking; that really should be opt-in! Changed browser User Agent to iPad for better web page delivery. Installed Nook app and got my library replicated from eMMC generated version (except unsupported animated/narrated Nook books, which sucks).

Arrgh -- CM7 went to "stable" RIGHT after I downloaded my nightly! Can I automatically upgrade? I see ROM Manager but haven't worked up the courage yet.

On battery life, should I deactivate Phone and related non-Nook apps -- and how?

Yikes, Google's WiFi database is incredible / scary -- Google Maps shows me in the house RIGHT NEXT DOOR, without any GPS. Can't find voice turn-by-turn though.

Edit: Well apparently it's because of for-profit wardriving! Skyhook and/or Google has EVERYONE's WiFi router, including GPS location and exact model and serial#/MAC address. http://www.skyhookwireless.com/howitworks/coverage.php You can NOT remove your personal router from their database! So I guess there's a reason to turn off SSID broadcast after all, eh? (And to leech from the neighbors instead.)

This looks very good, thank you so much! The single-SD-card installation was a success. :)
[Nook Color Android Development] evilvoice:
Quick question...How do you install the OC Kernel?

1. Can I extract it and drop it in /boot?

2. Drop it in /boot and install like CM7? (boot, press button, select SDCard/Alternate)

3. Drop it in 4th partition and install with CWR?

4. Is it impossible to install?

Those are the only 4 scenarios I can think of to try, but if you have suggestions before i try, I would appreciate it as I have customized my card further (basically fiddling with the 2nd and 3rd partition to get a much larger 4th partition. I dont know the exact size, but /boot was left alone, data (3rd partition) is 750mb, and sdcard is like 800mb on a 2gb sdcard - i lowered /system (2nd partition) a lot because as a ro filesystem, it should not get much larger, but I left an extra 40mb j-i-c...just my personal preference. If I could figure out how to lower some of the filesystems in df -h, I would do that also. I cant figure out where /cache is as it cant be a partition and does not seem to tie to any other partition, along with /rom). Anyways, whatever help you can provide is appreciated.

Also, what I wrote about customizing my card is just my own preference, I am not saying to have to do what I did as yours is more a universal setup...I was just putting the idea out there for other people to tailor this for their own needs on their own nook color.
[Nook Color Android Development] jtbnet:
Technically choices 1-3 should all work... #3 is technically the most standard choice as that's what the installable package was designed for... I did have one kernel package error out when using #2 but another worked... With some kernal updates you may miss things if just doing #1 as there may be other modules and executables packaged with the kernel...
[Nook Color Android Development] shadowswittness:
If i reformat my 16gb sd card with all the original files can I copy the CM7 files from my smaller cd card I used as a trial Or would I need to reload CM7 on the 16gb card ?
[Nook Color Android Development] jtbnet:
I've used Easeus Partition Master to move the partitions from a smaller card to larger card and then extend the 4th partition on the larger card just fine...
[Nook Color Android Development] 12paq:
In addition to the above, you can copy your entire image by using the same tool you wrote it with (Win Image), just choose the read button instead of write. You will have to choose the destination of c:/*.* for some reason or it will error out. Once you have your image you can write it to a new card and adjust your forth partition accordingly and your vold file to "auto", if I remember correctly.

The op's suggestion is probably best unless your comfortable with editing partitions and system files in ADB, my suggestion is just an option. Either way, the read option is a simple way to back up before swapping cards or nandroid in CWM.. ;)

...and thanks again jtbnet!
[Nook Color Android Development] shadowswittness:
SD Card

After using this my computer wont read the sd card when connected to the computer. Just show removeable drive and wont mount. Any ideas ?
[Nook Color Android Development] 12paq:
Yeah... when I was running from SD I had all kinds of weird mount to PC issues. I could not connect to my PC with my OME USB cord, but if I used my usd cord from my Vibrant phone, I could often see my internal card. I got a replacement OME cord and had the same problem and now I am on CM7 on eMMC and and still cannot connect. Its always been flaky. I have found Samilof's (spelling?) mount utility invaluable, with it I was able to mount any partition except the Linux formated ones, even the eMMC could be mounted. I found myself just using his mount utility for every connection to my PC, yet I still had to use the usb cord from my Vibrant. Weird. I suspect in my case its a bad connection on the Nook?

I'm short on answers, I can only share a work-around solution with the partition mount utility.

Good luck.

12
[Nook Color Android Development] joe2262:
I installed http://dl.dropbox.com/u/6922721/jtbnet-modified-bootfiles.zip to my existing CM7 SD card and I now have the boot menu. But... There's only 89.1 MB free in /boot, not enough. No backups, so please help me free up some space or help remove this? Details please.
[Nook Color Android Development] jtbnet:
There is about 13MB more that can be freed up by removing the duplicate and saved copies of files that all comtain a dash in their name and are never really used in that bundle... In order to get more space you would need to remake the FS completely like I did in the full SDcard download where even with the duplicate files there is 120+MB free in /boot...
[Nook Color Android Development] joe2262:
That gave me 101 MB free, enough for now.
[Nook Color Android Development] joe2262:
Another question. I have Dalingrin OC kernel, do I just drop, UImage, into partition 4 and reboot into SD/recovery? When I put my uSD card in my netbook win only sees /boot, how do I get at partition 4?
[Nook Color Android Development] jtbnet:
I find Samual's mount any FS app from;

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

to be perfect to handle this...
[Nook Color Android Development] joe2262:
I installed it, used it to mount partition 4 but how do I actually get at p4?

Sorry for the dumb questions.
[Nook Color Android Development] jtbnet:
The app selects which FS(s) gets assigned to be mounted via your PC when connected by USB... You can use the App to mount 2 FSs as by default the Nook sets up 2 exported Luns for mounting that way.
[Nook Color Android Development] joe2262:
I must be doing something wrong. First I tried mounting P4 on lun0 but when I plug in the SD cable 'CM7 SDCARD' gets mounted. Same thing happens when I try lun1?
[Nook Color Android Development] jtbnet:
The SD should already be plugged in when you run the app... do you perchance have automount enabled so that it mounts as soon as you plug in the Cable? I have autmount disabled so that though the PC sees the 2 devices they are not mounted until you use the app to chose the one(s) you want to mount...
[Nook Color Android Development] s52m3:
System overload. I don't know anything about Android so all of this is like Chinese to me. I'm going to attempt to get this working on a 4gb card, while maintaining otherwise completely stock nook on the internal memory. Two questions to start if I may:

1. I understand there are a handful of partitions on the card after burning the image. That last partition that I'll resize to fit the 4GB card, is that space used when installing apps from the market and or downloading files while using the operating system?

2. The whole business with changing the boot options (SD and Alternate), I am not entirely sure what this means. Do I constantly have to change boot options to go from SD card to internal memory? Or will it work like on a PC where if I pull the card out it will automatically boot to stock. If I put the card in it will automatically boot to CM7?

3. Realistically how much "slower" is the CM7 experience running off of SD card as opposed to internal memory? I understand this probably depends to some degree on the sd card, I have a 4GB Transcend class 6.
[Nook Color Android Development] jtbnet:
#1 More Partition 4 is what is /sdcard when running from stock... so usually it's your files, videos, pictures, music, etc...

#2 Yes, pull the card it will boot stock... card in boots sdcard by default or you can change what boots using the menu at each boot

#3 does really depend on the card... I found KingMAX class-10 to be faster than internal eMMC storage... my guess having tested Transcend card in the past is that you will be a bit slower than running internal but usable...
[Nook Color Android Development] s52m3:
Thanks. How much space is there then for downloading and installing apps?
[Nook Color Android Development] jtbnet:
The layout of the current .v6 template SDcard to allow it to fit on a 2GB minimum size card is;

Part. # Name FStype Alloc. size Free Space

1 /boot FAT32 149MB 120MB

2 /system EXT3 462MB 455MB

3 /data EXT3 964MB 948MB

4 /sdcard FAT32 39MB 38MB
[Nook Color Android Development] s52m3:
So /boot is for loading the roms, /sdcard is for movies, music. /system is where the OS lives and /data is for downloaded/installed apps etc?
[Nook Color Android Development] jtbnet:
Yes... this layout was put together basically to allow running CM7 roms, which use FStype=EXT3 for /system and /data, on SDcard... Verygreen's CM7 Installer/Updater is configured as the Alternate boot selection and expects to find new versions to install/update on /boot thus why I had extended older versions /boot FS as original only had ~90MB free and CM7 instal packages were getting really close to bigger than that... Clockworks Recovery 3.0.1.0 is the Recovery boot choice and looks for zips to install/update on /sdcard which typically you would use a progran like Easeus Partition Manager to extend that tiny 4th partition to include the rest of what ever size SDcard you have...
[Nook Color Android Development] joe2262:
I've been using the zip you prepared for existing systems and noticed it reports v4 on startup, am I missing anything not using v6? If so, is there an easy upgrade path? I'm using an 8gb card if it matters.
[Nook Color Android Development] jtbnet:
Really Not missing anything... I resized the partitions some and other minor things but if it's working for you now the only benefit might be when you go to upgrade and might want the larger /boot partition... for upgrading to the different sizes I just Easeus PartitionMmanager to copy the existing to the new one one at a time as then can resize each as you copy...
[Nook Color Android Development] xdabr:
jtb, I installed your "distribution" right before the CM7 tablet-tweaks merge, and it's time I upgraded. What's the simplest and/or best way to do that? (assuming I want to install the latest nightly and not have to start from scratch)
[Nook Color Android Development] Shortyred:
Question is there a way to add partition 4 from a previous install to this one so I don't loose everything from CM7 7.0? This worked very well for me thanks! I just hate to reinstall and setup everything again.