[Q] Possible to convert to data/media file structure? - HTC One X

This might be a very noob-like question, but I was wondering if it would be possible to convert the file structure in use by the system.
Newer devices don't have a seperate sdcard partition anymore, there's just a single user partition "data" and the sdcard get mounted to "data/media". The advantage is that space between apps and your sdcard is shared, so you have a choice of filling your internal storage with media or with apps.
Sooo would it be possible to switch to that file structure?
Cheers

Related

[Q] Apps to SD help please

I've been trying to learn up on apps to sd from reading several forums, and can't seem to find the right answers.
I've been rooting and ROMing for months now, but never had a need to push phones to SD. Now i think it's time, but have a few questions.
There's a Move to SD Card option under manager applications from the CM menu. How does that differ from the option to push apps to SD in titanium?
What's the story with ext3, ext4, and sd-ext partitions?
Do i need one of those, and if so which one?
I've noticed that when trying to put apps on sd using hte application settings, that i sometimes can't find the widget associated to an app. Is that normal?
Thnks for your help.
mangle
It's probably the same function. I haven't used Ti much though. I'm still a newbie with that app. The app itself has to support being put on the SD card in the manifest file for the app in order for you to be able to move it.
thanks for the reply. I guess i'm trying to figure out what the benefit of having an SDcard partition is when it comes to off loading apps to the SD card. There have been plenty of views on the thread. I'm sure someone out there has the knowledge.
The benefit is that it puts the bulk of the app on the the SD card to save space on your internal storage since those are usually smaller size than the SD card. It'll still save some data and prefs on internal storage but the apk for the app will be on the card. This is very useful for apps that are large like games which can sometimes be over 20MB.
You can read some of the developer docs here for more info on app2sd.
http://developer.android.com/guide/appendix/install-location.html
Best way I have found to move apps to sd is to partition your sdcard with ext3 (ext4 if your kernel supports it) and then use the link2sd app from the market to move your apps, their lib files, and their dalvik-cache files to the sd-ext. Saves a ton of space on the /data and /data/data partitions.
Also if your running gingerbread you should check out jermaine151's ext4_no_data_limit mods. They take the tiny /data/data partition (usualy the cause of low space errors) and move it to the larger /data partition, eliminating the low space issue. It also converts the ext3 /data and /cache partitions to the faster ext4 file system, speeding up apps.

Trying to understand the file structure.

Hi everyone!
I currently am running Glazed ICS 6-16-2012 Rom and I am attempting to understand the file folder structure within my Kindle Fire.
This comes about after playing around with different roms, and after running the TB restore, a few games I play not having the data, requiring me to start over. In an attempt to try and manually recover the data from a twrp recovery I did, I realized didn't have a good idea of the folder structure within Android. Thus I am hoping to get some clarification with the following questions. Thank you in advance for any advice.
1- what folders, if any are required on my sdcard if say I were to start with a fresh rom, with no apps installed other then what is included in the Rom? Using ES File Manager now, it looks to me like an completely unorganized folder ".estrongs, burstlyImageCache, game_cache" etc.
2- Could I copy my TB backup folder off the Kindle Fire then wipe the whole SD card, copy the TB backup back and restore to clean up excess junk folders?
3- Do apps/games put their save data wherever they chose, or is it kept in the program folder in the internal memory, /mnt/sdcard/...?
Thank you again for reading my ramble, cheers.
Silverbrain
1.: Usually Application you installed in SD card partition is under /mnt/sdcard/android/data/<application folder> . now this contains all the information and other data of the games, i think you can back-up this portion aside from using titanium back-up.
For application specific folder, they are usually located in /mnt/sdcard/.<appname> but this folder usually contains caches and can be deleted, since the app will just create them once run again.
2. I do not suggest to wipe your SD partition since technically this is not a standard SD card but partition part of the whole system.
Note: I'm not expert on this, but after playing around with a couple of android devices already, the structure is basically the same.
I think (if it is a unix derivative) the /sdcard is the partition location and /mnt/sdcard is where the system finds what is there. kindle fire does it this way because there is no removable memory card, so it creates an artificial one with a partition. So, for us human types, the locations refer to the same thing. /sdcard is the partition and /mnt/sdcard is where the system mounts it.
Thank you for the replies.
Ixthusdan- I get what you mean regarding the unix and the mnt folder, I technically cannot wipe that is it is just a spot on the internal memory.
vertcam9- I started looking around where you mentioned, and I am starting to understand a little better
The actual name of the partition is "media" and that's how it's identified to the system.
Where the media partition gets mounted is dependent on what gets booted. For example, TWRP will mount the media partition on /sdcard while CM7 will mount it on /mnt/sdcard and create a /sdcard symbolic link that points back to /mnt/sdcard. Most people generically will refer to the media partition as the /sdcard partition because that's what's visible on the system.
I believe the /sdcard thing is an android convention. Because many apps expect the /sdcard to be the primary "large" storage area easily accessible by the user, apps that expect to find large files... music or video files for example... will look there.
Most apps will store settings and small databases in the /data partition. I don't play many games, but someone decided to install Angry Birds on my KF. That game stores most of its files in /data/data/com.rovio.angrybirds. On the other hand, Titanium Backup will put most of its files on /sdcard/TitaniumBackup because it needs more space for backup files and because the /data partition is much more likely to get deleted when you switch ROMs, etc.
For the most part, even if you completely reformat the /sdcard partition, most of your android and app settings will remain intact because that is stored on /data.
kinfauns - Thank you for the extended explanation! I see what I think I need in the /data/data folder

[Motorola] mmcblk1 partitions

Hi all! I need help.
As we know, Motorola Droid X has 8Gb of internal memory, but unfortunately, it can be used only for installing apps.
So, the biggest partition of int memory, as you can see on the screenshot, is a data.
Yes, you can say that we can mount a folder in data partition to a folder onto sdcard, and at this moment I use this method.
But, unfortunately, there are many pitfalls and it's starting to annoy me. So, I decided somehow to cut the data onto two partitions (2Gb data and the memory remaining to new partition). And then, using hijack init, mount that partition as internal sdcard, and the real sdcard as external.
What are your suggestions?
Code:
mmcparts=mmcblk1:
p1(mbmloader),
p2(mbm),
p3(mbmbackup),
p4(ebr),
p5(bploader),
p6(cdt.bin),
p7(pds),
p8(lbl),
p9(lbl_backup),
p10(logo.bin),
p11(sp),
p12(devtree),
p13(devtree_backup),
p14(bpsw),
p15(boot),
p16(recovery),
p17(cdrom),
p18(misc),
p19(cid),
p20(kpanic),
p21(system),
p22(cache),
p23(preinstall),
p24(userdata)
Any ideas?
I am sad

internal partion?

is it possible to make a partition with theinternal storage on our phones? kinda like a pc. the "c" drive which would be main partition where all system stuff is and where we flash roms. I wanted to make a partition for my music but also so when I format and install a new rom that specfic partition wouldn't be touched, like the external sd

cannot copy a 4 Go file or more to the internal mermory

Hello everyone
I installed a custom ROM on my phone where the instruction asked to format DATA and that what I did from TWRP, it removed all my data but I already made a backup
the issue is when i'm trying to restore my data to the internal memory from my computer it keep saying that I don't have enough space only fro 4 Go files or larger but everything else can be copied, the free space I have is more than 35 Go.
I did some research on the issue and I found that the file system FAT32 doesn't allow a file that is 4Go or more so that might be the issue.
is there anyway to know what file system is the internal memory and if it's FAT32 how can I convert it to ExFat or a file system that support 4Go files or more.
I installed an app and it said that the file system type is F2Fs
You could split the files in zip format into files of sizes less than 4 GB and can combine them after copying. I don't know if it will work, but worked for me when I had to copy a larger file to a flash drive with FAT32 filesystem.
Leeban Joseph said:
You could split the files in zip format into files of sizes less than 4 GB and can combine them after copying. I don't know if it will work, but worked for me when I had to copy a larger file to a flash drive with FAT32 filesystem.
Click to expand...
Click to collapse
I'm not looking for a workaround the copying was working fine I was able to copy files with 7 Go size or more but after the format I'm havine that issue
I fixed the issue
I did a backup of my data with twrp to an OTG usb then I flashed the rom
then I restored my data
copied a 6 Go file and it worked

Categories

Resources