yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] Sistum Id:
I work at a power plant and carrying around a clipboard to write down logs and numbers is getting old. It's a waste of paper and ink. There are about 12 of us that rotate on a 3 shift rotation and I already convienced 3 of them to use Android phones and one has an iPhone (wouldn't listen, now he regrets).

If I can get them to them to use an app for data logging, maybe my work center will push for Android powered phones in my shop vs the use of late 90's windows mobile PDA's they are trying to get us.

I'm not sure if the app already exist, if not, maybe I'll use my spare time to try and learn to dev one to my taste.

Basically what I want is to have is a spreadsheet type look. If you look at the attched picture, you can get an idea of what my sheets already look like. In the app, if I could just touch a cell and I can input a number, or a menu pops open for auto/on/off/out of service(OOS). Save it/export it and transfer data onto paper log sheets.

Now my ideas are kicking and maybe I'll have to look into making an app. Any ideas? Right now I use gmail compose and just write the numbers which is kind of lame.
[Nexus One Themes and Apps] uoY_redruM:
Why not use Quick Office mobile and create sheets.

I created an expense sheet on my PC and moved it to my phone and keep track of everything on the go via my phone using Quick Office.

It'd be much easier, I'd assume, I write up a nice looking spreadsheet as apposed to an app..
[Droid X General] Explodee:
When using the Wireless Tether, Barnacle, and even the Verizon Tether/Easy Switch hack, the data connection just stops and turns itself off. Losing the 3G connection. Why is this happening? I can forget about trying to use a torrent program because that kills the 3G connection immediately. It seems to happen more when the battery is less than 70%. On my old TP2 the HTC Wifi router worked almost flawlessly. It also happens sometimes when using Pandora after a song is done the 3G is gone and I have to turn the screen on to get the connection back. Anyone know what's happening? Is Verizon limiting my data because I use more than average? Is there a way to mask it like the TP2?
[Droid X General] JRobzilla:
Does it always turn off when your screen goes off?
[Droid X General] Explodee:
Not always, but it has more of a chance when the screen is off. Like right now I'm keeping the screen on and it's struggling to keep the 3G on. I'm pretty sure it's not because of my power settings either.
[Droid X General] mikeyt114:
I am a newbe but loss of 3g is a known bug they are supposed to be correcting. Don't know if this helps
[Droid X General] Corey@rabbit:
THIS DRIVES ME NUTZ!!! glad its not only me.
[Droid X General] thepolishguy:
Yeah. I don't even bother with wifi any more. Same exact problem as you guys. I just use easy tether. Hate having to plug in but at least I get a connection.
[Droid X General] JRobzilla:
Okay, this is a long shot. I'm talking about me standing in California, firing a BB gun up in the air and hoping it hits you in New York kind of long shot, but the my sister (on a Samsung Vibrant - 2.1) kept losing her connection when on Barnacle Tether until she set her Wifi sleep policy to Never.

Again, a LOOONNNNNG shot but hell if you're desperate enough maybe it'd be worth it?
[Droid X General] Explodee:
Ehh I think the BB missed me in Boston :) The problem happens the most when flooding the connection with data requests. If I am using the connection for light web surfing it's ok even with the screen off. For instance a torrent program being open, or having multiple tabs open on a browser. Why can a crappy WM phone keep up the workload but the all-powerful Android can't?
[Captivate Q&A, Help & Troubleshooting] dudkap99:
I'm new to android phones, so here goes my question. Are these 2 models similar enough that if I have these phones, from at&t preferably or t-mobile, and the phones are both unlocked could I burn the rom from one provider, to change over from say at&t to t-mobile and have access to [My Account] plus all the associated t-mobile software, then switch back by burning rom from sd to use at&t stuff?

Reason for this is can get them darn near free (actually free if I take minimum family plan plus text plan and get 2 samsung captivate for $50 plus an extra free android. I just need to re-flash one of the captivate phone to t-mobile when I'm in Canada. LOL, I'm Canadian EH!

Long and short can I do this, as I spent 3 days figuring how to update a Behold 2, making it rooted and getting latest 1.6. This included learning to partition sd card to Fat/Ext 4 with swap and logical partitions. That was real fun and accidentally wiped my attached esata backup drive, which caused me to name all my drives same as in Linux hda ETC. well I digress.

Thanks in advance.
[Captivate Q&A, Help & Troubleshooting] rajendra82:
They are different enough that the ROM from one won't boot on the other without alterations. A couple of examples of this are the orientation sensors, which on the Captivate are rotated 90 degrees from the way the are on Vibrant (and any other Galaxy S phone). As a result flashing a Vibrant kernel on Captivate will cause the screen to be off by 90 degrees. On the Vibrant the GPS is somewhat differently configured than other Galaxy S phones. As a result ROMS from Captivate will cause the GPS to not function at all. When someone is able to come up with a custom ROM that has a unified kernel, these will be not an issue, but that is yet to happen.
[Captivate Q&A, Help & Troubleshooting] dudkap99:
Tks ever so much. That's what i need to know.
[Desire Android Development] frankoid:
There have been quite a few complaints about slow SD card speeds with Froyo/Sense ROMs (e.g. http://xdaforums.com/showthread.php?t=778748).

I've looked into the problem and discovered that the poor performance is due to HTC reducing the readahead settings in their kernel.

I've attached a prebuilt kernel (as a flashable zip using Koush's AnyKernel) and a kernel source patch that fix this. Let me know how you get on :)

EDIT: if you prefer Richardtrip's kernel to the stock one, use the update zip here, or v5 or later of his kernel, instead of kernel_2.6.32-frankoid.zip

To see whether your kernel needs the fix you need to run a command with your phone plugged in to your computer. On Linux and OS X you need to include quotes, like this:

adb shell 'cat /sys/devices/virtual/bdi/179:0/read_ahead_kb'

If you are using Windows don't include the quotes - run this:

adb shell cat /sys/devices/virtual/bdi/179:0/read_ahead_kb

If it returns 4 then you need the fix. If it returns 128 you don't need it.

If you are a developer and you'd like to incorporate this fix into your ROM without having to change the kernel see this post for instructions on how to edit init.rc to change the readahead setting.
[Desire Android Development] hensk:
only for SENCE:(
[Desire Android Development] frankoid:
Yes, this is only for Sense, but I haven't had any problem with SD card speeds on non-Sense ROMs.
[Desire Android Development] elmalote:
Will flashing this remove OC? I'm running Richards kernel and not stock. Will your zip file overwrite?

Sent from my HTC Desire
[Desire Android Development] frankoid:
I'm not sure, I don't overclock myself. I have turned off perflock in this kernel though so it might work.

You could always give it a try and restore a nandroid backup if you lose OC.

The best thing in the long run would probably be to ask Richard to apply the patch to his kernel.
[Desire Android Development] LoQo_:
Don't works on rcmixhd v10. I flash it and not reboot well
[Desire Android Development] Audioboxer:
Want to know this as well, but if you've fixed the problem my hat off to you sir! It really annoys me.
[Desire Android Development] eViL D::
Nice, gonna check it out. Do you have any statistics?

*edit, this has already been pushed upstream to .35+ kernels.
[Desire Android Development] harish.awe:
Not working in RcmixHD..!!!

In which ROM did you try OP..??
[Desire Android Development] dennis.l:
RCmixHD is the rom port from the desire HD isn't it?
[Desire Android Development] bobbenedetti:
I installed it on a Telus HTC Desire SLCD with LeeDroid 2.2d and tested it on a class 10 card with SD Speed Card Test..My write speed remained at the 2MB/s it showed before (same on a Class 6 and Class 2 card) but the read speed jumped to 13MB/s.

Any thoughts why the write speed didn't show the same increase as read?

Good start I love the increased read speed..it would be nice to see a similar increase in writing..

Good work
[Desire Android Development] hamdir:
Is the speed jump only in storage mode?
[Desire Android Development] hover99:
Wow many great thanks !!!

Before:

Write 4 mb/s

Read 6 mb/s

After:

Write 4 mb/s

Read 13 mb/s

On my PC i have a read speed around 19 mb/s, but 13 mb/s is fabulous enough, more write speed would be nice, but i 4 mb/s is ok for the moment..

Im using this ROM: http://xdaforums.com/showthread.php?t=773997

so this should work on every Froyo Sense ROM :-)

PS: the gallery is now so f*** fast this is great ;-)
[Desire Android Development] Anakha56:
Anyone with Pays ROM tried this yet? Wondering if its needed with the latest Pays ROM...
[Desire Android Development] ivicask:
Hello frankoid , could you make us version for Sense HD roms, as lots of files there are puted on SD, this would make entire rom much faster!
[Desire Android Development] hamdir:
do you richard's UVOC installed?
[Desire Android Development] hover99:
No, close to stock, only the POWERSAVING MODPACK ..
[Desire Android Development] whvnx:
This kernel certainly will replace Richard's. Just tried it minutes ago. In the SetCPU, the max speed goes back to 998 Mhz instead of Richard's 1330 Mhz.
[Desire Android Development] frankoid:
I'm using my own ROM based on RUU_Bravo_Froyo_O2_UK_2.14.207.1. This kernel should work on most Froyo/Sense ROMs that use the stock kernel. If your Sense ROM uses a custom kernel ask the ROM's developer to apply this patch. This patch is not necessary for non-Sense ROMs.
[Desire Android Development] frankoid:
Which .35 kernel? I think that the change to reduce the readahead never made it into the Cyanogen & Teamdesire etc. kernels, so this patch to increase the readahead again isn't necessary for them.
[Desire Android Development] sibere:
try to change the values in /sys/devices/virtual/bdi/179:0/read_ahead_kb and check with SD card speed test for any improvements.

I've got on average 10Mb/s W and 13Mb/s R with stock rooted froyo and RichardTrip V5 kernel
[Desire Android Development] frankoid:
Interesting, I didn't know about that tunable. Be aware that SD card speed test probably does linear reads so large readahead values may give good results in SD Card Speed Test but not so good results in real usage, which is likely to have more random read patterns.

What SD card and readahead settings did you use to get those results? Haven't seen many people get 10MB/s write.
[Desire Android Development] sibere:
Hummm cannot reproduce that performance atm... weird. I have now 7/13 with 256kb. Maybe coz I was connected on the USB and using adb at the same time to tweak the settings...

I'll try again lately when I'm home with my PC.

EDIT:

Tryed @ home, Desire plugged in charge only mode, connected with adb shell, cpu @ 1113MHz, a few runs of the app, and here is the result:
[Desire Android Development] frankoid:
Thanks to inspiration from sibere I have come up with a way of increasing the readahead without changing the kernel. Instead we can add a line to init.rc - search for "SD card speed fix" in the attached init.rc to see what you need to add. EDIT: changed the path in init.rc to one that hopefully works with all Desires.

I've made a complete flashable update zip including this fix, see here. EDIT: the path I used in that update zip doesn't work on all Desires and I haven't had time to update it, let me know if you'd like me to fix it.

Unfortunately I can't easily make a flashable zip to apply the init.rc change to other ROMs because init.rc is on the boot partition so you need to unpack/repack boot.img to change it.
[Desire Android Development] gonova:
Does anyone has any suggestion about changing to what value??

It seems that this method doesn't solve the slow SD card speed on a rooted Desire with customs ROM.

I try to double the value to 256, no difference for my Kingston 16GB Class10, and I just get 1MB write 9MB read in SD Card Speed Test.......

For the same card.....I use card reader connecting to my desktop... I get the real speed of it........about 20MB Read and 14MB write...........

Can any god here save us............? what a waste to all good cards on Desire.............

with Aura8.0
[Desire Android Development] frankoid:
If the value in read_ahead_kb is 128 before you do anything then you don't need the fix described in this thread. You only need the fix if the value starts off as 4.

Something other than the readahead setting is causing the slow speeds with your Kingston class 10 card. Someone else on here said that a lot of desire users have had problems with Kingston class 10 cards so maybe you should try a different card :(. What speeds do you get with the 4GB one that came with the phone?
[Desire Android Development] carlos67:
Guys,

Just installed Richards V5_1113MHZ Kernel over my stock Froyo Sense Kernel and yup.......All is good.

On bundled 4gb class 2 SD Card average from 3 tests:

Before flash

Write=2MB/S:o

Read=3MB/S:o

After flash

Write=3MB (Didn't expect this to increase but not complaining - must be RT's new kernel):)

Read=10MB/S:D

Very happy chappie here:D

Quick question though.......Are there any user adjustable settings with Richards new Kernel?? If so how do I access the settings? I don't have SetCPU installed btw.

Edit: Just run Quadrant benchmark and came in at 1243. Is that good/bad/??
[Desire Android Development] spitjo:
I can't flash this unless i turn verification off, but it mess up my device and the rom won't boot anymore.

Amonra recovery complains about a file missing in xbin folder (don't remember the name)

What's the problem?? Have i done something wrong? (i don't think so...)
[Desire Android Development] donP73:
kingston class 10 issue

I unfortunately bought that Kingston 16Gb class 10 SDcard... I immediatly noticed problems in writing (also corruption issues, card self un-mounting & remounting during normal usage)... I read thousands of post here (also nexus1 users)... ALL Kingston 16Gb class 10 owners had compatibility problems... I'm returning back my expensive card...
[Desire Android Development] spitjo:
I can't flash the kernel posted here cause it mess up my rom.

I'm very interested in how modify that parameter.

Using adb i reached the file and verifyed that has value 4 actually.

But i don't know how to modify it.

There is no adb command that let you edit a file....

Can i simply create a file with same name and no extension with text 128 in it and overwrite it?? and can i overwrite it without s-off??
[Desire Android Development] _bryan_:
PNY 8G class4 TF

before

read 4MB

write 4MB

after

read 9MB

write 3MB

thanks
[Desire Android Development] harvin23:
Help me...

im using official kernel and its unrooted with 8gb class 2 kingston... basically its stock phone with any changes... can i install this kernel... sorry... im really new at this...
[Desire Android Development] frankoid:
adb shell 'echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb'

You'll need to do this every time you reboot because this is not a normal file, /sys is a special filesystem that exposes settings and system info as files.

s-off not required.
[Desire Android Development] spitjo:
Thank you

Anybody know why i can't flash this kernel?

I get a verification error complaining about some files missing from /xbin. I use amonra
[Desire Android Development] frankoid:
You need to have a rooted phone to install kernels.
[Desire Android Development] hshah:
I am using the latest version of Open Desire... how do I install this patch?
[Desire Android Development] martino2k6:
You don't need to. It's for Sense only. If you just read the first post correctly...
[Desire Android Development] harvin23:
need advice

after reading all the post, i decided to root my phone... i using stock kernel and rom... is there anything else i need to do to apply this patch else than rooting the phone... can i root it and apply this patch and than unroot it... or i have to leave it as root.. another thing... can root phone get software updates from fota and market... im sorry guys.. im a noob at this... still learning... do try to help out if possible...
[Desire Android Development] dinaroga:
does this require s-off?
[Desire Android Development] Alex-V:
no :) only a rooted froyo sense rom :)

with kind regards..ALex
[Desire Android Development] dinaroga:
weird, I tried flashing this and got endless boot loop. Had to nandroid :/

I was running teppics stock rooted froyo rom with a few of his mods.
[Desire Android Development] Alex-V:
Mhhh....teppic have also a 2.10 build as my rom...and it works good for me...what version you flashed...and what things you have special in teppic rom ..?

with kind regards..Alex
[Desire Android Development] Pajorve:
This patch really works

This patch really works ... tested in ROM Pays and increased the speed of data transfer between the Desire and the PC ...

I thank for your commitment to this work!

PS: Only a doubt!

Now I'm not using Rom sense ... I'm in Oxygen and the speed at transferencia continues ...

Has the fact ja have applied the fix?

Thank you!

:confused:
[Desire Android Development] dinaroga:
This is what I'm running

Rooted Stock Froyo 2.2 - ROM: 2.10.405.2 WWE | Radio: 32.44.00.32U_5.09.05.30_2 | HBOOT: 0.93 |

MODS: A2SD+ | PowerSaving Modpack | Flash replacement | Tweaks Mod |
[Desire Android Development] Alex-V:
for a test...(you have your nandroid to go back..) flash only the rom (a full wipe before...factory data reset) and after a full boot flash this kernel

with kind regards..Alex
[Desire Android Development] dinaroga:
thanks alex
[Desire Android Development] blitzwind87:
will it re-write leedroid 2.2f snq kernel?

hi! sorry for this question

im currently running leedroid Kernel 2.6.32.15-leedroid2.2f @snq-

my question is

1) which one is suitable? kernel froyo cfq or frankoid?

2)will it erase the snq kernel?

i hope it will not since snq kernel have better graphic performance

thanks in advance
[Desire Android Development] jamy_hallian:
No speed upgrades for me.. :(

I am running Modaco custom ROsM.. And I tried flashing both the .zip files to my phone. But the data transfer speed does not cross 2MB/S

I am having 4gb card that with the phone.

Anyone, any help please? :)
[Desire Android Development] mattics:
Just to confirm, this is a stock kernel but with the fix applied?

Just about to try it on teppics Rom, hope the performance tweaks don't cause any issues.
[Desire Android Development] mattics:
Well what can I say, it worked wonders.

Before

Write:7

Read:5

After

Write:7

Read:13

(Ran 4 times each before and after)

My write seems to have been consistently better than most others on here and no improvements have been made to it, I wonder if something in teppics Rom had already "fixed" this. Or if my card is just super fast at writes, sorry don't know the class off the top of my head.

From what I remember I am using the tweaks, powersaver, updated g apps and apps2sd+
[Desire Android Development] sibere:
If you want to get a better speed on you SD, maybe try this

http://www.patriotmemory.com/forums/showthread.php?t=3696

I did it on my USB keys and I almost doubled the Write speed and got a significant improvement on reading speed too.
[Desire Android Development] mattics:
I have just moved from this (standard kernel) to the one specifically for teppic's rom and I am getting further increase write speeds with some tests showing as high as 10MB/s but mostly it hits 9MB/S.

Just thought I would give a quick heads up to the dev in case the kernel I am using now employs a different method. :)
[Desire Android Development] aaargh777:
wow

Wow, thanks for that!! It also doubled my write speed, great!!
[Desire Android Development] Sage:
when i run the cmd on my leedroid 2.2f i get:

adb shell 'cat /sys/devices/platform/msm_sdcc.2/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/queue/read_ahead_kb'

cat /sys/devices/platform/msm_sdcc.2/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/queue/read_ahead_kb: not found

what does that mean? :)
[Desire Android Development] ilya.glants:
that means you need to use the kernal in this thread to increase your SD card speed
[Desire Android Development] Sage:
but i didnt get a 4. i got a not found :)
[Desire Android Development] frankoid:
Sorry, I recently found out that that command doesn't work on all Desires. Try:

adb shell 'cat /sys/devices/virtual/bdi/179:0/read_ahead_kb'
[Desire Android Development] Sage:
still "not found" lol :)
[Desire Android Development] casca:
dude...remove the ' '... type this only

adb shell cat /sys/devices/virtual/bdi/179:0/read_ahead_kb
[Desire Android Development] Sage:
yay! :)

that did it. generally when people use CODE you may or may not put " ' quotes at the beginning or end. Though quotes within the command itself people assume they should be kept.

Anyways returns 128 :) so dont need it.

Thank you.
[Desire Android Development] frankoid:
Ah, I suppose the quotes cause problems on Windows (they are needed on Linux and OS X though). First post updated :)
[Desire Android Development] Sage:
ahh that explains it :) ill remember that when it comes to adb commands
[Desire Android Development] casca:
hehehe :) I've had the same problem, that's why I knew what you were doing wrong lol :)
[Desire Android Development] devvi:
During chatting in Leedroid IRC i figgured out that my kernel returns 8 when executing this cat command. For some reason i was the only one in the Chat with that Number, i dont know how or why that is. Fakt is that my sd Card sucks before. But after i flashed snq seperated Kernel my SD Card Speed is as class specs should be. Now the cat command returns 128 as it should be.

So to be sure, even when you have Leedroids Rom flashed to check your cat read_ahead command !

/dev
[Desire Android Development] teorouge:
Hello Sibere, you still into kernel modding? See you're quite busy with the Data2SD thingy! :D

Anyway, did you hear/read about this improvement for the Desire camera? Looks like it works miracles, any chance you'll ever experiment with that and impllement it into your full-battery-charge kernel?
[Desire Android Development] thierry_b:
Hello, I've 4 with Leedroid 2.2d.

It's an improvment in the f version so :-)
[Desire Android Development] randomelements:
Went from 6R/6W to 10R/6W - stock Orange Froyo ROM

Thanks :)
[Desire Android Development] DirkStorck:
I have a new 32GB class 4 SD card from Kingston.

With that test I allways get

writespeed: 1MB/s

readspeed: 8-10MB/s

Thats strage....isnt't it?
[Desire Android Development] gonova:
Hey buddy!

I am using a Kingston 16GB Class10, but my speed is similar with you. I have read tons of posts showing that there is a compatibility issue with Kingston card.

Does any one know any solution ???

The card is expensive and I can't return it..............
[Desire Android Development] donP73:
nothing to do

I'm sorry to tell you there's NO solution. I contacted HTC support and they told me Desire DOESN'T support class 10 (in other words: doesn't recognize it).. I had to return my one.

If you can't return your one put in the adapter and use it for your normal SD applications (or camera if you have one working with that card).
[Desire Android Development] DirkStorck:
But I am using a class 4 card and have a real bad write speed. I am using LeeDroid 2.2f and he has included that fix....
[Desire Android Development] aaargh777:
The fix is for read-speed. What really helped me to improve my write-speed was this: http://xdaforums.com/showpost.php?p=9352308&postcount=211