yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] lschroeder:
Flash Drives with phiremod's v7 Test

See previous post about installing Dal's kernel 061811 and sideloading Nooks Tweaks 1.2 before you begin.

Change vold.fstab by adb. I used adbWireless widget by MrSlir. You could use adb as well. Create directory (folder) USB on your sdcard using a file manger.

Note: This will be automatically shortly with other builds of CM7, but to use flash drives or fat 32 drives now in phiremod's v7 Test this is what we need to do.

For windows adb pull vold.fstab down, open vold.fstab with notepad++ to add the following line

dev_mount usb /mnt/sdcard/USB auto /devices/platform/musb_hdrc

Save it. Then use windows adb to push it. Be sure to change the file,vold.fstab, with notepad++ (Linux format editor for windows) before you push it. Do not use notepad format it wrong.

You will have to download and install notepad++.

STEPS

adb pull /etc/vold.fstab

open vold.fstab, add line below, and save in notepad++ ...

dev_mount usb /mnt/sdcard/USB auto /devices/platform/musb_hdrc

adb remount

adb push vold.fstab /etc/vold.fstab

adb reboot

USAGE

Lauch Nook Tweaks and turn usb host mode on.

Insert your flash drive or 32 fat drive

Use any FileManager

To remove safely - use from terminal "su" return "busybox umount /sdscard/USB" return - use your usb keyboard if connect to hub or menu to toggle soft keyboard

Remove sdcard

The flash drive notification says SD card removed. Insert a new one.
[Nook Color Android Development] ffgf:
Hi Sorry for the noob question

How do i do thhis

"Copy the CM7v22 SD-Card.zip to the SDcard partition (4th partition) of your CM7-SD (if you cannot see it in your PC, use ADB)"

Thanks a lot

Fabrizio
[Nook Color Android Development] lschroeder:
The easy way is to down load this utility from the OP of the thread below onto a working cm7 sdcard (either technique in OP of this thread or one that you created with verygreen current size-agnostic sdcard thread. Then use a file manager to install it (called sideloading) on the sdcard. To get this utility loaded on the nook you will have to use notification method of usb mounting. Transfer the file from the pc or mac to the nook. Locate the utility apk by using a File Manager on the nook and click the utility apk to start its install.

The utility has an option to mount the 4th partition. You use this application instead of usb notification method of loading from a pc or mac. Connect nook by usb to pc or mac. Ignore notication bar, locate and launch the nook utility app. Select 1st mount, 4th partition scroll up and down in text area to get to confirm. Be sure to safely remove from pc or mac before unplugging usb cable.

http://xdaforums.com/showthread.php?t=952456
[Nook Color Android Development] fcanha:
Using SD Card in Another NOOKcolor

UPDATE: I think I figured it out. Once you sign into gapps, the SD card will not work with any other device.

Okay, I give up...

I received a replacement NOOKcolor because the first one I received had some slight physical defects.

However, when insert my SD card in it, it freezes at the home screen and becomes totally unresponsive.

I take it out and put it back in my original NOOKcolor and all is well.

I was thinking "wiping" might help, but I really haven't grasped what that entails.

The ROM Manager on this SD card is from following the instructions on the OP. I used the two SD card method.

I can never get the ROM Manager to boot into recovery. Nor does it clear cache or dalvik cache when I try to install from it.

I can only boot into recovery using the second SD card and by pressing the Home and Power button. Then I would take the card out and put my main card in which I had manually placed whatever I was flashing in the 4th partition. I haven't flashed any ROMs on it, just some minor .zip or .apk tweaks.

Can anyone please help? Why doesn't the SD card work in my replacement NOOK? If you think "wiping" might be the solution...what are the complete details for that process?

Also, I've been checking almost daily for a response to the following earlier post I made:

Everything checked out except for the md5 sum for Phiremod 6.3 on the OP.

The OP reads:

Update 5/31: v6.3 Update(This will format /system only): multiupload.com/5NRXXEPS6N

MD5 - 17c2d5322c2674fe85bd279934dc6830

My winMd5Sum program read:

MD5 - 59b6bf3a12c664b6663efa74b77c659a

Now, I'm worried. Can you please reaffirm your MD5?
[Nook Color Android Development] ffgf:
Thanks a lot
[Nook Color Android Development] lschroeder:
USB Headset with Phiremod's TEST v7 (based on 101)

Verygreen's says we need to do several things to make USB headsets work with CM7.

1. "To use the files referenced here you need to install nightly -100 or later! ...

You will need this kernel image: http://nook.handhelds.ru/usbaudio/uImage

that you will need to use as the kernel."

2. "The other important bit is the alsa.omap3.so: http://nook.handhelds.ru/usbaudio/alsa.omap3.so

Drop it to /system/lib/hw/ (this on sdcard this is partition2, /lib/hw)"

3. "once the files are in place, reboot, connect the audio device, enable usbhost (or the other way around).

The skype will now work."

Using Phiremod Test v7 (based on nightly 101) running on a SDcard. OC kernel 6/18. Nook Tweaks v1.2.1. Trying to get my Logitech USB Headset H360 to work?

1. Downloaded as uImage.txt. Renamed as uImage. Used utility NookColorUMS to mount 1st partition and backup uImage on the nook. Can I power off Nook, eject SDcard, mount Boot partition on pc and replace uImage? What about OC issues with Nook Tweaks and performance settings?

Edit: Did this Wi-Fi Settings gives me Error. For example when I use mike with keyboard, it gives error couldn't connect

2. I used SwiFTP to move over alsa.omap3.so to nook SDcard. Then used File Expert set to root to copy it to /system/lib/hw/. Is this ok?

3. Can I use Nook Tweaks v1.2.1 with verygreen's uImage or do I need to use his NookUsbHostSwitcher?

Edit: Had to use NookUsbHostSwitcher.

Edit2: Got to work using nightly 122 and VG installer. See link below:

http://xdaforums.com/showpost.php?p=15468342&postcount=393
[Nook Color Android Development] lschroeder:
New Phiremod TEST 2 based on nightly 136

From Test 1 on SDcard from your previous install, how do I update to this one? Do you need to do some work first?
[Nook Color Android Development] racks11479:
I'll package the latest Test by Phiremod and update this weekend. :)

-Racks
[Nook Color Android Development] absoluthamm:
Is anyone else having a problem with just a black screen after the uboot menu when updating to phiremod 7 test2? I left it sit for about 30 minutes after flashing/rebooting and nothing but black. Also tried to manually wipe and reflash and same thing.

There may be something that I am missing from the last time I updated(the previous version on my SDCard was phiremod v5.3.

Edit: Also, after trying to just select EMMC from the u-boot menu, it just stalls there as well.
[Nook Color Android Development] lschroeder:
I think that this method is only for Test 1 at this time. Racks is working on an update.

I used another method to get it to work. I increase the boot partition size so that the Test 2 ROM will work. All the steps to getting it to work are given in the link below:

http://xdaforums.com/showpost.php?p=16028869&postcount=1214
[Nook Color Android Development] absoluthamm:
My bad, I actually meant Test1, but I was thinking test2 because I knew it was released. I was using the version available in OP.
[Nook Color Android Development] lschroeder:
You might wait or just go directly to Test 2 but using the steps I posted. Just follow the steps in the link, it is not that bad and Test 1 is actually too dated at this time.
[Nook Color Android Development] mrkkk:
so you cant put latest cm7 nightly directly from their website

this thingy is modded to boot from sd only?

oh and by the way

why sd card thing is just not a simple image that you can write with dd

why 2 sd cards, prep, various zip file and steps?

can you please add some logical explanations of why we are dong each step that we are doing?

Thanks!
[Nook Color Android Development] PMDColeslaw:
Anything new in the works Racks? I'd love the Phiremod update and the MIUI rom for sd.
[Nook Color Android Development] Cuppeerr:
How would i flash miui to a sd card?
[Nook Color Android Development] racks11479:
Sorry, think I must have misunderstood you. You're saying you extended your 4th partition to use up the remaining space on your SDcard? Assuming you have a 4 or 8 gig card. And the CWM attached won't let you mount the 4th partition? Not sure why it wouldn't. Unless you converted your 4th partition from vfat to ext4 or something it shouldn't be a problem.

Hey I could be wrong, I'm learning as I go as well and don't mind being corrected and educated at the same time if I'm wrong. ;)

I appreciate the feedback,

Racks
[Nook Color Android Development] ADude:
BTW, the CWM zip include a MACOSX folder, so perhaps you were using Mac ?

Anyway, the ADB commands in my case were:

adb push cm7_SD_encore_25.zip /sdcard/

adb push CM7_SD-dalingrin-OC-031611.zip /sdcard/

since I already had the March 7 GAPPS installed.

NOTE: After the reboot from CWM, the NC spent several minutes with the skateboarding android guy logo and the arrow going around in a circle. And then, it came up normally. SO, I assume that there is some updating going on behind the logo...
[Nook Color Android Development] racks11479:
Thanks for the info, maybe I'll update that in my post as well. The first boot will, as your dalvik cache and system files are rebuilding. On next boot should be fine.

Thank you for all the feedback sir!,

Racks
[Nook Color Android Development] ADude:
Well, if you are going to change it, you should make your wording more precise, since there are two SD cards, etc.

In fact, below I will paste your steps and add some clarifying language - if you like it, use it, or not:

-You need have a CM7 SDcard already prepared. Get it here http://xdaforums.com/showthread.php?t=989637 Thanks verygreen!

-Download modified CWM image zip file.

-Burn to a second SDcard (that you will only need for this procedure)

-Download attached CM7v22 flashable zip from this post only.

-Copy the CM7v22 SD-Card.zip to the SDcard partition (4th partition) of your CM7-SD (if you cannot see it in your PC, use ADB)

-Power off nook

-Place modified CWM sdcard that you just burned

-Boot to CWM off the CWM SDcard

-Remove CWM SDcard

-Insert your CM7-SD card

-Goto mounts and storage and "mount SDcard"

-Goto top menu and "install zip from SDcard"

-Choose CM7v22 SD-Card.zip

-Confirm "yes"

-This will install the CM7v22 system, including the latest kernel and Ramdisk(I've modded the ramdisk so it stays SD bootable)

-Let it do it's thing, it will take a little bit, might not show progress immediately. Just be patient.

-If you wish to flash Gapps or Dalingrins OC Kernel you can do so now as well

-When install is complete. Leave your CM7 SDcard in there and choose "reboot system now"

-CM7 logo will show for several minutes, be patient and it should eventually come up.

-Enjoy!
[Nook Color Android Development] ADude:
The build.prop file that I previously modded to change density had reverted, as had the fstab file mentioned in the CM7 for SD thread:

So, I used Root Explorer to Mount R/W and edited both files and then rebooted.
[Nook Color Android Development] racks11479:
Thanks Adude for making it a little clearer for everyone. Always willing to accept suggestions to make this as easy as possible for everyone. :D
[Nook Color Android Development] ADude:
And thanks to racks11479 for making these files available to everyone !

PS I am getting video now with Nightly 25 and Flash 1.02 in Youtube App and Youtube Remote App.

Not perfect video, but a lot better than no video !

Oh, and if you get FCs, try "Fix Permissions" in ROM Manager App.
[Nook Color Android Development] cnuckols1:
I'm using a sandisk 8gb card and i resized the 4th partiotion with easus and CWM won't see the 4th partition. it just says no files found. any ideas?
[Nook Color Android Development] ADude:
As I mentioned a few posts back, you need to edit the fstab file after extending the partition.

See:

http://xdaforums.com/showpost.php?p=12031311&postcount=19
[Nook Color Android Development] racks11479:
Adude is correct. Because at the moment your fstab file is pointing to your boot partition as your sdcard. Follow directions above and you should be good to go.
[Nook Color Android Development] 12paq:
Post edited. Answer posted simultaneously. thanks!

"I had to modify /etc/vold.fstab and change the mount partition from auto to 4 to get it to see the partition 4 fat32 partition."

I had previously done this, so I not sure why the op's CWM will not recognize my SDcard partition, so I will check my vold.fstab file again to verify that proper edits are in place.

Thanks guys!
[Nook Color Android Development] ADude:
Tips regarding editing that file:

- Folder needs to be set R/W first

- If you use Windows, you need to use Notepad++ a Linux Development Editor, in order to keep the file formatting in Linux format.

I think that using Root Explorer allows dealing with both things easily (i.e. by editing on Android avoids #2, and #1 easily done with the R/W button).
[Nook Color Android Development] cnuckols1:
Thanks for the replies. I have no experience with ADB but I guess I'm going to have to kick the tires tonight. Quick question though. You do these adb scripts while the sd card is the nook with the developement tab check?
[Nook Color Android Development] racks11479:
Yes while you are running CM7 off the SD. Make sure to mount the correct partition. It should be /dev/block/mmcblk1p4 /sdcard.
[Nook Color Android Development] 12paq:
I have had (and still do) my Vold.fstab properly edited to be "4" instead of "auto".

I have been and still can see and use my extended partition. I am sure these edits are correct.

However, when I boot to CWM from the OP's image, and then swap SD's to my CM7 with the proper Vold.fstab, I get an error when I try to mount the SDcard. I cannot mount the Sdcard.

In addition I tied this on my 2gig card with CM7 (without the extended partition or Vold file edits) and I still get an error in CWM when attempting to mount SDcard.

Any ideas on whats up?
[Nook Color Android Development] racks11479:
Ok. My understanding is that your vold.fstab file isn't read at all by CWM. It only reads the partitions mounted as mmcblk1p1, mmcblk1p2, mmcblk1p3, and your sd partition mmcblk1p4. Doesn't matter where your vold file is pointing to. Maybe try redownloading and reburning the CWM image. I'll post md5's also.
[Nook Color Android Development] 12paq:
yeah, i downloaded it several times. I'll keep trying all the tricks of the trade and back off a bit so I do not clutter the thread any more. lol.
[Nook Color Android Development] ADude:
A related development:

Size-agnostic SD Card image and CM7 installer for SD Cards
[Nook Color Android Development] 12paq:
Thats what i was talkin' about, ...really!

Gotta love the Nook dev community. Thanks Racks and ADude and everyone else!
[Nook Color Android Development] no more blinking:
Really need some help here....

I can't get the cm7_SD_encore_25.zip file on the appropriate spot on my SD card. I have Windows 7 - when I put the CM7 SDcard into my card reader, I can only see a ~115MB drive called Boot. By placing the file here, CWM cannot find it when I select "install zip from SDcard".

I tried loading my Nook up using the CM7 SDcard (now using CM7 off of the SD card) then used ADB to push the cm7_SD_encore_25.zip to /sdcard/. Unfortunately, it landed in f:\cm7_SD_encore_25.zip (even though the file manager says it is in /mnt/sdcard/.

I am so close but can't get the new build to the "4th partition" on my card. Please help!!
[Nook Color Android Development] racks11479:
You can use an app created by samuelhalff from here http://xdaforums.com/showthread.php?t=952456

Just launch it and choose "Mount SD 4th partition" and that will mount it to your PC. Or you can run the following command below which basically does the same thing:

In adb shell run command,

#echo /dev/block/mmcblk1p4 > /sys/devices/platform/usb_mass_storage/lun0/file

That will mount the 4th partition on your PC as a drive. You will see it. Then just drag and drop the file over.

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

Sorry for the delay guys, very busy weekend. Latest nightly in OP. I should be able to roll them out daily now that I've written a script for editing the ramdisk for me.

**Verygreen has also put together something for you nightly SD'ers out there. Take a look here if you'd like. http://xdaforums.com/showthread.php?t=1000957

-Racks
[Nook Color Android Development] pbcal:
Thanks for your great effort.

The released ramdisk image has not changed from 25 to 28 build. So you could just use the old image here.

One more thing I have noticed in this build. You have moved the android folder with updater-script file at the root. I have always seen this file under "META-INF\com\google\android".
[Nook Color Android Development] racks11479:
Yes I'm aware of the commits, the script I wrote updates the necessary files for SD bootable on the fly. Thank you so much for pointing that out. In post haste I zipped it in the wrong location. OP has been updated with correct .zip

-Racks
[Nook Color Android Development] ADude:
Either your Multi-upload link for Nightly 28 is wrong, or their site is borked, or ??

PS Your link for Nightly 25 is still working, so perhaps the link is wrong...
[Nook Color Android Development] racks11479:
Thanks I'll take a look right now.
[Nook Color Android Development] racks11479:
That upload really got messed up. So I'm including MD5's with the latest downloads. I've also attached the modified version by Samuelhalff which moves the status bar to the bottom. I'm liking it myself since my fingers are naturally down there anyways.

Awesome job Mr. Samuelhalff!

-Racks
[Nook Color Android Development] ADude:
Good idea.

For those new to MD5, here is my favorite MD5 checker:

http://getmd5checker.com/
[Nook Color Android Development] victle:
racks11479, thanks so much for your great works. I can flash nightly to sdcard now. I did some more step to eliminate the second card, CWM by copying the kernel and ramdisk to uRecImg and uRecRam on the first card, then boot recovery from there. It seems to be working :)
[Nook Color Android Development] racks11479:
Awesome! Great idea. Didn't think it would work that way, but hey if it works. It works!

Thanks,

Racks
[Nook Color Android Development] ADude:
Can you give us a step-by-step for implementing that ?

Thanks !

I was just thinking about the issue of wear and tear on the sd card slot door...
[Nook Color Android Development] victle:
Yeah, I've flashed the nightly #28 with bottom status bar, it works great. As for boot into recovery, I couldn't do it by using the ROM Manager, then I used j4mm3r's Boot Menu u-boot so I can boot from eMMC or sdcard into normal or recovery, this is great as I have dual boot menu and can boot into sdcard recovery.

The steps for boot into recovery in the sdcard are as following, we can use 1 card

1. Download and burn OP Clockwork Recovery Image for CM7-SD

2. Plug the sdcard into your PC to copy out uImage and uRamdisk

3. Download and burn verygreen's CM7 SDcard image to this card

4. Boot your NC with this CM7 SDcard

5. Rename uImage and uRamdisk files in the 2nd step to uRecImg and uRecRam, then copy to he boot partition of the CM7

6. Get j4mm3r's Boot Menu u-boot.bin from here http://xdaforums.com/showthread.php?t=962708, copy it to the boot partition.

7. Copy CM7 nightly zip file in OP to partition 4 (/sdcard)

8. Poweroff the NC. Turn it on, press any key within 5 seconds when the prompt appears to select boot to sdcard and recovery

9. Flash the CM7 nightly zip. Reboot to system. Done.

10. From now on, you can copy a modified nightly in OP to /sdcard partition and flash it from recovery as in steps 8-9

To easily mount the boot partition (partition #1) and sdcard partition (partition #4) of the CM7 SD, I used samuelhalff's tool here http://xdaforums.com/showthread.php?t=952456

Step 1,2 are only to copy the recovery kernel and ramdisk, so if racks11479 can post them in the OP we can bypass these two steps.

If you already have CM7 sdcard working then you can bypass step 3.

Let me know if you have any questions.

Thanks!
[Nook Color Android Development] ADude:
Yes, I even have that u-boot already installed, and I'll put up a link to that thread.

So that it is clear to everyone, please state exactly which files you copied from where and to exactly where, thanks !
[Nook Color Android Development] ADude:
Racks -

The Froyo eMMC install process has this step right before the final reboot:

I'm wondering if that would be right for this process as well ?
[Nook Color Android Development] victle:
Sorry, I saw your post after posting. I edited it with steps. Hope it helps.

Regards!
[Nook Color Android Development] ADude:
There are already files of those names in the boot partition, dated from February 15th - I gather that those are the generic ones that don't work..
[Nook Color Android Development] victle:
Yes, I meant replace the existed ones, I use the OP recovery as I'm not sure where the existed recovery will flash to. Maybe someone can try to see how it'll go or Racks can confirm about this.

Thanks!
[Nook Color Android Development] ADude:
Just to verify that does indeed work, and allows updating of the SD card without having to have a separate SD card.

Thanks victle !!
[Nook Color Android Development] TchnclFl:
I attached the two recovery files referenced in the post a few above.
[Nook Color Android Development] ADude:
Except that I just had to revert from 28 to 25.

When I installed 25, Youtube worked for me for the first time with CM7.

When I installed 28 (with the bottom status bar), Youtube once again stopped working. I tried every possible fix - OC, no OC, no OC kernel, fix permissions, clear cache, etc.

I just installed 25 from where it was still sitting on my SD card (after having installed Rack's recovery files using victle's instructions), and immediately Youtube works fine again...

Also, some people are reporting WiFi problems with 28.

PS And there is no reason for a torrent, when the "mega" sites will do the downloading for you. Why go to the mega site for the torrent file, when you can just go there for the whole thing ?

But, thanks for putting the recovery files in a convenient zip file attachment !
[Nook Color Android Development] no more blinking:
Racks,

First of all thanks so much for answering my question so quickly (and being very informative). I went with the samualhalff method and it worked great! Loving CM7 on my Nook!

And thanks for all your work with this setup! It was easy to do and makes the Nook experience wonderful.

Also, flashed the nightly 25 then the OC kernel in the OP... I didn't try 25 before flashing the kernel.. but I get a lot of "force close / wait" options when loading different google apps and if I hit wait it usually works. Curious if it could be the kernel?
[Nook Color Android Development] racks11479:
Not a problem. Regarding your "force close / wait" issue, I haven't come across that issue yet. Try fixing permissions with Rom Manager app in your CM7 SD. If you have Root Explorer, you could also try wiping your dalvik cache by going into /cache/dalvik-cache/ and select all files and delete. It will rebuild on next boot, so it might take a bit before loading.

-Racks
[Nook Color Android Development] ADude:
I noted that eMMC installs have a step just before the final reboot:

I'm wondering if that should be part of this procedure as well ?
[Nook Color Android Development] racks11479:
Well. Considering that right now my CWM SD is dumping cache to the EMMC anyways. It does no harm in formatting cache, except that you will be flushing your EMMC cache. So your internal cache is wiped as well. But ill have to take a look at the ramdisk for CWM again to confirm that wiping dalvik will wipe the SD dalvik and not your internal.
[Nook Color Android Development] racks11479:
Bump...

Nightly 29 is up. Check OP.

-Racks