I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
I am using Link2SD on my Epic 4G with CM11 with some success. I just did a reboot, and as usual lost any icons that had links created in Link2SD, so I go to the app locker & re-add them to my home screen. This is typical of what happens on a reboot for me. One thing I did notice is that it takes a minute or so for the deleted app icons to show up in the app locker again, so if you are reinstalling them, it may be a matter of waiting for them to show back up. Also on occasion(not this time), Link2SD will prompt me about a problem with the links and then prompt me to reinitiate the partition or something to that affect. Once I do that and it reboots, the app icons are still gone, so I just re-add them. Anyway, I know its not a perfect solution, but with this device its better than running out of RAM. One last thing, needless to say, I only create links for enough apps to free up enough RAM to keep my Epic working properly.
I've finally got a system going that seems to work for me, and so I thought I'd share some things.
I'm on CM11 (as of today, cm-11-20140602-NIGHTLY-epicmtd.zip) and I'm using Link2SD.
HERE'S A "GOTCHA" THAT HAD ME PULLING MY HAIR OUT FOR AT LEAST A DAY OR TWO:
Link2SD was having problems mounting the 2nd partition - it would just say "Mount script cannot be created." or something like that (not a very helpful error message), no matter how many times I rebooted and tried again. What I *finally* figured out (somehow), was that this error was being caused by /system being completely full. When I went and deleted a few things from /system (such as goofy wallpapers or that 'Apollo' app that I never use), then Link2SD was able to successfully create the script, and then I'd reboot and could use the 2nd partition successfully.
It's still a little aggravating that any reboot of the phone will cause all of my "Linked" apps to disappear - I've played with this until I am blue in the face, and have resigned myself to accepting that this is just "how it is" (?) - but I'm now using Titanium Backup as my workaround.
STEPS I TAKE WHEN THE PHONE REBOOTS:
1) Go into Link2Sd and make sure the 2nd partition is usable, otherwise recreate mount scripts (deleting wallpapers/Apollo if necessary)
2) Under Link2SD's "More" menu, perform the following:
a) Clean up the 2nd partition
b) Clean up the dalvik-cache
c) Clear all app caches
3) Restore apps from Titanium Backup
a) starting with Facebook app (the biggest hog) and then immediately go and make Facebook a "Linked" app again
b) restore a few more apps (to internal/phone), then go and shuffle those over to "Linked" apps via Link2SD
c) (repeat step 'b' until all apps are restored and "Linked" via Link2SD
^ This is the only way I've been able to get this to work for me... but now I can put about as many apps on the phone as I'll ever possibly need, and I have to say everything is running pretty smoothly now - but if anyone can see a better way, or how to improve what I'm doing, then I'm all ears... please let me (us) know.
Thanks!
Apex launcher doesn't lose the icons. I can free about 66MB of system space by swapping the launcher, deleting CM wallpapers, live wallpaper and Google keyboard.
I verified link2SD plus was not working properly but free link2SD works as advertised. For me, just installing the plus version will break the working functions of the free version. The free version scripts, links and launcher icons survive reboots. The plus version continually lost mount and wouldn't properly clean up the second partition and was not copying the lib files and placing them in the second partition.
Edit: per the developer's request, after verifying free link2SD was setup and surviving reboots, I added plus link2SD and rebooted: OK so far. Next I linked a file with plus version; OK until reboot. The application was not found except in directories. Dalvik cache cleanup finds the dex link and file in second partition as unneeded files. Had to manually delete all the files and links for the broken application and reinstall it. Also had to uninstall plus link2SD to properly link again. Sent the results back to developer.
Sent from my SPH-D700 using Tapatalk
Edit: 6/20/2014; link2SD 3.4.8 fixed the reboot issue for the link2SD Plus version for me. Sent email to developer to thank him for the fix.
See post #8.
Update on my last entry:
I emailed the link2SD developer and got a reply asking me to check the plus version again. In my reply back I linked him to this thread.
Another tip to add for nightly flashers that use link2SD and modify the zip prior to flashing: pull the mount script, 11link2SD, found at /system/etc/init.d and move it same location on zip before flashing. If retaining data, ie: dirty flashing; the mount securely retains your apps after flashing new nightly. Just checked with free version of link2SD: works.
Sent from my SPH-D700 using Tapatalk
Arson Smith said:
I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
Click to expand...
Click to collapse
I'm using link2SD for all minus 16gb internal android device. Here is what i do in epic 4g, currently on CM11 20140523, use 20131209 gapps. I just write the part involved link2sd :
1. Buy atleast 16gb microSD and class 10 is a must, make 2nd partition (usually about 4gb - 6gb) as ext2 - ext4 (depends on the OS).
2. Device rooted, install titanium backup & root explorer 3.1.3 (make sure the root explorer working). Uninstall system apk (one of the launcher, whisper push, terminal emulator (I prefer use better terminal emulator, install as user app), CM filemanager, etc - still more that can be uninstalled for more space in system.
3. install link2SD, pick ext2 - ext4 (depends), dont restart yet. go to setting, uncheck everything then restart.
4. After back to launcher, open root explorer, go to root/data/, check app & dalvik-cache folder, press copy. Go to sdext2 folder, delete lost&found folder (usually there), and paste. So the app & dalvik-cache folder is there now (you could copy data/data folder too if you really want maximum extra space in internal, but in epic 4g i didn't copy data folder because it's enough space).
5. At the sdext2 folder, long press app folder, select "link to this folder", go to root/data/, press "create link" - "yes". Then go to sdext2 folder again, long press dalvik-cache folder, select "link to this folder", go to root/data/, press "create link" - "yes". Do the same if you copy data/data folder to sdext2 folder.
6. Reboot. Done. Then installing others app or restore with titanium backup.
I hope this is useful. Some Screenshot attached.
Hello
Thanks for that solution.
I`m searching for this solution since 1-2 weeks.
I had the same Problem on xcover 2 Link2SD.
Now it`s clear i have installt Link2SD and works perfect for just 3-4 days then i upgrade to Link2SD plus and then it happend like the Threat above.
I`m wondering that Lin2SD works perfectly on CM11 and if you go to Link2SD plus for money and this don`t work.
Free works perfectly and paid work not.
I have go back and everything its fine.
I hope the autor will fix the problem then i go back to plus.
Thank Thanks Thanks works fine!
regards marle.m
Good news! It appears the link2SD version 3.4.8 released today has a bug fix to survive reboots for linked apps when linking with link2SD plus version.
So far, I've only linked one app with plus version enabled and it survived one reboot. Then Ⓘ linked the data folder and rebooted again which also survived the reboot.
Looks like plus version is fully functional; I'll update if it fails some time later.
Sent from my SPH-D700 using Tapatalk
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
I was thinking the gapps could be modified at the updater-script to remove some system bloat. Then remove some bloat from that as well. Most remove their own bloat choices so maybe a diy tut would be more useful?
I agree, the script would make the nightly flashing easier.
Sent from my SPH-D700 using Tapatalk
Just realized that if using Link2SD Plus to multi link all folders of an app to sdext2 after a clean install is still broken, if using intended method. Apps linked this way are missing after reboot.
Working on a safer suggested method that focuses more on removing apps from Gapps but also removing some other system apps after flashing a nightly that requires no modification of the nightly zip on a computer. Have to focus on linking only a minimum amount of apps with free Link2SD considered less risky to move, like larger stand alone apps, not needed tools.
I've got a working script and method that works but the risks to be avoided need to be detailed along with the tut to script and tool your own modified Gapps that minimizes the flash to flashing the nightly as-is and then flashing a custom Gapps that includes preferred launcher and restore methods.
Removing CMWallpapers, Apollo music and Trebuchet launcher. Substituting blacked out Google play. Replacing removed apps with Apex beta test launcher for test group, blacked out Pandora (these will be installed at /data partition where they can be easily uninstalled or updated) I use my own borrowed wallpaper.
Along with the removed bloat from Gapps, this frees a bit more than 40 MB of system space.
Sent from my SPH-D700 using Tapatalk
UPDATE: the latest version of Link2SD (3.5.2) has "fixed the bug that causes linked apps disappear on reboot when internal data is linked".
So... if you've also ponied up the buck or two for Link2SD Plus (as I have), then this finally works again like you'd always hoped it would.
I just loaded a bazillion apps back on the phone, and have been able to reboot multiple times without losing them.
The only time I "lost" them for a moment was after flashing to the latest CM11 nightly, but then doing the "Recreate mount scripts" and reboot brought them right back, with no other shenanigans necessary.
(Just wanted to let people know, because this is such a relief to me now....)
HURRAY!
OK I'm trying this again. Reboots are fine as long as I don't select quick or soft reboots; I lose mount, linked apps not installed.
Now need to try the clean install of nightly.
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
One possible solution:
more scripts to limit steps
Another possible solution (click link)
Related
Hi all,
I have been a winmob user for over 5 years and i know pretty much everything about them. (see join date) Though 3 days ago i got a a8183 desire.
My god i have a lot to learn about Android. Winmob seemed so much simplier to pick apart with registry and custom roms.
Anyways i have been reading thread after thread for days yet i still have a couple of questions that i cannot get clear answers for.
I have a a8183 telstra desire running on optus. I have updated to the latest offical 2.2 ROM. (Everyone mentions OTA (over the air) though i downloaded it and installed thru windows).
So i would appreciate if someone could help me out with my questions/assumptions.
1. From what i have read you cannot r00t a froyo OS. Is that right? Though i have found an app z4root that will do it temporarily until reboot. Unrevoked doesnt seem to work.
2. To change system files you need not only root though you need the clockworkmod recovery part of the bootloader. (eg. to replace HOST file for adblocking).
3. You need permanent r00t to install the clockworkmod (so i cannot do this).
4. You cannot remove default ROM apps from your phone without the clockworkmod.
5. You need clockworkmod to install custom ROMs.
So from what i gather.. r00t is good. though really only cause it gets you the clockworkmod recovery which is where you can really hack it.
And to get this i need to downgrade to 2.1, r00t, clockwork then use a hacked rom for 2.2?
Your help is greatly appreciated.
hi sage, i too came from windows mobile so i know how you feel, lucky for me i jumped on the android bandwagon earlier with the htc hero, after i got bored with my HD1, anyway your wrong on quite a few points, so i'll point you in the right direction.
1) the latest version of unrevoked (www.unrevoked.com/recovery) is more than able to root the froyo roms, its a one click app and can root your device in minutes
2) to easly modify system files you need s-off (this is equivalent to HSPL on wm devices) after you have rooted, you need to search for alpharev, this is a linux live cd, you just burn it and boot it and it will security unlock your device.
3) when you download and run unrevoked, it will not only root your device but insatall the latest version of clockworkmod recovery. (just hold vol down and power when your device is off to access hboot, and choose recovery from the list) so unrevoked kills 2 birds with one stone
4) to remove the apps in the /system/ partition there are 2 ways, from recovery using adb, or if you flash the s-off mod, you can remove them directly from your device using a file manager.
5) yes you need clockworkmod or another custom recovery to install custom roms, but now you know how to do it, thats not a problem
Hi Sage,
If you're looking for an easier way to get rid of all the Telstra apps (more like a blob of links really ) on your phone you may want to try one of the stock HTC WWE ROMs. It's clean and you can flash it via exe, just like in WM. The latest RUU I believe is the 2.29.405.2. Also, be aware of the risks of rooting your phone.
thanks for your response guys
Ok so i am now r00ted and running Leedroid's WWE ROM! (thank you!) it was actually pretty easy.
I think unrevoked was failing cause i was using a USB HUB.
OK so now i just want to remove some more of the default apps that come with it.
So i will try alpharev to security unlock my device. (is this permanent or if i reflash my rom it will come back?)
once i have done this i can then delete anything i like thru r00t explorer?
At this stage i am trying to just make some more room for apps. As a number of them wont move to SD Card.
A couple of last questions if i may. I have an new SD Card on order. Am i able to simply copy everything from my existing SD to my new and then swap it over in my phone and it will all be ok? Or do i need 'clone' it with some tool?
Where in the system paths do i remove 'shortcuts' within all apps? (or even simply rename them.)
Much appreciate your help. Android is growing on me. I especially love adb logcat!
ok.. i am now security off'd alpharev worked a treat.
i am now using r00t explorer to try and delete items from /system/app though they come up read-only so i cannot delete them
i take when i get to remove these the phone will have more stoage space for apps yeah?
i also still cannot find where the all apps shortcuts sit! (so i can rename/remove).
and lastly now i have the alpharev bootloader so gonna google how to change that
i did use the Leedroid apps2sd ROM. though most of my apps are still going to phone memory and i cant move them across.
Is there a fix for this? i guess once i work out how to delete these read-only files ill be ok anyway.
Unfortunately removing system apps wont give you more space to install apps, they are stored under a different partition, /system and /data are not on the same disk so you can save as much space on /system as you want but it won't affect /data at all.
With running out of space you have a few choices:
Go to settings..applications..then manage and move as many apps to SD as you can. This is fro-yo apps2sd, not all data is moved and not all apps can be moved, so you will probably run out of space again anyway.
Or
Reboot into recovery and partition your sdcard to create an ext partition, when you boot your rom ALL apps will be moved to the ext partition leaving lots of free space. Backup your sdcard before you partition it, you will lose all data.
Sage said:
ok.. i am now security off'd alpharev worked a treat.
1) i am now using r00t explorer to try and delete items from /system/app though they come up read-only so i cannot delete them
2) i take when i get to remove these the phone will have more stoage space for apps yeah?
3) i also still cannot find where the all apps shortcuts sit! (so i can rename/remove).
Click to expand...
Click to collapse
1) Press on Remount as R/O, this should allow you to delete/replace system stuff & ringtones, fonts...etc.
2)No, because apps install to data/apps & not system/apps.
3)You mean like the applicatiuon menu when we used to delete shortcuts or rename them? Hahaha man that was sooooooooooooo long time ago for me. Anyway, the applications installed are displayer & you can't hide them or rearrange them like Winmo. You might want to try Launcher Pro to hide apps in the apps drawer.
If you need more info, ask freely because 2 years ago I went through the same
mr.r9 said:
1) Press on Remount as R/O, this should allow you to delete/replace system stuff & ringtones, fonts...etc. Typo..You meant R/W
2)No, because apps install to data/apps & not system/apps.
3)You mean like the applicatiuon menu when we used to delete shortcuts or rename them? Hahaha man that was sooooooooooooo long time ago for me. Anyway, the applications installed are displayer & you can't hide them or rearrange them like Winmo. You might want to try Launcher Pro to hide apps in the apps drawer.
If you need more info, ask freely because 2 years ago I went through the same
Click to expand...
Click to collapse
Hmm..actually the new MTD partition table hack should be able to free space on the /system, adjusting partitions with less for /system and /cache and more for /data/app should give enough space..Though I'm not sure if he wants to try this right now, since it's considered an advanced task and maybe he'd like to get more accustomed to Android before attempting it? His wish though..
And well, there's yet another method to remove system apps, other than the other two methods. This is to modify the zip file of the custom rom to remove the actual apks from /system and reflashing it on top of the actual flash..
droidzone said:
And well, there's yet another method to remove system apps, other than the other two methods. This is to modify the zip file of the custom rom to remove the actual apks from /system and reflashing it on top of the actual flash..
Click to expand...
Click to collapse
Ohh yes indeed. OP, you can edit the zip before installing it to your device. You can remove/replace application in system/data and fonts...etc. Just remember to change signature verification to off in your recovery.
my god. i have spent days on this baby and im only barely scratching the surface
much appreciate all your help guys!
ok.. so its time to use app2sd i hear that app2sd+ is better though? (it moves more data to SD yeah? appcache?)
i only have 2Gb microsd right now so i might wait until i my 8GB arrives before i flash a new ROM and start again (again!)
i also noticed these online kitchens. http://cookmyrom.co.cc
which look great! tho they are still a version behind the leedroid i am using tho its a good way to get rid of some default apps.
i certainly like the idea of reparitioning the default disk though not quite ready for that yet especially when app2sd+ sounds much more straight forward.
i am dumbfounded that you cant remove 'shortcuts' from the All Apps! or even rename them!! my god. i would think that was first thing available on such an open source OS.
So i have now created a folder called "Folder" to reduce the clutter.. and now i guess i cant even rename it!?? and if i create another one its called "Folder" too!
lol.. this OS is so advanced yet some basic stuff seems to be overlooked.
I did try launcher pro though it removed my HTC Sense (which i like). So i might need to keep looking for an app to help organise my All Apps and my desktop (is desktop what its called?)
And just how do i add ringtones?
love your work guys thanks again.
Create a folder called Ringtones on the root of your SD to have...ringtones.
When you open a folder, long press on the header to rename it.
As for organizing, I stopped caring & started to use search, but maybe if you want you can try an app called folder organizer.
mr.r9 said:
Create a folder called Ringtones on the root of your SD to have...ringtones.
When you open a folder, long press on the header to rename it.
As for organizing, I stopped caring & started to use search, but maybe if you want you can try an app called folder organizer.
Click to expand...
Click to collapse
nice one thank you!
Sage said:
...So i have now created a folder called "Folder" to reduce the clutter.. and now i guess i cant even rename it!??...
Click to expand...
Click to collapse
Open the folder then hold where it says folder to change its name.
Ok. Now have app2sd working!
thanks to all of you. Beginning to love this android phone now. I feel sorry for all the people who use them as they come from the factory! Thank god for all the xda people who rip them to shreds and make them better
If i can have one last question. Any way to remap hardware buttons to start an app?
Like when you hold down the search button it launches Google Voice. I want it to launch a different app..
I did a search and found the hardware button remapper though it only does hardware to hardware.. not hardware to app
For Folders(Assuming you're using full HTC Sense), just open it and hold the title bar. Took me some time to figure out. You cannot easily rename the apps in "All apps", but you can remove them(Which is essentially uninstalling them) from Settings > Applications > Manage, unless they are system apps which need to be manually deleted either via S-OFF + Root explorer(OR something similar) or ADB + Custom recovery(Clockworkmod or Amon Ra).
For setting a custom ringtone, open the music app, select the music > Menu > Set as ringtone.
so no love on the hardware remap for apps?
Oh well i have done a lot of googling and it seems it cant be done (well at least not easily).
My last question is when you launch an app from a folder the folder stays open.. any way to force close or change its behaviour?
for those following this. I found the Tasker app remaps hardware buttons amongst doing amazing other things.
Still no love on closing folders though.
i ended up using tasker to create app widgets to replace the folders...
If you want app widgets, there's also "Desktop Visualizer".
In terms of killing of an app, have you tried "Settings -> apps settings -> development" then there's an option there for "stop apps via long press"?
I have used CM7 on my Incredible for a while now and have had to constantly wipe and reinstall every week or so. When i install, the ROM runs perfectly, with all my apps working and everything. After a few days though, most of my apps force close whenever I open them. Namely, messaging, Gmail, and browser force close, along with my market installed apps.
This has happened to me many times now and I can't figure out how to fix this issue. I have changed different options when installing the ROM and tried Fix Permissions in Rom Manager and nothing fixes it .
My friend's phone as well as my dad's have had this same issue on CM7 as well. Any help would be greatly aprreciated!
bravesfan171 said:
I have used CM7 on my Incredible for a while now and have had to constantly wipe and reinstall every week or so. When i install, the ROM runs perfectly, with all my apps working and everything. After a few days though, most of my apps force close whenever I open them. Namely, messaging, Gmail, and browser force close, along with my market installed apps.
This has happened to me many times now and I can't figure out how to fix this issue. I have changed different options when installing the ROM and tried Fix Permissions in Rom Manager and nothing fixes it .
My friend's phone as well as my dad's have had this same issue on CM7 as well. Any help would be greatly aprreciated!
Click to expand...
Click to collapse
Any ideas?
Check and make sure your data/data partition isn't full. If it is, grab a cache cleaner from the market to free up some space.
This actually happened to me earlier tonight.
Had to reinstall to get through the night til I got back home, but I may need to go back to another ROM if this keeps up. Glad to know I'm not the only one though.
Smabbage said:
Check and make sure your data/data partition isn't full. If it is, grab a cache cleaner from the market to free up some space.
Click to expand...
Click to collapse
That's true, didn't think about that. Will I have to keep doing that more and more if i install more apps though?
This happens to me and all my friends phones with the cm7 final. They keep telling me its user error. We all have to clean wipe about once a week because of force closes. I finally switched it redemption rom
DROID Incredible
By the way i never had a single problem with the nightlies
DROID Incredible
06stang said:
By the way i never had a single problem with the nightlies
DROID Incredible
Click to expand...
Click to collapse
If what Smabbage said is true then hopefully that'd make sense. That way when you consistently install the nightlies, there is no way for the data partition to fill up all the way. Good to know. thanks!
I've been fighting this exact same problem. The only way I can keep it from happening is to do a full wipe and let the Android Market reinstall most of the apps. Then I can use titanium to bring back the missing apps and system settings.
Here's the things I've tried, with no success:
Wipe Cache / Wipe Dalvik Cache
Fix Permissions
Nandroid Backup then Restore (ok so I didn't expect that to do much)
Uninstalling apps, moving apps to SD (using the Android method, not Apps2SD)
Another interesting thing is that I run Watchdog, but instead of force closing, it pops up a message saying "Disk IO Error in Watchdog". That makes me wonder if some partition (Cache, data, I dunno) is out of space or worse, there are physical problems with the internal memory of my Incredible.
I have one question for everyone - How do I see how much space is available on each partition? I mean, I can go to the Android settings and see App Data storage left or SD card space left, but is there an app or tool I can see that will show me each partition with space left?
jjdoyle20 said:
Another interesting thing is that I run Watchdog, but instead of force closing, it pops up a message saying "Disk IO Error in Watchdog". That makes me wonder if some partition (Cache, data, I dunno) is out of space or worse, there are physical problems with the internal memory of my Incredible.
I have one question for everyone - How do I see how much space is available on each partition? I mean, I can go to the Android settings and see App Data storage left or SD card space left, but is there an app or tool I can see that will show me each partition with space left?
Click to expand...
Click to collapse
Had exactly same issue (even same Watchdog error) and Smabbage's answer was spot-on.
To check, open terminal emulator (gives you shell prompt) and do "df -k" - this will list all filesystems and, among other info, how full they are. My "/data/data" partition was full. Cleaned up some cache's and my phone is back in action.
Seems like a lot of games (and Netflix) fill the /data/data partition. Wonder if it is possible to make it larger at the expense of built in memory?
In any case, may be a good add-on to CM to monitor space in /data/data and give a reasonable warning when you close to running out.
I have been using CM7 for a while now and the apps that force close, are usually tied to the SD card. Try moving them to internal and see if it helps.
same here..
I use galnet miui (cm base)
after a few weeks, it shows 'disk io eror in watchdog'
and many programs fc.
never had this problem before.
someone can help me?
how can I fix this..
I know this is an old thread, but ive been searching around to see if other people have this problem.
i have found a temporary solution. open Root Explorer and go to /cache/dalvik-cache....use multi-select to select all items and then delete. reboot (IT WILL TAKE A WHILE TO REBOOT, IT IS REBUILDING, IT CAN TAKE UP TO 15MIN DONT PANIC) yes, this is in fact "wiping dalvik-cache" but ive gotten much better results doing it manually than through CWM.
this will calm your phone down at least for a few days with no force closes/service interruption, but you will have to do it again..........and again, and again. its better than having to do a full wipe though, obviously. hope this helps anyone who is still having this problem.
Hi,
I just got my new SE Xperia Play phone and got it with android Gingerbread on it, I'm not completely familiar with this OS but following information that I've read I rooted my phone and it is working fine, I did this cause I read that by doing this I would be able to remove and add apps to my phone as I became a Super User on the Linux side of it. Now my questions is, How can I do this? I've tried to find like an step by step add and remove apps on my phone with no luck. Also I'd like to get some information on what can I do and what I can't (or shouldn't do) with my super user rights ( i found this but not sure how to add this titanium backup on my phone http://forum.xda-developers.com/showthread.php?t=1046699).
All help will be greatly appreciated.
Regards,
Btts.
you can delete any apps including system apps by using TITANIUM BACKUP.
once you've installed it and run it click on the backup/restore tab at the top then select whatever app you want to remove (system apps inluded) click that app and there will be an uninstall option.
BE CAREFUL WHAT YOU DELETE!
Hope this helps
You have to download Titanium Backup from the market
oh ok I get it, so it is available through the android market.. now that is for the Uninstall stuff part (thanks to both) now in order to get stuff installed into the phone is it there an option for that or can I do it using the linux terminal that is installed on the phone?
Thanks for all the help
OK, I have been where you are, and maybe this VERY brief summary will get you started.
1. Root - you did that.
2. Download and install the CWM for locked bootloaders from this link here.
3. Follow the instructions to power off, then power on and press down on the Volume Down key to enter the recovery mode. Then go to the Backup/Restore menu and backup the phone. This creates a Nandroid, or image of the phone so you can put it back to rooted stock if you mess something up.
4. Download and install Titanium Backup from the App Market. You can use this to uninstall any bloatware, including System files, but use with caution so you won't need to use your Nandroid! There is a safe list thread here that will give you some help in what you can remove.
5. Apps for Android usually come from the Android Market, or another market that hosts Android apps like Amazon AppMarket, etc. So any program you want to install will generally need to come from there. (Yes, I know there are some apps around that some Joe Ubertech wrote, but in general, you will want to get apps from the Market or a Vendor site, like Gameloft or EA.)
6. Use an App2SD program to move as many apps to your SD Card as are able to go. This frees up internal storage so you can run smoothly and have a lot of apps too. I like Droidsail Super App2SD (ROOT) because it lets you select a group of apps at one time to move. Do NOT move to SD any app that is accessed through a widget, or any replacement launcher program.
7. Be aware that Programs marked as System files cannot be moved to SD. However, some of them, like the preinstalled games, GMail, Youtube, etc, are also found in the Market. You can either delete them and reinstall them from the Market, or use a program like Root Explorer to manually move these to a folder on the SD card. Then reboot your phone, and you can reinstall them as user apps and be able to move them to SD as well.
8. Read. Read, read, read, READ everything you can get your hands on here in xda. It has been the best source of info for the Xperia Play.
I hope this helps you get going. Have fun, and if you run into trouble, someone here will usually be able to help you get going again.
Cheers!
netizenmt said:
OK, I have been where you are, and maybe this VERY brief summary will get you started.
1. Root - you did that.
2. Download and install the CWM for locked bootloaders from this link here.
3. Follow the instructions to power off, then power on and press down on the Volume Down key to enter the recovery mode. Then go to the Backup/Restore menu and backup the phone. This creates a Nandroid, or image of the phone so you can put it back to rooted stock if you mess something up.
4. Download and install Titanium Backup from the App Market. You can use this to uninstall any bloatware, including System files, but use with caution so you won't need to use your Nandroid! There is a safe list thread here that will give you some help in what you can remove.
5. Apps for Android usually come from the Android Market, or another market that hosts Android apps like Amazon AppMarket, etc. So any program you want to install will generally need to come from there. (Yes, I know there are some apps around that some Joe Ubertech wrote, but in general, you will want to get apps from the Market or a Vendor site, like Gameloft or EA.)
6. Use an App2SD program to move as many apps to your SD Card as are able to go. This frees up internal storage so you can run smoothly and have a lot of apps too. I like Droidsail Super App2SD (ROOT) because it lets you select a group of apps at one time to move. Do NOT move to SD any app that is accessed through a widget, or any replacement launcher program.
7. Be aware that Programs marked as System files cannot be moved to SD. However, some of them, like the preinstalled games, GMail, Youtube, etc, are also found in the Market. You can either delete them and reinstall them from the Market, or use a program like Root Explorer to manually move these to a folder on the SD card. Then reboot your phone, and you can reinstall them as user apps and be able to move them to SD as well.
8. Read. Read, read, read, READ everything you can get your hands on here in xda. It has been the best source of info for the Xperia Play.
I hope this helps you get going. Have fun, and if you run into trouble, someone here will usually be able to help you get going again.
Cheers!
Click to expand...
Click to collapse
awesome thanks for the information
Also, grab KeiranFTW's tweak package in the dev forum. Best thing you could do to your phone.
Sent from my R800x using xda premium
Trygon said:
Also, grab KeiranFTW's tweak package in the dev forum. Best thing you could do to your phone.
Click to expand...
Click to collapse
here's the link
http://forum.xda-developers.com/showthread.php?t=1385236
University of Pi said:
here's the link
http://forum.xda-developers.com/showthread.php?t=1385236
Click to expand...
Click to collapse
thanks for the info guys, now I'm working on my other phone the Xperia Arc ^^, if a moderator wants to close this thread is alright
thanks to all
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've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Link2sd doesn't prevent your phone from thinking that internal storage is full, I think.
I'd recommend trying s2e instead.
-----------
"You can overclock as much as you want, your phone will always seem too slow."
hmm, s2e won't run on stock rom will it? i think i've read that it will only run on cm7/9
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
1.Uninstall stupid system apps you don't use. We need to make space in system partition.
2. Download titanium backup and when u open it. Go to options select integrate davlic cache into rom. It'll take few minutes, when it's complete reboot.
3. Make sure all files are linked.
4. Clear cache occasionally.
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
6. That should be it. I'm running cm9 with link 2 sd and I have more than 100 apps still I got 75 mb free.
Sent from my Wildfire S A510e using xda app-developers app
When you flash a new rom, make sure first thing you do is installation of Link2SD.
Tick auto link on it, and then install whatever you want.
It's how I solved that problem.
Now I have 107 apps installed with Link2SD, and around ~40mb of free internal space.
Sent from my HTC Wildfire S A510e using xda premium
Try deleting files in /data/tombstones (if there is any), using a file explorer.
Many apps will save their data in your internal memory, even if they're linked to your SD. There are some programs (like S2E) that can move all your data to your SD but you may loose performance if you don't have a fast SD. One alternative is using Titanium Backup to move to SD data of individual apps, this way you can keep in your internal memory the data you want to access quickly (ie your contacts) and you move to SD all the other data. The process is reversible and if you think it slows down too much a specifc app you can move back its data to internal memory.
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
This way I've been able to save about 60 MB of additional internal memory and I haven't noticed any change in performance.
An additional advantage is that this Titanium Backup feature is available in the free version; the Dalvik cache integration proposed in a previous post is locked if you don't have PRO version.
Linking /data/data app files for free?
Ferri64 said:
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
Click to expand...
Click to collapse
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option. Choosing the 'Move to SD card' option does not move the app data. Is it still available in the free app?
I'm very happy with link2sd with my stock rom HTC Wildfire S except that it doesn't offer me the ability to selectively link /data/data application files. Perhaps there's another linking app that does a more complete job? I've seen this thread mention simple2ext but that seems to require Cyanogenmod.
Cheers,
Mark
marky1124 said:
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option.
Click to expand...
Click to collapse
I can provide an answer to my own question here. It turns out that the 'Move app data to sd card' option only appears if Titanium Backup sees a valid mount point, as per this documentation: http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-technical-faq.html#requirements-for-using-move-app-data-to-sd
If you have a phone like mine (Wildfire S, stock rom v2.3.5) then you don't have one of the TB supported mount points so you have to create it yourself using Terminal Emulator and Busybox
e.g.
Code:
$ su
# ln -s /data/sdext2 /data/sd
# mkdir /data/sdext2/app
Also I've now discovered that for the functionality to work properly the second partition must be a unix filesystem type like ext2, ext3 or ext4, but not vfat (FAT32) since that doesn't allow TB to create symbolic links.
There's more discussion of this and gory details on this thread
Cheers,
Mark
Help
sukhjit321 said:
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
Click to expand...
Click to collapse
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Rahul2929 said:
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Click to expand...
Click to collapse
1. You only need this command again when the memory runs way too low. Don't try it again coz it reduces performance too.
2. I guess you can/ I've never tried it tough.
I ran into problem with your command...it force closes some of my apps which I noticed later ....
Sent from my HTC Wildfire S A510e using xda premium
I had the same problem a while ago that i had to reflash the rom because apps were force closing all the time
The reason this happened was because i downloaded several apps at the same time, so Link2SD didnt had enough time to link all files
and the internal memory became full and went crazy
the only solution for me was deleting all apps and reinstalling them
so my recommendation would be not to download more than 1 app at the same time, wait for Link2SD to link files, and then download the next one
Actually I did that I did a factory reset and then ran the command..bt after that my internal apps was also force closing like playstore,etc
Sent from my HTC Wildfire S A510e using xda premium
I think Link2sd and DTa2sd can't run at the same time. You'll be get FC everytime install new apps.
Sent from MARVEL JellyScream
stupid but effective method
ocnDaNN said:
I've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Click to expand...
Click to collapse
i have the same problem and the solution (2 steps) is a bit stupid but here it is:
1 - go into (manage applications) in settings and wait till it calculate the storage of every app (under every app's name), where you will find that the memore increased usually from 12 mb to abou 20 mb.
2 - you have to go into link2sd app and do one of these 3 things:
1. link library files
2. link dalvic cache files
3. clear cache (not clear dalvic cache)
one of these options or more will do the track. now check storage and you will find more 30 or 40 mb
if anyone know a good application that links data too, i'l be very thankful
I am using link2sd with ext3 partition created through cwm recovery after re booting some apps disappear and i have to install them again
Any fix?
Sent from my HTC Wildfire S A510e using xda app-developers app