Samsung J5 (SM-J500FN) Divert cache to SD card - Samsung Galaxy J5 Questions & Answers

Does anyone know of a method to force the J5 phone to use the SD Card for cache files without rooting?
I've only had the phone a week and already internal memory is getting very low. I thought if cached data could automatically go onto the SD Card I would gain a bit of space. Having looked at the threads regarding rooting the J5 I think I want to take more time to understand the process rather than a leap in the dark.
Many thanks,
Anne

You can access your storage and execute clean cache to wipe out all these unwanted files in a few seconds. It is in the settings menu.
Cache; whether stored in your phone memory or SDcards would eventually eat-up your storage and eitherway, not a good thing IMHO.

Hello Anne, Rooting Your Galaxy J5 Is Quite Easier Than You Think, Provided You Have The Tools And Follow The Instructions. Try Using TWRP Recovery By @Nick Verse, Flashing Instructions Are Well Detailed On His Thread. I'm Sorry I Couldn't Provide The Links But You Can Search It. Good Luck

Hello guys! Cache partition is only 200MB on our device, so it is not the issue here. You must move your applications to SD, but you will experience some lags, due to I/O speed limitations.
Furthermore, if we move cache to SD, more lags will happen.

Can be used an init.d which clear cache automatically, or use Tasker app to clear cache whenever you want (I prefer Tasker).

#Henkate said:
Can be used an init.d which clear cache automatically, or use Tasker app to clear cache whenever you want (I prefer Tasker).
Click to expand...
Click to collapse
Why don't you simply wipe cache from recovery?

Nick Verse said:
Why don't you simply wipe cache from recovery?
Click to expand...
Click to collapse
It can be done with some terminal command, can't remember it right now, but can be found on Google. Is easier this way and isn't necessary to reboot the phone.

#Henkate said:
It can be done with some terminal command, can't remember it right now, but can be found on Google. Is easier this way and isn't necessary to reboot the phone.
Click to expand...
Click to collapse
Thanks for all your replies. I've been clearing cache and generally getting rid of junk but the internal memory was almost 95% used nonetheless. No programs were able to update and taking a photo meant having to delete another.
So bit the bullet and after more investigation rooted the phone today. Tomorrow I shall partition the sd card so that some of it (the majority) can act as internal memory. <rant>Don't understand why Android (Google) have such limitations in their op system. More and more apps are available and they get larger and larger so more and more memory is needed. Currently memory is as cheap as chips, so why limit how and where it is used?</rant>
Anne

Related

[Solved] Market Error "Invalid Package File"

I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
My phone has been doing the same thing with the whole package file is invalid bs. I tried to follow your instructions on going to the /cache folder. When I went to the folder, it was empty, so I wasn't able to remove any .apk files. So now what? How do I fix this?
If you use a File Managemet app like ASTRO, it will show the folder as empty because you need root access to see the dir. However, if you use Terminal Emulator or adb shell (as root) you will see that there are indeed other directories, and probably these orphaned .apk files.
Hi,
I'm also having the same issue with invalid package. I cleared the /cahch direcotry and still have the issue -- Is there something else i can try before wiping and starting over?
thanks
Rudey
It could also be caused by the .android_secure folder on your SD card. Clearing this folder and letting the market restore them solves issues a lot ofthe time.
As always use TiBackup or something to backup all your apps first too to be safe.
As the OP, I can tell you that I have, in fact, been unable to fix this problem.
Initially the suggestion I posted above worked, however a couple of days later is was no longer working again.
I have tried every trick on the web, including:
1. Removing SD card.
2. Deleting the above mentioned folder
3. clearing market cache
4. Clearing all caches in recovery
5. logging out and back in to google talk.
The only thing that fixes it is a complete factory reset.
I currently have a combination of 3 errors:
1. No download at all.
2. Download unsuccessful
3. Invalid Package
some apps will still update, but what is really weird is that I am even getting invalid package on new apps (so its not a corrupt app already installed on the phone).
One last thought. Once I am unable to update an app, even if I remove it, I can no longer restore the backup using Titanium.
oughta try reformating your SD card and let the phone reformat it too.
sgt. slaughter said:
oughta try reformating your SD card and let the phone reformat it too.
Click to expand...
Click to collapse
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
sw99 said:
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
Click to expand...
Click to collapse
na actually reformating it will fully wipe everything on the SD and having the phone do it is best always as its always better to format with the device your using the disk on the most in general.
Found the problem, updated in OP.
sw99 said:
I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
Click to expand...
Click to collapse
Didnt solve my issue.. I had reformatted my phone and SD card and reinstalled my apps. It was working fine again but now its back to some apps update fine.. some get DOWNLOAD UNSUCCESSFUL and some get PACKAGE FILE INVALID.. any ideas.. Im on sprint lovers rom (latest)
It appears th LINK 2 SD needs a second partition that I dont have nor use with SPRINT LOVERS ROM and 2.2 .... am I missing something??
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Follow the instructions on that thread and create the second partition. You won't need more than 500mb. apps2sd or link2sd is the only way you can fix this problem unless you want to remove some of your apps.
Sent from my PC36100 using XDA App
gpz1100 said:
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Click to expand...
Click to collapse
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
sw99 said:
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm not sure which app2sd method you're referring to, but keep the following in mind. I discovered this after my backup images failed to restore properly.
In the past, i'd be backing up boot, system, and data partitions. Obviously with dt's a2sd, I need to include the ext partition now. No problem. BUT, when restoring, i'd run into issues where my apps were present, but all settings were lost. After much confusion and head scratching, I tried wiping cache and dc AFTER the restore, but before the initial boot. The restore was a success now!
Apparently, with a2sd on the ext3, some remnants of cache or dc remain when backing up, even if cache is not selected. As part of any good restore, first thing is to always wipe, so now we end up with a hodge podge of files in the cache which I think causes the OS to revert all the settings back to default.
Just something to keep in mind.
i wanted to go back how my dhd was.. lots of problem.. i havent fix my radio problem yet and now this invaled package thing *face palm*
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
supericexu said:
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
Click to expand...
Click to collapse
The problem is not the apps, its the /cache running out of space. I suspect that the app you are using cannot move the dalvik-cache files (and is really just a shortcut to android's app2sd - which is not the same as darktremor or link2sd).
in terminal us df -k to see how much space you have on each mount to confirm that there is little space in cache.
If you really have that much space in your apps mount, then I would suggest moving the dalvik-cache back to its original location (search for instructions, as the only way I know how to do it is by installing darktremor's app2sd). If you are still having problems, you really are limited to either partitioning your SD card and using apps2sd or link2sd or removing apps.
hope this helps.
I have been having this issue for a couple of months now - with a bit of a twist. After wiping my dalvik-cache, my apps began to sucsessfully update - except for Google apps.
I have no idea why just those apps, but going into settings/Applications/Manage applications, and selecting each app, then clearing that apps cache, allowed those apps to sucessfully update also.
I am thankful I did not have to resort to the above fix.
Any solution if not rooted?
I've just started to get this error when trying to update the Google+ app. The error is only happening with Google+, every other app I update/install works fine.
I haven't rooted my device, and I'm hoping there's a way to fix the issue without rooting?
Device: Nexus One
Rom: Stock Android
Version: 2.3.4
Although I couldn't see anything in the cache directories, I checked in /system/app and couldn't find any package that looked like it would be Google+.

[Q] "Phone Storage Space is getting low" with a2sd on Liberated FR008

Search is not working on either IE or FF for me right now, so I'm starting a new thread. Sorry about it, as i'm sure this is a duplicate question. Know that I tried for awhile to search first.
I've got an Aria running Attn1's Liberated FR008 ROM. a2sd has been enabled. However, I've got almost no phone memory left. I've heard that even with a2sd, some of the app dalvik stuff is stored on the entirely insufficient internal phone storage, and I have recently downloaded a bunch more apps. I have used CacheCleaner NG, which did not alleviate the problem. I have also "cleaned up" the Dalvik Cache using Titanium Backup, which found nothing to clean.
I'm wondering if there's some sort of area on the internal phone memory I can clean myself using Astro or something, because it seems that with most of the bulk of app storage being on the SD card, and every app with options to store cache on the SD card doing so, I should have more room on the internal storage.
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Great question. I've considered a complete clean install, just to regain some internal space.
I wish ****ing Facebook would add an option to cache to SD card - it's a total hog. Going to endure with the Aria until fall and see what's out on AT&T at that point.
I know app2sd from the market has worked for me in the past. I had a ton of apps on my aria and haven't had a space issue
Sent from my Liberty using XDA App
The solution for me was to move the Dalvik cache to the SD card.
DISCLAIMER: Some people report this causes problems, I guess. The information I'm providing explain what worked for me. Following my instructions might cause instability, brick your phone, destroy your house, or eat your second cousin. None of these things are my fault.
I guess when a2sd is installed, it does not by default move the Dalvik cache, which contains files needed for apps to run. The more apps you install, the more that gets installed in this Dalvik cache. Here's how to move the dalvik cache on your phone to the a2sd partition, assuming you've perused the above warnings.
Open Terminal Emulator.
type su and hit enter.
type a2sd cachesdreset and hit enter.
The phone will restart, and it will take a long time, because it's got to rebuild the dalvik cache. You can do it without wiping the dalvik cache by using the cachesd command instead of cachesdreset, but I've read that wiping the dalvik cache doesn't hurt, and can potentially solve some issues? YMMV. My phone took awhile to start up.
Once the phone starts up, you can open something like Titanium Backup, and you should notice that your phone has MUCH more internal memory available. My phone now has 89MB of internal memory available, out of the total 194MB.
Things seem to run a bit slower upon startup than they used to, but after a bit, everything smooths out. And I can install apps again, etc.
Hope this helps.
taliesin1077 said:
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Click to expand...
Click to collapse
I think that I ran into this very recently. The following thread has some good info.
http://forum.xda-developers.com/showthread.php?t=770146 ... more specifically ... this page that is linked from that thread.

Every time !! Arghhhh

Okay,, i have a note 10.1 n8010 and EVERYTIME I FLASH a rom i cant install any apps and it says insufficient storage, I do everything step by step, I don't understand, I just don't understand!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can someone please explain me why this is, i wipe everything before doing a update etc...
asustf700t said:
Okay,, i have a note 10.1 n8010 and EVERYTIME I FLASH a rom i cant install any apps and it says insufficient storage, I do everything step by step, I don't understand, I just don't understand!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can someone please explain me why this is, i wipe everything before doing a update etc...
Click to expand...
Click to collapse
Are you using an external SD Card or just your internal one ?
lsherif said:
Are you using an external SD Card or just your internal one ?
Click to expand...
Click to collapse
A external one as well
asustf700t said:
A external one as well
Click to expand...
Click to collapse
Try following the below steps as per smaw51 recommendations :
wipe data/factory reset
wipe cache partition
mounts and storage/ format /data
mounts and storage/ format /system
mounts and storage/ format /cache
advanced/ wipe dalvik cache
Repeat a couple times for good measure
I have already tried those steps as I found them online and it does nothing, I always have to delete everything and then return to stock ... I just don't get it >
asustf700t said:
I have already tried those steps as I found them online and it does nothing, I always have to delete everything and then return to stock ... I just don't get it >
Click to expand...
Click to collapse
So what`s your internal free storage after installing a fresh rom ?
asustf700t said:
I have already tried those steps as I found them online and it does nothing, I always have to delete everything and then return to stock ... I just don't get it >
Click to expand...
Click to collapse
Oops accidentally thanked you for this post.
Anyways, I have found that wiping data from recovery doesn't clear download files and such. Download Astro File manager and see what is taking up most of your internal memory. I found personally that .zip files and a few things like that were taking up oodles of storage space. Also, when yuo do a CWM backup, do the backup to the External SD card, that way it doesn't take up app space.
lsherif said:
So what`s your internal free storage after installing a fresh rom ?
Click to expand...
Click to collapse
like 7gb? and external is 4gb because i have a partition, but the partition in my case is irrelevant because before when I didn't know about link2sd I still had this problem, but everyone else seems to flash roms daily with no issues lol?
Jonphinguyen7 said:
Oops accidentally thanked you for this post.
Anyways, I have found that wiping data from recovery doesn't clear download files and such. Download Astro File manager and see what is taking up most of your internal memory. I found personally that .zip files and a few things like that were taking up oodles of storage space. Also, when yuo do a CWM backup, do the backup to the External SD card, that way it doesn't take up app space.
Click to expand...
Click to collapse
okay ill thank you back lol, okay I will back it up externally for future reference, but the issue seems to be on every rom i download with my device...but no one else seems to have this issue with the same rom
edit------------
i can't it says ive reached my 8 limit today...
anyone?
i also tried the steps in this post... http://forum.xda-developers.com/showthread.php?t=1745247&page=3
I believe reading this thread and taking a few tips has fixed everything!
http://forum.xda-developers.com/showthread.php?t=1908711&page=2
I strongly suggest you flash a stock rom using Odin and clear everything. If you still have problems with the stock rom on your tablet return it for warranty repair. My feeling is though it is something you are doing. So once back to stock (out of the box) reinstall apps one at a time - avoid apps to sd and installing them on external memory. I don't believe that can be necessary!

Link2SD or similar working on a Galaxy On5?

I've tried many combinations of partition types and numbers and cannot get Link2SD to accept my second partition. I had similarly bad luck with App2SD. Is there a known good combination of app, card, partition type, size, and number that lets me offload my apps onto the external SD card? I'm using a rooted but otherwise stock GT550T rom for T-Mobile. I have a 200GB Sandisk microSD card. 8GB phone with 4GB taken by default and I couldn't find much to remove. Any other good ideas as to how I can get my apps installed. Even with 0 games I cannot install my usual suite.
i have been experiencing the exact same problem, tried both apps2sd and link2sd, still no luck.. i actually managed to corrupt a brand new card, had to go exchange it. no luck with ext4 or any others... i hope we get some assistance
Yep. What they said.
Same issue. Any fix yet?
I would also like to know a way to get Apps2SD or Link2SD working.
Hey! Androeds 4.1up the link2sd does not work anymore if all of you, does not creates universal odexes for each app in sdext2. The zygote of libs in androed 4.4+ does not permits dalvik cache outside datadir.
The solution is odex all apps one by one, because gogle system apps never recognized and will never recognize odexed apps as third apps.
Is a long war against themselves new dumb zygote for deny odexes in sdext2 :
You need only copy the created odexes inside sdext2 togheter with apk's dir and link mannually, and finnally, delete the relative dex.
The rest is normally linked by link2sd
Apps2sd works for me. I am not rooted though. Let's try to troubleshoot. Go into settings/storage and make sure the sdcard is mounted and formatted. See if your screens match mine.
Apps 2sd is a lie!
Only a Half part of app comes to a dumb system in /mnt/secure and /mnt/asec.
Is a lie!
---------- Post added at 03:41 PM ---------- Previous post was at 03:37 PM ----------
If you root your device, install link2sd (the real sdext linker) your apps will go to sdcard.
On androeds 4.1+ the .dex files need to be PURGED AND PUNCHED OUT DUE TO GOGLE'S SICKNESS NEW DUMB ZYGOTE, and converted to .odex.
I really like the phone itself, i honestly hope someone is able to make a rom for it. Cause out of the box i have basically no storage for apps and the apps 2 sd function in the rom only lets you move a handful of apps.
LINK2SD works on the Samsung Galaxy On5. I moved many apps and have tons of space now.
I don't know how typical my situation is, but I am having the same issue and thought i would attempt to provide a bit more in the way of detail.
My On5 is rooted with TWRP installed and functioning apparently normally. I can run apps that require root without issue, Titanium Backup for example. I have installed SuperSU and BusyBox which seem to behave normally, but Root Checker recognizes root and BusyBox but not SU Access.
When I try to use Link2SD, it doesn't recognize my second partition, and won't create a mount script. I can enter SU through terminal mode, and created /etc/fstab with mounting details for the second partition, but Link2SD still doesn't see it. Consequently, I can use the Move to SD function with some apps, but Link to SD is not functional.
I would contact LINK2SD support and ask them if the app is even capable of handling multiple partitions. My guess is no.
Link2SD not only is capable of handling second partitions, it requires them for the Link to SD function. I followed their instructions carefully for creating an appropriately formatted second partition. The issue seems to be that the phone won't allow it to mount. That is why I posted here.
n5dkj said:
Link2SD not only is capable of handling second partitions, it requires them for the Link to SD function. I followed their instructions carefully for creating an appropriately formatted second partition. The issue seems to be that the phone won't allow it to mount. That is why I posted here.
Click to expand...
Click to collapse
Yes I am sorry, that is why I should post before I have coffee. I see you need an ext4 and a fat formatted... I got it to work. Here are my exact steps..
1. Down root essentials, LINK2SD from app store. Also must be rooted and have TWRP installed. I also suggest a full backup.. Then move the backup to your computer, free space on the phone... Don't leave the backup on the sdcard as it about to be partioned and formatted!!!!!!!!!!!!
2. If you already did this and tried adoptable let storage then use the 'revert changes' and reboot
3. Go into settings a d format sdcard as standard Portable Storage. Click cancel or no if it wants to move anything over.
4. Go into root essentials, storage tab and click adoptable storage
5. Follow procedures to download apk needed (the app will automatically load the web page).. Edit.. When used how much percent of the sdcard to use It's elected 50%.. I am using a 16gb card.. So I split it down the middle.
6. Power down phone
7. Hold down volume up+home+power until logo appears... Essentially go into twrp
8. Do a kernel (system) backup if you haven't yet recently.
9. Flash Apk which will automatically reboot phone
10. Not sure this is important but I waited for my phone to full boot... Paying particular attention to the Toast saying that room essentials has been granted full permissions....
10b... Do not go into storage settings and try to format the second part of the partition... It's already been formatted..
11. Went into LINK2SD, Settings... And pressed 'app location' got a weird warning about hierarchical something or whatnot.. Pressed it a few times and finally got the right screen. SELECTED EXTERNAL.
That was it... Now when I move apps with LINK2SD it seems like a ton of more free space is clearing on the internal... Before when I moved apps I think it was just moving the data..
I got it working temporarily but somehow it started making apps unusable and un-re-installable again. I'll do a factory reset and reroot (I think I just have to sideload SU) and try your step by step this weekend.
The other possibility is the apps that come with the phone are so big they don't fit in the 8gb that comes with it. Every time a Google app gets an update I lose more space and I cannot move those apps to my knowledge. Its getting harder and harder. With this method do I get true adoptable storage? As in all apps and data share the space?
cracker_jax said:
I got it working temporarily but somehow it started making apps unusable and un-re-installable again. I'll do a factory reset and reroot (I think I just have to sideload SU) and try your step by step this weekend.
The other possibility is the apps that come with the phone are so big they don't fit in the 8gb that comes with it. Every time a Google app gets an update I lose more space and I cannot move those apps to my knowledge. Its getting harder and harder. With this method do I get true adoptable storage? As in all apps and data share the space?
Click to expand...
Click to collapse
Most apps are under 100MB.. Even if they download extra data there is no way any one particular app is over 8GB...
Try this...
Sort the LINK2SD app list by 'size internal'
Uninstall the top 3-4 apps that take the most space
Move any system apps you moved to the sdcard back to internal
Clear the app cache and dalvik caches
Reboot
Reformat sdcard
Reboot
Then try my steps to get adoptable storage...
Report back if you can
---------- Post added at 03:22 PM ---------- Previous post was at 03:20 PM ----------
cracker_jax said:
I got it working temporarily but somehow it started making apps unusable and un-re-installable again. I'll do a factory reset and reroot (I think I just have to sideload SU) and try your step by step this weekend.
The other possibility is the apps that come with the phone are so big they don't fit in the 8gb that comes with it. Every time a Google app gets an update I lose more space and I cannot move those apps to my knowledge. Its getting harder and harder. With this method do I get true adoptable storage? As in all apps and data share the space?
Click to expand...
Click to collapse
PS I heard rebooting after you move the apps to SD seems to also fix the problem.
djmcho said:
Most apps are under 100MB.. Even if they download extra data there is no way any one particular app is over 8GB...
Try this...
Sort the LINK2SD app list by 'size internal'
Uninstall the top 3-4 apps that take the most space
Move any system apps you moved to the sdcard back to internal
Clear the app cache and dalvik caches
Reboot
Reformat sdcard
Reboot
Click to expand...
Click to collapse
I did the instructions to get adoptable storage and it appeared to work (adoptable worked anyway) but Link2SD has no functionality with moving anything anywhere. The card is not formatted correctly for Link2SD. The main (SD) partition is receiving apps (migrate to SD built into Android) but very few and the internal storage fills up quickly. Basically the apps that work via App2SD were able to be migrated with the migrate button in Settings > Storage. I'd consider formatting the SD card's second partition so Link2SD could work on it again but I know already that it won't work with the "data" of the apps, even with Link2SD plus. I had limited success with FolderMount but that is a pain and I'm not sure it worked at all. Having data exist in two places seems to confuse my phone. Adoptable storage seems to be dead with most apps refusing to use it and Link2SD seems to be dead as it won't move most of my data without breaking the app.
cracker_jax said:
I did the instructions to get adoptable storage and it appeared to work (adoptable worked anyway) but Link2SD has no functionality with moving anything anywhere. The card is not formatted correctly for Link2SD. The main (SD) partition is receiving apps (migrate to SD built into Android) but very few and the internal storage fills up quickly. Basically the apps that work via App2SD were able to be migrated with the migrate button in Settings > Storage. I'd consider formatting the SD card's second partition so Link2SD could work on it again but I know already that it won't work with the "data" of the apps, even with Link2SD plus. I had limited success with FolderMount but that is a pain and I'm not sure it worked at all. Having data exist in two places seems to confuse my phone. Adoptable storage seems to be dead with most apps refusing to use it and Link2SD seems to be dead as it won't move most of my data without breaking the app.
Click to expand...
Click to collapse
App have to be enabled by the developer to move the data with the app, Dex etc.. For example Waze is... Here is my files list view from links2sd about Waze... As you can see everything Def moved over to the adoptable storage.
cracker_jax said:
I did the instructions to get adoptable storage and it appeared to work (adoptable worked anyway) but Link2SD has no functionality with moving anything anywhere. The card is not formatted correctly for Link2SD. The main (SD) partition is receiving apps (migrate to SD built into Android) but very few and the internal storage fills up quickly. Basically the apps that work via App2SD were able to be migrated with the migrate button in Settings > Storage. I'd consider formatting the SD card's second partition so Link2SD could work on it again but I know already that it won't work with the "data" of the apps, even with Link2SD plus. I had limited success with FolderMount but that is a pain and I'm not sure it worked at all. Having data exist in two places seems to confuse my phone. Adoptable storage seems to be dead with most apps refusing to use it and Link2SD seems to be dead as it won't move most of my data without breaking the app.
Click to expand...
Click to collapse
Continuing...
Where as chrome is not set by the developer to allow moving stuff like data over to SDcard. See attached... You will see some is on the phone and some is onbthe sdcard. If you want to move data over to the sdcard for apps that are not designed to do so you could purchase the pro version of Link2SD that allows for the forcing of data by creating linking. You might be able to do it for free using terminal emulator and the Linux linking command, which escapes me right now..
djmcho said:
Continuing...
Where as chrome is not set by the developer to allow moving stuff like data over to SDcard. See attached... You will see some is on the phone and some is onbthe sdcard. If you want to move data over to the sdcard for apps that are not designed to do so you could purchase the pro version of Link2SD that allows for the forcing of data by creating linking. You might be able to do it for free using terminal emulator and the Linux linking command, which escapes me right now..
Click to expand...
Click to collapse
My problem with the Plus version of Link2SD, which I purchased, is that whenever I liked the data portion (IIRC) the newly moved app would immediately force-quit when opening after that. So I would move the data back. It would still force-quit. So I would uninstall and reinstall. It would still force-quit. Sooooo if and when I used that function it completely broke the app until I did a factory reset.
Now, Link2SD plus has nothing to do with adoptable storage as I was able to move apk and data over simply by getting the correct formatting on my SD card, though I don't remember the correct combination of ext2,3,4 partitions that made it work. What I do remember is after that I would only ruin apps by moving the data. Now, with adoptable storage, Link2SD cannot use the card at all though I haven't tried reformatting the second partition as an ext2,3,4,whatever.
Maybe go back to trying to get support from Link2SD developer?
djmcho said:
That was it... Now when I move apps with LINK2SD it seems like a ton of more free space is clearing on the internal... Before when I moved apps I think it was just moving the data..
Click to expand...
Click to collapse
Excellent!! I just got time to try it, and I now have much more available space. Thanks for your help!

Cache Partition stuck @ 60.5mb used

Why? It's been stuck at 60.5mb used and 1.2GB free according to Diskinfo forever now. Ever since I restored Madvane's unrooted B180 backup & then flashed root with Magisk.
Why does it bother me? Because I have no idea what I'm talking about and I feel like maybe Cache is storing in the Data Partition where I install my apps...? Is it?
Also with 1.2GB free in the Cache parition & 1.2GB free in the System Partition, can I just partition those and make the Data partition bigger for more available Internal Storage for apps and stuff? I mean I have external storage as default location but so many files still get installed on internal and I'd like to expand that if I could alter these partitions.
Anybody done that before or can answer my questions? Thanks! Images attached
Anyone ?
I have not read of anyone here repartitioning internal storage. I don't think it's as simple as repartitioning a PC hard drive with a GUI tool.
Do you have any tools in mind to do this repartitioning? I think it would be a highly risky operation, so be sure to make full backups and note all the original settings of existing partitions before repartitioning.
You can Google threads on people repartitioning internal storage for other phones, but note the ones who ran into problems and bricked their phones.
I wouldn't mess with the partition sizes, personally.. in theory it works, but it can trigger some arcane safeguards added by oems.
Try wiping the cache partition in twrp..? Could have gotten bugged, which would throw an error and require reformatting
Is there any indication of a problem with the cache partition?
It's biggest usage would be to download an OTA file, so unless that's happening, I would expect cache partition to remain remain mostly empty as OP reported. Probably what's in there is TWRP or stock recovery logs - you can confirm with a root file manager.
Wiping the cache partition as suggested won't harm anything and it would be interesting to know what it's reported usage is after wipe and reboot.
divineBliss said:
Is there any indication of a problem with the cache partition?
It's biggest usage would be to download an OTA file, so unless that's happening, I would expect cache partition to remain remain mostly empty as OP reported. Probably what's in there is TWRP or stock recovery logs - you can confirm with a root file manager.
Wiping the cache partition as suggested won't harm anything and it would be interesting to know what it's reported usage is after wipe and reboot.
Click to expand...
Click to collapse
I guess that was my question too. If there was any idication of an issue here. Seeing that free space I'd like to have it though.
On another note. There's no indication of anything being wrong with my Data partition but I formatted it to ext4 back when I bricked my phone in a hope it would fix something. But it seems fine. IDK what they default partition type was.
My data partition is ext4, which I believe is the stock default type.
divineBliss said:
My data partition is ext4, which I believe is the stock default type.
Click to expand...
Click to collapse
Thanks man you've been allot of help. Have you tried L-Speed? I'm thinking about trying it. I do have Kernel Auditiur installed. Don't use it.
Nothing is broke but thought about trying L-Speed.
Never heard of it. If you try it, let us know what you think.
WifiGhost said:
Thanks man you've been allot of help. Have you tried L-Speed? I'm thinking about trying it. I do have Kernel Auditiur installed. Don't use it.
Nothing is broke but thought about trying L-Speed.
Click to expand...
Click to collapse
divineBliss said:
Never heard of it. If you try it, let us know what you think.
Click to expand...
Click to collapse
I just tried it seems like a nice and easy way to tweak performance or battery.
I prefer kernel adiuator myself.. L Speed has too many generic settings which do next to nothing for actual performance, reminiscent of the many garbage tweak programs that have been out there for years. K.A. allowed for better control of the cpu governor settings, which allowed me to negate some of the impact of emui's 'battery optimization'. A little bit of entropy tweaking on top of that, and I no longer experience nearly the amount of choppiness

Categories

Resources