yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] jauger:
I played around with several sdcard classes and it appears 128kb runs best for class 2 and class 4...256kb for class 6 & class 8.....512 for class 10...Im no expert with Linux but these gave me the best results..
[EVO 4G Android Development] skylar.sutton:
From my testing, there is no solution for stock users. The init.rc is run at boot but it is overwritten each time you reboot - so any changes you made are lost.
[EVO 4G Android Development] ProcessorHog:
5 write/5 read before changing, 5 write/13 read after.

Great piece of info, op. And I was happy to know that the Super Talent 16 gig card I paid 22 bucks for a while ago thinking it's class 2 (they said that in the product description) clearly is doing a lot better than class 2 speeds.
[EVO 4G Android Development] baknblack:
I found this digg through the archives. Will it work to fix the stock rom?

chuckhriczko

16th June 2010, 09:29 AM

Ok so I figured it out. In all of the init.d setups I have seen they create a service in the init.rc that will load all the scripts in the init.d directory and then after the file system loads they start that service. Well, the boot process for the Evo is apparently a little different. HTC changed things to have seperate rc scripts for when the boot and shutdowns are complete. So the bootcomplete.supersonic.rc file is what we want to modify.

This script doesn't work with the init.rc commands but it does work with simple linux shell commands. So simply adding

/system/xbin/busybox run-parts /system/etc/init.d

to the bottom of this file will call all scripts inside the /system/etc/init.d folder on boot completion.
[EVO 4G Android Development] skylar.sutton:
Tried that the other day, but I sanity checked it right now... bootcomplete.supersonic.rc is also overwritten during boot so any changes you make are lost.

I wish I knew where to start looking for the script that's overwriting the boot init files.
[EVO 4G Android Development] quocamole:
adata 16GB class 6 results:

seems like performance is better (average and standard dev.) with 512.
[EVO 4G Android Development] teddyh2o:
I don't know why i am getting so slow write and read speed on my class 10 card with the fix?
[EVO 4G Android Development] Beknatok:
And neither do we, given the wealth of information you shared with us.

What are your before and after numbers? Did you run that SD Tester App and record some benchmarks?

What brand of SD Card do you have? Is it a major brand name, or an eBay Chinese knock-off?

Finally, as it has been stated numerous times before, this tweak only affects READ ACCESS... this tweak DOES NOT AFFECT WRITE ACCESS.
[EVO 4G Android Development] stanglifemike:
Does this not work on the SBC Kernals? I flashed Calk's zip for just the sd fix and then re-checked and still at 4
[EVO 4G Android Development] Calkulin:
For those that are COMPLETELY stock and don't have busybox installed, then use this zip
[EVO 4G Android Development] Calkulin:
I'm guessing your using his #15 modded one, which probably doesn't have the modded init.rc file to run init.d scripts
[EVO 4G Android Development] forceOnature:
I changed the number to 256 and my class 6 card now performs at 8write/11read. At 128, I was only getting 4write/11read.
[EVO 4G Android Development] stdlyman3k:
CM6.2

I can say that on Cynogyn 6.2 the file is already set at 128... Just FYI
[EVO 4G Android Development] teddyh2o:
I exactly don't remember what speed i was getting before the applied the fix. But i am sure it was saying i have class 4 sd card. After the update, i am getting Write Speed 1 MB/s and Reading Speed 10MB/S with Class Unknown. If it only affects the write access, my write access speed got slower.

It is Kingstone 16GB class 10 card
[EVO 4G Android Development] wallaceb:
i want to double check with you. I want to change the value in the .txt file to 512 before i use it. if i use notepad, what encoding should i then use?

ANSI

Unicode

Unicode Big Endian

UTF-8

thanks!

as an FYI, i am running Fresh 3.5.0.1 and it does have the init.d folder in case anyone else running that ROM wants to know :)
[EVO 4G Android Development] Beknatok:
Again, please ignore what Class the app claims you have. That is not relevant.

Go back through the thread and use the ADB commands to manually change your buffer value to whatever you want. First, reset it to 4, then run the speed test a few times, to get benchmark values. Then try 128 and any other size that you wish to try, and compare against those values.

Again, please read what I wrote. This only affects READ.... READ ONLY. And how can you know performance degraded, when you did not take benchmark numbers to begin with?

Please follow the above instructions and get a benchmark first.
[EVO 4G Android Development] lucidox:
After switching to Ziggys new BFS kernel my read speed doubled to 7MB/s. Thanks for the assistance.
[EVO 4G Android Development] baknblack:
That did it. I already had busybox however. What did this supply? A modified boot.img?
[EVO 4G Android Development] danman132x:
Ran Calkulin's flash just for the SD card fix and here my results:

Factory 8GB SD Card, Fresh 3.5.0.1 rom with net's 4.3.1 kernel havs

4:

Write 3

Read 1

128:

Write 2

Read 8
[EVO 4G Android Development] ccossin:
Flashed Calkulin's Just for SD card fix and nearly tripled read speed on my stock card.

This has been a telepathic transmission from the Outer Limits.
[EVO 4G Android Development] merkk:
can someone tell me where i can find the app you are all using to test the speed of the sd card? I searched on the market for sd speed test - came up empty.

On a side note - how come the search function in the market seems so crappy compared to google's web search? :)
[EVO 4G Android Development] baknblack:
The 8th post down in this thread.
[EVO 4G Android Development] m4rk0358:
http://www.appbrain.com/app/sd-card-tester/air.SDCardTester
[EVO 4G Android Development] david279:
Check the first page of this thread.
[EVO 4G Android Development] merkk:
$2? bummer. Doesn't seem worth it for something i'm only going to use once. I'll just plug the phone into my pc and see how long it takes to write/read a file

thanks for the link though.
[EVO 4G Android Development] m4rk0358:
There's a free version in post #8 of this thread.
[EVO 4G Android Development] malibu_23:
ok what real world usage effects does increasing the read speed do? ur not watching movies that that requires more than a 3-4mbps pull TOPS...games arent coded to utilze the increase. android/sense surely isnt gonna benefit. so what real benefits does this have? the write speed is already high. just like the quadrants. its just for show.

besides the speed test. whats the point?
[EVO 4G Android Development] snovvman:
Faster boot time, faster media (picture/video/music) load and scan time, App2SD/Ext4 performance improvements (when apps are loaded from SD)? Just some ideas...
[EVO 4G Android Development] merkk:
being able to copy files between the phone and the pc faster? Besides, if getting faster speeds requires nothing more then changing the value in a text file, why not fix it?
[EVO 4G Android Development] runsoverfrogs:
All my gameloft games that uses the SD for data storage got a huge boost in performace. The lagginess is pretty much gone!
[EVO 4G Android Development] m4rk0358:
Is the stock sd card a class 2? I'm seeing people with improved speeds with the stock sd card and am wondering if I should try it on my 32gb class 2 card.
[EVO 4G Android Development] Beknatok:
Games/Apps/etc., do not need to be coded to utilize this change. The read ahead buffer is implemented on the OS level and impacts ALL read operations on the SD card.

Here is a simple example. Do you take photos with your camera, that you later view or show off with the Gallery app? I take the max size/resolution, so my photos generally weigh in around 5-6megs in size. The Gallery app takes a fairly long time just to pull up thumbnails of my photos. This tweak decreases the time it takes Gallery to read and load them up.
[EVO 4G Android Development] merkk:
I have a 16gb class 2 card - it went from 1mb read speeds to 5mb read speeds. And i can confirm that speed increase in both the test app and in copying files from the phone to my pc.
[EVO 4G Android Development] Beknatok:
Try it and find out for yourself. There is no harm done.
[EVO 4G Android Development] m4rk0358:
So what's the easiest way to try this? I'm seeing links to kernels as well as scripts.
[EVO 4G Android Development] xxbabiboi228xx:
Yes it is class 2, Mainly what this is for in my opinion is for if your running

ap2sd better performance on the read speed but also the same time the transfer speed as well
[EVO 4G Android Development] malibu_23:
ima go head and call shannigans. cuz ion see any performance increase. my gallery app loads in lil bunches at the same rate as before. and games installed to card perform the same. i timed load times. rebooted. mad change and opened apps again. i cant speak for boot time as the value changes back on reboot. but to each his own. besides on the mem card test ion see a difference. im using a class 4 32gb sandisk
[EVO 4G Android Development] m4rk0358:
Did you try playing a gameloft game that's on your SD Card?
[EVO 4G Android Development] merkk:
try copying a large file from your phone to your pc - i saw a roughly 5x increase in speed, which matches up with what the test app showed. Also, the performance will vary depending on if you are reading very large files, or smaller files. Reading a larger file you should see a difference. If it's a bunch of much smaller files, the increase will probably be less, although i dont know how much less.
[EVO 4G Android Development] malibu_23:
wouldnt that be the read speed of ur cpu not the phone?

yea, i ran lets golf 2 hd/uno hd. before and after the change. pretty much loaded the same. then again the already started pretty swiftly anyway.
[EVO 4G Android Development] merkk:
If you have root explorer installed, open it up and go to:

/sys/devices/virtual/bdi/179:0

long press on read_ahead_kb, select edit, and change it from 4 to 128 and save. The value gets reset back to 4 when you reboot, which is what those scripts are supposed to fix.
[EVO 4G Android Development] Beknatok:
And what pray tell are you objecting to? That this is a valid tweak? That one cannot readjust the read ahead buffer on a virtual backing device? If you take the time to dig deeper, and you'll find that this code all originates out of the kernel. If you're ambitious enough, go dig through Linux Kernel documentation and read up on device management in Linux.
[EVO 4G Android Development] m4rk0358:
I'm assuming Astro will not allow me to edit that file?
[Desire Accessories] landwomble:
Hi All,

I think my battery may be on the way out - the battery life's a lot worse than it used to be. Anyone any suggestions for a good replacement? I don't want one that makes the phone any larger - just as high a capacity as possible in the original form factor. Very wary of extravagant claims on eBay!

Anyone got any recommendations?

Ric
[Desire Accessories] Kalavere:
Buy a decent OEM, ~£20 and you're good to go. I've bought 3rd party batteries before and they've been half decent, but you can't beat a HTC OEM.
[Desire Accessories] kl_arnet:
You can always try cheap chineese OEMs like from dealextreme(dot)com
[Desire Accessories] jjexpat00:
You could always do a diagnose of battery with a wipe of stats after full charge.

Or you could buy at dealextreme^^^
[Desire Accessories] todoleo:
I've had a spare OEM battery for my HTC Desire since June and it does the job!
[Galaxy S I9000 Q&A, Help & Troubleshooting] ulsa:
Hi,

I use gmail app on a Samsung Galaxy S and after uppgrading to 2.2.1 yesterday when I delete email on the phone they are still showed as unread on the server (Gmail web client). IMAP is activated on gmail.

I want an email to be deleted on the server when I delete it on the phone.

Any ideas?

Edit:

I found a solution that works for me:

http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=113869

Clear your device's Gmail application data

Warning: The following steps may result in the loss of any drafts (unsent, saved, or unsaved) as well as ringtone, signature and other settings for Gmail.

We recommend proceeding with these steps only if the above steps don't resolve the issue.

Press your device's < Home > button, then press < Menu >.

Select Settings.

Select Applications, then Manage applications.

Select Gmail and then select Clear data. Answer OK when prompted.
[Windows Mobile Apps and Games] nurps:
Hey,

id like to enter my work schedule into my calendar. There is a limited number of different worktime events i would like to create a preset for. They would consist of the describtion, start/endtime and a category.

At the moment the easiest way is to look in the past month a copy the event i need for the next, then open it and edit the date.

But i would like that more simplified. Like seeing the whole month on screen, beeing able to hold press a day and then i could see a menu with my presets, so i could simply select my schedule for this day from the presets and be done with it. This would really speed up the process.

Is there a program that can do that?
[Android Software Development] adn37:
Hi all,

As a new dev in the android ecosystem, I am looking for other devs feedback on the following. :confused:

I have an app with about a few thousands user base. Growing slightly, but also with a decreasing active ratio.

As my revenue is ads driven, I'd like to experiment a few tricks to encourage users to use the app more, without being too intrusive.

A few ideas:

- show a notification after a few days that the app hasn't been used, to encourage the user using it again.

- feature: user can share the app's install page with friends (stimulate organic growth), via a share intent.

-> Devs, any stories on trying something similar?

Any feedback appreciated.
[Android Software Development] Rootstonian:
I'm a new developer, old-time programmer. Put 2 apps out December 21, 2009 and I'm approaching a whopping 30 sales; be happy you have 1,000+ (or more) :-)

Wish I could help with the question, but I'm not really sure how to expose apps to a wider audience. I've thought about porting to iPhone/iPad and Windows Mobile to expand my user base. But I'm still pretty new to Android development and want to get more into it before learning yet another programming language right now.

I've actually thought of going to local bars and trying to strike-up conversations with people using smartphones and showing them my apps. Maybe buy them a drink LOL.

I firmly believe that if you have a solid working app and one person uses it, they may tell 5 of their friends and maybe 2 of them will buy it and tell 5 more people of which 1 or 2 might but it. Pyramid type sales but it's slow moving.

What kind of bothers me is all the damn FREE apps out there; I think they should be segregated from the Google Market; I've yet to go to any type of Market and get something for free! LOL And I wonder about free apps sometimes. Take SMS pop-up or whatever it's called. It's a decent app...it's free. I saw it at "over 250,000 downloads". Well, why didn't they charge $1.00 or $0.50 for it (do the math, I'll take $125,000!!). Any possibility it's forwarding people's text messages? Just sayn' ;)
[Android Software Development] martino2k6:
Your first option sounds REALLY annoying. Your second option sounds perfectly fine. See later on for further points on what might help.

Not everyone is in it for the money. Some people just maybe write something that is missing on the market but don't want to make money from it. It might be just their hobby. Not everyone needs to be capitalistic, trying to turn everything into revenue.

The Android market is a lot about freedom, and there is high competition between free and paid apps. If your sole intent is to make money on apps, you will probably better off trying to target iOS. The most recent news I have is that an average iOS user will spend 7 times as much money on apps than an Android user. I think this fact kind of speaks for itself.

However if you still want to stick by, here are a couple of things I would suggest:

Offer a (free) lite version of your application as this will give users the ability to see whether your app means business or not, and if they'll like it they might go further to go for the paid version.

Android market uses keyword searching (there's probably a better term), so make sure your description hits as many possible words that may be applicable to your product while not being too heavy to read.

Advertising... don't ask me where as I wouldn't be able to help much with that. But if you're in it to make money, you probably have a business model so you should have some capital too that you can put into advertising.

That's about all I guess.
[Android Software Development] Lakers16:
@Rootstonian

I have apps on the market, and in the last 3 months have made over $1k off ads in my free version, while only making about $250 off of the full paid version.
[Android Software Development] Rootstonian:
Very good responses there :) This forum does have some very intelligent people on it!

I'm anti-adware unfortunately. If that hurts my sales, then so be it; I can live with that. I won't allow ads in my apps.

As far as free versions, I would have to write "crippled" versions of the programs to limit full functionality. Well, not going to do that either. And to be honest, who can't afford $1.00?

Actually, the 15 minute return policy has hurt me I think. Some apps just can't be reviewed in 15 minutes, to wit, my current (almost done) Spam Text Blocker. There is no way someone can evaluate that in 15 minutes, so I have to code some type of limit on how many rows can go into the spam database.

Anyways, I'm way off topic (as usual) and being negative which is usually something I don't do. And I must remember, my stuff has only been out ONE month.

I do use a Macbook Pro, and I have downloaded the iPhone SDK; maybe I should take a break from Android OS and port a couple of apps to iOS and see what they do.

P.S. A smart man doesn't limit his options. How does the apps with ads stuff work? :)
[Android Software Development] Lakers16:
Just apply to admob, its easy. They give nicely detailed usage statistics too
[Android Software Development] adn37:
hi all,

Thanks for the feedback.

On "tell a friend about this app" feature:

I'll just stick with that, then. Any idea what's best to link to? A blog? Android market?

I'm still looking for an app that does it in a nice way, as a case study.

I feel you. Unfortunately, this is all about execution and idea potential. As coders, we are often thinking about code quality, this is only the 1st step.

On ads

: at the end of the day, it might be a hobby to design apps, but fun decreases when it comes down to fixing bugs for the sake of it. Ihmo, a slight revenue is good, as it encourages devs to keep up enhancing their apps.

I'm not a big fan of ads neither. It's all about culture. On Android, people are reticent to pay.
[Android Software Development] Rootstonian:
Good points and well said Adn :)

I actually got into this starting with Google Market apps, but my true goal is to get into corporate mobile development. I feel this is a technology barely in it's infancy. Just as almost all business' needed a web page, I think the same will hold true for a mobile app.

I just put in my resume to a company looking for an iPhone developer (1 year contract), but they also wanted to talk to Android developers too (wish me luck LOL).

Now, I'm on the fence as to what platform to go with. I think with the iPhone AND iPad, that iOS is the way to go with regards to corporate coding; so I'm going to head in that direction for now.
[HD2 General] dkskynet:
Hey all

does HTC HD2 has the same graphic chip as htc trophy ?

or is htc trophy better ?
[HD2 General] TheATHEiST:
Not sure if this is helpful but may have the answer somewhere.

http://compare.setooz.com/compare/HTC+HD2/HTC+Trophy
[Fascinate General] miguel11691:
How can I turn this crap off.. I can't search any videos with curse words in it or nothing... I'm 26 not a freaking child.. I tries to change but it's greyed out... I have a rooted stock rom
[Fascinate General] ilogik:
26 is the new 16, no naughty videos for you!
[Fascinate General] Avelnan:
YouTube has naughty videos!?
[Touch Pro2, Tilt 2 Windows Mobile General] djschizofrenik:
So I deleted all my messages in my inbox, however a few remain. There is the sim card icon next to them so I assume they are saved to the sim. I select them and click move to phone. But they still stay there. Is there some way to clear the sim or just clear these messages?!
[Touch Pro2, Tilt 2 Windows Mobile General] ms0529:
Have not been able to duplicate your issue, but go to System/Tools and open SIM manager and there are all the interface tools to take care of items stored to SIM, like IM, email and contacts. You can see everything that is stored on the SIM card and move, edit or delete them.

Hope this helps,

MWS
[Touch Pro2, Tilt 2 Windows Mobile General] cajunflavoredbob:
Your problem was answered above. The move to phone option only copies the message, it doesn't delete it or 'move' the message as the dialogue suggests.
[XPERIA X10 Themes and Apps] jags_the1:
Is there a way to run the phonebook.apk from the stock firmware on free x10. I am really found of it. I am sure som1 can edit it to get it working, that would be gr8.
[XPERIA X10 Themes and Apps] lansingone:
i don't think it's possible, i think i read that the only way to run Sony apps is with the source code for each app. i don't know much about how the software works, so i would love to be proven wrong.

i too am fond of the stock Xperia phone book, i liked many of the stock apps, even though it took its share of resources, i liked timescape a lot
[XPERIA X10 Themes and Apps] egyptshun:
I'm not saying its not possible(Its highly unlikely), but its useless, it wont be able to pull up the background picture without the framework and your running a different ROM for a reason, right?...
[XPERIA X10 Themes and Apps] pngface:
(sorry to hijack your thread) but what about the keyboard? I like that as well...

Phonebook i'm not so sure... its linked to Timescape right...the status updates and stuff
[Nook Color General] mitnits:
First of all - I admit complete ignorance of how screen resolution works in android, and how hardware acceleration for video / GL treats the display.

With that out of the way:

I just noticed that the proportions of the NC screen are not exactly like most other android phones which are 480x800, 480/800=0.6, while NC is 600x1024, 600/1024 = .586...)

Looks like we could "steal" 24 pixels at the bottom part of the screen for permanent display of "menu" and "back" (and maybe "search") buttons and still have the rest of display sized so that 480x800 applications would scale up "right". (1000/600 = 0.6)

If buttons are displayed constantly in all applications, e.g. even while video playback or while playing full-screen games, it could very well provide the missing android buttons w/o the need for soft buttons app.... Yeah, I've heard that honeycomb does away with the need for phys. buttons, but honeycomb is not here yet...

I honestly have no idea if this is workable (e.g. it's possible that hardware acceleration for video playback or full-screen games must use the entire screen) but I would love to see what people think....
[Nook Color General] camwinnn:
You should look at what archos does, they lack hardkeys and are sold as tablets.

A proper bar would be nice (especially in froyo) I find myself using the stock nook ones more often then button Savior.

sent from a Nook Color using xda-app
[Nook Color General] duloz:
Also, pandigital novel/cruz custom firmware has a nice set of buttons on the status bar. I eould love to see this status bar replace the nook status bar, but have no idea how it would be done.