Low space even while using 1GB ext3 partition - Desire General

I have HTC desire with Leedroid 2.2 rom
the problem is I used to have a 512 MB ext3 partition for apps and the space getting low while not installing that kind of apps
then I formatted and made that partition 1GB and while using different froyo roms the space getting low
last time yesterday I had to remove many apps regardless the apps I've already moved to micro SD in order to install a tiny app and to remove the low in space icon in notification bar
the problem is I'm not sure either if the space is used or not, and how would I know that for sure?
I've installed yesterday an app named link2sd which should display the data for ext2, 3 or 4 even
when I choose them the app display it fails to open it
any help?

Titanium backup also shows.
Do you have an activated apps2sd+?

davebugyi said:
Titanium backup also shows.
Do you have an activated apps2sd+?
Click to expand...
Click to collapse
how does the Titanium backup show it?
I guess I've activated it when I rooted it a year ago, how to check that?

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, it shows on the first screen.
If you have Darktremor's script you can check it with a2sdGUI

Leedroid==cyanogenmod script.
Open terminal emulator and type:
su
ls -l /data
Then post the output.

davebugyi said:
As you can see, it shows on the first screen.
If you have Darktremor's script you can check it with
Click to expand...
Click to collapse
thank you
first I've checked TB and it says A2SD 790 MB and free 97 MB (I dont know how and why if there is 97 MB free keeps says low space?)
second I've downloaded the App and it displayed a message
could not start for one of these reason
1-your device is not rooted (which is already)
2- A2SD script could not be found
3-No EXT partition found
so?

erklat said:
Leedroid==cyanogenmod script.
Open terminal emulator and type:
su
ls -l /data
Then post the output.
Click to expand...
Click to collapse
any tutorial for the terminal emulator

M_HaFeZ said:
thank you
first I've checked TB and it says A2SD 790 MB and free 97 MB (I dont know how and why if there is 97 MB free keeps says low space?)
second I've downloaded the App and it displayed a message
could not start for one of these reason
1-your device is not rooted (which is already)
2- A2SD script could not be found
3-No EXT partition found
so?
Click to expand...
Click to collapse
the app is for an other kind of script probably
anyway ur a2sd is working as its about full (how many apps u have?!?)
anyways u get low space message because probably ur /data partition is full,
with the terminal emulator app type df -h and see the space used from each partition
-install https://market.android.com/details?id=jackpal.androidterm
-open the app
-type su and press enter
-type df -f and press enter
-see the result

here you can find the screenshots in the attachment
sorry I couldn't just display them as images cause of new members restrictions

M_HaFeZ said:
here you can find the screenshots in the attachment
sorry I couldn't just display them as images cause of new members restrictions
Click to expand...
Click to collapse
good..as u can see u have only 14.8 mb free on the /data partition (the low space message is related to that)
that because even with a2sd, the data related to each app (settings, ecc and even the dalvik cache) are stored on the data partition and not on the ext (only apk are on the ext)
then..or u remove some apps that u dont need or u should increase ur ext to 2gb and go for a data2ext script/rom (which move app data and dalvik cache on the ext)

andQlimax said:
good..as u can see u have only 14.8 mb free on the /data partition (the low space message is related to that)
that because even with a2sd, the data related to each app (settings, ecc and even the dalvik cache) are stored on the data partition and not on the ext (only apk are on the ext)
then..or u remove some apps that u dont need or u should increase ur ext to 2gb and go for a data2ext script/rom (which move app data and dalvik cache on the ext)
Click to expand...
Click to collapse
I still dont believe I'm using all this size
anyhow the contacts store itself uses 22 MB as data
for the data2ext script/rom, is is a program or smth?

you can give a try to move the dalvik-cache to ext3
1. open terminal emulator
2. type su
3. a2sd help (to show list of commands)
4. a2sd partlist (displays list of supported partitions)
a2sd reinstall - Moves free and paid apps to the ext2/ext3/ext4 partition on your secure digital card. Removes the No A2SD flag file
a2sd cachesd - Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag.
for more help on a2sd command refer
http://www.facebook.com/note.php?note_id=158826790833326

kmaq said:
you can give a try to move the dalvik-cache to ext3
1. open terminal emulator
2. type su
3. a2sd help (to show list of commands)
4. a2sd partlist (displays list of supported partitions)
a2sd reinstall - Moves free and paid apps to the ext2/ext3/ext4 partition on your secure digital card. Removes the No A2SD flag file
a2sd cachesd - Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag.
for more help on a2sd command refer
http://www.facebook.com/note.php?note_id=158826790833326
Click to expand...
Click to collapse
Sigh....
As I stated already, Leedroid uses Cyanogenmod script and that commands are for Darktremors's script. I beg to differ.

erklat said:
Sigh....
As I stated already, Leedroid uses Cyanogenmod script and that commands are for Darktremors's script. I beg to differ.
Click to expand...
Click to collapse
As in the earlier post that it mentioned about a2sd, i suggested the steps to check and reinstall it.
for cyanogenmod installing S2E (simple2ext) may help.

kmaq said:
As in the earlier post that it mentioned about a2sd, i suggested the steps to check and reinstall it.
for cyanogenmod installing S2E (simple2ext) may help.
Click to expand...
Click to collapse
S2E works only with Cyanogenmod rom.

I've run the terminal emulator
types su
and every a2sd command gives me command not found !!

This is why I don't like Ap2SD script. What's happening for you is say you have 20MB internal Memory and you have 400MB ext3 and you download an App say 15mb in size. What happens is 10MB will go to ext3 and the other 5MB will go to internal memory, leaving you 15MB now repeat that and you will soon get low space message.
Switch to Data2SD script and all your problems will be gone note you will need a SD card class 4 and above or you get lag.

Thank you
I will search for a way to that switch
and I already ordered a Class 10 microSD card

Related

[SOLVED] [Q] Just flashed CM7 and I have A2SD problem + other weird problems

Hey guys
I just followed this guide to root, S-OFF, partitioned and installed the CM7: [Video Tutorial] Noob Proof Everything Desire Guide UPDATED [04/04/11] after playing with it for a while, I think A2SD is not working.
Before flashing, I partitioned my SD with Gparted Live CD like this:
1st Partition: FAT32
2nd Partition: EXT4
3rd Partition: EXT4
After the fresh flashed, no apps installed, storage information read:
SD Card:
Total - 13.80GB
Available - 13.32GB
Internal:
Total - 148MB
Available - 108MB
then I installed Titanium Backup, Doodle Jump, SwiftKey Keyboard and Quick System Info Pro and it now reads:
SD Card:
Total - 13.80GB
Available - 13.20GB
Internal:
Total - 148MB
Available - 92.59MB
is this normal? No I don't think so.
I also checked from Quick System Info and at the A2SD storage it says Total:756MB Free: 701MB
then I searched through the threads and found this How to check if Apps2SD has been installed correctly... so I typed in the command "su" then "ls -l /data" in Terminal Emulator but it returns no dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app like it wrote in that thread.
Then I typed "busybox df -h" and also no /system/sd is being used.
Last command, I typed "ls /system/sd/app" and it said "No such file or directory"
What am I suppose to do to get it working?
Another question...
During the first system setup, it asked me if I want to install apps from Market bla bla bla I can't remember it exactly and I pressed Cancel and it came up again after I downloaded the first app from the Market, it asked if I want to install Facebook app, Gmail, Google apps etc. and let me check what app I want, again, I pressed Cancel. But now I want to install those apps and where can I run it?
I also applied the gapps-gb-20110307-signed.zip right after I flashed the CM7 since I thought Google Apps will be installed. But there are no Google Apps installed on my device. Why? What apps are in the Google Apps package?
Thank you for reading my long thread and I appreciate all replies.
Update1: My GOD!! After rebooting my device for the first time, the notifications bar is GONE! I browsed through the ADWLauncher settings and still can't get it back. What on earth is going on?!?!
Update2: Looks like I '****ed the installation up a bit' like Meaple said. Now when there is an incoming call, the phone rings but nothing on the screen happened. I must press on the telephone icon and press 'Return to call in progress' (which will appear when there is a call) to get to the incoming call screen then I can swipe to pick up the call!! This is crazy.
Ok you do realise you got out all wrong. Firstly you only need 1 fat32 partition and 1ext partition only. Fat32 goes first. Secondly there is an app in the market called s2e which overalls the a2sd script for you and you can choose what goes on your sd card. Thirdly it sound like you ****ed the installation up a bit. Just do a complete fresh wipe.
If you read the cm7 post by kali you would understand.
Swyped...
Meaple said:
Ok you do realise you got out all wrong. Firstly you only need 1 fat32 partition and 1ext partition only. Fat32 goes first. Secondly there is an app in the market called s2e which overalls the a2sd script for you and you can choose what goes on your sd card. Thirdly it sound like you ****ed the installation up a bit. Just do a complete fresh wipe.
If you read the cm7 post by kali you would understand.
Swyped...
Click to expand...
Click to collapse
- OK. How big should the EXT4 partition be?
- Thanks for recommending the S2E.
- Yes I think so. Actually at the S-OFF procedure there was a problem too. I posted in the AlphaRev's thread like this
hi, I'm trying to S-OFF my phone following this guide: [Video Tutorial] Noob Proof Everything Desire Guide UPDATED [04/04/11][Video Tut]
the process went well, I got the line said 'HBOOT flash: SUCCESS' then the next line said 'Flashing new bootblock: OK' and I stuck there for about half an hour. So I Googled it and found this on AlphaRev's site
Verify that the phone says: 'HBOOT flash: SUCCESS!' -> S-OFF is done.
You might get only a few more lines after that, such as "Flashing new bootblock: OK". This usually means the process got stuck
when the HBOOT flash is already done.
As long as you have the above 'HBOOT flash: SUCCESS' line on your screen, it is safe to pull the battery.
Boot into fastboot with to verify S-OFF (BACK+POWER).
You will need to restore at least your /boot image from your nandroid.
Click to expand...
Click to collapse
so I pulled the battery, disconnected the USB cable and turn on the phone in fastboot mode (Back+Power) to verify that it is now S-OFF'd and it is.
But I can't boot into Android. When I boot it normally, it just boot into fastboot. And I didn't do any nandroid backup.
Any ideas? Thanks
Click to expand...
Click to collapse
Then a user replied:
Reflash your ROM without wipe, and you should be fine!
Click to expand...
Click to collapse
but I'm flashing a fresh ROM so I wiped as in the Noob Proof guide showed.
Afterall my recovery is not a blue CWM-AlphaRev Recovery (like it should?) but still a normal green-CWM Recovery and the splash screen wasn't change to 'Why so Serious' picture. But I got S-OFF'd.
Is there anything to do with that?
update 2 is at the end of the first post. this is crazy.
one more question: everyone using CM7 will need to install S2E to use the A2SD?
If your phone "tells" you, you are s-off, be happy with it and do not wonder about a not fitting color of the cwm recovery and the not changed splash screen.
BlackMiracle said:
one more question: everyone using CM7 will need to install S2E to use the A2SD?
Click to expand...
Click to collapse
With installing s2e you cannot use a2sd. You can use a2sd if you have a fat32 and an ext3 or ext4 partition on your sd card. Now all apps, wether they are programmed for this or not, will be moved to sd card (as long as the flashed rom supports this). With the s2e you can manage which apps should be in phone's internal storage or on the ext partition.
MatDrOiD said:
If your phone "tells" you, you are s-off, be happy with it and do not wonder about a not fitting color of the cwm recovery and the not changed splash screen.
one more question: everyone using CM7 will need to install S2E to use the A2SD?
Click to expand...
Click to collapse
With installing s2e you cannot use a2sd. You can use a2sd if you have a fat32 and an ext3 or ext4 partition on your sd card. Now all apps, wether they are programmed for this or not, will be moved to sd card (as long as the flashed rom supports this). With the s2e you can manage which apps should be in phone's internal storage or on the ext partition.
Click to expand...
Click to collapse
Yes, it tells me that I'm S-OFF'd.
OK, drop all those weird problems. I wiped everything last night and flashed the CM7 again. No freaking problem so far. But after I flashed the Google Apps.zip, it said install success but nothing came after booting. And I don't know where I can get Gmail because I'm living in Germany and Gmail is not available in the Market. There is an Email app came with CM7, but I prefer to use Gmail.
About S2E, I asked in this thread:
hmm... i dont have any ideas. how can i get it work? I just want to install apps without worry! which option should i check?
i have a 1GB ext4 partition
thanks in advance
Click to expand...
Click to collapse
then a user replied:
Tick the first two options. Reboot.
That should do the trick.
Click to expand...
Click to collapse
So I did it. Ticked the 'Applications' and 'Private apps' then rebooted. But how can I know that it is working?
Just in case - my SD partitions are:
1st Partition FAT32 <the rest>
2nd Partition EXT4 <1000MB>
Partitioned by Gparted live CD
Thanks again
Here you have gmail 2.3:
http://forum.xda-developers.com/showthread.php?t=788992
After installing, market should update to newest version.
How to check if a2sd works:
1.) Download and install the app connectbot
2.) After starting, select "local" and type a nickname
3.) type
su
Click to expand...
Click to collapse
and enter
4.) Enter permission request
5.) type
ls -l /data
Click to expand...
Click to collapse
Now you should see something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(without the colours)
German picture source:http://www.brutzelstube.de/2010/wie-uberprufe-ich-ob-a2sd-richtig-funktioniert/
There can see, that the standard pathes for installing apps were changed to /system/sd. That means, a2sd+ is working.
Use the thanks button, when someone helped you.
thanks for the Gmail app
but after typing ls -l /data it returns NO /system/sd/app
how come??
I beg your pardon. I was wrong with the a2sd thing. To use a2sd with cm7, you need an ext partition on your sd card and one of these scripts:
simple2ext
CM7 Legacy App2SD Addon Script
MatDrOiD said:
I beg your pardon. I was wrong with the a2sd thing. To use a2sd with cm7, you need an ext partition on your sd card and one of these scripts:
simple2ext
CM7 Legacy App2SD Addon Script
Click to expand...
Click to collapse
Yes I've done the Simple2ext already as I mentioned above.
So I did it. Ticked the 'Applications' and 'Private apps' then rebooted.
Click to expand...
Click to collapse
Sent from my HTC Desire using XDA App
Oh uh... now I can't access Calendar app. I was working a couple hours ago but now when I click on it, it sends me back to home screen?!?!
Is it really stable? LOL
Sent from my HTC Desire using XDA App
*bump*
Sent from my HTC Desire using XDA App
only 1 paritition EXT3/4.
action8 said:
only 1 paritition EXT3/4.
Click to expand...
Click to collapse
uh... what do you mean? I've already re-partitioned as mentioned before.
1st fat32
2nd ext4 1000MB
Sent from my HTC Desire using XDA App
BlackMiracle said:
Oh uh... now I can't access Calendar app. I was working a couple hours ago but now when I click on it, it sends me back to home screen?!?!
Is it really stable? LOL
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Some apps do not work while on sd card, like angrybirds or maybe your calendar app. Move it back into internal storage:
Settings>Applications>Manage Applications>All>choose Calendar>"move to internal storage".
MatDrOiD said:
Some apps do not work while on sd card, like angrybirds or maybe your calendar app. Move it back into internal storage:
Settings>Applications>Manage Applications>All>choose Calendar>"move to internal storage".
Click to expand...
Click to collapse
It is already in the internal storage because I have 'Move to SD' option to select.
The big problem for now is: how to make A2SD to work?
Sent from my HTC Desire using XDA App
BlackMiracle said:
It is already in the internal storage because I have 'Move to SD' option to select.
The big problem for now is: how to make A2SD to work?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Try to move it to sd (test if it starts) and then back to internal storage. If its's still not working, use another calendar app. Here i can higly recommend business calendar free:
https://market.android.com/details?id=netgenius.bizcal&feature=related_apps
If you used s2e correctly, a2sd is working. Maybe check again with the commands in conncetbot. You still have the option 'move to sd' in application settings, because this refers to the fat32 partiton on the sd card. In application settings android can only 'let you decide' between "internal storage" or "fat 32 partition of sd card". A2sd ist not integrated there, because it's so programmed that all apps you install will be moved automatically to sd card (ext partition); so manual moves are not necessary and senseless.
MatDrOiD said:
Try to move it to sd (test if it starts) and then back to internal storage. If its's still not working, use another calendar app. Here i can higly recommend business calendar free:
https://market.android.com/details?id=netgenius.bizcal&feature=related_apps
If you used s2e correctly, a2sd is working. Maybe check again with the commands in conncetbot. You still have the option 'move to sd' in application settings, because this refers to the fat32 partiton on the sd card. In application settings android can only 'let you decide' between "internal storage" or "fat 32 partition of sd card". A2sd ist not integrated there, because it's so programmed that all apps you install will be moved automatically to sd card (ext partition); so manual moves are not necessary and senseless.
Click to expand...
Click to collapse
Thanks for the calendar app. Works great.
Here is when I run the command.
These are screenshots from S2E:
It is not working. I have just 61 apps and internal storage showing just 20MB left.
Sent from my HTC Desire using XDA App
You need to reboot after configuring s2e. Did you do that? Do not wonder when it's take a long time, because all apps should be moved to sd ext.

Have infinite memory but insufficient storage..

s
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hey,
I have ext4 with 1024MB but i still get the "insufficient memory" message
I found that my a2sd partition is tiny!!! so what are the correct sizes if i want ext4 and good a2sd size?
i set partition 1 >> 1024 with ext4, and then partition 2 >> SKIP, then swap >> skip (Using 4EXT recovery to partition a 16 Gigs Class 10 MicroSD)
For starters, don't use the xscript on stock.
Sent from my HTC Runnymede using XDA Premium App
Partition should be the free space, why did you skip it? Or do I get something wrong?
Sent from dGB with Transparent XDA App
cronus101 said:
For starters, don't use the xscript on stock.
Sent from my HTC Runnymede using XDA Premium App
Click to expand...
Click to collapse
I didn't know that -______- Damn...
How did you know i did O_O
MatDrOiD said:
Partition should be the free space, why did you skip it? Or do I get something wrong?
Sent from dGB with Transparent XDA App
Click to expand...
Click to collapse
I used 1024 for ext4
so i didn't know why i have to use the 2nd partition and just skipped it :/
Apparently i have to re-partition and re-flash.... Oh man...
You need to have an ext4 partition with at least 1024 MB and the rest FAT32.
Sent from dGB with Transparent XDA App
MatDrOiD said:
You need to have an ext4 partition with at least 1024 MB and the rest FAT32.
Sent from dGB with Transparent XDA App
Click to expand...
Click to collapse
That's what i did!
What am i doing wrong...
That was just a pain.... i switched to the beloved CyanogenMod... i just don't have time for these hackey stuff to try and make them work...
Now i have re-partitioned to :
1024 ext4 SD-EXT1
1024 ext4 SD-EXT2
and the rest 13 Gigs Fat32... i'll see how this works...
Why do you have two ext4 partitions. One should be absolutely enough.
Sent from dGB with Transparent XDA App
That amarullz script is switched between /data and /sdext.
And store the application on /sdext and keep the dalvik cache on /data.
If you see the picture that your a2sd partition is low. That is actually your /data partition is low.
So you can't install any other app.
And for this script is better to use cm7r2 HBOOT that have bigger /data partition.
This script only need one ext4 partition.
2 ext partition is for ownhere data2ext script.
Sent from my HTC Runnymede using xda premium
hi!
last few days i had big problems with my desire. i had miui but after snowboarding it just stopped working. so i decided to install ICS 4.0.3. after big problems with s-off and install of clockworkmod recovery touch today I succeeded. with big smile on my face i rebooted in recovery and made sd card partition. 1st 2048mb and 2nd (first attempt) 0mb and when it rebooted I opened terminal and typed this
su
a2sd install
then i get something roughly as this in terminal
using /dev/block/mmcblk0p2 for block device
setting flag a2sd
would you also like to move dalvik-cache? (y/n) y
setting flag dc2sd
delvik-cache will be moved to /sd-ext on reboot
would you also like to move appdata (y/n) y
setting flag ad2sd
app data will be moved to /sd-ext on reboot
yout apps will be moved to /sd-ext on reboot
reboot
Click to expand...
Click to collapse
after that in titanium backup i have internal 154MB and 152 MB free
sd card (a2sd) 1.91GB and 1.79 GB free
but when i go to install first program from google play i get " insufficient storage available "
latter i tried with 1st partition 2048mb and 2nd 512mb but i get the same resoult
my last attempt was to when i'm in terminal to do this:
using /dev/block/mmcblk0p2 for block device
setting flag a2sd
would you also like to move dalvik-cache? (y/n) n
would you also like to move appdata (y/n) y
setting flag ad2sd
app data will be moved to /sd-ext on reboot
yout apps will be moved to /sd-ext on reboot
reboot
Click to expand...
Click to collapse
then i think i can install apps but internal memory is something like 154MB and 70+ MB free
so i went to terminal again and typed
su
a2sd cachesd
but i just get using /dev/block/mmcblk0p2 for block device and nothing happeneds.
what am I doing wrong?
please helo cos this is 4th day that i'm struggling with desire to make everything normal again and it's really starting to get on my nerves.
tnx.
Code:
SOLVED - had to partition ext3 to ext4

[TUTORIAL][Link2SD][ROOT]Updated! How to prep your SD card for it...Windoze Style

Rather than recreate the wheel...
Here is the developer's thread on Link2SD
Read it thoroughly!!!
Here are some links on Ext2, Ext3 and Ext4 file systems and why Ext 4 is preferable over Ext2 if you can do it with your ROM's kernel.
Ext2
Ext3
Ext4
Here's a debate over which to use. You be the judge and go with what makes sense for you.
What I'm going to take you through is creating the second partition on your SD card to be able to use it. We are going to use Minitool Partition Wizard Pro Home Edition (Freeware) to do this on a Windows machine.
There are other ways to do this including Linux, from recovery, etc, but this is a free and simple method that DOES NOT LOSE YOUR EXISTING SD CARD DATA!!!
First things first!
Repeat after me...
1/ I have a stock kernel in my ROM. My ROM only supports FAT32 and Ext2 for the second partition and I will not format it Ext4 and then come asking why it's not mounting correctly! I will format it Ext2 for best performance.
2/ I am not S-OFF or HTCDev unlocked AND rooted. I will NOT come asking if this will work or WHY it's not working at all!
3/ I WILL NOT TRY MOUNTING MY PHONE AS A HARD DRIVE TO DO THIS. I WIL READ THE INSTRUCTIONS AND USE A CARD READER!
So the prerequisites are:
1/ HTC Dev Unlocked OR S-OFF
2/ Permanently rooted
3/ A windows machine with Minitool Partition Wizard Pro Home Edition (Freeware) Installed or Hirens Boot CD which has a bootable windows version with PWPH installed on it.
4/ An SD card appropriate for the job. The faster the better! For 16 and 32 GB I really do recommend splurging on the Class 10...
Steps:
1/ Boot up your Hirens or Windows machine
2/ Make sure that Show Hidden Files and Folders is ON so you can see some of the hidden folders present on an android system's SD card
3/ Insert your Micro SD card into a reader and attach it to the computer
4/ Make a folder on your computer and back up your entire SD card's main partition to it including hidden files and folders JUST TO BE SAFE. (Remember if you do this right you won't have to lose your card's contents, unlike the recovery method.
5/ Install Partition Wizard Pro Home Edition or check that its on your Hiren's bootable windows cd
6/ Run Partition Wizard Home Edition.
7/ Look for your SD card along the bottom and identify your FAT32 Partition
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
8/ Right click on it and choose "Move/Resize Partition"
9/ Use the down arrow in the middle field "Partition Size:" to change the value and consequently the value of the "Free Space After: field as well until you have created around 1027 MB of free space. *Warning - Do not create free space before the first primary FAT32 partition!!! If you do discard changes and start over!
10/ Click "OK"
http://dl.xda-developers.com/attachdl/97c7411fd1fdf03bee85f54f0203ebd8/4f4cec58/8/4/5/7/6/5/Shot_1_Resizing_FAT32.PNG/IMG]
11/ Identify the new unallocated space on the drive map.
[IMG]http://dl.xda-developers.com/attachdl/a02e4cb4e27a14095eaa8347118e31e7/4f4cec81/8/4/5/7/6/6/Shot_1_Basic_FAT32_and_unallocated_space.jpg
12/ Right click on it and choose "Create"
13/ When you get the warning about the partition not being able to be used in Windows click "Yes" to continue
14/ Choose Ext2, Ext3 or Ext4 for partition type based on whether your kernel supports Ext4. If it does choose it! If you don't know choose Ext2 to be safe. I would avoid Ext3 unless you have to. 2 or 4 are preferred
*NOTE!!! You cannot resize an Ext partition after you make it. You can only move it around so choose your size wisely! I find a GB to be plenty and I have 150+ linked apps with 360 MB free on SD card partition 2 but you can have up to 2 GB.
15/ Make sure it is a primary not a logical partition
16/ Name it if you want.
17/ Click "OK" to continue
18/ Click the BIG "Apply" button in the top left of the window
19/ Choose "Yes" to continue from the pop up
20/ Let it do it's work.
Congratulations! Step 1 Complete!
Now to step 2:
1/ Eject and place your SD card back into your phone
2/ Boot up your phone
3/ Install Link2SD from the Android Market
4/ Run it
5/ On first run it will ask you the type of partition your second SD card partition is. Choose Ext2 or Ext4 depending on which you made it.
6/ Follow the directions to reboot your phone
Congratulations! Link2SD is now working on your phone!
When you click the menu button in Link2SD and choose "Storage Info" you should see three memory spaces. Internal, SD Card, and SD Card 2nd Part.
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link programs (.APK), dalvik cache files (.DEX) and library files (libs) to your SD Card 2'nd partition when a new program is installed.
Now for some strategy!
You say, "I've got all this external space! Why bother putting any programs on the internal space?"
Well...SPEED MAN! SPEED!
I keep Launchers, Widgets, Background processes like Titanium Backup, etc, on the internal as space allows to allow for speed when booting. The internal memory is faster than your SD card and keeping these programs here helps a lot in speeding up your boot time. This is an option with Link2SD that you DON'T have with Data2SD or Data2Whatever!
You can also keep commonly accessed programs like Tapatalk for example, on this internal fast memory.
You can also mass move by multi selecting, several programs to and from either internal, SD card, or SD card second partition. Ideal for your initial move to your new second partition of your apps pre-installed prior to link2sd.
People wanted instructions for a third swap so see post two for additional steps.
Troubleshooting:
*If you have issues with your primary SD card partition not working right or perhaps you decided to wipe the whole card and create them both/or all three from scratch, remember that this FAT32 partition 1 has to be set ACTIVE and all partitions have to be primary not logical.
*If you cannot mount Ext2 or Ext4 make the second partition FAT32. It will work for all Wildfire S Models and all ROM's. Try the others first as they are preferred for performance and stability.
*If you don't have a card reader it's been reported that you can use your phone in hard drive mode to achieve the same thing, followed by a reboot but I have heard many cases where this causes troubles so I personally don't recommend it but hey. You gotta do what you gotta do.
*Some users are reporting with MarvelC's that they needed to use Ext3 so I have updated the tutorial to reflect this.
*If you don't immediately see a change in internal memory after linking apps relax. It will show up. Sometimes it just is a little delayed.
That's pretty much it for now.
Enjoy and if this tutorial helped you or you like it, please click "THANKS"!
Add On's and FAQ's
Adding in a Linux Swap If Wanted, Supported, and Needed:
Personally I don't see the use for it but hey. Sometimes people want the kitchen sink included as well right?
1/ Increase your unallocated space in the FAT32 resize to around 1550 MB
2/ Right click on the unallocated space and make your Ext2/Ext4 partition of around 1027 MB
3/ Right click on the remaining unallocated space at the end of the drive and choose Linux swap for partition type. Again make sure it's a Primary and not a Logical parition!
Apply.
Have fun...(And click thanks!
How would I know which partition my kernel supports? I'm using alquez's CM7.
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
bingzz said:
How would I know which partition my kernel supports? I'm using alquez's CM7.
Click to expand...
Click to collapse
+1 same
i got cm7 but link2sd didnt work should i flash kernel or something like that
hanynemesis said:
+1 same
i got cm7 but link2sd didnt work should i flash kernel or something like that
Click to expand...
Click to collapse
I used the ext2 partition and it worked fine for me, I'd recommend that for you too.
bingzz said:
I used the ext2 partition and it worked fine for me, I'd recommend that for you too.
Click to expand...
Click to collapse
so after create ex2 partition setup link2sd and choose ex2 and all ok ?
Used ext4 for alquez' cm7.
Ext4 is fine for CM7. Recommended. Just make sure you choose it when you first run Link2SD.
I am using it without issues.
Regards,
DS
szuladam said:
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
Click to expand...
Click to collapse
You don't NEED a linux swap but just add into the equation
1/ Created 1.5 gb of free space
2/ Create second Ext4 partition
3 Create linux swap partition with remainder of space at end of disk.
szuladam said:
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
Click to expand...
Click to collapse
Here you go...Instructions for swap.
d33ps1x said:
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link program, dalvik and libs to your SD Card 2'nd partition when a new program is installed.
Click to expand...
Click to collapse
Suggestion (since this is so noob-friendly otherwise): Instead of mentioninf dalvik, refer to .dex files, synonymous in this context (at least my version of link2sd refers to apk, dex and lib files)
Regards,
Rich
rkleinhenz said:
Suggestion (since this is so noob-friendly otherwise): Instead of mentioninf dalvik, refer to .dex files, synonymous in this context (at least my version of link2sd refers to apk, dex and lib files)
Regards,
Rich
Click to expand...
Click to collapse
Appreciate the constructive input. Will do.
OK guys i followed all steps and after setup link2sd and open it it ask for permission sure i press ok and choose ex4 partition type then got this error
Mount script error
mount script cannot be created
mount:mounting/dev/block/vold/179:2on /data/sdex2
failed :device or resource busy.
of-course i have ex4 partition after my fat partition both are primary and the fat one is active my memory is 2 GB
tried to restard and try again same error so what i had done wrong ?
hanynemesis said:
OK guys i followed all steps and after setup link2sd and open it it ask for permission sure i press ok and choose ex4 partition type then got this error
Mount script error
mount script cannot be created
mount:mounting/dev/block/vold/179:2on /data/sdex2
failed :device or resource busy.
of-course i have ex4 partition after my fat partition both are primary and the fat one is active my memory is 2 GB
tried to restard and try again same error so what i had done wrong ?
Click to expand...
Click to collapse
Hmm............Does your primary SD partition still function right?
Did this but was stuck on cm7 boot screen after a reboot.
*se-nsei. said:
Did this but was stuck on cm7 boot screen after a reboot.
Click to expand...
Click to collapse
Wipe Cache and Dalvik cache and try reboot again.
d33ps1x said:
You don't NEED a linux swap but just add into the equation
1/ Created 1.5 gb of free space
2/ Create second Ext4 partition
3 Create linux swap partition with remainder of space at end of disk.
Click to expand...
Click to collapse
thx for help. so actualy the linux swap patition it not necessary. than what for?
without it that rom wont work? (the apps will go to ext4 partition, so what goes for 3rd one?)
or does is have any advantage/disadvantage?
(this questions apply only for HTC WFS ofc)
szuladam said:
thx for help. so actualy the linux swap patition it not necessary. than what for?
without it that rom wont work? (the apps will go to ext4 partition, so what goes for 3rd one?)
or does is have any advantage/disadvantage?
(this questions apply only for HTC WFS ofc)
Click to expand...
Click to collapse
It's what it says it is. Memory swap space.
It swaps out rarely used memory pages to the swap to make room for immediate use of active ones.
If your ROM kernel supports it give it a go with and without and see if you notice performance gains in your everyday use.
Google will provide you with lots of info on what a linux swap partition is and it's benefits/detriments.
d33ps1x said:
Wipe Cache and Dalvik cache and try reboot again.
Click to expand...
Click to collapse
Thank you. Great tutorial btw. One question - what would you recommend that I keep on the SD card to avoid boot problems?

[SOLVED] [Q] a2sd cachesd ?

Hi,
I've installed the Sandvod rom.
ICS on my HTC Desire.
But I'm exhausted because of the little space on internal memory.
So I read this
I can't install any new apps because I have no more space!
Do you have an ext3 or ext 4 partition?
No > Go to step 1
Yes > Go to step 5
1. Backup all data on your sd card, because it will be formatted if you follow these steps
2. Reboot into recovery, choose advanced >Partition SD Card
3. Choose Ext size of 512M or higher and Swap of 0M
4. Reboot to Android
5. Open Terminal
6. Type the following:
su
a2sd install
6.5 If it asks you to move the cache, choose yes and go to step 9. If it doesn't, go to step 7.
7. let the phone reboot and open terminal again
8. type the following:
su
a2sd cachesd
9. Let the phone reboot 1 more time (Booting will take a lot longer the 1st time) and you're done!
Click to expand...
Click to collapse
But and poor of me, I can run the command :
- a2sd cachesd
- a2sd check ...
When I run "a2sd cachesd", I have this result
[]Invalid command
Available commands are :
install ....
I tried to launch "a2sd install" and the mobile reboot...but.
Any advices ?
Thanks in advance.
Spy20
Check you actually have the script in system/etc/init.d
It will be obviously named with 2 numbers followed by a2sd or apps2sd
Sent from my HTC Desire using Tapatalk
It's name
Code:
10apps2sd
I must run commands with this script ?
Edit : If I use this command, I will happened nothing.
rootSU said:
Check you actually have the script in system/etc/init.d
It will be obviously named with 2 numbers followed by a2sd or apps2sd
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Having the same problems with InsertCoin GingerSense 1.1.4 (discontinued, I know) and QSI reads the EXT4 partition as not having been budged since flashing the rom. Tried moving stuff manually with the terminal, but it can't find the A2SD+ script, even though the 40a2sd script is nice and snug in the init.d folder where it belongs.
Any thoughts?
Hi,
I've just download the new version of Sandvold.
But now I can't move somes apps in sdcard.
About scripts I have only this one in /etc/init.d/
Code:
40apps2sd
When I tried to upload the 10apps2sd http://forum.xda-developers.com/showpost.php?p=14623648&postcount=3991
file I've this error
Code:
Read-only file system
My problem is internal memory is full because of no app2sd work ?
Do you have some advices ?
Thanks a lot in advance.
Spy20
Spy20 said:
Hi,
I've just download the new version of Sandvold.
But now I can't move somes apps in sdcard.
About scripts I have only this one in /etc/init.d/
Code:
40apps2sd
When I tried to upload the 10apps2sd http://forum.xda-developers.com/showpost.php?p=14623648&postcount=3991
file I've this error
Code:
Read-only file system
My problem is internal memory is full because of no app2sd work ?
Do you have some advices ?
Thanks a lot in advance.
Spy20
Click to expand...
Click to collapse
I've got Xj miui rom, but would think dt a2sd should be the same
In terminal type
Su
A2sd check
In order for a2sd to work properly make sure the following boxes are checked as per my terminal screen dump.....before you do anything make sure zipalign happens at boot
if not run a2sd zipalign in terminal
Then a2sd reinstall
That should remove the no apps to SD flag meaning that any app you download will go to the SD card.
Once you've got it running properly run a2sd cache SD .
If you download quick system info it will give you accurate info.
If your struggling to get a2sd running properly you can download a2sd GUI from market.
Also try not and be tempted to run other commands with dt a2sd such as a2sd datasd and a2sd cachepart. This can cause your phone to run slow.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC Desire using XDA Premium App
Hi,
I've installed the app A2SD GUI.
But when starting GUI for darktremor I get this msg:
Get this error msg:
1. Your device is not rooted (yes it is)
2. A2SD Scripts could not be found
3. No EXT partition found (I have ext4 1024mb)
My device is root because of I've installed the Sandvold's rom
I have a partiton in EXT4 of 1024Mb
A2SD script not found because of the previous post.
What do you think ?
Thanks in advance for your advices.
Spy20
Spy20 said:
Hi,
I've installed the app A2SD GUI.
But when starting GUI for darktremor I get this msg:
Get this error msg:
1. Your device is not rooted (yes it is)
2. A2SD Scripts could not be found
3. No EXT partition found (I have ext4 1024mb)
My device is root because of I've installed the Sandvold's rom
I have a partiton in EXT4 of 1024Mb
A2SD script not found because of the previous post.
What do you think ?
Thanks in advance for your advices.
Spy20
Click to expand...
Click to collapse
Check recovery can see your ext
Also did you try su a2sd check....is zipalign happening at boot if not that needs to be sorted out first.
Sent from my HTC Desire using XDA Premium App
Sorry my bad. I assumed that it was darktremmors script
You have an a2sd version other than dt thats baked ito the rom so a2sdgui will not work...when you followed the sandvolds instructions did you get the option to move the dalvic at step 6 if not did you follow instructions at step 6.5 and reboot to try again. You said it rebooted but.....?
Did you install an sdext, is it working.
Can you run su a2sd check and post a screen dump.
Sent from my HTC Desire using XDA Premium App
Finally,
I chosed to install the latest version in 0.5.3.
At the installation I chosed the default installa.
After the reboot, I can launch a2sd .
Thanks a lot.
HTC DESIRE EVERVOLV ICS- Booting takes long time
Hello,
I installed HTC DESIRE EVERVOLV ICS. I was having probelm as I can't install any new apps because I have no more space!
I am having an ext3 . I did following:
1. Open Terminal
2. Type the following:
su
a2sd install
3 it asked you to move the cache, choose yes and go to
step 4.
4. Let the phone reboot 1 more time (Booting will take a lot longer
the 1st time) and you're done!
After booting it is really taking longer more than 3 hr. Still going on.
Pl suggest.

Insufficient storage..

Hey peeps.
I've run into a problem recently. I don't have enough storlage space left for installing apps from the market.
I'm using an ICS Rom by sandvold.com. I have partioned 2 gigabytes of my 32 gigs SD card to be used for a2sd and so far only 500 mb is in use. Both my dalvik cache and app data are on the sd card.
During the installation of a2sd in my Rom I chose to use the stock version.
Does anyone know a possible solution to my problem?
Ty in advance!
Sent from my HTC Desire using XDA
Open Terminal Emulator on your phone and type
Code:
su
a2sd install
I have done that already. How would I else be able to have my dalvik cache and app data on my sd card..?
Sent from my HTC Desire using XDA
Screenshot of my titanium backup start screen.
Sent from my HTC Desire using XDA
Start Terminal Emulator and post the output of these commands here:
Code:
su
ls -l /data
I do not get what you want me to say with your last post.
Sent from my HTC Desire using XDA
If you want to know where all your free space has gone, try Diskusage app, and check your data partition...
Probably the cache of some of your apps has grown too much...
I had the same problem before I changed to Data++ hboot, and to COS ICS ROM (with dalvik2sd option)
viado desde mi HTC Desire usando Tapatalk
I've just realized you can't install apps from the market...
Try clearing caches and/or data from your browsers. Or even games... When you have enough free space for installing, try Diskusage then...
Enviado desde mi HTC Desire usando Tapatalk
I managed to clear up a little space by clearing my browser cache to install an app that easily clears my cache. I wanted to link my Titanium backup screenshot and the response to writing the command written above. Finally booted up my pc and here they are:
Titanium Backup information
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Terminal Emulator
I'm gonna try that disk app in a few hours..
Help is here!
I had the same problem.I have a desire stock 2.2.2 rooted and the space is very limited.This is what i done:
I partition my sd card ext2/ext3 (ext4 doesn't work)
Installed link 2 sd (when you first launch you will be prompted what partition you have ext2/ext3/ext4)
Restart the phone and you are done.
After linking the apps( i mean i linked in first restart 40+) the phone will boot slowly but after that it will be faster.
Hope helps you
I thank you much for the reply, but this is already what I've done and I'm out of space again, with my SD partitioned. I partitioned 2 GB of storage on my SD and it isn't using it all as you see on the titanium backup screenshot. I have no clue on how to fix it..
DaveFX said:
If you want to know where all your free space has gone, try Diskusage app, and check your data partition...
Probably the cache of some of your apps has grown too much...
I had the same problem before I changed to Data++ hboot, and to COS ICS ROM (with dalvik2sd option)
viado desde mi HTC Desire usando Tapatalk
Click to expand...
Click to collapse
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"? Any suggestions would be apreciated.
Your output clearly shows A2SD is not working. Which means, Apps and Dalvik-Cache are not moved to SD-EXT.
So please run
Code:
a2sd install
After successfull reboot (script will you asking to do so after answering the question which data should be moved), please the output of this command again
Code:
ls -l /data
I ran the "a2sd install" command, moved dalvik and moved data by writing "y" to the questions.. After that I performed a reboot.
I then ran the command you wrote: ls -l /data.
I could be worth mentioning that during the installation of my ICS rom I choose to use the stock a2sd. I used to have a GB rom on my Desire some time ago. Back then I was using some other script called Darktremor and that worked. I have the opportunity to try another a2sd script during the installation of my rom. Any suggestions?
Ok this is what i suggest:
Remove the sim and memory card
If you have an card reader (backup your fat 32 partition and format it ;after that format ex2/ext3 partition)
Restore backup on the fat32 partition
Now do the phone a factory reset
Wait till it boots
Restart it
Put back the sd card and sim in the phone
Go to market and install link 2 sd and do the method i write in last post.
If this dosn't work flash data++ hboot from alpharev site
A2SD is still not working. How and with witch program did you partition your SD card?
MiniTool Partition Wizard Home Edition
Ok now i know what you are talking about:whatever you install it gives you inssuficient memory.I had the same prob after installing some app from market.I just installed it and it worked good then.
I used the recoverymode (Revolutionary) to partition my SD card, but it was an entirely new SD card at the time I installed it in my phone for about 1 month ago. I hadn't formatted it before I started using it.
I'm gonna try your method mansamihai, and get it done today hopefully. Not being able to install/update apps is driving me crazy.
mansamihai said:
MiniTool Partition Wizard Home Edition.
Click to expand...
Click to collapse
Hammerbak said:
I used the recoverymode (Revolutionary) to partition my SD card, but it was an entirely new SD card at the time I installed it in my phone for about 1 month ago. I hadn't formatted it before I started using it.
I'm gonna try your method mansamihai, and get it done today hopefully. Not being able to install/update apps is driving me crazy.
Click to expand...
Click to collapse
do not use MiniTool Partition Wizard Home Edition for creating your ext partition.
while it may work for some, in lots of cases it can cause more problems.
backup your sd card to computer first, then try partitioning from scratch again.
gparted is recommended above anything else, or use 4ext recovery.
I used the partition function in the revolutionary recovery mode to partition my SD. I've made it to the point where I should choose which file system my SD cards partition is in the Link2SD app and I have no clue which one to choose? Any chance for a bit of help here?
I tried the to do it all over again, sadly without any change in results..
It is still not working..
Any suggestions on what to do now?
Thanks in advance!

Categories

Resources