[KERNEL][Z] Rojak Kernel (v5) for Omnirom (20141105)

aidfarh

Senior Member
Sep 17, 2010
522
543
0
Kuala Lumpur
Rojak Kernel for Xperia Z

WARNING!!
This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!

INTRODUCTION
This is a kernel for Xperia Z running Omnirom. It may or may not work on other roms.
Any feedback is welcome.

FEATURES
  • Linux 3.4.86
  • Gamma control
  • Sweep 2 Wake
  • Doubletap 2 wake
  • USB Fastcharge
  • CPU overclocking up to 1836 MHz
  • Intelli-Plug
  • Additional CPU governors - intellidemand, intelliactive, preservative
  • Additional I/O scheduler - bfq, sio, fiops
  • GPU overclocked to 450 MHz
  • Additional GPU governor - simple
  • Voltage control
  • Sound control
  • Intellithermal (NEW)

REQUIREMENT
This kernel work with Omni 4.4 for Xperia Z. It's tested on Omni 4.4.4 nightly build 20141031. Please update your rom if you're using an older version.

INSTRUCTION
Make sure you're using Omnirom build 20140324 or later. Download here. Flash the zip in CWM or TWRP recovery.

NOTES
  1. To change CPU governor or min/max cpu frequency (i.e. over/underclocking), first disable MPDecision and enable Intelliplug using an app like Fauxclock or Trickster Mod. To over/underclock, use Omnirom's performance setting. Third-party apps might not work.
  2. To use Gamma control, see this post: http://forum.xda-developers.com/showpost.php?p=45436325&postcount=3. Credits to alnikki25k.
.

SOURCE CODE
https://github.com/aidfarh/android_kernel_sony_apq8064/tree/rojak_kk

CREDITS
This kernel is based on Omnirom kernel for yuga. Various codes were copied from kernels by DoomLord, alnikki25k, maxwen and faux123. Thanks to all other kernel developers who's contributed codes to various linux and android kernels.

XDA:DevDB Information
Rojak Kernel for Yuga, Kernel for the Sony Xperia Z

Contributors
aidfarh
Kernel Special Features:

Version Information
Status: Stable

Created 2014-03-26
Last Updated 2014-11-05
 
Last edited:

aidfarh

Senior Member
Sep 17, 2010
522
543
0
Kuala Lumpur
Reserved

CHANGELOG

v1 (2014-03-25)
  • Gamma control
  • Sweep 2 Wake
  • Doubletap 2 wake
  • USB Fastcharge
  • CPU overclocking up to 1836 MHz
  • Intelli-Plug
  • Additional CPU governors - intellidemand, intelliactive
  • Additional I/O scheduler - bfq

v2 (2014-03-27)
  • Added sio and fiops I/O schedulers
  • Overclock GPU to 450 MHz
  • Include wlan firmware in kernel zip

v3 (2014-04-12)
  • Added voltage control
  • Added preservative CPU governor
  • Updated GPU drivers (copied from xzaosp kernel)
  • Added simple GPU governor
  • Kernel updated to Linux 3.4.86
  • Compiled using Linaro 4.7-2014.01 toolchain
  • Various optimisations (mostly cherry-picked from xzaosp kernel by alnikki25k) (see github for details)
  • Added sound control (doesn't seem to work)

v4 (2014-05-05)
  • Added sound control v3.2
  • Compiled using Linaro 4.8-2014.03 toolchain
  • Enabled some linaro optimisations

v5 (2014-11-05)
  • Synced with updated omnirom kernel source code
  • Compiled using Christopher83's 4.9.2-2014.09 toolchain
  • Added intellithermal (disabled by default; enable using Trickster Mod, Fauxclock or similar app)
  • Updated intelliplug to ver 3.8
  • Modified preservative governor for extra smoothness
  • Also see the notes in this post: http://forum.xda-developers.com/showpost.php?p=56506979&postcount=134
 
Last edited:

Vishalkris

Senior Member
Oct 18, 2012
492
130
0
mumbai
fc04.deviantart.net
Im wondering the same thing.Tell us when you test please.
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:

---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------

flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag...:) while scrolling list view in settings and i also while scrolling side wise in the app drawer...

Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm

But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
 

anshad666

Senior Member
Dec 19, 2012
557
136
0
I can confirm that it perfectly working with aslyum rom latest..nothing find unusual.. Post it soon regarding the battery life..


Edit: wifi reception was lower than stock omini..


Sent from my C6603 using Tapatalk
 
Last edited:

aidfarh

Senior Member
Sep 17, 2010
522
543
0
Kuala Lumpur
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:

---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------

flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag...:) while scrolling list view in settings and i also while scrolling side wise in the app drawer...

Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm

But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
  1. I expected that wifi might not work with other roms or older omnirom builds. The latest omnirom kernel has updated wlan drivers but it also need updated wlan firmware to work. Try flashing the attached zip that contains the updated wlan firmware and see if it works.
  2. Lags are hard to quantify and hard to fix. Try other CPU governors or I/O schedulers and see if things improve.
  3. What CPU governor to do you want?
  4. GPU overclocking is planned, but I can't promise anything.
 

Attachments

MR.Samo

Senior Member
Jan 9, 2012
444
246
0
FINALLY!!!! When i sow the thread title i couldn't believe my eyes :eek:

Long time we are waiting for a kernel that support Roms that are not based on stock, specially when u bring to us Gamma control and fast charge pleasure.

So i want to say thank u aidfarh from all of my heart, and yes plz don't stop this, keep the development up as much as u can cuz we need u
(now i feel like i am a little girl who asking too much LOL).

I am about to flash PA today, will flash it and I'll try your kernel to see how it goes, and if it doesn't then i'll back to my favorite ROM Dirty Unicorns then i'll try again.

Thank U :victory:
 

kingrion88

Senior Member
Oct 28, 2013
140
35
0
off-topic: hahaha ROJAK kernel. typical orang malaysia in naming mixed things!

back to topic, could you include FIOPS IO scheduler by faux123? According to faux, intellidemand/active works the best when combine with FIOPS scheduler.
 

MR.Samo

Senior Member
Jan 9, 2012
444
246
0
OK.. It's working on DU 15/03/2014 build, had no WIFI but after flashing wlan firmware the WiFi get fixed.

I don't have any random errors, FC's, Reboots, lags... everything is perfect.

One thing I've noticed is Gamma control, the sittings doesn't stick after reboot and i don't now if that is the same for fast charge or for the
o/u clocking.

Will keep testing...
 

SeeMeNoMore

Senior Member
Apr 23, 2012
184
45
0
Dingolfing
Its working flawless on infected's omni build 0324. Hope u keep updating this Bad ass. No issues at all so far. Cant wait for the sound control! Thank you dude.

Gesendet von meinem C6603 mit Tapatalk