Or more to the point, does anyone think they will fix the way the TF memory/partitions are based with the ICS "AiO" Android 4 revision?
While its not an operational annoyance for me (IE most everything works fine), I HATE the fact that the internal memory is mounted as the sdcard instead of as internal memory (like any other device I have used)
I hate that out of 16GB I only have 11.xGB to use (especially when my ROM size before install is only 180Mb extracted... Stock is like 400Mb+) and cant use something like Firerats (at least not that I have found with searching, and yes I know firerats is basically just a repartition tool for MTD not eMMC or anything else) to repartition it to reclaim the wasted space...
From what I understood (and i could be wrong here), its only setup with the Internal memory as an SD instead of... internal memory... is because of Honeycomb, and that the layout is similar to other devices in that its a single memory chip for the internal/system/sd like any other NON Honeycomb device only the internal memory is... well internal memory...
So my question is that can anyone in the know on this subject help me out here...
AFAIK we get one chip for storage. Most stuff expects /sdcard so it makes sense for HC/ICS to be putting our /data/media on /mnt/sdcard with the FUSE thing.
And I can't see any really good reason to change what the norm is on TF101.
Sent from my Transformer TF101 using Tapatalk
I think you'll find that on Froyo/Gingerbread phones with internal memory as well as an SD slot, internal memory has always been mounted as /sdcard/ or /mnt/sdcard/ - the external card is mounted as a subfolder under that. This is for the user's convenience. Can you imagine how it would work to mount the internal memory if there was no external card present otherwise?
I seriously doubt ICS itself will solve the niggling problem of external SD mounting on our TF101s, but Asus may well change the layout so it's under /sdcard/xxxx/ to help matters.
Spidey01 said:
AFAIK we get one chip for storage. Most stuff expects /sdcard so it makes sense for HC/ICS to be putting our /data/media on /mnt/sdcard with the FUSE thing.
And I can't see any really good reason to change what the norm is on TF101.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
I could understand ASUS placing the internal storage as /sdcard since most stuff does expect/save to /sdcard automatically. Being that the tablet has an advertised 16GB of memory, ASUS probably believed that your every day average Joe wouldn't go out and buy an sd card.
Sent from my DROIDX using XDA App
unfnknblvbl said:
I think you'll find that on Froyo/Gingerbread phones with internal memory as well as an SD slot, internal memory has always been mounted as /sdcard/ or /mnt/sdcard/ - the external card is mounted as a subfolder under that. This is for the user's convenience. Can you imagine how it would work to mount the internal memory if there was no external card present otherwise?
I seriously doubt ICS itself will solve the niggling problem of external SD mounting on our TF101s, but Asus may well change the layout so it's under /sdcard/xxxx/ to help matters.
Click to expand...
Click to collapse
I guess I was a bit vague, I dont actually want it as extra storage or partition, I just want it all as /data instead of /sdcard... all the phone I have and have used (which I admit arent the latest, the newest I have used was an 8GB phone I cant remember the model of) so far didnt actually use /sdcard they just used /data... I have an SD card specificly for being an SD card... I hate having to either remap or manually use a file manager to get my TB files or anything else that uses the fake /sdcard instead of my actual SD card... id prefer all /data bleh...
Hammerfest said:
I guess I was a bit vague, I dont actually want it as extra storage or partition, I just want it all as /data instead of /sdcard... all the phone I have and have used (which I admit arent the latest, the newest I have used was an 8GB phone I cant remember the model of) so far didnt actually use /sdcard they just used /data... I have an SD card specificly for being an SD card... I hate having to either remap or manually use a file manager to get my TB files or anything else that uses the fake /sdcard instead of my actual SD card... id prefer all /data bleh...
Click to expand...
Click to collapse
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
EDIT:
All my android phones do not do what you claim either, the internal mem is mounted as /mnt/emmc and /data is a 2GB partition on the emmc
lilstevie said:
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
EDIT:
All my android phones do not do what you claim either, the internal mem is mounted as /mnt/emmc and /data is a 2GB partition on the emmc
Click to expand...
Click to collapse
ok, lets put it this way, nothing is mounted under /sdcard when i look at my phones without my SD card in them... get me now? when I go to phone data I have 7~Gb free listed for apps and such, there is no SD card listed, I dont know how to put it any other way, there is NOTHING in the removable or sdcard directory (the removable doesnt even exist on my phones) until I put one of my MicroSD cards in...
ergo, data is a 2gb partition you say, cool! I want to eliminate the fake sdcard partition then and combine it all into /data! I want the programs that store data on to the /sdcard to ACTUALLY GO TO MY DAMN SDCARD...
what phone do you have that has 7GB of /data/ ?
Hammerfest said:
ok, lets put it this way, nothing is mounted under /sdcard when i look at my phones without my SD card in them... get me now? when I go to phone data I have 7~Gb free listed for apps and such, there is no SD card listed, I dont know how to put it any other way, there is NOTHING in the removable or sdcard directory (the removable doesnt even exist on my phones) until I put one of my MicroSD cards in...
ergo, data is a 2gb partition you say, cool! I want to eliminate the fake sdcard partition then and combine it all into /data! I want the programs that store data on to the /sdcard to ACTUALLY GO TO MY DAMN SDCARD...
Click to expand...
Click to collapse
I said my phones had a 2gb data partition. what I said about the transformer is:
lilstevie said:
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
Click to expand...
Click to collapse
get it, /sdcard is DIRECTLY linked to /data/media, you lose no space what-so-ever to the /sdcard link.
further more show me a phone that has all the space in /data that is listed as having 16/32GB mem, it is pretty standard, my sgs was /mnt/sdcard, until I flashed CM7 when it was changed to /mnt/emmc, still not seen what you say where a device has all its space as /data
im not saying its not standard, im just saying (as is the original request on my post) that I dont want it mounted as SDCARD because I want my damn programs and sdcard data to do to... you guessed it, my ACTUAL SD CARD...
when I make backups with Titanium Backup, I want them to go to the MicoSD card I have inserted like they would with any other phone/device without having to **** with anything else, same with game/app extra data that uses SD card storage...
I played with an SGS2 today and while i didnt get to play with terminal, I ran TB and the backup went to the MicroSD card inserted and not the internal memory... unlike what the TF does...
infazzdar said:
I could understand ASUS placing the internal storage as /sdcard since most stuff does expect/save to /sdcard automatically. Being that the tablet has an advertised 16GB of memory, ASUS probably believed that your every day average Joe wouldn't go out and buy an sd card.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
And that buy now after years of PC's with X GB hard drives that they would be used to losing some to the OS and recovery partiton. Especially since Windows and major Linux distro's have gotten excessively FAT.
Sent from my Transformer TF101 using Tapatalk
A lot of the newer tegra phones are set up this way.
Sent from my CushZero using Tapatalk
Hammerfest said:
im not saying its not standard, im just saying (as is the original request on my post) that I dont want it mounted as SDCARD because I want my damn programs and sdcard data to do to... you guessed it, my ACTUAL SD CARD...
when I make backups with Titanium Backup, I want them to go to the MicoSD card I have inserted like they would with any other phone/device without having to **** with anything else, same with game/app extra data that uses SD card storage...
I played with an SGS2 today and while i didnt get to play with terminal, I ran TB and the backup went to the MicroSD card inserted and not the internal memory... unlike what the TF does...
Click to expand...
Click to collapse
hate to break it to you but the SGS2 has a smaller /data partition, then the rest is mounted as /mnt/sdcard.
you do know that TiBU does allow you to select where you save your backup to right?
And for programs that don't (/mnt/sdcard/kindle for example), you can symlink the folder(s) they want to /Removable/MicroSD/(kindle) quite easily.
Sent from my Transformer TF101 using Tapatalk
I agree, its really annoying. A good example is dolphin browser. When I go to back up the settings and bookmarks "to SD" I have to hunt and peck in a file manager to find the stupid file and move it to my actual SD card. I am not at all a fan of the simulated SD card.
Superjoe said:
I agree, its really annoying. A good example is dolphin browser. When I go to back up the settings and bookmarks "to SD" I have to hunt and peck in a file manager to find the stupid file and move it to my actual SD card. I am not at all a fan of the simulated SD card.
Click to expand...
Click to collapse
yep, it annoys the everliving piss outta me, and while programs like TiB can "select" the location, and you can make "simlinks" for specific apps, I dont want to have to go through the hassle, I want to know that any program I use, when it requires the MicroSD, or normally saves to the MicroSD, to save to my &^*^&*%^%& MicroSD...
its as simple as that...
Guys, chill out, it's just a forum on the Internet.
Best alternative to dealing with the design: make a patch se or custom that screws with /init*.rc files accordingly. Main problem (give or take figuring out how to do it) would probably be how the system would react when no MicroSD card is mounted.
Sent from my Transformer TF101 using Tapatalk
lilstevie knows more about the partition structure of Android devices, and the Transformer in particular, than all of those in this thread put together. If you're not willing to take and/or accept that he has answered your questions multiple times and in multiple different ways, I can't help you and this thread is not going to go anywhere.
I am closing this thread.
Related
I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
2) What is each used for?
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Also, what's taking up all my internal phone space? If the update.zip moved apps to the SD card, why do I only have 50 MB left of internal space?
jonnythan said:
I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
2) What is each used for?
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Click to expand...
Click to collapse
32 mb swap, 500mb ext2 rest fat32
swap is for linux swap if its used in the rom, ext2 is for your apps, and fat32 is for your storage
yes it loads all of your /data/app and /data/app-private apps on your sd card, your /system/app stays there
you can do a df -h under adb to see your free space
jonnythan said:
I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
Click to expand...
Click to collapse
I believe it makes a 32MB Swap partiton, a 500 MB Ext2 partition and the rest fat32.
jonnythan said:
2) What is each used for?
Click to expand...
Click to collapse
The Fat32 is normal files like music, pictures, etc. The ext2 is used for apps2sd. Don't worry, 500MB is more than enough for this. The swap is used for bakcground applications so they run better without slowing the phone down as much.
jonnythan said:
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
Click to expand...
Click to collapse
The Fat32 it shouldnt do anything. Obviously you will have less space because the other partitions are taking some of it's space. It loads the apps onto your ext2 partition but not all of them. System apps such as the calculator, browser, phone, etc stay on the system partition because it's faster.
jonnythan said:
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Click to expand...
Click to collapse
Do you have Windows, Linux or Mac. I don't know about Mac but I know Linux can view ext partitions natively (obviously, it's the native filesystem). For Windows you might be able to load the disk management application but if that doesnt show it you need a partitioning application or any other application that can read ext partitions off an sdcard. Don't know any off hand except paragon partitioning manager 9.0 (8.0 never seemed to work with my sd cards)
jonnythan said:
Also, what's taking up all my internal phone space? If the update.zip moved apps to the SD card, why do I only have 50 MB left of internal space?
Click to expand...
Click to collapse
See the above explanation.
nelson8403 said:
32 mb swap, 500mb ext2 rest fat32
swap is for linux swap if its used in the rom, ext2 is for your apps, and fat32 is for your storage
yes it loads all of your /data/app and /data/app-private apps on your sd card, your /system/app stays there
you can do a df -h under adb to see your free space
Click to expand...
Click to collapse
That answers my questions, thank you.
I found another though. I unmounted my SD card via Settings to see if the apps would fail to work in an effort to try to figure out if they were actually installed there. Predictably, they failed to work, but the system didn't pick the card back up after I reinserted it. So I rebooted the phone with the SD card in.
Then everything died. The apps didn't come back, but the phone still had them listed and tried to launch them, resulting in force-closes. An ext2 repair didn't fix it, so I just went back to my last Nandroid backup and reapplied update.zip.
I learned that this is a Bad Thing to do, but I'm wondering if this was a fluke or is it generally inadvisable to unmount the SD card for this reason?
im a noob to the whole android thing.but how do i partition the sd card and create ext2?????
jonnythan said:
I learned that this is a Bad Thing to do, but I'm wondering if this was a fluke or is it generally inadvisable to unmount the SD card for this reason?
Click to expand...
Click to collapse
Since this is a simple symlink, if you reboot the phone without the target of the symlink being there, and the phone tries to use it...
The results are left as an exercise for the reader.
Now for anyone who asks why it isn't smart enough not to break... that's like asking why your car doesn't run if you take half the spak plugs out.
posguy99 said:
Since this is a simple symlink, if you reboot the phone without the target of the symlink being there, and the phone tries to use it...
The results are left as an exercise for the reader.
Now for anyone who asks why it isn't smart enough not to break... that's like asking why your car doesn't run if you take half the spak plugs out.
Click to expand...
Click to collapse
Ah, but I'm asking why it still doesn't work once you put the spark plugs back in
It's not a big deal, I certainly learned not to do it.
jonnythan said:
Ah, but I'm asking why it still doesn't work once you put the spark plugs back in
It's not a big deal, I certainly learned not to do it.
Click to expand...
Click to collapse
Because booting the phone with it thinking the app was installed but it not able to find it trashed other data structures.
BTW, people trying to do stuff with the SD card removed after putting the apps on the SD card is probably one of the main reasons it currently is root only.
The OS needs to be modified to handle removable app storage gracefully (not something that happens in a standard phone.)
So should you format the card prior to flashing Modaco's ROM so the system knows to install all the apps to the ex2 partition. Or can you format the card AFTER you have already flashed Modaco's ROM and still have the apps automatically install on ext2 partition? I only ask cuz I formatted after flashing the ROM and wanna make sure it's installing it on the ext2.
I formatted mine afterwards and it moved all my apps over to the sd card automatically.
Hey sorry if this is posted somewhere else but I dont know where to look and I looked on google for you guys who want to post that google thing.
Anyways, after installing roms from CM7 or even eagle, my internal sd card does not show up in file or root explorer. Its shown in the storage sections but not where i can access the information on there from the phone's file system.
When i restore back to stock (but rooted) rom its back to normal!
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Thanks but how do I use it for normal everyday stuff? I guess i cant with CM7?
Sure you can, just move stuff from sdcard to mnt/emmc with root explorer. I know its a pain and one of the reasons I started a request thread to see if there was a way to bind/combine both partitions into 1 so we'd all have more internal space for installing apps/games.
Sent from my LG-P999 using xda premium
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
jetbruceli said:
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
Click to expand...
Click to collapse
Do you use an external sdcard with your g2x, or do you use only the internal? There is a potentially easy solution if you want to use CM7 and keep the internal card as your primary. I'll tell you how step by step, but depending on if you use an external card and what you use it for, more or less steps will be involved. So I'll wait for your answer so I can give you the right response.
Sent from my LG-P999 using XDA App
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
jetbruceli said:
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
Click to expand...
Click to collapse
I personally prefer to keep my backups and personal data on an external/removable sdcard. Its safer that way in case anything happens to the phones internal memory, all my documents and backups are safe and I can put my sdcard into my computer or another phone to retrieve it. Also, I'd much rather have 32gb of storage for all that rather than the 5gb you'll have with the internal card.
That said, its personal preference and always good to have options. Here's how I have mine setup with CM7 (I'll explain how to achieve the setup you want in a moment):
- My external removable card is mounted at /mnt/sdcard. This is the default setup of CM7.
- My internal sdcard (emmc) is mounted at /mnt/sdcard/_OtherSD. CM7 default is to mount it at /mnt/emmc, which means if I have photos, music and movies stored there they wont show up in some of my apps. By having it mounted to a directory inside my /mnt/sdcard directory, any app that looks at my external sdcard will also see what's stored on the internal sdcard. This is similar to the stock setup, except that with stock the external card is mounted as /mnt/sdcard/_ExternalSD.
But if you want the internal to be your primary sdcard then here are a couple of fixes for you. The quickest fix is this:
- Go to Settings > Cyanogenmod settings > Application
- Select "Use internal storage"
- Reboot phone
- Now your internal card will be mounted at /mnt/sdcard and your external card at /mnt/emmc
- This makes your internal card your main sdcard but leaves you external card mostly unusable because of its mount point.
So if you are like me and you like for things to be labeled properly and usable then continue reading. This works with CM7 (it wont work with stock), and I also recommend having root explorer (from the Market). My instructions will be specific to root explorer, although you can use any root text editor you want. You will need to edit 2 files (/system/build.prop and /system/etc/vold.fstab):
- Using root explorer navigate to your /system directory.
- At the top of the screen select "Mount R/W"
- Scroll down and find the /system/build.prop file. Long-press on it and select to open in text editor.
- Scroll about halfway down the file and find the section that says "
# Mount the internal SD card, too
- Where it says "ro.additionalmounts=" specify a directory by typing its full path. I use /mnt/sdcard/_OtherSD. This is the mount point you will use in the vold.fstab file (which you'll edit in a moment)
- The very next line says "ro.vold.switchablepair=" .. These are the mount points that get swapped when you enable that setting in CM7. Change the options to match the mount points you will want to use. So for me it says "/mnt/sdcard,/mnt/sdcard/_OtherSD" ... of course no quotation marks.
- Select Menu > Save & Exit. One nice feature of root explorer is that it automatically saves your original file as a backup in case there are any problems.
- Now navigate to /system/etc
- Make sure the directory is still mounted as R/W, scroll down and open the file /system/etc/vold.fstab. This file specifies where both the external and internal sdcards are actually mounted. Each drive/device has its own entry.
- Find the line that starts with dev_mount emmc /mnt/emmc" and change it to match the mount point you created in the build.prop file. So for me I change it to "dev_mount emmc /mnt/sdcard/_OtherSD"
- Select Menu > Save & Exit
- Reboot phone
Now when you use the CM7 settings option to use internal storage, it will swap them but still keep one mounted within the other so any music, pics, videos you have will be usable by all your apps.
****PLEASE NOTE**** -- These changes will be overwritten if you flash a new nightly.
Sent from my LG-P999 using XDA App
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
jetbruceli said:
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
Click to expand...
Click to collapse
Just plain CM7. I think I'm using nightly 144. The method should be the same or similar on other cm7-based roms. It just won't work on stock-based roms because the changes to the files get overwritten when you reboot.
Sent from my LG-P999 using XDA App
d12unk13astard said:
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I wonder what would happen if the phone was physically repartitioned ... I don't know enough of how Android works to know what effects that would have. Obviously the disk is just a disk and you can create whatever partition sizes you want. Is the OS designed to look for a certain number of partitions and partition sizes on each phone? Or will it just use what's there?
Sent from my LG-P999 using XDA App
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
d12unk13astard said:
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
JaiaV said:
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
Click to expand...
Click to collapse
The difference between apps2sd which your using and link2sd which i'm using is that with apps2sd your internal memory will run out much faster then if using link2sd which can also move dalvikcache to sd ext. I've already moved 300 apps/games to sd ext with link2sd and still have over 1gb of internal storage, try doing that with apps2sd
Edit: forgot to mention link2sd is a free app in market.
CyanogenMod 7 sdcard Switcharoo tweak/mod/fix!
When i first got CM7 on my Infuse I immediately came across an annoying problem (at least for me). Like all AT&T customers, my phone came with an external SD card with 2gb of storage and the phone itself has 16gb of internal storage. So i noticed that by default, my 2gb external sdcard was the mnt/sdcard directory that all my apps use and mnt\emmc was my internal 16gb. For me that sucked because all my Titanium Backups were in my internal sdcard and I coudnt move it to my external because of memory insufficiency. So i decided i would mod the ROM to switch these sdcard directories and have 16gb instead of 2gb in my mnt\sdcard directory.
So, to make this simpler for me and you, suppose:
----------------------------
Internal sdcard (16gb) = A
External sdcard (2gb) = B
----------------------------
A is by default in mnt\emmc
B is by default in mnt\sdcard
----------------------------
The problem with the above statements is that 2gb is not enough to make it my default sdcard. Apps like Titanium Backup, Dropbox, Camera and tons of others (like games) always store things in mnt\sdcard and they can rarely be configured to store elsewhere (at least to my knowledge).
So to solve the problem i edited the mnt\system\etc\vold.fstab file. This file just contains some random gibberish about where the sdcards mount to. So i switched the mounting directories of the two sdcards A and B. So far all i had to do is copy over the apps stored in my external to the new external mount (mnt\emmc).
So in short the only thing this changes is: (the before and after pic)
Before:
mnt\emmc is internal 16gb
mnt\sdcard is external 2gb
After:
mnt\emmc is external 2gb
mnt\sdcard is internal 16gb
Now, if lets say you had your apps stored in A and used my tweak. You would have to copy your apps over to B because thats the new A. Confusing i know...im trying. lol
So here is the procedure:
0. Download the attachment below and unzip it in your phone somewhere
1. Make sure you have root explorer or similar app
2. Using your explorer app mount mnt\system\ R/W
3. Navigate to vold.fstab file in mnt\system\etc
4. Rename the file to vold.fstab.bak (to keep it backed up)
5. Now find the directory where you downloaded and put my new vold.fstab file
6. Copy my new vold.fstab file to mnt\system\etc and paste
7. Reboot phone.
If you encounter difficulties, then undo the process by first deleting my modded vold.fstab and then renaming your old vold.fstab.bak to vold.fstab and then rebooting.
Also, Keep in mind that this is for CM7 users. Don't use it if you don't know what CM7 is or don't use CM7 port. Cheers, hope this helps someone.
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
PVD04 said:
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
Click to expand...
Click to collapse
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Mohammad_Adib said:
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Click to expand...
Click to collapse
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
My /mnt/sdcard is the internal memory and my 4GB microsd is my external storage been like that from stock and I have all of my important stuff on the external for obvious reasons. Don't know why you would need this am I missing something?
Infused with Android DNA
PVD04 said:
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
Click to expand...
Click to collapse
This is exactly right - unchecking internal storage does exactly what your tweak does.
I have a 16 gig SD internal and external and I prefer using external which is default, when my phone had to be redone due to bad flash, I loss everything on my internal. Even if I checked something wrong it still feels safer using external last I checked 16gig cards are like 25 bux. I want 32gig next. Sounds to me like a poor attempt to get status here. Try on a group less educated then xda. I feel offended by this trick.
Sent from my SGH-I997 using xda premium
This might be useless for CM7 users but what about MIUI users, don't CM7 and MIUI use the same kernel?
Sent from my SGH-I997 using xda premium
i just got a 16gb external card to replace the OEM supplied 2gb sdcard.
Also Titanium allows you to change the backup folder location.
Cool. thanks for telling me. but that never worked for me. so this did and i dont care how u guys do it as long as the results are the same.
I thought that emmc was the external memory card? Because I have a 16 GB external and CM7 reads it as EMMC
Sent from my SAMSUNG-SGH-I997 using xda premium
Cm7 switchs external and internal so it is like every phone since not all phones have 16gb internal. I don't really use internal.
Sent from my SGH-I997 using xda premium
Hi,
I have a g2x and i recently rooted it using superoneclick and i tried to back up using nvflash
however when i boot into recovery and try to install a zip or do anything with an sdcard, it says cant mount sdcard.
i ended up installing cyanogenmod 7 using rom manager.
but at the moment i cant do anything that involves using the sdcard because it cant mount.
any ideas on how to fix this?
thanks in advance
When you're in recovery, have you simply tried taking out the memory card then putting it back in?
Sometimes the simplest solutions work. It used to not mount my sd card too and just popping it out and back in made it read it.
buru898 said:
When you're in recovery, have you simply tried taking out the memory card then putting it back in?
Sometimes the simplest solutions work. It used to not mount my sd card too and just popping it out and back in made it read it.
Click to expand...
Click to collapse
Thanks ill try it and let you know but how come nothing ever gets loaded onto the phones internal sdcard I still have the 5 gigs that I initially had and nothing is ever loaded onto it including the apps I download, any way I can change this?
EgyptianBoi said:
Thanks ill try it and let you know but how come nothing ever gets loaded onto the phones internal sdcard I still have the 5 gigs that I initially had and nothing is ever loaded onto it including the apps I download, any way I can change this?
Click to expand...
Click to collapse
It's the way they memory is partitioned. ~3 GB for the System and Apps, 5GB for other stuff. There's a workaround/fix for CM7 in the development forum (atleast I think there was) but I don't know if it works anymore.
Jufjufjuf said:
It's the way they memory is partitioned. ~3 GB for the System and Apps, 5GB for other stuff. There's a workaround/fix for CM7 in the development forum (atleast I think there was) but I don't know if it works anymore.
Click to expand...
Click to collapse
Right now if I go to storage in settings I have my SD card then I have internal storage with 1.48 gigs and then I have additional storage /mnt/emmc which has 5.21 gigs. At the moment apps installed from the android market go to the internal storage and apps online go to the SD card but I can move them to the internal memory. It seems that at the moment the one place with the most memory can't be used so I'm guessing thats the partition your talking about
o there's no way of changing this partition?
And can you give me the link to that? Thanks
Yaay got the SD card working in recovery it worked taking it out and putting it in again
EgyptianBoi said:
Right now if I go to storage in settings I have my SD card then I have internal storage with 1.48 gigs and then I have additional storage /mnt/emmc which has 5.21 gigs. At the moment apps installed from the android market go to the internal storage and apps online go to the SD card but I can move them to the internal memory. It seems that at the moment the one place with the most memory can't be used so I'm guessing thats the partition your talking about
o there's no way of changing this partition?
And can you give me the link to that? Thanks
Click to expand...
Click to collapse
You're right, I don't believe it can be used (natively for apps atleast, you can always move media and files there). Unless you mount that internal partition to be the external SD card and do a Move to SD on the apps (both are settings in Android/CM7 somewhere) there's not much else you can do. The problem is that some apps don't work on the SD, of course you could keep those on the system partition.
Sorry if my replies are starting to get confusing, it's late here.
I use link2sd which creates a mount point script that uses the extra partition on external sdcard. I used minitool partitioned to create a 10gb ext4 on my 32gb class 10( I'm an app junkie lol). Most if not all apps/games moved with link2sd work flawlessly, I'm happy with it
Sent from my LG-P999 using xda premium
Jufjufjuf said:
You're right, I don't believe it can be used (natively for apps atleast, you can always move media and files there). Unless you mount that internal partition to be the external SD card and do a Move to SD on the apps (both are settings in Android/CM7 somewhere) there's not much else you can do. The problem is that some apps don't work on the SD, of course you could keep those on the system partition.
Sorry if my replies are starting to get confusing, it's late here.
Click to expand...
Click to collapse
thanks i think i managed to get it! i found the settings i think you're talking about in the cyanogenmod settings and managed to switch the sdcard and additional storage. now the 5 gigs appears as the sdcard and the actual external microsd appears as the additional storage
i guess thats the best im gonna get
thanks a lot!!
d12unk13astard said:
I use link2sd which creates a mount point script that uses the extra partition on external sdcard. I used minitool partitioned to create a 10gb ext4 on my 32gb class 10( I'm an app junkie lol). Most if not all apps/games moved with link2sd work flawlessly, I'm happy with it
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
thanks ill try it and see how it workds
d12unk13astard said:
I use link2sd which creates a mount point script that uses the extra partition on external sdcard. I used minitool partitioned to create a 10gb ext4 on my 32gb class 10( I'm an app junkie lol). Most if not all apps/games moved with link2sd work flawlessly, I'm happy with it
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Jufjufjuf said:
You're right, I don't believe it can be used (natively for apps atleast, you can always move media and files there). Unless you mount that internal partition to be the external SD card and do a Move to SD on the apps (both are settings in Android/CM7 somewhere) there's not much else you can do. The problem is that some apps don't work on the SD, of course you could keep those on the system partition.
Sorry if my replies are starting to get confusing, it's late here.
Click to expand...
Click to collapse
ya i thought i had everything working but now for some reason, my phone says it cant mount the system. any ideas why?
hey everyone. so if i partition the internal sd card what exactly am i doing? from what i understand, the g2x has 8gb onboard, 1.5 of that is for apps, and 5 goes to user data. the rest i assume is for android?
so if i create a 2gb partition on the internal sd, what am i changing and what does it do to the rest of the space? do i need to create the other partitions in windows later and format them?
168 views and no replies? anyone??
Ok, let me try to explain this one...
In three words, Don't Do It!!!
Your internal sd card is pretty much just that, it's a storage card built onto the phone itself. Now it is already partitioned, and allot!
Not only does this one physical card hold your "internal sd card" contents but it also holds your ROM, cache, all your apps, and even your recovery!
Even though it looks like these are separate drives they are all one physical card, your internal sd card.
Now if you try to add to this mix of partitions on this internal card you run the VERY HIGH risk of messing up the lines and sizes of these partitions. Many things in Android assume that some of these are a certain size or at a certain place, and if you mess with it all hell brakes lose!
Now people sometimes partition the external sd card because they want 2 different file types, like half fat32 (like a normal sd card) and half ext4/3 for apps it use in Linux.
Hope this helps!!!
Sent from my LG-P999 using Tapatalk
ok, well then i guess my question is more along the lines of why do we have that option in CWM Recovery and if i create a 2gb partition what happens? does it change the default 1.5gb partition so you have more room for apps?
dodgefan67 said:
ok, well then i guess my question is more along the lines of why do we have that option in CWM Recovery and if i create a 2gb partition what happens? does it change the default 1.5gb partition so you have more room for apps?
Click to expand...
Click to collapse
I'm honestly not sure, I've only ever messed with these partitions manually when unbricking my phone. So if you do it, you have a fairly good chance of bricking the phone, but i don't know how Android will react.
Sent from my LG-P999 using Tapatalk
thanks, i was just curious, since CWM gives us the option, but ive never done it and until i can find a good reason to i probably won't even mess with it
but it just seems kind of bad having 5gb on the internal card going to waste, i have backups to my external sd, all my data is there too, so i probably won't even touch that 5gb...
Just be glad it's not the other way around
Ill take too much space over not enough any day!
Sent from my LG-P999 using Tapatalk
well true, but still would like to know exactly what happens if you choose to run that in CWM Recovery
seek and ye shall find
found a guide for CWM and from what i see that option puts a partition on your external sd card so it can be used to install apps on IF the rom supports that. it says it does wipe everything else off the card though so you need to make a backup. you can also put a swap partition on it as well
looks like it does not touch the internal sd card phone memory which is what i thought it did
http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/