How to get NC to use SD ONLY for media - Nook Color Q&A, Help & Troubleshooting

My NC has all of this on the /mnt/sdcard
Code:
.estrongs
.FileExpert
.wftfiles
.youversion
adobe
Android
B&N Downloads
backups
Books
clockworkmod
com.maildroid
data
DCIM
Digital Editions
Download
dropbox
eBooks
Evernote
GOLauncherEX
GoStore
LOST.DIR
Music
My Files
Nook
opera
OverDrive
ReceivedFiles
TempAudio
tmp
TunnyBrowser
Videos
.OverDrive.xml
fix_permissions.log
.adobe-digital-editions
.android_secure
.cr3
.docThumbs
How can I get it to use the internal /media or /data partition for all of this and JUST use the sdcard for my media (music and videos)?
I am running CM7.10 stable.
One thought is to have it mount the partition normally used for /media to the /sdcard mountpoint, and then mount the sdcard as something else (probably not /media, but maybe). This way apps that want to use /sdcard will use the internal memory partition formerly known as "/media" for their storage, and the actual sdcard will be reserved for only media. Alternately if the NC will not run without a /media that can be used by B&N, maybe just repartition it so that you have the 5GB /media partition split into 1GB /media and the remaining 4GB /sdcard, then mount the actual SD card on another mountpoint.
I guess this really is a question about how flexible the NC/CM7/Android filesystem layout is, and whether it can support something that makes the actual SD card a cleaner portable storage device.

Two points
1. In the CM7 set up, check the "install Internal only" instead of Auto.
2. With CM7, uSD is required to 100% operate. W/o it, only 99%.

I already have it set like that. That's not what I'm talking about.
I found this thread:
http://forum.xda-developers.com/showthread.php?t=1034939
Which describes a way to keep this junk off of my sdcard and allow me to use it for just my own media storage without breaking the NC.
I'll see how it goes.

Related

Want to use the 2GB internal memory for apps - how?

Hey there,
the U8800 has a 2GB partition which isn't used at all when an external SD-card is installed.
The internal 2GB partition is mounted to /HWUserData and is accessible. Now I want to use it for my apps. With the typical App2SD-apps that are available in the market I cannot move the apps to this partition. They are always moved to the external card.
Moving the apps manually is not very helpful as Android treats them as install-packages when I open them within the file manager.
tl;dr: The 2GB-partition does only show up within the file manager, how can i use it for apps etc.?
XphX
http://forum.xda-developers.com/showthread.php?t=1112857
Thank your for your answer; I do not want to use that program; I fear voiding the warranty. I have no problem with installing custom-ROMs, but I won't change the partitions of the internal memory.
I'll take out the external SD-card for a moment, maybe I can install the apps to the 2GB-part then...
Seriously, why does Huawei include 2GB of memory if it is not usable?
Use the default apps2sd option.
I've been thinking about this myself and thought about changing the mount points so the internal 2GB SD is formatted as ext then linked to /sd-ext and used as an a2sd partition. The advantage is that, unlike normal a2sd, you will still be able to remove the microSD card.
The problem would be that recovery images wouldn't like this as they always expect a2sd to be the second partition on the microSD. It would also stop the backups from working..
It's something I'll need to think about a lot.
flibblesan said:
The advantage is that, unlike normal a2sd, you will still be able to remove the microSD card
Click to expand...
Click to collapse
That is exactly what I want to do. a2sd simply does not recognize the partition as it expects it to be a second partition within the external sd. Could changing the mount point resolve this issue? Where would I even mount it to? The external card will still be the one recognized (or not?)..

[Q] Force all installations to internal memory?

I'm running a Nook Color with CM 7. It's partitioned with the 5G for apps, and I don't mind leaving it that way. However, apps sometimes get installed to the SD card even though I have tons of free memory. Is there a way to force all app installs to go to internal memory?
settings\cyanogenmod settings\application\install location
MISRy said:
settings\cyanogenmod settings\application\install location
Click to expand...
Click to collapse
Check Settings -> CyanogenMod Settings -> Application -> Use Internal Storage
If you do this, then your /sdcard and /emmc partitions will be swapped... in other words, your physical sd card will be mounted at /emmc and your internal memory will be mounted at /sdcard.
This is a good thing, IMHO. But it can be quite confusing.
mr72 said:
Check "Use Internal Memory"
If you do this, then your /sdcard and /emmc partitions will be swapped... in other words, your physical sd card will be mounted at /emmc and your internal memory will be mounted at /sdcard.
This is a good thing, IMHO. But it can be quite confusing.
Click to expand...
Click to collapse
Indeed, it's confusing.
@OP,
Just to give you a head up that some apps REQUIRED an external uSD plugged in in order to function properly.
votinh said:
Indeed, it's confusing.
@OP,
Just to give you a head up that some apps REQUIRED an external uSD plugged in in order to function properly.
Click to expand...
Click to collapse
Actually, if this setting is checked, and the /sdcard mountpoint refers to the internal memory, then those apps that required external SD will just use the internal memory mounted at /sdcard.
The NC does not require a SD card with CM7 if it is run this way.
mr72 said:
The NC does not require a SD card with CM7 if it is run this way.
Click to expand...
Click to collapse
The NC itself does not require but some apps does.
I believe there was/were thread talking about this, CM7 somehow requires external uSD.
Last time (long time back, don't know if it has been changed) I checked Aldiko Reader, w/o uSD plugged in, it wouldn't run.
votinh said:
Last time (long time back, don't know if it has been changed) I checked Aldiko Reader, w/o uSD plugged in, it wouldn't run.
Click to expand...
Click to collapse
That is true, unless you check the box:
Settings -> CyanogenMod Settings -> Application -> Use Internal Storage
This will switch the mount points of /emmc and /sdcard, and therefore anything using /sdcard will find /sdcard mounted, but it will in fact be the actual internal memory mounted at that location.
mr72 said:
That is true, unless you check the box:
Settings -> CyanogenMod Settings -> Application -> Use Internal Storage
This will switch the mount points of /emmc and /sdcard, and therefore anything using /sdcard will find /sdcard mounted, but it will in fact be the actual internal memory mounted at that location.
Click to expand...
Click to collapse
Trust me, I did that for sure.
What about opening a terminal and doing:
su
pm setInstallLocation 1
Will that work?
BTW, storing the apps on the "Internal emmc" means they're going to the small partition, right? Since there's more than enough memory in the "Internal" partition, I'd rather they just go there rather than fake out the OS into thinking the emmc partition is a SD card.
I'm moving apps that get installed to the SD card back to "phone" using Titanium Backup.

[Q] Easier way to move media to my sd card?

I am running CM7 on SD card that has a storage partition of about 6 gig.
When I run stock Nook Color USB, it's easy to set up folders in My Files and fill them with magazines, ebooks, pdf files, videos, etc. on the EMMC.
Then under CM7, I have been using File Manager to move the files one by one to the SD card.... a tedious process.
Or I have been able to use DropBox to export the files one by one to the SD card .... even slower and more tedious
I've tried to get EASEUS Partition Master to activate the storage partition so I could just drop files in there, but all I can ever see is the boot partition on my PC.
There has to be an easier way, right ?
Just plug the Nook in via USB and then you need to open your status bar and mount as USB. You will then have two new drives on your PC, one for EMMC and one for your SD card.
Sent from space
THATS more like it. Working great now and thanks!
edit /system/etc/vold.fstab on stock and change first auto for SDCARD to 4 and you can use the same partition for stock and sd ROM for the SDCARD
in your CM7...
either use terminal app or adb shell:
mkdir /sdcard/tmp
mount /dev/block/mmcblk0p1 /sdcard/tmp
Then edit /sdcard/tmp/etc/vold.fstab to make the following change:
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
CHANGE TO
dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

[Q] Are apps stored on SD or internal memory?

I am running CM7 on a 16GB Sandisk Class 4 uSD. I'm very new to this, so I hope someone can help me with my question. When I download apps from Google Play, where does it get stored? When I go to Settings -> Storage, I see the following: SD card/Total Space = 13.31 GB, SD card/Available space = 13.22 GB. Under Internal storage/Total space = 0.93GB, Internal storage/Available space = 680 MB. Under Additional storage: /mnt/emmc Total space = 1.0GB, Additional storage: /mnt/emmc Available space 1.0GB.
So it looks like the apps are being stored in "Internal storage", but I'm not sure whether that is in NC's internal memory, or the SD card. On the one hand, the SD card shows 13.22 GB available out of 13.31 GB, so it looks like it is not being used. But on the other hand, Additional storage: /mnt/emmc Available space is 1.0 GB, so I assume that is my 1.0 GB allotted to me by B&N, so it also doesn't look like I'm using up the NC's internal memory.
So where are my apps being stored? If they are not being stored on the SD card, how can I move the existing apps to the SD card, and also how do I set it up so that all apps (and book) downloads go to the SD card in the future?
Your apps are running on your SD card's "internal" partition which is still on the SD card.
Sent from my NookColor using XDA
Size of Internal Storage?
If Internal storage is on the SD card, why is it only 0.93 GB? Shouldn't it be (in the case of a 16GB card) 13 GB? How can I use the 13 GB that is left on my SD card?
voyager28 said:
If Internal storage is on the SD card, why is it only 0.93 GB? Shouldn't it be (in the case of a 16GB card) 13 GB? How can I use the 13 GB that is left on my SD card?
Click to expand...
Click to collapse
In CM terms, internal storage means your /data partition. For SD installed CM, your /data is still on your SD, just in a separate partition. And when play store installs an app, it installs the application files to your /data partition on the SD.
When your SD was first set up, several partitions were created on it, one of which was /data. The size for the /data partition was set when your SD was partitioned. This partitioning is why your 16GB looks like it now only has 13GB. Some of the space was set aside for other uses.
The 13GB is your media partition on the SD. It is named 'sdcard' in CM terms. It is to be used for your media files, books, movies, pictures, etc. And installed apps use it to store any files they need to (like files they download, etc.).
Sent from my Nook Color running ICS and Tapatalk
Re-sizing Partitions
j8048188 and leapinlar, thanks for explaining to this noobie where apps are stored. Is it possible to re-size the /data and /sdcard partitions, to say, 3GB and 11GB, without wiping out the apps I already downloaded? If so, how could I do it?
voyager28 said:
j8048188 and leapinlar, thanks for explaining to this noobie where apps are stored. Is it possible to re-size the /data and /sdcard partitions, to say, 3GB and 11GB, without wiping out the apps I already downloaded? If so, how could I do it?
Click to expand...
Click to collapse
Unfortunately, no, not with Windows and not once you have installed a ROM and there is information stored in /data. Windows does not know how to read the data format that /data uses. Windows based partition managers can manipulate the /data partition if there is no data in it. And the only time that is true is just after you have booted the new SD, but before you have installed your first ROM. (However, if you have Linux, you can use partition manager software there to resize with data in it since Linux knows how to read the data).
So if you have Windows and you want it set bigger, you have to catch it before you install your first ROM on it. You can back up your installed apps with titanium backup, start over with your SD again, manipulate the partitions before installing the ROM and restore your apps later. If you decide to do that, use Mini-Tool Partition Manager and make partition 4 (media) smaller and partition 3 (data) larger. Be sure to copy the titanium backup files to your PC because they will be wiped out if you start over.
leapinlar said:
Unfortunately, no, not with Windows and not once you have installed a ROM and there is information stored in /data. Windows does not know how to read the data format that /data uses. Windows based partition managers can manipulate the /data partition if there is no data in it. And the only time that is true is just after you have booted the new SD, but before you have installed your first ROM. (However, if you have Linux, you can use partition manager software there to resize with data in it since Linux knows how to read the data).
So if you have Windows and you want it set bigger, you have to catch it before you install your first ROM on it. You can back up your installed apps with titanium backup, start over with your SD again, manipulate the partitions before installing the ROM and restore your apps later. If you decide to do that, use Mini-Tool Partition Manager and make partition 4 (media) smaller and partition 3 (data) larger. Be sure to copy the titanium backup files to your PC because they will be wiped out if you start over.
Click to expand...
Click to collapse
Leapinlar, I'm running Ubuntu on one of my computers, so any advice you can give me will be appreciated.
voyager28 said:
Leapinlar, I'm running Ubuntu on one of my computers, so any advice you can give me will be appreciated.
Click to expand...
Click to collapse
In ubuntu, use gparted to resize the partitions on the sd. Shrink partition 4 (leaving space in front of it) and expand partition 3 to fill it. And usually people say 2GB is large enough for partition 3. If you find later it is not big enough, just do this again.
leapinlar said:
In ubuntu, use gparted to resize the partitions on the sd. Shrink partition 4 (leaving space in front of it) and expand partition 3 to fill it. And usually people say 2GB is large enough for partition 3. If you find later it is not big enough, just do this again.
Click to expand...
Click to collapse
Thanks, leapinlar! I will try this tonight!

what is the relation between internal sd card and internal storage?

seems apks are installed to internal storage, then what is the function of internal sd card?
which kind of data would be save to internal sd card?
btw, it seems /data folder is on the internal storage, how can i move this folder to internal sd card?
dalvikna said:
seems apks are installed to internal storage, then what is the function of internal sd card?
which kind of data would be save to internal sd card?
btw, it seems /data folder is on the internal storage, how can i move this folder to internal sd card?
Click to expand...
Click to collapse
It's kind of complicated.
Huawei's setup on U8800 goes like this:
/data - standard APK installation, all settings & other OS stuff saved in there.
/HWUserData - almost exactly like external SD card, but apps cannot be installed on it (if I remember correctly external SD was default).
The reason it was designed like this was to enable media storage without SD card in pre-ics. Nowadays, most devices use combined /data (/data used for both apks, and also media like audio, files). The reason /datamedia is used is to have the same space available, but you can use it for how you want. On U8800 we cannot do that (standard 600MB for /data, 2GB for /HWUserData in stock).
Oh, and since /data and /HWUserData are different partitions, you really can't move these around. They are mounted onto Android.

Categories

Resources