yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Bumble99:
I use an app from the market called "Fast Reboot". It refreshes all apps and frees up memory. I first stated using it as in the older releases of Oxygen we suffered a problem where the launcher would go a bit haywire after playing an intensive game. Running this app fixed it. This launcher problem is gone but I still occasionally use this app when I think the phone is a bit laggy. It only takes a second or two to reset your phone to the state it was when you first booted up and is much quicker than a reboot. Thought I would mention it as task killers seem to be the topic of the day.
[Desire Android Development] Ninsassin:
I was wondering where I could find the languages are stored in the rom. I feel like saving space by only having the language I need. I tried a google search and looking at the zip file myself but had no luck.

thanks
[Desire Android Development] mattman83:
No point unless your trying to put additional apps into /system manually. Removing languages will not give you any more user accesssible memory.

M.
[Desire Android Development] Ninsassin:
Okay, fair enough. Is there anything else I could remove though to get more ram?

I already removed the unneeded apps in system/apps.
[Desire Android Development] mattman83:
Ok wait... what type of memory are you trying to free up?

If you're after app storage space you could set up an A2SD partition which will (in a sense) extend your app storage to your SD card. There's plenty of tutorials around on this, Oxygen uses the simplest A2SD method so it's much less complex that some solutions and easier to set up.

If you don't want to rely on an SD card you could do what some of us do and flash the Oxygen HBOOT from www.alpharev.nl. Be aware this will mean it's harder to move between roms as it does limit space for the OS and alot of roms won't fit - but if you're a committed long term Oxygen user then it'll extend your internal memory from 147Mb to 330Mb.

Deleting stuff out of /system won't accomplish alot as it's not normal user accessible memory. Sure, you can play it the hard way and move apps there manually but it won't help in the slightest for general data storage as the space is separately partitioned off just for the OS.

If you just want less background apps so you have more free RAM (your last post makes it a little unclear what you're trying to do) then my simple suggestion is not to worry about it. Android OS has very good memory management. It works differently to what most people are used to with windows XP etc, it's more like Vista/Win7 where it will keep regularly used apps in memory just in case you want them - but will also instantly dump them if they aren't running actively and it needs the memory for something else. Unlike older versions of windows - having most of your ram in use actually isn't a bad thing, the Desire has plenty of RAM to handle even heavy app usage.

M.
[Desire Android Development] zsero:
The newest one from the first post. I did wipe data + cache + Dalvik. Using Oxygen HBOOT.
[Desire Android Development] puredesire:
Those of you who use Oxygen what are your sms / mms app? Or do you use the built-in? Find no place where you can change the avatar of myself in the built-in sms app.
[Desire Android Development] AzureusPT:
Right now I'm using GO SMS Pro, but I believe Handcent SMS also lets you customize your avatar.
[Desire Android Development] mattman83:
No worries, I'll have a double check on mine tonight.

I know it's slower than other roms, but didn't think it was *that* slow ;) If you have alot to copy then you can pop it into recovery and mount as usb and it'll go full speed there. Something in the kernels makes it not so fast though... could try experimenting with kernels.

M.
[Desire Android Development] AzureusPT:
We have tested speeds on ClockWorkMod thread and found that with kernel 2.6.37.6 via CWM recovery 3.1.0.1 we get more than 5Mb/s

Don't really know why many ROMs have low transfer speed, but as mattman83 suggested, use recovery for big transfers.
[Desire Android Development] AlxMAX:
I have this problem too with an ADATA SD card of class 6 and 8 GB capacity, with 2 partitions: 7 GB of FAT32 and 1 GB of ext4. I have tried various configurations:

Boot Oxygen normally and copy a big enough file (usually, around 60 MB) from PC to phone via the mass storage mechanism. The transfer rate is about 700 kB. I have noticed the second SD partition was mounted after the USB mass storage activation. I have also noticed the USB mass storage activation stores /dev/block/vold/179:0 in /sys/devices/platform/usb_mass_storage/lun0/file (a linux PC mounts both the SD card partitions: the first as vfat and the second as ext4).

Boot Oxygen normally and copy a big enough file (usually, around 60 MB) from PC to phone via adb push. The transfer rate is about 700 kB.

Booting in the Amon_RA 2.0.1 recovery (it has a 2.6.35 kernel) gives a transfer rate of around 1.1 MB using both transfer ways.

Booting in the ClockworkMod 3.1.0.1 recovery (it has a 2.6.37.6 kernel) gives a transfer rate of more than 6 MB using the mass storage mechanism. I have noticed that no SD card partition was mounted after the USB storage activation and that the /dev/block/mmcblk0p1 string was stored in /sys/devices/platform/usb_mass_storage/lun0/file at the USB mass storage activation.

I have also tried to align the partitions according to the SD memory cluster but without luck.
[Desire Android Development] :
Just in case anyone else is wondering, I looked at the logs which were sent and it's actually a soft reboot which is occurring, not a hard reboot.

What I do see in that log which is interesting is the following:

[25017.907012] mmcblk0: error -110 transferring data, sector 24960, nr 19, card status 0xc00
[25018.026031] mmc1: Data timeout
[25018.026184] end_request: I/O error, dev mmcblk0, sector 24960
[25018.026275] end_request: I/O error, dev mmcblk0, sector 24968
[25018.026489] end_request: I/O error, dev mmcblk0, sector 24976

Now, SD card errors could most certainly cause a soft reboot, so perhaps that is the cause.
[Desire Android Development] :
I've said it before but I'll say it again, the USB gadget mass storage driver which Android uses is really really crap.

There really isn't anything anyone can do about the slow speeds because it comes from the driver used.

The 'proper' linux usb mass storage driver is here, and I expect that is the one used during recovery: https://github.com/thalamus/kernel/blob/2.6.35-stable/drivers/usb/storage/usb.c

But the one that Android uses whilst booted is here:

https://github.com/thalamus/kernel/blob/2.6.35-stable/drivers/usb/gadget/f_mass_storage.c

There really isn't a way around using the gadget UMS driver either, because it is so closely tied in to vold.
[Desire Android Development] dzo:
Actually the first driver is the host driver, i.e. it communicates with a mass storage device, our phone doesn't support a host driver (although the hardware does). The gadget driver is a 'function' driver, i.e. it runs on the mass storage device and communicates with a host driver.

I don't know why 2.6.37 is faster but this isn't the reason.

There weren't any changes to f_mass_storage.c or storage_common.c between 2.6.35 and 2.6.37 so the problem must be somewhere else.
[Desire Android Development] DariosF:
I've oxygen hboot 6.9 gb fat 32 1 gb ext4 0.1 gb swap.

I've installed latest thalamus' kernel-2.6.35.13_r2-RC.zip for enable swap partition support. In quadrant i get only 1200 score, with miui rom i get 2300 score...How is it possible?
[Desire Android Development] FloHimself:
Using swap and trusting quadrant scores are both pointless...
[Desire Android Development] DariosF:
Now i will delete swap partition...Another good benchmark program???
[Desire Android Development] Xinot:
Why benchmark at all? Test speed in real world use... Games & apps.. ;)
[Desire Android Development] dneill2006:
Can the kernel (kernel-2.6.35.13_r2) be overclocked?
[Desire Android Development] DariosF:
I can compare 2 rom with benchmark's tool.
[Desire Android Development] :
37 isn't faster though, it's 35 that is much faster than 37 as per my bug report here: http://code.google.com/p/android/issues/detail?id=14401

I tried all sorts of ugly hacks to get .37 to improve, to no avail.
[Desire Android Development] :
Tap benchmark for I/O and Linpack/Nbench for CPU throughput / performance. Although there won't be much variance between devices with any of those benchmarks, so it's probably pointless.

I think real use is the best 'benchmark', ie, scrolling, navigating, browser rendering, etc.
[Desire Android Development] libetz:
Hi Thalamus -

You wrote that in your kernels changelog about your new 2.6.35.13_r2-RC kernel:

"Added call recording patch and made it optional, same with AUFS2. (custom branch unified with stable)"

How do you enable call recording in your stable branch?

thanks
[Desire Android Development] DariosF:
Now i will use nbench and linpack for compare oxygen 2.1.2 vs reflex 2.0.2 vs miui 1.5.13...I will say you results.
[Desire Android Development] zsero:
I can confirm this. On my phone I have ClockWork 2.5 and even that one has fast speeds, I mean as fast as the Sense ROMs. Something like 3.6 MB/s on my card.

On the other hand there must be something happening with Oxygen, as other AOSP ROMs have 500 kb/s while Oxygen only has 150 kb/s in my case.
[Desire Android Development] dneill2006:
@ _thalamus

I just flashed kernel-2.6.35.13_r2-RC bit still reports on the phone as 2.6.35.13-stable+ thalamus@Co-60 #1 which is what it said on r1

Is this correct or should I flash again?

Also I used SetCPU to set the max freq to 1136MHz, is this OK as well?
[Desire Android Development] :
It has to be enabled when you configure the kernel, before it's compiled. I have already pushed a patched r2-RC kernel if you look in the custom folder.
[Desire Android Development] :
Yes, it is correct. It was built from the stable branch hence the name stable. It doesn't have the + in the version on r1, because r1 was a tagged, signed release, and I haven't done that yet as I am waiting for feedback on an issue someone was having before I release a final r2.
[Desire Android Development] dneill2006:
OK thanks, no problems here with r2, everything working fine :)
[Desire Android Development] DariosF:
reflex 2.0.2 a2sd

2.893 memory MFLOPS:7.151

4.102 integer

0.921 float

Oxygen 2.1.2 a2sd

2.675 memory MFLOPS:37

4.031 integer

0.912 float

MIUI 1.5.13 a2sd

3109 memory MFLOPS:36

4.028 integer

0.913 float

With MIUI 1.5.13 x-d2ext version i get 2300 score in quadrant against 1100 score in oxygen.
[Desire Android Development] :
Just did a few tests and I get about 1200kb/sec via adb push (which is normal) and about 4.5 to 6Mb/sec via USB mass storage (Transcend 8GB class 6 SD), whilst booted into my build of DevNull.

I can't see where the issue is when those speeds can be attained.
[Desire Android Development] :
Those results are all the same and within the noise. Run them 20 times and average them out and they will all be identical. As I said, benchmarks are pointless.

Quadrant is crap, but feel free to use MIUI if you judge a ROM by benchmark scores.
[Desire Android Development] libetz:
Yea, I eventually flashed the custom version. It just seemed to me from your sentence that call recording will be a part of the stable branch from now on, and can be enabled by choice like avs.

Custom works just fine, so I'm happy anyway. Thanks.
[Desire Android Development] mgmate:
It could be, for sure.... but I have two cards, one Sandisk 16GB class 2 with no problem in froyo, the other a Patriot 32GB class10 that some times I have some errors.

I have come back to Froyo official rootes with no mods to test. No reboot until now with the reliable Sandisk.

Perhaps there is something wrong in HTC or kernel managing SDCARDS. One thing I checked was the speed of the card both in Froyo last official version (.5) and Oxygen 2.1.2. There are incredible Oxygen marks (SDTools 1.8).

In Official Froyo I get Write and Read about 5-8 Mbps. In Oxygen I get 16 and 20+ Mbps (I do not remember if MB or Mb per second...) anycase. Can be this the cause that sometimes something fails due to the high speed?

I tried several times with consistent results.

Perhaps kernel error management? or my HTC SDCARD interface management???, but it seems that stock Froyo handle those issues..

I see Card status 0xc00. Could be that does not have time to restart?

Regards,

MGMATE.

This is my first day with Froyo again, I will be testing 2-3 days to see if the error is reproduced.

Many thanks to all..
[Desire Android Development] MonacoHias:
Again thanks thalamus that you still publish kernels with two way call recording :D.
[Desire Android Development] DariosF:
Now i know that these result aren't important XD What rom are you using now?? DevNull??? Has it full italian translation??
[Desire Android Development] MonacoHias:
DevNull is english only

See first page where Adam wrote:

"Did you remove anything?

Foreign languages"
[Desire Android Development] FloHimself:
There is a full language version at post #669
[Desire Android Development] :
The thing is, the reboots are specific to *your* device, so it's totally your device at fault I'm afraid, not the ROM or the kernel.

I would try swapping the SD card out if I were you, if you have a spare and see if the I/O errors continue.

Whether it happens in stock FroYo or not, it's still an issue specific to your device, so I would suggest looking into that instead of saying that the ROM/kernel could be at fault, because neither of those are likely to be causing your soft reboots without others being affected, which they aren't, or if they are they aren't being very vocal about it, which is highly unusual. :p
[Desire Android Development] MonacoHias:
Oh, I totally oversaw this version :cool:.

Flo, and you made a German one as well - great, I will try it shortly :D.
[Desire Android Development] pilgrim011:
I think that you probably have a hw problem - faulty motherboard. If you experience reboot in next few days with official Froyo ROM, take your phone to repair centre and ask for mb replacement.
[Desire Android Development] AlxMAX:
I would like to ask you a question which might give me a helping hand to narrow my tests. How many partitions do you have on your SD card?
[Desire Android Development] dijipo:
I cant seem to change the wallpaper - i can only change it to live wallpapers but not any other. Even tried wallpaper set and save; i still cant change it.

Also is there a way of getting wake by trackball? That would be greatly appreciated.
[Desire Android Development] pilgrim011:
That's read speed. Write speed is between 50 and 250 KB/s (Class 2, speed depends on the files). That's really, really bad. But luckily, we have recovery.:D
[Desire Android Development] SimonVT:
My write speed is 2+ MB/s, and read speed is 8+ MB/s on a class 2 card, so I wouldn't be surpised if he can write at 6 MB/s with a class 6. All with the default kernel.
[Desire Android Development] :
Erm, no, it's write speed, that is all I tested. I think I know the difference, so please, don't 'correct' me, especially when your correction is incorrect.
[Desire Android Development] :
Just the one fat32 partition.
[Desire Android Development] mgmate:
I think you are almost 95% true if nobody has same problem.... I have a different card (Sandisk 4GB) the one that comes with the terminal. I will try with that card instead of continuing with Froyo...

I am not saying that is a kernel fault (it was a sugestion about handling SD card errors..) but anyway if nobody has same problem should not be a kernel problem, I agree with you.

But for me it is a very odd problem, that until now only happens with Gingergread...

I will try with the stock card, no music but a fair trade to see if it could be the MicroSD card. Anyway can be the HW reader also...

Please, Let me ask you one more question. It is the same "MicroSD driver" for Gingerbread and Froyo?

Regards,

Manuel.
[Desire Android Development] pilgrim011:
That's weird. I have just tried transfer with rear USB port and maximum speed (it was one large file - it would be slower with many small files) was about 530-540 KB...:(

Sorry, my mistake. :o How do you explain my lousy speed? Does it have something to do with me using a2sd+ (which means ext partition)? I don't know what else to add - I'm using win 7 64 bit, rear USB port, 2.6.35.13-stable kernel, latest v2.1.2 ROM... Any thoughts?:)
[Desire Android Development] Matty Matt:
So right now I'm using InsertcoinS where my data is being corrupted somehow when i mount my SD card via USB, the GPS doesn't work and hogs all my RAM.

Time to breathe Oxygen I think....;)
[Desire Android Development] mattman83:
Heh, it's alot cleaner over here ;)

M.
[Desire Android Development] :
I have no idea why your speed is so poor. It could be down to the quality and speed of your SDcard, it may well be down to the apps2sd, but I'm just guessing really.

What I was trying to point out is that those low speeds quoted are certainly *not* the norm for this ROM or kernel.
[Desire Android Development] :
Most of the AOSP FroYo ROMs were using a .35 kernel, and we are using .35, so yeah, it's the same driver because it's basically the same kernel. The FroYo sense ROMs use a .32 kernel though, so that driver may be slightly different, but I wouldn't expect it to be fundamentally different.
[Desire Android Development] DariosF:
Is it possible to use data2sd or data2ext script??? If yes, how? XD I'm a little noob, so please help me XD
[Desire Android Development] jjexpat00:
yes you can. although they aren't in the rom for many reasons, most work. just search the forums. i have used: http://xdaforums.com/showthread.php?t=867049.
[Desire Android Development] kimzplaze:
Hi, I noticed that though I changed /sys/module/avs/parameters/enabled to have the value of 1, the change does not survive a reboot of the phone. I changed the values via RootExplorer. Am I making this modification the wrong way or every time I rebooted the phone, I will need to make this change again.

Thanks a lot.. =)
[Desire Android Development] suiller:
you have to push something similar into your init.d folder:

#!/system/bin/sh
sleep 20;
if [ -e '/sys/devices/virtual/bdi/179:0/read_ahead_kb' ];
then
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;
if [ -e '/sys/module/avs/parameters/enabled' ];
then
echo 1 > /sys/module/avs/parameters/enabled;
fi;
chmod 666 /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness;
echo 0 > /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness;
chmod 555 /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness;

1st instruction mods cache

2nd enable avs

3rd turn-off hw button led

download here below, unpack it & copy under /etc/init.d trough adb push :cool:
[Desire Android Development] kimzplaze:
thanks.. i created the file with the proper permissions

but i think i will just require the part with the avs.. :) Will read up more on shell scripts hehe :)
[Desire Android Development] Blais:
I have been using Oxygen for a long time and I pretty happy with it, no fc, no reboot. I started to use Runtastic to record my sport activities and very frequently I end up with reboot. Endomondo works fine, but I prefer the other one. Do you guys have any idea?
[Desire Android Development] niels_kievits:
I've got a similar problem with RunGPS. All other GPS apps work fine, but that one reboots my phone very often, but not always.

I think it has something to do with kernel tweaks / system resources and the way the app is programmed to use them. The problem is very elusive though.
[Desire Android Development] markdavey:
thats because the Kernel defaults to AVS off at boot time (per the change log). Here is a link to a post with a flashable ZIP that enables AVS permanently (you will need to flash after each ROM/Kernel update though).
[Desire Android Development] mcmanuf:
Actually my friend and I both using oxygen 2.1.2 have also very very poor write speed independently of eachother.

We haven't mentioned here because we just use ftp to transfer files to the device(using swiftp on the desire).

FTP gives us around 2mb/s which is in fact faster than what usb transfer gives us <1MB.

Stock HTC froyo gave us around 8-10 MB write performance..

We are both using windows 7 64 bit! Maybe something is wrong here??
[Desire Android Development] Richy Freeway:
I used Runkeeper for a couple of hours on Sunday, no reboots or any problems at all.
[Desire Android Development] crazylemon:
is oxygen still being maintained?
[Desire Android Development] xaps:
It's obviously being better maintained than you maintain yourself.
[Desire Android Development] Sgt. Stinger:
Aaw, this sucks!

I had 2.0.3 installed, but all of a sudden the phone stopped all communication with the cell towers. I wiped everything, and got it working again. Decided I wanted to update to 2.1.2, did so with full wipe, and now the phone won't re-download all my apps automatically, as it has done in the past. I don't even have gMail!

Is there anything I can do?
[Desire Android Development] :
No, most of the reboots whilst using gps are a direct result of people swapping the gps lib for the one in that leaked gingerbread rom.

It's nothing to do with the kernel. It's a radio crash which causes the reboot.
[Desire Android Development] suiller:
hmm... happened to me too some weeks ago, but for sure with an older version, even if I've not understood very well what gone wrong, or better I have an idea but I can't reproduce it (& above all I don't want)

I supposed that something gone wrong during the initial google wizard, didn't remember well if stopped to sync with google because skipped wifi or skipped by myself, anyway I reinstalled all app from market (gmail too)
[Desire Android Development] dakore:
Regarding USB transfer speed (Oxygen 2.0.3):

I'm getting 3,5-4,5 MB/s (write) on Win7 x64 (Sandisk Ultra class 6).

Strange thing is when I run ATTO disk benchmark, I'm getting enormous values - ~12MB/s (write) which are closer to the card's real R/W speed - around 14 MB/s (both read and write via USB card reader).
[Desire Android Development] mondilv:
I'm got 700-800 KB/s at 16G Kingston.:)

Looks like SD controllers are differ. So not all kernels good for some cards.
[Desire Android Development] suiller:
I get about 3Mb/sec on my generic 16gb class 4 sd... default ox kernel of course
[Desire Android Development] :
I just tested Windows 7 (in a VM), and I got 1.75 - 2.0 Mb/sec. But the emulated USB bus will have overhead too, so it's probably not the best of tests, but it's still a reasonably acceptable speed for Windows in a vm.

Check this out: http://www.omappedia.org/wiki/USB_testing

It might give you some hints on how to improve performance.
[Desire Android Development] :
It's nothing to do with the SD controller, at all.

It is the USB mass storage implementation where the issue lies, and I suspect most people with issues are using Windows.
[Desire Android Development] KBanause:
Try to use a different recovery. That clockworkmod recovery version is said to have problems to do a full wipe correctly.