[Q] How do I use A2SD+ - Desire Q&A, Help & Troubleshooting

I've partitioned my SD Card to ext4 using Gparted and it shows up on the SD Card settings to have 1.50GB total space I'm currently using MIUI 1.6.10.1 and just wondered what method you have to use to use the A2SD+ Space, is it a move location app such as A2SDGUI or Mod Install location or is it something else? Thanks in advance.

Depending on your rom, you have to activate a2sd. Command for terminal is "a2sd cachesd"

Meaple said:
Depending on your rom, you have to activate a2sd. Command for terminal is "a2sd cachesd"
Click to expand...
Click to collapse
Thank you i've tried that just wondering though, is
"No.a2sd swap environment variable found", "Problem detected: Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint. and "Invalid command: cache"
Click to expand...
Click to collapse
is this normal? Everything else seemed to run fine.

Thanks for this! Just saved me 90mb space

I had the same error, when running as SU. Phone rebooted, now have tons of free space so i guess it doesnt matter

KevAmiga said:
I had the same error, when running as SU. Phone rebooted, now have tons of free space so i guess it doesnt matter
Click to expand...
Click to collapse
Did you get exactly the same Errors?

Sure did.
+10 chrs

in terminal try
a2sd reinstall and run above mention command.
If that dont work. Search for Darktremor script. Download and flash that zip file from recovery and try to run those commands.

I've fixed it by the way if anyone wants to know or if this will help anyone.
What I did was do these commands separately in the Terminal Emulator:
#su (Allows root access)
#a2sd reinstall (reinstalls a2sd)
#a2sd cachesd (puts cache to sd)
#a2sd datasd (moves data to sd)

Blakeeeee said:
I've partitioned my SD Card to ext4 using Gparted and it shows up on the SD Card settings to have 1.50GB total space I'm currently using MIUI 1.6.10.1 and just wondered what method you have to use to use the A2SD+ Space, is it a move location app such as A2SDGUI or Mod Install location or is it something else? Thanks in advance.
Click to expand...
Click to collapse
ACTIVATING A2SD+
THESE COMMANDS ARE WAY BACK FROYO DAYS
SEE LATEST MIUI CHANGELOG IF EVER THIS CHANGED
- get terminal from market
- Type su
- Type a2sd zipalign
- Type a2sd cachesd
- You may even need to do a2sd reinstall
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=11410721&postcount=3
I did it so and all works fine.

a2sd not found ;-(
using this rom: http://forum.xda-developers.com/showthread.php?t=1151765

Maybe because you installed a different rom than the OP (You: ·Official RUU Desire Sense Gingerbread v1.2 -GB2.3.3; OP: MIUI). To check if A2SD+ is working (I assume you partitioned your SD card for using A2SD+), open terminal emulator on your phone and type
Code:
su
ls -l /data
Post the output here and you will be told, if A2SD+ is working for you or not.
Furthermore, check wether you have a file named "10apps2sd" in /system/etc/init.d.

MatDrOiD said:
Maybe because you installed a different rom than the OP (You: ·Official RUU Desire Sense Gingerbread v1.2 -GB2.3.3; OP: MIUI). To check if A2SD+ is working (I assume you partitioned your SD card for using A2SD+), open terminal emulator on your phone and type
Code:
su
ls -l /data
Post the output here and you will be told, if A2SD+ is working for you or not.
Furthermore, check wether you have a file named "10apps2sd" in /system/etc/init.d.
Click to expand...
Click to collapse
$ export PATH=/data/local/bin:$PATH
$ su
# ls -l /data
total 21
lrwxrwxrwx 1 0 0 14 Nov 22 20:59 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Nov 22 20:59 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Nov 22 21:41 backup
lrwxrwxrwx 1 0 0 23 Nov 22 20:59 dalvik-cache -> /system/sd/dalvik-cache
drwxrwx--x 1 1000 1000 2048 Nov 23 06:09 data
drwxr-x--- 1 0 1007 2048 Nov 22 20:58 dontpanic
lrwxrwxrwx 1 0 0 11 Nov 22 20:58 drm -> /data/local
drwxr-xr-x 15 0 0 0 Nov 22 21:40 htcfs
drwxrwx--x 1 2000 2000 2048 Nov 22 20:58 local
drwxrwx--- 1 0 0 2048 Nov 22 20:58 lost+found
drwxrwx--t 1 1000 9998 2048 Nov 23 11:43 misc
drwx------ 1 0 0 2048 Nov 23 06:08 property
drwx------ 1 1000 1000 2048 Nov 22 20:59 secure
drwxrwxr-x 1 1000 1000 2048 Nov 23 09:30 system
-rw-r--r-- 1 0 0 835 Nov 22 21:41 zipalign.log
#
I have a file called 40a2sd

KevAmiga said:
Thanks for this! Just saved me 90mb space
Click to expand...
Click to collapse
Yeah it's done flawlessly
Sent from my HTC Desire using XDA App

You don't have to care about anything, A2SD+ is fully working:
mikaelft said:
lrwxrwxrwx 1 0 0 14 Nov 22 20:59 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Nov 22 20:59 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Nov 22 21:41 backup
lrwxrwxrwx 1 0 0 23 Nov 22 20:59 dalvik-cache -> /system/sd/dalvik-cache
Click to expand...
Click to collapse

MatDrOiD said:
You don't have to care about anything, A2SD+ is fully working:
Click to expand...
Click to collapse
But but.... But I only have 108mb internal space left. My ext4 is 1024mb. :-s

Even if one is using A2SD+, the /data partition still gets filled with app data. That's how it works. And A2SD+ or rather it's EXT does not extend the internal /data partition. The only solve is to use DATA2SD. With this script all data will be moved to an EXT partition and this one will now be the "internal" /data partition. So your internal memory depends on the size of your EXT partition.

MatDrOiD said:
Even if one is using A2SD+, the /data partition still gets filled with app data. That's how it works. And A2SD+ or rather it's EXT does not extend the internal /data partition. The only solve is to use DATA2SD. With this script all data will be moved to an EXT partition and this one will now be the "internal" /data partition. So your internal memory depends on the size of your EXT partition.
Click to expand...
Click to collapse
Ok... I have 64mb swap size, is that bad?
Do I still need to check "Move data to SD" in applications? All can't be moved.

No the swap has nothing to do with it (please read my post again, very carefully and I am pretty you will understand it ).
No, you MUST NOT move it yourself. This is automatically done by the A2SD+ script. The reason why one can still move apps to SD in application settings is, android can only differentiate between apps on internal memory (/data) or on FAT32 of SD Card.
If the app is on EXT-partition of SD card, android "thinks" it is still on internal memory (and some app data is still there, as explained above).

MatDrOiD said:
No the swap has nothing to do with it (please read my post again, very carefully and I am pretty you will understand it ).
No, you MUST NOT move it yourself. This is automatically done by the A2SD+ script. The reason why one can still move apps to SD in application settings is, android can only differentiate between apps on internal memory (/data) or on FAT32 of SD Card.
If the app is on EXT-partition of SD card, android "thinks" it is still on internal memory (and some app data is still there, as explained above).
Click to expand...
Click to collapse
Ok... now I pressed "move to phone"
Then I got:
More free storage on SD card
More free storage on A2SD storage
Less storage on internal storage.

Related

[Q] How can I be low on memory.

My phone showed today the LOW MEMORY warning.
But i still have over 500MB free on EXT partition. Shouldn't EXT partition fill up first?
Is there any chance of moving files from internal to EXT?
Cheers!
Yanluk said:
My phone showed today the LOW MEMORY warning.
But i still have over 500MB free on EXT partition. Shouldn't EXT partition fill up first?
Is there any chance of moving files from internal to EXT?
Cheers!
Click to expand...
Click to collapse
Have you tried rebooting your phone ? Full reboot not fast reboot.
Yes I did try that. With no luck unfortunately. Still showing only 5mb free and low memory error.
Which rom do you use? You can check if a2sd works on this way:
Open terminal, enter
Code:
su
Code:
ls -l /data
Output should say something like this:
app -> /sd-ext/app and app-private -> /sd-ext/app-private. Of you are not sure, post screenshot here.
Swyped from my HTC Desire using XDA App
If you have dalvik-cache on internal memory with the stock hboot and you installed a lot of apps, the cache would just fill right up. That's how it says low memory. If not then do what MatDroid said to do.
I'll do it tomorrow. Just a bit late know.
But I remember now, that when i flashed the rom, just after reboot, my EXT was showing over 200MB used, and internal had only 80MB free. My ext is a 1GB, and I maybe have a 10 apps installed and at this moment is showing over 500MB in use.
Ehh will play with it tomorrow.
BTW Running InsertCoin 1.0.8, HBOOT 0.93 S-OFF
which hboot do you have? stock?
if stock you have to use a2sd version!
if you have cm7 hboot and the cm7 version of insertcoin
you maybe want to try this Tutorial
i asume you have a2sd version
the data of the apps is still on the internal memory and will use space
you can, Delete a few unneedet apps(i think you dont want this )
or you maybe try the cm7 hboot, you will gain about 100mb more space and insertcoin is even faster
hope this helps
ps.: if your memory is still to small try a data2ext script but first read this Tutorial
I think I know what I was doing wrong. Running CM7 room with stock hboot.
Will give it a go with CM7 hboot.
MatDrOiD said:
Which rom do you use? You can check if a2sd works on this way:
Open terminal, enter
Code:
su
Code:
ls -l /data
Output should say something like this:
app -> /sd-ext/app and app-private -> /sd-ext/app-private. Of you are not sure, post screenshot here.
Swyped from my HTC Desire using XDA App
Click to expand...
Click to collapse
I have installed Bravo CM7 r2 HBOOT
Did full wipe, instaled rom again (InserCoin CM7 1.0.8), and imediatly after instal i had 55MB free, downloaded few ups and have 35MB free.
Quick system info is showing:
A2SD: 0.96GB, Free 503MB
Internal storage: 148MB Free 34.14MB
I did ls -l /data and got:
Code:
$ export PATH=/data/local/bin:$PATH
$su
# ls -l /data
total 29
lrwxrwxrwx 1 0 0 14 Jun 13 04:59 app -> /system/sd/app
drwxrwx--x 1 1000 1000 2048 Jun 13 05:00 app-private
drwx------ 1 1000 1000 2048 Jun 13 05:09 backup
drwxrwx--x 1 1000 1000 2048 Jun 13 05:45 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Jun 13 05:45 data
drwxr-x--- 1 0 1007 2048 Jun 13 04:59 dontpanic
lrwxrwxrwx 1 0 0 11 Jun 13 04:59 drm -> /data/local
drwxrwx--x 1 1000 1000 2048 Jun 13 04:55 etc
drwxrwxrwx 1 0 0 2048 Jun 13 04:59 htcfs
drwxrwx--x 1 2000 2000 2048 Jun 13 04:59 local
drwxrwx--- 1 0 0 2048 Jun 13 04:59 lost+found
drwxrwx--t 1 1000 9998 2048 Jun 13 05:45 misc
drwx------ 1 0 0 2048 Jun 13 05:02 property
drwxr-xr-x 1 0 0 2048 Jun 13 04:55 sd
drwx------ 1 1000 1000 2048 Jun 13 05:00 secure
drwxrwxr-x 1 1000 1000 2048 Jun 13 05:45 system
#
So it still something wrong. Question what?
This sounds like what I had last week. Back up card. Reformat with new partitions. Should be fine. Mine is
Sent from my HTC Desire using Tapatalk
If you want to use a2sd with cm7 rom, you have to run this script:
http://forum.xda-developers.com/showthread.php?t=719151
You can also run this program:
http://forum.cyanogenmod.com/topic/15418-scriptapk-s2e-simple2ext/
But i highly recommend to use the script.

[Q] InsertCoin 1.14 Clarification

Hi Guys
I'm using Insertcoin 1.14 CM7 version and would like to know if apps are moved to the ext partition automatically. I ask this as my 'manage application' show the amount of apps installed (used 178 mb free 110) as equal to the total no of apps installed if I add the values together (Plus 20 mb or so which showed as used on first boot)
Am I to use 'move to SD Card' to move them to the ext? Is this recommended as I remember reading somewhere on the forums not to manually move apps to sd card on a App2SD ROM
Also would like to know if dalvik cache is on ext.
Thanks for taking the time out to help a noob I've done a search but all it has done is to confuse me
SOFF
CM7r2 Hboot
If you set up your SD card for a2sd and the rom supports it, you don't need to move the apps yourself to SD. This will be done automatically. If you use "move to SD" in application settings, it will be moved to fat32 partition of SD card. The option is just still there because android can only differenciate between apps in internal storage and on fat32 partition on SD card.
TouchPaled from Oxygen with Transparent XDA App
MatDrOiD said:
If you set up your SD card for a2sd and the rom supports it, you don't need to move the apps yourself to SD. This will be done automatically. If you use "move to SD" in application settings, it will be moved to fat32 partition of SD card. The option is just still there because android can only differenciate between apps in internal storage and on fat32 partition on SD card.
TouchPaled from Oxygen with Transparent XDA App
Click to expand...
Click to collapse
Thanks for the quick reply. But if I add the size of each app in 'manage application' manually (like Flash Player 11.98 MB, Google Earth 25.59 MB and so on) it corresponds approximately to the total internal memory used. If so then what part of each app is moved to the ext partition.
I have configured a2sd correctly and when I checked with 'Quick System Info' it shows that some part of the ext has been used. My ext partition is 1 GB and after installing the apps it shows free space at 604 mb which confirms that app2sd is working and part of each app has moved to the ext partition. If so why is my Internal showing the sum of all apps added?
Hope some one can clarify and help a noob
internal should still go down but not as much.
i never tried to add all my apps up before to see what it said but i know i have flash and the the three angry birds which are over 10MB each, e.g. 40MB and of the 130-oddMB from first install I still have about 80MB internal left and about 80 apps installed in total
exatly what i thought. my internal shows 180mb used (108 mb free). 22 mb was used at first boot and the rest 158mb is exatly the sum of all apps added togeather. But my ext which was 1 gb has gone down to 604 mb as per 'quick system info' If so what is using the exe partition?
Is there any way to check if a2sd is working thru terminal emulator? if so what are the commands.
Can any InsertCoin users shed some light on this issue. I've no FC or any errors of any sort and the rom is working great except for this issue
Thanks in advance
hncdesilva said:
exatly what i thought. my internal shows 180mb used (108 mb free). 22 mb was used at first boot and the rest 158mb is exatly the sum of all apps added togeather. But my ext which was 1 gb has gone down to 604 mb as per 'quick system info' If so what is using the exe partition?
Is there any way to check if a2sd is working thru terminal emulator? if so what are the commands.
Can any InsertCoin users shed some light on this issue. I've no FC or any errors of any sort and the rom is working great except for this issue
Thanks in advance
Click to expand...
Click to collapse
Very easy to check if a2sd is working. Open terminal emulator and enter the following commands:
Code:
su
ls -l /data
The ouput should say something like this:
Code:
/app -> /sd-ext/app
app-private -> /sd-ext/app-private
If your dalvik cache is also moved to sd-ext, you should also an output like this:
[dalvik-cache -> /sd-ext/dalvik-cache[/code].
The "->" means "is symlinked to".
MatDrOiD said:
Very easy to check if a2sd is working. Open terminal emulator and enter the following commands:
Code:
su
ls -l /data
The ouput should say something like this:
Code:
/app -> /sd-ext/app
app-private -> /sd-ext/app-private
If your dalvik cache is also moved to sd-ext, you should also an output like this:
[dalvik-cache -> /sd-ext/dalvik-cache[/code].
The "->" means "is symlinked to".
Click to expand...
Click to collapse
this is what it says
$ export PATH=/data/local/bin:$PATH
$ su
# ls -l /data
total 27
lrwxrwxrwx 1 0 0 14 Sep 16 09:46 app -> /system/sd/app
drwxrwx--x 1 1000 1000 2048 Sep 16 09:46 app-private
drwx------ 1 1000 1000 2048 Sep 16 09:49 backup
drwxrwx--x 1 1000 1000 2048 Sep 17 16:08 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Sep 17 16:08 data
drwxr-x--- 1 0 1007 2048 Sep 16 09:46 dontpanic
lrwxrwxrwx 1 0 0 11 Sep 16 09:46 drm -> /data/local
drwxrwx--x 1 1000 1000 2048 Sep 16 09:44 etc
drwxr-xr-x 15 0 0 0 Sep 17 15:28 htcfs
drwxrwx--x 1 2000 2000 2048 Sep 16 09:46 local
drwxrwx--- 1 0 0 2048 Sep 16 09:46 lost+found
drwxrwx--t 1 1000 9998 2048 Sep 17 16:12 misc
drwx------ 1 0 0 2048 Sep 17 15:28 property
drwxr-xr-x 1 0 0 2048 Sep 16 09:44 sd
drwx------ 1 1000 1000 2048 Sep 16 09:47 secure
drwxrwxr-x 1 1000 1000 2048 Sep 17 16:08 system
#
A2SD is working. The ouput that shows this is:
Code:
app -> /system/[B]sd[/B]/app
The dalvik-cache stays on /data partition, because with cm7 hboot (I assume you use it because you flashed cm7 version of insertcoin) there is enough for space it and also for performance reasons that's better.
MatDrOiD said:
A2SD is working. The ouput that shows this is:
Code:
app -> /system/[B]sd[/B]/app
The dalvik-cache stays on /data partition, because with cm7 hboot (I assume you use it because you flashed cm7 version of insertcoin) there is enough for space it and also for performance reasons that's better.
Click to expand...
Click to collapse
Thanks once again
Good to know that a2sd is working. but then onto my previous question. why is ext depleted by approx 300mb and my internal shows the sum of all aps? That is I added the apps capacity manually on 'manage apps' and it corresponds to the amount of apps installed + 20 MB or so which was used on first boot in internal memory.
Yes I'm using Insert coin cm7 version and also prefer my dalvik cache on /data partition as you correctly said to improve speed. Why is Internal memory showing the sum of all apps and ext depleted by approx 300mb. what is moved to ext?
hncdesilva said:
Thanks once again
Good to know that a2sd is working. but then onto my previous question. why is ext depleted by approx 300mb and my internal shows the sum of all aps? That is I added the apps capacity manually on 'manage apps' and it corresponds to the amount of apps installed + 20 MB or so which was used on first boot in internal memory.
Yes I'm using Insert coin cm7 version and also prefer my dalvik cache on /data partition as you correctly said to improve speed. Why is Internal memory showing the sum of all apps and ext depleted by approx 300mb. what is moved to ext?
Click to expand...
Click to collapse
The main part of the apps you install is moved to ext. In /data/app some small app information is stored. But don't worry, the used space is very small, so it should not disturb you. Just be happy a2sd is fully working.
Also can someone enlighten me on A2SD and A2SD+
What are the diferences?
Thanks once again
hncdesilva said:
Also can someone enlighten me on A2SD and A2SD+
What are the diferences?
Thanks once again
Click to expand...
Click to collapse
With a2sd the apps you install will be automatically moved to ext partition on sd card.
With a2sd+ the dalvik cache will also (so in addition, that's why there is the "+") be moved automatically to ext partition.
Thanks Mate +2 for your quick rply

[Q] Manage apps location with A2SD

Hi guys!
I'm here to ask for help ^^
I have my HTC Desire root and S-OFF with the CM7-R2 Hboot.
But I'm struggling with the A2SD script installed by default on the LeeDrOiD HD V3.3.3-Port-R5.
Everything works great except that the A2SD can't be managed manually.
I explain :
I have about 80 apps and the ROM is DATA++ on the CM7-R2 Hboot
So, I have a 288 MB of internal memory and 0.94 MB of A2SD memory
The thing is that, little by little, when I install apps both internal and sd-ext memory decrease... By now, I only have 25 MB left on the internal memory whereas it remains 484 MB on the sd-ext one!...
And it comes a moment where I have under 15 MB free on the internal memory and I no longer can install apps...
My question is : Is it possible to manage the memories and move some apps on the internal memory to the sd-ext? (because I think the point of such a script is to free some internal memory right?)
Thanks in advance for your answers
Bye!
PS: excuse my language, I'm not a native english speaker
If you installed A2SD correctly, all apps you install will be moved to EXT partition automatically. So to make sure A2SD is working, do the following:
Get a terminal emulator, open it and enter
Code:
su
ls -l /data
Now post the output here.
SwiftKeyed from dGB with Transparent XDA App
Hi!
This is what I get:
# export PATH=/data/local/bin:$PATH
# ls -l data
total 30
lrwxrwxrwx 1 0 0 14 Oct 31 20:47 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Oct 31 20:47 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Oct 31 22:55 backup
drwxrwx--x 1 1000 1000 2048 Oct 31 20:47 dalvik-cache
drwxr-xr-x 1 0 0 2048 Oct 31 20:39 data
drwxr-x--- 1 0 1007 2048 Oct 31 20:47 dontpanic
lrwxrwxrwx 1 0 0 11 Oct 31 20:47 drm -> /data/local
drwxr-xr-x 1 0 0 2048 Oct 31 20:39 etc
drwxr-xr-x 15 0 0 0 Oct 31 22:54 htcfs
drwxr-xr-x 1 2000 2000 2048 Oct 31 20:47 local
drwxrwx--- 1 0 0 2048 Oct 31 20:47 lost+found
drwxrwx--t 1 1000 9998 2048 Nov 1 00:06 misc
drwxr-xr-x 1 0 0 2048 Oct 31 22:56 property
drwx------ 1 1000 1000 2048 Oct 31 20:47 secure
drwxrwxr-x 1 1000 1000 2048 Nov 1 00:03 system
-rw-r--r-- 1 0 0 5943 Oct 31 22:55 zipalign.log
#
The app data seems to be linked to the EXT partition but my internal memory keeps decreasing...
Hope it'll help to solve my problem
Thank you
Cheers!
anyone encountered this issue?
Output shows A2SD is working correctly.
lrwxrwxrwx 1 0 0 14 Oct 31 20:47 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Oct 31 20:47 app-private -> /system/sd/app-privat
Click to expand...
Click to collapse
The reason why your internal memory decreases are:
1.) Dalvik cache is on internal memory
2.) Even if one is using A2SD, some app data is still stored on /data. That's how it is.
But it will help a lot when you move dalvik cache to ext. You do this by flashing this script from leedroid's thread page in recovery:
http://leedroid.ftp.rshost.eu/Bravo_Addons/Move-Dalvik-to-sdext.zip
This will minimise the decreasing of your internal memory very much.
Ok thank you
I have used the move-dalvik-2-ext script and I now have 190 MB free on the internal !! thank you
But I will try someday to install the sibere's DATA2SD script :
http://forum.xda-developers.com/showthread.php?t=852219
Thanks again ^^
cheers!
No problem. Press the thanks-button.
MatDrOiD said:
Output shows A2SD is working correctly.
The reason why your internal memory decreases are:
1.) Dalvik cache is on internal memory
2.) Even if one is using A2SD, some app data is still stored on /data. That's how it is.
But it will help a lot when you move dalvik cache to ext. You do this by flashing this script from leedroid's thread page in recovery:
http://leedroid.ftp.rshost.eu/Bravo_Addons/Move-Dalvik-to-sdext.zip
This will minimise the decreasing of your internal memory very much.
Click to expand...
Click to collapse
I've to flash the .zip before or after flashing the rom and it's radio?
Bobbi lim said:
I've to flash the .zip before or after flashing the rom and it's radio?
Click to expand...
Click to collapse
after... if u flash it before the rom then whats it going to move?
Sent from my HTC Desire
Bobbi lim said:
I've to flash the .zip before or after flashing the rom and it's radio?
Click to expand...
Click to collapse
Of course after , if u do it before nothing gonna move cuz u've no ROM installed bro
Sent from my HTC Desire using xda app-developers app

[Q] Ext4 problems!!! - GParted - please help

Hello everyone,
I have been trying to create an ext4 partition using GParted. I did all necessary steps - will quickly run thru, just so you know:
1. Burnt ISO and accessed thru boot menu (running XP/SP3, btw)
2. Deleted existing allocation.
3. Created new primary partition as FAT32
4. Allocated "free space following" as 1024
5. Specified the unallocated memory (1024) as ext4.
There was no error in the operation.
However... When I tried to load stuff to the SD card, Windows prompted me to format the card before using. It made no sense but I couldn't do anything. And by formatting it, I lost everything that GPL had done in the first place.
I went over the process again, to no avail.
Does anyone know where I've possibly gone wrong? Please help.
Thanks..!
Not really but I use a program called VM (virtual machine) instead of burning a CD as I had problems using CD. then when it finishes Windows refreshes & remounts SD generally without issue, but G-parted should still read it & ext4 should be ok as windows doesn't recognise it. Even so G-parted will still reformat it even if Windows done It's thing!
Sent from my HTC Desire using XDA App
I don't understand why this happens.
G-Parted doesn't report any error. In fact, just went through the process again.
I re-started GParted to ensure that the partition was successful.
Then, I booted back to windows and tried to load the backup to the SDcard and then, bang! "You need to format your SD card before proceeding".
Right click, properties shows RAW, 0 bytes, etc. It says I have to format again... Grrr....
WTH?
Triple checked - this time, before trying to format as Windows would suggest, I rebooted back to Gparted.
As one would expect - it did show FAT32 and ext4 partitions in the card (via card reader)...
But when I try to load stuff thru Windows, it doesn't allow!!!!!
Either I am doing something wrong without realising it. Or... This really is crazy.
My SD card is class 4, by the way. Dunno if tht helps!
It sounds like gparted only creates your partition table, not your file systems.
With gparted you create 2 partitions. One FAT and one EXT. Both are uninitialized. When you connect it to Windows, and it prompts you to format the DC card, it really want to just format the FAT partition. Check the size.
Hope this helps.
-Jobo
Check the size? As in?
My SD card is a class 4, 4GB.
G-Parted shows it perfectly. 2.69 (FAT32) plus 1.0 (940-ish MB, as ext-4)
But while running from my computer, I don't see any size description. I am forced to format it and voila, back to 3.69 (FAT32).
When I run G-Parted again, it prompts me to create the partition table (without which, it cannot proceed). So... It creates partition table (msdos, default) and I go through the process again, only for it end up as a vicious cycle! :/
Make sure that both partitions are made as primary
kartnite said:
Check the size? As in?
[...]
I am forced to format it and voila, back to 3.69 (FAT32).
Click to expand...
Click to collapse
That size.
This indicates that my first thought was wrong, and it does not prompt you to just format the FAT partition, but the entire device.
In gParted, try not only creating your partitions but also formatting them. Make sure you 'apply changes' before you quit.
daym0ss said:
Make sure that both partitions are made as primary
Click to expand...
Click to collapse
Yep. Did. No use. x(
touch of jobo said:
That size.
This indicates that my first thought was wrong, and it does not prompt you to just format the FAT partition, but the entire device.
In gParted, try not only creating your partitions but also formatting them. Make sure you 'apply changes' before you quit.
Click to expand...
Click to collapse
Yep... I did just that.
In fact, I even tried doing things one at a time (instead of queuing them up and executing them at one go).
Tried it on another memory card, too.
No avail. Am i hexed or what!?!?!?!
Problem solved, guys. Got so frustrated... I just did a system wipe. Wiped the card again. Started from scratch. Voila...
Thanks for the prompt responses!
Flashed the Runnymede ROM, too. Now my question is - how o I know if A2SD+ is actually functioning?
The storage settings say that 130-ish MB free. I downloaded Quick System Info Pro which says 547MB (out of 900-ish, as shown in G-Parted when I made the ext4 partition) A2SD storage free.
Am I missing something here?
It makes no sense (to me) that wiping your phone would make a difference.
Glad you got it worked out anyway, of course!
Just for my (and maybe others') understanding:
How did you have your sd card connected to your computer, when it didn't work?
In a card reader / in your phone via recovery / in your phone while booted / ...?
-Jobo
touch of jobo said:
It makes no sense (to me) that wiping your phone would make a difference.
Glad you got it worked out anyway, of course!
Just for my (and maybe others') understanding:
How did you have your sd card connected to your computer, when it didn't work?
In a card reader / in your phone via recovery / in your phone while booted / ...?
-Jobo
Click to expand...
Click to collapse
Sorry for the delayed reply, @Jobo.
At first, I was trying via the card reader. Didn't work. Tried it thru phone (in recovery mode). Faced the same problem. Never tried it with the phone booted.
Wiped everything and tried again with the phone in recovery. Worked.
But now... Although it shows up fine when inserted in to the PC (shows 2.69 instead of 3.69 and doesn't ask to be formatted), I get the odd prompt from my phone tht memory is reducing? So... Don't really understand if the A2SD+ is 'actually' operating. :/
Open terminal emulator on your phone, enter
Code:
su
ls -l /data
and post the output here.
Sent from dGB with Transparent XDA App
touch of jobo said:
It makes no sense (to me) that wiping your phone would make a difference.
Glad you got it worked out anyway, of course!
Click to expand...
Click to collapse
Agree +1
If you ever use the 4ext recovery to check, you will see the result after you wipe all, it's doesn't matter.
Anyway, congradulation for it worked~
MatDrOiD said:
Open terminal emulator on your phone, enter
Code:
su
ls -l /data
and post the output here.
Sent from dGB with Transparent XDA App
Click to expand...
Click to collapse
Ok... Downloaded the app. This is the output, @MatDroid
Code:
$ su
# ls -l /data
drwxrwxr-x 1 1000 1000 2048 Dec 1 12:05 anr
lrwxrwxrwx 1 0 0 11 Nov 28 22:38 app -> /sd-ext/app
lrwxrwxrwx 1 0 0 19 Nov 28 22:38 app-private -> /sd-ext/app-private
drwx------ 1 1000 1000 2048 Dec 1 17:59 backup
lrwxrwxrwx 1 0 0 20 Nov 29 03:11 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 1000 1000 2048 Dec 2 17:00 data
drwxr-x--- 1 0 1007 2048 Nov 28 22:38 dontpanic
lrwxrwxrwx 1 0 0 11 Nov 28 22:38 drm -> /data/local
drwxrwx--x 1 1000 1000 2048 Nov 28 22:33 etc
drwxr-xr-x 15 0 0 0 Dec 1 17:59 htcfs
srwxrwxrwx 1 0 1002 2048 Dec 1 13:24 inc_data_path
drwxrwx--x 1 2000 2000 2048 Nov 28 22:38 local
drwxrwx--- 1 0 0 2048 Nov 28 22:38 lost+found
drwxrwx--t 1 1000 9998 2048 Dec 2 16:45 misc
drwx------ 1 0 0 2048 Dec 2 13:40 property
drwx------ 1 1000 1000 2048 Nov 28 22:39 secure
drwxrwxr-x 1 1000 1000 2048 Dec 2 17:01 system
drwxr-xr-x 1 1000 1000 2048 Nov 28 22:38 tombstones
drwxrwx--- 1 1000 1000 2048 Nov 28 22:38 wimax
#
A2SD+ is fully working. This is the important output:
lrwxrwxrwx 1 0 0 11 Nov 28 22:38 app -> /sd-ext/app
lrwxrwxrwx 1 0 0 19 Nov 28 22:38 app-private -> /sd-ext/app-private
drwx------ 1 1000 1000 2048 Dec 1 17:59 backup
lrwxrwxrwx 1 0 0 20 Nov 29 03:11 dalvik-cache -> /sd-ext/dalvik-cache​It means, app, app-private and dalvik-cache are symlinked/moved ("->") to sd-ext of partition of SD card. That's what the A2SD+ script should do, so it works.
xesor said:
Agree +1
If you ever use the 4ext recovery to check, you will see the result after you wipe all, it's doesn't matter.
Anyway, congradulation for it worked~
Click to expand...
Click to collapse
Thanks.
MatDrOiD said:
A2SD+ is fully working. This is the important output:
lrwxrwxrwx 1 0 0 11 Nov 28 22:38 app -> /sd-ext/app
lrwxrwxrwx 1 0 0 19 Nov 28 22:38 app-private -> /sd-ext/app-private
drwx------ 1 1000 1000 2048 Dec 1 17:59 backup
lrwxrwxrwx 1 0 0 20 Nov 29 03:11 dalvik-cache -> /sd-ext/dalvik-cache​
Click to expand...
Click to collapse
Hmmm, thanks for the reassurance, mate. Just read your explanation, too.
I don't think I need to click on "move to external storage" for apps any longer, yeah?
kartnite said:
Thanks.
Hmmm, doesn't make sense to me. But thanks for the reassurance, mate.
I don't think I need to click on "move to external storage" for apps any longer, yeah?
Click to expand...
Click to collapse
Added explanation to post.
No, you MUST NOT use "move to external storage" for apps. The reason for this is simple: Android can only differentiate between apps on FAT32 partition of SD card or internal memory (/data partition). A2SD+ moves the apps you install automatically to EXT partition SD card. But android "thinks" the app is still on internal /data partition (and some app-data is still there), so there is still the option to move to external storage, but this is the FAT32 partition.
MatDrOiD said:
Added explanation to post.
No, you MUST NOT use "move to external storage" for apps. The reason for this is simple: Android can only differentiate between apps on FAT32 partition of SD card or internal memory (/data partition). A2SD+ moves the apps you install automatically to EXT partition SD card. But android "thinks" the app is still on internal /data partition (and some app-data is still there), so there is still the option to move to external storage, but this is the FAT32 partition.
Click to expand...
Click to collapse
Ha ha! I edited my last post just before you mentioned it!
Great... Understood. Will move back all apps - even those which were, by default, installed to the SD.
But can you tell me what exactly happens if, despite the A2SD+, I choose the "move to SD" option? It is moved from ext to SD, then? Tht part is slightly confusing...
As I wrote, they were moved to FAT32 partition of SD card.
Sent from dGB with Transparent XDA App

Darktremor's apps2sd datasd doesn't work, whithout errors

Hi
i'm trying to use DT a2sd, it moves succesfully apps to sd, and also caches to sd, but when i enter "datasd" command it prints out several lines too fast and then restarts, but after restart when i enter "check" command it says that datas are on internal memory. how can i diagnose that, or what is the problem?
at least, where are the log files?
also, is it possible to move datas but not cache?
thanx for all
Sent from my HTC Desire using XDA
ahmad598 said:
hi
i'm trying to use dt a2sd, it moves succesfully apps to sd, and also caches to sd, but when i enter "datasd" command it prints out several lines too fast and then restarts, but after restart when i enter "check" command it says that datas are on internal memory. How can i diagnose that, or what is the problem?
At least, where are the log files?
Also, is it possible to move datas but not cache?
Thanx for all
sent from my htc desire using xda
Click to expand...
Click to collapse
wrong thread
ahmad598 said:
Hi
i'm trying to use DT a2sd, it moves succesfully apps to sd, and also caches to sd, but when i enter "datasd" command it prints out several lines too fast and then restarts, but after restart when i enter "check" command it says that datas are on internal memory. how can i diagnose that, or what is the problem?
at least, where are the log files?
also, is it possible to move datas but not cache?
thanx for all
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
Just download a2sd gui from market, it's app made by darktremor to configure the script.
Easier and less hassle than command line, btw this thread should be in Q&A.
Sent from my HTC Desire using xda premium
sorry for posting in wrong place.
but i have a2sdgui and it doesn't have datasd function. am i wrong?
Sent from my HTC Desire using XDA
ahmad598 said:
sorry for posting in wrong place.
but i have a2sdgui and it doesn't have datasd function. am i wrong?
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
It is there but, you have to activate advanced settings or something similar, not quite sure how it is called. But I wouldn't recommend it data doesn't consume much space and moving it to SD will slowdown your device.
Sent from my HTC Desire using XDA
TRSolebum said:
It is there but, you have to activate advanced settings or something similar, not quite sure how it is called. But I wouldn't recommend it data doesn't consume much space and moving it to SD will slowdown your device.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
i can't find it, even when i press menu button nothing happens. is there anything wrong with my device? i'm running a2sdgui 1.0 on latest miui.
i have near 90 apps installed (beside system apps) and when i chose to move & rebuild dalvik cache to internal memory, 110mb of data moved to internal. is it unusual? this is my current situation, according to titanium backup:
Code:
system ROM: 262mb total -- 122 mb free
internal: 154 mb total -- 16.9 mb free
sd card: 14.7 gb total -- 5.02 gb free
sd card (a2sd): 1.05 gb total -- 888 mb free
i think the ratio of used space on sd-ext to used space on internal memory must be more than this, am i wrong?
if i'm right, and there is a problem with a2sd functioning, then these things happened to me to get me here: i set upped a2sd with apps on sd, and i had near 800mb of apps on sd, and internal nearly full. then i decided to move cache to sd to get more space on internal, but my system slowed down and i was forced to move cache back to internal, but surprisingly it had no space. after several data/app wipes and reinstalls, i still have problems like above. what should i do, and what is wrong?
Any DATA2SD cannot be used "on top" of any A2SD-script because they work too different:
DATA2SD-script moves all internal data (/data-partition) to an EXT-partition of your SD Card. The size of this EXT-partition is now the size of your internal memory.​
A2SD-script moves all apps you install automatically to an EXT-partition of your SD Card. (but some app-data still remains in internal memory). With A2SD+ Dalvik Cache will also be moved to that EXT-partition. The size of internal memory does not change.​
Result: You have to choose if you want to use DATA2SD or A2SD/A2SD+. If both scripts are available for your Rom, I recommend to make this decicison conditional on the class of your SD card: If it has Class 4 or less, choose A2SD/A2SD+. If it has Class 6 or higher, choose DATA2SD.
thanx for your info, but i'm not trying to use different scripts; it's only one script (darktremor's apps2sd, installed by default on miui) that has an explicit command for moving data to sd ("datasd" command).
i'm suspicious of a problem: i think there are some duplicate/legacy data here; i mean maybe in these processes of consequent moves, there are some data remaining from apps that are not installed anymore, or there are some duplicate ones due to currently installed apps. can this be the problem? because i have used backup ability of miui by itself, and maybe it causes these problems.
also to note: i've flashed again my rom, installing apps one by one without backup, and before installing them i've entered
Code:
a2sd install
command. after install, there was only near 18mb space remaining on internal. then i entered
Code:
a2sd datasd
and i then i had 60mb space on internal. but when i enter
Code:
a2sd check
it says me that data are not on sd. what the hell is going on, i don't know.
Rebooted after running first two commands? Please run full wipe, make sure your SD card is correctly partitionend, then run first command, reboot and post the output of these commands here:
Code:
su
ls -l /data
I've partitioned it twice with both minitool and gparted. Then i ran full wipe, and installed the rom. Yes, it rebooted after both commands, and here is the output:
Code:
drwxrwxr-x 1 system system 2048 Mar 30 16:06 anr
lrwxrwxrwx 1 root root 11 Mar 29 21:07 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Mar 29 21:07 app-private -> /sd-ext/app-private
drwx------ 1 system system 2048 Mar 29 22:57 backup
drwxrwx--x 1 system system 2048 Mar 30 15:17 dalvik-cache
lrwxrwxrwx 1 root root 12 Mar 29 21:17 data -> /sd-ext/data
drwxr-x--- 1 root log 2048 Mar 29 20:20 dontpanic
-rw-rw-rw- 1 root root 51806 Mar 30 13:59 dta2sd.log
drwxrwx--x 1 shell shell 2048 Mar 29 20:20 local
drwxrwx--- 1 root root 2048 Mar 29 20:20 lost+found
drwxrwx--t 1 system misc 2048 Mar 30 15:20 misc
drwx------ 1 root root 2048 Mar 30 13:59 property
drwxrwxrwx 1 system system 2048 Mar 29 20:24 sdcard
drwx------ 1 system system 2048 Mar 29 20:21 secure
drwxrwxr-x 1 system system 2048 Mar 30 16:07 system
sorry for posting late, i had difficulties reaching here. thanx for your help

Categories

Resources