App2sd doesn't work? - Desire Q&A, Help & Troubleshooting

Hi all, two months ago I re-flashed the RCMixS rom (by robocik) and, until two days ago, it has been working perfectly.
In the last days I noticed a new, and big, problem: the internal space is decreasing without doing anything... i just installed one application (Ceramic Destroyer) but it doesn't occupy a lot of space... the incredible thing is that, in one day, my internal space left went from 65mb to 27mb!
I also started travelling in my system directories with Root Explorer and I noticed one curious thing: in /system/sd/app I have perfectly ugual copies of the files of /data/app
Theese files corrispond to my applications...
Anyone can help me please?

Ah, I forgot: from 4EXT Recovery I can see theese informations:
System
Size: 250 MiB
Free: 15.7 MiB
Data
Size: 147.6 MiB
Free: 41.4 MiB (actually I have removed some apps to increase the free internal space)
Sd-ext
Size: 1811 MiB
Free: 1100 MiB (<-- !!!)

Sbarabau said:
Ah, I forgot: from 4EXT Recovery I can see theese informations:
System
Size: 250 MiB
Free: 15.7 MiB
Data
Size: 147.6 MiB
Free: 41.4 MiB (actually I have removed some apps to increase the free internal space)
Sd-ext
Size: 1811 MiB
Free: 1100 MiB (<-- !!!)
Click to expand...
Click to collapse
you've proven to yourself that the A2SD is working fine
1811 - 1100 = 700MiB worth of apps installed on your sd-ext...
internal memory will still go down because app data (and maybe dalvik cache) go to the data partition by default. there may be a script on the rom thread to move dalvik cache to sd, that'll give you more space.
you can use diskusage to check exactly where your space is used on each partition

eddiehk6 said:
you've proven to yourself that the A2SD is working fine
1811 - 1100 = 700MiB worth of apps installed on your sd-ext...
internal memory will still go down because app data (and maybe dalvik cache) go to the data partition by default. there may be a script on the rom thread to move dalvik cache to sd, that'll give you more space.
you can use diskusage to check exactly where your space is used on each partition
Click to expand...
Click to collapse
ok but, anyway, my free internal space is still low... with 30 applications installed on the internal memory it's impossible to have only 41mb free! If now I install an app of around 5mb, my internal memory goes down of about 2mb and, with the app2sd script, it should go approximately down of 1mb...

You may need to move the Dalvik cache files to the EXP partition too if you want more space. From the looks of it, you only have the app files moved to the ext partition while the dalvik files are still on the internal memory of the phone. These files makes the internal memory go up.

Related

need Help about Dalvik Cache

Hey guys, i have this problem
i just flashed to GingerVillain 2.4...full wipe installation...nothing wrong with the phone..but i found out something wrong with the dalvik cache..originally is on internal memory before i install 2.4...after finishing installing 2.4...i open the a2sdgui...it shows that the dalvik cache is on sd-ext and when i tried to move it back to internal memory..it say error..not enough space left...
any experts can help to share some opinions??? i am a bit lost...
here my partitions:
/system: 145 MiB (6 MiB free)
/data: 255 MiB (170 MiB free)
/cache: 40 MiB (31 MiB free)
1G for sd-ext (ext4)
balance is fat32
no swap partition
after finishing installation, the 1st reboot..i opened a2sdgui..the information shows are as follows:
1. apps are on SD - ON
2.Zipalign on boot - ON
3. Swap is deactivated
4. Dalvik Cache on SD-EXT (not able to move - it say 'no enough space left', but can rebuild)
5. Dalvik JIT - ON
6. Heapsize is 32
7. Internal memory - 171mb (252mb)
8. SD-EXT - 978mb (1026mb)
9. Cache - 32mb (40mb)
Click to expand...
Click to collapse
Uninstall Apps2SD. The problem here is all your apps, including ones that are installed with your ROM are now on the SD card, and other things are stored where you would usually have your apps. So there literally isn't enough room for them anymore.
Plus, this is how you need your phone set up if you want to use A2SD+.
Hi Guys,
I'm having the same problem...
I installed AceSMod007 rom which moved the Dalvik cache to SD-EXT on first boot, now, I want to move it back to internal memory but I get an error 'Not enough space left!'
I have uninstalled all apps possible but still it will not let me.
Note I have a 732mb ext4 partition for Apps2SD.
Apps2SDGUI under the general information tab states that I have
Internal memory free(total): 129MB(147MB)
SD-EXT free(total): 517MB(731MB)
/cache/ free(total): 39MB(40MB)
Any help on this is much appreciated.
Use the search. This problem was discussed here already.
Thanks for reply MatDrOiD, tried the search but could not find anything.
Manually went through the first 12 pages and couldnt find anything either.
Think Im gona try increase the ext4 partition, reflash and try again.
Resizing ext4 partition and trying to move the cache after first boot didnt make any difference.
Cant seem to move the Dalvik cache at all

[Q] Resize HBOOT partitions

i have a buzz wildfire with alpharevx HBOOT
is possible to resize partition with tools like this?
[HOW-TO] Easily resize system + data partitions!
http://forum.xda-developers.com/showthread.php?t=1171531
actually the /system partition is 250 mb and the nightly cyanogen mod use only circa 120 mb
and the /data is only 175mb
and /cache 40 mb!
on alpharev.nl there is the sample configuration of partiotions for cm7 for bravo devices
/system /cache /data
145 mb 5 mb 287 mb
i'm interested on a similar configuration for my wildfire
anyone can help me?
http://forum.xda-developers.com/showthread.php?t=1233340
Keep cache at 10MB, and remember, only keep a 145MB /system partition if you are using AOSP ROMs like CM7. It won't work on stock / sense based ROMs. (You are using CM7, but, just thought I would let you know)
thanks it is my solution!
you could also make an sd-ext partition on your SD card and move your apps completely to your SD-card. That way I now only use 35 mb of my internal memory for app data, all the apps itself are stored fully on SD card. Works great

[Q] [ICS 0.7]insufficient storage error for particular apps

For certain apps play store is aborting the install displaying insufficient storage after downloading the app.
I was trying to install double twist player which around 7 MB. But play store was not allowing me to install even after several attempts.
I have installed ICS 0.7 (typical) with stock a2sd script with dalvik+app data in sd-ext.
i read somewhere wiping dalvik+cache will fix this, I did a wipe cache+dalvik from recovery but nothing changed.
With titanium backup when i checked the memory usage
System ROM : 262 MB (40.2 MB free)
Internal : 154 MB (150 MB free)
SD Card : 14.3 GB (3.64 GB free)
SD card(a2sd) : 1.58 GB (1.40 GB free)
I am not sure then why it is showing insufficient storage ?
Another amusing thing was i was able to install other apps of size 180 KB, 2 MB, 4 MB and even 7 MB. While some other apps of 3 MB and 4 MB i was not able to install.
Looks like the same issue as posted here
I am not entirely sure about that.
Coz in that post he says his titanium backup shows data is not moved to sd-ext
Hammerbak said:
I partitioned 2 GB of storage on my SD and it isn't using it all as you see on the titanium backup screenshot.
Click to expand...
Click to collapse
But in my case titanium backup shows app data has been moved to ext with usage info.
And for him with disk usage he could see cache is occupying large space
Hammerbak said:
I checked with the Diskusage app and found that approximately 600 MB was allocated for cache and data. Why isn't all of my 2 GB of sd-ext added to this "list"?
Click to expand...
Click to collapse
But for me with disk usage what i get is similar to titanium
/data (147.6 MB) - 143.5 MB free
/cache (40 MB) - 38.6 MB free
/data/dalvik cache (1511 MB) - 1344 MB free
/system (250 MB) - 38.3 MB free
iblueZ said:
I am not entirely sure about that.
Coz in that post he says his titanium backup shows data is not moved to sd-ext
But in my case titanium backup shows app data has been moved to ext with usage info.
And for him with disk usage he could see cache is occupying large space
But for me with disk usage what i get is similar to titanium
/data (147.6 MB) - 143.5 MB free
/cache (40 MB) - 38.6 MB free
/data/dalvik cache (1511 MB) - 1344 MB free
/system (250 MB) - 38.3 MB free
Click to expand...
Click to collapse
I run the same setup but with a2sd , dalvik and app to sd-ext , app data to internal.
My titanium:
System ROM 262 MB (43 MB free)
Internal 154 MB (129 MB free)
SD card 15.5 GB (14.2 GB free)
SD card (a2sd) 1.00 GB (789 MB free)
Bojan155 said:
My titanium:
System ROM 262 MB (43 MB free)
Internal 154 MB (129 MB free)
SD card 15.5 GB (14.2 GB free)
SD card (a2sd) 1.00 GB (789 MB free)
Click to expand...
Click to collapse
Hmmm looks similar.
One thing i forgot to mention yesterday i actually changed my microSD card (from 4 GB to 16 GB).
1) Used 4ext recovery to do (nand+ext) backup in 4 GB card
2) then copied fat32 contents from 4 GB card to 16GB card fat32 partition
3) restored the backup using 4ext in 16 GB
Not sure whether its due to that.
I am planning to try a full wipe and then restore apps using backup pro.
Lets c what happens after that.
In terminal
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
Yes the complete wipe did the trick, i think its some partition issue which was root cause of prob i guess.
In 4 GB card ext4 partition was 768 MB and in 16 GB ext4 i have given 1.5 GB. And i used 4ext recovery to restore nand+ext backup created, which might have caused some conflict related to storage space or a2sd working. (jst my guess)
I was getting lot of FCs and restarts doing so. I did recovery restore seeing this link
May be best option to transfer data/apps while swapping the card was to backup apps and data using my backup pro. And make a complete wipe and install ROM and then restore apps and data, at least in d case of ICS beta ROM .
bortak said:
In terminal
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
Click to expand...
Click to collapse
from my little understanding of linux commands you are asking to create a folder market-cache and then link the file downloaded to market-cache folder. Am i rt?
In that case it shud b 'cp' nt 'mv'
But i already did complete wipe n install. May be, i will try this next time . Thanks.
Another prob now....FCs poping up when i open dialer, maps, google talk, browser etc....i did try wipe dalvik+cache...even tried new installation after factor reset...the pop ups are coming after some time (may be few hours)...
These probs started coming after i started using sandisk mobile ultra 16 GB class 6 card.
i am attaching my logcat...pls help
Similar problem
Hi,
I have a similar problem,
I'm on HTC desire, Hboot stock bravo, partionned sd card with recovery (ext3)
I installed Beta_07.zip afert a full wipe (factory, cache, dalvick cache, battery stats, format sd card then create a partition, then install beta 07 from zip, selected default installation, then a2sd install in terminal, answer no for moving dalvik cache (because of bad performances), and yes for moving data, reboot ...
And now in the market i can't download anything at all
I wanted to install market fix (15 ko) ... market download it, and can't install "not enough space".
I'm soooo tired
I've tried
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
It doesn't work, he doesn't find market-cache directory :-/
Can you help me, please ?
can anyone please review the logcat and tell me whats going wrong?
adelie67 said:
Hi,
I have a similar problem,
I'm on HTC desire, Hboot stock bravo, partionned sd card with recovery (ext3)
I installed Beta_07.zip afert a full wipe (factory, cache, dalvick cache, battery stats, format sd card then create a partition, then install beta 07 from zip, selected default installation, then a2sd install in terminal, answer no for moving dalvik cache (because of bad performances), and yes for moving data, reboot ...
And now in the market i can't download anything at all
I wanted to install market fix (15 ko) ... market download it, and can't install "not enough space".
I'm soooo tired
I've tried
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
It doesn't work, he doesn't find market-cache directory :-/
Can you help me, please ?
Click to expand...
Click to collapse
Do a2sd install but dalvik cache YES to sd and NO to app-data.

[Q] Low disk space problem

hello,
Today my astro fime manager reported new update wchich I downloaded, but I received "low disk space" dialog and the app was not updated. I removed (uninstalled) the app and tried to install it again from the market, with same result ("low disk space", no installation).
I checked tith app managet the amount of free internal space - it says 286 MB free and more than 22GB on sdcard.
With Titanium Backup I cleared the cache (something like 4 MB was cleaned)
Link2SD shows:
internal: /data - 65% free (274MB)
card: /mnt/sdcard 79& free (22,01 GB)
2nd partition SD: /data/sdext2 86% free (1,55GB)
system: /system: 22% free (91,36MB)
cache: /cache 94% free (96,33 MB)
I wonder why /system is almost full - I nive planty of apps to 2nd partition with Link2SD, anyhow, 91MB should be enough to install 4,5MB app..?
Or should I fix something?
I am on LT18i, rooted, locked, with Ultimate HD ROM (wchich is great
any advice?
tman_pl said:
hello,
Today my astro fime manager reported new update wchich I downloaded, but I received "low disk space" dialog and the app was not updated. I removed (uninstalled) the app and tried to install it again from the market, with same result ("low disk space", no installation).
I checked tith app managet the amount of free internal space - it says 286 MB free and more than 22GB on sdcard.
With Titanium Backup I cleared the cache (something like 4 MB was cleaned)
Link2SD shows:
internal: /data - 65% free (274MB)
card: /mnt/sdcard 79& free (22,01 GB)
2nd partition SD: /data/sdext2 86% free (1,55GB)
system: /system: 22% free (91,36MB)
cache: /cache 94% free (96,33 MB)
I wonder why /system is almost full - I nive planty of apps to 2nd partition with Link2SD, anyhow, 91MB should be enough to install 4,5MB app..?
Or should I fix something?
I am on LT18i, rooted, locked, with Ultimate HD ROM (wchich is great
any advice?
Click to expand...
Click to collapse
/system is the ROM itself. And ICS ROMs do use lots of /system, so it is very normal.
Someguyfromhell said:
/system is the ROM itself. And ICS ROMs do use lots of /system, so it is very normal.
Click to expand...
Click to collapse
OK, so I shouldnt care about /system, right?
Anyhow I still have no clue what memory to free to imstall app..?
rest of "types" of memories (?) are at least 60% free, so what should be a problem?
tman_pl said:
OK, so I shouldnt care about /system, right?
Anyhow I still have no clue what memory to free to imstall app..?
rest of "types" of memories (?) are at least 60% free, so what should be a problem?
Click to expand...
Click to collapse
/data/app is where the apps are located, which are in internal memory and not on SD or anywhere else.
try fixing the dalvik cache it generally solves the problem.
cemunleashed said:
try fixing the dalvik cache it generally solves the problem.
Click to expand...
Click to collapse
I cleaned that with Titanium Backup (dalvik). It didn't solve the problem, at least I cant install astro wchich was installed (I removed it after I couldnt upgrade)..
Did you 'Integrate sys dalvik into rom' using Titanium Backup?This problem happens for all apps or only this one?

G5 system over 9GB...?

A friend has a G5 16GB storage 3GB RAM Amazon special. She started receiving "low storage" messages recently, and Disk Usage shows that her system data is well over 9GB with a few MB left free. I have no idea where the rest of it is. She claims not to have too many apps (she's not a propellorhead, so I believe her), she has deleted all onboard photos (now in Google Photos), and needs the few apps she has.
I think 9GB is too much for System. Can anyone tell me typical system space usage, and maybe suggest how to free up whatever is hogging the space, short of a factory reset, which as a non-propellorhead she refuses to do?
(She's 200 miles away, which makes it hard for me to diagnose too.)
Could be anything but if she uses apps like whatsapp then media that is sent and received is stored on the device but will not show in a gallery app as it contains a nomedia file
manually look in whatsapp/media folder on internal storage
Same for alot of other apps
You will just have to browse the apps - look at their data use and folders on internal storage
Can also just clean the cache
Thanks - good tip. It looks like a long Skype session coming up...
I have version 2 + 32 and when I had Android 7.0 I was dialing 8GB of the system, then I updated to Android 8.1 and it doesn't say how much it weighs but it released me 1GB, That is, if you have Android 8.1 it weighs 7GB and if you have Android 7.0 it weighs 8GB
same issue
Hi,
I'm having the same issue on my Moto G5 (16 GB storage, 3 GB RAM). The information about how much disk space is used doesn't fit the total of all the stored data. In detail here are the different values and where i got them from:
Android / Settings / Storage: 14.95 GB used of 16 GB
X-plore
Internal shared storage: 996 MB free of 10 GB; size of all the data in this folder: 4.65 GB (which is almost all from WhatsApp)
Root: 996 MB free of 10 GB; size of all the data in this folder: 160.2 GB (doesn't make much of a sense...)
TWRP / Wipe / Advanced Wipe: by selecting a partition and tapping "Repair or Change File System"
System: Size: 3243 MB, Used: 1686 MB, Free: 1557 MB; File system: ext4
Data: Size: 10267 MB, Used: 3640 MB, Free: 1186 MB; File system: f2fs
Internal Storage: can't be selected
This issue occured since the first clean install of LineageOS 14.1 (LOS 15 wouldn't work then). After a clean install of LOS 16 there was no significant change, free space did increase a little bit, probably due to cache wipe. So far I managed to live with the issue but from time to time I'm getting low storage messages and I have to delete data even though there should be enough space.
Does anyone have an idea why these numbers won't fit or how to get back the remaining amount of strage?
Each one will give a different size because they take different partitions into account
Eg android settings will probably take system data & cache partitions and add these all together to give a total size
TWRP will split each partition into its own size
And so on
Some "free space" will not actually be free space but will be reserved for system use
On average you will need about 800mb of free space as reported by android system settings to be able to update/install new apps
The biggest issue is system apps - when these get updated the system apk doesn't get updated. Instead the updated apk gets installed to the data partition tus you actually have two of the same app installed. One is the system app & the updated version in data.
This is good if you ever have issues and need to roll back to the system installed version but many users don't and it just takes up probably another 2gb of storage
Now you can either replace the system app with the one in data or you can remove the app entirely & reinstall just to data - Obviously each method requires root & can brake stock ota updates etc
Or if you are using a custom rom install the minimum amount of gapps for functionality (eg nano gapps) instead of stock gapps & manually install any other required apps
Other than that there's nothing you can do except clear cache & keep a check on apps that download media such as WhatsApp & delete that media from its folder in internal storage
As the original poster I can only add what I have found out. Since the phone was a remote one I had no direct access, but my friend went to a local Android specialist who diagnosed that her missing memory was caused by photos. When the photos were deleted from the phone, but kept in the cloud, her memory usage dropped to acceptable levels. I have no idea why local photos would count as system storage.
dahawthorne said:
As the original poster I can only add what I have found out. Since the phone was a remote one I had no direct access, but my friend went to a local Android specialist who diagnosed that her missing memory was caused by photos. When the photos were deleted from the phone, but kept in the cloud, her memory usage dropped to acceptable levels. I have no idea why local photos would count as system storage.
Click to expand...
Click to collapse
As mentioned in previous post it depends what the app deems system storage - usually it combines all internal partitions like it does in system settings storage
Unless you use a root app or twrp that can read and access individual partitions I would take system storage as a combined total of all usable internal partitions - so images would make up this total on internal storage which is why I mentioned whatsapp media
I resolved the out of space issue by installing a 32GB microSD and configuring as internal storage
Thanks for the quick replies!
Still I don't understand this massive use of disk space. I'm using LineageOS since the first day I use this phone. On LOS 14.1 I had MicroG, now on LOS 16 it's openGApps pico. Updates have to be installed manually, as for this phone there's no official LineageOS. All the data of my Apps is moved to the external SD card except WhatsApp.
So basically there's not much disk space used. As mentioned above, it's 4.65 GB of used space of the internal storage (according to X-plore its path is /sdcard). If we assume the internal storage to be just 10 GB of the physical 16 GB, then there's still half of the capacity unused. That's a big difference to the reported 996 MB (today it's 932 MB).
Might this difference come from mistakes at installing or manually updating LineageOS?
After updating to LOS 16 by clean install, there was no big increase of free space. Is there a possibility to get some space back in the course of a clean install?
Furthermore, the free space of data partition according to TWRP is just little above 1 GB, eventhough it says only about 3.5 GB of the 10 GB are used. I thought at least TWRP would show the real amount...
PorkKnuckle said:
TWRP / Wipe / Advanced Wipe: by selecting a partition and tapping "Repair or Change File System"
System: Size: 3243 MB, Used: 1686 MB, Free: 1557 MB; File system: ext4
Data: Size: 10267 MB, Used: 3640 MB, Free: 1186 MB; File system: f2fs
Internal Storage: can't be selected
Click to expand...
Click to collapse

Categories

Resources