How to swap internal memory and SD Card - Android Q&A, Help & Troubleshooting

I have a custom-made rooted MTK6575 based phone, and it has internal storage of just 127MB and an external SD Card of 8Gb.The Phone spec is 512MB
I want to swap these two and tried all the ways I found from the forum such as
a. Modifying the vold.fstab and vold.fstab.nand
b. Trying out External 2 Internal with Universal Init
Both did not work out.
Upon check the /mnt folder, I realised that there is only one sdcard folder. The internal memory of 127MB seems to be shared with the 512MB and there is no mounting script that I can find.
The only effect I have gotten is from modifying the vold.fstab.nand file. If I change the sdcard to sdcard2, my sdcard will not be seen under storage and only the 127Mb internal storage will be seen.
Anyone can help ? :crying:

Related

[Q] gtablet not reconizing the internal sd...

i have done alot of nonsense to my tablet, but for some reason i don't think my tablet is recognizing my internal sd card as memory. I tried downloading a file from a website and it said that i needed an sd card to download the file...this never happened to me before recently. I remember the tablet recognizing the 16 gigs of internal memory as essentially an sd card on the system. I think it now recognizes it as maybe internal memory and needs to show it as an sd... i don't know for sure... is there anything i missed. do i need to partition something? i just flashed cyanogen 7.0.3..
so it happened just after flashing, or already before? in cm in a file manager do you see sdcard?
Dunno about thekafka, but I have just flashed the same version of cyanogen to my G-tab, and am now experiencing the same issue. This did not start until after the installation. File Manager and CWM do find the SD card.
Is there an optimal partitioning scheme to use when flashing this ROM?
In CM-7.0.x, the internal SD card is mounted at /mnt/emmc and the external SD card, if one is attached, will be mounted at /mnt/sdcard. They're not trying to make things difficult for new users--it's just what's sensible for the wide range of devices that CM runs on: internal SD cards at /mnt/emmc and removable SD cards at /mnt/sdcard, whether on phones (remember, most phones don't have internal SD cards) or tablets.
If you're coming from another ROM where the internal SD is at /sdcard (or /mnt/sdcard) and the external is at /mnt/sdcard2, you, and some of the applications that you use, might get confused.
It's easy enough to switch the mount points so that internal SD is at /mnt/sdcard and the external will be mounted under /mnt/emmc. There is even a CWM-installable zip file floating around to do this easily. Search around here or at the cyanogenmod gtabet forum.
Thanks for being helpful and smart and stuff.
Here's the address of a thread with fixes, including the ZIP file that rajeevvp mentioned:
forum.cyanogenmod.com/topic/19492-no-sd-card-apps-fail-to-use-emmc/

[Q] Memory / Storage area definintions

I am a bit confused as to how memory/SD/external_sd is defined on this device
Looking at root, I see mnt. IIRC, this is the mounting point for both the internal SD card and the external SD card.
when I plug my phone into my computer I see Internal Storage and Card.
So I have
A: 1GB RAM for OS (/system, /data, etc)
B: 16GB RAM for apps etc.
C: 16GB RAM external SD
I connected my computer to my phone and see two "folders" Internal Storage and SD Card. I put folders with those names in each one so when I open them up on my computer I see a folder called "..internal storage root" and one called .".sd card root"
Internal Storage 10GB B Same a 1) below
SD Card 14.8GB same as 3) below
SD Card/external_sd
From the phone in root explorer
1) /sdcard takes me to the internal storage root 10GB. I imagine that is (B) after the OS reserves 4GB
2) /mnt/sdcard which actually takes me to the internal storage root 10GB. (B?) Same as 1
3) /mnt /external_sd takes me to the SD card root but this is NOT my SD card.
4) /mnt /external_sd /external_sd takes me to SD card, (C)
I also see /storage which has sdcard0 and sdcard1. sdcard0 takes me to the internal storage root. sdcard1 takes me to the sd card root.. However this not my actual SD card.
Now.. without an SD card, sdcard1 is empty and external_sd is empty
,
My question: why, when I put my SD card in, does it show it as having something in it that is not actually on my card?
Sadly, the way android is currently setup... makes me want to throw my phone at someone... literally! I would gladly spend my time in jail for doing it as well! (as long as said person was the one who decided upon doing it this way)
Currently, on the Galaxy Note (and almost all other devices) you have the following:
Out of the internal memory space (which turns out to be about 14.8Gb after base10 or was that base 12... whatever, IDGAF, point is, its not 16GB usable):
2GB: Application and Application Data storage
10GB: Internal Memory on the device mounted as /sdcard* ([email protected]#!$!#@%^#)
And whatever your REAL sdcard is mounted as /external_sd
* /storage/sdcard0 is internal | /storage/sdcard1 is external
calling the internal memory of ANY device an sdcard annoys the piss outta me, as noted above
EDIT: if you have a rom with it included, you can use parted | print to view the partition layout as well as mount points and all that other happy horse carp

[Q] How do I change sdcard location mapping?

I installed a custom rom on my phone and now my sdcard mapping is backwards with the internal memory mapped as sdcard0 and the externall sd card mapped as sdcard1. Now I need to change these back to the way they should be as all apps are being installed to the internal storage and not the external sd card. I was told that changing a couple of lines in the vold.fstab file does this but it still isn't working correctly as I am only getting the option to move apps to internal memory or phone memory, not sd card. I have the default install location set to sd card but it is actually the internal memory that is being used.
Sorry if this sounds confusing

My internal sd card is inaccessible, and possibly encrypted?

upgraded to marshmallow and had both the internal sd and external sd as one (using it as storage)
This turned out to be a bad item and the external sd failed (possibly due to too many reads and rights)
I noticed my internal sd card stopped being able to install apps. On further inspection in Root Explorer external sd card is a folder, but 'sdcard' almost looks like an inaccessible link/normal everyday file. Pressing it in REplorer says that it's not mounted. Yet it is the internal sd card...I can also see how much space its components are taking up under 'storage' in Android OS.
My question is how do I fix this? Most apps get installed to internal sd. I have read on XDA that sometimes kitkat would make inaccessible/encrypt the internal sd card, how do I diagnose this is my problem ,and if I find out it is,how do I fix it?
Bumpbumpbumpbumpbumpbump

How to move-link data from internal sd to internal storage?

My phone with Android O has an unfortunate partition table atm - large internal storage, small internal "sd" storage.
To my surprise, many apps insist to put their data on the sd parition like offline maps or email storage. So atm, half my internal storage is empty, and my sd is full :-\
All tools I have found move data/apps from the internal storage to the (external) sd card (apps2sd, link2sd, appmgr), and anything I have tried (Directory Bind, Folder Mount) aren't successful move-linking the "Android" folder on the sd to the internal storage. Moving and symlinking with the shell doesn't work either.
Question: Is there any app/way to make apps use the internal storage instread of the internal sd card (if they offer no config option)? Thanks!
.. Answering my own question:
After another day of fooling around I discovered that apps2sd "Folder Mount" tool can be mis-used to link external to internal with the "bind" option, even though it insists with a warning screen that this very thing shouldn't be done

Categories

Resources