Internal storage and Cyanogen problems - LG Optimus 4X HD

I experience a strange thing when installing CM 11 in my p880 the internal storage appears in CM empty (freshly initialized) despite there having been files before installing CM from that storage.
Now, when I boot back to ClockWork it shows me the new empty /sdcard but when I install a backup from the external sd card of the stock OS than the contents of the internal SD card is back and all the stuff that CM created/added is located inside a subdirectory of it /sdcard/0/
And no the backup did not contain the contents of the internal storage only boot.img /system and /data and /cache
So apparently Cm11 is handling the internal storage differently from he stock ROM in a way that makes its original content inaccessible :/
What wonders me the most is that ClockWork assumes the internal storage behavior of the installed ROM shouldn't that be independent?
That surly must be a known behavior so whats up with that can I somehow make CM use the internal sd instead of its /0/ subdirectory.
Or is the only way to not have inaccessible files to format the sd card from ClockWork while it still shows it properly just before flashing cm11?

Related

How can i increase the rom size?

Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
tommyhui said:
Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
Click to expand...
Click to collapse
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
tknguyencsu said:
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
Click to expand...
Click to collapse
Yes
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Mokubai said:
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Click to expand...
Click to collapse
I have tried to do this by editing the "vold.fstab" file in the etc folder. However I have not been successful. I can only switch between the internal and external sdcard.
Each time I failed I have to recopy the original vold.fstab file before the Note working again if I am lucky. Most of the time I have to reflash the rom again. You can get some information from the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753

CM7 - I cant use my internal storage?

Guys, I cant seem to access the internal memory of my phone. The external SD CARD is shown, when I go to the emmc folder its empty (in-real its not, and when I access it from the CWM. The emmc (internal storage) has all files shown there)
Please Help :/
The option to use additional storage/internal memory in the settings is also faded/greyed out.
I was on official ICS before, I have heard it has some different partitions but I used nvflash cleaner and then installed cm7.

[Q] Swap External SD card with Internal on CM10.1/CM10.2

Hi!
There is a way on CM 10.1 /CM 10.2 to swap the external SD card to be seen as internal? The 11extsd2internalsd.txt is working on stock based roms, but not in CM and I can't find any solution for this. I don't want bind methods or swap images.
Edit:
FolderMount has the ability to mount folders which contains subfolders, like entire Android folder - you need to disable Destination folder checks. You can also mount entire partition, but you''ll loose the access to the internal sdcard and gallery will show duplicates as it thinks you have the identical data on both partitions.

[Q] Help!

I am not sure where to post or anything, new here. Rooted, unlocked bootloader, CWM flashed to AOSB latest for atrix hd. everything is great EXCEPT my internal storage is now half the size it was before. 8Gb does not equal 4.93Gb Not sleeping at all so I will be here all night
WHAT DO?
My assumption is you didn't format the internal sd when you went from stock to anything 4.2 and over. 4.2+ roms have support for multiple users and store the sd data in a slightly different location than 4.1 and earlier. Before stuff was stored at /data/media, with 4.2+ roms it's /data/media/0 for the first/default user. I had the same issue with my first 4.2 rom.
First, if necessary, backup any non app data from the internal sd (skip any app cache, just get important files like downloads, music, etc)*
Using Philz CWM, set the internal sd location to /data/media (it'll prompt for a reboot, do it)
Format the internal sd
set the internal sd location to /data/media/0 (do the reboot again)
Format the internal sd
Restore anything backed up
That's it.
I recommend using the internal sd as little as possible and sticking with the external sd as much as possible. It shares the same partition with apps and app data, so anything on the internal sd is less space for apps.
Unrelated, but technically we could us a 32GB sdcard for /data and the internal sd while using the actual /data partition as the external sd. It would just require a bit of fstab trickery and some init script editing....and be a bit slower when launching apps, but we'd have a heck of a lot more space....not sure if it could be done in a universal way or on a per rom basis.

[Q] SD card issues.

Just installed cm11 and can only access my downloads through recovery menu, not I'm cm. Is there a whole system partition taking up space on my internal SD or is it just my downloads? In any case, what do I need to do to access/delete that partition? Thanks.
If you are talking about downloads you downloaded with stock earlier, then the issue is that CM has a slightly different internal SD folder structure than stock. CM is set up for multi-user so adds a layer of folders that stock does not have.
The internal SD is emulated on the HD/HD+ and is really at /data/media. Use a root file manager and you will see the original internal SD there. On CM the emulated SD is at data/media/0.
Recovery and stock see the internal SD at the same location (/data/media) while CM sees it at /data/media/0.
Sent from my BN NookHD+ using XDA Premium HD app
Thank you. Solved my problem!

Categories

Resources