Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP WobbleTheHutt

14th April 2011, 10:45 AM   |  #1  
OP Member
Thanks Meter: 27
 
47 posts
Join Date:Joined: Feb 2011
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, 1607 views)
File Type: zip nc.swap.vold.zip - [Click for QR Code] (123.9 KB, 2484 views)
Last edited by WobbleTheHutt; 21st April 2011 at 04: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, 01:18 PM   |  #2  
Senior Member
Thanks Meter: 339
 
1,393 posts
Join Date:Joined: Feb 2010
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 09:48 PM.
14th April 2011, 02:23 PM   |  #3  
Member
Thanks Meter: 3
 
35 posts
Join Date:Joined: Oct 2007
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 ]
15th April 2011, 12:06 AM   |  #4  
fr4nk1yn's Avatar
Senior Member
Flag Norfolk
Thanks Meter: 469
 
1,209 posts
Join Date:Joined: Aug 2008
More
it works! interesting how it'll work out as to unmounting, flashing roms. but with emmc being useless this is fantastic.
15th April 2011, 12:26 AM   |  #5  
Mikey's Avatar
Retired Senior Moderator
Flag Chicago
Thanks Meter: 1,063
 
5,523 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Thank you for the effort and time place in this mod
15th April 2011, 02:19 AM   |  #6  
Member
Thanks Meter: 3
 
69 posts
Join Date:Joined: Nov 2010
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 02:23 AM.
15th April 2011, 02:26 PM   |  #7  
Senior Member
Flag Florida
Thanks Meter: 12
 
167 posts
Join Date:Joined: Mar 2010
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, 09:53 PM   |  #8  
Member
Thanks Meter: 14
 
60 posts
Join Date:Joined: Mar 2011
I agree.. ideally having the emmc mount be part of the system would be ideal.
16th April 2011, 02:48 AM   |  #9  
OP Member
Thanks Meter: 27
 
47 posts
Join Date:Joined: Feb 2011
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, 06:17 PM   |  #10  
chisleu's Avatar
Senior Member
Flag Myrtle Beach SC
Thanks Meter: 105
 
1,029 posts
Join Date:Joined: Mar 2011
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.

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

Advanced Search
Display Modes