yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] mtw4991:
Mine too, just symlink placeholder... I don't know why, but after flashing DT I wipe cache before reboot and never have the low sound issue. Same I guess as wiping dalvik for you, but takes longer to rebuild dalvik thus longer boot time. sry if I wasn't clear in my meaning before....same effect, shorter boot time ;)
[Nexus One Android Development] temasek:
Great.

I'll try your method when I need to reboot again. :)
[Nexus One Android Development] khangozzy:
Hi temasek,

How do i know if a2sd is finished the auto moving the app from internal to sd-ext at first boot after fresh flash.?

I tried several time with N1 CM7 nightly #87 and DT-CM7-2.7.5.2-1-EXT4-signed with 1GB ext4 on my SD and its didnt auto moving.
[Nexus One Android Development] temasek:
How u know it didn't auto move?
[Nexus One Android Development] khangozzy:
About 5 min after reboot from fresh flash, I install A2SDGUI, in the Apps2SD tab, the button says "Apps are internal Storage", that means apps2ext didn't auto move ???

After press the "Apps are internal Storage" it start a process the reboot, check back A2SDGUI and I saw the button "Apps are on SD" with green indicator.

Before install A2SDGUI, I already check by command a2sd check in terminal but I dont understand the output to make sure a2sd is running or not.
[Nexus One Android Development] temasek:
Okay, there is always a slim chance the DT did not auto move when u flash it for the first time. I've experimented many times and all did auto move for me.

Anyway when u click "Apps are on Internal Storage" in A2SDGUI, it will send a command "a2sd reinstall" for u.

A2SDGUI is what is the missing link in DT script, though I believe the project is currently suspended due to the dev is busy atm.

Since u already moved app to your ext partition, I would suggest u move dalvik-cache too.

Cheers :)
[Nexus One Android Development] khangozzy:
Yes, I moved dalvik-cache right after it moved apps to ext.

Anyway, could you pls tell me which info or indication in the output of "a2sd check" command to look to make sure that DT is running and moved all the apps to ext, I prefer the CLI than GUI :)
[Nexus One Android Development] temasek:
I wouldn't worry too much cuz it is either moved all or none at all. U cannot have both internal storage and /sd-ext storage use at the same for for apps.
[Nexus One Android Development] khangozzy:
I just want to make sure about how things work :)

Thank you your quick response and help!!!
[Nexus One Android Development] iSiktir:
Can someone tell me if it's normal that Titanium Backup info differs from the system one?

I have installed app2SD (with dalvik cache 2 SD).

In system info it shows 187 MB free space internal phone memory, but in TB free internal memory is 196 MB?

How's that?! :confused:
[Nexus One Android Development] temasek:
Trust what your system info reads, not what TB reports.
[Nexus One Android Development] iSiktir:
OK! Thanks!

Just wondering from where is that difference?! :rolleyes:
[Nexus One Android Development] temasek:
My o2x, the TB reported with a difference of over 100mb.

*ouch*
[Nexus One Android Development] isikh:
I'm sorry, I didn't get to read through the post, and the search is down. Will this work with the latest Cyanogen Mod and CM Nightlies?
[Nexus One Android Development] temasek:
A big YES.
[Nexus One Android Development] isikh:
Thanks, but how exactly do I install it xD I'm on the latest nightly. I don't really understand :(

I have a class two 8 GB memory card. Should I proceed to format and partition it? If so, should it be ext 2, 3, or 4? Do I format, partition, and flash the current version zip?
[Nexus One Android Development] temasek:
1. Backup your contents of your sd-card

2. From recovery, you can create an ext partition. If you require partition > 1 GB then choose EXT4, or else EXT3 will be sufficient though you still can choose EXT4.

3. Flash DT script last when u flash a ROM before you reboot.

4. Upon 1st bootup after flashing new ROM with DT script, your apps will auto move to /sd-ext partition.

5. Recommend to move dalvik-cache to sd also

Read these posts

For EXT3

http://xdaforums.com/showpost.php?p=11950587&postcount=674

For EXT4

http://xdaforums.com/showpost.php?p=12533976&postcount=1314
[Nexus One Android Development] isikh:
Thank you so much! That helps a lot! Let me get this straight.

1. I'll backup what I need.

2. Here's where I'm a bit confused - I was going to create a 512 MB ext partition, ext 2. that's fine, right?

3. I will install whatever ROM, kernel, and add ons I want

4. After installing ROMS, flash DT script

5. What's the point of moving dalvik-cache to sd, and will that cause any problems?

Lastly, is this the right version: dtapps2sd-2.7.5.3-beta04-signed

I'm using the latest, stable Cyanogen Mod 7/the nightlies
[Nexus One Android Development] temasek:
1. What type of EXT partition to use is personal choice. Only exception is if your partition size is 1GB and above, it is recommended to use EXT4 type

2. If you don't move dalvik-cache to sd-ext partition, you do not maximise the potential of DT script. Your internal will still drop due to dalvik-cache and your apps' data.
[Nexus One Android Development] isikh:
Okay sounds good; was the rest of it right? This indeed is the right version? dtapps2sd-2.7.5.3-beta04-signed

Also, thanks a bunch for your help!
[Nexus One Android Development] temasek:
If u are not going for data to sd then stay with DT 2.7.5.2 due to DT 2.7.5.3 betas have an issue of low volume across all medias.
[Nexus One Android Development] isikh:
What do you mean by data to sd? i do want my apps to sd, if that's the data you are talking about
[Nexus One Android Development] temasek:
By default when u flash DT script, it will ONLY move your /data/apps to sd-ext partition.

2 optional components of DT script

- Move dalvik-cache to sd-ext (both DT 2.7.5.2 & DT 2.7.5.3 supports it)

- Move /data/data to sd-ext (only DT 2.7.5.3 supports it)

Moving /data/data is basically moving your apps' data to sd-ext partition hence basically your /data will be useless cuz it will NOT be use at all. Everything then will be using your /sd-ext partition. U need preferably a fast sd-card to perform this function.

I'm on modified DT 2.7.5.3 beta4 with dalvik-cache to sd and data-to-sd (in short datasd) on EXT4 partition (2 GB Size).
[Nexus One Android Development] isikh:
I think I understand now; thanks!
[Nexus One Android Development] isikh:
It's actually not working for me - I hit install after flashing my roms, but it doesn't work. I checked allow app moving in cm settings, and it stills says storage space low, and when i went to terminal and type a2sd reinstall, it says: that the location is reead only
[Nexus One Android Development] mtw4991:
Make sure you flash rom+kernel(optional)+DT script, then reboot. In terminal run fix_permissions then:

Uncheck Allow App Moving and set Install Location to internal. In terminal, run

a2sd check (make sure DT is running)

a2sd reinstall

a2sd zipalign

a2sd cachesd (to move dalvik-cache to sd-ext partition)
[Nexus One Android Development] isikh:
Okay so I flashed the rom, ran the script. Rebootd. Fixed permissions. Didn't reboot. uchecked app moving and install location to internal.

I ran a2sd check, but i wasn't sure how to check if it was running.

I ran a2sd reinstall, and it still said the same stuff about being read only

ran a2sd zipalign

ran a2sd cachesd

I hit the power button and reboot, and it's suck on the reboot phone command, but it's not rebooting. It says rebooting, but it's not. It's been like this a while.
[Nexus One Android Development] mtw4991:
Is this with CM7 rom on N1? Pull battery/reinsert and try to boot up. also, do you have ext3 or ext4 set up? swap=0, right?
[Nexus One Android Development] isikh:
Yes, this is CM7 on the N1. I did pullt the battery. I have ext 2, and swap 0. When i did pull the battery and boot up, my market and some apps were gone, and i couldnt get them back - even if i flashed gapps
[Nexus One Android Development] mtw4991:
umm, weird. Ok, go to recovery and convert ext2>ext3 and then wipe cache, dalvik-cache, flash rom, flash gapps, flash DT script and reboot. Boot time can be loooong the 1st time...like 10-15 mins so let it do its' thing.

Only other thing I can think of is a full wipe and start over.
[Nexus One Android Development] isikh:
I'm try it again, starting from scratch via Amon ra recovery. First off, I'm running CM7, so could you please link me to the script I should be using? Maybe I'm using the wrong one? I'm gonna make a 512 mb ext 3 partition
[Nexus One Android Development] mtw4991:
I would use 2.7.5.2-1 from the OP IF you are only going to use a2sd and cache-to-sd with ext3. If you plan to use data2sd in the future, convert ext3>ext4, partition size 1gb and use temasek's BO script in post #1314.

Like I said, sometimes you just gotta wipe all to start clean.
[Nexus One Android Development] isikh:
I'm actually trying it with the latest beta right now. If it fails, I'll use that version. I'm only going to use a2sd with ext3. Since it's a class 2 card, I'm not sure if I should us cache to sd. Would it be fine to use cache2sd on class 2 or nah? I'll report back
[Nexus One Android Development] mtw4991:
I would probably wait to move dalvik to sd until I got a CL 6 card. I suggested the 2.7.5.2-1 version as I used it for a long time until I was ready to switch to d2sd. Good Luck! remember, long 1st boot time, then run commands in terminal.
[Nexus One Android Development] isikh:
The beta seems to be working for me though! I did move the cache xD I prob shouldn't have, but oh well for now. I didn't run the check or reisntall because I know it's working - i restored the apps and no space warning - also, i didn't run this. a2sd zipalign Should I? What are the benefits?
[Nexus One Android Development] mtw4991:
no worries. Glad it worked out for you. Thanks button maybe?
[Nexus One Android Development] kashifsiddique:
rom compatibilty

is this compatible with stock miui 1.6.3??? thanks
[Nexus One Android Development] mtw4991:
Nandroid backup and try it. If it doesn't work, just do a nandroid restore and let us know :p
[Nexus One Android Development] calcpereira:
I am using with miui 1.6.3 by yebee1970 and work great!
[Nexus One Android Development] isikh:
A couple of questions:

1) When I want to flash an add-on like the WiFi calling addon for CM7, do I need to flash the script?

2)When I want to flash a new kernel, do I have to flash the script after?
[Nexus One Android Development] mtw4991:
Don't know about wifi calling, but don't think so. No to #2, only flash after rom updates and before rebooting.
[Nexus One Android Development] Jikenda:
After flashing DT-CM7-2.7.5.2-EXT4, I am getting FC on the Market as well as some other apps. I am running CM7.0.3, and IR kernel. Also, I'm using ext4.

Any thoughts on this? I appreciate your help guys.
[Nexus One Android Development] Jikenda:
nevermind. I did a restore and I guess I'll try it again at some point, but that screwed up my whole setup right away, so I need to read a little more on this.
[Nexus One Android Development] temasek:
Don't use CWM3 if u intend to use EXT partition cuz CWM3 may and most likely will corrupt your EXT partition.

Downgrade to CWM2 or use Amon_Ra Recovery.
[Nexus One Android Development] mtw4991:
Temasek, I was updating a friends' N1 to Fitsnugly's CM7.1 kang and Redstar's kernel. He previously was using DT-CM6 2.7.5.2 with ext3. After flashing rom/kernel/gapps + existing DT script, all apps were gone. I tried updating ext2>ext3 and flashing DT 2.7.5.2-1 from DT OP and a2sd check said the sd-ext wasn't mounted and wouldn't install the apps there. /Sd-ext is empty. any suggestions?
[Nexus One Android Development] temasek:
This is a typical problem for many. There are a few possibilities I could think of.

1. Use of CWM3 corrupted EXT partition. Solution is remove partition volume and recreate a new one.................or

2. Insufficient /system storage resulting to partial flashing of DT scripts. Solution - Check /system for possible low storage status

3. Don't use 2.7.5.2-1, use back 2.7.5.2 or 2.7.5.3b4 (w/ wipe cache thanks to mtw4991 for the solution)
[Nexus One Android Development] Jikenda:
Hey Temasek,

I am using Amon and already have partitioned a while ago to ext4. I don't know what got messed up, but chances are it was me not reading enough. I'll give it a shot again tomorrow when I have more time to read up as I'm at work still..

Would I still need to go into Terminal after installing A2SD or should everything be automatic from there?
[Nexus One Android Development] temasek:
For the first time it should be auto move of apps (I've tested many times). But for some reasons I read some users don't get auto move of apps on boot after flashing dt for the 1st time. For such case do a a2sd reinstall

Also check if your ext is actually ext4 partition before using dt script meant for ext4 or else u cannot mount.
[Nexus One Android Development] Jikenda:
I will double check the ext and make sure. Also, what if most of my apps are partially on the SD already...does that matter? I would not have enough room to move them all back to the phone anyway, as I only have about 30MB left...
[Nexus One Android Development] temasek:
Doesn't matter but would be wiser to manually move the apps back to internal after u get dt working properly.

Currently your apps on sd are using froyo styled a2sd on your fat32 partition of your sd-card. Usually those on app2ext don't wanna mix apps with froyo a2sd. Issues may occur.
[Nexus One Android Development] mtw4991:
ok will try again tomorrow when he gets in to work !
[Nexus One Android Development] Jikenda:
Gotcha. I'm tempted to give it a shot again and just restore if it doesn't work. I should only have to flash it from this point. Correct? and then I have to type those commands in terminal...? I want to get this thing working...haha.
[Nexus One Android Development] temasek:
Btw I added your solution of wiping cache for use in dt 2.7.5.3 b4 in my post for modified dt with credit to u cuz IT FARKING WORKS!

Great job mtw4991 :)
[Nexus One Android Development] temasek:
Make sure your ext4 is ext4 and is not corrupted. If not u be wasting lots of time cuz your ext4 wont mount or is mounted read only.
[Nexus One Android Development] Jikenda:
Where can I see what ext the partition is? I thought I could see it in Amon or just in Root Explorer, but I don't see it.

I'm sure it's something simple, but I've never had to look, so I'm sorry to ask something like this..
[Nexus One Android Development] temasek:
In terminal emulator,

su

mount
[Nexus One Android Development] Jikenda:
Figures.....ext3! haha... I think the ext4 I'm thinking of was my X10...oops! that explains a lot, huh? so, I was flashing the wrong thing... do you recommend the beta? Thanks for helping me out as usual!
[Nexus One Android Development] temasek:
Frank talk

DT 2.7.5.3b4 is safer than DT 2.7.5.2 due to the way it mounts your partition. But the beta has a bug which is low volume across all medias.

Thanks to mtw4991, just wipe /cache before u reboot and u will be ok.
[Nexus One Android Development] Jikenda:
Great, I'll give it a shot. I really appreciate your help on this and all the previous things you've helped me with on here... I"ll let you know how it goes.
[Nexus One Android Development] Jikenda:
Looks like I'm caught in a boot loop now.. I will have to do a restore again. This does not seem like its meant to be.

I got a message that said I need to wipe my partition because the UID is not stable. Also getting a ton of FC loops, so I cannot even reach the launcher at this point.

Tomorrow is another day I suppose.

EDIT: I did wipe the ext and then reflash DT, but it brought be back to stock CM7.0.3 with no apps / settings / etc..

I think I should remove the partition and redo it.
[Nexus One Android Development] temasek:
What dt u using?

Maybe u list your steps here.
[Nexus One Android Development] Jikenda:
I flashed DT 2.7.5.3 Beta 04

I finally found out that I had ext3 partition

I wiped my cache and dalvik cache

I flashed DT

wiped cache and rebooted

(got the boot loop and UID error here)

Went back to recovery and wiped the ext partition

reflashed DT

wiped cache and rebooted and everything was back to stock cyanogen.

Restored again via recovery
[Nexus One Android Development] temasek:
If u want EXT4, convert it in recovery first. Then use the script here

http://xdaforums.com/showpost.php?p=12533976&postcount=1314

If I were u, I would remove the EXT3 volume and repartition it just to be safe. But that's me.
[Nexus One Android Development] Jikenda:
I'm going to repartition it, but that will have to wait for tomorrow. Hopefully my partition is the problem, as I don't know what else it could be. What I DO know, is I'm making the installation of this look very very difficult!

Thanks for all your help again and when I'm in SGP for business, I owe you a few pitchers of beer!
[Nexus One Android Development] temasek:
When I tested ClockworkMod Recovery 3.2.0.1 yesterday, it corrupted my EXT4 partition (which I did not know yet....). So I tried to recover in vain. The symptoms were similiar to yours. In the end I removed the EXT partition from my PC and added a new EXT3 partition. From Amon_RA recovery I upgraded it to EXT4. Then I redo my ROM with DT again. All is well .

Fyi
[Nexus One Android Development] falkenbein:
i use the beta 4 bo script. i´ve a 16gb class6 with ext4. but when it update an app via market ich become a hot reboot. any one know whats the issue?
[Nexus One Android Development] temasek:
Try delete /.android_secure in your /sdcard

Ensure u don't have any apps in there b4 delete.
[Nexus One Android Development] mtw4991:
Thanks for the credit, T. got lucky on that one...even a blind squirrel finds a nut every now and then! :p
[Nexus One Android Development] falkenbein:
i´ve deleted /.android_secure but the samen issue. the folder is empty. When i look in application / apps on sd, they are 5 apps on sd. i can not seve on phone. (not enough memory)

But the apps that appear in the sd card, are all in sd-ext.
[Nexus One Android Development] temasek:
Hmm

U tried wiping market data?
[Nexus One Android Development] falkenbein:
yes i tried

I've also tried A2SD reinstall. But this has not worked

now when i install a app, Package file is invalid says maket

is there maybe a problem with the size of the ext partition? I used 2gb
[Nexus One Android Development] temasek:
Try

a2sd repair
[Nexus One Android Development] Bnorus:
Got an issue with the A2SD GUI apps after patching the latest fits build (06102011-1500), application crashed and all my apps on SD-ext where inaccessible.

I've decide to format all using the Temasek scripts'. Then reinstall properly:

-Repartion my SD

-CM

-Gapps for 2.3.4 by Temasek

-Redstar Kernel

-DT 2.7.5.3b4-EXT4-B0 Only (Modified) by Temasek

Now phone is running good, reinstall my apps, and they seems to be back on sd-ext. But the A2SD GUI still crashing ?

Anyone else encountered the same ?

[EDIT] seems to be my ext... I tried adb mount and I can't see the /dev/block/mmcblk0p2 there...

[FOUND] So I've founded, apparently Redstar Kernel is the root of the problem, I've revert back to the default CM one until Redstar update that...
[Nexus One Android Development] mtw4991:
I'm using Redstar's 1190oc kernel from 5/28 and it is running fast n fine. :)
[Nexus One Android Development] Bnorus:
@mtw4991: Yeah I revert back to 2.6.38.7 kernel, now it's fine and my phone get a clean install since a long time :D (Still can't achieve your Quadrant score #wth :p)

I've also tried S2E and Freespace on my other N1 and it's seems more easy to use for common user (ie my girlfriend). Less feature but clean interface and functions, handle ext4 and set the SD buffer by default.
[Nexus One Android Development] Kira.Lawliet:
Noob question: I installed this script successfully but I'm wondering if I can choose a single specific app to move to internal storage not on sdcard. I only found an option that moves all apps to-and-from sdext to internal but no option of moving a particular app to internal.

Well, I want to do this because I have a mobile security app and I don't want it to be on ext. Is there any command to move this single app to internal?
[Nexus One Android Development] temasek:
For DT to work, it is either move ALL or NONE at all. Not possible to pick a single app to move.

Only way is to move to /system as DT don't touch /system/apps
[Nexus One Android Development] Kira.Lawliet:
How? Is pushing app through adb works? Or it will just be moved again by the script? Really sorry for the noob question :(
[Nexus One Android Development] temasek:
First of all, note that our N1's limited storage in /system. U have few options to move apps to /system

1. adb push your_app.apk /system/app

or

2. Use Titanium Backup to move user apps to /system

or

3. Use Root Explorer to cut & paste to /system/app. But u have to know abit of permissions as u need to set the correct permissions after pasting.
[Nexus One Android Development] Kira.Lawliet:
Yeah thanks! Just for clarification, do the script move that single app again to ext after reboot or it will remain on my system? I just want to remain it to my internal btw thanks again
[Nexus One Android Development] temasek:
1. DT will not touch /system/app

2. DT only move apps from /data/app to /sd-ext/app

Hence if u move any app to /system/app, it will remain @ /system and DT will have no authority to touch it.

When u use DT, your /sd-ext will be your "internal". So once u start using DT, remember this cuz your N1 will think your internal is in /sd-ext and not /data

Only your apps' data is still in /data/data unless u use DT's datasd function which moves user apps and all apps' data to /sd-ext/data
[Nexus One Android Development] Kira.Lawliet:
Makes things much more clearer now, again thanks.
[Nexus One Android Development] temasek:
Np. I love tkirton's work (DT's dev). Been sometime since the last beta release. Now only few are replying here ......
[Nexus One Android Development] marco.it:
Hi;

Im having some issues with Darktremor script. Im using CM7 with CM hboot in Desire. The flash via recovery is good, but when I go to the terminal emulator and type "a2sd cachesd"...

Segmentation fault, /system/bin/bash: /system/bin/launcha2sd: No such file or directory

:confused:

PD: I've already reflashed after a full wipe.

I tried flashing the DT Script with Amon_RA and also with CW.
[Nexus One Android Development] Bytecode:
@all: This works on Optimus One (LG P500) flawlessly. Just wanted to let you know.
[Nexus One Android Development] temasek:
Check whether your /system is low on storage. What dt version u using. There is a slim possibility you flashed an incomplete dt script due to low space.
[Nexus One Android Development] d1mitrov:
hey guys i have a quick question. i just installed a2sd on a ext3 partition...everything was fine yesterday but today some apps were missing and others wouldnt work, for example when trying to load up Zedge it says this app requires sd-card to work....any ideas on whats wrong??
[Nexus One Android Development] d1mitrov:
ok i did that but still the same issue...tried my mp3 download app and when it went to download a song it said Error: SD is not mounted...but it is mounted...i can access my music and pictures...
[Nexus One Android Development] temasek:
Mount your sdcard to pc and check its volume integrity.
[Nexus One Android Development] houzuoguo:
newbie to Data2SD :)

could anyone please suggest if a full data partition takes more than 20 minutes to move to SD partition (class 10 ext2)?

seems the phone is very busy and it has taken more than 20 minutes, still unfinished.

thanks

edit:

all right.. it's still moving :)
[Nexus One Android Development] temasek:
With datasd I suggest u use EXT4 and with your class 10, you are good for datasd.

http://xdaforums.com/showpost.php?p=12533976&postcount=1314

Also 20 min to move is too long.