[Q] Force all installations to internal memory? - Nook Color Q&A, Help & Troubleshooting

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.

Related

Iconia sdcard storage logical partition?

So I have a 16gb card in my Acer Iconia tablet. Go into settings>storage and the space available shows up but its like I can't even move any files to the card. Almost as if the tablet created a virtual sdcard partition and is using that to store everything. Even when I install an app and choose to install to SD card. Storage shows space is only being used in the internal memory not the sdcard. Am I doing something wrong? Seems odd because the device is recognizing the card, showing how much space it has but I use a file manager and the sdcard folder is almost like a logical partition. Any light anyone can shed on this is greatly appreciated, as i'm at a loss.
Sent from my A500 using Tapatalk
Fungii said:
So I have a 16gb card in my Acer Iconia tablet. Go into settings>storage and the space available shows up but its like I can't even move any files to the card. Almost as if the tablet created a virtual sdcard partition and is using that to store everything. Even when I install an app and choose to install to SD card. Storage shows space is only being used in the internal memory not the sdcard. Am I doing something wrong? Seems odd because the device is recognizing the card, showing how much space it has but I use a file manager and the sdcard folder is almost like a logical partition. Any light anyone can shed on this is greatly appreciated, as i'm at a loss.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
The /mnt/sdcard is the internal memory partition or logical device as you mentioned. If you file browse to the /mnt directory you will see an /external_sd folder (aka /mnt/external_sd) which represents the external plug-in SD card.
bonzer2u said:
The /mnt/sdcard is the internal memory partition or logical device as you mentioned. If you file browse to the /mnt directory you will see an /external_sd folder (aka /mnt/external_sd) which represents the external plug-in SD card.
Click to expand...
Click to collapse
Wow I can't believe I missed that. I feel so disgraced. Anyway thanks a bunch. I'm going ot use the excuse sometimes you can't find what your looking for because your making it more complicated than needed. Yeah that sounds like a good one.
Sent from my A500 using Tapatalk
no problemo.....

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] Strange issue with SD

OK I am running 7.2.0-RC1 on eMMC, really happy with as my daily driver
What I'm seeing is on every book in notification there is a msg about SD is safe to remove. I do have access to my SD in file manager. But going into settings/storage /mnt/emmc is not mounted and will not mount. Is this normal?
Thanks
dacore270 said:
OK I am running 7.2.0-RC1 on eMMC, really happy with as my daily driver
What I'm seeing is on every book in notification there is a msg about SD is safe to remove. I do have access to my SD in file manager. But going into settings/storage /mnt/emmc is not mounted and will not mount. Is this normal?
Thanks
Click to expand...
Click to collapse
It is not normal. Are you sure you are seeing your SD or emmc? There is a setting that will let you swap emmc and SD. Its under cyanogenmod settings under apps, I think. Then your filemanager will think it is looking at SD, but is really looking at emmc. Take out the SD and see what your file manager sees. That coupled with your SD not being mounted properly could be what's happening.
tried your suggestion
First thanks for your reply.
I have gone to settings/CyanogenMod Settings and activated "use internal storage", power off and then remove SD.
After rebooting I still see emmc and sd empty in file manager app
ok after making above changes here is what it says in settings/storage
SD: unavailable
internal 5gb total and 4gb free
additional storage /mnt/emmc: 29gb and 10gb free
*update*
Ok I have tried to wipe my system and redo everything using the newest Mirage 7.2-RC1 3/30/2012
I first booted with my 1gb clockwork recovery sd and wipe system and cache and then install new rom
afterward restore apps (only) using titanium backup
I still have the notification that "SD is clear to remove"
but I can access my sd, not sure if I am able to access EMMc, although everything works as it should
Also I have parly apps installed internally and some copied to SD (using manage apps)
Thanks for any help

[Q] Cannot use internal sd to store applications after partitioning

Hello
I accidentaly partitioned my internal SD from the recovery console. I can see it fine, when my phone boots under cm9. The problem is that I cannot use it to store applications.
When I go to settings->storage, I can see the following storages :
1) Internal Storage total space 114MB
2) USB Storage total space 7.38GB
I tried to install google maps and I got a not enough available memory message.
Post in Q&A section please
Btw you can re-partition it again and try
Sorry. I said it was a question somewhere, though!!
I repartitioned it again a while ago, and I still get internal storage 114MB, which means I have very little space to install apps that cannot be moved to the SD.
Am I missing something else here?
divined2004 said:
Sorry. I said it was a question somewhere, though!!
I repartitioned it again a while ago, and I still get internal storage 114MB, which means I have very little space to install apps that cannot be moved to the SD.
Am I missing something else here?
Click to expand...
Click to collapse
Depending on what type of partition you may have made earlier ...rfs or ext 4.. your phone may be only reading one of this partitions...best to unmount and format to your current phones format
I repartitioned and formated it under recovery mode.
Nonetheless, when I go to settings->storage, I can only see the 7.38GB of the internal SD under the USB STORAGE section.
I only have 152KB of recognizable internal storage available now, which means I can`t install anything.
I use the recovery mode to partition the internal SD. I want my internal SD, to be recognized as internal, as it used to be before I used the partition utility.
Gasp!!
divined2004 said:
I repartitioned and formated it under recovery mode.
Nonetheless, when I go to settings->storage, I can only see the 7.38GB of the internal SD under the USB STORAGE section.
I only have 152KB of recognizable internal storage available now, which means I can`t install anything.
I use the recovery mode to partition the internal SD. I want my internal SD, to be recognized as internal, as it used to be before I used the partition utility.
Gasp!!
Click to expand...
Click to collapse
undo your lagfix FIRST ..than use menu > settings> storage> unmount and format to recover full SD card space
I found this thread http://forum.xda-developers.com/showthread.php?t=733343
where someone gives a script that removes the lagfix, or so he claims. Can I copy it over to my phone and then use the terminal to execute it?
divined2004 said:
I found this thread http://forum.xda-developers.com/showthread.php?t=733343
where someone gives a script that removes the lagfix, or so he claims. Can I copy it over to my phone and then use the terminal to execute it?
Click to expand...
Click to collapse
pretty old thread, not sure as to what kernel that script is for .
Why not try to undo partition in recovery as that option should be there...the same way you were able to partition .
Sorry pal for being so persistive but I cannot find any undo partition in the recovery.
Do I really need to lagfix before I try what you suggested before? What does the lagfix do anyway?
One important thing I just noticed. I cannot unmount it, under settings->storage because it ain`t recognized under the SD CARD section but under USB STORAGE.
Ain`t that odd?
divined2004 said:
Do I really need to lagfix before I try what you suggested before? What does the lagfix do anyway?
Click to expand...
Click to collapse
one and the same thing lagfix changes rfs (original samsung format) to ext 2 or ext 4 formats
the partitioning you have done... I assume is to ext 4 or is it ext 2?
divined2004 said:
One important thing I just noticed. I cannot unmount it, under settings->storage because it ain`t recognized under the SD CARD section but under USB STORAGE. Ain`t that odd?
Click to expand...
Click to collapse
well, this would be case, because, you have two different partitions and your system cannot read one because its is using the other.
In storage you can unmount and format using your PC, as that would be the only option for you now (so best you use this option, but first copy the entire contents of SD card to your PC) after format you can copy what you need back to your SD card
or you can use this http://forum.xda-developers.com/showthread.php?t=1709398
but be careful which drive you format

SD card for app storage

I'm using a 400GB SD card. I saw a comment about creating 2 different partitions on it as I want to use part of it for app storage and the other part for file storage, The second partition would be exFAT so I can remove the card and transfer my books, music, etc. to it by attaching the SD card to my laptop as I understand that Windows would not be able to recognize the partition that would be formatted as internal storage. I did format the SD card using my laptop as two separate partitions. My Samsung Galaxy Tab A saw both partitions. I selected the 96GB partition as I wanted to use that for app storage and selected the option to use it as internal storage. Unfortunately when I did that, it appears that the system set the whole CD card up for internal storage. Does anyone have any insight on how to accomplish this - use part of the SD card for internal storage and part of it for storage that would be recognizable by Windows? Thank you very much.
I have not tried, so take the advice as a suggestion, perhaps android can be "fooled", which I doubt.
After creating a bulk partition in android, move the SD to Windows and resize that partition, and create a second partition on the remaining capacity and hide it.
Now move the SD back to android and see what happens.
If android will reformat the partitions again then I can't advise anything else.
However, if android accepts the memory, then the next step is to discover the partition in Windows and recheck the SD in android.
ze7zez said:
I have not tried, so take the advice as a suggestion, perhaps android can be "fooled", which I doubt.
After creating a bulk partition in android, move the SD to Windows and resize that partition, and create a second partition on the remaining capacity and hide it.
Now move the SD back to android and see what happens.
If android will reformat the partitions again then I can't advise anything else.
However, if android accepts the memory, then the next step is to discover the partition in Windows and recheck the SD in android.
Click to expand...
Click to collapse
Well, I was trying to work on that and now the Android Storage module (in Settings) keeps crashing when I open it. IDK what happened here. I've reformatted the SD card, I've removed the SD card, I've rebooted the table multiple times. I'm almost to the point of having to restore the tablet from scratch ... again.
Try this:
Link2SD - Apps on Google Play
Complete app management, move to SD, clear cache, remove bloatware and more
play.google.com
JR1979 said:
I'm using a 400GB SD card. I saw a comment about creating 2 different partitions on it as I want to use part of it for app storage and the other part for file storage, The second partition would be exFAT so I can remove the card and transfer my books, music, etc. to it by attaching the SD card to my laptop as I understand that Windows would not be able to recognize the partition that would be formatted as internal storage. I did format the SD card using my laptop as two separate partitions. My Samsung Galaxy Tab A saw both partitions. I selected the 96GB partition as I wanted to use that for app storage and selected the option to use it as internal storage. Unfortunately when I did that, it appears that the system set the whole CD card up for internal storage. Does anyone have any insight on how to accomplish this - use part of the SD card for internal storage and part of it for storage that would be recognizable by Windows? Thank you very much.
Click to expand...
Click to collapse
You're trying to convert a partition in sd card as internal storage and leave the rest as an external storage. Not possible as far as I know.
TheMystic said:
You're trying to convert a partition in sd card as internal storage and leave the rest as an external storage. Not possible as far as I know.
Click to expand...
Click to collapse
Thats a bummer but that is what I was feeling was going to be the outcome. I guess I'll just go with it as internal storage then and be rlefated to wireless transfer of my books, etc. To the tablet. Any thoughts on why my Storage module keeps crashing now? Something definitely went nuts somewhere along the way here. It was running fine.. until I start poking around with this. I'll probably just do a rebuild again tonight.. if I can find my steps notes.
I also don't think it's possible to do what you have in mind. It's also important to remember that Windows will only mount the first partition of an SD card. It won't see any other partitions without 3rd party software installed.
JR1979 said:
Thats a bummer but that is what I was feeling was going to be the outcome. I guess I'll just go with it as internal storage then and be rlefated to wireless transfer of my books, etc. To the tablet. Any thoughts on why my Storage module keeps crashing now? Something definitely went nuts somewhere along the way here. It was running fine.. until I start poking around with this. I'll probably just do a rebuild again tonight.. if I can find my steps notes.
Click to expand...
Click to collapse
The reason people want a micro SD card is to be able to move it around between devices, so it is not a good idea to convert it into 'internal storage' for two reasons:
1. You can no longer move the card around (not without reformatting it again).
2. This process would significantly slow down the system if the OS starts saving apps, data and files on the micro SD card because it sees this space as internal storage.
Because of how you partitioned the SD card and tried converting only a part of it as internal storage, my guess is the process caused corruption somewhere, and the system is crashing because of that. I'm afraid you'll have to do a factory reset and start from scratch. I hope your files are safe.
JR1979 said:
I'm using a 400GB SD card. I saw a comment about creating 2 different partitions on it as I want to use part of it for app storage and the other part for file storage, The second partition would be exFAT so I can remove the card and transfer my books, music, etc. to it by attaching the SD card to my laptop as I understand that Windows would not be able to recognize the partition that would be formatted as internal storage. I did format the SD card using my laptop as two separate partitions. My Samsung Galaxy Tab A saw both partitions. I selected the 96GB partition as I wanted to use that for app storage and selected the option to use it as internal storage. Unfortunately when I did that, it appears that the system set the whole CD card up for internal storage. Does anyone have any insight on how to accomplish this - use part of the SD card for internal storage and part of it for storage that would be recognizable by Windows? Thank you very much.
Click to expand...
Click to collapse
You should NEVER use an SD card for internal storage. They are MUCH to slow for that purpose. Today's SoC have RAM chips mounted directly on top and are several times faster than the fastest SD card bus. And low end tablets, which includes ALL Tab A devices, use a USB bus with limited bandwidth. So using faster SD cards is pointless as they will still only be as fast as the bus. SD cards are fine for storing video, audio, text and downloaded files, but NOT for running apps. Doing so will cause the device to be laggy at best, and cause crashes at worst.
blaacksheep said:
I also don't think it's possible to do what you have in mind. It's also important to remember that Windows will only mount the first partition of an SD card. It won't see any other partitions without 3rd party software installed.
Click to expand...
Click to collapse
The two partitions on the USB flash drive can be seen* in Windows without third-party software.
*I don't have an English Windows interface.
ze7zez said:
The two partitions on the USB flash drive can be seen* in Windows without third-party software.
*I don't have an English Windows interface.
Click to expand...
Click to collapse
I meant that it won't mount the second partition, although you can see it in Disk Manager.
blaacksheep said:
I meant that it won't mount the second partition, although you can see it in Disk Manager.
Click to expand...
Click to collapse
Windows 10 mounts both of these partitions, assigns them letters and you can use them (read and write).
ze7zez said:
Windows 10 mounts both of these partitions, assigns them letters and you can use them (read and write).
Click to expand...
Click to collapse
I stand corrected! Previous versions of Windows could not do that.
ze7zez said:
The two partitions on the USB flash drive can be seen* in Windows without third-party software.
*I don't have an English Windows interface.
Click to expand...
Click to collapse
Something strange in that attachment. Since when do Android SD cards have NTFS partitions? As far as I know, the internal storage partitions that Windows couldn't read were formated as Ext3 or Ext4 and the external as either FAT32 or exFAT.
lewmur said:
Something strange in that attachment. Since when do Android SD cards have NTFS partitions? As far as I know, the internal storage partitions that Windows couldn't read were formated as Ext3 or Ext4 and the external as either FAT32 or exFAT.
Click to expand...
Click to collapse
Don't suggest the volume label. Partition K: is FAT. The example shows that Windows can show two partitions on a USB stick.
ze7zez said:
Don't suggest the volume label. Partition K: is FAT. The example shows that Windows can show two partitions on a USB stick.
Click to expand...
Click to collapse
Of course it can. It can show several. But NOT the two partitions created on an Android SD card because one of then is formated in a file system Windows doesn't recognize and that is what the poster was talking about.
edit: Disk Manager will actually show the partition but it won't be assigned a drive letter because Windows can't mount it.

Categories

Resources