yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] djmcnz:
fstab is device specific so probably not ideal for CM... and it shouldn't be necessary if the kernel is working properly.

Odd on your remount... I suspect you've got an ext2 only kernel that can't support anything more even if you tell it to try via fstab.

I think people spend a totally unnecessary amount of time on this as it makes no practical or measurable difference to anything... I think any mention of ext-type should just be removed from the apps2sd scripts. Just my opinion.
[Nexus One Android Development] denteno:
isn't there any solution -even temporarily- for the force closes ?

cause i'm getting it a lot lately ??

nexus one CM 6.1.1
[Nexus One Android Development] endiz:
I recommend running the fix_permissions command then reboot.
[Nexus One Android Development] sl8125:
anyone running the script in cm7 nightly? I keep getting forceclose in all my apps. It also disappears. It seems the ext isn't mounting correctly. When running cm6 its fine. Is it the script?
[Nexus One Android Development] :
Cm7 here and all is ok with DT 2.7.5.2
[Nexus One Android Development] temasek:
I'm reverting back to 2.7.5.2 as I found the lastest will result to soft volume - though upon reboot will reset the volume but upon reboot soft volume again. I'm lucky to wake up for my morning work with the strong alarm vibration. With 2.7.5.2 I do not have such issue.

Anyone has this issue? I'm running CM7 nightly.
[Nexus One Android Development] EnhancerFIN:
I'm having quite weird issue with market.. It won't autoupdate my apps, and when I update those manually, market says that it is unable to update because of low storage space. I have over 60mb left in the storage, and weirdest is that if I just click the update again, it will update ok.
[Nexus One Android Development] houzuoguo:
I'd like to report a very serious issue with the Beta 03...

Today all sudden all my applications could not load and my sd-ext partition seemed to be emptied, as I had no nandroid backup so I had to do a clean install of everything.

Flashed Beta 03 after CM #19 and installed about 10 applications~ but after a reboot... all my applications went missing again and there's nothing under sd-ext anymore...

I have never experienced any quality issue with my SD card by the way...
[Nexus One Android Development] mtw4991:
I just experienced this also....very weird. No matter what I did, the volume for everything, phone ringtone, notification ringtone, alarm, etc was very very low. Reverting also before I lose my sd-ext partition/apps:(

Edit: reverted to 2.7.5.2 and volume is back to normal again.
[Nexus One Android Development] endiz:
Just noticed this today as well. Very strange.
[Nexus One Android Development] th1rt33nth_w4rr10r:
need to know, what's different between beta 03a and beta 03b? thx.. :)

http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta03b-signed.zip
[Nexus One Android Development] scalp42:
I had the same thing happen to me also after a reboot.
[Nexus One Android Development] roxtedy:
I have 100 apps, and I have 100MB free internal memory. When I intaled opera I have 90 MB free internal memory. Měli jste na mysli: můžete udělat váš skript abych měl více volné interní paměti? You can make your script to have more free memory?
[Nexus One Android Development] blahbl4hblah:
Well did you use the command "a2sd cachesd"? Because if you didn't then that's why you have only 100mb free. I decided not to use the datasd command because it tends to lag even on my class 10 sdcard
[Nexus One Android Development] neok44:
someone please help me out here.

I'm running CM6.1 and installed DTA2SD 2.7.5.2 because i saw all the people with issues on .3.

So i installed it and it looks like it worked fine, but nothing actually changed. i have the ext4 partition on my SD card but when i try to move a paid application such as UNO, it still says that i can't, and i'm not sure if moving my normal applications is moving them to the normal SD or the EXT4 partition.

Also, after i did this, i randomly went from 20MB free to 75MB free. so idk, someone please help me out here. all i want is the apps2sd from CM5 so i can actually install stuff on my N1.
[Nexus One Android Development] tkirton:
You can't force it. At least not using Darktremor.

Anyways, my question is...does it mount? If it mounts, it's probably a reporting error on Busybox.
[Nexus One Android Development] tkirton:
I don't think CM6.1 actually supports EXT4...could be wrong though.

Anyways, say it does support EXT4...have you tried running a2sd check?
[Nexus One Android Development] tkirton:
Can I make my script to have more free memory? Hmm...I don't know. Have you tried moving the /data/data to the SD card?

a2sd datasd
[Nexus One Android Development] tkirton:
Try Beta 04...I reworked most of the code on the program.
[Nexus One Android Development] tkirton:
03b simply worked on bootloop issues.

04 extends that and more.
[Nexus One Android Development] denteno:
another issue

some times the caller cant hear me and i have to reboot
[Nexus One Android Development] tkirton:
Did you move /data/data to SD card?
[Nexus One Android Development] blahbl4hblah:
I'm getting reboots after flashing the newest release

It's weird because it reboots 3 times on the X then finally boots to the boot animation
[Nexus One Android Development] tkirton:
That's normal for this version. If it has to run repair (even to realign), it will reboot. The second reboot is to clear the Dalvik-cache.

This is to get around CyanogenMod issues until I can really figure out what is going on with that (which should be fixed in Beta 05).

Once everything is lined up, it won't do the multiboot again unless it has to run repair again (or you run repair).
[Nexus One Android Development] blahbl4hblah:
Oh alright, well I just flashed nightly 21 and flashed it works better and the reinstall works better i think
[Nexus One Android Development] jbbandos:
Are you running a MIUI ROM? That happens to me so often I have a utility installed just to check if the microphone is active... At least a reboot usually fixes the problem.
[Nexus One Android Development] neok44:
ran a2sd check and it says ext4 supported, and programs run from sd card has a * on it.

however, mount point /sd-ext does not have anything on it's box, no *,! or X. not sure if that means anything.

installed about 10 apps and went from 75 to 45 but then haven't dropped since so i guess it's working, just kinda wish there was a way in the application settings to see if it's froyo apps2sd or the DT apps2sd. i've been checking the android.secure folder and it's empty so i guess everythings working.
[Nexus One Android Development] temasek:
Under Applications -> Manage applications -> On SD Card. If there is a tick on any application, its a froyo apps2sd, not to your ext partition.
[Nexus One Android Development] roxtedy:
I flashed beta 4 and I have long to long boot phone, this is normal?
[Nexus One Android Development] denteno:
is the calling issue fixed or not in the new version ?

i'm using N1 on CM6.1.1

it happens 2 times in a 3 days now ?
[Nexus One Android Development] denteno:
And yes am on datasd
[Nexus One Android Development] roxtedy:
I have problem with boot phone. Where can I download old beta 3? Thanks
[Nexus One Android Development] denteno:
nope it's not fixed :(

i've just got it n' i had to reboot
[Nexus One Android Development] neok44:
if by a tick you mean that they show up there, then yeah every single app i've moved to the SD card is there.

so now i'm even more confused, i installed this script perfectly followed the instructions exactly, but everythings still doing froyo apps2sd, so wtf am i doing wrong here?

i'm just really confused. all i wanted was the old apps2sd like CM5, and i just don't understand whats going on here.
[Nexus One Android Development] :
neok44

haven't followed all your posts. so, sorry if covered

but, did you check with root explorer--sd-ext/app

that will show you all apps on sdext

sorry again, if you guys already addressed that
[Nexus One Android Development] nrd\:
ive been using this on Gingerbread MM v20 rom and i love the idea, its genius, well done!

only concern i have is my sd is class 2 4gb, im running low on space, 10mb internal, will it be safe to move my dalvik cache to the SD.

I have read that its not recommended as it may kill the card, any ideas?

thanks.
[Nexus One Android Development] tkirton:
There isn't in the application setting, but there is since you are able to run a2sd check.

In an ADB shell (or terminal), type the following: cd /data/app

Then, type pwd. It should come back as /sd-ext/app. If it doesn't, type ls -l /data.

If you see "-> /sd-ext/app" next to app, then you're linked and apps2sd is working.
[Nexus One Android Development] tkirton:
It can be...

1. Were you on any other version on Darktremor Apps2SD? If not, it will do realignment to make sure everything is in order. This will do two reboots (first is the after realignment, second if after clearing dalvik-cache [CyanogenMod workaround until I can figure out why it hangs after the first boot]). After that, it will rebuild dalvik-cache. Depending on how many apps you have, it could take a while to get the phone completely rebooted.
[Nexus One Android Development] tkirton:
I've had my Class 6 16GB in two different phones for well over a year, with apps and dalvik-cache on it. I've had no problems with it.
[Nexus One Android Development] tkirton:
You're going to be able to do both in Froyo and Gingerbread.

Just move the apps to internal storage and Darktremor Apps2SD will do the rest.
[Nexus One Android Development] CAL7:
DT installed correctly?

I have, I think successfully, installed apps2sd on my N1 (CM7 build 22). Titanium Backup shows the ext2 partition with 90MB used. And all my applications that used to be on the FAT32 partition have been moved to the phone, which I understand means that they are really on the ext2 partition of the sdcard.

But using terminal emulator to enter a2sd commands gives a bunch of errors (see below for "diskinfo"). Can someone tell me what the problem is? Much appreciated!

export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$a2sd diskinfo
rm: can't remove '/data/dta2sd.lg2': Permission denied
cp: can't create '/data/dta2sd.lg2': File exists
rm: can't remove '/data/dta2sd.lg1': Permission denied
cp: can't create '/data/dta2sd.lg1': File exists
rm: can't remove '/data/dta2sd.log': Permission denied
[ ] Apps2SD is launching...
/system/bin/a2sd: line 24: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 25: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 26: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 35: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 37: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 38: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 39: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 40: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 41: can't create /data/dta2sd.log: Permission denied
grep: /init.rc: Permission denied
tee: /data/dta2sd.log: Permission denied
__ _____
tee: /data/dta2sd.log: Permission denied
| \ |
tee: /data/dta2sd.log: Permission denied
| | |
tee: /data/dta2sd.log: Permission denied
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 3a (2011-01-25)
tee: /data/dta2sd.log: Permission denied

/system/bin/launcha2sd: line 298: /data/dta2sd.log: Permission denied
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
/system/bin/launcha2sd: line 467: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 3a
tee: /data/dta2sd.log: Permission denied
[ ] Launching Apps2SD Start Program with diskinfo
/system/bin/launcha2sd: line 881: /data/dta2sd.log: Permission denied
/system/bin/starta2sd: line 18: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD in diskinfo mode
/system/bin/starta2sd: line 53: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[X] Invalid command: diskinfo
tee: /data/dta2sd.log: Permission denied
[ ] Setting File System Ready property to 1.
/system/bin/starta2sd: line 1428: /data/dta2sd.log: Permission denied
/system/bin/launcha2sd: line 883: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 43: can't create /data/dta2sd.log: Permission denied
$
[Nexus One Android Development] musashiken:
Ok, Under Applications -> Manage applications -> On SD Card, it will list every single app that can be moved to Froyo SD. Those with ticks means that they are already moved to Froyo SD. Those without ticks means that they are in Internal Storage.

Now, if you have installed DarkTremor's a2sd, your number one choice is to install all apps into the EXT partition right? So all you have to do, is to go to those apps with ticks (see above paragraph), and then move them to Phone.

That's it. Now all those apps are in your Internal Storage which = EXT partition.

So what if you see ticks? Just move the apps back to phone.

Download this app called Quick System Info. It will help you check the amount of space left in your EXT partition. So if you need confirmation that your apps are really installed in your EXT partition, that app will show you the remaining space. If it gets less and less, then you are doing the right thing.
[Nexus One Android Development] tkirton:
Answered your question in another thread.

For everyone else: Don't forget to type su in a terminal emulator before you run any of the Darktremor Apps2SD commands. Terminal emulators don't have root access automatically.
[Nexus One Android Development] neok44:
first off, i'm sorry for sounding so n00bish, but i still don't understand with the ticks means. heres a picture of what i see when i look at the applications screen. these are apps that i pressed move to SD to after i downloaded them, or some automatically went to the SD. they all show up in the asec folder as well.

now, i downloaded quick system and then moved google earth from the SD card, where i could see it like in the picture, to the phone.

My phone space, did not change, it stayed at 42Mb, my A2SD space, went down by 6MB, but the app itself is like 20MB. couldn't tell if the overall sd card space changed because it was in GB, not MB.

Now when i look at earth in the application info, it says 22.25MB and i have the option to move to SD. but it looks just like everything there, just the icon, name, and the size.

thank you for helping

*edit*, also i'm running CM6.1 and installed DTa2sd 2.7.5.2 if that helps.
[Nexus One Android Development] djmcnz:
Your sd card has effectively two partitions for apps - sd-fat used for Google Apps2SD and sd-ext used by DT Apps2SD and each app can only go on one of these. The tab you're looking at is reporting apps on sd-fat.

DT Apps2SD emulates "internal" storage. All apps installed to "internal" will be stored on sd-ext by DT Apps2SD however, if they're on sd-fat then DT can't do this. In this case, to get DT to "manage" them, move them to "internal" on those screens you post above. This will allow DT to capture them and put them on sd-ext. If you upgrade an app from the Market it may get moved back to sd-fat.

To determine if it's working use the commands built into DT Apps2SD or use the terminal app and basic unix file system commands.

Respectfully, this is explained on almost every second page of this thread...
[Nexus One Android Development] musashiken:
Oops, ok I did not know you were using Froyo and not Gingerbread. Ok, forget I said anything about ticks.

As long as applications are listed under the SD card tab, that means those apps are already moved to Froyo SD. So all you have to do is to move those apps back to Phone.

So taking your example of Google Earth, once you moved to Phone, the application file size is now 20+ MB and it is no longer listed in the "On SD Card" tab right? That means you have successfully moved the app to Internal Storage.

Then if DT is installed properly, that means the app is now in your EXT partition, even though it is on the "Phone".

You have to understand that what DarkTremor's A2SD does, is to trick Froyo into thinking that the Ext partition is the phone's internal storage. So even though you are installing apps into the phone, they are actually installed into the ext partition. Now Froyo doesn't know that, all it knows is that for some strange reason, the usual 190+ MB internal storage seems to be a lot bigger than usual, and no matter how many apps are being installed, the internal storage doesn't seem to be decreasing like it should. Darktremor is the one pulling the wool over it's eyes.

You can do an experiment to figure out the numbers.

Take a large application for example, like Google Earth.

Now that your Google Earth is installed in "Phone", note that the application total size is X MB. Go to Quick System info and note that A2SD storage is Y MB.

Now move Google Earth to "SD Card", note that the application total is now X-A MB. And also note that Google Earth is now listed in the "On SD Card" Tab.

Then go to Quick System Info and note that A2SD is roughly Y+A MB.

So that means that Google Earth is using Froyo SD which is not what we want. So just move it back to "Phone" and see your A2SD storage decrease again.

So do you get it? You can try moving all those apps "On SD card" to phone, and you will see your A2SD storage getting lesser and lesser. That means DarkTremor's a2sd is working.

Edit: One final note, using DT a2sd does not mean the Internal Storage total size will become large. Froyo will still think that the total amount internal storage has is 190+ MB. But with DT, that number will decrease in a much slower rate.
[Nexus One Android Development] neok44:
alright now i'm good lol. the ticks thing was really what was confusing me since everyone kept talking about them lol. i don't like flashing the nightlies, so i wait until the final. so froyo for me for a few more weeks.

thank you so much for your help, just moved everything back to the phone and i'll just keep checking the sizes and that from time to time.

one last question though, when CM7 final comes out, so i don't end up losing my apps and that, will i just flash CM7, then flash the latest version of DT and then reboot and everything will be there.
[Nexus One Android Development] rickh925:
Isn't it the case that you should be configured to install apparently to internal storage only and to not allow moving to SD card. The way a2sd works, at least on my CM7 and previously CM6 installs, is to symlink to the SD card. The phone thinks it is installing to internal locations but is actually using the extra partition indicated in the symlink.
[Nexus One Android Development] CAL7:
SD card speed

I have the original sd card that came with the first shipments of the Nexus One, which I believe is a Class 2 card (4GB). I am running CM7b22. I now only have apps on an ext2 partition. I would appreciate anyone's help with three questions:

Does this card's performance support (with minimal performance degradation) moving Dalvik and /data/data to the ext2 partition?

I need to increase to 8GB or 16GB anyway - if I go to a Class 6 or even Class 10 will that performance allow either Dalvik or /data/data with minimal degradation?

Am I better converting to ext3 or ext4?
[Nexus One Android Development] tkirton:
Yes...just flash CM7 final, then Darktremor.
[Nexus One Android Development] neok44:
awesome. thanks again for everything!
[Nexus One Android Development] endiz:
After installing a Fresh copy of Cyanogen 6.1.1 and Apps2SD 2.7.5.3 Beta 4, I get a boot loop. I don't even get to the setup screen, just stuck on the nexus one "X" logo.

Can I get you any logs?
[Nexus One Android Development] mtw4991:
did you flash DT a2sd right after CM and BEFORE rebooting? If not, flash ROM, flash DT, reboot....patience as it can take several minutes.

If you did the sequence correctly and still got stuck at the X, try DT a2sd v.2.7.5.2. I ran this version w/o issue on CM6.1 and still with CM7.

People have been having some issues with the newer version of DT's .3 betas lately.
[Nexus One Android Development] endiz:
Yea, I followed this exact sequence without rebooting. Unfortunately, it was boot looping (rebooting on its own). I had to revert back to .2, but I really like the datasd feature ;)
[Nexus One Android Development] tkirton:
Logs are located on /data...they are dta2sd.log, dta2sd.lg1 and dta2sd.lg2. You can send them to me at rtkirton@gmail.com. I'll take a look at them and see if anything unusual is happening.
[Nexus One Android Development] tkirton:
If you flash CM, then DT, it will reboot twice (once after it does a repair to realign your /data/app, /data/dalvik-cache and /data/data depending on which flag files are present...the second after it clears the dalvik-cache). The third time it restarts, it could take a little while as the dalvik-cache is being rebuilt.

This is normal behavior for Beta 4, but it's only a workaround. I'm looking into why I'm having boot issues with CM without having to go through the reboots.

Try again and count the reboots...you should have two additional reboots. If you have more than that, something else is wrong.
[Nexus One Android Development] quertiy:
i know this is kind of off-topic, but i have no other place to ask. i just noticed that titanium backup shows on the main screen the free space from the sd-ext partition. does anybody know if a widget that show the sd-ext free space, exists?
[Nexus One Android Development] :
check out mini info from market--not sure if it does ext
[Nexus One Android Development] mynameisjon:
installed beta04, everything was fine.

After a reboot however, volume problem (low volume) arises.

Did not use data move command.

Reflashed 2.7.5.2 and volume is back to normal.
[Nexus One Android Development] temasek:
That issue started off from 2.7.5.3 beta2 onwards. When u reboot again your volume comes back. One more reboot, volume soften again.

Hope tkirton solves it cuz I love his work here.
[Nexus One Android Development] NguyenHuu:
I keep getting an error trying to flash the zip. it says E: Can't open (bad). beta 3 worked fine. but I deleted it now and cannot find where to download that old version.
[Nexus One Android Development] temasek:
http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta03-signed.zip
[Nexus One Android Development] NguyenHuu:
thanks, but i found the download link earlier by just replacing "beta04" with "beta03" in the URL and it worked haha. glad you keep old files on the server.
[Nexus One Android Development] tkirton:
Not that I'm aware of...but that doesn't mean there isn't one.

Have you tried searching the marketplace?
[Nexus One Android Development] tkirton:
Try redownloading it? Sounds like a bad download.
[Nexus One Android Development] NguyenHuu:
the versions i download was only 2.63MB compared to beta03 which is 3.3mb. maybe that's a problem? and also I redownload it several times and on different computers, still no good.
[Nexus One Android Development] mynameisjon:
alternate reboots fix it? lol thats ODD
[Nexus One Android Development] temasek:
Odd yes, but it works.

I'm back at 2.7.5.2 cuz it works really well with CM7. Till new developments becomes stable..................
[Nexus One Android Development] musashiken:
Hi tkirton, just want to report something.

It's not always, but when I remove my sd card from phone and put it in a card reader to copy stuff from the pc, and then put the card back into the phone and boot up, the symlinks seem to be corrupted and gone, my widgets became boxes with "error loading widget" and my installed apps are gone.

I had to a2sd reinstall, reboot and everything is back again. Except I need to re-add widgets.

I wonder if anyone else has this, or maybe it's my phone or sd card. I did reformat my sd card with sd formatter once before this.

I don't think it's a problem since doing a a2sd reinstall seem to fix this everytime, but maybe it is something to look out for.

Oh yeah, I'm on CM7 latest nightly, N1 and using DT 2.5.7.3 beta 04.