yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] temasek:
U nid to flash DT immediately after flashing a rom before reboot as the script files will be missing when u flash a rom. By flashing DT immediately after flashing a rom before reboot u will replace back the necessary files for DT to work. If not u will bootloop.

Btw I am by no means an expert on DT script but I am sharing my experience I have. Since I use DT I have 0 issues.
[Nexus One Android Development] Hilarium:
i plan to flash the new universal tiny gapps after flashing cm7. I guess as long as the device doesn't reboot, i can flash cm7 > gapps > dt > then reboot.
[Nexus One Android Development] temasek:
Yes so long u flash DT last before u reboot.
[Nexus One Android Development] th1rt33nth_w4rr10r:
yep, I got it now.. thx, temasek.. :)
[Nexus One Android Development] temasek:
Hmm then I may have misunderstood your post. In that case I offer my apologies. :)
[Nexus One Android Development] replicante05:
Anybody knows why I can't see my ext3 apps as installed on the market??

First time, I could see all my user apps as installed.

Then, I only could see the apps in downloaded apps section as not installed.

And now the apps are not in the downloaded apps section.

:confused:
[Nexus One Android Development] temasek:
Try clear market data using app like Titanium Backup (use latest copy).
[Nexus One Android Development] replicante05:
Thank you very much!

Love you! :D
[Nexus One Android Development] bsteph10:
Overclock Kernels

Hi, sorry to repost this, but I never got an answer.

Has anyone else had trouble loading an overclock kernel after using darktremor's script? I'm using CM 6.1.2 which is oc'd to 800Mhz, but of course I want to try to go a little bit more than that :-). However, everytime I load a new kernel in recovery and reboot my sd-ext (using ext3) partition is gone and all of my apps that I loaded personally are gone but the stock apps that come with CM are there. I've tried to make sure that the kernels are ext3 compatible. I've used JDLFG, P3Droid with his Ext2-3-4 addon, and Chevy, all with the same result. I also reload darktremor after applying the kernel but that doesn't make a difference.

Thanks,

Bryan
[Nexus One Android Development] mtw4991:
Don't know about your phone, this is the Nexus One tread....wrong thread maybe?
[Nexus One Android Development] wheelrandolph:
do not see ext2>ext3 in recovery

using ClockworkMod recovery and it gives option to partition sd card. I did that but do NOT get option for ext2>ext3 (or ext4 for that matter). When I use Terminal and a2sd check it says I have ext2. How do I set ext3?

TIA.:confused:
[Nexus One Android Development] temasek:
I don't use clockwork but I do know Amon recovery has an option to upgrade ext2 to ext3. Maybe u wanna try that.

Also if u actually upgraded to ext3, DT will still report as ext2. No worries as u actually still at ext3.
[Nexus One Android Development] :
You need Amon_Ra for that option,

That said, I think DT reads as ext2 even if ext3. At least when I flashed it awhile back then put my sdcard in a card reader and looked at it with Mini Partition Tool Wizard it read as ext3. Wouldn't worry about it.

Ken
[Nexus One Android Development] :
You beat me T

I never win these simultaneous posts :(
[Nexus One Android Development] temasek:
Lol no issue cuz our answers are very identical. Great!
[Nexus One Android Development] wheelrandolph:
OK, thanks for the replies. Much appreciated.

Randy:p
[Nexus One Android Development] dunstopthemusic:
Hi all,

I just bought a new micro sd 16gb, would like to replace my stock 4gb card with a ext partition. Anyone able to advise me how to change to the new card? I'm running clock work mod. Have no adb or htc sync.

Any help is appreciated. Thanks!

Regards
[Nexus One Android Development] :
I would--

Take the old card out of phone and use sdcard reader to copy it to pc/laptop

Format new card with sdformatter from web in case the card has any software on it, use full erase and I think other option is "on"

Put new card back in phone and use Clockwork to partition 16gb card, would recommend 1gb partition if available, 0 swap

Put card back in sd card reader and copy old 4g to new card

Some people just use clockwork to partition and let it format as part of that option. I think sdformatter does better job--your choice

Ken
[Nexus One Android Development] NguyenHuu:
not 100% sure, but you can try using an app like root explorer.

1. copy the sd-ext folder inside system over to the current sdcard.

2. attach phone to computer and enable mass storage mode and transfer all content to your desktop.

3. put in the new sdcard, go into recovery and partition it.

4. go back into mass-storage mode and transfer all the content on your desktop back to the new sdcard.

5. use root explorer to transfer the sd-ext folder back to its original location.

6. do fix_permissions.

it's worth a try, that's what i'm planning to do when my new 16 gb comes in a couple days.
[Nexus One Android Development] mtw4991:
copy all of your 4gb card to your computer then put the 16gb card into your phone and use CWM to format and partition the new card to ext2 about 512-1gb size, set swap=0, FAT=remainder. Then create ext2>ext3 and copy all card info from pc to phone. If using DT's a2sd, in terminal emulator run:

a2sd check

a2sd reinstall (will reboot)

a2sd zipalign

a2sd cachesd (will reboot and move dalvik-cache to sd card's sd-ext partition)

Done!
[Nexus One Android Development] D200P13:
what i would do is

-make use rom manager to do a full backup.

-connect the phone to pc and transfer all from sd into a folder on the pc.

-install the new sd card and format it to you preference (i did 1024mb ext2 to ext3 to ext4 with 0mb swap but you should use the same ext as the other card. i think the size of the ext wont matter.) on the 16gb sd.

-once installed, restore files from pc to sd (in recover, toggle usb mode)

-after transfering, disable toggle of usb and restore the restore the backup.

thats what i would do because i think the backup makes a backup of everything on the ext (files/folders). my first guess is to try that but im no expert.
[Nexus One Android Development] :
It might be noted with all these variations that we threw at you:

I use the sd card reader because it is 3 time faster on transferring data. Not a big deal for a 4gb card, maybe. But, with my 16gb, I am transferring 11 to 12 gbs. USB can be an hour, card readrer 20 minutes.

Unless 2.5.1.4 has changed from 2.5.1.0, that I use, CW doesn't give you the option to go from ext2 to ext3, that's with Amon_Ra. However, if you partition with CW and then check it with Mini Partition Tool Wizard, it shows as ext3. Only DT shows ext2, or at least it use to. But, still 3.

Haven't ever heard of the sdext copy/paste. If it works, that would be nice.

If you don't already, I would bu sd card on a regular basis. I have had to do it dozens of times, thanks to my cavalier approach to flashing roms, fat fingers, and bad eyes. Failsafe and fast. :)
[Nexus One Android Development] temasek:
He is getting overwhelmed. :D
[Nexus One Android Development] :
Hey T

How many ways can you say "Back Up Your SD Card" :rolleyes:

Gosh I'm bored--need a new dangerous rom to flash--:D
[Nexus One Android Development] D200P13:
all this is true except hes only gotta worry about doing a 4gb transfer since thats how big his current card is. i would of said to transfer back only app required files like cw folder but i dont know if he would know what to transfer. it also depends on the card i believe because i have a class 10 16gb and never went an hour on transfers via usb.

when using the rom backups i always see they backup ext partition and unsure if it really backs that up the files in that ext or just the "system" or shortcut like links that should be in the ext.

anyway, when using astro file manager (should also work on root explorer better?) you can copy the sd-ext folder??? unsure of this but worth a try since i can navigate to files inside that folder. again, i dont know worth trying.
[Nexus One Android Development] temasek:
Amon_ra recovery 2.2.1

It has the option to backup any partition including ext. My recommendation is use it to backup an img of just the ext partiton. Replace new sd card with the img in it and transfer back the ext img to sd-ext partition.

As for fat partition, anything will do. Too many ways.
[Nexus One Android Development] :
D2

We must all be bored--I see questions on tough stuff and no replies--then a bunch on easy stuff--

OP is probably already backed up, new card and running CM7 ;)

My next buy soon is a PSF 32gb Class 10 from Newegg--Good reviews
[Nexus One Android Development] dunstopthemusic:
Thank you all for the reply. I transferred the data from 4gb to 16gb and backup and restore nandroid.
[Nexus One Android Development] :
Figured you were already done with it

It should take less time than all our posts took :)
[Nexus One Android Development] meteora:
newbie here:

i have installed a2sd on latest cm7 nightly and everything is ok

i did "reinstall" and "cachesd" commands;

now i wonder if should i run these commands every time i install a new application? or one shot is enough?

another question is does this a2sd boots itself in each startup or i should manually run it somehow?
[Nexus One Android Development] myakove:
Just install dtapps2sd-2.7.5.3-beta02-signed over CM7 and I have no sound on my phone, revert to 2.7.5.2 on all sound are back.
[Nexus One Android Development] tkirton:
That's odd...there's nothing in 2.7.5.3 that would do that. Not unless you used the experimental feature to move /data/data to SD card (which I presume you probably didn't do that).

At least you got yours working with CM7. The version I ended up downloading on my Evo didn't even have EXT2/3/4 support (someone didn't turn it on in the kernel).

If you do try 2.7.5.3 again, can you send me the dta2sd.log, dta2sd.lg1 and dta2sd.lg2 log files from /data (e-mail: rtkirton@gmail.com). I would like to see what could be making your sound completely disappear.

I've had a long history of issues between CM and Darktremor. I have been successful in adjusting to most of the issues, but there are the occasional issue that even baffles me.
[Nexus One Android Development] tkirton:
The only time you may have to run those commands again is if you change or upgrade roms.

If you are manually running Darktremor, then your rom doesn't support it (CM is flaky about that...some builds don't have EXT partitioning turned on and, therefore, will not mount your EXT partition on your SD card. But this isn't consistent...it depends on who is building the particular flavor of CM you are using.). Darktremor should start automatically upon boot.
[Nexus One Android Development] mynameisjon:
Just a quick question to Temasek, since I'm currently using his modified version of 2.7.5.2.

The changes you made to get it to work better with CM, are they still necessary if I were to upgrade to 2.7.5.3 beta 2?
[Nexus One Android Development] Docmjldds:
Too bad I already beat you to it. Love the Patriot 32Gb Class 10 card. Did you see this thread regarding Kingston and correct settings or the cards run slow. Mine was set at 128 BTW on MIUI stock kernel as well as Evils 1.1Alpha3 HD sense.

Quote Originally Posted by Chris View Post

I found this post over at XDA that might help with the boot time. Does anyone know what the SD card read speed is on the stock MIUI kernel?

http://xdaforums.com/showthread.php?t=921530

Edit: PS...running MIUI ROM by Moviestar right now. Installed DarkT beta upgrade and I show 178Mb free Internal memory....Sweet....
[Nexus One Android Development] temasek:
I haven't looked at what are the changes to it. Maybe tkirton can answer. Let me ask for changelog. :)
[Nexus One Android Development] temasek:
@tkirton

What are the changes made to the script for 2.7.5.3 beta 2 compared to 2.7.5.2 ?

Thanks. :)
[Nexus One Android Development] tkirton:
The actual changelog is located here: http://www.facebook.com/note.php?note_id=158812834168055

But, here's the part for 2.7.5.3:
[Nexus One Android Development] temasek:
Thanks! Much appreciated!

Btw love your work. Great job. :)
[Nexus One Android Development] myakove:
Didn't use data to sd, flash it again an all sound back
[Nexus One Android Development] temasek:
Latest DT 2.7.5.3 beta2 works just fine with CM7, no modification required. Tested on cm7 nightly build 13.

Cheers. :)
[Nexus One Android Development] blahbl4hblah:
Tested on Rod's MIUI mod 2.5.2

works great!
[Nexus One Android Development] Docmjldds:
2.7.5.3 Beta 02

Just applied the datasd command on Moviestar's MOD12 MIUI

Attaching screen shot. with the majority of all my apps on board invoking the a2sd datasd command.
[Nexus One Android Development] blahbl4hblah:
Damn that's really nice, what command did you do?

EDIT: found out haha, I'm trying the same command right now

EDIT1: just did it, using only 3% of data now
[Nexus One Android Development] :
Thanks Doc,

I'll bookmark this for FYI when I get the card

Ken
[Nexus One Android Development] scalp42:
Does anyone did a nightly version that automatically keeps the dalvik cache on the sd card when reflashing ?

Just like the previous modified DTApps2sd which basically didn't touch the settings in place when flashing it ?

Pretty please ? :D
[Nexus One Android Development] temasek:
General Info

Latest DT 2.7.5.3 beta2 works just fine with CM7, no modification required. Tested on cm7 nightly build 13.

Cheers. :)
[Nexus One Android Development] tkirton:
I didn't suspect you moved /data/data to the SD card. Sometimes these roms just do funny things when you install Darktremor.
[Nexus One Android Development] tkirton:
Ummm...question would be why did you run a repair?
[Nexus One Android Development] tkirton:
You have to take in consideration. Although you did write your own, people are always going to try different programs, including Apps2SD. Same case for CyanogenMod and DamageControl...although Cyanogen and Damage (actually TrevE) wrote their own versions, people will still be curious and try to run Darktremor.
[Nexus One Android Development] leonnib4:
I agree. and mine is basicly a rewrote of CM's.

But if you do flash Darktermor's a2sd, you have to unstand that some scripts are already present doing the same thing.

So to use Darktermor's a2sd on my rom, you might need to remove my scripts.

Also my ROM is disigned to be as end-user-friendly as possible.

No need to flash additionnal zip, no need to use adb etc.

So using another a2sd method that the one already working is pointless from my point of view (because of the goal of my rom) and I just wanted to warn people about the "double scripts doing the same thing" issue.
[Nexus One Android Development] aagvain:
forgive the question if its been answered but i couldnt find the answer through searching.

i performed a nandroid backup of my setup which is no ext partitions on sd card, i used a2sd simply to move dalvik to /cache, and after making some undesired changes i wiped thendid a nandroid restore. all the partitions seemed to have restored however none of my apps were restored. looking at the /data directory it had all my apps within but none showing up in my app drawer.

anyone seen this?
[Nexus One Android Development] warpaper:
Any guide?

I failed to enable the Darktremor Apps2SD which used in Kang-o-rama 0.9 and 1.0, any complete guideline for a dummy to start?

Thanks
[Nexus One Android Development] ayman07:
anyway to get this working with cyanogen's ROM or are we SOL until he enables apps2sd on the ext partition.
[Nexus One Android Development] djmcnz:
Just follow the instructions in my thread (nowhere else) and you can't really go wrong... there's just one command...
[Nexus One Android Development] djmcnz:
Kang-o-rama CM6 has had it for a few weeks now...
[Nexus One Android Development] kiljacken:
You can add one more rom to your list, it's KiljackenROM for the HTC Tattoo :-)
[Nexus One Android Development] warpaper:
All widget disappered after each reboot

I have the KOR 0.9 or 1.0 tried but still failed in the Apps22SD usage.

All widget disappered after each reboot which force me to change to TheOfficial Nexus1 ROM, i really want to back to KOR ROM.
[Nexus One Android Development] djmcnz:
Perhaps we can jump over to the Kang-o-rama thread... it is working for 1000's of users so we can be reasonably confident of getting it working for you. If it failed on 0.9 and 1.0, which use different implementations, then I'm afraid it's likely to be a problem with your configuration... but I'm still willing to help.

Start with the following and then report results in the KoR thread... we'll keep tabs on it there and then I can consolidate any helpful feedback for tkirton.

1. Format SD card, deleting existing ext partition(s).

2. Partition ext2 or ext3 using recovery (no swap)

3. Nandroid backup

4. Wipe data, cache, dalvik-cache, ext

5. Install Kang-o-rama 1.0 b1

6. Install Kang-o-rama 1.0 b1 SP1

7. Boot

8. In terminal window (on phone) type: su - then type: startapps2ext

9. Reboot

10. In terminal window (on phone) type: su - then type: df

11. Post output back in Kang-o-rama thread

Do not restore any apps using any programme until you've set up apps2ext and posted the df output. Also do not copy any content manually back to your sd card until you've verified apps2ext is working.

We'll get there. :)
[Nexus One Android Development] tkirton:
They were moved automatically. You have to execute a2sd remove if you want the programs moved back to internal storage.
[Nexus One Android Development] tkirton:
Nice...another phone. Just got word yesterday someone actually got it to work on a Motorola Cliq, so the program is definitely expanding to other phones.

I'll add it as soon as I can. Been busy trying to balance work, home and getting this 2.7.5 RC1 out to the public.
[Nexus One Android Development] mlevin:
OK, I'm on a rooted but otherwise stock FRF91 build. I tried this twice. I flashed the apps2sd update.zip and rebooted. Everything was "fine" except that nothing was moved.

Went into adb shell and ran apps2sd script. It seemed to install itself (didn't get any errors).

Rebooted, but just got a boot loop.

Restored from nandroid. Tried again. Same thing.

Will this not work on a standard rooted Froyo?
[Nexus One Android Development] djmcnz:
Correct.

10
[Nexus One Android Development] tkirton:
Stock roms do not have the necessary commands in the init.rc to launch apps2sd (any variety).

Unless someone modifies the boot.img from the stock rom, it will never work.
[Nexus One Android Development] leonnib4:
I did it on Britoso's HowTo thread.

Stock kernel with ramdisk enabling a2sd at boot
[Nexus One Android Development] ChronoReverse:
Not sure about pure stock, but I got the nearly stock froyo rom (geo411m's) I'm using to have this a2sd.
[Nexus One Android Development] tkirton:
You modified it...it's not stock anymore. It may look like stock and act like stock, but it's not original stock anymore.

If you get a stock rom from HTC (or any other manufacturer or phone provider), it will not have apps2sd components in them. You can load Darktremor or any other Apps2sd in that rom, but it still won't work because the necessary launch components are not present in init.rc. You have to modify those to make apps2sd work.
[Nexus One Android Development] tkirton:
Pure stock won't work...but people do modify the stock rom and add apps2sd (among other components) into the init.rc.
[Nexus One Android Development] houzuoguo:
hi DT,

can you please post a doiwnload link to your previous stable version?

thanks :)
[Nexus One Android Development] tkirton:
http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-1-signed.zip
[Nexus One Android Development] doctorspeed1:
I invoked datasd with the latest cm7 fitsnugly nightly and had very diminished sound on the external speaker. As myakove suggested before, I flashed dt again in recovery and sound is fixed (for now) .
[Nexus One Android Development] tkirton:
Okay...that's odd....unless there's something else that needs to go over.

I'll continue to look into it, maybe I can uncover what's going on.
[Nexus One Android Development] blahbl4hblah:
Can someone explain to me what the zipalign command does?

My friend said it deals with optimizing apks

Would it make things faster?
[Nexus One Android Development] :
zipalign info

http://www.facebook.com/note.php?note_id=158826790833326
[Nexus One Android Development] blahbl4hblah:
I actually read that, but I need an explanation to it.

Will it make things faster?

My apps are already on sd-ext,

- I did cachesd and datasd commands
[Nexus One Android Development] :
I have ran it and not ran it

Never noticed any speed difference

In thoery I guess it would--in practice, not sure

Try it
[Nexus One Android Development] blahbl4hblah:
Alright thanks for the input
[Nexus One Android Development] baseballfanz:
tried to move dalvik back to internal

a2sd nocache and got stuck on the X, any ideas?
[Nexus One Android Development] :
Your Welcome blahbl4hblah

Hope it works for you, but my guess is you won't see any appreciable difference

Ken
[Nexus One Android Development] tkirton:
It's rebuilding dalvik-cache.

Did you see any errors when you ran that command? I thought I got all the bugs worked out on that one in 2.7.5.2-1...but that may not be the case.
[Nexus One Android Development] tkirton:
It's suppose to make your programs load faster by reordering the contents of the .apk file.

With slower phones, this seems to have made a difference. With faster phones, I'm not so certain.
[Nexus One Android Development] baseballfanz:
No errors, everything went fine and it said reboot but hang on the X for about 15 minutes and phone got real hot.
[Nexus One Android Development] temasek:
Possible your internal ran out of storage? Try clear dalvik-cache from recovery?

Btw got my 1st auto reboot few.minutes ago, dunno if its DT 2.7.5.3 beta2 issue. I nvr had any auto reboot b4 and was using DT 2.7.5.2 modified. Hmm........(pondering)
[Nexus One Android Development] blahbl4hblah:
Alright cool thanks, which zipalign command would you recommend?

zipalign or align?
[Nexus One Android Development] blahbl4hblah:
I actually tested something else first, and my n1 is running smoother than before
[Nexus One Android Development] scalp42:
I have a question :

Let's say we had CM build #4 and flash DTA2SD then a2sd cachesd to have dalvik on the sd.

If we flash a new build of CM, and I flash the last beta, will it automatically keep dalvik-cache on the sd ? Or do I need, like before, to use a modified DTA2SD for CM nightlies ?

Uploaded the 2 versions, last one always worked fine for the nightlies (and keeping dalvik cache on the sd)
[Nexus One Android Development] temasek:
Moving dalvik-cache is a one-time affair. No need to a2sd cachesd again upon new flash of nightly.

Tested using DT 2.7.5.3 beta2 with CM7 nightly build 14

So far the beta2 works without need to modify but I had auto reboot earlier. Nvr had that b4.
[Nexus One Android Development] myakove:
It's seems one time problem, Install CM7 nightly build 14 and then Darktremor and everything is OK.
[Nexus One Android Development] tkirton:
They both do the same thing...one (zipalign) is used to set the zipalign flag at boot time, which means everytime you boot, zipalign will be activated.

Align is used to zipalign one time.
[Nexus One Android Development] tkirton:
Do you have dalvik-cache on the SD card? If so, is your SD card a Class 2?
[Nexus One Android Development] tkirton:
Depends on how you flash it.

If you flash CM, then immediately flash Darktremor before a reboot, then you don't have to do anything.

If you flash CM, reboot, then go back into recovery and flash Darktremor, than you will need to move dalvik-cache again.
[Nexus One Android Development] temasek:
Then the smart way is your 1st mentioned. :)
[Nexus One Android Development] tkirton:
Yes...that's the way I do it when I remember to do it. :-)
[Nexus One Android Development] blahbl4hblah:
Well I tried it, and I have to say it made the apps run slower so i removed zipalign
[Nexus One Android Development] Forge94:
Edit: Never mind!
[Nexus One Android Development] tkirton:
Did you figure out your issue?