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

Using the same SD card partition for eMMC and SD booting

OP soonereng

5th February 2011, 05:49 AM   |  #1  
OP Junior Member
Thanks Meter: 5
 
20 posts
Join Date:Joined: Jan 2011
I can't post on the development forum, but this was asked there. Basically for those running Froyo or HC off SD who want the stock (or rooted) eMMC system to recognize the same SD partition.

It was suggested that one should edit the vold.fstab file, however, this file doesn't exist in the stock (or my rooted) BN filesystem. However, vold.conf does exist in /system/etc

I just edited my vold.conf so that it reads as below (bold is added line):

Code:
## 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
}
I can now use the same SD card partition when booting from the SDcard or internal eMMC.

Disclaimer: If you copy this and it bricks your Nook. Don't blame it on me. I didn't make you do it.

Remove the .txt extension, make sure your SD card is out and boot off internal system, make /system writable, backup the original vold.conf either by adb pull or as below, then push the new vold.conf file.

Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
cd /system/etc
mv vold.conf vold.conf.bak
exit
adb push vold.conf /system/etc
Shut down nook and reboot off internal eMMC, replace SD card, and voila, the same SD working partition.
Attached Files
File Type: txt vold.conf.txt - [Click for QR Code] (695 Bytes, 117 views)
Last edited by soonereng; 5th February 2011 at 06:31 AM. Reason: clarification
The Following User Says Thank You to soonereng For This Useful Post: [ View ]
5th February 2011, 06:08 AM   |  #2  
Senior Member
Thanks Meter: 104
 
1,675 posts
Join Date:Joined: Nov 2010
But doesn't it automatically boot to the sd card
If it inside?
From 1.1 Nook Color with 1.1 ghz overclock
5th February 2011, 06:15 AM   |  #3  
OP Junior Member
Thanks Meter: 5
 
20 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by Canadoc

But doesn't it automatically boot to the sd card
If it inside?
From 1.1 Nook Color with 1.1 ghz overclock

Yes. If you want to boot off internal eMMC you would need to remove SD card before booting. Then install the SD after it's booted up. This allows you to use the entire SD card rather than the 100 mb that is on the boot partition of the froyo and HC SD images.

There is probably a more elegant solution, this was just mine.
5th February 2011, 02:57 PM   |  #4  
Senior Member
Thanks Meter: 60
 
411 posts
Join Date:Joined: Dec 2010
Thanks for the solution!

Homer
5th February 2011, 03:02 PM   |  #5  
Senior Member
Thanks Meter: 104
 
1,675 posts
Join Date:Joined: Nov 2010
great will have to give this a try some time
5th February 2011, 03:33 PM   |  #6  
OP Junior Member
Thanks Meter: 5
 
20 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by Homer_S_xda

Thanks for the solution!

Homer

You're welcome.
7th March 2011, 06:11 PM   |  #7  
Junior Member
Thanks Meter: 1
 
23 posts
Join Date:Joined: Mar 2011
Stupid Question...
Do you need to partition the SD card before doing this, or will it be done already when you burn the HC image into the SD card? I'm looking to burn the HC (4 gigs) into an 8 gig card and have about 3-4 gigs free in the SD card to use.
17th May 2011, 02:35 AM   |  #8  
Junior Member
Thanks Meter: 0
 
25 posts
Join Date:Joined: Feb 2008
Does anyone know if this will work with the new froyo update?
15th August 2011, 01:59 PM   |  #9  
Member
Flag Columbus
Thanks Meter: 10
 
78 posts
Join Date:Joined: Mar 2008
More
OK post http://forum.xda-developers.com/show...1&postcount=15
Has it right - I just needed to change both auto's to 4's

vold.fstab
Was:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

Now:
dev_mount sdcard /mnt/sdcard 4 4 /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

Thanks !
Last edited by w8wca; 19th August 2011 at 02:57 PM.

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

Advanced Search
Display Modes