yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] dennis.l:
I am having problems with app2sd. it is having problem mounting the EXT partition. but I can't see why.

Can you please give give me some pointers?

[ ] Darktremor Apps2SD Log
[ ] Started: Fri Nov 19 11:16:45 UTC 2010
[ ] File running: Main Apps2SD launch (a2sd, apps2sd or 04apps2sd)
[ ] Started with no parameters. Possible boot launch
[ ] Inserting parameter: boot
[ ] Directory Listing: /dev/block:
brw------- 1 0 0 7, 0 Nov 19 11:16 loop0
brw------- 1 0 0 7, 1 Nov 19 11:16 loop1
brw------- 1 0 0 7, 2 Nov 19 11:16 loop2
brw------- 1 0 0 7, 3 Nov 19 11:16 loop3
brw------- 1 0 0 7, 4 Nov 19 11:16 loop4
brw------- 1 0 0 7, 5 Nov 19 11:16 loop5
brw------- 1 0 0 7, 6 Nov 19 11:16 loop6
brw------- 1 0 0 7, 7 Nov 19 11:16 loop7
brw------- 1 0 0 179, 0 Nov 19 11:16 mmcblk0
brw------- 1 0 0 179, 1 Nov 19 11:16 mmcblk0p1
brw------- 1 0 0 179, 2 Nov 19 11:16 mmcblk0p2
brw------- 1 0 0 179, 3 Nov 19 11:16 mmcblk0p3
brw------- 1 0 0 31, 0 Nov 19 11:16 mtdblock0
brw------- 1 0 0 31, 1 Nov 19 11:16 mtdblock1
brw------- 1 0 0 31, 2 Nov 19 11:16 mtdblock2
brw------- 1 0 0 31, 3 Nov 19 11:16 mtdblock3
brw------- 1 0 0 31, 4 Nov 19 11:16 mtdblock4
brw------- 1 0 0 31, 5 Nov 19 11:16 mtdblock5
[ ] Listing partitions currently active:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
tmpfs /app-cache tmpfs rw,relatime,size=8192k 0 0
[ ] Attempting to launch program: launcha2sd
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)

[ ] Using Busybox located at: /system/xbin/busybox
[ ] Checking for existence of Dalvik Heap Change Program.
[!] Dalvik Heap Change Program Not Found.
[ ] Displaying version information: 2.7.5.2
[ ] Mounting ext partitions
[ ] Mount returned code: 0
[X] Mounting failed.
[!] Activating Boot Protection.
[ ] Creating No Apps2SD Flag File
[ ] Swap block device found: /dev/block/mmcblk0p3
[ ] Swap Partition Found...Turning on swap.
Setting up swapspace version 1, size = 32014336 bytes
UUID=8e2e7426-af55-47b0-b251-ce6dee824ba8
[ ] Make Swap command returned code: 0
[X] Problem activating swap. Return code: 1
[ ] Setting swap variables to 0
[ ] Checking for previous version flag files...
[ ] Applications are stored in /data/app
[ ] Private Applications are stored in /data/app-private
[ ] Dalvik-Cache is located in /data/dalvik-cache
[X] No Apps2SD Start flag detected...Apps2SD will not be started.
[ ] cm.filesystem.ready = 1
[ ] dc.filesystem.ready = 1
[ ] Ending Program: launcha2sd
[ ] Ending program: a2sd / apps2sd / 04apps2sd
[Desire Android Development] blitzwind87:
hi

im using leedroid 2.2f and it is app2sd+ enabled... should i flash yours?
[Desire Android Development] tkirton:
One of three things:

1. EXT partition is set for EXT4 when the rom doesn't support EXT4.

2. Something is wrong with your SD card. I would repartition it again.

3. The rom may not actually support EXT (there's only one case of that I'm aware of...certain nightly builds of CM6.1

The first two requires repartitioning the card via recovery.

The last is something that can't be helped as this is due to the rom developer. You can try a different version of CM6.1 or another rom altogether.

This is based on the information you gave me. To better troubleshoot, I would need to know the rom and device you are using.
[Desire Android Development] tkirton:
That depends on if you want to flash mine. What do you want to do with Apps2SD?
[Desire Android Development] Latty:
I just tried this on DeFroST, and now I'm getting an error in recovery:

E:cannot mount /dev/block/mmcblk0p1 no such file or directory

Can't even access my MicroSDHC anymore...any suggestions?

Edit: resolved the issue with http://android.modaco.com/content-page/299174/no-adb-no-sd/page/80/ - thank goodness for s-off
[Desire Android Development] randymanlb:
I ran the command in terminal emulator and it reads app -> /system/sd/app. I tried A2SD REPAIR and A2SD REINSTALL with same result. I'm on Myn's RLS4 on HTC Evo. Just want to be sure DT Apps2sd is installed correctly. Thanks.
[Desire Android Development] tkirton:
That's okay as well. /system/sd is a mount point created by Darktremor during installation. If /sd-ext doesn't exists, Darktremor will fall back to /system/sd.
[Desire Android Development] aidanbree:
I am running DT Apps2SD with CM 6.1 RC1. I now want to update to RC2 but my phone hangs on the operator logo when I apply the new ROM.

When I previously updated from 6.0 to 6.1 RC1 I had the same issue and had to do a full wipe and reinstall. I thought I must have done something wrong with DT but now I have the same problem.

Anyone know a solution? I really don't want to have to wipe every ROM update...
[Desire Android Development] tkirton:
CM 6.1 acts strange when Darktremor is applied to it. It's been a constant issue since CM6 was introduced. I think some new techniques were introduced with CM6 that aren't fully compatible with Darktremor.

Have you just tried to wipe dalvik-cache? That may solve the issue if the dalvik-cache is having issues.

Also, someone a while back had this issue and they simply pulled the battery. I know that seems to work for Desire phones running CM6.
[Desire Android Development] 19blacktiger77:
Hi, i would like to install this rom:

http://xdaforums.com/showthread.php?t=789830

but leaving the Dalvik on the internal memory. Is it possible?

What mod should i do?

Thank you very much! :)
[Desire Android Development] tkirton:
Just install Darktremor...default for Dalvik-cache is to leave it in Internal storage.
[Desire Android Development] 19blacktiger77:
The script is already installed in the rom... :(

As they say: Cyanogen A2SD script, moves both apps and dalvik to ext

I never use Darktremor, so i don't know if like Firerat you can decide what to move or not. :)
[Desire Android Development] tkirton:
You can decide to move the dalvik-cache to SD, cache partition, or internal storage. By default, it is on the internal storage.

On my signature (at the bottom of the message), there is the word Discuss. By clicking it, you will go to the main Darktremor thread (located in the HTC Sprint Hero forum, since that was the first phone I developed it on). I believe it is either message #3 or #4 will have a list of commands you can use in Darktremor. They are grouped by what they affect (programs, dalvik-cache, low memory killer, etc.) This will show you what Darktremor can do.

If you are already running Darktremor (which you aren't), typing a2sd help will give you the same information.
[Desire Android Development] 19blacktiger77:
Thank you very much!!! :D
[Desire Android Development] brywright:
Hi I really want to run this but, I am currently using this rom:

http://xdaforums.com/showthread.php?t=741775&page=85

Can I follow insutrctuions to install mit on this rom as I am unsure due to it being based on a stock rom.

In short I want stock desire (with sense) and the ability to use ap2d+
[Desire Android Development] leoking3:
Same here , thank you. I mean , if the rom is rooted and recovery installed, will this work?
[Desire Android Development] hamdir:
HD2 nand android development is still in early days, most roms are not compatible with clock work recovery

i'm trying to manually install DT a2sd on a desire HD2, like manually edit init.rc and installing the required files

can someone help me in this, it will help me and a lot others in the hd2 nand android community, thanks
[Desire Android Development] chuunarusamurai:
If I recieve app -> /system/sd/app is it still using my extension? Thanks
[Desire Android Development] yyw523:
can it run on the rom-RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.44.00.32U_5.09.05.30_2_release_143921_signed? and i had rooted the rom.
[Desire Android Development] yyw523:
I have flash it under the recovery, but when i check it in the terminal proram,it appear:

# a2sd check

a2sd check

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /system/sd

[ ] Starting Apps2SD Check Program.

[ ] Checking for ext partition

[X] Ext partition found, but not mounted.

Your rom may not be setup to run Apps2SD.

Check with your rom developer if the boot image

is programmed to run Apps2SD.

Your partition may be using an EXT4 partition,

but your rom may not support EXT4. Repartition

your SD card to use EXT2 or EXT3.

My rom is RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.44.00.32U_5.09.05.30_2_release_143921_signed,and i had rooted it.
[Desire Android Development] najar360:
which rom did you use?
[Desire Android Development] yyw523:
"RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.44.00.32U_5.09.05.30_2_release_143921_signed"

come from shipped-roms.com, it is a HTC official rom, i had rooted it, my partition is ext3.
[Desire Android Development] najar360:
You must use custom rom.
[Desire Android Development] yyw523:
thank you very much.no way to let official rom to support a2sd+?
[Desire Android Development] Madeli:
No ;)

........
[Desire Android Development] najar360:
you will know how good custom rom is when you try...
[Desire Android Development] chuunarusamurai:
Also when i download apps will it automatically install in the sd card? When I check my internal memory shouldn't include the partion on the sd card?

Many thanks
[Desire Android Development] cangia:
Dt work also with ext2 partition ?
[Desire Android Development] typhex:
does this work with the latest nightly of CM7?
[Desire Android Development] tkirton:
Interesting you should post this. I was testing 2.7.5.3 Beta 02 when I came across a rom that had EXT support, the block devices were present, but it wouldn't mount. I checked the SD card and it was fine. Turned out that the Busybox that was on the rom didn't include an fdisk command, which is needed for the mounting functions of 2.7.5.3. I look at other commands and noticed that this particular rom's Busybox also was missing other commands (i.e. mknod) that is needed for 2.7.5.3. I suspect this is happening to you.

What you could do is replace the Busybox with the one that is included in Darktremor Apps2SD. That Busybox is stored as /system/bin/busybox.a2sd. If you know a bit about scripting, you could modify the launcha2sd program to make the $bbcmd variable to point to /system/bin/busybox.a2sd.

The third option is to install Darktremor Apps2SD 2.7.5.3 Beta 02. The program has code to check if the installed Busybox has the commands needed to run Darktremor. If a command is missing, the Busybox that is installed with Darktremor will be used for the missing command.
[Desire Android Development] tkirton:
The ability to use Darktremor Apps2SD is really based in the kernel. If your goal is to retain a stock look, you could replace the kernel portion only from a ROM that already has an Apps2SD support built in. Once you do that, you simply install Darktremor using the same method as installing a ROM. That's the quickest way of getting Apps2SD support without losing your stock look and behavior.
[Desire Android Development] tkirton:
Yes, it does.
[Desire Android Development] tkirton:
If the build has native Linux partitioning support activated (EXT2/EXT3), then it will work. Some flavors of CM doesn't have native Linux partitioning support activated in the kernel.
[Desire Android Development] tkirton:
You would have to break down the boot.img into the kernel and ramdisk components, modify the init.rc to add support, and reassemble the boot.img.

It's simpler to grab the kernel from a custom rom and install that.
[Desire Android Development] kibbsnk:
hi just reading this and i would like to know if it would work with this rom

[ROM-AOSP GRH78C] Oxygen v2.0-RC7 (Gingerbread, clean, fast and 100% open-sourced!!)
[Desire Android Development] faddys123:
i installed it but the apps i did have are gone ? But I know they are still there but not visible

$ export PATH=/data/local/bin:$PATH

$su

# a2sd check

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.3 Beta 2 (2011-01-22)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /sd-ext

[ ] Starting Apps2SD Check Program.

Darktremor 2.7.5.3 Beta 2 Apps2SD Status Report

===================================================================================

Legend: []=Setting is correct

[]=Setting is correct, but not optimal.

[]=Setting is incorrect and needs to be fixed or option is not available.

===================================================================================

Block Device - [] Not Found

- [] SD card cannot mount

# a2sd reinstall

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.3 Beta 2 (2011-01-22)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /sd-ext

[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 2

[ ] Launching Apps2SD Start Program with reinstall

[ ] Starting Darktremor Apps2SD in reinstall mode

[X] SD Card not mounted.

Cannot reinstall applications to SD card.

#
[Desire Android Development] faddys123:
help please??
[Desire Android Development] tkirton:
I'm assuming you are running a Desire (I asked you in Private messages since you didn't include that and I didn't see this post).

Were you using Darktremor Apps2SD prior to using 2.7.5.3?

What rom are you using?
[Desire Android Development] faddys123:
i am using gingervillain 0.8 and yes i have a desire and yes i was
[Desire Android Development] Schnello:
I installed the beta 2.7.5.3 and it works fine.

Stock Rom based custom Rom...

But i cant open the config in the adb terminal...
[Desire Android Development] tkirton:
That is a bug...command got changed, suspect it was during a copy-paste function.

I just sent the file back up to Darktremor web site. Clear your cache in your browser and download again.
[Desire Android Development] deejay6901:
hi.. mine got stock on HTC boot logo and its been 10mins now and its not moving from there. need any help. will restore back on my backup...
[Desire Android Development] tkirton:
If the phone is responding to adb commands, try the command adb reboot

If ADB can't find your device, try removing the battery and rebooting that way.

I've heard that these newer phones sometimes gets stuck during boot. My Evo does that when switching between SenseUI rom and AOSP rom.
[Desire Android Development] deejay6901:
ok i've done that already... its still the same. does it really take long or is it just my phone stuck up at htc logo... please help. Thanks
[Desire Android Development] tkirton:
Run an ADB logcat and see if anything is moving...if dalvik-cache is rebuilding, you will see some messages relating to deopt messages. If nothing is happening, then it is stuck.
[Desire Android Development] tkirton:
Do me a favor...send me the /data/dta2sd.log, /data/dta2sd.lg1 and /data/dta2sd.lg2 files to rtkirton@gmail.com.

The thing that is wrong with this picture is that the data says it is moving, but it doesn't look like it is...so something has gone wrong.

After you capture the logs, you can type a2sd remove to get out of the boot loop temporarily (it will move apps to internal storage). Once you reboot, type a2sd reinstall and see if that helps.

UPDATE: Found the issue. The rom developer is using oxygen.filesystem.ready to release the init.rc. CyanogenMod in its earlier years and DamageControl does the same thing. I'll add it and give you an update.
[Desire Android Development] [armitage]:
Think I got a little problem here aswell...

Installed the latest version yesterday on my CM6 (last nightly) and in the beginning it moved all apps without a problem.I also moved dalvik and was up to 109mb free.After that I wanted to install a few more apps but now flash space kept on decreasing.I'm now down to 89mb.

I mean did I misunderstand something here,is that the way it works or is there something wrong?

Also I have an error massage when starting the a2sd check...

Error:

/system/bin/chka2sd: line 83: [: too many arguments

Complete check:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 2 (2011-01-22)

[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Apps2SD Check Program.
/system/bin/chka2sd: line 83: [: too many arguments

Darktremor 2.7.5.3 Beta 2 Apps2SD Status Report
================================================================================
===
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[X]=Setting is incorrect and needs to be fixed or option is not availabl
e.
================================================================================
===
Block Device - [*] /dev/block/mmcblk0p2
Partition Type - [*] EXT2
Mount Point - [*] /sd-ext
Support EXT2? - [*] Yes
Support EXT3? - [*] Yes
Support EXT4? - [*] Yes

Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Programs run from SD card
To run from internal storage, type a2sd remove

Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Private Programs run from SD card
To run from internal storage, type a2sd remove

Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[*] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart

Data - [*] Program Data on Internal Storage.
Swap - [ ] Partition not present or no swap support.
[*] Swap does not start.

ZipAlign - [*] Not running at boot.
To activate it, type a2sd zipalign

Dalvik Heap(MB) - [*] 32m

Low Memory
Killer Settings - [*] 1536,2048,4096,5120,5632,6144
Note: Values are in pages.
1 page = 4KB memory.

Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[Desire Android Development] bakedecake:
Hi,

I'm running CM7 build 12 on a rooted GSM Desire with S-Off. I installed the 2.7.5.3 Beta 02 this morning but performance with Dalvik Cache on the ext is not very good. I have tried to move it back to internal storage with:

su

a2sd nocachereset

the a2sd program runs and the phone reboots but dalvik cache is still on the ext, I have also tried the nocache command without success, is there anything else I can try?

Thanks for your work btw.

a2sd cachepart seems to have done it, guess I was using the wrong command d'oh
[Desire Android Development] tkirton:
1. The error you got is a bug in the program. I fixed it and will release a new version today (Beta 3...there's enough fixes to warrant it).

2. The space will continue to decrease as your program data and caches (which are located in /data/data) is on your internal storage. Depending on what you are doing in regards to phone activity and the type of programs you are installing, it can appear to decrease significantly.

A couple of options you can take:

1. Look for a cache cleanup program such as CacheMate that will clean up the other caches such as browser cache.

2. You could try the experimental function of 2.7.5.3 and move /data/data to the SD card.
[Desire Android Development] [armitage]:
Ok then,thanks for the explanation.

Already using Cache Cleaner ng here,guess they're all pretty similar so I think I'll stick to that one for now.

Probably will try the data move option if space will get to low but for now it's ok.

When the new version is available can I just flash over the current one,or is there anything that needs to be done before...?
[Desire Android Development] tkirton:
Did you run a2sd check to make sure dalvik-cache is on the internal storage?

QUOTE=bakedecake;10854513]Hi,

I'm running CM7 build 12 on a rooted GSM Desire with S-Off. I installed the 2.7.5.3 Beta 02 this morning but performance with Dalvik Cache on the ext is not very good. I have tried to move it back to internal storage with:

su

a2sd nocachereset

the a2sd program runs and the phone reboots but dalvik cache is still on the ext, I have also tried the nocache command without success, is there anything else I can try?

Thanks for your work btw.

a2sd cachepart seems to have done it, guess I was using the wrong command d'oh[/QUOTE]
[Desire Android Development] tkirton:
This looks like a major issue with Beta 02...it's a leftover of a problem that was in 2.7.5.2 (which I thought I fixed).

I'm currently testing 2.7.5.3 Beta 03, which I ended up rebuilding that entire section. It's more streamlined now and shouldn't cause any additional issues (it appears to be working for me).

I should have the next Beta available by 01/25
[Desire Android Development] tkirton:
When the new version is available (I'm testing it as we speak), just flash over the old one.
[Desire Android Development] bakedecake:
I thought I had moved dalvik cache back to internal because the internal storage went down from 136 free to 128 but after a reboot it went back again so I did a nandroid restore, installed the latest nightly then ran the 2.7.5.2 script and everything is fine. I'll try beta 3 when I update to today's nightly. Does beta 3 put dalvik cache on the ext by default or was that the bug? Or is the bug that you can't move it back to internal? Surely few people would want it on the ext?
[Desire Android Development] [armitage]:
Thanks for the new version...just flashed it,but unfortunately the error I had before,is still there.

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 3 (2011-01-24)

[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Apps2SD Check Program.
/system/bin/chka2sd: line 81: [: too many arguments
[Desire Android Development] PilgrimToHyperion:
Forgive me if this is a stupid question, but I've read the lat 10 pages or so and I'm still not sure. I'm running Leedroid 2.3d http://xdaforums.com/showthread.php?t=768703 with an EXT4 1GB partition. I've run out of internal memory (lots of apps!).

First of all, can I install this implementation of yours on the Leedroid ROM and second, will it alleviate my space problems? I'm especially interested in moving data/data to the SD. I've tried using DATA2WHATEVER, but I just get bootloops. Running a 32GB Class 4 Kingston SD.

Thanks so long!
[Desire Android Development] idanfima:
Got a bootloop with several roms, didnt even passed the splash screen.
[Desire Android Development] bakedecake:
I got this too but after a battery pull and restart it had still done the business but i don't want dalvik cache on the ext.
[Desire Android Development] [armitage]:
Besides that little error during the check, I didn't have any problems so far.

Didn't test all the available options tho,but definitely no bootloops.
[Desire Android Development] tkirton:
It's never done that to me...but I did find problems with the code that actually performed the move when you told it to go back to internal storage. I ended up rebuilding that section (all six dalvik-cache move commands) in Beta 03, so it should work better now.

By default, dalvik-cache doesn't move from internal storage unless you tell it to.
[Desire Android Development] Terepin:
Can I flash it over Cool Z ROM (A2SD script already included)?
[Desire Android Development] tkirton:
I need to stop testing this stuff when I'm tired.

I isolated the issue. I didn't tell busybox grep to quiet it's output (so one parameter was missing).

Clear your browser cache, redownload Beta 03 and see if that helps.