yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] rickh925:
I did run a2sd cachesd so dalvik is on the SD. I'm going to play with this a little. I frequently use my phone as a USB drive because it is ALWAYS with me. On windows I don't really worry.

I wonder if the ext3 partition is mounted RO or RW in linux? I'll check when I get home. May be I should start bringing my laptop to work so I can do some real work!
[Nexus One Android Development] clustered:
hi all,

quick question... do I have to reflash this script each time i reflash new nightly? thanks
[Nexus One Android Development] :
Re-flash the program right after flashing nightly--no reboot in between, but don't need to redo the commands
[Nexus One Android Development] hesian:
Didn't realise ES File Explorer, with Root access enabled, still can't see within /Data. All sorted now, thanks.
[Nexus One Android Development] britoso:
OK, I was just expecting the checkbox [ ] to be checked.
[Nexus One Android Development] makelegs:
Ok, guys... I think I'm gonna try the a2sd stuff, again, today. Just need a few pointers, here.

-Seems like the general consensus is to flash the modified 2.7.5.2, instead of the most current beta 4.

-I recently upgraded my sdcard and let CW 3.x.x create the ext partition, but I don't remember having the option to select ext2/3/4.... really not sure what it created. Sounds like ext3 is still the consensus favorite, though, right?

-Sounds like I need to switch the cm7 settings for apps to "internal." What about the apps that are currently using froyo a2sd, though? Once I flash the modified DT, can I just use TB to move all apps to "internal" as a means of putting them in the hands of DT? or does DT act upon those apps by default?

Sorry for the DT-101 post, but any clarification is appreciated...
[Nexus One Android Development] ieatacid:
I'm wondering about this too.
[Nexus One Android Development] ieatacid:
Searched a few pages back and found the answer. Everything is working fine now :)
[Nexus One Android Development] temasek:
First time flash DT, upon boot it will auto move apps to your sd-ext. You have to manually move those apps u have in the native apps2sd to internal manually though.

I recommend moving dalvik-cache to sd also

su

a2sd cachesd

As for the cm settings, you can set it to internal.
[Nexus One Android Development] ieatacid:
How can I check how much free space is on my extra partition?
[Nexus One Android Development] :
TB Pro

or an app like Quick System
[Nexus One Android Development] ieatacid:
Thanks, TB worked!
[Nexus One Android Development] :
your welcome :)
[Nexus One Android Development] denteno:
is beta 4 working well for anyone on CM7 RC1 ?
[Nexus One Android Development] Jack_R1:
Yes.

10chars.
[Nexus One Android Development] denteno:
What's your device ? Nexus one
[Nexus One Android Development] Jack_R1:
Of course it's Nexus One. We're still in Nexus One forums, yes? ;)

If you happen to have Clockworkmod recovery 3.something - you'll probably have to reformat SD card to get it to work.

Otherwise, it works without problems.
[Nexus One Android Development] faddys123:
hi i am on a sense hd rom rcmixhd it uses cm7 script but i want use this so i flashed 2.7.2 but got into bootloop so how do i delete the cm7 script from the rom?

i am a desire user but no one answers on the forum so :/
[Nexus One Android Development] hesian:
Sometimes after a Android restart, sd-ext fails to mount and Android boots to the default dashboard and Apps. Usually another reboot will resolve the issue to recover all my Apps on sd-ext. The only problem is all dashboard widgets fail to load and so have to be deleted then re-added.

Note: using fairly new 16Gb class 10 SDHC, with no reported errors.

Has anybody else experienced this ?
[Nexus One Android Development] :
Where did you buy it--ebay has had bad cards

I would back it up and reformat with sdformatter from web thru an sdcard reader: Format Type-Full Erase On and Format Adj Size On

Repartition with 0 swap and the recheck partitions with Mini Partition Tool Wizard

Then reload card from bu with a card reader and put back in phone

I use card reader since I have 12gb on card and it is much faster

This method has been full proof for me and if it doesn't work card may be bad

Ken
[Nexus One Android Development] Yom:
HD2 randomly reboots when restoring or installing apps

Hi all,

HD2 user here. I am wondering if anyone can help me with this very annoying issue of the phone randomly rebooting when either restoring apps via TB or installing them from Market. I have tried this under Gingerbread 2.3.2, DesireHD and plain vanilla builds, and the behavior is the same. I have even swapped phones! I use a 32GiB Class 10 SD card, with a 1024MiB ext3 partition and both with and without a 64MiB swap partition. The FAT32 partition has 32KB clusters. I also have tried with a different 16GiB card with the same results on multiple ROMs, and I have tried the original 2.7.5.2, 2.7.5.3 B4 and 2.7.5.2-1 scripts to no avail. I have also tried moving the dalvik cache to SD with same reboots... I have partitioned and formatted my card using gparted, Acronis, and CWR. I have tried ext3 partitions of 512, 768 and 1024... no difference... Same crappola :(

Can someone please help, as this is driving me totally bonkers?

BTW, my card is a Patriot I bought @ Fry's.
[Nexus One Android Development] mtw4991:
Try this for the market and DT issues, worked for me and others:

For DT issues using Temasek's modified DT a2sd v2.7.5.2 below:

Put your rom+kernel+DTa2sd on your sdcard.

Go to terminal emulator and run fix_permissions.

Go to recovery and clear cache and dalvik-cache.

Flash rom+kernel(if any)+DT script, then reboot.

Go to terminal emulator and run the following:

su

a2sd check

a2sd reinstall (will reboot)

Go back to terminal emulator and run:

su

a2sd zipalign

a2sd cachesd (will reboot)

Go back to terminal emulator and re-run fix_permissions.

reboot.

DT a2sd v.2.7.5.2

http://db.tt/AxQDNyQ

For Market issues:

Go to Settings>apps>all>market and uninstall updates+clear cache.

Go to Titanium Backup and wipe market data.

Go to /data (not /data/data) and delete the com.android.vending file.

Go to dalvik-cache and make sure there is not a data.com.android.vending file. If so, delete it.

Go to /system/app and delete the vending.apk

REBOOT

Go to settings>applications and uncheck "allow app moving" and set install location to internal.

Flash this market in recovery. (tested fine with amon_ra recovery)

Reboot, sign in to market and market should work.

New Market v.2.3.2

http://db.tt/udMA5pD
[Nexus One Android Development] Yom:
Thank you, sir, trying now...
[Nexus One Android Development] Yom:
Kinda different, but still the same :(

So I performed all suggestions from mtw4991 last night, and I was able to run a full TB restore without any soft reboots... but then, if I try to install any apps, either from Market or APKs, the phone reboots with most of them.

Any help would be greatly appreciated!
[Nexus One Android Development] mtw4991:
Clear data in download manager. It is in settings-applications-all.

Also make sure you have the box checked for allow unknown sources in application settings.
[Nexus One Android Development] Yom:
Will try that now. I am attaching a logcat taken while installing an app from market and its subsequent reboot.

Thanks for your help, sir!
[Nexus One Android Development] Yom:
Clearing the download manager data had no discernible effect... phone still bounced when installing an app :(

I also have the "Unknown sources" box checked...
[Nexus One Android Development] mtw4991:
dang, I'm kinda out of ideas. Maybe some dev around here can take a look at your logcat, I'm not that good, lol. sry
[Nexus One Android Development] mtw4991:
just out of curiosity, what is the size(mb) of your /system, /data and /sdext partitions?
[Nexus One Android Development] Yom:
I have tried it with this layout for Frankinstine's ROM:

misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 8M

system ya 250M

cache ya|hr 10M

userdata ya|asize|hr allsize

And this for HyperDroid (GB):

misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 5M

system ya 125M

cache ya|hr 5M

userdata ya|asize|hr allsize

same behavior. I'd blame it on the 32GB SD card, but this happens as well with my spare 16GB...

I have tried 1024MB, 768MB and 512MB ext3's, created via gparted, Acronis, and a last ditch effort when I used CWR to partition the card, losing all my data on it (I had a backup, but what a pain), with and without a 64MB swap partition (an aside question... will Android even use that, and if so, does it help at all?)
[Nexus One Android Development] mtw4991:
Yom, I'm lost and out of ideas, but you don't need a swap anymore. Just set swap to 0. Good luck!
[Nexus One Android Development] Yom:
Sir, I thank you kindly for your help.
[Nexus One Android Development] temasek:
Yom,

Don't mind me saying. Either repartitioning or choose DT apps2ext, not both. There is no reason to.

My opinion.
[Nexus One Android Development] PSeeCO:
Maybe you have answered this question 1k times but I can't find it, what is the swap partition for? Should i create it or is unneeded? How big should it be? Thanks ^^
[Nexus One Android Development] temasek:
Nexus one does not need swap partition.
[Nexus One Android Development] PSeeCO:
Perfect! That was all i need to know ;-)
[Nexus One Android Development] rickh925:
Format and start over suggestions

I'm at a point where I am running out of room on my sd-ext partition and want to change the geometry of my sd card. I'm running CM7 6 with DT A2SD beta 4(see sig). I'm willing to do a full format and reinstall but wanted to know if using some tool to non-destructively change the partition sizes on my sd card would also work.

I also have setup a 512m swap partition that I want to delete in the same process.

Any suggestions or should I just format and start over.

Thanks
[Nexus One Android Development] Yom:
I am afraid I don't understand... don't you need to partition the SD card to use APPS2SD+?
[Nexus One Android Development] Yom:
It is my experience that resizing the ext3 partition will result on the phone not being able to see it anymore...
[Nexus One Android Development] warpaper:
Low Memory Killer Commands?

Anyone can help for what is the different of the Low Memory Killer Commands, which command i should use? :confused:

lowmem-moderate

lowmem-optimum

lowmem-strict

lowmem-aggressive

lowmem-extreme

lowmem-ultimate

lowmem-default
[Nexus One Android Development] warpaper:
convert-ext4?

Will data lost during the conversion? :confused:
[Nexus One Android Development] djmcnz:
Try the two extremes and the one in the middle, whichever works best for you. I use 'default'.
[Nexus One Android Development] :
deleted original post
[Nexus One Android Development] warpaper:
data2sd very slow on CM nightly

I have try to use data2sd in my N1 run on CM7 nightly but turn out the UI response is extreme slow.

Any idea?
[Nexus One Android Development] Wisefire:
- Edit -

Nevermind
[Nexus One Android Development] blahbl4hblah:
Well data2sd will always be slow no matter what phone your using this script on.
[Nexus One Android Development] djmcnz:
May be "slower" rather than "slow".

And it may make a perceptible difference, or none at all.

Depends on phone, card and usage.
[Nexus One Android Development] tkirton:
What kind of error did you get on wifi? The kernels selected may not be loading the modules for the wifi. If that's the case, I'll build you a Geo's rom boot image.
[Nexus One Android Development] ultra99:
It's just I cannot turn on wifi, and in settings under Wifi it says Error. That's it.
[Nexus One Android Development] jokeyrhyme:
I'm using RC1 on a HTC Desire with a CM6 nightly. The default partition scheme on this device doesn't dedicate very much room at all to /data, so without A2SD I'd be all out of space already!

Any chance we can get the default action (running "a2sd" without arguments) to just display the usage information and not do anything? Or maybe the default action could be check or sysinfo or something else harmless?
[Nexus One Android Development] tkirton:
That's appears to be tricky.

There is code in there that is suppose to detect whether you are running it from command line or not (more like if you have already ran the program in boot), but it doesn't always work. The problem is that there's no indicator that says you have already booted (if Apps2SD didn't launch) and are running from command line (technically, when you boot, your phone also runs this from a command line, per se).

But, that doesn't mean it not suppose to work. What is suppose to happen is that if you ran apps2sd in boot and you type a2sd again, it is suppose to tell you that you need a command and then display the help file. But, that doesn't always work.
[Nexus One Android Development] tkirton:
Okay...I have the boot image: http://www.darktremor.com/files/boot/nexusone-geo-boot-signed.zip

However, I stress you should make a nandroid backup on this one before you apply the boot image. The values I was getting didn't look correct, so I'm not sure it is going to boot.
[Nexus One Android Development] ultra99:
Thanks for the effort, but it's stuck at the X icon on boot, plus the phone got really hot.
[Nexus One Android Development] tkirton:
I will get you another one once I get home. I will force the correct value for the boot image and get you a new boot image.
[Nexus One Android Development] ultra99:
thanks, can't wait! :)
[Nexus One Android Development] tkirton:
Okay...forced the correct value in this one: http://www.darktremor.info/files/boot/nexusone-geo-boot-signed.zip

Give this one a try and see if it fixes things.
[Nexus One Android Development] ultra99:
Thanks again! But it's still not booting.
[Nexus One Android Development] tkirton:
Did you clear your browser cache on your computer before you download it? It's possible you're applying the previous version.

Try again, but this time, clear the browser cache on your computer before you download it. This is a common issue with Internet Explorer and Firefox.

If that doesn't work, then I would try to see if the rom developer can add it in for you...or use one that supports Apps2SD.
[Nexus One Android Development] ultra99:
I tried again, but still stuck at boot. :/
[Nexus One Android Development] tkirton:
Hmmmm.....perplexing.
[Nexus One Android Development] ultra99:
Ya, big time!

Is there any solution?

Should I start over? Wipe everything, then install the rom, then your image, then Darktremor Apps2SD?

I really like to use a stock Froyo, but with this option enabled. :)
[Nexus One Android Development] tkirton:
You can try a CyanogenMod rom...that should be Froyo.
[Nexus One Android Development] dsixda:
Hey man,

I am trying to add the new a2sd to my kitchen but am having problems getting it to start up automatically upon first boot on my Nexus One.

I have the same lines in my init.rc as I had in RC1 (when it was working great):

start a2sd
on property:cm.filesystem.ready=1

class_start default
...

service a2sd /system/bin/logwrapper /system/bin/sh /system/bin/a2sd
disabled
oneshot

However, 'a2sd check' is saying it's not started:

# su
su
# a2sd check
a2sd check
[ ] Apps2SD is launching...
[ ] Starting Apps2SD Check Program.
[ ] Searching for Mount Point...
[*] Mount point /system/sd located.
[ ] Checking for ext partition

Darktremor Apps2SD Status Report
===============================================================
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[X]=Setting is incorrect and needs to be fixed.
===============================================================
Partition - [*] Mounted as EXT3

Apps - [ ] Regular directory.
[ ] No Apps2SD Flag File found.
[!] Programs run from Int. Storage.
To run from SD card, type a2sd install.

Private Apps - [ ] Regular directory.
[ ] No Apps2SD Flag File found.
[!] Private Programs run from Int. Storage.
To run from SD card, type a2sd install

Dalvik Cache - [ ] Regular directory.
[ ] Dalvik to /cache flag file not found.
[ ] Dalvik to SD flag file not found.
[*] Dalvik runs from Int. Storage.
To run from SD card, type a2sd cachesd.
To run from /cache partition, type a2sd cachepart.

Swap - [ ] Partition not present.
[*] Swap does not start.

ZipAlign - [*] Running at boot.
To deactivate it, type a2sd nozipalign

Dalvik Heap(MB)- [*] 24m

Low Memory
Killer Settings- [*] 1536,2048,4096,5120,5632,6144
Note: Values are in pages.
1 page = 4KB memory.

Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App

Property Patch - [*] File System Ready property
found.
[*] Boot image init.rc patched.

When I do 'a2sd install', it gives an error:

# a2sd install
a2sd install
[ ] Apps2SD is launching...
[ ] Starting Darktremor Apps2SD Version 2.7.5 RC2 2010-08-09
[ ] Checking for Dalvik Heap Size.
[ ] Starting Darktremor Apps2SD in install mode
[X] Invalid command: install
[ ] Setting File System Ready property to 1.
#

Any idea?
[Nexus One Android Development] tkirton:
I have to apologize for something here. I made command changes in RC2 and didn't document them. They were last minute changes (seems I get in trouble a lot with these "last minute changes") and I didn't put them in the changelog. This has now been corrected and new notices have been put on the first message that explains the command changes.

Over the time that I have been supporting Darktremor Apps2SD, I have had to field issues relating to boot looping after Apps2SD was installed. The problem, most of the time, works like this:

1. User has a rom which doesn't support Apps2SD. User is not aware of this issue, either because they didn't read the rom documentation or the rom developer didn't mention that Apps2SD is supported. It's usually the latter.

2. User downloads a version of Darktremor Apps2SD and installs it. They go through the instructions to setup Apps2SD. However, they usually will also type a2sd install, either because they saw that in the thread somewhere or they actually were reading the help file. Sometimes they compound the issue further by executing a2sd cachesd, which moves dalvik-cache to the SD card.

3. The user reboots, and falls into a boot loop since the rom didn't support Apps2SD. Because the rom doesn't support Apps2SD, Darktremor Apps2SD doesn't run at boot, and the symlinks that are used to store programs are broken.

This also happened recently of another user trying to turn on swap.

Darktremor Apps2SD automatically mounts an EXT partition and, if the apps are not on the SD card, automatically moves them there. This happens at boot.

With RC2, I decided to rename the commands. a2sd install is now a2sd reinstall, as it should really only be used if you do an a2sd remove. a2sd swap is now a2sd reswap, as it should only be used if you ran a2sd noswap.

In your case, the .noa2sd flag file was found on /data, which means you ran a2sd remove at some point. In your case, you do need to run a2sd reinstall.

Also to note, I thought the invalid command was suppose to display the help file? I guess it doesn't. I need to fix that.
[Nexus One Android Development] jonata:
a question ?

can install to cyano 6 RC2 ?

tks for reply and sorry if just asked ...
[Nexus One Android Development] dsixda:
Thanks for the reply, and I appreciate your hard work. Regarding .noas2sd flag, no, I never ran the command "a2sd remove", UNLESS it was triggered somehow in the Cyanogen ROM that I was trying out before (his beta release didn't have apps2sd enabled... Ah, that probably explains it??).

Also, there was a help text info at the end of the 'a2sd check', I believe, it said to run "a2sd install". That would need to be updated to "a2sd reinstall" as well.

Thanks for addressing this issue. :)
[Nexus One Android Development] tkirton:
<banging head repeatedly against nearest hard object>

I completely forgot about the instruction messages in chka2sd and fixa2sd. As soon as I get home, I'll make the fix to those and re-release RC2.

But when you executed a2sd install and that command didn't exist, it should have given you the warning you saw plus display the file apps2sd.hlp. It didn't do the latter.

As for the .noa2sd flag, if the .noa2sd flag was in /system/sd, there is code that will move those flags to /data/.noa2sd. However, I will check my build platform and see if that file exists in it (if it does, it was included as part of RC2, in which case I will remove it and, along with correcting chka2sd and fixa2sd, reissue RC2).

Definitely not on my "A" game lately.
[Nexus One Android Development] llevin:
datasd kills gapps and the launcher

Hello,

I have been successfully using DT on CM7 for some time now. (Nexus1, CM7-RC2, 16GB class2).

lately I started getting "low storage space" warning, so I decided to try datasd. (my card is class2 so I do not want to use cachesd).

I ran "a2sd datasd" from the terminal app. it moved all my apps, then an error message appeared in log and the phone rebooted. After the reboot nothing worked - The Google setup procedure started, as if I do not have any google-apps. but it kept FC'ing after I entered my login. after I selected "skip" to avoid the repeated FC's, It could not find the AWB launcher (built into CM7) so I did not have any home screen. I could not even get to the terminal app to check the a2sd status.

The only thing that saved me was a full wipe and a nandroid restore.

Please advise.

Thanks.
[Nexus One Android Development] D200P13:
any update on the wifi calling with the latest cm7 rc2 and latest DT?
[Nexus One Android Development] paulk_:
Which version of DT is "stable" (no volume problems) and has datasd?
[Nexus One Android Development] CAL7:
I am using b04 and have volume issues. I had been at the stable version of 2.7.5.2 but didn't test WiFi Calling. Is it known to fix (or at least help) the volume issue with unforgiven's Kineto app?
[Nexus One Android Development] jocaferlo:
Today, since this morning I have a message of low internal memory on my N1.

I am running DT 2.7.5.2 with dalvik-cache on sd.

I think with a2sd check all is ok. Isn't it?

Well, all the symbols of legend are the same!!
[Nexus One Android Development] britoso:
Agreed, I tested my internal memory and my sd card, the sd card is much faster.
[Nexus One Android Development] britoso:
Hey tkirton, hows the new version coming along?

Any chance of a quick fix for this issue a few of us are seeing with datasd?

issue: lines like this appear for every single app, making the boot process take 5 minutes or more, every time.

I/PackageManager( 845): Unpacking native libraries for /data/app/com.semicuda.typoclock-1.apk
[Nexus One Android Development] EskimoPie:
I'm having some A2SD weirdness that I don't understand. I'm running CM7 RC2 and DT-A2SD 2.7.5.2-1. I KNOW in the past that I'd converted my ext partition to ext4, but when I run adb shell and run a2sd check, it still says my partition type is EXT2. Additionally the legend seems all messed up. Instead of having an asterisk to list the option, it's 3 weird characters: an upside L, a british pounds symbol, and an o with a couple of dots over it. What is going on?
[Nexus One Android Development] warpaper:
any recommendation of the card class if I wish to use Data2SD

I am using the bundle card, i am not sure its class, but many thanks.

So any recommendation of the card class if I wish to use Data2SD ?
[Nexus One Android Development] mtw4991:
2.7.5.2 doesn't display the ext 3/4 partition, but it uses it correctly. Don't know about the symbol thing?
[Nexus One Android Development] mtw4991:
Stock card is 4gb, class 2. Get either class 6 or 10. Mine is 8gb-class 6 but it clocks out;) at cl.10
[Nexus One Android Development] D200P13:
i am having a ton of failed installs on cm7 rc2 with clockwork recovery 3.0.0.5!
[Nexus One Android Development] :
You need to use a pre 3.0 CWM

It has had issues. 2.5.1.4 is stable

Prefer Amon_Ra 2.2.1 But, use Quick Boot to get to Recovery, not Rom Mgr