yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] InsightGoalie:
I'm trying to get this to work on CM7.1, I've had it working beautifully in CM7.0.3 and earlier versions. I'm using the beta 4 and stock CM7.1 kernel. For whatever reason, when I run a2sd reinstall it hangs up on:

[ ] Unmounting /dev/block/mmcblk0p2...

And just fails to do anything from that point. Then if I pull the battery and reboot, nothing will install. If I try to install an app after that, it just reboots. From my trouble shooting I believe it's because sd-ext is mounting as a read-only filesystem. What the heck is happening?
[Nexus One Android Development] shiyou:
this gives me bootloop on CM 7.1 RC1

why?
[Nexus One Android Development] mafosh:
i did installed DT on my Optimus one, 6.5.5 CM7, however after each reboot i get "USB Debugging connected" at ON, even if i switched it before to off... any ideas? thx
[Nexus One Android Development] J.L.C.:
How much free space do you have in /system?
[Nexus One Android Development] baseballfanz:
Did you partition your sd card also?
[Nexus One Android Development] shiyou:
i have 1 gb ext 4 and 125 mb swap

90 mb left in internal storage (is this the same as the storage in system? if not how do i check it?)
[Nexus One Android Development] baseballfanz:
No system storage is different from internal.

If you use Titanium backup, the Overview tab will show system size

or you can use an app call Quick System Info. it will also let you know your system space plus some

other good stuffs.

Also you can use a 0 swap.
[Nexus One Android Development] shiyou:
i have 19.84 mb free /system

i keep swap 125mb just in case i need it
[Nexus One Android Development] shiyou:
ok i tried to flash again and this time no bootloop

but no app is moved to my ext4? i double checked it but nothing was moved
[Nexus One Android Development] baseballfanz:
did you run the commands?

how are you checking to see if the apps are install on the ext?
[Nexus One Android Development] shiyou:
ok i ran the commands but in the end it gets stuck at unmount dev/block/mmcblkp02 and all apps FC

now my phone gets rebootloop....

i restored it again and flased again and used this command

a2sd reinstall

i get cannot reinstall apps to sd card!!?

it says theres no a2sd.swap environment

apps2sd may not have ran during boot

sd card not mounted..

is it bcoz it isnt supporting ext4 or something??
[Nexus One Android Development] shiyou:
this gives me loads of problems...

i partitioned my sd card again with amon ra but still same result...

i think ill try s2e from the market
[Nexus One Android Development] InsightGoalie:
You still have to go into either terminal or adb shell and type

a2sd reinstall

You can also move your app data and your dalvik cache (cache will make a slight performance hit, I left it internal)

a2sd datasd
a2sd cachesd

And there is zipalign

a2sd zipalign

Of course all of these can be done by the A2SDGUI app on the market, except for data to the SD. The data is huge, moving it is pretty significant.
[Nexus One Android Development] InsightGoalie:
I had this exact same issue. What I did was partition using AmonRA, install apps from my backup, then flash A2SD, then run the commands. I figured out somewhere along the way that it was freezing there because it was trying to move a folder that didn't exist yet. And then it gets into a boot loop because it somehow fubars your ext partition and makes it read-only.
[Nexus One Android Development] shiyou:
i did what u did, but it still says the same thing

how do i fix this?
[Nexus One Android Development] baseballfanz:
Just some quick questions.

How do I get a 1GB partition using Amon Ra?

I've only done like 512mb since my sd card was small, i now have a 16GB card.

Does it auto size depending on the ext I use?
[Nexus One Android Development] Treatcon:
Never heard of this? On XDA?
[Nexus One Android Development] temasek:
Thread

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

The app in market now (free)
[Nexus One Android Development] shiyou:
it always says that my sd card is not mounted wtf???
[Nexus One Android Development] :
During the partition process it will let you input with trackball the ext size and swap size--it is not auto

Of course keep swap at zero

I set mine to 1.5gb--since I flash the bigger Sense roms too
[Nexus One Android Development] shiyou:
do i get these problems bcoz im on stock kernel??

so far no1 wants to help me..
[Nexus One Android Development] baseballfanz:
Don't think its kernel related, I'm on stock cm 7 kernel also
[Nexus One Android Development] mtw4991:
Shiyou, do this, in order, using Temasek's modified DT script at the bottom:

1- move all files from sd card to pc

2- format and repartition sd card to ext2=1/1.5gb, swap=0, FAT=remainder

3- convert ext2>ext3

4- convert ext3>ext4

5- mount sdcard in recovery and move sd card contents from pc back to sdcard

6- flash rom/kernel/gapps(optional)/modified DT script

7- recovery, run fix_uid_mismatches

8- wipe cache only(fixes low volume bug, dont' wipe dalvik)

9- reboot (go do something, this will take some time)

10- in terminal run the following:

11- su (get superuser permission)

12- a2sd check (make sure a2sd is running)

13- a2sd zipalign (only need to run this command once)

14- a2sd reinstall (will reboot) then;

15- a2sd cachesd (will reboot) then;

16- fix_permissions

17- reboot into recovery, wipe cache and reboot

Hope this helps;)
[Nexus One Android Development] baseballfanz:
^^^don't forget to flash the modified dt script also
[Nexus One Android Development] mtw4991:
Thanks baseball, I assumed that was kinda obvious to him, but better safe than sorry!

:D:rolleyes:

I edited the post to include flashing the script
[Nexus One Android Development] bimasakti85:
Is this temasek's modified version?

Sent from my Nexus One
[Nexus One Android Development] baseballfanz:
yes it is....................
[Nexus One Android Development] Kameirus:
need a little pl3ease

when i go into cwm and then go to partition sd card

it just gives me the sizes no option to chose ext2/3/4

im told that the cwm i use installs ext3 when it partitions the sdcard

but i want to put ext4 on it instead

any clue on how i can do this

Thanks

edit .......i instaqlled A2SDGUI and it says i have ext3 but when i click on the convert to ext4 phone reboots and when i go back in the program

it still says i have ext3
[Nexus One Android Development] rseke:
who try this on galaxy ace?
[Nexus One Android Development] mtw4991:
I'm not too familiar with CWM as I use Amon_Ra v2.2.1. However, DT's script reports as ext3 even after conversion to ext4, iirc. use Temasek's modified script a couple of posts above and you should see the ext4 reporting correctly. Get Android System Info from the market and check "mounts" under the System tab and it will show which ext you have.
[Nexus One Android Development] Kameirus:
thanks

i got the Android System Info and under mount points

it shows sd-ext as ext3
[Nexus One Android Development] Kameirus:
is the zip attached to this post the one you are referring to
[Nexus One Android Development] mtw4991:
Yes, that is Temasek's modified DT script. Works great!

Edit: I would suggest using Amon_Ra recovery, imho

Edit2: check around post #1314 for some good info to speed up your phone also.
[Nexus One Android Development] temasek:
Pls credit all to original dev, tkirton. I only edited few stuffs. :)
[Nexus One Android Development] Kameirus:
got it now thanks
[Nexus One Android Development] Rimher:
Hello!

I'm new to all of this. I'm under CM7 with a N1. I partitioned my sd-card and converted the partition to ext4(hopefully). I've flashed the script, but now all of my apps don't appear anymore in the drawer.

Am I missing something? Should I move all manually to the new partition?
[Nexus One Android Development] Rimher:
I tried redoing the whole process once again, but it doesn't seem to work.

And now that I'm trying to reflash CM7 and gapps on top it just doesn't do it. I also tried formatting system with temasek's script. But it seems like it's not working.

Any help?
[Nexus One Android Development] temasek:
Flash dt script last before u reboot. For 1st time bootup after u flash dt, by default it should auto move your apps to sd-ext. For whatever reasons it doesn't auto move then in terminal do a a2sd reinstall.

Btw what dt script and recovery u using?
[Nexus One Android Development] Rimher:
I'm using Amon_RA 2.2.1.

Finally it seems like it worked! Thanks.

Performed a wipe of data, system & cache. Titanium backup seems to be aware of the ext partition so I guess everything is working fine. Right now I'm importing my apps back with the TB.

From now on I shouldn't move any app to sd, otherwise I'm gonna mess thing up, right?
[Nexus One Android Development] temasek:
U getting the hang of it. Maintain all apps to your internal, which is your sd-ext now.

For apps that have massive data usage like eg Google Earth, u may wish to move its data to sd-ext via TB. Its an alternative to dt's own datasd function.

Just a suggestion.
[Nexus One Android Development] CAL7:
I've got TB Pro, but I don't see the option to move selected apps' data to sd-ext. A little help, please?
[Nexus One Android Development] temasek:
Press and hold on the selected app. U will see an option for that.
[Nexus One Android Development] Rimher:
Mmh I'm still having some problems with all this new stuff.

I've first got A LOT of force closes. After a few a2sd reinstall and fix_permissions the force closes seem to be gone. Also I had some problems installing apps like Opera browser that was resulting in constant soft-reboots for my phone. What I now noticed is that my google accounts are not syncing as they should. Also on the market web page I have no devices listed, so I can't install from web.

I'm wondering if I should reinstall everything from scratch, performing a full-wipe and reflashing CM7.

What do you suggest? Also, what should the steps be?
[Nexus One Android Development] temasek:
Start from scratch is the easiest way and possibly faster than u doing troubleshooting what went wrong since u are new to this.

1. Wipe all

2. Flash cm7

3. Flash gapps

4. Reboot

5. Sign in google

6. Reboot to recovery

7. Flash dt

8. Reboot

9. Upon bootup, dt should auto move apps to sd-ext. Wait a while.....

10. Reboot

11. Upon bootup, move dalvik-cache to sd-ext ( a2sd cachesd )

12. It should auto reboot

13. Upon bootup, restore your apps from your backup, eg from TB.

Enjoy. :)
[Nexus One Android Development] Rimher:
By Wipe All you mean:

1 - Wipe Data

2 - Wipe Cache & Dalvik

3 - Format /system using your script from AmonRA

4 - Wipe /sd-ext

Also, by backing everything up with TB it should work fine to restore the apps(no system stuff) right after the complete re-flash of stuf.

Oh and lastly, shouldn't I wipe cache right after the DT flash to avoid the low volume bug?

Thanks again, you're the best Temasek ;)
[Nexus One Android Development] temasek:
Wipe your /.android_secure folder also from recovery.

If u don't use dt's datasd function, u can use dt stable release so that u don't have to wipe /cache. No low volume issue with dt stable release.

And yes, don't ever restore any system settings or even cm settings from TB.
[Nexus One Android Development] baseballfanz:
Dt's data to sd should be OK if I have a class 4 micro sd?

Until I can get my hands on a higher class I'm hesitance to move data to sd-ext
[Nexus One Android Development] temasek:
I wouldn't recommend dt datasd with less than class 10. It would be better if u selectively move apps' data to /sd-ext using TB. That way even if u have only class 4, it wouldn't slow down your whole phone much.
[Nexus One Android Development] baseballfanz:
thanks temasek, you always have the right answers.:)
[Nexus One Android Development] mtw4991:
Baseball, I've got a ScanDisk 8gb class 6 card from Newegg that specs out at class 10 with all test utilities I've tried. Saved some $$ AND got a cl10 to boot :D just a thought as they are(or were) cheaper than those marked as class 10:p
[Nexus One Android Development] CAL7:
Everything evens out. I have a Class 10 that benchmarks as a Class 6.:mad:
[Nexus One Android Development] CAL7:
Temasek,

You helped me a few posts back on how to use TB to selectively move data to the sd-ext (ext4 using your "B0" version of DTa2SD) partition. But, I have some issues. TB didn't find a data directory, so it asked to create one, named data2. I moved about 6 program's data and it seemed good. When I look at the file system, there is a data directory which is empty. The data2 directory has files that look right, i.e. they correspond to the program data that I told to move.

However, every app I moved FC'd. Plus, installing any app caused a reboot. Even after moving data back to internal, the apps FC'd and app installation rebooted. I fixed permissions and most apps worked again and I could re-install those that didn't work.

I haven't had the time (courage) to try it again. Is it expected that moving data to ext4 needs fix permissions? Anything else I should do?

Thanks again.
[Nexus One Android Development] temasek:
As mentioned, if u don't use dt datasd function, I would recommend using dt stable instead, ie DT 2.7.5.2. Then u selectively move the apps' data using TB.

Alternatively if u have a fast sdcard then perhaps u can use the dt datasd which moves all data to sd-ext.

Fwiw I'll have to fix permissions after I perform any dt function to be sure no permissions error.
[Nexus One Android Development] CAL7:
Many thanks!!

I went to ext4 and B4 so I could move data to /sd-ext. Only when I saw your advice to use TB to selectively move data did I realize that was an option. Can TB move data to /sd-ext on the stable DT with ext3?

How does performance compare between ext4 with writeback and ext3?
[Nexus One Android Development] temasek:
U can enable writeback on EXT3 also actually ;)

EXT4 vs EXT3 -- a subjective topic but nevertheless my opinion

EXT4 does not really gives u real performance gains over EXT3 on a moible phone. It does provide superb quadrant scores over EXT3 if one really feels its worth comparing.

Since my N1 is no longer my primary phone, I might downgrade to EXT3 soon and play with my N1 as a experimental device.

TB does symlinks for your apps' data to /sd-ext so even if u don't have DT enabled but u have a /sd-ext partition, it will still work. Take note for any type of method that requires symlinks to /sd-ext, there is always a risk.

Also u might wanna read more on S2E (alternative apps2ext). It is getting popular.
[Nexus One Android Development] CAL7:
Last question.... Can I downconvert from ext4 to ext3, or do I need to reformat the partition?
[Nexus One Android Development] temasek:
I'm afraid there isn't a method that convert EXT4 to EXT3 without wiping its contents. (not 100% sure, never tried b4). Either u repartition it or there is a script which MAY convert it back to EXT3, wiping its contents of course (not tested)

U wanna try?

U can backup /sd-ext partition using Amon_RA Recovery, flash the custom backtoext3 script and restore your /sd-ext partition (Still not tested, theoretically should work :p )

EDIT: I think better don't try my custom script When I'm free I do self test first :)
[Nexus One Android Development] cmstlist:
Based on this advice, I decided to try DT 2.7.5.2-1 on my Nexus One with CM7 RC1. After a laborious time backing up and restoring the SD card to partition it (damn you Windows for being so slow at coping directories of zillions of tiny files), I flashed the script and got a boot loop. I'm reverting to backup because I need to sleep and go to work tomorrow. The partition is 1 GB ext3 on a 16 GB card.

Any thoughts on what I can try differently here? A different version of DT? Or doing something in recovery after flashing the script that will let me boot into the OS?
[Nexus One Android Development] bimasakti85:
I think you should use ext4 instead of ext3. Also have you wipe dalvik cache after flashing DT? If you want the simplest.method,you can try S2E. Download it from the market.

Sent from my Nexus One
[Nexus One Android Development] cmstlist:
My impression was that the implementation of DT on ext4 is still buggy with dubious benefits... Any reason to believe that this would avoid boot loops?

I tried clearing regular cache but not dalvik.

Oh wait, just tried S2E and it works. Brilliant! And after using S2E, I'm able to manually move individual apps' data to ext using Titanium. So this is all I need, thanks!

If I'm using S2E and I flash an upgrade to the next RC of CM7.1 when it comes out, will everything carry over nicely?
[Nexus One Android Development] bimasakti85:
You should try wiping dalvik cache if u encounter bootloop or stuck in the X logo after flashing DT, or new kernel. Maybe its the bug from DT. I think everything suppose to be ok if you flash a new nightly CM, S2E will still work.
[Nexus One Android Development] Rimher:
Everything was working fine, until yesterday, when I fired up soundhound and tapped to recognize a song. And my phone rebooted. I tried fixing permissions, and uninstalling/reinstalling it. But nothing seems to work, whenever I try and use soundhound my phone reboots. Anybody knows what's the problem here?
[Nexus One Android Development] bobtentpeg:
Soundhound probably has hardcoded paths that are broken by A2SD
[Nexus One Android Development] Rimher:
Ok, and what can I do to fix this?

Thanks in advance :)
[Nexus One Android Development] shiyou:
GUYS!!

when i send my data to my sd partition and everytime i reboot, i have to register my phone again!?!? what do i do??
[Nexus One Android Development] shiyou:
any1 can help??
[Nexus One Android Development] cyanide911:
I made a 512mb Ext3 partition

I installed a ROM

Flashed Darktremor A2SD (the stable version)

Installed A2SDGUI from the market.

Now when i install an app, I get a simple prompt which takes me to the settings menu of Android, where there's a 'Move to SD Card' button like there always has been in froyo.

Is this the way it's supposed to work? How is this different than the stock Froyo move to SD? Have I missed something?

The rom is supports Darktremor A2SD. And Apps2SD GUI shows green light on "Apps are on SD".
[Nexus One Android Development] :
Dumb Question--Did you run the 4 commands thru Terminal
[Nexus One Android Development] baseballfanz:
Just format and partition micro sd card to an ext 3, shoukd booting take 20minutes? Never had to wait that long before. Probably messed up somewhere.:(
[Nexus One Android Development] bimasakti85:
Try using ext4 instead ext3...

Sent from my Nexus One
[Nexus One Android Development] mtw4991:
You can change from ext3>>ext4 within Amon_Ra recovery without losing data/apps, etc, fyi. First time moving apps takes awhile. Even now, it takes 6-7 minutes to boot but I'm using ext4 with a2sd and d2sd.
[Nexus One Android Development] -Arturo-:
Darktremor apps2sd script doesn't work for me the way it should have.

I flashed the script after flashing CM 7 and google apps then I installed a few apps and my ext3 partition doesn't contain any folders such as data/apps or apps. I'have succeded at moving dalvik cache to the ext3 partition after typing some command in the terminal but still the apk files from data/apps are not being moved to ext partition.

I just used A2SDGUI - Darktremor A2SD GUI app from the market to move apps to ext3 partition and the phone rebooted....after it was back on only system apps were available all aps downloaded from the market were gone.

I created ext3 partition using amora recovery.

I just run a command a2sd repair and among others it says that my EXT partition is not mounted. Seems that's the problem...how can i solve it?
[Nexus One Android Development] jyarborough:
Hate to say it,, but I think that you should start fresh.. DTAWSD REMOVES THE LESS EFFICIENT CM7 A2SD SCRIPT UPON Flashing..either reformat and do your 32/1024 ext3. Or just do a fresh install wipe all and then try again.... Maybe this will work a2sd datasd

Sent from my PC36100
[Nexus One Android Development] -Arturo-:
Thanks it is solved now. I flashed the latest (no 4) beta. The previous versions didn't work for me.
[Nexus One Android Development] hetman6:
is there an impact on battery life using this? writing/reading on sdcard
[Nexus One Android Development] temasek:
Negligible. U won't notice any much difference.
[Nexus One Android Development] roeylee:
I use fake-flash recovery (http://xdaforums.com/showthread.php?t=969076).

I used it to create EXT (8G SD. 1 G EXT3). I then installed DTAPPS2SD but nothing happened on the Android OS.
[Nexus One Android Development] dominguezcarlosm:
i'm using the teamwin recovery and it is working pretty good as well as my new custom rom.
[Nexus One Android Development] -Arturo-:
One problem, sometimes when I reboot my phone it boots normally shows the android lock screen and then restarts itselfs after it boots again the A2sd script is not being used and I loose access to my ext3 partition. I can bring it back after clearing cache + dalvik cache and restarting the phone twice. Is there a way to avoid this?

"11. Finally fixed stalled boot issues (or at least my tests with several roms says so.)

See the change log for additional details.

You will notice that if the program runs repair and finds a problem, it will correct the issue and reboot. You will see a second reboot when the dalvik-cache clears (this is to fix timing issues with CyanogenMod...I can't control that startup as well as I can other roms). This only happens if repair is ran or you flash a new rom (as repair will realign all data). If you are upgrading from a previous version of Darktremor, you should not see the reboots."

Could this be a problem?
[Nexus One Android Development] roeylee:
It's not working for me. I e instructions but got this:

$ export PATH=/data/local/bin:$PATH

$su

# a2sd reinstall

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /system/sd

[ ] Creating /cache/dc

[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache

[ ] Starting Darktremor Apps2SD Version 2.7.5.2-1

[ ] Launching Apps2SD Start Program with reinstall

[X] No a2sd.swap environment variable found.

[ ] Starting Darktremor Apps2SD in reinstall mode

[X] SD Card not mounted.

Cannot reinstall applications to SD card.

#
[Nexus One Android Development] blahbl4hblah:
When you flashed it did you mount system

I remember seeing that it was an issue before and that caused it

I don't use dt's script anymore so I don't know
[Nexus One Android Development] roeylee:
How do I "mount system"?
[Nexus One Android Development] RevengeFNF:
Hey people , im using Darktremor Apps2SD 2.7.5.3 Beta 04 on a Cyanogen 7.1 RC Rom on my LG P500.

But sometimes i get stuck at the LG Logo, so i wanna try revert to Darktremor 2.7.5.2, to check if the problem is in the Beta.

To revert i just need to flash it? Or i need to do something more?
[Nexus One Android Development] temasek:
Yup, just flash over.

For your next flash of CM7 Rom, whatever remains of DT 2.7.5.3 beta 4 in /system will be erased so no worries.
[Nexus One Android Development] RevengeFNF:
But in the remaining time i don't flash a new CM7 Rom, whatever remains in the /system don't gives problems?
[Nexus One Android Development] temasek:
Won't give u problems, guaranteed as DT 2.7.5.2 will not use those files which is not written to use. Some files will just be idling in /system till the time u flash a new CM7 ROM.

If u wish to get rid of the unwanted files, just do as follows:-

1. Reflash your CM7.1 RC1

2. Flash DT 2.7.5.2

No need to reflash gapps.
[Nexus One Android Development] RevengeFNF:
Ok, many thanks ;)
[Nexus One Android Development] Jaani:
Plzzz we need a latest stable build for CM7 & Official Gb 2.3.3 based roms..any plans for update???
[Nexus One Android Development] abhi29:
Hey am using App2sd 2.7.5.2, i had installed Touchpal keyboard but when i reboot default Android keyboard is working. So is thr any procedure to install it in phone memory after using App2SD