yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] EViollet:
a2sd thoughts

Hi all.

Just wanted to post a follow-up on the disk space issues some people are having.

I have a class 2 SD card, so I'm rather concerned with eventual speed problems.

I've tried several a2sd scripts (amarullz, m2sd, stock, etc.) and am currently using the stock a2sd and finding it as good as the others. No speed or space problems whatsoever.

I tried amarullz because it moved data and apps to the sdcard and left only dalvik on internal. Quite frankly I didn't notice that it increased my phone's speed a tiny bit. I never had any space problems though.

I tried m2sd because at one point amarullz no longer worked "out of the box" for this ROM. Tried several configurations (dalvik on SD card, dalvik on internal, etc.), and had disk space problems several times. Full wipe necessary and then the problems came back again.

And so I switched to stock a2sd and have no issue with it whatsoever. Pretty much the same as amarullz.

Now, when I say I had disk space problems, it means that I could not install any application any more. Internal still had more than 140Mb free. And SD-EXT had more than 800Mb free, so clearly there is a problem with m2sd. Maybe the same problem occurs with amarullz which could explain why some people have disk space issues.

Moving back to the a2sd configuration... many people say that in order to get best performance, it's best to leave dalvik in internal. And I don't understand why. Dalvik is written once, but read all the time. So for Dalvik, write speed is unimportant. However, read speed needs to be the fastest. I understand that internal write speed is superior to a class 2 SD card, but reading is faster or equivalent on a SD card, so I really don't think that it should make a noticeable difference.

However, data is written all the time, so that should be kept on internal. Random writes are MUCH faster on internal than on SD cards. As data is written all the time, I believe it should stay on internal.

So, my recommendation would be :

apps->/sd-ext

data->internal

dalvik->/sd-ext

And doing this using the stock a2sd works great : no slowdown, no disk space issue.

The only thing I noticed that really slows down the phone is having lots of stuff running in RAM... So trim it down to a minimum.

Regards,
[Desire Android Development] BartAfterDark:
Did you ever check your catlogs when this happened ?

I had somewhat the same problem and the log said

/data/data/com.android.providers.downloads/cache is below 10% availability stopping this download

This happened with Amarullz.

But good thing you got it working :)

I don't really agree with you having Dalvik Cache on the SD-EXT part, even though my card is a Class10 card the phone feels slower when it is doing I/O stuff ie. installing apps while still using it.

I would recommend Data++ H-boot, that way you have 256Mb of internal storage Dalvik can play around with :)
[Desire Android Development] suiller:
your point is correct but if you have a corrupted partition/card and dalvik relays there your phone wont boot (or better will boot-loop)

anyway, at least for my experience, I didn't noticed performance losses by moving data on ext4 (tried both with class 6 & class 10)

of course using a class 2-4 is a bit different
[Desire Android Development] Sandvold:
I'm going to take the bus from Hoi An to Nha Trang in 1 hour so I won't be available for 12-16h at least.

Btw adf . ly looks like the best wait before downlad ad, anyone know of a better one?
[Desire Android Development] :
Back when I was on Oxygen ROM, it came with A2SD/A2SD+/Data2SD (I forgot which) and I can install a LOT of apps and there was never any storage problem...

anybody knows what kind of A2SD Oxygen has?
[Desire Android Development] mattman83:
Oxygen used A2SD with dalvik and /data on internal. The difference was that oxygen could run on a much more optimised hboot and ics seems to consume alot more internal memory than gb does.

Beleive me, i actually run the oxygen a2sd scripts with this rom, you still burn through memory alot faster on ics.

M.
[Desire Android Development] :
I chose the Oxygen data2sd option during installation, expecting no more storage problems, but to my disappointment i ran into the dreaded "low storage" notification just 1 day after :(
[Desire Android Development] iga2iga:
Touchscreen (pressing and then releasing touch) works very bad (actually does not work at all) in applications such as FatBooth and AgingBooth, just can't adjust face parameters after taking a photo! Can smb. confirm?

Amarulz ad2sdx script needs more work here. It ran very stable on Runnymede AIO V6 by sebastiaan15 (no FCs during one or two months, no reboots), here i have android.process.gapps FCs and then can't launch any app until i reboot the phone. :\
[Desire Android Development] Sklblue:
Is anyone else having random reboots? It seems to happen when I'm not using the phone. Just happened when it was sat on the desk doing nothing. The last thing I did was check twitter on Seesmic.

Other than that and barcode everything else seems fine. Fingers crossed my batteries (spare and usual one) will last me a full day away from power tomorrow (04:00 - who knows).
[Desire Android Development] EViollet:
I looked at the logcat to try to understand why it was complaining and never managed to figure it out.

Logcat didn't say anything unusual in my case. Just that I didn't have enough storage space.

I have CM7r2 and 150Mb free on /data. Suits me... :)

Then again, if you have a corrupt partition, not much is going to work anyway... :)
[Desire Android Development] JDYx:
I've got a class 4 SD card atm do you guys reckon it worth buying a class 6?
[Desire Android Development] BombaUcigasa:
It gets blocked by all adblockers. You just see a countdown and button, nothing else.
[Desire Android Development] Tuborg68:
Ok, I'll keep naggin' bout this: almost daily my phone switches system language back to English from Swedish. What can cause this and is there a fix?
[Desire Android Development] bliblablub:
Got some problems, encountered in 0.5.4 (didn't try before):

If you enable flight mode, restart the phone and want to register in GSM again it always tells me "Wrong PIN" and it it not possible to reactivate the normal state.

If you restart the phone, the display level is always at the brightest
[Desire Android Development] coutts99:
Zero problems with Amarulz here, works absoultely perfect.
[Desire Android Development] :
Wait... when I selected the Oxygen data2sd option during installation, doesn't data2sd means: app, app data, dalvik cache are ALL moved to SD card? So shouldn't internal memory usage be minimal/zero?
[Desire Android Development] mattman83:
Yeah it's not data2sd, just dalvik2sd.

M.
[Desire Android Development] 6chrisp:
This is a really minor thing but given how good this ROM is now, I thought I'd try and solve it:

I chose a specific notification sound for whatsapp messages, and it works fine, but when I get a message while within the app, it plays a completely different sound (which isn't even the default notification sound). Does anyone know if this is a whatsapp problem or something to do with the ROM?
[Desire Android Development] :
Huh but it says "Oxygen data2sd"?

Anyway I'm on 0.5.4 and I'm getting Google Play FCs when I try to push installation from play.google.com on my laptop, this doesn't happen BEFORE I "a2sd install", so maybe somebody would like to confirm before submitting a bug report.
[Desire Android Development] bliblablub:
Its a feature of whatsapp... You got a notification sound (e.g. standard) if you are not at the phone or in another program and another one while you chat...

Main Menu...Settings -> Chat-Settings (the one while texting) and Message (while not in whatsapp)
[Desire Android Development] laving1977:
just for information.

0.5.1 -> 0.5.3 (no wipe) everything worked perfectly -> 0.5.4 (no wipe) wifi isn't connecting. ("Obtaining IP address..." or "Avoided poor internet connection" with full signal strenght). No help from restart, airplane mode, data on/off.

I quess full wipe and clean install would help, but just for records - that is what I got ATM.
[Desire Android Development] bungle2k3:
^ :mad: soooo envious - Im still waiting for mine :D)

how long before you mess with it ?
[Desire Android Development] PoshCat1:
Been running this ROM since about 0.2.

Now on 0.5.2 since it was released without any BSODs so a big thumbs up.

However, is there a way to quickly get my APNs and wifi keys automatically reinstalled please?
[Desire Android Development] sthbr82:
Same here, works fine for a while. Then I start getting FCs. Using Data++ hboot here.
[Desire Android Development] fragargon:
Me to version script rc02 design for désire (détail see sig) about 250 Mb on internal.

M2c
[Desire Android Development] bungle2k3:
I keep getting forced close messages every now and then , but if I click the 'wait' option they normally sort themselves out
[Desire Android Development] mattmanwrx:
Anyone wanna do a small test for me, regarding a transparent status + nav bar (soft keys need to be enabled), please PM me, if not its cool, it can wait for a couple of hours! Thanks.. ;)
[Desire Android Development] gavinchappell:
The "search within thread" is broken, and I can't look through 204 pages for a response.

I installed this release with all stock options, apart from the patched mms.apk. I did a full wipe and Dalvik wipe afterwards. When the phone boots, I haven't got a keyboard. I can't setup my Google account, can't send an SMS message, can't Google Search, can't do anything that needs a keyboard because it simply doesn't appear.

Ideas of how I can fix this? The ROM seems nice and I'd quite like to use it daily, but as of right now it's useless and there are so many posts within this thread with no way of searching them, that I'll never be able to fix this myself...

Cheers!
[Desire Android Development] mattmanwrx:
which hboot are you on? cm7r2?
[Desire Android Development] gavinchappell:
It was recognised as CM7r2, but I'm actually on the Nexus HBOOT from Alpharev. I assume that it was recognised as CM7r2 because the /system is listed as 145MB for both ROMs, it's just /data and /cache which differ. If anything though, my /cache is bigger, so I wouldn't have thought it was down to my HBOOT setup...
[Desire Android Development] mattmanwrx:
You wont need all that /cache, it is probably best to flash cm7r2, and try on that, however, if you want, you can try this package I have just put together for you, I haven't tested it and it could do something wrong!! (doubt it though)
[Desire Android Development] Kink:
I had the same issue after setting up Stock A2SD with a slow SDHC > incredibly slow processing of apps, which always turned to work after 1 if not multiple "Wait" clicks.

I fully wipped and flashed again to make sure A2SD was gone > everything is fast again.

, back in time when I bought that card speed was not an issue and only now that I am starting to tweak, understand Root/CROM and so on, my HTC Desire instead of wasting money on a new slick phone such as the HTC One X have I been faced with the problem.

I have 2 32GB Class 10 on their way :D
[Desire Android Development] super_turbo:
yh i don't mind testing it for you
[Desire Android Development] gavinchappell:
Just about to leave work, but will try tonight. So is it recommended to cut down /cache now? I thought that affected installations of large applications and radio images, etc? I know radios can now be done through fastboot thanks to Alpharev, but what about installing apps greater than 5MB? I don't like having anything on my SD card as I prefer the freedom to swap cards around without worrying about where my apps/cache/etc are located...
[Desire Android Development] mattmanwrx:
well........ /cache would be binded to either ramdisk or to sd card, so install should be fine... If you like to swop cards, then does this mean you wont be using a SD-EXT as the apps that go on there, would need to be moved each time...

As for radios, that is the one thing that would not via flashing, but as you say, fastboot them over! ;)
[Desire Android Development] muellersmattes:
When reinstalling on the cm7r2 hboot, do the full wipe before installing. As some apps are stored on /data, those are wiped away.
[Desire Android Development] super_turbo:
it didn't transparent the status bar or the soft keys, it kind of put a glitched on the status bar
[Desire Android Development] mattmanwrx:
Thanks, will stop trying then ;)

(limited to 8 thanks a day, will say thanks tomorrow :))
[Desire Android Development] super_turbo:
lol, n/w mate
[Desire Android Development] kartnite:
Thanks, mate. I reflashed the rom. Went on to flash this camera.

I see it as a separate camera app. It doesn't replace the stock camera application.

It works. But it does tend to force close the odd while.

Also, I noticed that the auto focus doesn't work despite enabling it under the settings menu.

I guess full/wide screen snaps aren't available for all resolutions either.

Have you faced anything similar, if I may ask?

- Desirously swyped. $xda$
[Desire Android Development] paamet:
try the tiamat kernel.

Concerning disk corruption, it seems as the ext4 is not to blame. Rather it is the vfat, which make more sense as it does not have journalling.
[Desire Android Development] gavinchappell:
Indeed, I don't use anything on the SD card. My reason for using the Nexus HBOOT is to replicate the plain AOSP experience of the Nexus One as closely as possible (I.e. same partition layout, a quite sparse AOSP-based ROM with very few additions, etc). If necessary I don't mind changing, but even on the N1 partition table I've never run out of space on /data so if possible I'd rather keep it as-is if possible...
[Desire Android Development] mattmanwrx:
ok, well let me throw this is in the mix now - Evervolv build this rom (well they have the source) and they also build a rom for the N1, it doesn't fit on the n1 hboot, so they have been asked to flash another one

taken from here - http://xdaforums.com/showthread.php?t=1366897

So, they actually increase their /system size, and decrease the /cache size... ;)

We have a lot of hboots, and the aroma installer helps with that, but isnt actually made for the n1 hboot... I was (have a one X now :D) on stock hboot and used a2sd and everything was fine.. If you dont want to use a2sd then I would suggest using cm7r2, however, as half the apps go onto /data anyway, you may only be able to install a certain number of apps (not many) :)
[Desire Android Development] i.amtom:
Videos sometimes show a screen of different colours that have been stretched, green the most noticeable. Is this known?

And what does setting the checkjni to 1 do? All it does is stops some apps from working for me, so I have to set it back to 0 manually. Of course I'm talking about the ro.kernel.checkjni=? In build.prop.
[Desire Android Development] jurica_m:
Yes, I also have bug with video, same like you. Also bug is with some game or apps - touch doesn't reacting (Angry Birds)
[Desire Android Development] paamet:
or linux old fashion

fsck.vfat /dev/sdX -a (As root)

This way you can hopefully recover some data on the msdos partition.
[Desire Android Development] Harthouse:
How to flash newer ROM over existing (0.5.4 over 0.5.3) without loss (settings)? I'm coming from MIUI 2.3.30 (Gingerbread ROM), with constantly updates. I'm sorry if this is stupid question... :(

Also have some flickering effects in Youtube videos (with HQ enabled). :cool:
[Desire Android Development] Souldrinker:
I'm currently having issues with installing two apps (BlueStacks Cloud Connect like 400kb and BankDroid 1,15mb). While these gives me a message about no space available to install I could still upgrade Angry Birds and Google+ which are much larger in size.

When checking in 4ext I have the following space:

mount point Device size free

system mtd3 145.0mb 12.8mb

data mtd5 287.6mb 127.7mb (dalvik on internal cm7r2 hboot)

cache mtd4 5.0mb 4.1mb

sdcard fat32 13.3gb 2.2gb

sd-ext ext4 1537mb 831.2mb (data on ext)

I'm using the stock a2sd script with data and apps on ext and dalvik on internal.

What can be the issue? Why could I upgrade big apps, but not upgrade the small BankDroid or install the bluestacks cloud connect? Any ideas. I can't see anything being full? Or is it a problem with the small cache?
[Desire Android Development] paolo-red1:
To update from 0.5.3 wipe cache and dalvik, flash rom, reboot.
[Desire Android Development] Harthouse:
Did that (+ battery stats), but I've lost everything (apps + data... all settings), as I said... It appears like installed a clean/fresh ROM. OK? :confused:
[Desire Android Development] mld0491:
All I did was literally flash it, and no settings lost :confused:
[Desire Android Development] wildcheese:
I think you can just install without wiping anything. Thats what i did and it works perfect :)
[Desire Android Development] ppcHpUser:
I wipe cache+dalvik, and I keep my apps, data and config.
[Desire Android Development] paolo-red1:
Probably you change some settings in aroma installer, like a2sd script in use. If you have a nandroid restore it and flash over it.
[Desire Android Development] Holzi001:
@Harthouse:

Reboot Phone again! Then all Apps should be back on the Phone!
[Desire Android Development] Harthouse:
Hmmm... Without regular updates used to know (not full ROMs), think I will stick to 0.5.3! Thank you all, anyway!
[Desire Android Development] Souldrinker:
I did a a2sd install and selected to put both appdata and dalvik on sd-card (leaving nothing on internal) and then I could install the two small apps I had issues with before.

But I would like to have either the dalvik or appdata on internal. Dalvik seemed nice and fast, but I didn't think the cache partition and dalvik was linked (which it seems it was?), and if I change to have the data on internal instead I suppose a2sd nodatasd will just set the flag and not move my actual data, making me have to wipe/reinstall?

If I decide to move back dalvik (nocachesd), is there a way to still have enough space for market to install apps?
[Desire Android Development] jurica_m:
I had also problem with space on internal memory. I have activated stock a2sd with terminal emulator, n for dalvik and cache, reboot and nothing. Internal storage was same size like before. Then I download this script: http://xdaforums.com/showthread.php?t=715940 and flash in Recovery. After that I have a lot of space. Maybe that will solve your problem. I don't know ...
[Desire Android Development] Souldrinker:
Isn't the stock a2sd and updated version of darktremors script? And the size of the internal storage should remain the same even though the free space increase when you move stuff to sd.

But as I wrote I do have 128mb out of 288mb free on internal, so it seems it's not internal, but cache that are getting full when dalvik is on internal?

But maybe you're right that the stock script has some issue that darktremors has not?
[Desire Android Development] Harthouse:
I'm using this script:

Mount2SD - An All-in-one to sd-ext script

but v2.2.6-aroma, cause with v4.2.0-aroma some issues reported!
[Desire Android Development] brankoni33:
does need install ROM again after replace new digitizer?
[Desire Android Development] mattman83:
Not as far as I know. If it's not working, then there's probably something wrong with the digitizer.

M.
[Desire Android Development] dravenSt0rM:
Hey guys check this out:

http://www.gsmarena.com/htc_golf_leaks_out_in_a_press_image-news-4092.php
[Desire Android Development] gab_hamelin:
What that link?

Envoyé depuis mon HTC Desire
[Desire Android Development] m_primdahl:
Danish dictionary bug

I'm still not able to use the danish spell correction after installing 0.5.4 :(

And I've tries everything I could think off, but maybe some of you have a good idea. :p

I've wiped everything and done a clean install every time.

I-m trying to keep the install as stock as possible, so the only things I've changed under install in the dictionary choice and the ro.kernel.checkjni.

I've installed the rom with every possible combination of these two choises, but nothing gives med the danish spell correction.

I've even tried flashing the dictionaryfix.zip posted earlier in this thread every time (after trying the spell correction). I've even tried clearing Cache and Dalvik when flashing this fix, and still nothing...... :(

Is the danish spell correction working for anyone?

If so, what is your exact install and procedure?

Anyone having a good idea to that I'm doing wrong?

All help is greatly apreciated!! ;)
[Desire Android Development] K900:
No. Just answering.
[Desire Android Development] leinad:
Hi.

Would it be possible to add MD5 sums ?

This could avoid any problem in case of download issues ...

BTW, thank you to all devs for the amazing work !
[Desire Android Development] neoKushan:
And nobody's discussing cm7. However, people are discussing the ICS build which is designed to fit inside the cm7r2 HBOOT, which has differing partition arrangements.
[Desire Android Development] exocetdj:
email sent to qualcomm (from work and personal email)
[Desire Android Development] ABATAPA:
Full wipe and dalvik in main memory (as default) fix it.

I am try (in adb shell):

# mkdir /sd-ext/1

# cp -a /data/dalvik-cache/* /sd-ext/1/

Reboot, and move dalvik cache to SD (A2SDGUI).

Then, reboot into recovery, and do:

# mount /sd-ext

# cp -a /sd-ext/1/* /sd-ext/dalvik-cache/

Reboot again.

But volume low. 8(

If I move the dalvik back into main memory, and copy kept files back, volume is normal.
[Desire Android Development] noone606:
fair enuff
[Desire Android Development] coutts99:
Ok,

Install rom, flash kernel, boot, move dalvik to sd, you lose volume.

Reflash rom over top (don't flash anything) volume comes back
[Desire Android Development] kzakhar:
This is very weird. Does dalvik stay on SD after this?
[Desire Android Development] tsiftsism:
I have no problems with 0.4 CM7R2 and Wi-Fi. It works flawlessly.

Two questions:

I am with 0.4 and i moved cache to sd via an emulator. If i flash the 0.4.1 without wiping, the cache still remains into sd or i have to move it again?

I read before that some of you are having grey icons (Wi-Fi, antenna signal etc.) in notification bar. Because i'm meeting the same issue myself and i didn't find any answer in this thread (maybe i missed it), is it a rom's issue or it's ICS' feature?

Ps. For all of you want to sync Facebook with Gmail Contacts, you can try the application called Contapps (free app on Marker). It's both a contact and dialer application (you don't have to use it, you can keep ofcourse ICS' contact app and dialer) with a feature to sync Facebook with Gmail Contacts. The photos seems to be in high resolution, and if it's not it surely gives you the best resolution of all other apps i found searching on Market.

Hope it works to you too..
[Desire Android Development] coutts99:
Yes

10char
[Desire Android Development] ABATAPA:
Yes, this work!

# ls -ld /data/dalvik-cache

lrwxrwxrwx root root 2011-12-08 13:16 dalvik-cache -> /sd-ext/dalvik-cache

Volume is Ok!
[Desire Android Development] Ruwin:
But don't you loose the kernel when flashing the rom on top?
[Desire Android Development] coutts99:
ah yes good point, probably why it fixed it :)
[Desire Android Development] Ruwin:
That's what i was betting on too. I could try to flash xloud, that might (and by "might" i mean a very low chance to) fix this. Let me bkp and test. Brb.

Later edit: no luck. Either new kernel or normal sound. Anybody else?
[Desire Android Development] Sandvold:
Alpha_0.4.1_cm7r2.zip - 106.3 MB

cm7r2
[Desire Android Development] sroy001:
Please upload to a free website.. after trying to download a couple of failed attempts now it says "Sorry you've reached your daily download limit" !!!
[Desire Android Development] TheYang:
got several random reboots today

pastebin of last_kmsg
[Desire Android Development] Ruwin:
Hmmm never happened. It seems that the system is calling a restart. That might happen because of a CPU change state fault. I'm not pretty sure.