there are different gio partitions so effectiveNess is not always warranted
would it be possible to move statical content to sdcard dir like .Rom/////
and erase Rom partition and replace by symlink . typically infrequent access like ringtones are good candidates.
list of candidates directories and generic script would do the trick...
we would be very depending on sd card but recover lots of memory
install procedure : zip install..
what would be objections?
Enthusiastic Gio User
Very glad with the work done
But sometimes a pusher for results( nothing bad intended)
dreuzel said:
there are different gio partitions so effectiveNess is not always warranted
would it be possible to move statical content to sdcard dir like .Rom/////
and erase Rom partition and replace by symlink . typically infrequent access like ringtones are good candidates.
list of candidates directories and generic script would do the trick...
we would be very depending on sd card but recover lots of memory
install procedure : zip install..
what would be objections?
Enthusiastic Gio User
Very glad with the work done
But sometimes a pusher for results( nothing bad intended)
Click to expand...
Click to collapse
Badly misplaced post.
Make an other post in GENERAL topic, and then PM YZ to delete this thread.
Or wait to Yz he will move this
Sent from my GT-5660 using xda-developers app
Questions belongs to the General fora.
Thread moved,
YZ.
Related
Sorry Guys if am asking this Question here....i have searched full XDA Forum for this ....got ans too but still have confusions.....
1st of all wanna know what is App2SD....Hope its the application to transfer all your application installation to SD card....
2nd i have tried several methods listed here in forum...but no result.....SD card is having full space and phone memory is just 50 MB left.....
Tried Defrost application and selected all installation to external media....(Hopefully this is the correct method...but didn't figured out for me yet....)
Tried to give EXT3 partition to SD of 512 MB...but here i don't know the full procedure and really confused how to go about.....
Tried for Froyo ROM's as i believe its having inbuilt capability to install all app to SD card....No result yet....
I requet all my frnds here to just giude me to the right path...i am sure i will do the rest ..... really confused with a lot of explanation given in forum....
One more small help needed...i need to have HTC Default dialer application as some of the ROM has removed it with some other application....
Waiting for reply....
pranavd1980 said:
Sorry Guys if am asking this Question here....i have searched full XDA Forum for this ....got ans too but still have confusions.....
1st of all wanna know what is App2SD....Hope its the application to transfer all your application installation to SD card....
2nd i have tried several methods listed here in forum...but no result.....SD card is having full space and phone memory is just 50 MB left.....
Tried Defrost application and selected all installation to external media....(Hopefully this is the correct method...but didn't figured out for me yet....)
Tried to give EXT3 partition to SD of 512 MB...but here i don't know the full procedure and really confused how to go about.....
Tried for Froyo ROM's as i believe its having inbuilt capability to install all app to SD card....No result yet....
I requet all my frnds here to just giude me to the right path...i am sure i will do the rest ..... really confused with a lot of explanation given in forum....
One more small help needed...i need to have HTC Default dialer application as some of the ROM has removed it with some other application....
Waiting for reply....
Click to expand...
Click to collapse
Someone please guide me........please
Instead of bumping your thread have you tried looking at the thread of the chef released rom for your phone as you might realise that others have same issue with the rom or not. I did a quick search of forums and i managed to find the answers within seconds.
We cant support your rom as we dont know what you are using / version and questions regarding that rom need to be posted in the correct forum thread
A|ex said:
Instead of bumping your thread have you tried looking at the thread of the chef released rom for your phone as you might realise that others have same issue with the rom or not. I did a quick search of forums and i managed to find the answers within seconds.
We cant support your rom as we dont know what you are using / version and questions regarding that rom need to be posted in the correct forum thread
Click to expand...
Click to collapse
Sorry M8...But i am really confused with several ROM's and Methods listed here...
I will follow your instructions in future....Sorry Again....
Different roms work differently and you really need to try one, then ask about it in the chefs rom thread and if you dont like try another. Swapping roms and trying to use the same instructions on each may not work so you are only confusing yourself.
A|ex said:
Different roms work differently and you really need to try one, then ask about it in the chefs rom thread and if you dont like try another. Swapping roms and trying to use the same instructions on each may not work so you are only confusing yourself.
Click to expand...
Click to collapse
Thanks Again.....
A2SD is indeed moving apps to the external memory. A lot of custom roms have it. It requires an EXT partition on your memorycard, an easy way to do that is to get rom manager from market
Sent from my HTC Desire using XDA App
Thread moved to Q&A.
judging by your post, you have already rooted your phone
here's an example how to do it with Official Froyo HTC Sense ROM v1.0c, which has built in old A2SD. I think it should work
- backup apps and system data with Titanium Backup Donate
- copy sd card content to pc in disk drive mode (by doing this, you will also copy your backups)
- download rom, radio and put them in root folder of your sd card
- you need to have some sort of recovery (whether it's update.zip in root, or permanent recovery - it's your choice)
- say a little prayer
- enter hboot -> recovery
- wipe all alvailable options (it depends on your current settings): data, cache, davlik cache, ext
- flash radio, it will ask for you to reboot from recovery, do it, it will restart few times, don't interrupt process of instalation.
- flash rom
-after you finish it, don't reboot, instead partition sd card using standard options: swap 0, ext2 512, fat32 rest, sd: ext2 to ext3 (this will format and partition your sd card, you will loose it's content
- reboot your phone, it will last longer than usual
- copy your sd card content from pc back to sd
- install titanium backup donate and restore system data and apps, it should force apps you previously had installed to sd
- reboot phone to finish restore
- install quick system info and check if your A2SD storage is partialy filled with data
-you should have your current apps and settings with A2SD enabled
Finally did it today with ROM manager huh......
Thanking all for support...
Sent from my HTC Desire using XDA App
Ill try to keep this question as neat and tidy as possible. I am asking because this is just barely out of my scope of knowledge.
In linux OS's you can create hardlinks and softlinks (symlinks) in any directory that point to one specific file without that file actually existing in duplicate and taking up more space.
I was wondering if through a command line android environment (on rooted device of course) is it possible to move files to another location or drive (external SD) and trick the OS into thinking things are in place by using either hard or soft links? And if yes that could work, is this how titanium backup works?
Thanks for the info, just trying to further my knowledge base.
Of course, Android is a Linux OS pretty much like every other, as far as the filesystem goes anyway. It's the same EXT4 that's used on workstations, with the same features and limitations. "ln -s" and "ln" work just the same (depending on whether your busybox is correctly built or not, but that's another issue).
But that's rather how abn app like Link2SD works. Titanium backs up the .apk files plus a .tar file containing the settings of the app (contained in the /data/data directory).
Titanium backup is also used on rooted phones to "move" apps to SD. I'm kinda curious about how it does that. Thanks for that app suggestion, seems like a nice clean way to do some things. And thanks for the input too.
Sent from my MOTWX435KT using Tapatalk
Titanium and Link2SD work in pretty much the same way : they move the .apk of the app from /data/app to the SD, the data from /data/data and make a few symlinks (plus a few other things, like the dalvik cache contents) to make the OS think they're still in the same place, there's not much more to it than this
Awesome input. Exactly what I was looking for. Thanks.
So with a little research I may play with attempting to move some things around if I can learn about the dalvik machine a little more. And my friends used to shake their head at my tinkering with Linux..... lol
Sent from my MOTWX435KT using Tapatalk
yeah, I get the same look from my dumbwit work colleagues..
They don't understand what we all know.. ^^ They even banned me from having my phone on my desk, fanatic fools...
Hello fellow I9000 users.
tl;dr - This fixes your low storage notification problems just by flashing it on CWM.
Disclaimer
First of all, I'd like to inform you that this post is a compilation of the work done by drafnel on the CyanogenMod forums, revthanki on the XDA-Developers forum, and as such I take little to no credit in it, as all I've done was ask for drafnel to help me in the cleanup code for me to put it in a flashable zip.
Sources:
http://forum.cyanogenmod.com/topic/39718-workaround-for-small-datadata-partition/
http://forum.xda-developers.com/showthread.php?t=1444333
Also, as you should know, you take full responsability should data loss or other kinds of damage occur.
Introduction
Lot's of people have encountered the problem where their /datadata partition fills up and then apps begin force closing. This is often confusing since there is usually a lot of space available on the internal 2GB storage partition. But these are two different partitions on cyanogenmod. The created the datadata partition on the fast internal memory so that apps would start up and run faster (i.e. less lag), but it is only about 170MB (which can't be helped).
One thing that can be done is to move the contents of /datadata onto the 2GB /data partition. That will solve the space problem, but then you have the lag problem. So, what we need is for the files that take up a lot of space to reside on the 2GB partition and the files that are accessed frequently by an app to reside an the fast 170MB partition. The files that are accessed often, or that affect app startup speed are the sqlite database files and the xml preferences files. These reside in the databases and shared_prefs sub-directories in each app directory. Drafnel has written a script to perform these operations.
Requirements
Samsung Galaxy S based phone (GT-I9000, Vibrant, Fascinate, Captivate, etc.)
Kernel that supports init.d scripts
How to use it?
As you would flash a ROM update or a Kernel:
Download the file to your sdcard.
Reboot your phone into CWM.
Choose 'install zip from sdcard', and choose the script from there.
It will run on boot everytime. It's pretty light so your total boot time shouldn't suffer. It will only do the operations if they are needed, and it will clean up after itself. No need to worry about broken links or stale resources.
What it actually does?
On every boot:
Runs a check to see if /data/data is still symlinked to /datadata/
Moves everything that isn't performance critical from /datadata/ to unlinked /data/data/
Cleans up old databases from uninstalled apps
Other stuff to watch out for
Titanium Backup users should tick the Preferences > Troubleshooting settings > Follow all symbolic links option
SlimICS users should follow this procedure
Changelog
11032012 - First working release.
LOL. I posted a request for exactly this script in the mintberry thread a few days ago!
Good work fella, Cheers.
OMG yeah! Was waiting for something like that . Will give it a try next time I'll encounter this problem .
Thanks mate.
Just flashed it. Cheers!
Sent from my GT-I9000 using xda premium
I had HUGE problems with Titanium Backup.
I lose all by backups some weeks ago because symlinked were corrupted after restore!
Njcki said:
I had HUGE problems with Titanium Backup.
I lose all by backups some weeks ago because symlinked were corrupted after restore!
Click to expand...
Click to collapse
According to this post, you can now force TB to follow all symbolic links for backup and restore.
what if i already moved all my apps data to sdcard? do i move it back to internal memory then flash the script, or just flash the script then move the data to internal memory? which is the correct way?
naTrium said:
According to this post, you can now force TB to follow all symbolic links for backup and restore.
Click to expand...
Click to collapse
Thanks! I'll try
AFAIK, if you have moved your apps to the SD card using the regular method (Apps2SD), the script will still work. This is because there's always leftover data on the phone, which then points to /.android_secure/ on the sdcard.
This script only changes the location of some data, but it's transparent to the phone.
If you don't feel safe about it, a full nandroid backup will restore the system to whatever setup you have now. (it also backs up what's mounted on the sdcard)
Well done! I knew I was never going to get round to this I'll close my old thread and redirect people here. Before I do so:
1) does the stock CM9 kernel support init.d scripts? If not stock kernel users will have to follow the manual method.
2) maybe it's worth putting a capitalised warning in your post to get people to set the option in Titanium Backup to follow all symbolic links
I flashed this script already but the low on space notification is still shown. It's definitely not working.
Do I have to create .nodatadata file inside /datadata and reboot now?
Sent from Ice-Cream flavored SGS GT-I9000 using Tapatalk
Free space in datadata folder,
Before flashing the script = 25mb
After flashing the script = 146mb
Definitely works without any lags.. one might experience lags on the first boot but after another reboot all gonna be super smooth like before!
Thanks a lot!!
It deleted some of my apps like Dolphin HD. I'm running CM9, with IcyGlitch Kernel. Oh well, restored.
Gr8 work
Many Thanks,
i have been waiting for this script ever since Darktremor Apps2SD (2010 !!! )
thank you!!!!!!!!!!!!!!
Great Job!
Excellent, it's very smooth like before, thanks a lot.
aha! that's the reason why all my apps suddenly began to lag like hell and some time after that force close. had only 1MB free space on /datadata partition lol. script works like a charm! thx
Sent from my GT-i9000 using xda premium
stfudude said:
I flashed this script already but the low on space notification is still shown. It's definitely not working.
Do I have to create .nodatadata file inside /datadata and reboot now?
Sent from Ice-Cream flavored SGS GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I heard some kernels don't load init.d scripts on ICS, might be related to that.
finally......
before script 11mb and after got 168mb free space! thanks!
really nice stuff
I was cleaning out the unneseccary files on my sdcard and i found three files and a couple folders on the root of the directory and I have no idea what they are, so therefore i don't wanna delete them. I've tried googling the file names but can't find **** on them. They're called "ldb" which is a config file, then "ldb.db-wal" and "ldb.db-shm", is it safe to get these off of there, the folders are "termp" which was "BBSAD.pkg" "bwad.pkg", "PMAD.pkg", "PVMAD.pkg" and "SFAD.pkg". bugreports which is empty, can i get erid of that, and for some reason when i installed 4EXT, and do a NANdroid backup the backups still go into my clockworkmod folder. anyway to change that? I'm extremely OCD about the organization of my files and having these things i have no idea what they're for on my sdcard is just annoying to me. any help is appreciated
p.s. sorry for the long period of not being active, my phones cut off at the moment so i'm using it as a gameboy/mp3/movie device
4EXT: It's based off CWM so (as hard as it may be) you'll have to live with it. Sad face, I know, I'm super anal when it comes to my SD card!
TA4S
Hi all, I just wanted someone to help me with some confusion I have about the internal memory of the galaxy nexus
I'm aware there's obviously no SD card however inside the storage section there seems to be a folder called sdcard0 which has all my usual sub folders in it. However, when I tried to restore with TB after flashing a ROM earlier I couldn't and when I checked it was because the TB folder on sdcard0 was completely empty, as well as all the others. What I also found was that there is a sub folder like all the others, except it's called "0" and has exactly the same folders as sdcard0! This is where I'm confused, the TB folder inside 0 has all my backup data but in the app it doesn't recognise there's anything to restore and some help on this would also be appreciated if anyone could help me with this issue and maybe explain how this 0 folder has been created I'd be very grateful, thanks again
Sent from my rooted time travelling slice of cheese
Use the search function next time.
Sdcard0 is related to 4.2+ multi user feature. 0 is essentially admin. Having multiple 0 folders means you flashed a 4.2 rom on an outdated recovery that didn't handle it correctly. Move the folders into the main 0 and delete the extra. Then update your recovery.
4.2 have multiuser support and the 0 is for the first user.
Though it is only on tablets you can actually create other users, at least on stock
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
what the other guys said!
path forward: either update your recovery and then manually move over all the data from sdcard0/0 to sdcard0/ or if you dont want to do that you can simply open TiBackup and change the location of the folder of the backups. Option is available in TiBackup Preferences.
DZYR said:
what the other guys said!
path forward: either update your recovery and then manually move over all the data from sdcard0/0 to sdcard0/ or if you dont want to do that you can simply open TiBackup and change the location of the folder of the backups. Option is available in TiBackup Preferences.
Click to expand...
Click to collapse
That's terrible advice. The extra 0 folder will only cause issues down the road and should be gotten rid of asap.
063_XOBX said:
That's terrible advice. The extra 0 folder will only cause issues down the road and should be gotten rid of asap.
Click to expand...
Click to collapse
In addition to this, it was bad advice as it was suggesting the file structure change be done at the sdcard0 level. The entire SDCard file structure is based out of /data/media. This is where the manual changes should be made (for instance, moving everything from /data/media/0/0/0 to /data/media/0). After making the change, reboot. The fuse mount points and symlinks will then properly reflect the change. It's always safest to make this drastic of a change at the base, physical data location, rather than on a fuse mount point or a symlink of a fuse mount point.
Also, as previously suggested, update your recovery. The current versions of CWR and TWRP have this issue resolved.