Darktremor's apps2sd datasd doesn't work, whithout errors - Desire Q&A, Help & Troubleshooting

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

Related

[Q] How do I use A2SD+

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.

[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] 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

[Q] move apps on sdcard with [BETA 0.3.8.1][31.01] ICS for Desire [with Camera+video]

Sorry but I didn't find the answer. After rooting on this new rom, I can't move any apps on the sdcart via the app manager... how can I do ?
sebvass said:
Sorry but I didn't find the answer. After rooting on this new rom, I can't move any apps on the sdcart via the app manager... how can I do ?
Click to expand...
Click to collapse
Have a look on the first page (main post) of the rom thread. Details of activating a2sd are there (need to use terminal emulator).
Sent from my HTC Desire using Tapatalk
Thanks ! I've just install a2sd but the "move to SD card" option is still in grey...
Sent from my HTC Desire using XDA App
sebvass said:
Thanks ! I've just install a2sd but the "move to SD card" option is still in grey...
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Because you did not understand how A2SD works.
When using A2SD, all apps you install will be automatically moved to an EXT-partition on your SD card (SD-EXT). It does not matter, if the dev of the app programmend the app for moving it to SD or not.
Android can only differentiate between "apps on internal memory" and "apps on FAT32-partition" of SD card". Which means with A2SD, although apps are installed on SD-EXT, Android still thinks it's installed in internal memory (and some data of the app still remains on internal memory; that's not fault, it's just how A2SD works).
By using the "move to SD card" option in application settings you move the apps from internal memory to FAT32-partition. BUT NEVER DO THAT WHEN USING A2SD!! It could cause very strange and serious issues. Furthermore, to move that option the app has to be programmed for that by its dev.
Oh ok !!!! Thank you very much!!!! Merci !!
Sent from my HTC Desire using XDA App
sebvass said:
Oh ok !!!! Thank you very much!!!! Merci !!
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Instead of saying thanks, please use the thanks-button (or at least additionally).
Just to clarify this for myself...
I was using GingerVillian 3.3 (http://forum.xda-developers.com/showthread.php?t=880465&page=1149) and had apps2sd set up on there. When I installed an app (i.e. Facebook) I could move it to my SD card by clicking the button, which I couldn't do beforehand.
I have installed this version of ICS for Desire (BETA 0.3.8.1) and activated the a2sd. I now can't install my apps to the SD card using the button in the same way as I could previously, so I thought it wasn't working.
So I guess my questions are:
1. is apps2sd different to a2sd?
2. as far as i know, i didn't wipe my ext3 partition, so my old apps are possibly still there - could this be a problem?
3. does it seem like my a2sd is working?
Thanks.
1. No. app2sd is the Android-version of moving apps to SD, A2SD is the script I wrote about some posts above yours.
For the rest read my post. Your questions were answered, even though not directly.
To check if A2SD works, open terminal emulator on phone and post the output of this commands here:
Code:
su
ls -l /data
a/local/bin:$PATH <
[email protected]:/ $ su
[email protected]:/ # ls -l /data
drwxrwxrwx root root 2012-02-02 22:37 app
drwxrwx--x system system 2012-02-01 21:51 app-private
drwx------ system system 2012-02-02 13:41 backup
drwxrwxrwx system system 2012-02-02 22:37 dalvik-cache
drwxrwx--x system system 2012-02-02 22:37 data
drwxr-x--- root log 2012-02-01 21:30 dontpanic
drwxrwxr-- drm drm 2012-02-01 21:41 drm
drwxrwx--x shell shell 2012-02-01 21:30 local
drwxrwx--- root root 2012-02-01 21:30 lost+found
drwxrwx--t system misc 2012-02-02 22:32 misc
drwx------ root root 2012-02-02 13:41 property
drwxrwx--x system system 2012-02-01 21:30 resource-cache
drwxrwxr-x system system 2012-02-02 22:38 system
drwxr-xr-x system system 2012-02-01 22:28 tombstones
drwxr-xr-x system system 2012-02-01 21:30 user
[email protected]:/ #
Thanks
Sent from my HTC Desire using XDA App
A2SD is not activated. First boot into recovery and wipe your SD-EXT. Then check the ICS-thread again and double-check you used the correct commands for activating A2SD. If you sure you did everything right, run the commands above again and post the output here a second time.

Rebooting after flash

Hi guys.. I just wanted to ask whether it is normal if my phone reboots few times after flashing new ROM...
and after the reboots your in the os ok? not normal but my guess is there's a kernel problem, maybe you didn't fully wipe. but if all works after a few reboots you should be ok
Sent from my HTC Vision using xda premium
jumptoin said:
Hi guys.. I just wanted to ask whether it is normal if my phone reboots few times after flashing new ROM...
Click to expand...
Click to collapse
Depends on the ROM/Kernel. For example with EliteMod/Kernel a reboot is actually required for it to finish up post-install steps.
But if you're talking bout rebooting like 4 or 6 times and never entering the OS, that could be indications of a problem causing a boot loop. One example is flashing a Rom/Kernel that doesn't support your radio (some require the newer *.19 radio), or if you try to flash a larger (sense?) rom onto a G2 hboot instead of DZ hboot.
More information is needed if you need further help.
it was exactly elite rom with elite kernel so it means everythings allright?
jumptoin said:
it was exactly elite rom with elite kernel so it means everythings allright?
Click to expand...
Click to collapse
Should be fine, the usual process is:
Recovery (backup if needed)
Partition SD Card if needed (i.e.: sd-ext, no sd-ext2, don't bother with swap if using dataswap)
Factory Reset / Cache / Dalvik Cache Wipe
Flash Rom (no need to flash Kernel as it's included in the Rom)
Flash Addons if desired (DataSwap Mod, Google Talk, as specified in thread, etc)
Reboot
Initial boot may take a while, and might reboot once or twice
Setup your information and when you reach the home screen you may be prompted with a dialog that says Apex Launcher and "Reboot Now!", you select the Reboot Now, and follow the instructions to do the final reboot and then all is done.
kbeezie said:
Should be fine, the usual process is:
Recovery (backup if needed)
Partition SD Card if needed (i.e.: sd-ext, no sd-ext2, don't bother with swap if using dataswap)
Factory Reset / Cache / Dalvik Cache Wipe
Flash Rom (no need to flash Kernel as it's included in the Rom)
Flash Addons if desired (DataSwap Mod, Google Talk, as specified in thread, etc)
Reboot
Initial boot may take a while, and might reboot once or twice
Setup your information and when you reach the home screen you may be prompted with a dialog that says Apex Launcher and "Reboot Now!", you select the Reboot Now, and follow the instructions to do the final reboot and then all is done.
Click to expand...
Click to collapse
thats exactly what i did now my phone is like a wind and could i have one more question ..sorry for stupid questions iam just curious and i like these things ... what is dataswap for? i know that it makes something faster... thank you bro
jumptoin said:
thats exactly what i did now my phone is like a wind and could i have one more question ..sorry for stupid questions iam just curious and i like these things ... what is dataswap for? i know that it makes something faster... thank you bro
Click to expand...
Click to collapse
In a nutshell = using /data for your swap instead of the SD card for faster access and no need to partition the SD Card for swap space.
DataSwap is a mod that nik3r created for EliteMod that utilizes a swapfile on the /data partition (as he said compliments the use of sd-ext since space on /data is freed up when all the apps are moved to sd-ext).
Using Dataswap would be faster than a swap partition on the SD card because it's run off internal memory, and to prevent wear on the internal memory the location of the swap file is moved after every reboot (where as sd-swap is always swapping to that portion of the SD card).
With both dataswap and sd-ext used you distribute your usage across two different sets of storage which in the long run might improve the life of the device.
If you're unfamiliar with swap, its basically 'extra' space when you run out of ram which can help improve multitasking. Without any swap space at all you tend to run into Force Closes and applications hanging when you actually run out of memory.
64MB is the recommended size, where as 96MB would be good for people who do a lot of heavy multitasking. You *can* use both DataSwap and SD Swap, but not much point to it.
PS: The DataSwap mod he made only works with the EliteKernel, and is not recommended to be used without sd-ext since you want that free space on /data for it.
Details in his own words here : http://forum.xda-developers.com/showpost.php?p=27608489&postcount=153
The cliff notes:
- complements sd-ext
- dramatically improves multitasking
Click to expand...
Click to collapse
kbeezie said:
In a nutshell = using /data for your swap instead of the SD card for faster access and no need to partition the SD Card for swap space.
DataSwap is a mod that nik3r created for EliteMod that utilizes a swapfile on the /data partition (as he said compliments the use of sd-ext since space on /data is freed up when all the apps are moved to sd-ext).
Using Dataswap would be faster than a swap partition on the SD card because it's run off internal memory, and to prevent wear on the internal memory the location of the swap file is moved after every reboot (where as sd-swap is always swapping to that portion of the SD card).
With both dataswap and sd-ext used you distribute your usage across two different sets of storage which in the long run might improve the life of the device.
If you're unfamiliar with swap, its basically 'extra' space when you run out of ram which can help improve multitasking. Without any swap space at all you tend to run into Force Closes and applications hanging when you actually run out of memory.
64MB is the recommended size, where as 96MB would be good for people who do a lot of heavy multitasking. You *can* use both DataSwap and SD Swap, but not much point to it.
PS: The DataSwap mod he made only works with the EliteKernel, and is not recommended to be used without sd-ext since you want that free space on /data for it.
Details in his own words here : http://forum.xda-developers.com/showpost.php?p=27608489&postcount=153
The cliff notes:
Click to expand...
Click to collapse
thanks now i understand it at least partly ... and what do you think does it really worth flashing ? does it come with any bugs,problems?
jumptoin said:
thanks now i understand it at least partly ... and what do you think does it really worth flashing ? does it come with any bugs,problems?
Click to expand...
Click to collapse
Not that I've noticed, but swap space just like SDSwap always has that 'inherent' risk of long term use (but course when used with sd-ext you kind of spread that usage out a little). Just like how there's always a risk when rooting your phone.
If you want to give it a go, but haven't partitioned your SD Card yet (I recommend 4EXT recovery over clockwork mod especially since it can convert your existing /data /cache /system to ext4 instead of ext3 which EliteMod supports), you can backup your SD Card, partition it with sd-ext (2GB or so should do fine if you got an 8GB or 16GB card), no swap, and no sd-ext2, formatted as ext4 (then copy back the SD card stuff you saved). Then flash the DataSwap mod.
The EliteMod rom will notice the new sd-ext partition and move everything from /data/app and /data/app-private over to the sd-ext and map it from there so that the phone just see's it as internal storage ("move to SD" will refer to Fat32 partition, so ideally you don't want any of your apps showing as on "SD").
With that freed up space on /data the dataswap mode will create a swap file in /data/local
Code:
[email protected]:/data/local # busybox ls -lah
drwxr-x--x 4 root root 4.0K Jul 11 17:10 .
drwxrwx--x 18 system system 4.0K Jul 11 17:10 ..
drwxrwx--x 2 system cache 4.0K Jun 26 21:05 download
-rw-r--r-- 1 root shell 7 Jul 6 16:03 elitemod.present
-rwxrwxrwx 1 root root 42 Aug 1 2008 postcleaner.sh
-rw------- 1 root shell 96.0M Jul 11 17:10 swap
drwxrwx--x 2 shell shell 4.0K Jun 26 21:05 tmp
-rwxrwxrwx 1 root shell 2.0K Jun 26 21:12 undervolt.sh
-rwxrwxr-x 1 root root 2.0K Jun 26 20:35 userinit.sh
I'm not sure how his code 'moves' it physically around the emmc chip but it does (i.e.: to prevent any excessive usage of any one part of the internal memory).
You can verify that the dataswap is active via free
Code:
[email protected]:/data/local # free
total used free shared buffers
Mem: 375212 367000 8212 0 8176
-/+ buffers: 358824 16388
Swap: 98300 2732 95568
If you also have a swap partition on the SD card you should see the swap line contain the total of DataSwap + SDSwap space. If neither then it would simply be zero. Nik3r used to use a 32MB dataswap but found that the 'sweet spot' was around 52MB as such 64MB became the new recommended size.
You can use Dataswap without an sd-ext partition, but it's not recommended.
kbeezie said:
Not that I've noticed, but swap space just like SDSwap always has that 'inherent' risk of long term use (but course when used with sd-ext you kind of spread that usage out a little). Just like how there's always a risk when rooting your phone.
If you want to give it a go, but haven't partitioned your SD Card yet (I recommend 4EXT recovery over clockwork mod especially since it can convert your existing /data /cache /system to ext4 instead of ext3 which EliteMod supports), you can backup your SD Card, partition it with sd-ext (2GB or so should do fine if you got an 8GB or 16GB card), no swap, and no sd-ext2, formatted as ext4 (then copy back the SD card stuff you saved). Then flash the DataSwap mod.
The EliteMod rom will notice the new sd-ext partition and move everything from /data/app and /data/app-private over to the sd-ext and map it from there so that the phone just see's it as internal storage ("move to SD" will refer to Fat32 partition, so ideally you don't want any of your apps showing as on "SD").
With that freed up space on /data the dataswap mode will create a swap file in /data/local
Code:
[email protected]:/data/local # busybox ls -lah
drwxr-x--x 4 root root 4.0K Jul 11 17:10 .
drwxrwx--x 18 system system 4.0K Jul 11 17:10 ..
drwxrwx--x 2 system cache 4.0K Jun 26 21:05 download
-rw-r--r-- 1 root shell 7 Jul 6 16:03 elitemod.present
-rwxrwxrwx 1 root root 42 Aug 1 2008 postcleaner.sh
-rw------- 1 root shell 96.0M Jul 11 17:10 swap
drwxrwx--x 2 shell shell 4.0K Jun 26 21:05 tmp
-rwxrwxrwx 1 root shell 2.0K Jun 26 21:12 undervolt.sh
-rwxrwxr-x 1 root root 2.0K Jun 26 20:35 userinit.sh
I'm not sure how his code 'moves' it physically around the emmc chip but it does (i.e.: to prevent any excessive usage of any one part of the internal memory).
You can verify that the dataswap is active via free
Code:
[email protected]:/data/local # free
total used free shared buffers
Mem: 375212 367000 8212 0 8176
-/+ buffers: 358824 16388
Swap: 98300 2732 95568
If you also have a swap partition on the SD card you should see the swap line contain the total of DataSwap + SDSwap space. If neither then it would simply be zero. Nik3r used to use a 32MB dataswap but found that the 'sweet spot' was around 52MB as such 64MB became the new recommended size.
You can use Dataswap without an sd-ext partition, but it's not recommended.
Click to expand...
Click to collapse
Can i make partition .through rom manager?
Or, could I use this way http://www.youtube.com/watch?v=Cygl0qZnbaM to make ext4 partiotion?
jumptoin said:
Can i make partition .through rom manager?
Or, could I use this way http://www.youtube.com/watch?v=Cygl0qZnbaM to make ext4 partiotion?
Click to expand...
Click to collapse
I would strongly advise against using rom manager or any other app to partition or convert existing partitions. You should stick to recovery mode for those kinds of tasks.
Sent from my T-Mobile G2
4EXT recovery would be the best recovery to use for those kinds of tasks on a DZ/G2. While the paid version is in Google play, there is a free apk that simply downloads and installs the latest version of 4EXT touch recovery.
Sent from my T-Mobile G2
Ok man, Iam sure I will do it soon.
Sent from my HTC Vision

Categories

Resources