yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] falconscrest123:
Im not sure either because i have all govenors mentioned above while i can tweak everyone of them using kernel aditor apk and plus i can also toggle fast charge which wasnt present in omni rom for the vibrant. I have uploaded some screenshots and it is from code rom.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Sure, i'll set a github soon, but trust me there are only minimal changes to the origianl code (even if adding liveOC seems harder since i only got build errors xD).

Btw i won't build anything this week, i'm busy with exams.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Github is up !
[Galaxy S I9000 Android Development] xc-racer99:
Check your PM, let me know if you need more help.
[Galaxy S I9000 Android Development] althafvly:
Hey.

I tested it on 5.0.2 . stuck on bootanimation. Better mention that its for 5.1.1 .

Can you add support or please tweak it for 5.0.2

Now iam using RR lp 5.0.2

I removed some apps. And it have the same apps like omni. Its works faster than ever. Working theme engine. Only removed music and added apollo.
[Galaxy S I9000 Android Development] falconscrest123:
Has anyone have a bug where when you call someone the speaker mode work fine but the audio stops working when you turn off speaker mode

I had no problem with original omni kernel any fix because this is an awesome kernel
[Galaxy S I9000 Android Development] Coldwindofnowhere:
That's weird, i haven't changed anything concerning the audio in the kernel. You're using it on a vibrant right ? This might be the problem. I'm gonna try to reproduce this bug on my i9000 and see ....

Edit: try this http://www42.zippyshare.com/v/aZ6XgBlE/file.html

DO NOT FLASH, IT DOESN'T WORK (except if you want to give me a log or if you're really curious)
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Any feedback on the vibrant version ?
[Galaxy S I9000 Android Development] falconscrest123:
The kernel didnt even flash no errors nothing whenever i flashed via twrp it would instantaneously reboot to recovery. Thanks again for atleast trying to fix the issue.
[Galaxy S I9000 Android Development] althafvly:
Bro. Can you add fast charge and the governers in omni kernal 5.0.2. Please

Thanks :)
[Galaxy S I9000 Android Development] (°_o):
I wrote an init.d script that does this.

Install it like usual, push to /system/etc/init.d/ and set permissions 0755.

I will upload a flashable zip soon.

It renames the lib to "libSEC_OMG.so_CUTE" so either rename the lib to that or to stock and the script will take care of rest.
[Galaxy S I9000 Android Development] althafvly:
Great

Try to add this in the zip..
[Galaxy S I9000 Android Development] (°_o):
Okay, I will see into it.

And I forgot to remount system writable. so the script doesnt work right now. fixing it
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Thanks for your work dude, by the way i think i solved the youtube issue in XLmem and Bigmem modes, i'm uploading a new rom build right now.

It's up, could someone make some tests on it to see if there are any problems (pm me) ?
[Galaxy S I9000 Android Development] jupiter5700:
Great! Are you looked at new PowerVR540 drivers, may be it exist and able to implement in your kernel?

---------- Post added 26th November 2015 at 12:01 AM ---------- Previous post was 25th November 2015 at 11:50 PM ----------

Ok, will be wait script!
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Are you sure there is a new PowerVR540 driver ? I never heard of it tbh.
[Galaxy S I9000 Android Development] iagm12:
[MENTION=6794010]Coldwindofnowhere[/MENTION] There's is no way to fix the regular videoplaying? I mean, i should be able to play all my videos on XLMem, but i can't. Or this can't be fixed because you don't have the adeccuate libs? Sorry for the dumb question. But, all i hear is you're going to fix the youtube issue, but not anything about the regular playblack.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
I will have a look at this issue later, for now i'm focusing on youtube playback. Maybe the new patched libs i will be using will fix both.
[Galaxy S I9000 Android Development] (°_o):
Looks like the issuse will be fixed in libs , so there is no need for this workaround.

Anyways I will just drop the lib renamer here incase anyone wants it. remember to rename the lib to stock before flashing.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
New build coming in a few hours : it will include 720p patched libraries, [MENTION=5916159](°_o)[/MENTION] script to make youtube work in Maxmem and a few other improvements.

Here it is : http://www88.zippyshare.com/v/9gGaQP4M/file.html

I will update OP when i will have some feedback because i haven't tested it a lot.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
If any (courageous) one is interested in upgrading linux kernel, i've pushed linux 3.1 over my kernel on a new branch : https://github.com/Coldwindofnowhere/android_kernel_samsung_aries/tree/test.

Well there are more than 300 conflicts so yeah .... not really usable for now

If anyone what to help me, pm me. I won't do it if i don't get helped : it's too much work only for one person
[Galaxy S I9000 Android Development] jupiter5700:
Coldwindofnowhere, can you compile your last kernel_GPU with CMC colors instead of VoodooColor, please?
[Galaxy S I9000 Android Development] althafvly:
Why dont try building kernal for omni 6.0 ??
[Galaxy S I9000 Android Development] Coldwindofnowhere:
As far as i know [MENTION=4460995]sooti[/MENTION] is already using a modified version of my kernel.

See here : https://github.com/lollipopi9000/android_kernel_samsung_aries/commits/cm-13.0_overclock
[Galaxy S I9000 Android Development] Coldwindofnowhere:
[MENTION=4794588]jupiter5700[/MENTION], here it is : http://www23.zippyshare.com/v/HrJQOWgP/file.html
[Galaxy S I9000 Android Development] sooti:
Yes, my kernel is the same as his, with the same tweaks and gcc :)
[Galaxy S I9000 Android Development] Coldwindofnowhere:
If someone is interested in testing the latest kernel, pm me (I will release a new version later because i'm not sure if it's stable).

If you want to know what are the latest changes, take a look at my github. Also if you have any idea to improve my kernel, go ahead !
[Galaxy S I9000 Android Development] althafvly:
Why dont u try the CMA allocation
[Galaxy S I9000 Android Development] Coldwindofnowhere:
It's not stable enough (in my opinion).
[Galaxy S I9000 Android Development] (°_o):
[MENTION=6794010]Coldwindofnowhere[/MENTION]

Do you know how can the boot.img be extracted to kernel and ramdisk and recovery.? I need to modify some ramdisk stuff..

I tried the normal tools but they didnt work.

I searched a bit on the source code of kernel and device tree but I couldnt find how boot.img is created..

Thanks
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Take a look at my mega folder, i'm uploading these files right now.

Also it has the latest commits i've pushed so yeah it might not be completely stable.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
New build with the following changes :

- SLQB memory allocator

- NEON optimized crypto routines

- Zram optimisations

- LMK optimisations

- EXfat support (as a module). // Could someone tell me if it's working properly ?

- Squashfs is build as a module now

- Wlan interface is completely powered off when wifi is disabled

- Vaious fixes ...

Note that this is an experimental build, it might be buggy. Testers and (constructive) feedback would be appreciated

Here is the link : http://www39.zippyshare.com/v/uJrMTDMH/file.html

MD5 : 772606bf5f5d4269264fb66f54a4c8de
[Galaxy S I9000 Android Development] Kiceczek:
Hey today i start use your kernel i will test it and write whats is wrong for me ^^ The first thing is a bigmem break snapchat? Its possible to reperair this?
[Galaxy S I9000 Android Development] iagm12:
Yep, i can tell the difference... Definitively my rom is running smoother. :D Thanks [MENTION=6794010]Coldwindofnowhere[/MENTION]

Edit: Hey, ammm... Just for curiosity... I've read about Squashfs filesystem, and is interesting. You can tell me how to make it work? (i mean how to do it). Maybe a tutorial or something c:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
http://www.tldp.org/HOWTO/html_single/SquashFS-HOWTO/#creatingandusing
[Galaxy S I9000 Android Development] phil_greg2001:
Everything works well here :good:

:cool:
[Galaxy S I9000 Android Development] (°_o):
I just realized that zImage is boot.img .

So there's no way to modify ramdisk without compiling the kernel. Its hard coded.. :|
[Galaxy S I9000 Android Development] Coldwindofnowhere:
So even EXfat driver is working properly ? I guess there is no need to update it then.

Also i'm running into some issues :

- I cannot update the PVR driver to DDK 1.8@2198402, the kernel is not booting at all. Apparently [MENTION=3031478]humberos[/MENTION] ran into the same issue : https://github.com/Coldwindofnowhere/android_kernel_samsung_aries/commit/b7a0870b0f4b7d052f786e8fddc8a0d93d132bcf. I know it's not a big issue but there is still something wrong.

- I also wanted to take a look at the OC possibilites of the GPU, i found this.

I got it to work, changes are on my github but there still some work to do : I have no idea how to switch from OSWaitus to SGXWaitClocks (from what I understand the latter just calls OSWaitus with some arguments). Also it would be great to make the frequency selectable by the user, instead of having only 200 MHz and 250 MHz, that's why i've added "oc_value" which is completely useless for now.

If someone can take a look at these it would be great ! Of course course these aren't big issues/features but still.

Sorry for the long post.
[Galaxy S I9000 Android Development] Flowah123:
How's going works on upgrading Linux kernel to 3.1? :D

Unfortunately, i9000 is my primary phone for daily usage, so I can't help you with testing D:

But during Christmas holidays I will test your stable 3.0.101 :D
[Galaxy S I9000 Android Development] Coldwindofnowhere:
I'm not working on linux 3.1 project at all unless some genius dev come to help me, it's way too much work and I don't have the time and the skill to do this. Also there are already tons of things to improve/fix/add in the currently kernel so it's enough work for one person.
[Galaxy S I9000 Android Development] iagm12:
[MENTION=6794010]Coldwindofnowhere[/MENTION] Dude, why do you build this kernel with Voodoo Colors, instead of CMC? I mean... All the ROM's in the forum have the option to work with CMC. I prsonally prefer CMC... Or Voodoo is better?
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Also, new build with the following changes : (yes again)

- BFQ I/O scheduler v7r8

- Better INT voltage

- 2 steps GPU overclock

- Faster boot

- Cpu-boost driver backport

- Various tweaks / fixes

To enable gpu OC :

- Start adb / any terminal emulator

- Enter the following

su
echo "1" > /sys/kernel/pvr_oc/pvr_oc

- Hint enter

You can use the following values :

- 0, to disable gpu OC (gpu clock is at 200 MHz)

- 1, gpu clock is at 220 MHz

- 2, gpu clock is at 250 MHz

If someone can test gpu OC by benchmarks it would be great and also tell me if you experience crashes at boot.

http://www33.zippyshare.com/v/WgmChgPe/file.html
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well personally I prefer VC but you have to tweak a bit to find the right calibration. I will try to make it optional in the kernel configuration but i'm not sure if it's possible. I may switch back to CMC in the future builds if too many users hate it but this isn’t my priority.
[Galaxy S I9000 Android Development] Flowah123:
Oh, I'm sorry, I didn't know D:

So, doesn't matter, thank you for everything you're doing for this milestone!
[Galaxy S I9000 Android Development] phil_greg2001:
Many thanks for this kernel :cool:

If I put 1 in /sys/kernel/pvr_oc/pvr_oc and I reboot... 0 come back :confused:

:cowboy:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Yes it's not reboot persistent (for now). Note that you don't need to reboot to apply it.

Also if you want to keep oc even after rebooting , you can write a simple init.d script to echo 1 in /sys/kernel/pvr_oc/pvr_oc at each boot.
[Galaxy S I9000 Android Development] phil_greg2001:
Dear Coldwindofnowhere,

I haven't make benchmarks but it seems smoother with GPU OC. :good:

:cowboy:
[Galaxy S I9000 Android Development] jupiter5700:
May be you will provide your kernel in two versions separately? VC and CMC colors.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
I really have no idea why i'm getting

cgroup_timer_slack.c:209:15: error: 'timer_slack_subsys_id' undeclared here (not in a function)
.subsys_id = timer_slack_subsys_id,
^

when I enable CONFIG_CGROUP_TIMER_SLACK ....
[Galaxy S I9000 Android Development] ali_haghparast:
couldn't install on A-5.1.1 rom - 3.1

i tried in every way i could (converted kernel to tar and tried by odin)
[Galaxy S I9000 Android Development] Flowah123:
I thought A-5.1.1 just has Coldwindofnowhere's kernel built in it.

Isn't it like this?
[Galaxy S I9000 Android Development] Coldwindofnowhere:
[MENTION=7116958]Flowah123[/MENTION] Yes but it's not the latest version (as far as I know).

[MENTION=2985755]ali_haghparast[/MENTION] Never convert flashable zips to odin tar, you will end up by bricking your phone. You can just flash the zip via TWRP.
[Galaxy S I9000 Android Development] ali_haghparast:
Attached my TWRP log

It says the kernel installed but noting change

also attached screenshot from my mobile ,before and after
[Galaxy S I9000 Android Development] Coldwindofnowhere:
You must install this one in order to have gpu oc (you have installed the previous version): http://www33.zippyshare.com/v/WgmChgPe/file.html
[Galaxy S I9000 Android Development] ali_haghparast:
Now I overclocked my gpu at 250 MZ also the code overclocked cpu at 1400 MZ too

every thing is stable and better

thank you
[Galaxy S I9000 Android Development] Coldwindofnowhere:
I just made a new build, this is more like a testing build than anything because i'm not sure if it's smoother than the other one. Could someone test it ?

http://www6.zippyshare.com/v/AlJzIt7p/file.html

For the changelog, just take a look at my github.
[Galaxy S I9000 Android Development] Flowah123:
For the changelog, just take a look at my github.[/QUOTE]

Unfortunatly, I can't test your latest build 'cause i9000 is my primary phone.

I just flashed A-5.1.1, can I flash your latest stable on it? I would test it gladly :D

And... Sory for the dumb question, but... Wich .zip I have to flash? There are so many in your Mega folder (and another on Zippyshare).
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Kernel_BFQ.zip is the latest "stable" build and you can flash it over A-5.1.1 without any problem since this rom uses an older version of my kernel.
[Galaxy S I9000 Android Development] Flowah123:
Thank you a lot!!
[Galaxy S I9000 Android Development] ali_haghparast:
The new build is stable too but not fast as Previous one

thank you for your effort
[Galaxy S I9000 Android Development] nepal12:
And how to check if the GPU is really overclocked. Is there any app for that.

As a kernel developer, can you suggest any CPU Governor and I/O scheduler which is better than other.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well no but you can still use dmesg to see if it is applied correctly.

About CPU gov and IO sched you must try them to see which one fit better to you. Personally I like the combination of smartassV2 and bfq.
[Galaxy S I9000 Android Development] jupiter5700:
Try with NenaMark2 (can find it on google play) and post two (nonOC and OC GPU) results here.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
GCC 6.0 is actually less buggy than I thought ... next builds will be using GCC 5.3.
[Galaxy S I9000 Android Development] Kiceczek:
I write in terminal emulator this Command and nothing changed in benchmark i always got 26.2 fps what wrong i do?
[Galaxy S I9000 Android Development] jupiter5700:
It mean that OC of GPU is not work properly. Now set LiveOC to 110% and try benchmrk again, GPU will be true OCed.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Um that's weird, theoretically gpu oc code should work without any problem .... i will look at this issue next year.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Here is the last update of 2015, the changes are the following :

- Built using GCC 5.3

- Ofast optimisations for some files

- Some stuff backported from linux 3.4 & 3.8

- Implemented CoDel AQM, see http://queue.acm.org/detail.cfm?id=2209336

- Lots of various fixes (see in github, more than 30 commits)

Link : http://www25.zippyshare.com/v/2Si9Gtgv/file.html

Also, merry Christmas and i wish you the best with your life and your family.
[Galaxy S I9000 Android Development] phil_greg2001:
Many thanks and merry Christmas :angel:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Even if development on this phone is kinda dead, do anyone here know if it would be possible to port this to our phone.

I know the motherboard and the CPU of the nexus is different than ours but the GPU is the same right ?

s5pc110 is made by Samsung whereas omap4 is made by TI so i guess that's the main problem ....

So yeah if someone well versed into drivers can answer this it would be a great help.
[Galaxy S I9000 Android Development] althafvly:
Why you need to port this??
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Because I want to :) Also it might make performance of the graphic chip a bit better.
[Galaxy S I9000 Android Development] fathi48:
Dear [MENTION=6794010]Coldwindofnowhere[/MENTION] why you are not working in android 6 kernel for Galaxy S

Many thanks for your hard work
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well android 6 kernel (if your talking about the one sooti compiles) includes all my work on 5.1.
[Galaxy S I9000 Android Development] Audiracecar90:
That means u make all changes in android 5.1. 1 itself?
[Galaxy S I9000 Android Development] fathi48:
Yes I know but I mean, you work all the android 6
[Galaxy S I9000 Android Development] phil_greg2001:
Hi Coldwindofnowhere,

Happy new year :p

I want just say your last kernel is a master piece :good:

:cool:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
All the changes in the 5.1.1 kernel are compatible with 6.0. In fact, the 6.0 kernel is almost the same than the one on LP, it has just a few additional commits on SELinux. To answer your question, the changes i make are only kernel related, not rom related so these can (technically) work on KK as well on M. So there is no need to make another kernel since sooti can just merge LP commits into M branch. I'm not sure if i have completely understood/answered your ask but yeah ...

I have no idea of what you want to say ... sorry about my english skills haha

Thanks dude, i hope 2016 will be a better year than 2015.

:good:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Here is a new update, the changelog is the following :

- Random reboots in recovery fixed

- Blinking notifications are working now !

- ION memory allocation is now enabled

- SDIV/UDIV emulation

- Dynamic fsync (disabled by default)

- uid_cputime fixes from [MENTION=4365701]psndna88[/MENTION]'s AGNi kernel

- Various others optimisations

Link : http://www50.zippyshare.com/v/zVr8YvZ4/file.html

Note that i'm not sure if performance is actually better with ion enabled, but i'm sure it uses a bit more ram so don't be surprised.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well for the next updates, I don't see any more feature I can add (no I won't add CMA) so I will be focusing myself on cherry-picking things form higher linux versions. I'm trying to implement slub fixes from 3.1 and it seems to work well for now, so wait and see ....
[Galaxy S I9000 Android Development] jupiter5700:
Only one thing that you can to improve. It is more memory, like on DomnesuKernel alpha for LP. Up to 440Mb.:good:
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Yeah it would be great but i don't know how to ...

Do you know how Domnesu proceed to have 440Mb of ram avariable without using CMA ?
[Galaxy S I9000 Android Development] xc-racer99:
Well its not much, but I found a commit that saves 3MB of RAM all the time by freeing the memory reserved for the bootsplash. You can view it at https://github.com/xc-racer99/andro...mmit/47467ca66cbf4ab1b3a74c8871d72faf5dfa99a1
[Galaxy S I9000 Android Development] jupiter5700:
No, i only know that he was used DevilKernel memory allocation as source. He cut CMA from NeatKernel, put memory allocation from DevilKernel and have about 384,398,410 and 440Mb RAM.

And i think it is exist known patches to save more memory on the first step (i mean bigmem value=0) and it bring about 10-12Mb to every bigmem step values (0,1,2,3).
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well i'm also using bigmem from DevilKernel, i will have another look to see if i'm missing something.

[MENTION=5414656]xc-racer99[/MENTION], thanks for the commit, each byte of ram saved is important for such a low-ram device.

Also if someone wants to play with an experimental version of the kernel with ~40 commits from newer linux versions i'll attach a boot.img to this post. Be warned, i haven't tested it a lot (but it's booting) ...

Edit : boot.img updated
[Galaxy S I9000 Android Development] phil_greg2001:
Working very well here :)

Many thanks man.
[Galaxy S I9000 Android Development] Coldwindofnowhere:
So here is a new release i will keep the changelog short but keep in mind that it's one of the biggest update i made.

Changelog :

- Updated timed gpio from linux 4.X

- Updated exFat drivers (needs testing too)

- SElinux fixes

- SLUB fixes from linux 3.1

- More memory available

- Compatible with android 6.0.X

- Various FS related changes

http://www28.zippyshare.com/v/oSTD5XKH/file.html

I think it's pretty stable for now but it needs more testing, so if you find any issue, feel free to post here.

Also if someone can do some benchmark, comparing Kernel_2015.zip and Kernel_M.zip, it would be really useful.
[Galaxy S I9000 Android Development] phil_greg2001:
I say Wowwww ! :eek:

It is the best of the best !!!

Many thanks man :good:
[Galaxy S I9000 Android Development] Trainer_H:
I try it with A-ROM 6.0.1 and it didn't work. After i try it my phone got a boot loop.
[Galaxy S I9000 Android Development] Calvin.manneson:
+1
[Galaxy S I9000 Android Development] phil_greg2001:
+1 :(
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Thanks for the feedback, i just wanted to see if some commits on the kernel could do it but i guess changes to device specific files are inevitable.

So i will only support LP for now. I don't see the point on doing MM kernel builds l right now since sooti's omni rom builds already includes it

By the way if someone is more knowledgeable than me in the linux kernel, please PM me, i would need some help to backport some features
[Galaxy S I9000 Android Development] RaconDZ:
Too bad this one of a kind kernel is not available for other roms, really such a lose. :(
[Galaxy S I9000 Android Development] jupiter5700:
Yeah, you a right, for example i9000 have only one rom on LP with theme engine, it is ressurection remics. It will be great if this kernel will be ported to all available roms from LP 5.0 to latest MM 6.0.1
[Galaxy S I9000 Android Development] Coldwindofnowhere:
Well it's actually compatible with all roms based on Omni 5.1.1. Making it compatible with 5.0.2 (RR) requires to rebuild everything ... i don't think it's possible to make a single kernel build compatible from 5.0 to 6.0 (correct me if i'm wrong).

I think it's not worth the time to work on 5.0, which is outdated and buggy compared to 5.1. For 6.0 i will begin builds when the final MM rom will be released, maybe earlier but i'm not sure about it.
[Galaxy S I9000 Android Development] jupiter5700:
Well, may be you can try to build RR based on latest LP or MM sources? ;)