yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] bbk:
I've tried to install DT 2.7.5.3Beta04 on GV0.9 :

-a2sd cachereset

-load zip

-reboot

-a2sd cachesd (fail)

-reboot

-a2sd reinstall (fail)

an extrat :

[ ] Listing of partitions on /dev/block/mmcblk0

/system/bin/launcha2sd: line 586: 1: command not found

/system/bin/launcha2sd: line 587: 1: command not found

[X] No ext partitions found on /dev/block/mmcblk0.

[!] No block device /dev/block/mmcblk1

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk2

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk3

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk4

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk5

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk6

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk7

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk8

[ ] Continuing search for EXT partition.

sleep: invalid number '1s'

[!] No block device /dev/block/mmcblk9

[X] Could not find a block device.

[X] No block devices are mountable.

[ ] Starting Darktremor Apps2SD in bootprotect mode

[!] BOOT PROTECTION ACTIVATED!!!

[ ] Setting File System Ready property to 1.

[ ] Setting Filesystem Ready flags.

Contact Travis Kirton (rtkirton@gmail.com) for assistance.

#

Any idea ?
[Desire Android Development] ngkwdaniel:
Am on CM7..booted up everything with dtapps2sd 2.7.5.2 flashed. Everything is fine until when i move dalvik cache to sd with the commnad /system/bin/a2sd cachesd it didnt boot back again. The soft keys lighted up but there is no x sign on the screen. What happen?

Removed the battery and turn on again and dalvik cache to sd flag was found but davlik cache runs from int storage.

FIY (on nexus one)
[Desire Android Development] faddys123:
hi i am on a sense hd rom rcmixhd it uses cm7 script but i want use this so i flashed 2.7.2 but got into bootloop so how do i delete the cm7 script from the rom?
[Desire Android Development] faddys123:
help please?
[Desire Android Development] Nodders:
Hitting a problem I believe with beta4 that a cursory search did not reveal elsewhere on this thread.

Installed CM7 no freshly wiped phone, then gapps, then DT and then moving cache to SD card. No problems, no error messages. But, trying to then install some (not all) apps results in the downoad notification symbol appearing for a few seconds and then disappearing. No error message, nothing, the app remains uninstalled. This is for a mizture of purchased and free apps.

Looking around on google, people have hit the same issue and I've followed the given advice, raning from deleting .android_secure, through to checking the SD card for bad sectors, unmounting the SD card, etc. I should also mention that space is not the issue - Quick System Info reports tonnes of space in all versions.

Why do I think it is beta4? Well after trying various combinations of installing DT and the above, the one that made the problem go away was to install CM7 and gapps but not DT.

Anyone got any idea what this may be - a bug, or is there some command I need to use in terminal (the only one I occasionally use is a2sd cachesd - note I've tried not using this flag with exactly the same result).

Edit: just tried beta3 with same result
[Desire Android Development] Chura:
Just installed beta04 over Leedoird 2.3d (latest)

and i cant pass the bootscrene :

Attached logs, what am i missing ?

dta2sd.lg1 - http://pastebin.com/c6h9ZKGd

dta2sd.log - http://pastebin.com/Z6xWq9zt

Thanks

Edit : changed to latest stable, still stuck.

while its trying to boot the device, i have adb access:

# a2sd check

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

[ ] 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.
[Desire Android Development] [armitage]:
well the log pretty much says it.

your rom doesn't support a2sd cause sd ext part is not mounted and can't be used by a2sd.

df -h or cat /proc/mounts should show you all mountpoints.
[Desire Android Development] Chura:
Well, my current one have sd-ext, and use A2SD.

i just prefer to have control on my A2SD, especially on the Dalvik location

df -h

/dev/block/mmcblk0p2 720.0M 267.8M 452.1M 37% /system/sd

/proc/mounts

/dev/block/mmcblk0p2 /system/sd ext2 rw,noatime,nodiratime,errors=continue 0,0
[Desire Android Development] Chura:
Attached logcat log as well : http://pastebin.com/3dV8U2yT

tried to change partition to ext3 > same result.
[Desire Android Development] Chura:
I've found that Dalvik2SD wont solve my problem. so no need to implement Darktremor.

Thanks anyway :)
[Desire Android Development] danarama:
Slightly off topic, sorry for the hijack.

I have Dark Tremor,

But if I wanted to mount cache to the same ext by the follwing:

busybox mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /system/sd

/system/xbin/busybox mount -o rw,nodev,noatime,nodiratime /system/sd/cache /cache

It conflicts with the DT mounting and I cannot access or install any apps. Can 2 mtd's be mounted on the same EXT partition?
[Desire Android Development] sdjensen:
Hi,

I would very much like to use A2SD+ on my HTC Desire.

Would it (should it) work if I just root my Desire and then add Darktremor? or would I have to locate a custom ROM with this feature implemented?
[Desire Android Development] danarama:
No.

Your rom needs init.d support which stock roms do not have.

You can add it yourself, but may be easier to go with a custom rom.

http://xdaforums.com/showthread.php?t=894445
[Desire Android Development] d-shade:
When I move dalvik, data and apps to my sd card my phone becomes really slow when trying to do anything. Moving data back to internal fixes the problem. Is having everything on the sd just too taxing?

I am using a 8gb class6 with a 1gb ext3 partition.

Running on a rooted stock sense 2.1
[Desire Android Development] danarama:
I had a class 4 card which was great with a2sd + Dalvik on ext. Data2sd however, I found it lagged a lot. Especially when populating appkications lists. Same issue on a class 10 (max effective class on Desire is 6 anyway).

I haven't used a class 4 with DT, but with firerat with dalvik, it was definitely fine.

What "data" are you moving?
[Desire Android Development] d-shade:
its the datasd command in DT so data/data

I wanted to move it to free the internal storage.
[Desire Android Development] danarama:
Ah right. Im still on 2.5.7.2 and didn't notice this new functionality. Sorry :(
[Desire Android Development] jungler449:
Is it possible to install this script to Desire flashed with Cyanogen 7? Willl a2sd work on my phone then?
[Desire Android Development] sonoftobit:
Works for me. Running CM7 and DT v2.7.5.2-1. No problems whatsoever. There's a nice gui for it as well. Check it out in the market.
[Desire Android Development] 123xdagsm:
Thanks.but I can't download Version 2.7.5.2-1
[Desire Android Development] Nodders:
I can't get 2.7.5.2-1 to work with the latest CM7 (v7.0.2.1). I install as usual (full wipe, CM, then gapps, then dt) but when I go to the terminal, gain su and try e.g. a2sd check I get an error stating "Segmentation fault. ash: can't open /system/launcher2sd". I've seen a previous post on this matter and the solution seemed to be to try again and if necessary re download dt and cm - tried both of those with no luck. Strangely, this version of dt does work with previous versions of CM.

Anyone with any ideas?
[Desire Android Development] 123xdagsm:
how work in the CM7?
[Desire Android Development] sonoftobit:
This is what I did:

- partition SD-card with AmonRa recovery

- flash CM 7.0.2.1

- flash gapps

- flash DT 2.7.5.2-1

- reboot

After that I installed A2SDGUI from the market to modify settings as needed in DT. No need to mess around in the terminal etc.

Remember to always reflash DT when updating CM. Flash CM update and then DT. That's it.
[Desire Android Development] 123xdagsm:
Hi

Thanks
[Desire Android Development] faddys123:
does it work with sense of RCMIXHD sense 2.1 ? gingerbread...
[Desire Android Development] Nodders:
Tried that exactly and still get the same error. A2SDGUI refuses to load asking me to try a a2sd check in terminal, which then gives me the segmentation error again. I'll try one of the betas
[Desire Android Development] 123xdagsm:
Hi

good work
[Desire Android Development] striker13:
Do i still need to partition as in instruction, when i have partition on my SD card already (ext4)?
[Desire Android Development] Saliciouscrumbs:
Had it solved
[Desire Android Development] dreuzel:
[] running all No star

[*] instalation complete

should they not all be [*] ?????? what is faling ???????

no a2sd in booted system Batch command failed or execute only in recovery not active envir

no a2sd in system
[Desire Android Development] hellmonger:
With a few ROMs i had to mount the /system in order to install dtapps2sd-2.7.5.3-beta04

I was using Latest clockwork recovery

Haven't tried it with 4ext yet.
[Desire Android Development] tsubus:
This is awesome, I will try it out, thanks!
[Desire Android Development] juanitomigraña:
I'm getting stalled boot issue in my ROM with version Darktremor 2.7.5.3 Beta 04.
[Desire Android Development] Ewors:
Hey there... Could anybody advise any solution to repair A2SD using term.amulator?

Averytime I want to reinstall a2sd or cachesd, darktremor can´t finish the process... For example, when I was trying to reinstall A2SD:

[-] Checkpoint 1: Check for SD Card Fix and Implement.

[-] Checkpoint 2: Run Dalvik Heap Program(if exists).

[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).

.................

[] Launching Apps2SD Start Program with reinstall

[X] No a2sd.swap enviroment variable found.

[X] Problem detected: Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint.

[ ] Starting Darktremor Apps2SD in reinstall mode

[X] SD Card not mounted.

Cannot reinstall applications to SD card.

But what´s the problem when I got my SDCard mounted?.. Its mounted all the time however this script still does not work :\
[Desire Android Development] NiGHTsC:
This may sound noobish, but does anyone tried to install this on a HTC IS with CM7.1.0?

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

I did setup my SD(Partition), 2048/256, then install v2.7.5.3 Beta 04

I'm using Terminal Emulator to type commands and it just told me a2sd can't be found

Thank you in advance.
[Desire Android Development] paolo-red1:
No, it won't work with cm7, you have to download s2e from market. Then with this app you can choose what to move to your ext partition.
[Desire Android Development] NiGHTsC:
Well, too bad then...

Thank you!!
[Desire Android Development] taimur585:
i'm h[-] Checkpoint 1: Check for SD Card Fix and Implement.

[-] Checkpoint 2: Run Dalvik Heap Program(if exists).

[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).

.................

[] Launching Apps2SD Start Program with reinstall

[X] No a2sd.swap enviroment variable found.

[X] Problem detected: Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint.

[ ] Starting Darktremor Apps2SD in reinstall mode

[X] SD Card not mounted.

Cannot reinstall applications to SD card.

im having the same problem. Have you found any solution?

HTC DESIRE

FROYO 2.2.2

AMON RE RECOVERY
[Desire Android Development] k3lcior:
I flashed this script over latest CM7 nightly and i cant download apps larger than 5MB from market, any workarounds?

Would "CM7 Market Fix" from MIUI work?

I'm on cm7r2, have like 150mb free internal and about 800mb free a2sd memory.

Edit:

Cm7 fix from MIUI worked fine, if anyone has similiar issue here is the file to flash:

http://www.box.com/s/qlu79zxoi0ystldof7bk
[Desire Android Development] DirkStorck:
Could someone please help me with this problem ? I think it was have something todo with a2sd script because if I flash the ROM (current CM7.2.0) without it I dont get the problem

E/AndroidRuntime( 1510): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 1510): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 1510): at com.android.server.ServerThread.run(SystemServer.java:170)
E/AndroidRuntime( 1510): Caused by: java.lang.NumberFormatException: unable to parse '1dalvik.vm.dexopt-data-only=1' as
integer
E/AndroidRuntime( 1510): at java.lang.Integer.parse(Integer.java:383)
E/AndroidRuntime( 1510): at java.lang.Integer.parseInt(Integer.java:372)
E/AndroidRuntime( 1510): at java.lang.Integer.parseInt(Integer.java:332)
E/AndroidRuntime( 1510): at java.lang.Integer.valueOf(Integer.java:506)
E/AndroidRuntime( 1510): at com.android.server.am.ActivityManagerService.getIntProp(ActivityManagerService.java:3
57)
E/AndroidRuntime( 1510): at com.android.server.am.ActivityManagerService.<clinit>(ActivityManagerService.java:372
)
E/AndroidRuntime( 1510): ... 1 more
E/AndroidRuntime( 1510): Error reporting crash
E/AndroidRuntime( 1510): java.lang.NullPointerException
E/AndroidRuntime( 1510): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.jav
a:76)
E/AndroidRuntime( 1510): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1510): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)

Thanks! :(

EDIT: Found the solution. I had to

1. Wipe cache & dalivic

2. Add those two lines at the end of the build script.

dalvik.vm.dexopt-cache-only=0

dalvik.vm.dexopt-data-only=1

3. Flash ROM

4. Flash Darktremor 2.7.5.3 Beta 04

5. Reboot
[Desire Android Development] symbolic76:
restart loop

flashed the script. desire went into restart loop.

removed battery, again placed it and turned on.. worked perfectly.

but A2SDGUI - Darktremor A2SD GUI is force closing on my phone..plz help

htc desire.rooted. android 4.4.2 carbon rom :confused:

on second thought .. may be the app is not supported on 4.4.2

same thin happened on my nexus 7 for some days after the 4.4.2 upgrage
[Desire Android Development] tkirton:
Bump....Preview Fix 4a is now out. If you are using any previous 2.7.5, PF4a is not only a rewrite (which fixes a mysterious low memory issue), but also fixes a bug in PF4 that wouldn't activate cachesd or install.
[Desire Android Development] Pyr0x64:
just tested 2.7.5 Preview Fix 4a on a slightly modified version of dj droid v1.0-r1 already running a version of ap2sd and it seems to work fine

after install, i ran: a2sd check

the only problem i saw was:

Dalvik Cache - [ ] Symbolically Linked.
[ ] File .dalvikcache not found.
[ ] File .dalvikcachepart not found.
[X] Dalvik runs from either SD card or /cache.
Setup issue. Run a2sd repair to fix.

after running a2sd repair and restarting, i found apps and widgets missing.

running a2sd check again showed it had moved Dalvik to cache:

Dalvik Cache - [ ] Symbolically Linked.
[ ] File .dalvikcachepart found.
[ ] Dalvik runs from /cache partition.
To run from internal storage, type a2sd nocache
To run from SD card, type a2sd cachesd

so i ran a2sd cachesd

it moved the files and rebooted the phone

after reboot, all apps were visible again. and after replacing, widgets work too

running a2sd check again shows everything listed correctly

# a2sd check
a2sd check
[ ] Apps2SD is launching...
[ ] Starting Darktremor Apps2SD
Version 2.7.5 Preview Fix 4a
[ ] Starting Darktremor Apps2SD in check mode
[ ] Running Apps2SD Check Program.
[ ] Searching for Mount Point...
[*] Mount point /system/sd located.
[ ] Checking for ext partition

Darktremor Apps2SD Status Report
===============================================================
Partition - [*] Mounted as EXT3

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

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

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

Swap - [ ] Partition present.
[ ] File .noswap not found.
[ ] Swap starts.
To deactivate swap, type a2sd noswap

ZipAlign - [ ] Not running at boot.

Dalvik Heap(MB)- 32m
(Blank is default value)

Property Patch - [ ] File System Ready property
found.
[ ] Boot image init.rc patched.

[ ] Setting File System Ready property to 1.
#
[Desire Android Development] tkirton:
It didn't move dalvik to /cache...there's a program that is starting before apps2sd that is moving the cache for you or the rom is symlinking the /data/dalvik-cache to the /cache partition. The warning is because the flag file .dalvikcachepart (actually, it's .dcpartition, so either this is an older 2.7.5 or I missed an error statement) was not found (this tells Apps2SD you have dalvik-cache moved to the /cache and don't try to move it anywhere else until you tell it to). The repair simply puts the file .dcpartition on the /data directory.

You're not suppose to lose the apps when that happens, so I will check the program out and see what is going on.

EDIT: Got to thinking a little here...I'll check the code to see if it is trying to move dalvik to /cache. I just remembered I had issues with this when the first build of 2.7.5 (when it was in alpha).
[Desire Android Development] PaulW21781:
It appears this doesn't work fully with SDCards formatted with ext4... e2fsck returns the following error in logcat

I//system/xbin/busybox( 54): e2fsck 1.40.8 (13-Mar-2008)

I//system/xbin/busybox( 54): /dev/block/mmcblk0p2 has unsupported feature(s): extents gdt_checksum

ext2 and ext3 are fine though... Any chance to include an updated build of e2fsck at all with ext4 support?
[Desire Android Development] tkirton:
Your Rom doesn't support EXT4. Have your rom developer compile the kernel with EXT4 support.
[Desire Android Development] PaulW21781:
ext4 is loaded via ext4.ko (modprobed on boot)

Does it *have* to be built into the kernel itself to work, regardless of probing?

Just looking at the configs too... aswell as building in ext4 to the kernel itself, would it be worth enabling debugging for said filesystem too?
[Desire Android Development] tkirton:
It doesn't have to. But the ext4.ko module must be compiled with the kernel you are using.

For example, if User 1 compiles a kernel with ext4.ko as a module and User 2 also compiles their own kernel with another ext4.ko, and both are using the same exact source but on two different computers, User 1 must use the ext4.ko they compiled. They can't use an ext4.ko that User 2 compiles...the compiler stores a user string that is also found in your kernel...part of that string is the computer name. The string in the module has to match that in the kernel, otherwise the kernel won't load it normally.

I say normally because you can tell your kernel to run modules not compiled for it. This is called a tainted kernel, and normally not a good idea to run (you may end up running an unstable kernel).

It's usually best for filesystems like EXT4 to compile it directly into the kernel, this way you know it's going to run (because it's part of the kernel) and there's no way to mix and match ext4.ko.

Also, when the kernel is compiled, it needs to be compiled with EXT4 support, either by module or directly. If the kernel isn't compiled with that support (meaning it is not marked with either a Y for compile into the kernel or M for compile as a module in the kernel setup [menuconfig]), the module will be ignored, even if the kernel is marked tainted and runs any module.
[Desire Android Development] PaulW21781:
Strange...

See, the rest of it all works fine, sdext is being used fine, its just e2fsck which falls over. A2SD with an ext4 filesystem works just fine, things are moved, space is saved, happy days.
[Desire Android Development] tkirton:
That's strange. When I tested the Darktremor code against ext4, I didn't get that message.

I'll look for an updated program...it's probably time for me to update the programs anyways.
[Desire Android Development] BtbN:
I got a problem with this. First one was that my htc desire with CM6 nightly does not run scripts in /system/etc/init.d. Fixed this with a run-parts entry in /system/etc/init.local.rc.

But now it seems like a2sd is run too early in the boot-process. So before the sd-card is initialized.

logcat says:

--------- beginning of /dev/log/main
I/cm ( 60): Welcome to Android 2.2 / CyanogenMod-6-07162010-NIGHTLY-Desire
I/cm ( 61): _
I/cm ( 62): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 63): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 64): )) _))
I/cm ( 65):
I//system/xbin/run-parts( 55): [ ] Apps2SD is launching...
I//system/xbin/run-parts( 55): [ ] A2SD Param is boot
I//system/xbin/run-parts( 55): [ ] Starting Darktremor Apps2SD
I//system/xbin/run-parts( 55): Version 2.7.5 Preview Fix 4a
I//system/xbin/run-parts( 55): [*] Starting Darktremor Apps2SD Lite Version.
I//system/xbin/run-parts( 55): [ ] Checking for ext partition
I//system/xbin/run-parts( 55): [X] Ext partition not found.
I//system/xbin/run-parts( 55): Run recovery to create an ext partition.
I//system/xbin/run-parts( 55): [ ] Setting File System Ready property to 1.
I//system/xbin/run-parts( 55): [ ] Searching for Swap Partition
I//system/xbin/run-parts( 55): [X] Swap Partition not found.
I/DEBUG ( 105): debuggerd: Jul 14 2010 03:26:12
D/AK8973 ( 112): AK8973 daemon 1.2.3 Start
D/AK8973 ( 112): (Library version : 1.2.1.620)
--------- beginning of /dev/log/system
I/Vold ( 103): Vold 2.1 (the revenge) firing up
I/Netd ( 104): Netd 1.0 starting
D/Vold ( 103): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 103): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 103): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/AndroidRuntime( 107):
D/AndroidRuntime( 107): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 107): Heap size: -Xmx16m
D/AndroidRuntime( 107): CheckJNI is OFF
D/dalvikvm( 107): creating instr width table
I/ ( 108): ServiceManager: 0xacd0
E/AudioHardwareQSD( 108): Cannot open /dev/audience_a1026 -1
I/AudioHardwareQSD( 108): set_tpa2018d1_parameters() not present

Any hints on this? It gets into an endless reboot-loop until i run "adb shell a2sd". After that it continues booting.
[Desire Android Development] tkirton:
init.local.rc isn't where Apps2SD is looking for certain data it needs...it looks for those in init.rc.

So, actually, you may be trying to start Apps2SD before anything is ready to go. But you may be starting it before the SD card's partitions are read by the Linux kernel.

Try modifying the init.rc using the rom guide:

http://xdaforums.com/showpost.php?p=7021331&postcount=4
[Desire Android Development] Nekromantik:
good progress.

hope you get it working for CM6 then we can enjoy CM6 with a2sd without waiting for 6.1 :)