yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] jackjack078:
Hi existz,

I haven't done any oc / uv, either on suckerpunch59 ff2.6 and onix 2.01. On ff2.7.

On suckerpunch, when playing asphalt6, it always hang and closes itself, then back to home screen. But the game doesn't close or hang on onix.

I used all recommended tweaks on both kernel versions. Ext4 lag fixed on both. I'm totally a noob l. Just wanna report this if it helps on dev.

Anyway, excellent work on the kernel. Thanks very much.

Sent from my samsung captivate boosted by FireFly 2.7 with Onix kernel
[Captivate Android Development] bballer182:
Hey existz, I just ran across this little nugget of scriptness that could be a nice little addition to your CWM as a tweak or you could just include it with the kernel by default. I have tested it and I have seen increases in sd card read/writes by a pretty hefty amount with just the 2mb buffer. Haven't tried the 3mb buffer yet...

[Script][CWM] SD Card reading speed fix

http://xdaforums.com/showthread.php?p=12437265

Sent from my OC'd Samsung Captivate
[Captivate Android Development] existz:
lol i was just looking into it lastnite :P
[Captivate Android Development] H3llstorm:
Someone in that thread made this point:

What cluster size does Android/ext4 use, and what do you think would be an appropriate buffer size?
[Captivate Android Development] bballer182:
Haha. What r your thoughts on it?

Sent from my OC'd Samsung Captivate
[Captivate Android Development] existz:
Havent really looked into it much, but setting it to 2048 seems to give me the best results...

EDIT

Use SD Tools to get a more accurate benchmark... max read at read ahead=128kb was 17-18MB/s, with read_ahead=2048, max read went to 41MB/s
[Captivate Android Development] H3llstorm:
This only tweaks external SD cards right? Is there a similar tweak for internal memory?
[Captivate Android Development] shoman94:
hmmm.. I'm liking this!
[Captivate Android Development] xThe Enforcer:
I'm trying to oc/uc to 1.2.... I am doing Voltage Control right this time, lol... When I change the Mhz I make sure to change limit clock to match as well. Also left the scheduler to sio. Now when I am perfectly stable on these, 200. 150.150. 150. 125. 0. 0. 0. But obviously when I get to 400Mhz I can't go higher than 0... Is that okay?
[Captivate Android Development] topiratiko:
Im also running soft lock and pulling 15-17 hours off one charge with light-moderate use. Undervolting the 100mhz frequency helps.
[Captivate Android Development] goodolsen:
I manually changed the file mentioned in the thread and saw huge read improvements, but when I flashed the 2048 zip it didn't change the file.
[Captivate Android Development] existz:
im not sure about the zip...i changed it in the kernel for my own testing
[Captivate Android Development] topiratiko:
Dumb post. Ignore
[Captivate Android Development] Nuskul:
Should UV matter which kernel it comes from? I use SP voodoo and UV no problem, but when I used original SP, my cappy wasn't happy. BUT... I want to OC. Been running voodoo for a few weeks, smooth, fast, and good battery. Any chance we can get 1200 voodoo kernel?
[Captivate Android Development] existz:
Yea your UV can vary from kernel to kernel...it all depends on the oc/uv code used.. For example with sp-voodoo I use raspdeeps v21x code for the uv..with the original SP i used code modified by laststufo/trasig...and then now with Onix I use laststufo's newer modified oc/uv code...so technically it can vary..but it may be the same..it just depends on how your phone likes it..

Ive been thinking about adding up to 1280 for sp-voodoo...ill probably get around to it once I get Onix where I want it..then ill start working on sp-voodoo some more..then might do some stuff to my KB1 kernel that ive been wanting to do
[Captivate Android Development] rajendra82:
I have the Captivate on stock KB1 rooted. When I manually change the value for the version 1 parameter from 128 to 2048, I get a huge increase in the read speed in SD Tools. But I can't get this change automated. I have tried the following:

1. Flash the update corresponding to 2048 through CWM

2. Put the 77sdcardreadfix script in /system/etc/init.d manually

My /sys/devices/ doesn't seem to have anything like the paths in version 2, so that is probably not the version for me. All permissions are right (root.shell and 750), and the other scripts in the /etc/init.d folders get executed. But after each reboot, the value for the read ahead buffer resets to 128. What next?
[Captivate Android Development] Nuskul:
Sweet, can honestly say i haven't tried onix yet, just going on previous expierence with SP og , ill give onix a go and see what happens. Looking forward to what tweaks you make next. Thanks for the hard work.
[Captivate Android Development] ewingr:
Compatibility Question

I seem to get conflicting information where I read on mixing kernels, roms, and modems. So just want to be sure before I apply this kernel.

Currently on Cognition 4.2.1 (UCKB1 ROM, ie Stock 2.2 Captivate, modified). I want to be sure that the modem I apply does not take my blue tooth voice to static heaven.

Can I use any i9000 modem with this kernel and the UCKB1 ROM? I have good experience in the past on Serendipity, and I was running the Paragon kernel. (Maybe that would work too...but interest in trying this...hear good things).

FYI...I tried a Speedmod kernel (now don't recall which one... head starting to swim with all the various things out, and that I've tried). I put the KB1 modem on, it static was horrible with Blue Tooth.
[Captivate Android Development] bzmotoninja83:
This is some fast sh*te. I have docs 9.17 gingerborg mod and then this onix kernel, I was doing a quadrant test and wasn't as high as I had wanted.....its ok. I did a neocore test and wow!!!! The usual FPS. at the end is 55-56..... I got 64.8 highest. That was no oc. Kept it @ 1000. I still don't fully understand undervolting and know that so far its only stable @ 1200 no UV so, I will leave it for now. Battery life is within acceptable means too. Thanks OP!!!!!
[Captivate Android Development] xredjokerx:
that is simply because this kernel doesnt limit the fps to 55 like the other kernels do. otherwise you'd hit about the same fps.

but yes.

this kernel is awesome.

these tests arent accurate in benchmarking our phones.
[Captivate Android Development] bzmotoninja83:
So with this kernel we are on the way to what "TEAM WHISKEY" did with the vibrant when they got a 78 FPS. I still need to look more on the oc/UV thread. But, thus far this is my favorite. And to think I almost traded this cappy for a HD2
[Captivate Android Development] existz:
Try making a script named something like .. S_sdcard_fix.sh ...with nothing but this in it..

#!/system/bin/sh

echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
[Captivate Android Development] existz:
On a side note...I've been messing with using O3 compiler optimizations, was using O2...also trying out the optimized cflags used by laststufo, so far so good..seems somewhat smoother.. need to test over a day or two and see how it, if any, effects battery life ..
[Captivate Android Development] LNJ:
Needs testers?
[Captivate Android Development] existz:
Ill probably wait till I get a few more things added/removed before getting a test version out, when I do ill post it on my IRC channel...theres a weblink in the OP for those that dont use IRC..
[Captivate Android Development] cnigro1279:
Im no expert, but believe that both suckerpunch and onix are based on i9000 sources. When running an i9000 kernel, you should be running an i9000 modem. Mixing kernels and modems from mismatched sources can give all kinds of problems. Most noticeably your bluetooth static. I've had good results with jk4, but there are newer i9000 modems to try. Hope this helps.....

Sent from my couch on my phone.
[Captivate Android Development] H3llstorm:
That worked. :D
[Captivate Android Development] diablo009:
Dude, this kernel rocks..!!! The best part is the number of customizations present in the recovery menu.

One suggestion: It wud be great if u cud include the ability to show the type of file system on /system too in recovery mode. Or was it implicit somewhere that I missed?
[Captivate Android Development] rajendra82:
Onix + KB1 framework (like Cognition 4.x) + i9000 modem = micophone voice calls OK but static if on bluetooth (I have yet to find out exactly why)

Onix + KB1 framework + KB1 modem = static in all calls due to audience chip not being used

Onix + i9000 framework (like Serendipity) + i9000 modem = no issues in calls on bluetooth or microphone

KB1 based kernel + KB1 or i9000 framework + i9000 modem = no audio in voice calls at all

KB1 based kernel + KB1 framework + KB1 modem = no call quality issues, but no HSUPA
[Captivate Android Development] bballer182:
So exists, why r we only adjusting the 179:0? What about all of the other folders? There r like 200 other folders containing the same info. Is that the only folder that controls the external sd card read/write? Is there a setting or folder for the internal sd card?

Sent from my OC'd Samsung Captivate
[Captivate Android Development] rajendra82:
That did the trick.
[Captivate Android Development] rajendra82:
Actually the setting seems to be affecting internal sdcard read speed on my phone, because that's what SD Tools is testing. On the other hand, in the thread that originally discusses the fix, users are reporting the speed of the external sdcard being affected. I guess having a partition of onenand designated as sdcard affects us differently. Not sure what is so magical about 179:0 though.

When I applied the 128 to 2048 fix, sdcard write and read scores in antutu went from 9.6 and 12 MB/s to 8.8 and 15.1 MB/s, respectively. While in SD Tools write and read to internal sdcard went from 8.9 and 15.2 MB/s to 9.5 MB/s and 41.3 MB/s.
[Captivate Android Development] bballer182:
Yeah I don't know about that sdtools app. Seems pretty sparatic to me. I've been getting results all over the spectrum...

Sent from my OC'd Samsung Captivate
[Captivate Android Development] c0ldburn3r:
It's the kernel ;) No worries fix in the making.
[Captivate Android Development] existz:
The biggest thing that helped me was wiping starting clean, formatting int/ext sdcard, and just downloading everything over again avoiding any corrupted files...I went from 10hrs if lucky to 36hrs with 30% left... with same usage.. that was just me though
[Captivate Android Development] LimaI896:
I just may be an addict user then, I'm constantly on it, texting, web browsing, forum apps, games, music. I guess I expect too much?
[Captivate Android Development] Shammyh:
Not to ask the same question again but...

Existz, is there any chance we could get the source code and toolchain used to compile this kernel? I'd like to mess around a bit with some kernel development, and I really like the combination of elements you have going here.
[Captivate Android Development] ryude:
Not really, you're expecting about as much as you should. I on the other hand, expect too little lol. I text, browse web, check email, make calls... that's it.
[Captivate Android Development] LimaI896:
Would this be the same from using odins master clear? I do that when ever I update serendipities roms. 5.0 is coming soon so I shall try that then.
[Captivate Android Development] silverslotcar:
Master clear is just an internal sd format. So yea, basically the same. Just doesn't involve external sd.
[Captivate Android Development] c0ldburn3r:
Think about that statement for a minute. Then think about what the device is and the physical size of the battery. That's pretty damn good for our craptastic battery tech at this point in time.
[Captivate Android Development] LimaI896:
I can see where your battery would be better.

But for example right now I put in a fresh fully charged battery and dropped 4% in 20 mins. I havn't touched it at all just checked now n saw I have 9 texts lol.

Thought then again from day to day my phones battery acts different.
[Captivate Android Development] LimaI896:
Oh alright, I don't have an external so that means I've done it. Been waiting for those 32gigs to drop down.

Yeah true battery technology is just terrible, I understand I use my phone like a laptop but when I see these people with these outrages battery life times it makes me second guess my phone and I.
[Captivate Android Development] ryude:
I can literally leave my phone unplugged, use it for 3 days, check the battery and it's at 20%.
[Captivate Android Development] c0ldburn3r:
I can't go that far but I'm with you. I see much better life on this than the OG speedmod and I'm not even UV'n right now. Off the charger at 6 this morning and sent prolly 300+ txts fiddled with apps, updated, had about 30 min of talk time and I was at 70%
[Captivate Android Development] c0ldburn3r:
:D Doing the same with Cog and Perception followers.
[Captivate Android Development] LimaI896:
Thanks infringe I will be doing this to help it out. I basically have been doing what you suggested today but might of miss a step or two.
[Captivate Android Development] WickedNite:
Nice discussion few pages back. Got me laughing and mad at the same time. Lol. I'll try to calibrate my battery using the given steps above.

Sent from my Muscles using Brain Cells
[Captivate Android Development] iXNyNe:
I'm trying out the 1120 now. I can't run 1280 kernels but ill throw my vote in for a 1200!
[Captivate Android Development] existz:
Later on I might add a 1200 step in the 1280 version, I will make it default 1200 so you can choose, if I made it seperate then that would be 6 versions I would have to maintain...hell 4 gets confusing at times lol... plus if I do a stock brightness version that will be 8 as of now... but right now the charge death issue is my #1 plus a few other things I want to add in of my own that I been doing on the side...soon my friends...soon
[Captivate Android Development] zerkai:
How are you guys testing your UVs?
[Captivate Android Development] sf1120:
+1 on reading up all you can before flashing.BTW,thanks for the kernel.
[Captivate Android Development] H3llstorm:
If you meant erratic, I agree. :cool:
[Captivate Android Development] ewingr:
Thanks ( and gave you another Thanks button). I seem to be able to count on you giving good, understandable answers.

Your explanation is what I expect. I see so many people say to use an i9000 kernel and modem on UCKB1...one of which I tried and experienced exactly what you indicated above.

So,I guess, no Onix for me, at least not unless I move back to Serendipity or some other i9000 framework.
[Captivate Android Development] H3llstorm:
I'm pretty sure you can simply match an i9000 kernel and modem, regardless of which ROM you're using.
[Captivate Android Development] existz:
True.. but if you have Captivate framework + i9000 kernel/modem you will have static over bluetooth...but if you have i9000 framework + i9000 kernel/modem its clear...i think hes on KB1 rom and was wondering about bluetooth static..so in his case, it would be best to either use kb1 rom + kb1 kernel/modem or i9000 rom + i9000 kernel/modem...
[Captivate Android Development] bballer182:
Aggreed! :-)

Sent from my OC'd Samsung Captivate
[Captivate Android Development] xreflection:
Hmm, having battery draining problems now. My battery life was stellar for a day, then it just got crappy. I can barely get a day now with light usage. Maybe its time for a battery data wipe..
[Captivate Android Development] psloan:
quite possible. I have been having problems after flashing various modems. today I reset my battery stats and am getting about 1% hour drain. Been only 2 hours tho.

--pat
[Captivate Android Development] Seanbest:
Just flashed Phoenix Unleashed 8 yesterday then Onix 2.0.3 and ran the battery dead in about 7 hours. Probably need to wipe battery stats. Which affects battery more, kernel or ROM (pretty sure it's kernel)?

I'm at about 5% - 10% an hour drain right now. Mostly idle, and light usage. No GPS, no bluetooth, just wifi.
[Captivate Android Development] fractaline:
So,I guess, no Onix for me, at least not unless I move back to Serendipity or some other i9000 framework.[/QUOTE]

You can also try fire fly which is a rogers captivate based rom with onix and a newer i9000 modem like jq1 , jpg, jvk....

People are getting good bluetooth with that combo.

Sent from a fire fly's abdomen using morse code
[Captivate Android Development] diablo009:
I got 5% drain for 8.x hours sleep last night. I've my max speed set at 1000.
[Captivate Android Development] Seanbest:
This is all at stock OC/UV as well, haven't touched that yet.
[Captivate Android Development] existz:
The battery stats probably got wiped when you flashed the rom, give it a few full charge cycles, the battery will recalibrate itself over time ...anytime you flash a rom or kernel it can mess up the calibration ..so sometimes it may be off..sometimes it might not be...just give it a few charge cycles and it will get back to normal ...

Also, the rom can cause it to drain more or less compared to your last rom...it all just depends on the rom (how many apps run at startup, some roms include way more apps than others..system apps and user apps.., also if the rom includes an app that's a cpu hog...etc..etc) it just depends ..
[Captivate Android Development] RichMD:
Why is Optimized Mem timings optional rather than Recommended

I've seen posts that the memory timings really helped performance. The CPU threshold also boosts performance but clearly at the cost of battery life so I understand why that would be optional. Is there a con to enabling the memory timings? Would it use more battery, possibly cause stability problems, etc? Otherwise, I would expect it to be recommended.
[Captivate Android Development] tekavc:
I am having troubles with the speaker/headphones. The speaker does not work unless headphones are connected and the headphones themeselves never work.

I have tried rebooting, clearing dalvik and partition cache and I have also tried re-flashing through Odin and via CWM but still no fix. Do I have to do complete wipe or can this be avoided somehow?

Im on i9000 DOC Rom JS8 (went from Speedmod K13D to Voodoo 5.5.3 and then to Onix)...

I would really appreciate if somebody could give me some pointers...Thanks in advance...
[Captivate Android Development] existz:
Are you on an i9000? I seen you mention voodoo 5.3.3...if so, that's why...this is a captivate kernel ... if your on a captivate..iono, everything works fine here
[Captivate Android Development] ccdoggy:
Existz,

I think a few of us are curious if/when you will be including the 3d acceleration and the sdcard improvements. Those two are really the only two features i am excited about, especially from a great dev like yourself.

I am getting excellent battery life with 2.0.2, afraid to upgrade with all the sleep/charging/unplug death from the past 10 or so pages.

Thanks for the dedication and everything you do for all of the captivate owners.
[Captivate Android Development] existz:
If your talking about GBs latest work, I can't do anything until he releases sources...as for the sdcard fix, it will be in 2.0.4 ...if you want to keep up with my latest work, I keep all my latest development on github.. .

note that I update it in real time, so some things may or may not change when I make it official..its a dev branch, so stuff may change daily .... https://github.com/existz/linux_gt-i9000/commits/onix-2.0.x-dev

(I keep official sources attatched in the OP as a patch, my github is just for development and for my own resources, so if anyone wants to use my sources, I recommend using the latest patch in the OP, my github can/will change daily..adding/removing different stuff)
[Captivate Android Development] shoman94:
Flashed back to 2.0.2

Problem was battery drain every once in a while after unplugging the charger. Reboot would always fix it..... will be testing this with 2.0.2 again in the next couple of days but I don't recall having this with 2.0.2.

Had charger death happen to me once.

EDIT: BT file tranfer problem is not the kernel.
[Captivate Android Development] tekavc:
OMG, I am sorry. That was seriously noob of me. I did not notice that it was for the captive. Strangely, everithing else seemed to work without any trouble...
[Captivate Android Development] existz:
Yea auto rotation and sound will be messed up, I had talked some about doing an i9000, but since then ive removed alot of stuff regarding the i9000, such as all references to fm radio..etc.. if I ever get the time to set it up for i9000 i might release a version..but i want to get this kernel the way I want it before releasing it to i9000 group..seems theres wayy more people in that forum
[Captivate Android Development] tekavc:
Well, sincere thanks for the info. The kernel is really good and I wish the i9000 would have such a kernel. Right know, there really is a lack of updates regarding our kernel and your kernel appears to be the only one that is up to date and has all the features that really matter (being Speedmod & Voodoo Sound v7).

I guess I was so overwhelmed of the discovery I simply mislooked the fact that its a Captivate kernel.

I wish you the best of luck in perfecting the kernel. You are most certainly on the right path, and if you ever find the time to make an i9000 version, I am sure the guys will be very happy of your 'pimped-up speedmod beast'.
[Captivate Android Development] PearsonDKA:
Had onix 2.0.3 on my captivate for about 3 days now running 1.2Ghz with those UV settings from that guide in the OP. I did the whole 5 complete charges and the battery life doesn't seem all to great. I mean its a tad bit better but nothing all to...normal.

Sent from the I896 Cappy.
[Captivate Android Development] LNJ:
Hopefully the people that are having battery life issues are not comparing this kernel based on stock rom and kernel.

Cause stock is definitely going to have better battery life regardless.

The advantage of these modded kernels are the performance benefits and the multiple tweaks available in them.
[Captivate Android Development] PearsonDKA:
In my situation, I was comparing it to the hardcore speedmod k13d

Sent from the I896 Cappy.
[Captivate Android Development] mdoctor:
The combination of Continuum 4 and Onix 2.0.3 results in a blazingly fast and responsive Captivate, which showcases the real potential of this amazing phone. Great job!
[Captivate Android Development] mdoctor:
Performance and power conservation are always at odds with each other given everything else is the same. I have used both speedmod and onix, and Onix definitely is quite more responsive even with the 100Hz version.

I would rather knock the socks off all my friends who have an iphone. Very satisfying... ;-)
[Captivate Android Development] TRusselo:
great! but what do i do with the script? or where do i place it on phone? must i run it every boot?

sorry, i havent come across scripts on android yet...

EDIT i found it init.d folder
[Captivate Android Development] existz:
Im hoping to get a release out tomorrow, depending how tonight goes, so far so good on the charge death, haven't had one yet since a few changes... so if it makes it through the night ill release what I got ...Also might up the 100hz version some, making it 128/200 for kernel/user hz ...should give it some extra smoothness and shouldn't effect battery..still testing it though, but so far no change in battery life .. Also this build is the smoothest/quickest IMO ..all the changes are on my github
[Captivate Android Development] TRusselo:
great work man! thats why i stick to your kernels through the good and the slightly less than good...

1 little sleep death after over a week aint going to scare me away!
[Captivate Android Development] VFO:
This is great news! My SDs have been getting more frequent so hopefully this will fix the issue. It's funny because even though the phone randomly shuts down, I haven't even considered switching Kernels. I knew at some point it would get hashed out. Thanks existz.