yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] holymolys:
I have a question...

I dont understand this bit, Im pretty sure i installed it right cuz its got a green light under "Apps are on SD", but i still need to move the dalvik-cache to actually make it work?, right now in the GUI it is on the internal ram, do i just move it to SD-EXT?

is dalvik-cache a swap space or just the place where apps are installed to? I dont know what it means lol *confused*

Im using Thunderg/Devoid/ext3

@Javi, i flashed it to my P509, and it seems to be working? but im not 100% sure yet lol
[Nexus One Android Development] temasek:
Okay I try to make simple explaination.

1. By default when u flash a DT script, only /data/apps & /data/private-apps are moved to /sd-ext partition.

2. Your apps' dalvik-cache which resides on /data/dalvik-cache still remains on /data/dalvik-cache unless u as per recommendation move apps' dalvik-cache to /sd-ext/dalvik-cache. By doing so you will actually maximize the potential of this superb DT script.

3. Lastly the latest beta DT script is able to move apps' data to /sd-ext also, which are commonly term as datasd. By doing so, practically u are only limited by your /sd-ext partition size for your apps (no longer limited by your real internal storage).

Most users will only choose to use DT script with additional move of dalvik-cache to sd-ext cuz using datasd requires a high speed sdcard.

How to move dalvik-cache to sd

From terminal, perform the following command

su
a2sd cachesd

What is dalvik-cache?

Quote by our dear cyanogen
[Nexus One Android Development] shockaholick:
Hey Temasek-

I know you are the one to ask. I just recently flashed the new CM7.0.3 stable. So I reflashed DarkTremors script, but when i go into the terminal emulator I type su...and then when I run any command I get the following message:

/system/bin/bash: /system/bin/launcha2sd: No such file or directory

I have low memory now and i'm trying to follow what you said about tricking the memory to thikning its internal and moving it to my sd...I just dont know what I'm doing wrong..

If you could be so kind to walk me through the steps on to getting my a2sd working appropriately?

Much thanks!
[Nexus One Android Development] temasek:
What recovery u using?

If u on dt I suggest don't use CWM3

Read this post

http://xdaforums.com/showpost.php?p=11950587&postcount=674
[Nexus One Android Development] shockaholick:
I'm using Armon Ra recovery....i'm not sure what I should do..that post was kind of clear..but I'm still sort of a noob...any other help would be great...
[Nexus One Android Development] temasek:
Have u prepared your ext partition? If u using less than 1GB ext then go for EXT3. If u using more than 1GB ext then go for EXT4 partition. Once u prepared your partition then download the modified DT 2.7.5.2 file from the post.

1. Flash DT from recovery. If u flash a new rom, this dt must be flash last before u reboot.

2. Upon 1st bootup your internal apps will be auto moved to your ext partition. Give yourself sometime for it to complete its move

3. Recommended to move dalvik-cache to sd (ext partition)

From terminal perform following commands

su

a2sd cachesd

Once completed it will reboot.

4. From now on when u flash a new rom just flash your dt script again before u reboot in the following order

Flash rom

Flash gapps (if necessary eg when u wiped)

Flash DT script

Reboot
[Nexus One Android Development] shockaholick:
I already partitioned my sd when I flashed cm7.0...i then wiped and flashed cm7.0.3. So, do I have to partition again? I put the official dark tremor script on my sd, before I was using the beta..now the following error comes up in the terminal:

Apps2SD is launching....

ash: can't open ' /system/bin/launcha2sd'

????????????????????
[Nexus One Android Development] temasek:
U tried my modified? Also use the stable release ...
[Nexus One Android Development] shockaholick:
i'm using the stable..should I try the modified?
[Nexus One Android Development] temasek:
No I meant I have both modified stable and modified beta releases of the DT script.

Try using the modified DT 2.7.5.2 from this post

http://xdaforums.com/showpost.php?p=11950587&postcount=674
[Nexus One Android Development] shockaholick:
the DT 2.7.5.2 Modified is for cm6 when it took me to the mediafire link..and the one below it is for cm7...so I'm assuming use the link on the bottom...DT 2.7.5.2-1 Modified
[Nexus One Android Development] temasek:
Both can use.
[Nexus One Android Development] shockaholick:
just tried the stable modified..still the same issue... :confused:
[Nexus One Android Development] temasek:
Hmm then I think u need to wipe /system and try.

http://xdaforums.com/showpost.php?p=13606521&postcount=17650
[Nexus One Android Development] shockaholick:
going to try to wipe...and then will report back...
[Nexus One Android Development] temasek:
Pls nandroid backup first.
[Nexus One Android Development] shockaholick:
everything is working great..I did do a nandroid backup...thanks for your help!
[Nexus One Android Development] shockaholick:
so after I installed the wifi calling after I followed what you said..I now have no service..should I have done this....

1. wipe

2. flash cm7

3. flash gapps

4. flash wifi

5. flash dt scripts

6. reboot

???
[Nexus One Android Development] temasek:
Your steps are correct. Maybe reboot again? Not sure about wifi calling cuz I cannot use it (only for t-mobile).
[Nexus One Android Development] shockaholick:
i can't win...i just wiped, flashed everything in the order above..but now the script is not working..wtf! it doesnt make sense..b/c i used the wifi calling on cm7.0 with the script working and everything..any ideas?
[Nexus One Android Development] temasek:
First I'm not too sure about wifi calling. Do u need a custom kernel for that to work? I seen intersectRaven used to have a wifi calling kernel.
[Nexus One Android Development] shockaholick:
so if i need to use a different kernel...

1. wipe

2. flash rom

3. flash gapps

4. flash wifi calling

5. flash kernel

6. flash dt script

7. reboot
[Nexus One Android Development] temasek:
That steps are ok.

But since u already done earlier steps just find a kernel and flash it will do. No need to redo any more other steps.
[Nexus One Android Development] shockaholick:
can you direct me to where a good kernel for this would be...i'm so sorry for asking in this thread...and thank you for all your help!
[Nexus One Android Development] shockaholick:
will redstar kernel work ?
[Nexus One Android Development] temasek:
http://intersectraven.euroskank.com/kernels/

Find one that has wifi on its filename
[Nexus One Android Development] N1_Fan:
Wififast has been incorporated into all kernels.
[Nexus One Android Development] temasek:
Ahh. That news to me. Cuz I never use it. Thanks.
[Nexus One Android Development] shockaholick:
would wififast be one of them? i'm just not sure which one to grab? again sorry for all the questions..you are a tremendous help...
[Nexus One Android Development] shockaholick:
soo...would redstars latest be okay? or i'm not sure which one to use :(
[Nexus One Android Development] temasek:
According to N1_Fan its been incorporated into all kernels. U can grab latest IR AVS CFS kernel and try. Great battery savings.
[Nexus One Android Development] shockaholick:
but which one...there are so many! lol ....i guess the latest date?
[Nexus One Android Development] temasek:
http://intersectraven.euroskank.com/kernels/20110519_22XX/2.6.38.6_AVS-CM7_CFS_20110519_2203.zip

I use this currently.
[Nexus One Android Development] shockaholick:
even with the new kernel when i try to run the

a2sd cachesd command I get:

Apps2SD is launching...

ash: can't open '/system/bin/launcha2sd'

wtf!
[Nexus One Android Development] temasek:
Did u su ?
[Nexus One Android Development] shockaholick:
of course.... i did

su (enter)

a2sp cachesd (enter)

and then i get that error message... :(
[Nexus One Android Development] temasek:
Download this from market and try use that to trigger it.

A2SDGUI

Its a DT gui based app
[Nexus One Android Development] shockaholick:
that kernel you just put up didnt work :( ....i dont get it :(
[Nexus One Android Development] temasek:
Is your wifi calling script up to date? Maybe go check that thread out.
[Nexus One Android Development] shockaholick:
yea..its up to date...just not sure why everything was working just fine on cm7.0..just not cm7.0.3 :(
[Nexus One Android Development] temasek:
Sorry I'm of no help for wifi calling. Maybe get other user assistance cuz I have never use it b4.

Or why not jump to latest nightly?
[Nexus One Android Development] shockaholick:
well thank you ...i appreciate it...it just sucks b/c i used the DT script on cm7.0 with the wifi calling..so i'm trying to figure out why it worked on 7.0 and not on 7.0.3...

its like either i can get the script to work without wifi...or i can get wifi with out the script on cm7.0.3...strange i tell you..lol
[Nexus One Android Development] N1_Fan:
Same problem here but with the nightlies. Seems like a problem with running out of space for wifi module on install. I haven't been able to solve yet. There is a post in the wifi thread on how to push the wifi module manually.
[Nexus One Android Development] temasek:
Ooooo very possible out of /system storage. DT occupies a substantial storage in /system and with ever increasing rom size and wifi calling and bigger gapps, out of /system storage is highly possible.
[Nexus One Android Development] N1_Fan:
I'm going to try and use the /system format to see if I can clear enough space to get Rom, Wifi, DT, and IR kernel to all install. If that fails, I'll try other kernels to see if they are smaller. May have to wait for devs to make files smaller (if possible)
[Nexus One Android Development] temasek:
Use the smaller gapps ie, official gapps 0307. That would save some space.
[Nexus One Android Development] shockaholick:
N1_Fan...let me know if that works...I'm kind of noob, and not sure exactly what you are doing...but if you're like me, I need the wifi due to poor service where I live and work...let me know how it works out for you...I'll look forward to hearing your response.
[Nexus One Android Development] shockaholick:
can you direct me to that file? also, are we just flashing these gapps files or all you all doing it a different way? again..sorry for the noob questions...
[Nexus One Android Development] temasek:
http://goo-inside.me/gapps/gapps-gb-20110307-signed.zip

This is currently latest official gapps for CM7
[Nexus One Android Development] N1_Fan:
So I got it to finally load all modules. Here was my process:

1. Flash format-system-only.zip

2. Wipe cache and dalvik

3. Flash CM7 nightly #80.zip

4. Flash gapps-gb-20110307.zip

5. Flash wifi calling zip

6. Flash DT-CM7-2.7.5.2-EXT4.zip

7. Fix APK UID mismatches

8. Reboot

9. In TB, remove system files until you have 11MB free space in system partition. I removed live wallpapers, CM wallpapers, FM radio, Google Books, GTalk, and a few others that I don;t use. IR kernel takes up 10.5MB.

10. Boot to recovery.

11. Wipe cache and Dalvik (probably overkill)

12. Flash 2.6.38.6_AVS-CM7-NOBOOST_CFS_20110519_2203.zip

13. Fix APK UID mismatches (probably overkill again)

14. Reboot and turn on wifi.

Seems to work so far but I cannot guarantee that I haven't messed something else up by removing system files. Good luck.
[Nexus One Android Development] temasek:
Glad that my format-system-only.zip is of good use. Hehe :)
[Nexus One Android Development] shockaholick:
soo...i'm having a weird issue now...i'm going to hold off on the wifi calling...

but this is what I have done:

1. wipe

2. flash cm7.0.3

3. flash gapps

4. flash dta2sd

5. reboot

After I reboot one scenario I did was run the script in the emulator:

su

a2sd cachesd

I then tried to install my apps from titanium backup with my stystem data in a batch...during the installation I got running out of disk space...WHY? I thought the "a2sd cachesd" script prevents that?

Next scenario I did the whole wipe, flash, reboot stage...

once booted back up...I ran titanium backup first and tried to install apps that way...of course I get the notification about running out of disk space....so then I ran the script su a2sd cachesd....reboot...then my device gets stuck on the boot animation...I dont know what I'm doing wrong...

I just want to be able to put all of my apps on my sd card with no issues...Am I running the wrong script..what process do I need to do to get this to work like the way I want it.

Do I

a) run the scripts first

b) then run titanium backup

c) run titanium backup

d) then run the scripts

Someone please help!
[Nexus One Android Development] temasek:
When u move dalvik-cache to sd, pls note that your booting process will take much longer now. Probably earlier after u move dalvik-cache to sd and reboot, it was booting properly but u got impatient.
[Nexus One Android Development] N1_Fan:
Just flashed latest IR kernel with only wiping cache and Davlik and no problems connecting to wifi.
[Nexus One Android Development] shockaholick:
N1 can you please elaborate on steps 7,9,12, and 13? I'm a noob and don't know some of what you are doing...my applies and much thanks in advance!
[Nexus One Android Development] N1_Fan:
Step 7 - In Amon recovery under Other>fix apk uid mismatches. This makes sure the apps in sd-ext and their data match up.

Step 9 - Using Titanuim backup, under batch, near the bottom of the list is the option to "Unistall all user & system apps". Make sure you deselect everything then choose only the apps you don't use. I removed CarHome, Gtalk, Android wallpapers, CM wallpapers, FM radio, and a couple more. The goal is to get 10-11MB of system space free in order for all the modules to install. I am not sure of the exact size needed but I know I was successful at 11MB. It may differ with different kernels, gapps, and Roms though.

Step 12 - That is the latest InsectRaven kernel that I am choosing to use.

Step 13 - Same at 7 above.
[Nexus One Android Development] shockaholick:
Thank you N1..I will try this as soon as I have some free time....

Question for you...could you please post the link to that latest IR kernel that you are posted?

And also, whenever I install IR's kernels..my wifi always says error next to it when I go into settings. I read somewhere that you have to make sure the wifi is checked off before flashing that kernel? Is that correct? Or am I doing something wrong?

Again, thank you guys for all your help...and N1...has everything running so far?
[Nexus One Android Development] N1_Fan:
Here is the link to the latest kernel I have been using, but the IR thread has the kernel with audioboost if needed.

http://intersectraven.euroskank.com....6.38.6_AVS-CM7-NOBOOST_CFS_20110521_1548.zip

As for the wifi, some people have had to turn it off. But the error usually appears because the wifi module does not load. That is the reason for creating system space. Not sure if that is the entire reason, but I was consistently having problems with the last file flashed prior to clearing space.

So far everything is working great except my mms images are showing up small. I think someone has posted a solution but haven't had time to look for it.

Good luck.
[Nexus One Android Development] pwvandeursen:
replacing the sd card

all,

I've tried to look for the anwser but couldn't get it. I have a new larger sd card and want to replace my current card. Which steps do I need to follow to keep all my data? How do I transfer the data on my current card to the new one (obviously the data on the ext3 partition. the rest of the data I can transfer through my pc)

thanks in advance

Patrick
[Nexus One Android Development] temasek:
I had replace once my sdcard with ext partition. This is what I did. Btw I'm using Amon_RA Recovery.

1. Nandroid Backup just the /sd-ext partition from old card.

2. Copy the nandroid backup to new card fat32 partition.

3. Nandroid Restore just the /sd-ext partition to new card.
[Nexus One Android Development] miguelm75:
i know, that there was written here about showing ext4 partition info, but after upgrading in AmonRA from ext2 to ext3 and then to ext4 "mount" command still shows ext2 partition. after flashing your modified script for ext4 is the same. what can i do, to know what kind of partition do i really have?

i would like to try this: http://xdaforums.com/showthread.php?t=1061648, so need info, which of your modified scripts should i use to get it work (ROM+custom kernel+script).

EDIT: or maybe should i use the original scripts from DT?
[Nexus One Android Development] andresteves:
Sorry for the newbie question but anyone got this error :

[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[-] Checkpoint 6: Insert CyanogenMod patch.
[ ] Creating /cache/dc
[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[-] Checkpoint 13: Display version information.
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
[-] Checkpoint 14: Check for filesystem support.
[-] Checkpoint 15: Mount partition.
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
[-] Checkpoint 17: Mount Swap.
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to: 32m
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
[ ] Launching Apps2SD Start Program with cachesd
[ ] Starting Darktremor Apps2SD in cachesd mode
[X] EXT partition is not mounted. Cannot continue.
[ ] Setting File System Ready property to 1.

I have:

RA-thunderg-1.1.0-GNM recovery

[ROM][KERNEL]franco|.v13.5|BFQ|VR|CFS|SLQB|SMARTASS|TinyRCU|GPU +|.39| ->Here

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

Steps i followed:

1. nandbackup

2. Wipe everything

3. Created partitions (swap=0, ext2=512MB)

4. Flash ROM

5. Flash Kernel

6. Flash DT

Reboot

Best Regards
[Nexus One Android Development] temasek:
Check your /system storage. Is it low on space? Once u installed dt, w/o flashing dt, cm is able to mount your ext partition.

I may be wrong but do check your /system as I suspect u flashed incomplete dt script.

Fyi, incomplete flash of dt, your phone willl still boot up but without dt's involvement.
[Nexus One Android Development] lolobabes:
can you use this along side with "ta utility" = app to move cache of browser, market and gmail to sd card?

also will all the apps be automatically installed on sd-ext or you can also chose to move apps back to internal? ta
[Nexus One Android Development] miguelm75:
it seems to be concerned in some way with ROM - SuperAosp. when i flashed last nightly of CM - "mount" command shows ext4 partition.

thanks anyway, Temasek :-)
[Nexus One Android Development] henrypeter:
when i "mount" in terminal emulator, it only shows ext2 but i did convert it to ext3 in RA 2.2.1.

wt did i do wrong? is it the RA issue or DT issue...

N1 in CM#86 & DT 2.7.5.3b4
[Nexus One Android Development] temasek:
Official dt script mounts your ext partition with an auto syntax. Android displays wrongly your ext partition also. Eg, even if u are using ext3, android will display yours as ext2. Actually nothing is wrong cuz you are not using ext2 but ext3.

To make yourself at ease with what u see, you can either modify the dt script and replace auto syntax with ext3.

I've actually has a modified dt script for ext4. Search for it if u interested.
[Nexus One Android Development] pwvandeursen:
thanks for that help. I tried your steps, but unfortunately somethings went wrong (still have all the date so no big issues luckily)

step 1 went fine

step 2 I did through the laptop, but if I partition on the phone, then insert the SD card in the laptop, it can't open the card unless I format it first. which is strange as nandroid format the remaining in fat32. Also do the two partition (on the old and the new card) have to be of the same size and same sort. i.e. both 1024mb ext3, or is 512 ext4 also going to work?

step 3 when I try to restore it alsoways mentions: oops something went wrong, please check the log file. Where can I find this log file?

anybody have a guess what could be wrong. If I have the log file I'll also post that info.

thanks in advance
[Nexus One Android Development] temasek:
1. No need to be same size or type of ext partition. But make sure old one can fit in to new one.

2. When u see "Oops something went wrong" don't panic. Just reboot again to recovery and try again.
[Nexus One Android Development] pwvandeursen:
1. great, that makes it a lot easier (actually the new partition was 1.5 gb, and not smaller so issue shouldn't be relevant, but good to have the info in here).

2. tried that. both a reboot as a repartitioning and did the nadroid backup of the ext again.

none of the three gave a better outcome....
[Nexus One Android Development] lolobabes:
i created ext2 partition using cwm, flashed darktremor beta 4, then i realised i didnt convert ext2 to ext3 so i flashed ramon recovery then converted ext2 to ext3, then did cached2sd is that ok? would that have any different effect? ty

i had a 1 reboot after flashing darktremor and also when i did cached2sd it also rebooted, hope those are ok.
[Nexus One Android Development] temasek:
I thought CWM will create ext3 by default? Your steps are ok, np.

Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
[Nexus One Android Development] temasek:
If that is so then power off the phone and power back up directly to recovery.
[Nexus One Android Development] lolobabes:
oh i didnt know its automatic on cwm. can anyone confirm if this is so, so that next time ill use cwm instead then ty
[Nexus One Android Development] pwvandeursen:
no avail either. where can I find the log file, to see if any information is in there?
[Nexus One Android Development] temasek:
Tip

U guys know there is sound bug in DT 2.7.5.3beta4. Wipe dalvik-cache will ensure that u have a higher chance of sound back to normal upon boot.

So here is I do now whenever I flash a new nightly.

1. Flash nightly rom

2. Flash kernel (optional)

3. Flash DT script

4. Wipe dalvik-cache

5. Reboot

I've been testing and the success rate of sound back to normal is high.

If I need to reboot for whatever reasons, I'll wipe dalvik-cache before rebooting. Success rate 100%.

Low volume issue .....bye bye. :)
[Nexus One Android Development] mtw4991:
T, I discovered similar a few days ago to cope with the low sound issue...I just wipe cache instead of dalvik. Seems to boot a bit faster, but ymmv. I just wish dev would fix it, lol;)
[Nexus One Android Development] sir*mez:
IMHO, I think people should use S2E from the market until all the bugs are ironed out here. It is far more stable than this. It also doesn't add to your /system partition memory. For anyone having problems with this I'd try s2e. Also you just set it and forget it, no flashing after every rom update.

http://market.android.com/details?id=ru.krikun.s2e
[Nexus One Android Development] N1_Fan:
Do I need to do a full wipe when switching to the s2e app?
[Nexus One Android Development] sir*mez:
I'd start fresh if I was switching a2sd scripts, so yes.
[Nexus One Android Development] temasek:
My cache is always empty. Nothing to wipe. :)
[Nexus One Android Development] miguelm75:
does it support ext4 partition?
[Nexus One Android Development] temasek:
Yes .........