Mounting SD card Problem? - T-Mobile LG G2x

OK, so today I decide to root my LG G2X and install cynanogenmod 7 nightly build.
After, it install, I decide to restore my back up data but when I open Linda File manager, it only mount external sd card. So, I went to cynanogenmod setting and use internal storage. When I reboot the phone, now it only mounting the internal sd card not external sd card.
So, my question is it is possible to mount both internal and external sd card in cynanogenmod 7 nightly build? For example, use internal card as a location for apps installation and use external as media storage.

Related

[Q] app get copied to external SD Card rather than internal SD Card

hi, im Geoff.
recently after flashing the stock 4.0.3 ICS firmware, flashing a old bootloader and using my own USB Jig and resetting
the flash counter for kernels, i finally flashed JellyBean 4.1.2 Original Firmware from Samsung. my mobile is Galaxy S2 i9100.
my problem is i recently bought a 16GB micro sd card and inserted it into my phone before i could install any app onto my phone.
then i installed few apps and games from the Google Play Store. then i noticed the external sd card have about 120 mb of used
memory. but i only had about 20 mb of data that i copied onto it that were certain zip files and nothing else. i noticed that when i install
any app, then go to applications and move to SD Card option [which previously copied apps to the internal SD Card/USB storage],
is now actually moving the apps to the External SD Card. So if I unmount the external SD Card or remove it, none of my installed apps appear.
My external SD Card is meant for songs and movies. I want my internal SD Card to store all my apps so that i can remove my External
SD Card when ever i want to and swap it or not use it at all.
I also removed the external SD Card and then installed a new app, then use the move app to SD Card option. I got a error message,
saying something like insufficient memory/space.
my doubt is, apps are trying to be moved to the internal sd card but because they cannot be moved, they are being copied to the
external sd card.
any help is appretiated. btw i have rooted my phone by doing the temporary update of CWM from the stock recovery using the update from
external card method. then i also installed SuperSU. so its rooted and i didn't have to flash a kernel to root.
[update] im gonna provide some new info here:
I have a Android folder in my Internal SD Card [sdcard0]
and ".android_secure" in my External SD Card [extSdCard]
/mnt contains
asec [software files stored on the internal memory/ not internal SD Card or sdcard0]
obb [empty]
secure/asec [software moved using move to sdcard option. these files get copied to the extSdCard and not the sdcard0]
.lfs
and the sdcard and extSdCard links.
If I remove my External SD Card and try to move apps to the Internal SD Card using the move to sdcard button in application settings,
I get the insufficient memory error.
Also when I use the move to SD Card button in Application Settings, it shows the file being moved to the USB Storage [which is supposed to be
the internal sd card or sdcard0], yet it actually is being copied into my external SD Card or extSdCard.
What apps/games?
A lot of app data is stored on SD card, whether the core files and executable are on the internal or not, so that may just be cache stuff etc... One way to check is to remove the SD card then try to run whichever apps, I am willing to bet they still run.
orangekid said:
What apps/games?
A lot of app data is stored on SD card, whether the core files and executable are on the internal or not, so that may just be cache stuff etc... One way to check is to remove the SD card then try to run whichever apps, I am willing to bet they still run.
Click to expand...
Click to collapse
i use the move to sd card for most apps/games. apart from 1-2 apps that dont have that option, about 10 apps+games have the option to be moved to the SD Card. And i used that option. But I am positive they got copied to the External SD Card because after I remove the
External SD Card, all the apps disappear.
Also when i then try installing new apps to the phone and then try to move them again [without the external sd card in its slot],
i get the error message of insufficient space/memory.[i have 8GB+ empty space in the internal SD Card]
its really annoying me
TitanHack said:
i use the move to sd card for most apps/games. apart from 1-2 apps that dont have that option, about 10 apps+games have the option to be moved to the SD Card. And i used that option. But I am positive they got copied to the External SD Card because after I remove the
External SD Card, all the apps disappear.
Also when i then try installing new apps to the phone and then try to move them again [without the external sd card in its slot],
i get the error message of insufficient space/memory.[i have 8GB+ empty space in the internal SD Card]
its really annoying me
Click to expand...
Click to collapse
Sounds like you have an option enabled in app settings to install all to SD, check your app settings in system settings.
orangekid said:
Sounds like you have an option enabled in app settings to install all to SD, check your app settings in system settings.
Click to expand...
Click to collapse
I have gone through everything in settings. I cant find any option where I can actually select weather to install all to SD.
I appretiate you trying to help me out. I hope i find a solution to this problem.
Initailly I felt that it cound be some code causing the apps to move to the external sd card instead of the internal one. But after I got
the error message that I have insufficient space [with the external sd card removed ], even tho I have plenty of space, about 8GB+,
on the internal sd card...so I dont think this is due to any code somewhere pointing to install into the external SD card.
I read somewhere that when the internal sd card is full and no more apps can be installed, the new apps go to the external sd card by default.
Something like that is happening to me, except my internal sd card is fine.
I updated my first post with more info to help diagnose and solve the problem. ty to all trying to help me.
bump
[reserved]
I would back up the stuff you want from SD and from your ROM (to your computer), then go to recovery, full wipe + cache + dalvik, then format external SD, then reboot into system, then restore what you want.
orangekid said:
I would back up the stuff you want from SD and from your ROM (to your computer), then go to recovery, full wipe + cache + dalvik, then format external SD, then reboot into system, then restore what you want.
Click to expand...
Click to collapse
hey man ty for not giving up on me ive not been well and then got so busy recently....
i did what you asked. i even accidently wiped the system folder from cwm recovery. it went into a boot loop or whatever it is called.
i re-flashed the official samsung jellybean firmware 4.1.2 on my i9100. then again cleant delvic + cache +used data. yet the problem
persists.
i noticed that the android folder is being created in the internal sd card. but that android folder has very small amount of the app
files stored on it. the major chunk is in android_secure which is only being stord on the external sdcard.
when i go to mnt folder in root i see two folders named asec and secure.
1."asec" contains apps stored on internal memory [not internal sd card]
and 2. "secure" contains a "asec" folder which stores app stored on the external sdcard.
i believe somewhere the code which should point the android_secure folder to the internal sdcard is pointing to store apps on the
external sd card. perhaps you guys can show me how i can change the folder path of android secure. then it will behave like
default, the way is was meant to behave.
You might need to repartition your system.
I'll see else we can come up with later today, in the mean time, try to maybe use TWRP instead and a different ROM
little more info
orangekid said:
You might need to repartition your system.
I'll see else we can come up with later today, in the mean time, try to maybe use TWRP instead and a different ROM
Click to expand...
Click to collapse
when i click move to sdcard in the application settings/menu, it shows USB data filling up.
that USB data is supposed to be my USB drive or my Internal SD Card. And the external sdcard shows up
as 0 KB of data. But actually the files are being copied to the external sdcard and not internal.
now if we think the android system cannot access the internal sdcard, then thats not the matter because
it creates a folder named Android in the internal sdcard and stores the app cache there.
So to me it seems that the android system is confused and actually thinks that the android_secure folder is
mounted on the internal sdcard while it actually is mounted on the external sdcard.
perhaps anyone can link me a guide to move my android_secure folder...
TitanHack said:
perhaps anyone can link me a guide to move my android_secure folder...
Click to expand...
Click to collapse
Facing this problem now.
TitanHack, did you found an answer?

Formatting SD Card as Internal Storage

I've flashed my tablet (SM-T800) according to the thread here:
http://forum.xda-developers.com/gal...android-6-marshmallow-tab-s-10-5-lte-t3219759
One of the instructions mentions coping SuperSU and GApps to the SD Card afterwards so they can be reflashed after an update. Does this mean I can't format the SD card as internal storage?
You can. But you still can copy files to SD card AFAIK.

TWRP won't read External SD Card or /mnt

I've been rooted for a while without any issues, until recently I'm not sure what happened but suddenly TWRP won't show the /mnt folder or be able to access anything on my SD Card, I've tried mounting and selecting the SD Card in TWRP settings but it displays 0MB and won't select it. All I see is my Internal Storage files, which means I can't flash anything easily. I don't know when it happened but it was working about a week ago. I formatted my SD Card as ext4 in TWRP itself and also tried NTFS on Windows.
NOTE: I can view the SD Card in Solid Explorer and on my computer, TWRP is the only one that can't mount/read any SD Card files or even recognize it.
Is there any way I can work around this without formatting the SD Card?

Default Storage Locataion

In storage settings, there is a "Default location" setting of either internal or SD card. What happens if I set it to SD card? Will all files be moved onto the SD card and use the internal flash as the secondary storage? Or will only NEW files be placed on the SD? I just installed a new 128GB mSD card but like to know how the phone will behave before switching to mSD card as default. I assume the internal storage will always be faster than SD so I may not want everything go into SD.
lejaune said:
In storage settings, there is a "Default location" setting of either internal or SD card. What happens if I set it to SD card? Will all files be moved onto the SD card and use the internal flash as the secondary storage? Or will only NEW files be placed on the SD? I just installed a new 128GB mSD card but like to know how the phone will behave before switching to mSD card as default. I assume the internal storage will always be faster than SD so I may not want everything go into SD.
Click to expand...
Click to collapse
It doesn't move everything to your SD card only new thing you install.
I have found that with a big SD card the phone takes a while to sort it's self out when you start it up.
Other than that it's no different
Code:
pm get-install-location
Results :
0 - auto
1 - internal
2 - external
Code:
pm set-install-location [I]{0 or 1 or 2}[/I]
For this you must have root
I don't have the option to select the MicroSD, it's already formatted inside the phone but it says I already created a user...

Migrating data to sd card not working properly

My phone is always out of storage space, and whenever I try to migrate my data to my sd card, my internal storage becomes even fuller. I installed a custom rom today, and formatted the sd card as internal storage again and copied some music to it, but it went to the internal storage instead. Help
What are the exact specs of the SD card?

Categories

Resources