yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] tkirton:
Sorry about that...should've responded sooner. Unfortunately, I ended up swamped with both support for this program and personal things.

I saw the exec /system/bin/sysinit in the init.rc, so it is executing the sysinit program.

Do this for me. Can you get me a directory listing of /dev/block?

Command: busybox ls -l /dev/block

I want to see what block devices are being generated. It's possible that the SD card may be on a completely different block device with CM6 than with Fresh. If that's the case, I'm working on 2.7.5.3, which will (among other things) attempt to fully locate your EXT partition (I'm using a location code that someone wrote...as soon as I find out who, I'll credit them for the work.)

I'm going to work on that code this week.
[EVO 4G Android Development] lucidvtec:
help....i keep gettin the "SD card not mounted" error cannot reinstall apps

what am i doin wrong
[EVO 4G Android Development] lucidvtec:
this is what comes up

i tried reformatting the card a few times.....tried changing the swap size...ext2 size

yes i did the upgrade ext2 to ext3

even reinstalled apps2sd...even thou it was already there

this is the code

# a2sd check

a2sd check

[ ] Launching Darktremor A2SD

Starting Darktremor A2SD version 2.7 Update 3r1

[ ] Mounting /system as read-write

[ ] Starting A2SD in check mode

[ ] Running A2SD Check Program.

[ ] Searching for Mount Point...[*] Mount point /system/sd located.

[ ] Checking for ext partition

[X] Ext partition found, but not mounted.

Your rom may not be setup to run A2SD.

Check with your rom developer if the boot image

is programmed to run A2SD.

[ ] Setting File System Ready property to 1.

[ ] Remounting /system to read-only.
[EVO 4G Android Development] tkirton:
You're running an older copy of Darktremor Apps2sd (2.7 Update 3r1)...the current release is Darktremor Apps2SD 2.7.5.2. I would try upgrading first to see if that resolves your issue.

http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-signed.zip

If that doesn't, then we can proceed from there.
[EVO 4G Android Development] lucidvtec:
ya i have the latest...tried that

i'm using the babiboi rom

tried completely fresh installs....even reinstallin apps2sd after....tried re-partitioning the card a few times aswell
[EVO 4G Android Development] tkirton:
Found your problem.

Although Darktremor Apps2SD is on the rom, nothing is calling it in the init.rc.

Meaning, the rom itself is not Apps2SD compatible.

Looks like the rom developer copied someone else's work and modified it to his taste (probably themed someone else's rom...happens a lot). Then he put a custom boot.img in the rom and that's where compatibility broke.
[EVO 4G Android Development] lucidvtec:
thx for the quick reply....i thought i was doin something wrong...anything i can do to make it work?
[EVO 4G Android Development] xxbabiboi228xx:
I used dsixda kitchen I guess something went wrong in adding and enabling ap2sd I didn't copy anything from anybody's Rom built it myself from the RUU. Grabbed RUU from the temp folder added the Rom.zip to the kitchen original update folder and went from there with the choices it gave me. Grabbed the finished product out of the working folder zipped it up and signed it. I dont use ap2sd i dont feel that the Evo needs it.I just added because it was a request and i was nice enough to try to add it in for those who wanted it Keyword Try So now im gonna do an overhaul of the rom start from the beggining and try adding ap2sd one more time if it doesnt go right i will just leave it out of my rom.

Thanks and have a Blessed and wonderful day Mr.Tkirton -

By the way this is my first time cooking roms started 2 weeks ago with the help and guidance of Myn
[EVO 4G Android Development] xxbabiboi228xx:
Ok I just took your files from your latest flashable.zip and added them to the kitchen recooking Rom now. Hopefully and I have faith that the out come of this will be good and work cause as you state a couple post up that I was running an older version of the ap2sd now I'm updated this should work this time.
[EVO 4G Android Development] kevinbear:
Just wondering what the state of this working with the CM6 nightlies is?

I've read about and experienced issues with trying to get the CM6 kernel to mount EXT partitions (ext2 & ext3). It seems as though support for EXT partitions was removed (disabled) since just before CM6.0 Final as part of disabling the Apps2EXT capability (while they work on improving performance, etc.).

Flashing an alternate kernel that supports EXT2, such as Snap 7.6, does allow DarkTremor Apps2SD to install successfully.

Does anyone know how to get the latest Cyanogen kernel (now based on the .34 kernel instead of the.32) to support EXT2 or EXT3? Is this even possible, or does it require recompiling?
[EVO 4G Android Development] kevinbear:
FYI to all; seems to be working with the latest beta kernel (.35) that toast has been working on (in conjunction with 6.1 RC1).
[EVO 4G Android Development] tkirton:
Apparently, from what I can read, Cyanogen doesn't think highly of the Darktremor program.

10/28/2010 (on his Twitter feed):

So, the response is, rather than implement his "perfected" code from CM5, he would rather eliminate EXT support altogether.

Taking out support for Apps2EXT and taking out EXT support are two different things. Stock roms do not have Apps2EXT support because they don't have the code in the init.rc to launch the program, even though they have EXT support as part of the kernel.

My question right now is this: if EXT support is back in .35 kernel, is it Toastcfh putting it back in or did they put the support back for CyanogenMod? If Toast is putting it back in, this still becomes a problem for Darktremor, as there is no guarantee other kernel developers for the other platforms that CyanogenMod runs on will also add that support. If that's the case, I'll have to find different kernels for those platforms and have them ready as substitutes (which I really hate to do).

Oh, well. Another day in the life of Darktremor. :)
[EVO 4G Android Development] kevinbear:
Yeah, I'm totally in agreement that if the decision is to stick with the current Apps2SD implementation and not support Apps2Ext, that's fine. But there's no reason I've found for disabling support for EXT partitions altogether. Seems like the spirit of the ROM would sway the choice towards supporting more choices altogether.
[EVO 4G Android Development] R32_Rocky:
I am using Calkulin's EViO 1.6 ROM for my HTC EVO 4G. It appears this ROM does not natively support your program. I had a couple of questions that I asked over in his forum, but received no replies back. Perhaps you might be able to assist me? (THANK YOU IN ADVANCE!!!!!)
[EVO 4G Android Development] fixxxer2008:
the links to this are not working anymore.... please update them.
[EVO 4G Android Development] tkirton:
Links aren't broke. Could be maintenance that GoDaddy (my host provider) may have been doing.
[EVO 4G Android Development] long2know:
I installed 2.7.5.2 on EViO 1.6.1b. So far, I haven't experienced any weirdness. The one thing that concerns me a little though, is that even though I see programs going to the EXT3 partition, /data still gets practically filled up. I think I only have ~ 86 MB free after installing all my apps. It would be cool to be able to mitigate some of this /data usage to the SD card as well.
[EVO 4G Android Development] tkirton:
Did you move dalvik-cache?

a2sd cachesd
[EVO 4G Android Development] willy900wonka:
I just did this operation, moved 122Mb into the 160Mb system cache.

It had a very interesting affect, which I thought I should report. My battery consumption has dropped and execution speed has increased. I don't know enough about this specific architecture to postulate why, nor do I really care. It just did.

Just thought I'd pass it on. Been using a2sd in the hero for ever, but now with the evo I just freed up over 210Mb including the 122Mb.

Kudos, op.
[EVO 4G Android Development] willy900wonka:
Great job. It loves kingx bfs12. Fast and slick.

Sent with Super-Sonic Vision using XDA app.
[EVO 4G Android Development] long2know:
I just moved dalvik-cache to the /cache partition (a2sd cachepartreset). That does free up about 146mb of space on /data for me and leaves currently about 14mb on /cache. The only odd thing is that I still had to boot into recovery and manually wipe dalvik-cache to free up the space in /data/dalvik-cache. This would also indicate that wiping /cache would now clear the dalvik-cache. No big deal, I guess..

It would still be cool to be able to move /data/app to the EXT3 partition or something since it just contains the installation apk's.
[EVO 4G Android Development] long2know:
What app is your screen shot from?
[EVO 4G Android Development] Just_s:
In regard to dalvik-cache, I recently installed Darktremor Apps2SD 2.7.5.2 running on MIUI 11.19 and applied the cachepart command.

I'm getting ready to flash MIUI 11.26 and I'm wondering if I have to be aware of anything or prepare differently before flashing a ROM update or a new ROM.

Do the SD changes carry forward independent of ROMs? How about independent of nandroid?

Any one have any input or experience with this?
[EVO 4G Android Development] jauger:
coming from a Hero to a Evo the first thing I look for in a rom is if it has Apps2SD, Im shocked how few EVO roms use this, way better than froyo app2sd...tkirton u rock..
[EVO 4G Android Development] tkirton:
It's actually not that surprising. Since everyone now uses Froyo, it's just easier to use the built-in Apps2SD that Froyo provides.

I suspect that when Gingerbread and "Honeycomb" come out, you'll see almost no roms use this older Apps2SD method.
[EVO 4G Android Development] freeza:
I still use DTApps2SD. Don't stop development!
[EVO 4G Android Development] 1Brite1:
That was one of the best answers I have read on here. Really full of information and actually something useful to think about. I just started reading this thread and read your response and just had to say "Thank You" even though it wasn't what I was actually searching for, it did now answer a question I did have that the original poster asked! Have a great day!
[EVO 4G Android Development] who1981:
No boot on Dalvik JIT

I'm on a fresh install of Myn's Warm TwoPointTwo RLS4, EVO hardware 003, fully rooted (S-OFF)...

On trying "a2sd jit" the phone wouldn't make it past the white HTC EVO 4G screen.

adb'd "a2sd nojit" to no avail. Farted around clearing things and switching settings; all fruitless.

Finally had to just reflash the ROM.

Why can't I enable DALVIK JIT? Is Warm incompatible? :confused:
[EVO 4G Android Development] dahauss:
Does this work on SPRINT LOVERS ROM??
[EVO 4G Android Development] slikgman:
Is this the same as Apps2sd listed in most of the Rom's here in this forum?
[EVO 4G Android Development] tkirton:
Does Myn Warm TwoPointTwo already have JIT installed? If it is Froyo, there's no need to run JIT.

You'll have to reload your rom again...just load it on top of the one you have.

a2sd jit and a2sd nojit is being removed from Darktremor 2.7.5.3 ... this was an experimental feature at best and, from my standpoint, should probably never have been added.
[EVO 4G Android Development] tkirton:
Probably not...most talk about Froyo Apps2SD, which is the built-in Apps2SD created by Google. Many roms do have the Darktremor version (Fresh Evo is one of them) while others are capable of running it (CyanogenMod).
[EVO 4G Android Development] jklong03:
Where does this come from?

Strange issue and wondering if any of you have an explaination for this behavior.

Scenario: Blank, newly formatted via RA 2.2.1 sd card. Formatted to only FAT32, no ext partition (yes I know this is about apps2sd, but be patient please)

Boot EVO with this sd card into a non-DarkTremor ROM (MikFroyo 4.3, non-apps2sd, which doesn't use any DarkTremor scripts). Titanium Backup and SpareParts>Data Storage option, both report no external partition (just as one would expect)

NOW: take this same Blank, FAT32 only sd card, boot up under rom that uses DarkTremor (any of MikFroyo's apps2sd versions) and both TB and SpareParts report a 350MB ext3 partion present. Run "a2sd check" and it too reports existance of this "partition" but is unable to mount it. Now a2sd saying it can't mount it is to be expected, since this card doesn't really have a Linux partition on it. But what is it on this sd card that makes TB and Spareparts and DarkTremor think there is an ext3 partition of 350MB on it??

It doesn't appear to be related to Froyo apps2sd, at least the .android_secure folder is empty.

Any ideas??
[EVO 4G Android Development] tkirton:
That's a new one...never seen anything like that before.

Here's what I would do: reboot into recovery. Once you are in recovery, adb shell into the phone.

When you are in the shell, type the following command:

fdisk -l /dev/block/mmcblk0

If your SD card is truly formatted to just FAT32, you should see only one partition show up: /dev/block/mmcblk0p1. If you have a /dev/block/mmcblk0p2 partition, that would be an EXT parition.

If you have one, here's what I would do:

1. Repartition the card again using RA 2.2.1. Make sure the Swap and EXT values are actually 0.

2. Go into ADB shell again and type the command above. If it worked, you should only have one partition: /dev/block/mmcblk0p1

3. Reinstall your rom with Apps2SD.

4. Go back into ADB shell and type the command above. It should still show only one partition. If you suddenly have two partitions, then something is going on with the rom installer (it's doing a repartitioning of your SD card). If that happens, let me know and I'll break down the rom to see what it's trying to do.

5. Boot the rom again. Once it is fully booted, check to see if you have an EXT partitions reported.

6. If the rom reports an EXT partition, reboot back into recovery and run the command above again. If it shows only one partition, then the EXT partition is from somewhere else or some bug is in the system. If that happens, do the following:

-> reboot back into your rom again

-> once the rom is booted, go into adb shell

-> type the following commands:

ls -l /dev/block > /sdcard/dtdiag.txt

cat /proc/mounts >> /sdcard/dtdiag.txt

-> Once you have done that, extract dtdiag.txt from your SD card (you can mount the card if you wish) and send the results to me at my e-mail address: rtkirton@gmail.com.

On some phones, there is sometimes additional memory which could cause this to happen. On the Evo, however, there's no additional memory.

If it is a bug in 2.7.5.2, I can fix it in the 2.7.5.3 betas.
[EVO 4G Android Development] jklong03:
Did first step, and yes, only the FAT32 partition showed up on that sd card!!

So....what is next? Do you need to talk to aamikam (ROM dev) or is this something that may be related to your script?

On the the sd card, as I said, there was only an empty .android_secure folder and and equally empty Lost Folder directory. Nothing else was visiable via adb or when mounted via MS-Dos.
[EVO 4G Android Development] tkirton:
Looks like the rom developer just released a v4.4 of MikDroid. You may try that.

In the meantime, I will download 4.3 and check it out.
[EVO 4G Android Development] jklong03:
Actually I am a beta tester for aamikam, and it was with 4.4 that I first ran accross this issue! That is what I am running now (the final release, but the issue was present with all of the apps2sd versions of his rom. Maybe it is an issue with the kitchen he used to wrap DarkTremor into his rom?) Other than this issue, his apps2sd support is working great and a2sd check reports everything is ok.
[EVO 4G Android Development] teeism:
Thanks. Works great :)
[EVO 4G Android Development] carhauler1969:
Just installed v2.7.5.2-1 this afternoon, my first install, & have a couple of questions:

First, my free internal storage went from 207MB free, to 374MB, but TI backup is still showing 74 user apps on the internal storage. Can I safely move them to the SD w/ TI? And, if so, will they then be on my EXT3 partition?

Or, would they be in the root of the SD card?

Also, what do the lowmem settings actually do? I wasn't sure, so I went in the middle with the strict setting.

Any insight greatly appreciated!

Swyped from my EVO using XDA App
[EVO 4G Android Development] GerooTech:
Shall I Root or NOT

Hi all,

I am just new to android i have my nexus one with stock rom 2.2.1, and i need to use this app, shall i root first or i can use it without rooting my phone.

I hope somebody help me on this.
[EVO 4G Android Development] tkirton:
You have to root...otherwise, the phone won't give you sufficient permissions for Darktremor Apps2SD to work

You then have a second problem. No unmodified Stock ROM can run any version of Apps2SD (other than Froyo/Gingerbread) as those ROMs will not execute boot scripts. You'll need to switch to a different ROM.
[EVO 4G Android Development] GerooTech:
Thanks for the quick reply. But I have a second question. I am using N1 with Froyo 2.2.1 and bassed in your reply I can use my stock rom after rooting it Am I right on this understanding ..????
[EVO 4G Android Development] tkirton:
No.

"You then have a second problem. No unmodified Stock ROM can run any version of Apps2SD (other than Froyo/Gingerbread) as those ROMs will not execute boot scripts. You'll need to switch to a different ROM."

Stock roms don't have the modifications in init.rc to launch Apps2SD (or any script during boot, for that matter).

If you want to keep your stock look and feel, you will either have to find someone who modified stock to run Apps2SD or you will need to flash a kernel that will launch scripts at boot time.
[EVO 4G Android Development] GerooTech:
Thanks again, and excuse me for my repeatition, and miss understanding, but why you are mentioning (other than Froyou/Gingerbread) ??? Sorry for that my english is not that good.
[EVO 4G Android Development] xhazyx:
he's referring to the Apps2sd system that Froyo and Gingerbread use, they have that functionality, the difference is that that "system" doesnt use the SD Ext partition, so if you wipe your phone... your apps are not gonna be there.

With darktremor a2sd, you use the ext partition, so your apps are there even if you wipe...

hope this helps
[EVO 4G Android Development] GerooTech:
This helps alot, thanks.
[EVO 4G Android Development] tkirton:
Sorry, that is my fault for not being clear.

There are two different types of Apps2SD:

Froyo/Gingerbread Apps2SD (also called Native Apps2SD) - This is the Apps2SD Google implemented as part of Froyo, then Gingerbread. This stores your files on a secure section of your SD card (using the FAT32 partition). This works for all Froyo/Gingerbread as it is part of the OS.

Darktremor Apps2SD (and other Apps2SD programs) - Also called Classic Apps2SD, Apps2EXT, or SD2EXT...this is an Apps2SD implementation that uses native Linux commands and partitions to allow programs to run on the SD card. Android's kernel is actually a Linux kernel, and Linux will run programs on any medium that has a native Linux partition (i.e. EXT2 / EXT3 / EXT4). This implementation uses a symbolic link to redirect /data/app to the EXT partition on your SD card. This version works for all Android version ( Cupcake / Donut / Eclair / Froyo / Gingerbread ).

I use the terms interchangeably, even through I shouldn't.
[EVO 4G Android Development] -Protos:
Looking forward to the next stable release.

Thanks so much for your hard work. My phone loves joo.
[EVO 4G Android Development] GerooTech:
Thanks again, it was really helpful, i am successfully rooted my phone and have A2Sd in my modified rom now, everything is pointed to my Ext3 partition. and have only 18 MB from my internal Storage use.

This was awesome.
[EVO 4G Android Development] freeza:
Fantastic update!
[EVO 4G Android Development] RFrancis:
I'm currently using vaelpak rom, I recently bought a class 10 micro sd card and I'm looking into what to do with it to perhaps squeeze some more performance out if my phone our tinker with it. I would appreciate any input as this truly looks like a great program with a dedicated developer. Thank you.
[EVO 4G Android Development] tkirton:
I use a Class 6 card and it seems to work okay for me. I have apps on the SD card. I also have dalvik-cache on the SD when I'm not testing.
[EVO 4G Android Development] jauger:
Tkirton glad to see you still working hard, now with the sdcard tweak apps2d is even more a must-have...
[EVO 4G Android Development] tkirton:
SD card tweak, huh? If it's a script, I could add it into Beta 04.
[EVO 4G Android Development] debarron:
Here's the thread with the SD card tweak.

http://xdaforums.com/showthread.php?t=921530
[EVO 4G Android Development] rdzlyz:
im running MIUI 0.1.21.2 and my phone is just stuck on bootloader whitescreen. wiped cache and dalvik and its just stuck, even after reflashing to miui and then flashing this new a2sd still on white screen.

reflashing miui with out this new update, my phone boots up correctly
[EVO 4G Android Development] -Protos:
Love you progie, but what is with the push to Facebook.

I come to XDA, no offense, but don't want to have to go to FB to read installation instructions ect .......

Just saying ....
[EVO 4G Android Development] tkirton:
Cool...glad you found it. I've been looking for about an hour on XDA with no luck.

I'll take a look at it.

Thanks.
[EVO 4G Android Development] tkirton:
1. Instructions are here: http://xdaforums.com/showpost.php?p=7021325&postcount=2

2. Rom List is being created on there because it's easier to create it there than it is on XDA.

3. Discuss - You're in the thread to discuss. There are 14 other threads that discuss Darktremor specifically, not to mention the other side discussions on the different rom threads and other sites...so you can imagine how difficult it is to keep up. The Facebook is my centralized system for questions, comments, etc. You can still ask them here and I'll answer (or someone else will).

4. And the push to Facebook is no different than CyanogenMod having their own website where you go discuss issues with their stuff.
[EVO 4G Android Development] debarron:
What's funny is XDA posted a news article about the tweak about an hour ago, right after I posted the link. Strange timing.
[EVO 4G Android Development] tkirton:
That is funny...they must have been watching me try to find it using their search system and decided to "throw me a bone." :)

They're a little late, though. I'm already testing it in my Evo (although anything higher than 128 did some strange things to my phone...extended battery is mysteriously depleted.)
[EVO 4G Android Development] NewZJ:
miui already has a2sd, so you cant install darktremors version to it, in settings, system, sd card you will see the a2sd stats, if you are partitioned and see 0 for both then change your kernel to one that supports a2sd, I use sbc bcnice v7 and it works perfectly
[Touch Diamond CDMA] vibbertations:
This has probably been discussed but I still don't really understand. Can I grab a rom from the MDA section and flash it to my CDMA phone? Is MDA just a branded TMobile phone or is it different than CDMA?

Thanks.
[Nexus One Android Development] tkirton:
Darktremor Apps2SD Installation Instructions

If you want a list of commands for Apps2SD, type a2sd help.
[Nexus One Android Development] tkirton:
Reserved...
[Nexus One Android Development] THATTON:
Thank you so much!!! Can I flash this with ClockworkMod Recovery? I saw that you recommend Amon's but just thought I would ask before I flash back to Amon's.
[Nexus One Android Development] tkirton:
Since we only have Amon's and Darch's recoveries, those were the only ones I could test with. It's possible you may be able to use ClockworkMod (I didn't ask my testers what recovery they were using).

Do a backup of your phone, then try it. If it works, let me know and I'll update the post.
[Nexus One Android Development] THATTON:
Everything went well and I'm up an running. Thanks.

Ps-proud to be a test subject. Lol
[Nexus One Android Development] tkirton:
As a reward for being the test subject, I have updated both the install post to include Clockworks Recovery and added your name on the Credits post as the tester.