[Q]CM7 apps Force Close - Droid Incredible Q&A, Help & Troubleshooting

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.

Related

Make the Market download apks to SD Card

Hello everyone.
I've recently switched to the Data++ Hboot with 10MB cache. Ever since then I haven't been able to download large apps from the Market.
I was wondering how to make the Market save the APK's on the SD Card instead of the cache partition. If I remember correctly this has been implemented in a number of ROMs, including the Oxygen ROM to name one. Where would I change that?
Sorry for deviating from the topic, but I have this strong urge to ask you this: How did you get 10MB cache with Data++? According to alpharev.nl, Data++ gives 5MB cache....
On a side note, I also have 10MB cache but my apps are installing fine (with a little help from A2SD).....how big are the apps you're trying to download? Maybe I haven't come across "big" ones yet...
Evil_Cid said:
Sorry for deviating from the topic, but I have this strong urge to ask you this: How did you get 10MB cache with Data++? According to alpharev.nl, Data++ gives 5MB cache....
On a side note, I also have 10MB cache but my apps are installing fine (with a little help from A2SD).....how big are the apps you're trying to download? Maybe I haven't come across "big" ones yet...
Click to expand...
Click to collapse
Oh I see they've updated their website. I'm using an older version of Data++ (System 180M, Cache 10M, Data 261M). I still have the img plus a screenshot of the website to compare MD5, if you're interested.
Well, it was just a guess. Downloads to Angry Birds (both versions) and Rocket Bunnies are not working, to name a few. Since they're all over 10MB I assumed it was due to the smaller cache partition. I'm also using A2SD btw.
Hmmm,they are not too big then (was expecting 20+MB).....I just downloaded those two apps couple of hours ago on my one and it's running fine even though I've only got 10MB cache.
Normally you'd need a file manager (like the one with Titanium backup or root explorer) to do the job of moving .apk files to SD..these are normally stored in /data/app inside the internal memory and requires root access to get them...but the files must be downloaded in the first place.
Is your system up-to-date? I too had similar problems until I did a complete flash-over and updated everything.... unfortunately I didn't work out the cause of it
Evil_Cid said:
Hmmm,they are not too big then (was expecting 20+MB).....I just downloaded those two apps couple of hours ago on my one and it's running fine even though I've only got 10MB cache.
Normally you'd need a file manager (like the one with Titanium backup or root explorer) to do the job of moving .apk files to SD..these are normally stored in /data/app inside the internal memory and requires root access to get them...but the files must be downloaded in the first place.
Is your system up-to-date? I too had similar problems until I did a complete flash-over and updated everything.... unfortunately I didn't work out the cause of it
Click to expand...
Click to collapse
Oh I see, I was under the impression the apks get saved on the cache partition. In that case, I should look for the problem elsewhere. Yes, I'm running the latest Sense ROM (2.29 with the 5 ending), but modified to suit my needs. I guess it could be related to that.
More info about the 'non-downloading'. When I click on install in the Market, the download icon appears quickly in the notification bar and then quickly disappears. Was this the same problem you were having?
In short....yes...that was the main sympton I had....the download icon disappears quickly....and it only happened to some of the apps
Have you tried rebooting the phone?...
Evil_Cid said:
In short....yes...that was the main sympton I had....the download icon disappears quickly....and it only happened to some of the apps
Have you tried rebooting the phone?...
Click to expand...
Click to collapse
Yes, tried that. Also tried clearing the dalvik cache and cache but with no success. I have found this while looking for a solution on Google. Seems someone else is having the exact same problem.
tkm89 said:
Yes, tried that. Also tried clearing the dalvik cache and cache but with no success. I have found this while looking for a solution on Google. Seems someone else is having the exact same problem.
Click to expand...
Click to collapse
Hmm, yea. The thing that's really frustrating is I still don't know what the problem was in my case..if I did I could've been a little bit more helpful. In my "rage" I just flashed a new kernel and a new ROM and that sorted out the problem for me....didn't stop to wonder what was actually causing it.
EDIT: I think changing the kernel, especially, did it for me...
Hmm…
I have the same problem (except my /cache is 3MB so I can't download files larger than that).
Funny though, it used to work just fine (I have Angry Birds and flash for example), it has only recently started to act up.
If anyone finds a solution (possibly without flashing), I'll be quite grateful
P.S.
When my download fails (downloading icon simply disappears), my logcat shows DownloadManager reporting that there is not enough space (with about 60MB on /data) and then Vending complains about the file not being found (because DownloadManager didn't download it).
Seems like a bug in DownloadManager to me. It probably doesn't look up the cache (mine is in /data/cache IIRC) but uses the free space on /cache to determine if there is enough to fit the .apk.
I'm now working on same think. Need to Market downloading apps to SD card instead of /cache. So is there any tweak for this?
Yep.
Requires a little bit of knowledge about how linux handles mount points.
Basically, the easiest way is to bind mount a folder on the sdcard/data to /cache.
I get this .. I just clear the market cache ... go back into the market , all fine .
I normally have to " download " stuff 3 times , before it installs.

Nils' Business GingerSense 3.0 (9/1/11 V2.2) Internal Memory Issue

love this rom, upgraded to 3.0 and dig it, only hangup i'm experiencing is that i'm suddenly having issues regarding internal memory...other than updating the rom from 2.1, i've made no changes nor added any apps, however, upon upgrading, i all of a sudden didn't have enough space for all of the apps i had on here before and now i'm constantly getting low storage prompts when attempting to get on a browser or updating existing apps...initially thought maybe it was due to not going through full wipe on update, so went back and completely wiped and installed rom, issue still remains, please advise on what might be happening here, thanks in advance
JC
Your best bet would be to wipe the cache of your apps. I think there are apps in the Android market that do this for you.
If I've helped you, hit the thanks button!
AJGO23 said:
Your best bet would be to wipe the cache of your apps. I think there are apps in the Android market that do this for you.
If I've helped you, hit the thanks button!
Click to expand...
Click to collapse
well i have done that as well via ES Task manager, but still come back to the same problem; "low memory" and unable to load any of my previous apps, nor update the ones that actually did load..i don't see why it would suddenly be an issue, when it never was before changing the rom, doesn't make sense..confusing, but would like to get this resolved..thanks
Turn off Automatic restore in Settings - Privacy
Boot into recovery, wiping system / cache / dalvik
Only install NBS 3.0 v2.2
Reboot
Do Not sign into any account
Do Not restore any apps
Do Not use Market
Go to Settings-SD & phone storage-
Note your Phone memory "available space"
Use the "Make more space" option if desired
Restart normally
Sign into your Google account
Start restoring apps manually through the Market first
Keep track of your phone memory and wear the apps are being installed to
The idea is to find out what apps take up the most space in your phone memory and move whatever you can to your sdcard. Also, by not checking "Automatic restore" in Settings-Privacy, you control what gets installed.
Good luck and please repost here your results, good, bad or indifferent.
Much love my friend,
Chris7os
thanks chris, i'll give that a shot, but still leaves pondering why it would all of a sudden be an issue, where it wasn't before? thanks

Update troubles with my Wildfire S

This has been a problem with my device since the very begining, and I would like to know if it's a general problem with Android, if it's a specific problem with the Wildfire S, or if it's just that god hates me and he gives me the devices with all the horrible bugs (see this thread for my other inexplicable bug that no one else seems to have).
Sometimes, when I go into the market and try and download app updates, the update goes through it's process of installation, the progress bar fills up and everything... then right as it's about to finish I get an error. "Update failed, please try again." It's very inconsistent too, sometimes I'll try and download an update a few times, and on the third attempt it gets it. Other times the app won't be able to update for months at a time. My mobile has been trying to get an update for "Cut the Rope" for over 3 weeks now. It gets so annoying I turn the WiFi off because he keeps throwing "Updates Available!" notifications at me that are completely useless to me.
Anyone else have this? Or is my WF-S just cursed?
Philippe Lemay said:
This has been a problem with my device since the very begining, and I would like to know if it's a general problem with Android, if it's a specific problem with the Wildfire S, or if it's just that god hates me and he gives me the devices with all the horrible bugs (see this thread for my other inexplicable bug that no one else seems to have).
Sometimes, when I go into the market and try and download app updates, the update goes through it's process of installation, the progress bar fills up and everything... then right as it's about to finish I get an error. "Update failed, please try again." It's very inconsistent too, sometimes I'll try and download an update a few times, and on the third attempt it gets it. Other times the app won't be able to update for months at a time. My mobile has been trying to get an update for "Cut the Rope" for over 3 weeks now. It gets so annoying I turn the WiFi off because he keeps throwing "Updates Available!" notifications at me that are completely useless to me.
Anyone else have this? Or is my WF-S just cursed?
Click to expand...
Click to collapse
Try clearing your cache. How much room have you got on your cache partition and in your data paritions?
It has to download a 15 meg or whatever installer for Cut the rope, then unpacking it then install it then delete the original installer. That takes more than 15 megs.
How do I clear the cache?
Also, can't it use my microSD? I have a 32GB card in there.
Philippe Lemay said:
How do I clear the cache?
Also, can't it use my microSD? I have a 32GB card in there.
Click to expand...
Click to collapse
Use it for what? Can you give me some details? Is your phone S-OFF, rooted, etc?. How much internal memory do you have right now, etc.
d33ps1x said:
Use it for what? Can you give me some details? Is your phone S-OFF, rooted, etc?. How much internal memory do you have right now, etc.
Click to expand...
Click to collapse
You said that when an app is downloaded it needs to first download a 15 MB "cache partition", I was wondering why it can't use some of the space on the microSD. As for rooting, I have a GSM Wildfire S, from what I understand those are difficult to Root... so no, I've never rooted it, and I don't think it's S-Off (I'm not sure how to check that...)
I think I have 31 MB of free internal memory capacity...
pm setInstallLocation 2 and Apps2SD with Tutorial
Forget all you heard from me before as it seems to have served to confuse you which is fine. No worries.
Read this thread
Where it says to type "adb shell pm setInstallLocation" instead to be safe type:
"adb shell pm setInstallLocation 2" which tells the phone to try to install an app to your sd card by default. 0 is auto and 1 is internal.
Keep in mind that it doesn't move 100% of the app to the phone. App libraries, Dalvik cache data and application cache data will stay on the internal memory but it will buy you some space.
That's it.
PS:
Go somewhere and get your phone XTC-Clipped. You will have a lot more options to create space such as Link2SD which moves the apps, app libraries and dalvik cache files to a second external partition you create.
The nice thing about it is DOES allow you to move widget apps and they work.
Another nice thing about it is when you put your phone into usb mass storage mode, even though the primary partition on it with all your own data, pics etc, gets unmounted in the phone and unusable, the second partition doesn't unmount and you can still run all your apps that are linked to it.
Get clipped! If you have enough for a 32 GB card you have enough to spend $20 to get your phone clipped.
Now
When you are done this REBOOT your phone.
Go to this Android Marketplace link and download apps2sd
WATCH the video tutorial and then start moving apps off your internal memory to your SD card.
Beware not to move things that have widgets you want to use like say Doubletwist music player or Battery Monitor. The widgets will no longer function.
Somewhere in that program is a clear application cache choice as well. Clean up your cache for more room.
30 megs is not enough to download AND install Cut The Rope to your internal memory plus your auto sync will stop working when you drop below 18 megs or so of internal space.
Buy yourself some S-ON room with that setup.
If you want to move individual programs to or from the SD card to the phone and back, etc, you can go to /Settings/Applications/Manage/ scroll to and click on the application in question and choose the option to "Move to Phone" or "Move to SD Card".
Cheers.
I see... and this is all low risk right? I mean, getting updates to Cut the Rope would be nice, but it's not the biggest priority in the world, lol.
Also... I'm working on getting that Clip, if I have to I might just buy one... 67$ would still be cheaper than going out to buy a Nexus (from what I hear those are the easiest to Root). This clip would work with a GSM device right? That's how it does it's thing, by plugging into the SIM slot?

[Q] Storage Space Running Out, Insufficient storage, my phone trying to screw me?

So...
I've had this problem for a while now, getting worse from day to day. I've asked about this before, but it wasnt solved.
Basically my phone is taking up data in the background. Probably updating, downloading something. Its so bad, that if i dont turn off data on the go, my 1.5GB are used in a day. Sync is turned off at all times
And another side effect of that is, that all that data probably has to be stored somewhere. So Im getting the storage space running out error. Kinda annoying cause I cant use gmail, Cant install any apps(insufficient storage available) etc.
I really have no idea where all that data is(after searching through all the folders for a while now)..
I'm on the latest AOKP Milestone(4.2)
Thanks!
There are a couple things I recommend doing in your position. First thing I would do would be to get an app that allows for more informative breakdown of what is using the storage. Something like diskusage should do the trick. This will allow you to see exactly where data is going, opposed to "misc" Perhaps this will show exactly what is taking up the storage, since you are rooted perhaps backups are the problem.
If that doesn't tell you what you want to know, or if you think an app may be using data behind the scenes then the next step I would do is to use some sort of data usage monitor. The built in one may suffice, settings > data usage. If not there may be better apps out there, although to be honest I have zero experience with those.
cupfulloflol said:
There are a couple things I recommend doing in your position. First thing I would do would be to get an app that allows for more informative breakdown of what is using the storage. Something like diskusage should do the trick. This will allow you to see exactly where data is going, opposed to "misc" Perhaps this will show exactly what is taking up the storage, since you are rooted perhaps backups are the problem.
If that doesn't tell you what you want to know, or if you think an app may be using data behind the scenes then the next step I would do is to use some sort of data usage monitor. The built in one may suffice, settings > data usage. If not there may be better apps out there, although to be honest I have zero experience with those.
Click to expand...
Click to collapse
Uploaded a pic what diskusage says. When i hit media it only opens the file manager and directs me to sd storage
BTW this what Onavo says has been consuming data this month:
Market Downloader - 800MB mobile, 2.4Gb Wifi, all in background - and no, i didnt download anything from the play store on the go and hardly anything on wifi - havent updated my apps in weeks b/c of missing storage
Android OS + Others - 530MB mobile and a whooping 12GB on Wifi! All in Background too.
Timoooo said:
Uploaded a pic what diskusage says. When i hit media it only opens the file manager and directs me to sd storage
Click to expand...
Click to collapse
It looks like you have some nested 0 folders in that pic. Perhaps cleaning that up will clear up some space. Side note, if you haven't updated your custom recovery in a long time it may not be a bad time to look into that.
BTW this what Onavo says has been consuming data this month:
Market Downloader - 800MB mobile, 2.4Gb Wifi, all in background - and no, i didnt download anything from the play store on the go and hardly anything on wifi - havent updated my apps in weeks b/c of missing storage
Android OS + Others - 530MB mobile and a whooping 12GB on Wifi! All in Background too.
Click to expand...
Click to collapse
If I were in your situation, I would probably just get a clean start. This also would get rid of the nesting problem I mentioned above.
- I would make a backup of my current setup, probably just using Titanium Backup.
- Backup everything I want to keep from my phone to my PC, going through the 0 folders.
- Use fastboot to flash factory images, allowing it to wipe everything in the process. The .bat file should do this automatically.
- Use fastboot to install a recent custom recovery.
- Push the sdcard backup from my PC to my phone.
From here you have a couple options, root and reinstall Titanium backup and restore some of your apps (no system data) or go back into custom ROMs. You could flash AOKP again, or pick a different ROM.
A bit heavy handed, but I think that would be the least time consuming option considering the problem(s).
cupfulloflol said:
It looks like you have some nested 0 folders in that pic. Perhaps cleaning that up will clear up some space. Side note, if you haven't updated your custom recovery in a long time it may not be a bad time to look into that.
Click to expand...
Click to collapse
Yeah I noticed that like half a year ago, had no idea why that happened. At one point I felt like everytime I flashed a new rom a new 0 folder appeared.. How does that happen?
cupfulloflol said:
If I were in your situation, I would probably just get a clean start. This also would get rid of the nesting problem I mentioned above.
- I would make a backup of my current setup, probably just using Titanium Backup.
- Backup everything I want to keep from my phone to my PC, going through the 0 folders.
- Use fastboot to flash factory images, allowing it to wipe everything in the process. The .bat file should do this automatically.
- Use fastboot to install a recent custom recovery.
- Push the sdcard backup from my PC to my phone.
From here you have a couple options, root and reinstall Titanium backup and restore some of your apps (no system data) or go back into custom ROMs. You could flash AOKP again, or pick a different ROM.
A bit heavy handed, but I think that would be the least time consuming option considering the problem(s).
Click to expand...
Click to collapse
I was actually thinking about a clean start, googleing how to wipe everything and I read that thats kinda not possbile. But thanks for those steps, I'll do that when I have time!
Thanks
Timoooo said:
Yeah I noticed that like half a year ago, had no idea why that happened. At one point I felt like everytime I flashed a new rom a new 0 folder appeared.. How does that happen?
Click to expand...
Click to collapse
Basically when 4.2 came out, it brought along multi-user functionality. Custom recoveries at the time, when wiping and installing ended up creating the nesting problem. Recoveries then were updated, which doesn't create a bunch of /0 folders (one existing is correct). This was a super common problem about a year ago when 4.2 came to be. There were hundreds of threads about this problem, with more detailed info about what happens, why, and how to fix it. Wiping everything is one of the solutions, and since this isn't your only problem, this would probably be the recommended solution.
I was actually thinking about a clean start, googleing how to wipe everything and I read that thats kinda not possbile. But thanks for those steps, I'll do that when I have time!
Thanks
Click to expand...
Click to collapse
I am not sure where you read that a wiping everything isn't possible, but whoever said that is all sorts of wrong. There are multiple ways to wipe things.
Just did what you said and it looks like everything worked! Everything is deleted, I have almost 13 gigs of free space, rooted my phone again and I'll probably install aokp or paranoid in a couple days.
No 0 Folders anymore and I'm sure as hell hoping that my data consumption will be fine now. I'll keep you updated on that in a few weeks again, but thanks for the help!
looks good thanks bud

Link2SD & CM11: Optimal Strategies

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)

Categories

Resources