yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] popophobia:
If I flash nightly everyday, do I have to flash the script along with it as well?

Been doing that for a while now, but not sure if it's necessary.

Thanks :D
[Nexus One Android Development] ch33kybutt:
^^^ yes, as nightly always formats /system
[Nexus One Android Development] leonnib4:
Your playing on words :)

Everybody understood what i ment.

Btw I said stock kernel not stock boot.img

I did not change the kernel so it is stock ;)
[Nexus One Android Development] tkirton:
Missed updating this forum...

Darktremor Apps2SD 2.7.5 Release Candidate 1 is now out. Enjoy.
[Nexus One Android Development] ultra99:
I don't get it, I can't load this zip file? What do I need to do exactly to modify the init.rc file?
[Nexus One Android Development] leonnib4:
It's in boot.img

Extract the ramdisk
[Nexus One Android Development] ultra99:
wow, anything already premade? :D:o:o
[Nexus One Android Development] leonnib4:
Use search.

Lok at lilHermit thread or use any boot.img from any ROM that includes Darktremor's A2Sd.
[Nexus One Android Development] tkirton:
Give me a few minutes and I'll make you something.

EDIT: What rom are you running currently?
[Nexus One Android Development] ultra99:
Thanks! I'm using Geo's now: http://xdaforums.com/showthread.php?t=714184

But does it matter which rom? What if I change and try diff roms?
[Nexus One Android Development] tkirton:
It does matter which rom...you have to use one that has the launch functions in init.rc for apps2sd, although you don't have to use a rom that specifically has Darktremor in it (i.e. Modaco's rom does have Apps2SD code in the init.rc, but Paul doesn't use my Darktremor Apps2SD...he uses his own build.)

Since you are running Froyo, I have a modified Cyanogen boot image that should work:

http://www.darktremor.info/files/boot/nexusone-2.2cyanogen-boot-signed.zip

And if you don't like that one, I have Modaco's version (Paul states his is from stock, but I'm not sure if that is Froyo or not).

http://www.darktremor.info/files/boot/nexusone-modaco-boot-signed.zip

If none of those work, let me know and I'll make you another one.

Just flash this just like you were flashing a rom. Make sure you do a nandroid backup of the image first.
[Nexus One Android Development] ultra99:
Thanks!

So I install this boot image and then the rom?
[Nexus One Android Development] tkirton:
If you already have a rom running, just flash the boot image.

If you want to change to a rom that doesn't support apps2sd, flash the rom, then the boot image, then Darktremor Apps2sd. (the last two can be flipped, but the rom must go first). If you flash the rom after the boot, the boot image in the rom will overwrite the boot image you just flashed.
[Nexus One Android Development] ultra99:
I installed Geo's rom, then boot image, then Darktremor. Now what? :D
[Nexus One Android Development] tkirton:
If it booted, go into adb shell and type: a2sd check. It will tell you if everything is setup correctly.
[Nexus One Android Development] ultra99:
I did, but it's telling me "ext partition found but not mounted, your rom may not be setup to run apps2sd, check with your rom dev...." eventhough my previous rom installed had app2sd ext supported and i partitioned my sd car with ext3, so there are apps already installed. so supposedly they must just reinstall, correct?
[Nexus One Android Development] tkirton:
What was the previous rom you were running?
[Nexus One Android Development] ultra99:
leofroyo 1.2
[Nexus One Android Development] tk1978:
hi, i am running a2sd on cyanogenmod 6 nightly on htc desire.

if i typpe mount or a2sd check, i can see that ext2 partition is mounted. thats what i do not understand. i have created an ext3 partition with RomManager. I verified with tune2fs -j block device that a journal is created on the ext partition. but why is it mounted as ext2 an not as ext3? any hints for me?

thx, thomas
[Nexus One Android Development] tkirton:
LeoFroyo is a good rom. The developer created his Apps2SD based on 2.7 Update 3r1, it's not as feature rich, but it is more streamlined, therefore it does run faster.

If the roms I delivered don't work, you could either go back to LeoFroyo or you could do the following:

Note: Do a nandroid backup before performing these steps.

1. Extract the boot.img from LeoFroyo and save it to your hard drive

2. Push the boot.img to your sdcard by typing adb push boot.img /sdcard

3. Boot into recovery

4. Using adb shell, type flash_image boot /sdcard/boot.img

5. Reboot the phone.

If all works, the boot image from LeoFroyo with the Apps2SD launch commands should run Darktremor Apps2SD.
[Nexus One Android Development] tkirton:
I'm not sure. Mounting is done by the kernel...either the kernel doesn't support it, it isn't implemented correctly in the kernel, or your recovery didn't set it up right.

Next version (RC2 or final...not sure if I'm going to throw out another release candidate) will have an updated Busybox...just in case that may also be the issue.
[Nexus One Android Development] ultra99:
I installed the stock froyo rom (Geo's) and applied your boot image, it works, but gave me error with Wifi. Any ideas?
[Nexus One Android Development] tonyx3:
Internal storage running low

Got DT working on my CM7. It seems to be great.

But the internal storage (as reported by Settings>Storage) is still dropping fast. Not as fast as if all my apps were installed internally, but it's reporting 43.5 MB available now. Yesterday it was reporting about 60MB. Since then I installed about 5 apps.

I haven't been using cachesd because my sd card is only class 2

I also haven't been using datasd. Should I be? How much difference does it make?

Am I doing something wrong?? I've read in this forum of people claiming they have 100+ apps installed and it still shows them with over 100MB free. I don't have anywhere near that many apps.
[Nexus One Android Development] CAL7:
I, too, would like some advice on whether to use cachesd on my class 2 card. What about if I go to a Class 10 card?
[Nexus One Android Development] blahbl4hblah:
Well in order to have the 100mb of internal storage you have to do cachesd, thats the only way

class 10 would speed things up, I have class 10 already and I'm loving it
[Nexus One Android Development] viper2g1:
Does anyone have a mirror for .2?
[Nexus One Android Development] blahbl4hblah:
I've noticed something, the lowmem options get reseted by to default after rebooting, please fix
[Nexus One Android Development] temasek:
Modified for CM rom.

http://www.mediafire.com/download.php?dhbd5r8nbf6rruw
[Nexus One Android Development] CAL7:
Thanks for the response. If I don't upgrade the card, all things considered (freeing up internal memory at the expense of slower transfers to dalvik cache) do you recommend using cachesd on a 4GB Class 2 card?
[Nexus One Android Development] blahbl4hblah:
I honestly can't say mainly because I haven't tried it on class 2, class 10 4gb is pretty cheap like 15 bucks off newegg
[Nexus One Android Development] temasek:
If u don't play much intensive games, class 2 is good enuff for cachesd. U won't feel much difference actually for apps.
[Nexus One Android Development] Docmjldds:
<<Radio 5.12.00.08 / SPL: 0.35.0017

Recovery: Amon Ra v2.2.1

Class 10 SD Card 4GB

Guess you finally made the AMON update. Love DarkT BTW, but also love D2whatever. I wonder if D2 will make it to other ROMs, beside MIUI. Anyways....just checking all the other Forums I poke around in and noticed you here too :D
[Nexus One Android Development] Metallan:
How can I know if it's working or not?

I used to perform a batch move using Titanium Backup, do I need to batch move them to Internal Storage before I do a a2sd reinstall? Or if I do a2sd remove, will it also move the things that are on SD, but were moved there by Titanium?

Right now, it seems to me like there are thing on SD on the regular froyo way (or titanium), and some others that a2sd moved.

Is there any way to confirm that?
[Nexus One Android Development] quertiy:
problem with market apps

htc desire gsm

cm7, apps2sd, cachesd

everything works well, but i don't have any market apps.

1. if i restore the backed up market links with titanium, the app restored reappears in market, but on the next market run it's not there anymore

2. if i install an app, it reappears in market, but on the next market run, it's not there anymore

what. the. heck

what's the latest apps2sd version that works?
[Nexus One Android Development] EnhancerFIN:
I've been using clockworkmod recovery, and suffered from dalvik-cache moving itself back to the internal memory after wiping it through the recovery.

Just switched to RA-recovery, and now that problem is solved. Now it stays on the right place after wiping it. Thanks Temasek for pointing me in the right direction!
[Nexus One Android Development] ilos:
try to clear cache data of the market
[Nexus One Android Development] quertiy:
how? (10 characters)
[Nexus One Android Development] NguyenHuu:
go to settings > applications > manage applications > all > look for market
[Nexus One Android Development] quertiy:
ah, lol, right. thanks
[Nexus One Android Development] tonyx3:
My SD is only class 2 so I'm wary of using cachesd.

I'm thinking of going with cachepart and datasd.

Thoughts, pros/cons, advice?

Disadvantages of either of those settings??

What approx Mb should I expect to see in Settings>Storage with those options and 60ish apps??
[Nexus One Android Development] Rusty!:
I have more apps than that and with those 2 settings have 116Mb free currently. Move /data and you get 192Mb free.

I also have a quick question, is there any reason why a2sd diskspace doesn't work for me?

I get this output:

[ ] Displaying Disk Space statistics on SD card
df: /dev/block/mmcblk0p2: can't find mount point
Filesystem Size Used Available Use% Mounted on
[ ] Setting File System Ready property to 1.

Yet if I run df manually:

/dev/block/mmcblk0p2: 505636K total, 205992K used, 299644K available (block size 1024)

I did notice when apps were transferred, it mentioned being unable to umount /dev/block/mmcblk0p2 before rebooting. Still, everything seems to work OK, so I'm guessing it's not a huge deal.

Partition type is EXT3 if it matters.
[Nexus One Android Development] quertiy:
ok, so, after cleaning the cache, the market still doesn't show any installed apps, even if i reinstall them.

GOD damn

just out of curiosity, does this forum have any support from the actual developer?

ok. so.. it's not the script's fault.

here is the solution:

1. Settings -> Applications -> Manage applications -> All -> Market -> Force Stop / Clear Cache

2. Titanium Backup -> Backup/Restore -> Market -> Wipe data

3. Titanium Backup -> More -> Market Doctor

4. Run "Market"
[Nexus One Android Development] temasek:
Use TB to wipe market data. Try it.
[Nexus One Android Development] endiz:
Good luck with the re-write op. Let me know if you need any alpha testing (Deniz from Facebook).
[Nexus One Android Development] denteno:
i'm on beta 4 and i wanna back to version 2.7.5.2

so do i just install it over the current version or what ??

cause i'm really sick of the low volume issue every time i reboot and the dropped calls and the not working mic
[Nexus One Android Development] temasek:
Yes u can.
[Nexus One Android Development] popophobia:
How do you guys handle reinstalling the A2SD+ after each ROM update? After every ROM update (and flashing DT A2SD+ zip file of course), I have to race to the terminal after first reboot to run the command a2sd cachesd and reboot or I'll face endless forced close due to dalvik cache being moved back to the internal phone memory.

Do you guys have this problem? If so, is there an easier way to deal with this?

Thanks.
[Nexus One Android Development] CAL7:
I don't have any of the hassles you are dealing with. I use 2.7.5.3b04 and just, as you say, flash it after the ROM and everything boots up normally with dalvik on the sd-ext every time. I do re-boot a second time, just for grins, but I don't have any reason to think it is necessary.
[Nexus One Android Development] popophobia:
Strange. I'm using Clockwork recovery image and in the menu of flashing zip file, there is one option saying something about activating the script. I'm not sure if it's the culprit. But I'll try to enable it next time I flash.

Thanks for the input.
[Nexus One Android Development] dvgrhl:
It's been a while since I used Clockwork, but that recovery always had issues for me - not to mention that it didn't really wipe Dalvik cache when you told it to. I switched to AmonRA recovery, and I haven't had a single issue since. So maybe try switching recoveries and see if you still have any problem after flashing the DT zip file. It should just work.
[Nexus One Android Development] ryanoption:
I'm trying to use this on CM 7 nigjtlies is that possible.When I run the script my apps go to my EXT 2 partition but my phone doesn't see them.File manager shows the apps in the EXT but not anywhere else?Can someone help me out?Thanks!
[Nexus One Android Development] tonyx3:
So a2sd was working great for days. Then I did a reboot. No flash, nothing. Just a plain reboot. After reboot, the phone couldn't find any of my apps, except the stock ones. I waited a while, but nothing changed.

a2sd reinstall fixed it, but it was a bit disconcerting.

Anyone else experience this?
[Nexus One Android Development] craigacgomez:
Had this happen once... a long time ago... using 2.5.something... turns out it somehow did not mount my sd-ext partition... and activated the boot protection and hence no installed apps showed up... but rebooting fixed my problem... never happened again so don't really know how or why it happened...
[Nexus One Android Development] xavier7:
Hi guys, I have darktremor a2sd installed, then I flashed CM7 nightly roms without clearing the cache.

I noticed today that when I type SU then any a2sd command in Terminal Emulator, it just says "a2sd not found" (SU is granted)

I checked in Titanium Backup, it still shows SD Card (a2sd) 565/959MB free. And its working as well as I install apps, this partition decreases in size.

Is this normal? if I need to start over again, how do I go about it? Clear cache then flash ROM then flash Darktremor a2sd again?

Thanks!
[Nexus One Android Development] shmigao:
Maybe it is enough to flash just dta2sd again
[Nexus One Android Development] tonyx3:
I've got one widget that disappears every time I reboot, since I started with dta2sd. All the other widgets are fine, but this one always comes up 'problem loading widget.' It's Digital World Clock Widget from Tomas Hubalek. It works fine if I delete and re-add it, but then it disappears on the next reboot.

The phone thinks it's on internal storage (that's the way dta2sd works, right?), so it's not a problem with the builtin a2sd.

Any ideas?
[Nexus One Android Development] shmigao:
Check settings / applications / manage applications / on sd card

That widget app probably has a tick mark there. It should not

Untick, reboot, widget should then be working
[Nexus One Android Development] tonyx3:
Nope. That's what I meant when I said the phone thinks it's on internal. I have no apps with ticks. Not sure why the phone even lists any apps in the ' on sd card' tab.
[Nexus One Android Development] temasek:
Those apps listed "On SD Card" means, it can be moved to external as per froyo styled apps2sd. It doesn't mean it is now in your external fat sd. Only when it is "TICK" on the app, then it is really on external fat sd.

This new tab "On SD Card" confuses many.
[Nexus One Android Development] shmigao:
Ok got it

Did you try a2sd reinstall

This is a long shot, but maybe worth a try
[Nexus One Android Development] vincenzos:
Can't boot after installing Darktremor on fresh CM 6.1 installation. Device stucks on the HTC logo screen (HTC Desire PVT4). Did the following from CM 2.5.0.7 recovery:

1. Wipe data

2. Wipe cache

3. Wipe dalvik

4. Flash CM 6.1

5. Flash Darktremor

When skipping step 5 everything goes well and CM loads. Any suggestions?
[Nexus One Android Development] shmigao:
Had the problem with HTC dream G1 today.

Exactly the same problem.

Earlier versions worked before
[Nexus One Android Development] hesian:
I'm using NexusHD2-Gingerbread V2.1 NAND wich supports App2SD (with EXT4)

My App2SD is not using my EXT3, due to not being mounted...

a2sd check

> [ ] Starting Apps2SD Chech Program.

> [ ] Checking for ext partition

> [] 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 suppoprt EXT4. Repartition your SD card to use EXT2 or EXT3.

Why is my EXT3 not mounted ? How do I fix it ?
[Nexus One Android Development] mtw4991:
If all else fails, delete the app and reinstall in to true internal memory using adb shell:

adb shell

pm setinstallLocation 1

Reboot and install app, then go back and pm setinstallLocation 2, reboot.

done.
[Nexus One Android Development] TheNewGuy:
This is happing to me also. I reflashed the zip and all seems to go well but when I try any a2sd command from terminal it says a2sd not found... what am I doing wrong? I am on a G2..
[Nexus One Android Development] mtw4991:
It is using the ext 3 partition, but doesn't report as such thru the program. idk why.
[Nexus One Android Development] hesian:
# a2sd diskspace

[ ] 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 = /sd-ext

[ ] Starting Darktremor Apps2SD Version 2.7.5.2

[ ] Launching Apps2SD Start Program with diskspace

[ ] Starting Darktremor Apps2SD in diskspace mode

[ ] Displaying Disk Space statistics on SD card

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

Filesystem Size Used Available Use% Mounted on

[ ] Setting File System Ready property to 1.

Why does it not mount it ?
[Nexus One Android Development] mtw4991:
You must flash rom then dt zip then reboot. Try reflash in this order and run:

a2sd check

a2sd reinstall

a2sd zipalign

a2sd cachesd
[Nexus One Android Development] mtw4991:
It IS mounting /sd-ext as ext3 if you set it up that way by converting ext2>ext3. Apps in the market will render it correctly but the script does not.
[Nexus One Android Development] hesian:
Confused. I partitioned using ClockworkMod Recover v1.3 for HD2 which (should) partitioned 1Gb as EXT3. Are you saying it is EXT2? I just need to know exactly how to fix it please ?
[Nexus One Android Development] Rusty!:
I found that a2sd diskspace wouldn't work, but if I manually typed df /dev/block/mmcblk0p2 it would give me the info... try that?
[Nexus One Android Development] hesian:
$ df /dev/block/mmcblk0p2

Filesystem 1K-blocks Used Available Use% Mounted on

df: /dev/block/mmcblk0p2: can't find mount point
[Nexus One Android Development] TheNewGuy:
Still no luck.... I followed those instructions yesterday and it didn't work. Then reflashed the zip today, then after your sugestion I wiped everything and followed your instructions again, and everything looks fine while flashing in CWM but after reboot the terminal emulator says a2sd not found when trying any of the commands you sugested.... but I think it might be because I am running the latest nightly of 6.1.1 instead of 6.1? As is listed as a working rom in your list.... if so can I add your scripts to the rom before I flash the 6.1.1 rom? Will that make it work?
[Nexus One Android Development] mtw4991:
I'm not sure how to help with CWM as I only use Amon_Ra v2.2.1 recovery. Try it and see if it works with Ra recovery...never had a problem. Also, try using DT a2sd v.2.7.5.2, not the beta versions as some are having issues with it. I suspect this might be your problem.

Here it is in case you don't have it...

http://db.tt/AxQDNyQ

Also, are you typing su in terminal prior to running any a2sd commands? just a thought...;)
[Nexus One Android Development] tonyx3:
That seems to have fixed it for now, thanks. But with the install location set to 2 (external), where will the phone install apps now? Will it still install them to the 'fake' internal (eg the sd-ext)??
[Nexus One Android Development] mtw4991:
yep, by putting it back to 2 (external) it will allow your CM settings to override it and to install to the sd-ext partition via a2sd. Thanks button?

:D
[Nexus One Android Development] TheNewGuy:
thank you for your help. I did get it installed by mounting system and data prior to flashing your zip. However it is still not working quite right.. It seems to cause a soft loop "stuck at boot animation" when I try any of the options. But ifI reboot to recovery and wipe dalvik cache it will boot but I am not sure it is right. And since I am at work and I can't spend anymore time on it... I will try the new version when I get home. As for aman Ra I didn't know he had a version for the g2... I preferred his recovery for my g 1 so I will look into that as well. Thanks again for your help.
[Nexus One Android Development] mtw4991:
not sure about G2, but his thread would show if it's available. Glad it's working for you.
[Nexus One Android Development] hesian:
I have fixed this problem:

Enter ClockworkMod Recovery

USB Mass Storage - Backed up SD Card

Advanced - Partition SD Card: 512Mb - 0 Swap Size

USB Mass Storage - Restore backup

Installed Apps2SD 2.7.5.3 Beta 04

Reboot

It rebooted automatically another 2 times

# a2sd diskspace

[ ] Starting Darktremor Apps2SD in diskspace mode

[ ] Displaying Disk Space statistics on SD card

Filesystem Size Used Available Use% Mounted on

/dev/block/mmcblk0p2 457.2M 84.4M 348.4M 19% /sd-ext

All Apps now on EXT3, internal storage shows 120Mb free :)
[Nexus One Android Development] :
where can i found 2.7.5.2 ?

thx :)
[Nexus One Android Development] shmigao:
http://db.tt/AxQDNyQ
[Nexus One Android Development] mtw4991:
by reading 3-4 posts above the one you just made maybe?:rolleyes:

thanks for helping our blind readers shmigao!;)
[Nexus One Android Development] shmigao:
Yeah. In a giving mood today.

However, updating my wide's G1 to CM 6.1 stable with dta2sd still fails even with using 2.7.5.2

....

At a loss now and giving up :-/

My wife doesn't mind though :-)
[Nexus One Android Development] TheNewGuy:
Yea I can't get this to work either. I have got it installed by mounting system/data. Then it reboots twice.... then when I run a2sd install,reinstall or any other command other than a2sd check and a2sd zipalign it will loop at the bootanimation... I can get it to boot by wiping dalvik cache. And a2sd check says all is fine but no matter how I install the apps they disapear after a reboot.... so I am giving up for now and restoring my backup. I will try some more tomorrow...
[Nexus One Android Development] mike1986.:
Is there any way to set default InstallLocation 1? I tried already with init.d script

#!/system/bin/sh

pm setInstallLocation 1

and also with install-recovery.sh

#!/system/bin/sh

pm setInstallLocation 1

but it doesn't work. InstallLocation is still 0. Is there any other method I can do it apart of pm setInstallLocation 1 via adb?
[Nexus One Android Development] Rusty!:
What's wrong with running it via ADB/terminal? It remembers the setting.
[Nexus One Android Development] mike1986.:
The thing is that I want to change this default value in my ROM :)
[Nexus One Android Development] mike1986.:
Nothing wrong apart of the fact that I want to include this in my custom ROM as a default feature :)
[Nexus One Android Development] mtw4991:
You are typing it in wrong:

pm setinstallLocation 1 , not

pm setInstallLocation 1

No capital "I" in install, only capital "L" in location.;)
[Nexus One Android Development] mike1986.:
Are you sure it matters? When typing it in adb it's working fine with capital "I". And in every guide it's written "setInstallLocation" so "I" with capital letter.
[Nexus One Android Development] mtw4991:
No, I'm not totally sure...just what I was told a long time ago, never bothered to change it as it always worked for me, so idk:(