yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] richua:
Are you using a Patriot card?

I contacted Patriot support today regarding my dead card and here's what the rep had to say:

"We have found that there is an industry wide compatibility problem with the new Android based and Windows 7 phones working with 16/32GB class 10 micro SD cards. We have seen issues with the Samsung Focus, Motorola Driod/X, HTC Evo 4g. We are currently working on a solution for this compatibility issue. Google and Microsoft have stated that there are known compatibility issues with 16/32GB class 10 micro SD cards and are working on a solution as well. We have found a fix that works in many cases, where you format the card in a Windows based PC, with FAT32, allocation size 32kb, and full format. This is not an official fix, but troubleshooting steps that has worked in many cases, we are still working on a permanent solution for this issue."

I got my card on Newegg and there's tons of ratings where people say they have had to return the card. If you are using a Patriot card, I would back up to your computer immediately and after any major changes, and probably also keep an eye out for good prices on other cards. My card literally died while in use. I got my datasd set up and everything was fine, rebooted in recovery to make a nandroid and boom, it was gone. Unrecognizable by my phone or computer.
[Nexus One Android Development] mynameisjon:
yikes... I am using a patriot LX class 10.

I've had a few scares where the PC would ask for a format before use, but a quick remount fixed it...

I've been wondering why my nandroid backups sometimes never complete... this is annoying...

on a side note, 2.7.5.2 doesn't include support for ext 3 and 4 conversion? I'm still on Temasek's modified 2.7.5.2.

@Temasek, will I need to flash your modded 2.7.5.2-1 to use ext3? is that version affected by the low-volume prob?
[Nexus One Android Development] gtrplr71:
Sorry for the question I have been out of the game for a while and I need a little help I flashed DT after going to CM7. How do I move my apps I am used to auto A2SD.
[Nexus One Android Development] temasek:
Read the following post

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

http://xdaforums.com/showpost.php?p=12533976&postcount=1314
[Nexus One Android Development] temasek:
u can use any ext partition on CM7 with any DT release.

As for the low volume bug, affects 2.7.5.3 betas only
[Nexus One Android Development] gnlcp:
hi everyone. I have this big problem..

i'm becoming crazy but when I try to move data to my ext4 partion (8gb sd card, class 6), after one day or max2 on the first reboot my phone loses all the settings and starts with the initial setting screen (tap the droid etc).. Moreover most of my apps crashes.

what do u think could be the problem?.
[Nexus One Android Development] temasek:
DT 2.7.5.3b4 will occupy quite a bit of /system space and with CM7 getting bigger by the day, your /system partition may be insufficient to use.

Your symptoms MAY be because of insufficient /system storage and thus DT was unable to completely copy its files and configure itself.

Solution:

Move unnecessary system apps out of /system to /data partition. Once done then start your DT operations.
[Nexus One Android Development] gnlcp:
can u explain me how to move system apps from /system to /data partition? simply via root explorer cutting and pasting?
[Nexus One Android Development] crawler9:
One method that would work would be to uninstall the app with something that can remove system applications such as titanium backup and then reinstall it from the market or from an apk.
[Nexus One Android Development] gnlcp:
mm got it.. so u suggest me to unistall via titanium backup some system apps like browser or market and install them again so that they automatically install to ext and system storage remains free?
[Nexus One Android Development] temasek:
crawler9 says it all
[Nexus One Android Development] crawler9:
I'm not sure how that'd work. It's probably safer to choose apps that are available in the market such as Google Maps, Goggles, Books, Terminal, ROM Manager, File Manager... you get the picture. Having apps like that stored on /system is rather pointless anyway because after they've been updated, they take up the original space on /system as well as the updated version on /data or /sdext.
[Nexus One Android Development] temasek:
I'm not 100% certain your case is because of insufficient /system storage but that's my bet. What is needed is to let go maybe 1 or 2 big size apps in system, maybe Google Map or something big.

DT needs to install its files into system partition and with that it will then conjures its magic and mounts your EXT partition properly. If DT unable to have 100% of its files in place then there wouldn't be chance of mounting your EXT partition, hence your "lost of apps" upon boot.

That's my conclusion for your case.
[Nexus One Android Development] gnlcp:
yes, but thinking carefully, if the problem really was this, I should not have this problem with data2ext (http://xdaforums.com/showthread.php?t=864174&page=18) cause my ext4 partition is seen by the phone as internal memory, so there won't ever be lack of memory in system app.. am I in wrong?
[Nexus One Android Development] temasek:
You are NOT right, sadly.

DT will never symlink /system/apps/ to EXT partition, whether u use a2sd only or datasd in DT.

DT or any other a2sd apps/scripts will only "move" the following to EXT partition (or symlink is the correct word to use)

1. /data/apps/

2 /data/private-apps/

3. /cache/dalvik-cache/

4. /data/dalvik-cache

DT or any datasd scripts will "move" or symlink the following to EXT partition if u use datasd

1. /data/data

Also note that when we say INTERNAL storage, it refers to your /data partition and NOT /system partition. So don't confuse this term.
[Nexus One Android Development] crawler9:
If you'd like to find out for sure how much room you have free on your system partition, open terminal and type

su
df /system

Here's mine:

$su
# df /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock3 148480 126628 21852 85% /system

That means I have approximately 21mb free.
[Nexus One Android Development] gnlcp:
so the difference is that system apps (at the beginning) stay in /system/app while what I install after the script (wheather DT or DATA2SD) goes to /data/apps (which is moved to the ext partition).

so if I unistall some system apps from /system/app and install them from market or via apk they will install to /data/apps and so my system folder remains free, avoiding lack of memory.. is it right?
[Nexus One Android Development] temasek:
U got the theory right.
[Nexus One Android Development] temasek:
U shld have enough for DT.

Now I wonder why u can't mount. Did u remember to flash DT script after flash of a rom before u reboot?
[Nexus One Android Development] abhi0n0nakul:
so does it work with cm 7 stable or is it included(i dont think so)?
[Nexus One Android Development] temasek:
It is not included in CM7 but it is CM7 friendly. Its like an addon function.
[Nexus One Android Development] crawler9:
I know I do. We're looking for the other person's info lol. I was just giving an example of what to expect.
[Nexus One Android Development] gnlcp:
I flashed my rom again and via TItanium backup I restored all my previous apps..

the situation in /system is this

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/mtdblock3 148480 123856 24624 83% /system

I remember that previously via Quick System Info the amount in System Storage was 1,5/2 MB free.. so that was the problem.. Definitly got it!! :) :)
[Nexus One Android Development] crawler9:
Glad ya got it working gnlcp.
[Nexus One Android Development] gnlcp:
yes, but what finally is missing to me is why /system/app becames bigger with time if every app I install goes to /data/app?
[Nexus One Android Development] temasek:
Omfg crawler9! I thought I replied the other guys post.

ROFL. :D
[Nexus One Android Development] temasek:
Ah ha! So basically insufficient /system storage was your issue.

Cool! I strikes jackpot! Bingo :)
[Nexus One Android Development] gnlcp:
yes definitly :) I thank u for your support ;)
[Nexus One Android Development] temasek:
Cm7 rom is getting bigger and bigger.
[Nexus One Android Development] crawler9:
Mine doesn't change size. Maybe you flashed something else that was taking up room on /system?
[Nexus One Android Development] tkirton:
I believe you can, but you may run into a boot loop due to an overrun condition. CM6 is using /system/bin/sysinit script file to launch apps2sd rather than the old CM method of launching it from init.rc.

I'm experimenting with a CM6 build for the Sprint Hero, so I should have a new resolution for 2.7.5 RC3
[Nexus One Android Development] djmcnz:
I have it working perfectly in Kang-o-rama 1.0 which is CM6 RC2...
[Nexus One Android Development] spuniun:
So eViL's Q&D HTC Sense v.1.00 - base 2.09 Desire 720p video [8/09/10] currently contains a broken version of a2sd+ in it. If you have an ext2/3/4 partition on your sdcard when booting this ROM, it automatically mounts and creates the a2sd symlinks, but then the system FCs core services incessantly and renders the system unusable. The only solution is to remove any ext2/3/4 partitions from your sdcard. We have been asking eViL to fix it, but he seems uninterested in supporting a2sd for the simple reason that he doesn't think it's necessary with froyo's native sd support (an argument not worth getting into with him). Therefore we have asked that his broken a2sd be removed so we can work on our own solution but I'm not sure that will resolve the issue of his ROM not supporting it.

I removed the ext3 partition from my sdcard and flashed eViL's ROM, booted successfully. Uninstalled Adobe Flash to make room on /system partition and rebooted to recovery to flash Darktremor's Apps2SD 2.7.5 RC2. Installation was successful but rebooting into ROM, all system services FC including Gmail, HTC_IME, Titanium, etc. This is before repartitioning the sdcard so there is no ext3 mounted at this point.

Is there anything further that I can do as a lowly user to try and get a2sd working or am I at the mercy of the ROM developer?
[Nexus One Android Development] ChronoReverse:
I hope there isn't an FAQ for this already that missed:

(1) Is there a maximum recommended size for the ext partition?

(2) What are the differences between ext2,3,4?
[Nexus One Android Development] king_dani:
problem with r21

hey all ,

so i formatted and ext2-ext3 ed the SD card, and used r21 with A2SD(pre-baked) , and flashed DarkTremor's zip file via recovery, but programs seem to continue to install in internal memory.

what have i done wrong?
[Nexus One Android Development] jokeyrhyme:
Once you have flashed DarkTremor, you actually need to activate it.

Boot up your phone normally, then from adb shell or Terminal run "a2sd". There is a bunch of arguments you can specify for more control too.
[Nexus One Android Development] king_dani:
so i did it right up to now? should i copy some files to ADB folder? is there any how to tutorial so i can control it?
[Nexus One Android Development] tkirton:
If you have to do that, you have a problem.

Apps2SD should run at startup. Running the a2sd command by itself may move files to the SD card, but it will possibly create a boot loop because Apps2SD won't start on next boot.

You need to look to see if your rom is actually starting Apps2SD on boot.
[Nexus One Android Development] tkirton:
I'll take a look at it...maybe I can figure out what's going on.
[Nexus One Android Development] Stea1thmode:
Hi,

I ran your script for the first time on eVIL'e Sense Rom and had apps2sd running without a glich. However, I had problems restoring Nandroid backup, I got stuck on the splashscreen.

any explanation for this?

Thanks in advance.
[Nexus One Android Development] spuniun:
eViL fixed a2sd in his latest 1.0.1, but thanks anyway.
[Nexus One Android Development] tkirton:
I don't know if the two are related (never had that issue)...

What kind of problem are you having with the restore process?
[Nexus One Android Development] tkirton:
Okay...I looked at it and couldn't figure out why it wasn't working. I think I may have downloaded the 1.0.1 version. :D
[Nexus One Android Development] tkirton:
Bump...new version released (2.7.5 RC3)
[Nexus One Android Development] Stea1thmode:
I performed a backup and upon reboot the phone frozed at the x screen, is it because I also enabled cache 2 sd?
[Nexus One Android Development] cdw9800:
would this work on cm6 rc3?

edit..... nevermind didnt work
[Nexus One Android Development] gupta.keshav94:
:confused:

I tried 2.7.5 RC2 with CM RC3.. and it works .. :D
[Nexus One Android Development] tkirton:
Usually that's the cause. Unless your backup system actually saves the dalvik-cache directory on the SD card, it will get lost (there is suppose to be code to fix that sort of thing, but I guess it's not working...I'll have to look into it).

See if you can get into an ADB shell. If you can, type a2sd nocache and that should work.

If it doesn't, then it is something else which will require further investigation.
[Nexus One Android Development] ratson:
I have just realized that this one can set minfree values based on the presets I defined for AutoKiller. nice one :)
[Nexus One Android Development] dextroz:
God must have many faces!

Thank-you!
[Nexus One Android Development] temasek:
Np............. :)
[Nexus One Android Development] gnlcp:
mmm ok, I have to be carefull now.. I need to check constantly the amount of /system/app for avoiding that big big problem.. I will free the system folder unistalling some apps.

thank u all for ur support
[Nexus One Android Development] crawler9:
It's always a pleasure to be able to help people out.
[Nexus One Android Development] Robdyx:
Sorry for insisting on this, but....
[Nexus One Android Development] temasek:
No unless the script is changed to copy the files to respective folders.

It is easy though. But why bother when u only have to do that only once (libsqlite.so and the backup txt)
[Nexus One Android Development] Robdyx:
I thought it had to be done every time you flash a new ROM

Thank you, mate!
[Nexus One Android Development] shockaholick:
How do you know if A2SD is working?

Hey All!

How do you know if A2SD is working?
[Nexus One Android Development] richua:
In terminal, run "su" to get root and then "a2sd check." The output of that will tell you if there are any errors.
[Nexus One Android Development] shockaholick:
Hey Richua...i've done that..but i'm such a noob..i dont know what the hell i'm looking at...let me try to post a screen shot...

Also...what do you use? I just want to have free memory internally because I use a lot of apps..

https://picasaweb.google.com/106809...hkey=Gv1sRgCKKZntDxzfbmFQ#5594832636706878530

https://picasaweb.google.com/106809...hkey=Gv1sRgCKKZntDxzfbmFQ#5594832624453252706
[Nexus One Android Development] richua:
A screen shot would help.

I also use DT A2SD to help free up internal memory. Once you get things set up correctly it will work without you doing anything.
[Nexus One Android Development] temasek:
GUI APP for DT

http://xdaforums.com/showthread.php?t=991684
[Nexus One Android Development] richua:
I meant to ask you, are the "low memory settings" in DT the same as low memory settings like if you are using an automated task killer? I can't find a good explanation of it anywhere.
[Nexus One Android Development] shockaholick:
Hey Richua,

Let me know if that helps..just click on the links
[Nexus One Android Development] temasek:
Not really a task killer. Its a low memory management and its predefined into several categories. I use "optimum low memory settings". If u go to that GUI FOR DT app under About/Help, u can click low memory killer and find the exlainations for all its pre-defined categories.
[Nexus One Android Development] shockaholick:
Hey Rich let me know if my a2sd looks okay here are the links

https://picasaweb.google.com/1068099...32636706878530

https://picasaweb.google.com/1068099...32624453252706

also..i hate being such a noob..but what does dalvik cache do exactly? I was looking at the GUI that was posted and trying to figure things out...
[Nexus One Android Development] temasek:
What is dalvik-cache?

Simple explanation:

When Android starts up, the DalvikVM looks thru all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimize the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimized bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's reoptimized and the cache is updated.
[Nexus One Android Development] richua:
Ah, I see. The optimum settings are the same in DT as they are in Autokiller, the memory management program (but also not a task killer) that I use. I've left the memory settings in DT as default.

Looks OK for apps. If you are still running out of space, you can run "a2sd cachesd" to move your Dalvik to SD.

Dalvik cache:

When Android starts up, the DalvikVM looks thru all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimize the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimized bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's reoptimized and the cache is updated.
[Nexus One Android Development] richua:
Haha we posted the same thing. :)
[Nexus One Android Development] shockaholick:
Thanks guys...would I run the dalvik cache command after I install all my apps..or does it matter when I run the command?

Oh, and thank you for explaining things...

My available internal memory states I have 141 mbs...so hopefully its working..i still need to install my apps from titanium backup...but I keep getting issues when I install them with system data...it's pissing me off! lol Everytime I do install them, I reboot and I get stuck in the boot animation...very weird!
[Nexus One Android Development] temasek:
It was in my bookmark. :)
[Nexus One Android Development] richua:
You can run it now and it will move your Dalvik over and reboot. Then you are set. It's a command you only need to run once. After you run the command, if you install more apps, they will be handled automatically without your input.

If you choose to flash a nightly or something (same ROM), flash your DT script along with it and that's all you need to do. If you switch to a new ROM, you will have to run DT commands again.
[Nexus One Android Development] J.L.C.:
My phone is flying with the modified libsqlite, lowmem-moderate and datasd.

Is sdcard speed fix an app or a script?

Thanks guys!
[Nexus One Android Development] CAL7:
Nandroid backup of SD-EXT

With applications installed on SD-EXT, should all my backups include SD-EXT?

If I don't backup SD-EXT, does a nandroid restore still work? Seems like mixed versions would conflict if the old SD-EXT is not restored.
[Nexus One Android Development] temasek:
There is an app for it, a script for it and also u can manually just change a file.

I use SD Card Speed Booster to enable upon every boot the desired read ahead buffer.
[Nexus One Android Development] temasek:
I haven't tried that myself but I think a full nandroid is safer.
[Nexus One Android Development] mynameisjon:
does converting ext2 to ext 3 and ext 3 to ext 4 wipe the ext partition?

if so, would an ext nandroid at ext 2 and a restore when i've converted to ext 4 work?
[Nexus One Android Development] temasek:
My understanding is conversion of ext partition will not wipe its data. But to be safe pls do backup your ext partition in case I am wrong :p

A nandriod backup of ext2 (example) and restore to ext4 partition is possible
[Nexus One Android Development] borisblack:
Hi guys, need your help with following. So I flashed CM7+DT Apps2SD 2.7.5.2 yesterday (used CM6.1.1) & now have problem with my SD when entering Gallery & Camera – it says ‘SD not found. Insert SD’ Using file managers (EStrongs) I do see SD & my files on it, can install apps from it & run mp3. Here is way I’ve done everything.

Entered Recovery (RA 2.1.1) Partition SD (swap = 0, ext 256) than done ext2 to ext3 – reboot

Entered recovery

Done all wipes

Flashed CM7 & gapps

Flashed DT Apps2SD

Flashed kernel (IR kernel 2.6.38.2_CAVS-CM7-NOBOOST_CFS_20110409_2349)

Rebooted, done all google apps install

Entered Terminal – a2sd reinstall, a2sd cachesd – reboot

After all that everything worked fine until I entered Gallery - ‘SD not found. Insert SD’ – the same when starting Camera. Can you tell me where is my problem & also give me the list of strict commands what shell I write in terminal after flashing (can do new flash if needed) to have my apps installing to SD & Dalvik using SD as well. Or tell just tell me how is better with all I want to get as a result.

Thanks in advance

Sorry, my phone is Nexus One
[Nexus One Android Development] temasek:
Your camera and gallery issues may not be related to DT at all.
[Nexus One Android Development] borisblack:
before rewieved flashing i half a day used cm7 without a2sd & everything was ok - camera worked i used gallery to see taken pics, than done new flasing with a2sd & got such problem. Anyways how can i be sure it is not A2sd? Also list me please comands i shell use next time in terminal to have my apps installing to SD & Dalvik using SD as well.
[Nexus One Android Development] richua:
Try wiping camera and gallery data.

You don't need to run "a2sd reinstall" if you flash DT with each ROM flash. Also, "a2sd cachesd" only needs to be run once per ROM assuming you flash DT after each flash of the same ROM.
[Nexus One Android Development] temasek:
Read these post

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

http://xdaforums.com/showpost.php?p=12533976&postcount=1314
[Nexus One Android Development] borisblack:
thanks for responding. so all i need to do after new installing is to write in terminal - su

a2sd cachesd

how can i check which ext i have on my sd, ext2 or ext3?
[Nexus One Android Development] temasek:
Android may report wrongly your type of ext partition. Eg, you may be using ext4 but android reports as ext2. If u use clockwork to partition, I believe it creates ext3 type partition.

If u use linux u may use gparted, or if u a windows user you can use any disk management software to check your partition type.

I use Acronis Disk Home Manager in windows to partition my sd card to ext3 then use recovery to upgrade to ext4.
[Nexus One Android Development] miguelm75:
write su and then mount in terminal emulator :-)
[Nexus One Android Development] borisblack:
did not helped

temasek i use amon-ra recovery for that, but also will try Acronis
[Nexus One Android Development] borisblack:
it says sd-ext type ext2 but i'm sure i've done ext2 to ext3 in recovery :mad:
[Nexus One Android Development] temasek:
I did say Android MAY report your ext type wrongly. So its better to mount your sd card to pc and check via linux's gparted (or similar utility) or windows' 3rd party disk management software.
[Nexus One Android Development] miguelm75:
i did the same and after once or twice rebooting mount command showed me ext4 partition. don't know why (upgraded partition in AmonRA recovery).
[Nexus One Android Development] TheNewGuy:
I am trying to get the libsqlite.so working for me on my G2... I know this is the wrong forum but most your advice has been able to apply to me as well. However when I move the. so file to /system / lib I just get a bootloop... Is it a problem on my end or is it the wrong lib for the G2?

Thanks for your time.
[Nexus One Android Development] djmcnz:
Who knows? Logcat knows!
[Nexus One Android Development] temasek:
Deleted ....