yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] ADude:
If some program/app has an install that states:

Will that work with this Clockwork ?

Or will those always end up installing to eMMC ?
[Nook Color Android Development] jtbnet:
rack's CWR 3.0.0.6 has the mappings to allow things to install to SDcard vs. EMMC

CWR 3.0.0.6 SDCard uRecRam: /etc/recovery.fstab

# mount point fstype device

/boot vfat /dev/block/mmcblk1p1

/system ext4 /dev/block/mmcblk1p2

/data ext4 /dev/block/mmcblk1p3

/cache ext4 /dev/block/mmcblk0p7

/emmc vfat /dev/block/mmcblk1p4

/sdcard vfat /dev/block/mmcblk1p4 /dev/block/mmcblk1

Similar to verygreens custom installer... just most folks expect CWR...
[Nook Color Android Development] ADude:
Thanks.

Okay, then why does he have to post special versions of CM7 nightly zips ?
[Nook Color Android Development] racks11479:
Because the regular nightlies updater script is geared towards emmc partitions. Also the ramdisk for the nightlies boots to emmc not SD.
[Nook Color Android Development] ADude:
Racks -

One last technical question.

Your modified CWM states "3.0.0.6"

The thread/instructions for 3.0.0.10 state:

Since there don't seem to be any problems, I am assuming that their changes either have already been incoporated by you, or else they are not important or not relevant to our task ?

And thanks for your informative feedback as well as your programming !
[Nook Color Android Development] racks11479:
It is insignificant at the moment for what we have. The latest CWM has dual support for ext3 and ext4 as well as /sd-ext to recovery. This is only for CM7 ext4 so it's fine.

-Racks
[Nook Color Android Development] bobshute:
I've downloaded #29 twice, md5 match but I get a installation aborted when trying to flash.

I'm trying to flash over:

CM7 3/20 Build

Dalingrin's OC Kernal

I have your CWR on my SDcard (renamed uRecImg uRecRam)

and get to it by J4mm3r's boot menu.

I've successfully flashed nightlys before this way.

Any thoughts?
[Nook Color Android Development] racks11479:
Thanks, I'll take a look, in the meantime I'll take the link down till fixed. Sorry for the issue.

-Racks
[Nook Color Android Development] racks11479:
Sorry about that, thank you for pointing it out "bobshute". It was a bad .zip. Reuploaded. I also tested it out on mine before doing so, and it flashed fine.

-Racks
[Nook Color Android Development] bobshute:
29a flashed great...

Racks, thank you for all your work.
[Nook Color Android Development] jtbnet:
racks11479 do you have a linux build system setup for preparing these??? I just ask as I had been thinking of using a generic 2GB image with j4mm3r's u-boot.bin-multi-v0.4 and installing CWR 3.0.1.0 as uRecImg/uRecRam, and verygreen's custom recovery as uAltImg/uAltRam ... this would allow using CWR to install normal packages and verygreen's custom recovery to install CM7 updates with it's builtin conversion routines for EMMC to SDcard install...

This should be pretty simple as others have done all the hard parts... I 've even got it basically working now with your 3.0.0.6 EXT4 FS Only Recovery and verygreen's Custom recovery... It just would seem good to be able to follow the norm and use current latest CWR 3.0.1.0 EXT3/4 FS recovery then this would be more generic for other versions too, perhaps requiring some customization to verygreen's Custom migration upgrade scripts but a good start...

My reason for asking if you have a Linux build environment is that though I have my old instructions I had cobbled together to get an very early CWR for SDcard install working back in froyo days.. (updated a little for 3.0.1.0)

========================================================================

# Extract the FS from the original CWR 3.0.1.0 EMMC uRecRam file

cp uRecRam uRecRam-3010-emmc

dd if=uRecRam-3010-emmc of=uRecRam-cpio.gz bs=1 iskip=64

mkdir temp

cd temp

gunzip -c ../uRecRam-cpio.gz | cpio -i

# replace the contents of original etc/recovery.fstab with this

# CWR 3.0.1.0 SDcard uRecRam: /etc/recovery.fstab

# mount point fstype device [device2] [fstype2]

/boot vfat /dev/block/mmcblk1p1

/system ext4 /dev/block/mmcblk1p2 NULL ext3

/data ext4 /dev/block/mmcblk1p3 NULL ext3

/cache ext4 /dev/block/mmcblk0p7 NULL ext3

/emmc vfat /dev/block/mmcblk1p4

/sdcard vfat /dev/block/mmcblk1p4 /dev/block/mmcblk1

/sd-ext ext4 /dev/block/mmcblk1p4 NULL ext3

# Package it all back up to a new uRecRam-3010-sdcard file

find . | cpio -o -H newc | gzip > ../newRecRam.cpio.gz

mkbootimg --ramdisk newRecRam.cpio.gz -o uRecRam-3010-sdcard

========================================================================

I've had 2 Linux build system disks die since and in trying to do this on my Windows SDK build environment I find I get something close But all owner and permissions on files in uRecRam are messed up and the mkbootimg header doesn't seem quite right so it just hangs after loading uRecImg trying to use my uRecRam...

If someone can get the CWR 3.0.1.0 uRecRam repackaged like the above then puting all this together in one multi boot SDcard for all is pretty easy...
[Nook Color Android Development] Hextall:
I'm cosigning this.

The only thing I had to do was modify the vold.fstab to read the sdcard partition I want (changed "auto" to "4"). Otherwise, it was reading the boot partition.

Now I have an overclocked stock on emmc, overclocked CM7-29a on sdcard, dual boot menu option on startup.

Nice work.
[Nook Color Android Development] racks11479:
Nice writeup. I'll definitely take a crack at it this weekend if you don't get around to it yet. This would be very beneficial for the nook community.

Thank you sir!

-Racks
[Nook Color Android Development] pbcal:
Racks, Thanks again for the great work you have done. I have one more change request.

When you modify the nightly release, Update the file vold.fstab in /system/etc folder. Replace line 13

dev_mount sdcard /mnt/sdcard [COLOR="red"]auto[/COLOR] /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

to

dev_mount sdcard /mnt/sdcard [COLOR="Red"]4[/COLOR] /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

This will mount the 4th partition of micro sd to SDCard folder.
[Nook Color Android Development] racks11479:
Not a problem at all. Will update on next releases. :)

-Racks
[Nook Color Android Development] racks11479:
Bump..

Latest nightly posted in OP. Also from nightly 30 and on vold.fstab file will be edited so that it will mount the 4th partition to SDCard folder instead of boot. Thanks "pbcal" for the request.

Thanks,

Racks
[Nook Color Android Development] ADude:
That will be cool as I also have been doing that manually each time.

Thanks !!

What ?? :(
[Nook Color Android Development] racks11479:
LOL, hahhaha...

Now that's funny, guess they don't want you to wear out the "Thank" button!

lol
[Nook Color Android Development] jkcpsal:
Racks thanks for all the effort. Keeping the dualboot and now cm7 sd updated your the man. Im just curious, which do you prefer--sd or dualboot? The other thing nightly 30 doesnt have the bottom status bar integrated yet does it?
[Nook Color Android Development] racks11479:
No biggie. :) the bottom status bar was just a preview build by samuelhalff based off the 3/20 commits. But a new dev is in town (Madd_Murdoch) that is workin on getting it incorporated in future builds.

I prefer emmc. Much snappier to me at least.

-racks
[Nook Color Android Development] jkcpsal:
Thanks thats what I thought on both emmc and the status bar. I guess now that I know cm7 is stable enough and you have that build ready for dualboot I will flash it to replace my froyo build
[Nook Color Android Development] ADude:
Racks - please post to the end of the thread, when you update the first post, because otherwise the thread status is not changed. Just a quick "added nightly" or whatever, is enough, thanks !
[Nook Color Android Development] ScratchSF:
vold.fstab file and mounting intermal emmc

Hi Racks,

For some strange reason, I'm not able to mount the internal memory when I use the vold.fstab file that came with the nightly 30. Not sure why that's the case - although there is a 1 byte difference between your file and the one I created a while back.

I've included the file I'm using that seems to work fine on my NC here as a ".txt" file.

If anyone else is having the issue of the Internal Storage showing as "Unavailable", replacing the existing /etc/vold.fstab file with this one might help. Just remember to drop the ".txt" extension.

Cheers!
[Nook Color Android Development] racks11479:
Thanks for pointing that out. I'll take a look at it tonight. Not sure why that would be the case though. The only thing I edited in the vold.fstab file was changing "auto" to "4" for sdcard. This way it mounts your sdcard partition and not your boot. Giving you more memory to work with.

Thanks for the file as well for anyone else having the same issue.

-Racks
[Nook Color Android Development] ADude:
It was mentioned in the original fstab modifying thread that you must use either Linux or a Linux Development editor to change the file, like Notepad++, because a regular Windows text editor would subtly change the file formatting.

The 1 byte difference suggested this might be the case ??
[Nook Color Android Development] ScratchSF:
I think I found it. It looks like the file that is associated with the nightly 30 build is missing a "/' before the word "devices" in the second mount statement. It should read: "/devices/platform/mmci-omap-hs.1/mmc_host/mmc0" instead of "devices/platform/mmci-omap-hs.1/mmc_host/mmc0" .
[Nook Color Android Development] racks11479:
You are correct sir, it was a typo in my automated script. Fixed and will be updated with next nightly. Appreciate the catch.

Thanks,

Racks
[Nook Color Android Development] ADude:
Racks:

Can the improved kernel zip file linked below be used with this SD card system, or do you need to modify the zip file:

http://xdaforums.com/showthread.php?p=12371426

The file is "update-CM7-madcat-OC-emmc-032511.zip" and later in the thread, dalingrin agreed with the changes.
[Nook Color Android Development] racks11479:
I just flashed HC onto my SDcard so I can't test it out. I'll PM you the link for the flashable zip with my CWM so you can test it out.

Let me know if it works. Then I'll update OP accordingly.

**Also a side note. I did a nandroid backup of my CM7_SD with my modded CWM and it backed up and restored successfully back onto my SDcard. I'll make note of that in OP. :D

-Racks
[Nook Color Android Development] ADude:
Madcat Kernel seems to be working fine on CM7 Nightly 25, the Settings let me run at 1100 without SetCPU, and Youtube and Firefox both are running as well as with any other combination.

Is there any difference between doing a nandroid backup and a Titanium backup ?
[Nook Color Android Development] racks11479:
Yes, Titanium backup only backups your apps (system and data). A nandroid backups up your whole system. It basically create .img files of all your partitions. So if something was to go wrong or you just want to try a different rom and you decide to go back to your previous, all you have to do is boot up into CWM and choose "backup and restore" and choose your latest backup and it will restore it to exactly how you had it setup previously.

-Racks
[Nook Color Android Development] ADude:
That sounds equivalent to putting the SD card in the USB reader and making an image of the whole thing with Win32DiskImager or equivalent.

The advantage would seem to be not having to remove the SD card, since you could copy the nandroid backup using ADB wireless or Samba.
[Nook Color Android Development] swoozle:
So you CWM'd the standard madcat zip from that thread onto your CM7 SD with no modification?

Thx
[Nook Color Android Development] ADude:
NO.

Racks should be putting a mediafire link on his first post any minute now, for his modified version.

PS Always read what someone quotes, that is the context of their post.
[Nook Color Android Development] racks11479:
Bump...

OP updated with Madcat's (dalingrins) OC kernel for CM7 SD.

I've also uploaded a flashable zip for CWM dualboot to your SD. Once you flash this file, you no longer need my CWM_SDcard to flash your nightlies or any of my other .zip files to your SD. To go into recovery just hold the HOME(n) button. And you can flash from there. Leave it alone and you will boot up normally.

Thank you to "rookie1" for his dualboot!

Thanks,

Racks
[Nook Color Android Development] swoozle:
dude, calmness. Although it may have been obvious to you, it was implied but not obvious to me. What I asked was probably thought by others.

I'm not impatient, merely trying to learn.

Thanks for your work and for sharing with us (sincere).
[Nook Color Android Development] ADude:
The "NO" was just to prevent anyone from updating with the wrong zip, and ending up with the kernel on their Nook instead of on the SD card (which would cause a lot of work to reverse).

Most of the previous handful of posts prior to yours were in response to my asking the same question you had.

It's understandable if the thread is 400 posts long, but this one is not that long.
[Nook Color Android Development] Hextall:
From update to OP:

I can't decipher what this new CWM is supposed to do... I'm using the boot menu to dual boot to either the internal or sdcard.

1. Which CWM do I flash it with, the internal one, or the SDcard one I copied to the boot partition of the sdcard per your instructions?

2. Will this break the boot menu (the one where I have 5 seconds to hit a button... Personally, I like that)?

Trying to figure out what rookie1 did with this CWM... does this mean there's one CWM installed on my nook, the one in the internal memory, and then when I boot to CWM from the boot menu, if I hit the n, it'll send everything I then flash to the sdcard?
[Nook Color Android Development] racks11479:
Hi sorry for the confusion, flash with my CWM sdcard. This will install my modded CWM to your CM7 sdcard boot only. It does not touch emmc. Once installed, next time you want to flash the latest nightly, just dualboot into CWM off your CM7_SDcard and flash from there. Hope i cleared it up somewhat.
[Nook Color Android Development] Hextall:
Got it thanks... so it's a flashable way to install CWM on the cm7 sdcard (basically a flashable method of the method in post 52).

I started to get a little nervous that this somehow meant the end of your making the cm7 nightlies sdcard-flashable.

In case you don't hear it enough, great work, really enjoying what you and the other developers are doing with CM7.
[Nook Color Android Development] racks11479:
Bump...

Latest CM7 nightly up.

**I've also added a flashable zip for samuelhalff's tweaked HCv4 2nd Edition if anyone wants to try it out. This will wipe the current rom on your SDcard. So I suggest performing a nandroid backup of your SDcard with the CWM from this thread. So you can restore to its current state if you're not liking HC for whatever reason. Or you can just prepare another card then flash the .zip.**

Thanks,

Racks
[Nook Color Android Development] 12paq:
Hey Racks,

This has really evolved nicely!

For a flashaholic, to boot from SD on the Nook, this is one of my main tools.

Simply very versatile.

Thanks for your work and time.

12

Edit: Just for clarification for me and others, does the new dual boot CWM, leave us with the ability to flash unmodified nightlys? Or to we still have to use your special nightlys? Thx.
[Nook Color Android Development] racks11479:
No, only use my nightlies to flash.

-Racks
[Nook Color Android Development] Hextall:
Hey Racks,

I hate being "that" guy... but Sam and murdock have the modified CM7 with more tablet like features ({MOD}{CM7}Honeycomb features in progress

any thoughts of including these in your thread to flash to and run from the sdcard?
[Nook Color Android Development] ADude:
This is just a preview, which has some problems and missing functionality - it is more for the purpose of looking at the changes and commenting on them, rather than being something to use every day.

The object is to end up having those incorporated in the nightlies at some point down the line.

But, of course, it's up to Racks whether he makes any particular build available - I'm just pointing out that this is not a "daily driver".
[Nook Color Android Development] racks11479:
As Adude stated the 3/26 build was a test build. Mad_murdoch is working on a second one as we speak which I believe he will upload for us to preview. And I'll setup a flashable for that one if anyone wants to try it out.

**Just remember, these are still test builds so the devs can get feedback so they can work on polishing it up to get it incorporated into the CM7 builds.**

Edit: As I finish writing this post, his second preview build is up. Gonna setup an SD flashable zip now! :D

-Racks
[Nook Color Android Development] racks11479:
Bump....

Latest preview build by mad_murdock updated in OP..

**Just remember that these are test builds!**

Thanks,

Racks
[Nook Color Android Development] ADude:
The status bar preview is cute, but Dalingrin has been busy and you will want to upload:

- Fixed OC Kernel

and more importantly

- Video Test Build of CM7 with fixed, working video !!
[Nook Color Android Development] smartmind:
I have installed your newest CMW work and Mad_murdock build, but I still can not go to Recovery by holding N button when my nook is booting. Is there anything goes wrong? Shall I hold both power and N key when I want to boot into recovery?
[Nook Color Android Development] racks11479:
Try holding both when turning on. And dont release the power button until you see the multiboot loading screen . Then continue holding home until you see the "ANDROID___" loading
[Nook Color Android Development] racks11479:
Bump...

OP updated with the following:

-Latest mad_murdock Test Build 3/29

-Latest Dalingrin Video Test Build 3/29

-Latest Dalingrin OC Kernel 3/28

Thanks,

Racks
[Nook Color Android Development] gordy_2001:
HC-v4-SD

I've read thru all the posts, and I'm having a bit of a problem. I dumped the 128 SD clockwork img, tried burning it to a spare 4gb card, and it keeps erroing out. The end result I'm looking for is to install the HCv4 2nd image so I can run it off the SD card to play with. Is there another way to do this? I thought I had to use the 128mb_CM7_SD_clockwork-0.1-ext4.img to restore the HC v4 zip to the SD, and then boot off it. Is that the correct way?

I think I may have a bad .img or sd card, Im getting errors just formatting it...

NOTE: that was it, I'm off to the races...so much for work today...
[Nook Color Android Development] racks11479:
Sorry for the confusion. But you need to have an SDcard with the partitions already created. I haven't had a chance to create a generic one yet. So use verygreens img from the link I pointed to in the first post.

-Download that, dd it to the SDcard. Now you have a working CM7_SDcard.

-Then download the HC v4 flashable zip from here and place it in your SDcard partition. Thats the 4th partition.

-With an extra sdcard, burn the CWM image from this thread.

-Shut off nook

-Place CWM_SDcard in

-Turn on Nook, it will boot to CWM

-Remove CWM_SDcard

-Place CM7_SDcard in and goto "mounts and storage" and mount SDcard

-Now goto install zip from SDcard and flash the HC zip

-And you should now have HCv4 2nd edition on the SDcard

**If you don't have an extra card for the CWM_SDcard. Just download my CWM_Dualboot.zip. Unzip it, then in the folder labeled boot. Copy all those files to the boot partition of your CM7 SDcard. Place the sdcard in your nook. Hold HOME(n) and Power when bootin up. Release the power button when you see the "multi-boot" screen appear. Continue holding home until you the "Android..." screen. You should now be in my CWM_SD. And flash the HC zip from there.

Hope this wasn't too confusing. If you need any further assistance. You can always PM me.

Thanks,

Racks
[Nook Color Android Development] ADude:
never mind.
[Nook Color Android Development] smartmind:
The fact is that when I hold both home and power, I can only see " Touch futrue for reading", If I continue holding power and home, then nook will shut down; if I release power button and still hold home key after seeing that slogan, nook will continue to go to ANDROID- loading and then go to the the start animation of cyanogen7 and normal boots.
[Nook Color Android Development] jtbnet:
I had a u-boot.bin version that just didn't recognize the request to boot recovery... grabbed one from a differnet rom that had worked for me in the past and then all was well.
[Nook Color Android Development] smartmind:
Do you mean I should grab a u-boot.bin version from a different rom and then replace it with the one that is already in the CM7-sd card? If so, I wonder which rom has a effective one? Thanks!
[Nook Color Android Development] jtbnet:
This one solved my issue... Strip the name down to u-boot.bin... needed the extension to get it uploaded...
[Nook Color Android Development] racks11479:
Ok to be clear. You tried flashing my CWM_SD_Dualboot.zip file and you're not able to boot into recovery off your CM7 SDcard?

If you flashed successfully, you should see "multi-boot loading...." at the beginning. If not, the file did not install successfully.

And to be clear only flash. With my modded CwM for SD.
[Nook Color Android Development] smartmind:
I can not see "multi-boot loading...." at the beginning, but I think I have succeeded in flashed Mad_murdock build of CM7, what shall I do? Pick out the sdcard and then flash the CMW again by winimage?
[Nook Color Android Development] racks11479:
Great. Now you have a working CM7_SDcard. You should not be burning the CWM_SD_dualboot.zip with winimage. It is a CWM flashable zip file. Flash it the same way you did the mad_murdock build.

-What you need to do now is:

-copy the CWM_SD_DUALBOOT.ZIP(this is a CWM flashable zip) to the 4th partition of your CM7_SDcard. Just like you did with the new mad_murdock build

-shut off your nook.

-remove yoour cm7_sdcard

-insert the CWM_SDcard that you use for flashing, into your nook

-power on nook, it should boot up to clockwork recovery

-now remove the CWM_SDcard

-insert your CM7_SDcard

-and go and flash the CWM_SD_DUALBOOT.zip the same way you did with the mad_murdock build

-once finished installing, goto "reboot system now"

-when booting up, you should now see the "multi-boot loading....." screen

-to boot into recovery just hold the home button when powering on

-to boot regularly, just leave it alone

Hope this explains it a bit

-Racks
[Nook Color Android Development] smartmind:
Thanks for your explainations. I have done according to your adivces, In CMW mode, it is said I successfully install the Dual boot zip. But I still cannot see "multi-boot loading", there is still the slogan " Touch the future for reading" and then nook boots to CM7. What I am missing or anything I have done wrongly?
[Nook Color Android Development] smartmind:
Dear Rack, I have tried another way to solve the problem and I hope it could help you a little bit.

I put the CM7-sd card in a card reader and connect it to my computer and I can see from the computer that the U-boot.bin file is a old file which is 280 k size, but the same file in your CMW dual boot zip is 292 k size. So I decided to replace the U-boot.bin in my CM7-sd card with the one in your flashable zip. After the replacement I put the CM7-sd card into my nook and boot up, now I can see the multi-booting.

But what is so wired is that when I try to boot into recovery by holding home button, I still cannot get into recovery, nook still boots into CM7. Shall I release the home button when I see " multi booting" or I still have to holds the button until something come out? Or there are still some files I have to make replacement?
[Nook Color Android Development] racks11479:
Great. thanks for pointing that out. I'll take a look at the zip file. But if you did it manually, you need to copy over everything that is in the boot folder of the zip file over to your boot partition.

uRecRam

uRecImg

u-boot.bin

u-boot.altram

u-boot.altimg

It should work. I've tried it successfully, is anyone else having issues flashing this? Please advise so I can fix.

Thanks,

Racks