FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

[ZIP][CM7] Nook Color SDcard and emmc swap!

47 posts
Thanks Meter: 27
 
By WobbleTheHutt, Member on 14th April 2011, 09:45 AM
Post Reply Subscribe to Thread Email Thread
Ok after many hours tonight I have managed to put together a couple .zip files that will install a modified vold.fstab on your Nook Color. (I am a total n00b at this)

The EMMC of the Nook Color has a partition for the ROM and a 5 GB partition that's mostly if not completely unused. Presently, there aren't any 3rd-party managers to move apps to that unused partition, so I modified the vold.fstab and am now able to use that partition for apps, files, etc.

NC.SWAP.VOLD.ZIP swaps the way the SD and EMMC directories are mounted. By swapping the mount points, and renaming EMMC to SDCARD, your apps, etc., will install to the internal storage, vs. installing to your SDCARD. Your physical SDcard is automatically mounted as "EMMC."

This also means that the music player still finds files, you can move files to "EMMC," and you can still eject the SDcard ("EMMC"), put it back in and it still shows up automatically. Now your NC won't freak out if you pull the card out without unmounting it - all of the apps are on the actual EMMC. You'd just find the SDcard under /mnt/emmc instead of /mnt/sdcard.

Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC.


Use CWR 3.0.1.0 to install the .zip and check out the results with File Manager.

Thanks go out to Clark008, luciferii and Cali^Gal from #nookcolor, Loonacy and Raymondull from #Cyanogenmod, and EpicFail1236 from XDA.

Sorry if this is a bit crude, it's my first script ever. I would be happy to get any advice on how to make this better!

EDIT: I have been looking into renaming the emmc mount to say SD-External or better yet making it mount as /mnt/sdcard/sd-ext. it might be possible, ill be looking into it as soon as I can got laid up for a bit.
Attached Files
File Type: zip nc.orig.vold.zip - [Click for QR Code] (123.8 KB, 1665 views)
File Type: zip nc.swap.vold.zip - [Click for QR Code] (123.9 KB, 2530 views)
Last edited by WobbleTheHutt; 21st April 2011 at 03:56 PM. Reason: thanks to Cali^Gal for the edit! I suck at writing Herp a-derp!
The Following 17 Users Say Thank You to WobbleTheHutt For This Useful Post: [ View ]
 
 
14th April 2011, 12:18 PM |#2  
Senior Member
Thanks Meter: 340
 
More
Thumbs up
"Because this ZIP file maps the change at an OS level, when you boot to recovery, your NC sees SD as the SDcard, so no issues occur. When you boot into your ROM, the mount points are swapped and you'll have access to the renamed "SDCARD" (5 GB) on your NC."

/\/\ That clarifies a lot compared to the brief orig post. Will likely be flashing it this weekend.


BTW, if this expands and you need this 2nd post just have a mod give it to you. Thanks again!
Last edited by Jiggity Janx; 6th May 2011 at 08:48 PM.
14th April 2011, 01:23 PM |#3  
Member
Thanks Meter: 3
 
More
BRILLIANT. Will be definitely testing this later today. Can't wait to run SD Tools on this

Sent from my NookColor using Tapatalk
The Following User Says Thank You to infideler For This Useful Post: [ View ]
14th April 2011, 11:06 PM |#4  
fr4nk1yn's Avatar
Senior Member
Flag Norfolk
Thanks Meter: 506
 
More
it works! interesting how it'll work out as to unmounting, flashing roms. but with emmc being useless this is fantastic.
14th April 2011, 11:26 PM |#5  
Mikey's Avatar
Retired Senior Moderator
Flag Chicago
Thanks Meter: 1,550
 
Donate to Me
More
Thank you for the effort and time place in this mod
15th April 2011, 01:19 AM |#6  
Member
Thanks Meter: 3
 
More
Yeah. The whole point of this was to utilize the 5GB internal emmc and not waste it. The next step is to mod the CWM to mount emmc as /sdcard so you can flash your zips from where you download them to (usually /mnt/sdcard/download), which in this case, goes to your emmc. But CWM will mount your external sdcard instead. For the time being, we can just put the zips we need to flash to the external sdcard, ie. /mnt/emmc.

I don't know if anyone noticed it yet, but if you usb mount after the swap, the transfer speed is kind of slow (~1.5mbps). I don't know if this is due to the emmc or that the read ahead cache needs to be tweaked.

We're open to make this even better. Feel free to comment and provide feedback.
Last edited by Clark008; 15th April 2011 at 01:23 AM.
15th April 2011, 01:26 PM |#7  
Senior Member
Flag Florida
Thanks Meter: 12
 
More
This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.

Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.
15th April 2011, 08:53 PM |#8  
Member
Thanks Meter: 14
 
More
I agree.. ideally having the emmc mount be part of the system would be ideal.
16th April 2011, 01:48 AM |#9  
OP Member
Thanks Meter: 27
 
More
Quote:
Originally Posted by Calla969

This sounds like a step in the right direction, however, what I would like to see would be merging the emmc with the internal storage. What I mean is this; right now, when I go into "Storage", I see an "SD card" (8gb), "Internal Storage" (0.92gb), and "/mnt/emmc" (5gb). Why can't we combine the .93 Internal and the 5gb emmc together to make a 5.92gb Internal storage and eliminate the emmc from teh storage area? I'm sure there is a reason that I'm not aware of, but it seems that this would be the same as just about every other device. I am pretty sure the ROM is running from the emmc partition, so that has to have something to do with it, but I don't see a purpose for 3 storage places. I keep getting errors when I try to download apps and I don't even have very many installed. I have had to move most of them to the SD card to make room and some apps don't like to be installed on the SD card.

Another option would be to swap the emmc with the Internal storage. Then we'd be using the 5gb and the .92 gb would be sitting there doing nothing instead. Again, I'm sure there are reasons for this, I'm just asking to learn.

i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/
16th April 2011, 05:17 PM |#10  
chisleu's Avatar
Senior Member
Flag Myrtle Beach SC
Thanks Meter: 105
 
More
This is neet. I don't know enough to comment, but it looks valuble for some people.

I just use my stock emmc for music storage and let apps sit on SD w/ videos.
17th April 2011, 04:53 AM |#11  
Senior Member
Thanks Meter: 43
 
More
Quote:
Originally Posted by WobbleTheHutt

i have no idea TBH but thats far beyond my ability. really it would be nice to symlink emmc to the SD card or the other way around. the issue is that you cant symlink with fat partitions :-/

No, but you can symlink to them. Why not set vold.fstab to mount the partitions onto other names and make symlinks named /sdcard -> /othername? That way, the symlinks can do their jobs or rearranging the namespace to suit our needs.

The ramfs isn't FAT32, is it?

I'm an old cmdline type, tricks like this are used all the time to fool software with stubborn opinions about filenames.

Dennis

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes