[Q] Out of space with a2sd on LaidbackNikez JB Alpha9 - Desire Q&A, Help & Troubleshooting

Hi everyone,
I've installed today the last release of LaidbackNikez JB Rom after a full wipe.
I have a sd-ext partition of 512 Mo.
I followed the install instructions and run a2sd install yny, reboot, and when I restore my apps with TB I have an out of space error.
It seems that a2sd doesn't work.
Anyone have a solution for that ?

512MB is quite small, A2SD could be working as it should, and you may have literally just run out of space...
uninstall something to make room, then install an app like 'diskusage' to browse all your partitions (can do this for any rom), you may find your ext partition full as it contains apps and dalvik-cache
i would backup your sd card, and repartition your sd with a larger ext4 partition (1 to 2GB max depending on how many apps you have), using gparted or 4ext recovery only

Not Enough Space
eddiehk6 said:
512MB is quite small, A2SD could be working as it should, and you may have literally just run out of space...
uninstall something to make room, then install an app like 'diskusage' to browse all your partitions (can do this for any rom), you may find your ext partition full as it contains apps and dalvik-cache
i would backup your sd card, and repartition your sd with a larger ext4 partition (1 to 2GB max depending on how many apps you have), using gparted or 4ext recovery only
Click to expand...
Click to collapse
I have exactly the same problem. It has been working fine since ICS Beta Rom started with 10 till 18.1, both releases of JB Pre-Alpha 7 & 8. But after upgrading to Alpha 9, I can't restore my backups tooo... I get an error "Not enough space"
Have a Sandisk 16GB Class 4 card, that was working fine till now. Also tried a Tanscend 16GB Class10 card. Same issue. I just go to settings>>Apps, I can see them on the Internal Memory only.

I've discovered on my nexus one, with a2sd yny and a tiny cache partition, that app cache is stored in the data partition. along with app data of course. This is what has caused me to run out space even though I still had plenty of sd-ext remaining.
anyone experiencing this issue will need to run the df command from a terminal or install an app that tells them the usage of each partition. if you have a large enough sd-ext, rerunning a2sd with yyy (ie. moving app data to sd-ext) should solve your problems.

Related

App2Sd Causes phone to not boot. HELP!!!

Hi I just rooted my phone using a method from another website ( not sure if i can post the website as that is xda-developers policy.. )
It rooted fine and it loaded back and i could use my phone.
Then I try to install app sd, i follow a guide to the letter, and once it rebooted it just gets stuck at the htc white screen. I've been waiting for 10 minutes and nothing loads. Is it bricked? I can still go into bootloader or whatever but how do i get it back? Is it the SD card?
I'm using a 8GB sdhc card Kingston Class 4. If it has to do with anything. What do i do? I really need to use the phone!!!
What rom did you install?
Does the rom you have not already have Apps2SD integrated? (check thread title of rom and change log notes to find out)
Are you able to get into Recovery Mode?
If you did not flash a Froyo only (not Sense UI) rom, did you forget to partition your SD card before rebooting?
Sent from my HTC Desire using XDA App
i install whatever rom that came with the package of rooting from android.modaco.com. I don't knwo what it is but i'm guessing its some 2.1 rom.
No i think the roms was used jsut for rom, so i dont' think app2 sd is integrated. I am able to get into recovery mode, but don't know what to do it from there.
I actually partition the sd card and did the ext2 to et 3 and after it finished i rebooted and it just get stuck on this screen. What i did now is install a custom rom on it and it boots. However I want to load back just the htc rom that came with the root package and add Apps 2 SD
On MoDaCo, there should be an option to download a custom 2.1 based rom that already includes A2SD in the downloads section. Try downloading that rom, in Recovery Mode, do a full wipe, flash the rom, and while still in Recovery Mode, partition your SD card with 0 MB swap, ext2 size of 512 MB, rest to FAT32. Then convert ext2 to ext3.
If you still have the same issue, report back here bud.
Just make sure it is a 2.1 based rom that you are attempting to flash with A2SD. If it is a 2.2 Froyo based rom without Sense, then you do not partition your SD card at all as it is setup differently.
does your sd card have an ext partition? if your using an apps2sd with a dalvik cache script, your fone wont boot without a ext partiton because your fone has nowhere to put the dalvik cache lol
Thank to the two of you for your help. I was planning to use 2.1 as I only wanted a2Sd because i ran out of space very easily installing apps and games.
Anyways i wipe and install the official froyo sense one from adamg from here in the desire forums. Now i'm confused, he saids he has google's app2 sd, legacy app2 sd, and davlik cache app2 sd..
Can u guys explain the differences? What is app 2 sd+ ??
I understand google's one is the one that comes with froyo that it only works if the developers of the games and apps code it in, or else it wont' move to the sd card. Legacy is the one which uses the ext3 partition ( which i still have btw.. ) but i don't know how to use that one even though its already preinstalled. I have no idea about davlik cache except that i had to clear it before i install app2sd.. and i'm in the blind for a2sd+ ...
Thanks
I read somewhere minimum class of sd should be 6 for apps2sd. Also had a freeze once, i panicked then took battery out, went into recovery and just re-installed ROM and it worked after that.
@Supergluey basically, a2sd just moves the apps, while a2sd+ also moves the dalvik cache.
The Froyo implementation is pretty lame (only moves apps if allowed by creator) and is best ignored.
If your rom comes with the legacy a2sd (not Froyo native) then you can partition your sd card in Recovery Mode by setting a 0 MB swap size, an ext2 size (dedicated for apps) of 512 MB, and remaining space to the FAT32 file system (mass storage space).
You then convert ext2 to ext3 while still in Recovery Mode.
Explanation about how Dalvik cache works: when Android OS starts up, the DalvikVM looks through all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimise the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimised bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's re-optimised and the cache is updated.
Sent from my HTC Desire using XDA App
MasDroid said:
@Supergluey basically, a2sd just moves the apps, while a2sd+ also moves the dalvik cache.
The Froyo implementation is pretty lame (only moves apps if allowed by creator) and is best ignored.
If your rom comes with the legacy a2sd (not Froyo native) then you can partition your sd card in Recovery Mode by setting a 0 MB swap size, an ext2 size (dedicated for apps) of 512 MB, and remaining space to the FAT32 file system (mass storage space).
You then convert ext2 to ext3 while still in Recovery Mode.
Explanation about how Dalvik cache works: when Android OS starts up, the DalvikVM looks through all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimise the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimised bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's re-optimised and the cache is updated.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks MasDroid. I get the differences now. But i have a problem. So like my last post I install the official froyo rom that is posted on here by AdamG. I loved it cause its based off some hong kong test rom and i'm in HK However, he added more features to it such as the apps to sd (not the froyo one ) and davlik cache app to sd.
I formatted my 8GB with the swap file , fat 32 and ext 2 converted to ext 3 respectively to the sizes you stated. However whenever i install apps it still goes to the internal memory! I tried different partitions and it still doesn't' work! I tried wiping everything and re-flashing the rom and it doesn't' work. I also tried forcing it to install to external but all apps just fails to install. I tried reformat and remove all partitions and re partition again once through recovery mode and another through the android sdk and using adb. Is it the sd card problem?
When i first rooted my phone, with defrost and then later changing to devillian. It worked. Apps were installed on sd card but i changed roms because i found out it was dragging the internal memory as well. So i would still gt the "I have no space" message. What can I be doing wrong?
ruisinho said:
I read somewhere minimum class of sd should be 6 for apps2sd.
Click to expand...
Click to collapse
Definitely not true.
I use Apps2SD on my 16gb Sandisk Class 2 card and never have any lag whatsoever.
Regards,
Dave
foxmeister said:
Definitely not true.
I use Apps2SD on my 16gb Sandisk Class 2 card and never have any lag whatsoever.
Click to expand...
Click to collapse
+1
16 gig Sandisk class 2, absolutely no difference or lag comparing to internal memory

[Q] Question about Sense Roms

I was hoping for some help..or even a point to the correct thread to find the answer:
How can one install any of the newer sense 3.0+ roms and still keep all apps without the phone crashing? The roms are easily between ~250 - 350 mb in size and there is no room left over for apps that I have saved in back up. I know I can move them to the sd card but I never get the chance to once i restore them due to the phone crashing. I have read about formatting the sd card but I really don't know how.
Is there someplace I can find this?
Thanks in advance
http://forum.xda-developers.com/showthread.php?t=1121538
So I followed the guide and it worked perfectly. The roms finally work and don't crash. However, now I only have about 20 - 40 mb free. I try to move my apps to the sd card using the function that comes with the rom, but it says my sd card is full. I have about 6 gb free on my card. Any idea why that's happening or how I can get around that?
Thanks again
Unfortunately this is just an inherent flaw of the Evo; the internal space is so small that you can't really enjoy a big Sense rom that uses 3.0 features and have a lot of apps. Only way to get all the room back is to flash a smaller rom.
Format your SD card with an ext3 partition. Make it 1gb or whatever size you desire. Most Sense ROMs support a2sd where it tricks the phone into thinking the ext3 partition is part of the phone internal storage. You can install as many apps as you want with the apps stored on the SD.
Thanks for the replies. I've formatted the sd card in ext3 and made it 2 gb. I wish it had more internal space. Any idea why its saying my sd card is full when I have over 6gb left of free space?
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
sharkboy0901 said:
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
Click to expand...
Click to collapse
I wouldn't do all of this unless you have at least a class 6 or higher sdcard.
Definitely use dark tremors a2sd. Search for dta2sd.
If you partitioned your card to ext3, It should work automatically, but use the a2sd install command, just in case.
You can use the other commands, but you shouldn't need to. They move the cache partition including the dalvik cash to the ext3 partition, and if your card isn't fast enough, it will create lags, and other issues.
Make sure to wipe cache and dalvik before/after you flash dta2sd.
Sent from my PC36100 using Tapatalk

[Q] a2sd problems on ICS

Hey,
I've been using ICS (beta 0.4.2.1 now, beta 0.3.9 previously) and none of the a2sd scripts seem to be working. I tried to use the one you have to activate through adb, and today when I updated to 0.4.2.1 I chose another one from the installer. My phone still reports 148 MB of internal storage...
I've had a thorough search of similar threads, but you know how difficult it is to find any meaningful information on this forum; can someone please point me in the right direction? Thank you!
I flashed ICS and installed the bundled a2sd script and it worked like the script on Insertcoin. That is the system still displayed the data partition size of my hboot but the SD ext4 partition was utilised for apps. If you have titanium backup you can see the data usage on the home screen.
I also flashed amarullz script. This script did change the reported internal memory to my SD card partition size. I did not use it long so I can't comment on how it runs on s class 4 SD card.
Sent from my HTC Desire using XDA
You did not understand how A2SD works. It moves all apps (with A2SD+ also dalvik-cache) you install automatically to an EXT-partition (some of their data still remain in internal memory). But it does not increase / decrease the size of internal memory.
If you want to change the size of internal memory, you have to use a script which moves the whole /data-partition to an EXT-partition. The size of this partition is then the size of your internal memory. The name of this scripts is DATA2SD / DATA2EXT.
Sent from my HTC Desire using Tapatalk
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Did you ever get a fix for your problem?
I have something similar. Was running 0.3.9. and decided for a couple days ago to upgrade to a newer edition. Wiped data/factory reset, wiped cached and dalvik-cache, and installed the new version.
Used stock everything, activated a2sd and tried to start and install some apps from google play. Got a message that it was not sufficient space.
Did get titanium installed, and that reports the different "drives" correctly, but I still don't get it to work as it should. If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Anyone got any ideas?
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
arsvendg said:
If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Click to expand...
Click to collapse
Same problem here. I tried to wipe caches and even recreated the partitions but still no luck with the stock a2sd.
robla1000 said:
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
Click to expand...
Click to collapse
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
arsvendg said:
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
Click to expand...
Click to collapse
App and appdata are different things:
The App it's the "core" and are loaded in the RAM when you start them, so if you move them to sdcard you get a slowdown only on the boot of the app itself
The Appdata it's the data created and used by the program to run, likes databases and so; if you move it to the sdcard you get a slowdown 'cause the program continuosly try to access it.
someone correct me if I'm wrong, i'm still learning the stuff
Long story short: normal A2SD+ methods (like DarkTremor or m2sd) only move a part of /data, linking the files; you will NOT see the increased space but your Apps will occupy less memory.
Data2sd method like data2sd or Amarullz A2SDX will "swap" the ext space with the internal data memory, giving you a visible increase in your internal space.
TL;DR if you have a fast SD card you can go for the latter, else stick to m2sd wich is a new and good method to move application!
For partitioning, I suggest you to use 4ext touch recovery, you can install it on your phone from 4ext.net and flash your new recovery directly from your phone (you need to have S-OFF!); after you have your new recovery flashed:
make a backup of your SD card data (you have to format it)
Reboot in recovery
Go to "Tools"
"partition sd card ->"
"Remove all partitions and start from scratch"
Now you have to set, in order, you primary ext dimension, your secondary ext dimension and the swap dimension
I usually go for - 1st ext: 1024 -2nd ext: 0 - swap: 0
Select ext4 for your first ext partition
Now you are ready to use wathever a2sd method you want.
Hope this will help you!
Regards,
Ryther
Ahh I'm just going to leave this here.
All the ICS Devs have done a great job - Kudos to them.
But if you want a bugfree ROM which works well, for now - GIVE UP on ICS.
Go back to CM7 - it'll do you good.
Don't give up on ICS because SOME people have issues. I've ran an ICS build with a2sd working just fine no bugs whatsoever. I have not tried a data2ext script on an ICS build though so I don't know about that.

[Qext4 partition problem

hi everyone,
i just rooted and installed the Cyanogen 7.2.0.1-bravo rom and partitionned my sdcard 16gb to a FAT32 partion and ext4 partition with 1gb.
the problem is the intern memory !! ( lack of space ), idk if i missed something or didn't installed a script ... i have app2sd already installed and i moved the most of the apps to my sdcard but the ext4 partion is not used and can't see it .
so what do i have to do ?
ps: i just istalled a2sdFroyo, but doesn't help or i didn't used it right ...
pls help
when you say "i have app2sd already installed" how have you done it?
how did you partition your sd card, should be done with gparted or 4ext recovery only. if you used something else, backup your sd and repartition.
to maximise space, s-off and change hboot to cm7r2, recommend guides here (read them slowly and several times to help your understanding)
then full wipe, install rom.zip again from scratch
to enable the A2SD, one method is to install an app like S2E which can move apps automatically to sd-ext, no need to 'move to sd'. you can keep dalvik cache on internal, and move it to sd-ext if you still run out of space. internal memory will always go down as stuff builds up on internal (data partition)
whatever rom you use, install an app like 'diskusage' to browse all your partitions in future, that way you can actually see where and how your space is being used
i followed the MiniTool Partition tuto to make partitions and then i installed normaly app2sd
why do i have to reistall the rom again ?
darko1x said:
i followed the MiniTool Partition tuto to make partitions and then i installed normaly app2sd
why do i have to reistall the rom again ?
Click to expand...
Click to collapse
do not use minitool, this may be the reason why you cannot use the partition at all.
backup your sd card to pc first, then use gparted, there's a video guide from the link i posted
(make sure you have a nandroid backup, titanium backup of apps and backup contacts to google)
i am advising a full wipe because i don't know how you "installed normally app2sd". if you reinstall the rom from scratch without anything else, there is less chance of things going wrong. using S2E afterwards is easy.
if you want to set up this rom or any rom properly so you don't run out of space, you should understand where all your apks, data and dalvik are stored, and what the different hboot partition tables are. it's all in the guides i linked.
i installed app2sd after i finished with the rom and the partitioning of the sdcard, and it works without any problem
i istalled now S2E and i transfered the apps to the ext folder now i have 140Mb free space and i think it's working now becuase i sync with skype and facebook and i still have the same space in my internal memory ...
what do you think ?
darko1x said:
i installed app2sd after i finished with the rom and the partitioning of the sdcard, and it works without any problem
i istalled now S2E and i transfered the apps to the ext folder now i have 140Mb free space and i think it's working now becuase i sync with skype and facebook and i still have the same space in my internal memory ...
what do you think ?
Click to expand...
Click to collapse
if you install something like 'diskusage' you can KNOW if it is working...
i would still recommend s-off and change hboot to cm7r2. this will use space more efficiently, and you can install many more apps. just read the guides i linked. you can still learn a lot more
Hi. I think its working, from 1Gb i still have 700 Gb in green color.
Am i right ?
Sent from my HTC Desire using xda app-developers app
write down your free sd-ext space then install an app from the play store. Check the space again. If it had gone down your sorted.
darko1x said:
Hi. I think its working, from 1Gb i still have 700 Gb in green color.
Am i right ?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
looks like it is working
with diskusage you can just zoom in on all your partitions including sd-ext, so if you see your app apk's there the script is working.
open diskusage again and select /system. i'm willing to bet that you're still on stock hboot. you will see a lot of free space on system partition, which is useless...
therefore still recommend (for the last time) to s-off and change to cm7r2 hboot. you seem to keep ignoring this and the guides...

[Q] SD-card partitioning / storage layout on desire

Dear XDA forum,
since a few roms i always get a "low on storage" warning, even after factory reset and flashing a new rom.
So i'd want to ask for a small summery of what storage there is inside the desire and on the sdcard and how to solve this problem
My sdcard is 16GB class 10. I didnt partition it manually (i think).
according to my desire it has effective 14.2gb.about 2gb are used and 4gb are free? that doesnt sound right.
so i guess its 2 partitions?
could anyone please tell me which mountpoint is which?
and how do i solve the low storage problem? do i need some a2sd script or do i have to more the internal storage to the sdcard?
which mountpoints do the scripts actarlly move?
i have no problem with repartitioning my sdcard. i was given to understand that u usually need a fat32 partition (for apps i guess) and an ext2/3 partition afterwards. some scripts even allow a swap partition at the end of the sdcard to be used as swap space. is that a good idea?
i know its a lot of questions :/ but i hope for some good answers :>
thanks & greetings,
soomon
my advice would be to backup your sd card and (re)partition using gparted, start from scratch because I don't know what your current configuration is, step 5 here
choose ext3/ext4 partition (max ~1.5GB) depending on rom requirements, most support ext4 and should be slightly faster. most roms don't need swap partition.
in simple terms, your space will get taken up by apps (apks), dalvik cache, app cache and app data. most custom roms will automatically move apks to your sd-ext partition. there are various different scripts which move the other bits around. generally it is better to keep app data on internal (/data partition)
regardless of which rom you choose, use an app like 'diskusage' to browse all your partitions, so you can work out where and how all your space is being use.
to maximise space you also need to be s-off and correct hboot for the rom (again should be stated within each rom thread, or search within it)
ok so the first partition on the sdcard will become my sd-ext which will replace the /data partition on the internal storage.
I guess is hould try data2sd then?
with a class 10 it should not get that slow and i get loads of space on that partition.
thanks for your help.
also use links2d,very usefull.....
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
soomon said:
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
Click to expand...
Click to collapse
depends entirely what rom you're running if any, and what scripts it uses. basically you should be able to find some way to install many apps without running out of space (one of the main reasons for rooting in the first place ).
with your current setup, you could try something like link2sd to just move apps and dalvik to sd, see if you have enough space that way. you shouldnt have to manually 'move to sd', keeping them on 'internal' tricks them to sd-ext. (you can use something like 'diskusage' to check they're actually on the sd-ext)
the system partition is meant to be mostly full. free space on /system is wasted space.
you're still on stock hboot, which is why your data partition is so small.
if you install another rom, many of them have a smaller system size, so if you're s-off you can flash a different hboot to repartition your internal memory layout: your system size will reduce to roughly match your rom, and the saved space is converted into extra data space, see alpharev.nl for hboots.
e.g. if your rom system is 140MB, will fit nicely into cm7r2 hboot with 145MB system, and you get 287MB of data instead of 150MB. 287MB can be enough to store app data and dalvik cache if you don't have too many apps.
i refer you to these sets of guides for further reading, should explain a lot more, and better than i have...
thanks eddie,
i'm still s-on and stock hboot, but i use a custom rom: http://forum.xda-developers.com/showthread.php?t=1766550
i guess the problem is that LBE gues 4 and lookout together need over 22mb of space :/
i'll try link2sd then.
thanks!
hm.. when i try to install link2sd i get "insufficient storage available". that program is not even 1MB in size and i have 15mb of free space on the internal storage.. what can i do?
edit: i'll try to install it at home with an adb tool. maybe i have more luck with that.
follow instructions for a2sd with that rom (scroll down). this will move apps and dalvik to sd-ext automatically. or follow/search the thread for other methods, it's regularly discussed...
[not used link2sd, it should in theory do the same thing, but my advice would be to stick with the instructions as that's the recommended way if you really need/want to install link2sd...uninstall something else to make more space ]
ofc removing apps might help (althrough i only installed 2 or 3). but 15mb should be enough to install a 800kb software
gonna try to install some apps later after running a2sd.
thanks a lot man didnt see that information.

Categories

Resources