yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] tkirton:
Careful with kernels...if the kernel you are using doesn't support running boot scripts, Darktremor will not launch (and could cause issues if the symbolic links are active). Also, not all kernels support native Linux filesystems (EXT2, EXT3 and EXT4)...this will cause Boot Protection to become active and your programs (and program data) could be trapped on your SD card.

As for Miui, I've specifically tested Beta 04 on 1.22.2 and it was working fine for me. Of course, I didn't switch kernels.

Original installation: Works fine.

Using Zendroid: Doesn't work...ZenDroid doesn't support native Linux filesystems (a2sd partlist shows this). Boot Protection was activated.

CM6 Snap: Works fine, although it takes a while for it to kick in (a couple of minutes)...it also looks like it shuts down the initial desktop on first boot. I've seen that behavior on some SenseUI roms. It only happens on first boot.
[EVO 4G Android Development] tkirton:
Moderator may care...I personally don't. It was a Darktremor question.
[EVO 4G Android Development] EvoNotEvil:
informative post.. although Im not sure why when I tried to install beta 04 I got stuck on splash when beta 03 is currently working on miui 1.28 with 2.6.32.25 bcblend cfs kernel. perhaps though I needed to give it a reboot and some time when I flashed the same savage zen 1.6 cfs that worked for me on miui 1.22.2??
[EVO 4G Android Development] tkirton:
The two I tested were listed in the Miui thread.

It's possible you need to reboot and let it go for a little while. Like I mentioned with the Snap kernel, it took about two minutes to get off the Evo screen on the final reboot.

If you know where I can get the kernel, I'll test it for you.
[EVO 4G Android Development] -Protos:
MIUI 1.1.28

Just installed MIUI and tested, really liked it, all seems well except for the fact that it reports ext3 partition as ext2. I have been running Myns RLS5 as my daily driver with ext3.

However upon installing MIUI and running a check in terminal it reports as EXT2

I went to recovery to convert ext2 to ext3. Just to make sure and rebooted.

When I booted back and did the a2sd check -- it still said ext2.

** FYI, this was with the version of a2sd in this rom, I did not put the latest beta on
[EVO 4G Android Development] jauger:
Tkirton,wow, got up this morning to try installing some apps and had data corruption all over my sdcard so I formatted, repartition and beta 4 installed with no problems..so definitely ignore my other post.....
[EVO 4G Android Development] tkirton:
Latest beta removed that line from the check program. In your case, the kernel may not support EXT3 (which EXT3 formatted partitions would fall back to EXT2). I have a feeling, however, that the kernel is simply reporting the wrong information. This happens a lot with EXT4 partitions (they get reported as EXT2).

I tried in the latest Beta build to separate the mountings (in other words, determine if the kernel supports EXT4, then mount the SD card as EXT4...then expect a failure when the SD card didn't have an EXT4 partition, thus it would try to mount as EXT3). This failed miserably when, in a CM build, my EXT partition was mounted as an EXT4 (which it was an EXT3).

So, to avoid any additional confusion, the mounting was restored back to its original state and the line in chka2sd that reports the partition type was removed.
[EVO 4G Android Development] tkirton:
I have that once in a while...mine is due to the constant testing and rebooting of the phone.

I have code in the Betas that, hopefully, will minimize that.

Also, since Beta 03, there's a command called a2sd forcecheck, which causes e2fsck to perform a detailed check and repair on your SD card. It may avoid you having to repartition in the future.
[EVO 4G Android Development] shad0w77:
hey freeza, i am kinda new 2 this s2sd thing but have the same problem u had... care to elaborate a little more as to what commands/files were ran/modified?
[EVO 4G Android Development] Admiral2145:
tb restore

I have problem when restoring apps with this mod.... When I do a restore app plus data my phone reboots for some reason but, if i do it on the same rom w/o a2sd running it does the restore fine... im not running the beta, should I try that 1st and or is it something else I can do?

TIA
[EVO 4G Android Development] freeza:
Hi, basically it was one of two things:

-Busybox version: 1.18 (i grabbed it from the net a while ago instead of using the version in my ROM which was 1.17)

-SD Card tweak of 512KB

Since both DTA2SD and netarchy's newest beta kernel both include the tweak at 128KB I just deleted the script I used to get 512KB.

I also downgraded my busybox version to 1.17 (you can grab the busybox installer app by stericson in the market to do this if you aren't comfortable doing it manually)

Once I did that, I rebooted, installed beta 04 and and it worked.
[EVO 4G Android Development] shad0w77:
ohhh got ya... only prob is that titanium backup uses 1.16... does doing the change u mentioned mess w/ titanium?
[EVO 4G Android Development] freeza:
It sure doesn't :)

Titanium backup works just fine for me.
[EVO 4G Android Development] Danthony428:
this for sure works with the new Kings UltraFroyo, running smoothly, 130 plus apps installed and i still have 335mb internal memory
[EVO 4G Android Development] shad0w77:
damn it... i am already at busybox version 1.17.3 in /system/xbin.... grrrrrrr
[EVO 4G Android Development] SnoopDawg:
[X] Problem detected: Darktremor Apps2SD may not have ran

during boot. Cannot read a2sd.mountpoint.

I can install via Recovery like 100 times, but it randomly gives me the finger regarding space and the finger gives me the tross.

Summary of a2sd

...

[ ] Displaying Disk Space statistics on SD card

Filesystem Size Used Available Use% Mounted on

df: /dev/block/mmcblk0p2: can't find mount point

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
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock4 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock5 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
tmpfs /app-cache tmpfs rw,relatime,size=8192k 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u
id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

I don't have swap allocated.
[EVO 4G Android Development] shad0w77:
same here... and i do have swap allocated on my SD card... at least that's what it said when I partitioned my SD card....
[EVO 4G Android Development] SnoopDawg:
Ironic, I have the same kernel and Rom you have.
[EVO 4G Android Development] freeza:
Interesting,.....Then I can only guess it's the SD Card tweak.

What is yours set at? Mine was at 512KB.

Oh, and my busybox version is 1.15.2
[EVO 4G Android Development] Admiral2145:
fixed

I follow the guide here

http://xdaforums.com/showpost.php?p=10454445&postcount=3070

and this fixed my reboot problems if anyone had that issue.....
[EVO 4G Android Development] freeza:
Just to confirm: The problem IS busybox. I just ran a test today with 1.18.0 and the problem came back. However, the a2sd usedtbusybox command fixes it.
[EVO 4G Android Development] tracerit:
will i be able to move the default Camera app to the SD with this method? i'm having trobules with my camera and someone said maybe the caching when it autofocuses is corrupt.

EDIT: So i have Fresh 3.5.0.1 ROM so this DarkTremor is already included right?
[EVO 4G Android Development] -Protos:
All depends on how many apps you have, whether you are gonna use swap ect ....

I can't see anyone ever needing more than 512/1024. I have 47 apps installed and I am barely using 19% of my partition.
[EVO 4G Android Development] Wayno-san:
Could someone clear up my understanding of how Tremor Apps2SD is supposed to work? I have it installed and enabled on MikFroYo v4.5. For it I have a 768MB ext3 partition on a class 10 32GB card. Titanium backup actually lists this parition as: (a2sd): 719MB, and currently it has 589MB free. Compared to Internal memory which is 448MB with 176MB free. If the application transfer to the ext3 partition is supposed to be automatic, it seems like very few applications are actually being moved to the ext3 partition. I tried the "a2sd reinstall" command but the situation has not improved. Zipalign is turned on.

My main questions are:

Is there anything wrong with my setup?

Are Froyo ap2SD applications not compatible with Tremor A2SD? (ie. should I be moving them manually with Froyo)

How can I (easitly) check which apps have been moved by Darktremors a2sd to the ext3?

Am I better off leaving Davlik in cache or should I move it to the ext3 partition (sdcard)?

Thanks much for your help.
[EVO 4G Android Development] gpz1100:
I think the apps have been moved, but their data counterpart is still on the phone.

I recall reading they may be some issues with moving the /data over to the ext3 with some apps. Personally, I wouldn't make an issue out of it unless you were low on space.

As for dalvik, I think the best place is in the /cache, which is still in the internal memory. I was researching this at length not too long ago. On one of the sites, it was mentioned that the internal mem is still faster than your class 10 sd. I don't know enough about this to say for sure with utmost certainty, but the reason seems valid to me.
[EVO 4G Android Development] Wayno-san:
So I should not be trying to use Froyo apps2sd along worth the Darktremor software? I did notice that there are a number of apps on the sd card as shown by the manage applications app...so I guess that is one way of seeing what was moved. I'm curious if I could free up more space if I used Froyo app2sd also.

I like to try a lot of apps from the market so I run into space issues due to the small amount of internal memory on the EVO.
[EVO 4G Android Development] shin.andy:
I have a question...

I've been using this app2sd method for several months now, but I was always afraid to clear the davlik cache and the cache, because I thought it would break my app2sd. If I clear both the caches will it break my app2sd?

Thanks!
[EVO 4G Android Development] gpz1100:
I don't see why it should; even if dalvik/cache is on the sd. Not something I recommend because internal memory is faster IMO.

Why do you think it would break the a2sd?
[EVO 4G Android Development] shin.andy:
I don't know lol...

I just thought because I set up my app2sd, I should never touch the caches in recovery ever againm even if I flash new modifications or whatever...

Thanks for the info!
[EVO 4G Android Development] gpz1100:
Dalvik cache will just get rebuilt the next time you reboot. Other caches have settings that determine how often/how large they get - such as browser cache, email, etc.

I really wouldn't mess with it, or worry much about it until you start running out of room. With this a2sd method, you should easily have 200+MB of free space the phone itself.
[EVO 4G Android Development] GMschiller:
I'm going to give the latest build a try on the Elite Series II Rom.... I really hope it all works... this would be sweet. Think it will work along side the Multi-Mount SD card paid widget?
[EVO 4G Android Development] gpz1100:
If you are using Darktremor a2sd, and find your restored recoveries seem to be partially broken (all apps present, but settings are missing), it is likely due to cache/dalvik cache not being completely clear even if you did a wipe prior to restoration. I think this has something to do with the way the dt's a2sd links the cache folders, which are then part of the backup set.

In order to deal with this, you'll need to clear the cache&dalvik cache after restoring, but before rebooting.
[EVO 4G Android Development] shirtsofbamboo:
/cache is 100% full?

I am running beta 4 of a2sd on cyanogenmod 7.0-rc2 on a Nexus One. I had to swap Armon_Ra for Clockwork Recovery 3.0.0.5 to get it to work.

I ran a2sd cachesdreset to move the dalvik-cache. I've run into something strange now. Here is df output. /cache is 100% full, and I cannot install anything from Market. /sd-ext/dalvik-cache is 104M in size. /cache/dc is 94M. So, they are not one and the same. Did something go wrong here?

Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 207808 32 207776 0% /dev
tmpfs 207808 0 207808 0% /mnt/asec
tmpfs 207808 0 207808 0% /mnt/obb
/dev/block/mtdblock3 148480 129260 19220 87% /system
/dev/block/mtdblock5 200960 63284 137676 31% /data
/dev/block/mtdblock4 97280 97216 64 100% /cache
/dev/block/mmcblk0p2 702405 347081 317847 52% /sd-ext
/dev/block/vold/179:1
14794120 1395912 13398208 9% /mnt/sdcard
/dev/block/vold/179:1
14794120 1395912 13398208 9% /mnt/secure/asec
/dev/block/dm-0 17652 15768 1884 89% /mnt/asec/com.svox.class
[EVO 4G Android Development] GMschiller:
Running Koni's Series III beta and trying to run a2sd doesn't seem to be working. The apps appear to still be there and usable... but I can't get a single script command to actually make any changes... all I get are permission denied errors. Any ideas? Sure wish I could run these commands in recovery! bet it woulld work then...
[EVO 4G Android Development] GMschiller:
OK GRRRRRRR!!!! frustrating. I can see the ext3 partition and apparently I got it to work at some point because there are a few files in it... but something is blocking the permissions... Tried rom manager mermissions fix... tried recovery permissions fix, and tried permissions fix in a2sd... NOTHIN... Hope noone get's too pissed. I'm double posting this in my ROM developer's thread also. I'm OCD about things not working as intended.. LOL
[EVO 4G Android Development] MDtouchDiamond:
are you using T emulator? did you type in "su" ahead of time? I know you get denied for everything if you don't type that and accept super user request
[EVO 4G Android Development] :
Im pulling my hair out here. I prepped my sdcard, created a 32mb swap file, created a 1gb partition and moved ext-2 to ext-3. Then I flashed the zip file. When I reboot my phone, everything is still the same. All apps did not move, storage is still low. When I go into cmd, I type

adb shell

#su

#a2sd cachesd it reads Ext Partition is not mounted. How do I mount this thing to get a2sd fully working?

Im running Myns RLS5 Warm 2.2 with Nets 4.3.4-nosbc-more-havs-universal kernel.

Edit: I figured it out.
[EVO 4G Android Development] Yusei:
How i put this in rom devoidfranco?
[EVO 4G Android Development] NetEndeavors:
Care to explain what you did? I'm having the same problem on a Gingerbread 2.3.4 ROM...

Thanks in advance!

Dave
[EVO 4G Android Development] Just_s:
I'm guessing it was a kernel problem, but it would be helpful if he confirmed the issue so that others can benefit from his solution.
[EVO 4G Android Development] untruestory:
I've been playing with this since I got my class 10 card. Done the following successfully with both MikFroyo and MIUI: a2sd using ext4, swap, data on sd, dalvik on sd. I'm curious if it's all in my head but it seems like when I use all those tweaks my battery dies a little faster.

Using all of the above I have crazy amounts of space on my internal memory. I read that, theoretically, moving dalvik will give more internal storage space at the cost of performance but I get awesome r/w speeds with my card so I thought maybe it could be better. I really can't tell a difference one way or another with the performance.

On my '99 poweredge server running Linux I get noticeably better performance when I spread my partitions out over several drives because they can be read and written to simultaneously.

Are there any such strategies to improve performance using this script?

Is anyone aware of any benchmarks on the effects of performance or battery using the different features?
[EVO 4G Android Development] :
Oh wow sorry. When I prepped my sdcard I flashed the file. When I went into terminal it gave a "not mounted error." So what I did was boot into recovery and manually mounted the /system, /sd-ext, and all the others in the "mount" section(amon_ra2.3). Then I rebooted and hit a2sd check in adb and it mounted fine. Then you can type a2sd reinstall to move your files to the partition.

Sent from my......ummm...let me get back at'chya!
[EVO 4G Android Development] :
What I didnt understand was how can you type a2sd convert-ext3/ext4 if /sd-ext is mounted. You can't unmount because your apps are on their. I had to do it in recovery.
[EVO 4G Android Development] linsalata28:
Sorry I'm noob but will this work on skyraider ROM?

If so how would I do this?

Sent from my Allianced Evo ! o_O
[EVO 4G Android Development] dwl99:
I'm running stock Gingerbread on a Kogan Agora tablet (EM73 clone) but cannot get app2sd to work. The ext3 partition has been successfully created. I think it may be because the init.rc file needs modified. Can anyone help with advice on how to do this or make any other suggestions?

Thanks
[EVO 4G Android Development] thearch1tect:
I'm having some trouble getting this to work. I followed all the directions to a T .. rebooted but nothing happened. No apps started moving to the sd card. I'm using Miui 1.6.17 rom and under SD settings under ap2d it shows 0 MB space available.

I don't know what to do at this point. I couldn't move apps prior to this to the sd card. Would always get an error saying failed to move to sd card, insufficient space available. something to that extent. Now after setting up the darktremor a2sd i still get the same error.

any help would be appreciated.

Edit - got it to work
[EVO 4G Android Development] joey3002:
real quick question about this a2sd.

If I wipe data to install a new rom, will that wipe out all my apps or will the new rom (if it supports a2sd) recognize them, so I will not have to do a complete reinstall of all my apps?

thanks
[EVO 4G Android Development] pmacevad:
Sorry but quick question... Will this work with Synergy RC2? TIA.

Sent from my Synergy RC2 Evo 4G.
[EVO 4G Android Development] dcharleyultra:
That app lists size as free (total), in the format xxx MB (xxx MB).

Might you be referring to the free MBs?

Swyped from my Evo 4G using Tapatalk
[EVO 4G Android Development] WFG:
Yes...

but if you use Synergy RC2+Godmode use this version http://xdaforums.com/showpost.php?p=16138710&postcount=9885
[EVO 4G Android Development] pmacevad:
Thx.
[EVO 4G Android Development] Exiled44:
I partitioned my SD card a few days ago & flashed a rom it had A2sd built in so i didn't have to worry about it but i flashed back to Kinged HateSlinger Rom & it doesn't have A2sd built in so i downloaded Version 2.7.5.3 Beta 03, I didn't do beta 4 because of the partition 4ext. Anyway i just put it on my SD card went to recovery did all my wipes & flashed rom first then flashed the A2sd beta 3 everything booted up fine. I then downloaded the terminal emulator & did Su, then did A2sd reinstall & i keep getting permission denied. What am i doing wrong? I only have 97mb of internal memory & need a lot more. Can someone help please?
[EVO 4G Android Development] dynamicpda:
umount: can't umount /system/sd: Device or resource busy

I'm trying to debug my usage of dta2sd 2.7.5.3 Beta 03

After

a2sd install

a2sd cachesd (or a2sd cachesdreset)

a2sd zipalign

I get 125 mb internal memory when others report 300+ mb.

When I type 'a2s install', I see the following error before the phone reboots:

Processing (278 of 279): mobi.mgeek.BookmarkPlugin...

Processing (279 of 279): com.timsu.astrid...

/system/bin/fix_permissions 2.03 ended at 08-30-2011 17:50:19 (Runtime:1m34s)

[ ] Unmounting /dev/block/mmcblk0p2...

umount: can't umount /system/sd: Device or resource busy

[ ] Rebooting phone...

I've searched high and low and can't find other people with this problem who have found solutions.

Darktremor 2.7.5.3 Beta 4a 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 - [✔] /dev/block/mmcblk0p2

Mount Point - [✔] /system/sd

Support EXT2? - [✔] Yes

Support EXT3? - [✔] Yes

Support EXT4? - [✖] No

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 - [✔] Running at boot.

To deactivate it, type a2sd nozipalign

Dalvik Heap(MB) - [✔] 48m

Low Memory

Killer Settings - [✔] 1536,3072,19200,25600,32000,38400

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

[⁇] For a list of commands that you can use with Apps2SD

Type: a2sd help
[EVO 4G Android Development] jelive:
Can someone tell me what is causing "cut not found" after each apk when initiating a command such as reinstall.
[EVO 4G Android Development] zaaye:
Bump. Bump.
[EVO 4G Android Development] mrjeancw:
will this work with stock 4.53.xx.xx???

i was runing a 3.0 sense and am partitioned to ext3 but now went back to a stripped down stock 4.53 and my partition is just sitting there...any ideas?
[EVO 4G Android Development] mrjeancw:
has anybody got this working on stock 4.53? i want to use it with my ext 3 partition.
[EVO 4G Android Development] Kchitown1977:
ive partitiond sd then flashed DT. then kept going through bootloop

can 2 zips be flashed before rebooting. and can i recover a nandroid backup
[EVO 4G Android Development] runner77:
Wipe everything, verify that your partition is there by wiping the SD-ext, then flash your rom. Let it boot up, then verify in Titanitum Backup that the EXT partition is still there. If so, then per our discussion in another thread, download Terminal Emulator and move the cache to the SD (a2sd cachesdreset). The phone will reboot and take a while to pull up your home screen (its rebuilding your cache on the SD).
[EVO 4G Android Development] Kchitown1977:
i got it working went through boot loop a few times working now

---------- Post added at 02:38 PM ---------- Previous post was at 02:35 PM ----------

your help greatly appreciated

thank you
[EVO 4G Android Development] runner77:
Glad you got it working. I forgot to mention that the phone will reboot itself a few times after setting up A2SD.
[EVO 4G Android Development] Kchitown1977:
one last thing after everything came back up alot of my downloaded apps are not there there just icon of little android will i manually have to redownload those apps in titanium theres line going through apps that should be on my phone

sorry to be pain in a$@ ima

noob
[EVO 4G Android Development] runner77:
Make sure you do a complete wipe before you add A2SD. If you add A2SD after you have installed your apps, it probably won't work right.

My advice is to wipe, partition (if needed), flash, add A2SD (if the rom doesn't come with it), move cache, then restore apps through Titanium Backup.

You shouldn't have to redownload everything.