[KERNEL][AOSP 4.4]Firekernel for yuga v0.3.1 beta

dragonnn

Senior Member
Oct 16, 2011
1,135
861
0
Standard disclaimer:
Your warranty is now void. Use at your own risk.
In other words: It is your choice to use this software,
I am not responsible for any damage or problems!

Futures:
- under voltage support
- gamma control (to use it you need to run insmod /system/lib/modules/msm_kcal_ctrl.ko or add such file in init.d:
Code:
#!/system/bin/sh
insmod /system/lib/modules/msm_kcal_ctrl.ko
- sound control (faux code)
- gpu oc to 450Mhz
- gpu voltage control (you can access it via /sys/devices/system/cpu/cpufreq/vdd_table/gpu_mv_table default values are 945 mV, 1050 mV, 1150 mV to change the voltage run for example
Code:
echo "935 950 1150" >  /sys/devices/system/cpu/cpufreq/vdd_table/gpu_mv_table
- cpuquiet for best cpu hotplug policy, I suggest to use load_stats for best balance between battery live and performance
- cpu governors (default preservative):
- LoUIS cache
- kernel runs in NEON mode
- optimized ARM RWSEM algorithm
- memutils optimization
- uksm - optimized RAM usage, using only a little bit of cpu power for that
- dynamic writeback - dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off. more info http://forum.xda-developers.com/showthread.php?p=42354290#post42354290
- interactive gpu governor
- Linaro and compile optimization -Ofast
- other small changes, to read in github commits

Big thanks goes to:
- rebelos for SlimKat (base source for this kernel)
- DooMLoRD, alnikki25k, jeroenqui, aidfarh for they kernel for yuga, often explored they repos for interesting things and changes
- faux123, ak and francisfranco for they kernel for other devices, I have taken much from they work
- And others with I not remember now!
-

FAQ:
- this kernel should run on most AOSP 4.4 based ROM's but I am testing it only on SlimKAT, report on with ROM's it works too
- for now no OC support - Z is fast enough phone, but is is getting hot on high usage and eats the battery fast so I don't think OC is really usefully
- on default settings you will got lower benchmark score in for example Antutu it got ~17k instant 20k - this is because we are using preservative cpu governor as default but since they are no lags in every day usage I don't care about it! Change to inteliactive if you want higher benchmark scores

Download
https://dl.dropboxusercontent.com/u/1664131/firekernel-yuga_v0.3.1beta.zip
https://dl.dropboxusercontent.com/u/1664131/firekernel-yuga_v0.3beta.zip
https://dl.dropboxusercontent.com/u/1664131/firekernel_yuga_v0.2beta.zip

Source
https://github.com/dragonnn/kernel_sony_apq8064

ROM's on they it doesn't work (for now, tested by other users):
- Vanir
- DU
- Pabx
- OmniROM

Changelog:
v0.3.1
- fixed wakeup gestures - now they should work

v0.3
- gpu voltage control
- force run all cores on one freq when user sets other min/max freq
- small gpu code cleanup form xzaosp
- gamma control
- true cd-rom emulation mode
- doubletap2wake and sweep2wake via generic sysfs files
- fixed wifi speed (I had some problem to get my full network speed on wifi)



XDA:DevDB Information
Firekernel for yuga, Kernel for the Sony Xperia Z

Contributors
dragonnn
Kernel Special Features: UV, dynamic fsync, dynamic writeback, UKSM, cpuquiet

Version Information
Status: Beta
Current Beta Version: v0.3
Beta Release Date: 2014-05-07

Created 2014-05-07
Last Updated 2014-05-14
 
Last edited:

Alex1911

Senior Member
Aug 13, 2013
186
40
0
Awesome !!!

Hey, you made my Day. :D

Downloading and testing on 4.4.2 slimkat weekly 4.9. :D

I will report back soon. :D



Best Regard's

Alex1911
 
  • Like
Reactions: zomer331

anshad666

Senior Member
Dec 19, 2012
557
136
0
MY configuration

Governor : Preservative

Scheduler: Fiops

Fsync : On

Cpu Quiet : load_stats

Mp decision : off

the only missing thing was Double tap to wake..but that's not an issue its running smoothly..:good::good::good::good::good::fingers-crossed:
 

spida_singh

Senior Member
Mar 3, 2011
519
165
63
Excellent, will give it a shot on Vanir 4.4.2.

EDIT:

Doesnt work with Vanir, get past boot logo, during boot animation, it then goes into a boot loop, without the kernel logo being displayed again, screen gets lit (although still black)and just loops on and off like this,

Cheers
 
Last edited:

dragonnn

Senior Member
Oct 16, 2011
1,135
861
0
Excellent, will give it a shot on Vanir 4.4.2.

EDIT:

Doesnt work with Vanir, get past boot logo, during boot animation, it then goes into a boot loop, without the kernel logo being displayed again, screen gets lit (although still black)and just loops on and off like this,

Cheers
Does other kernels like MOEW works on it? Could you give me a logcat?

Wysłane z mojego C6603 przy użyciu Tapatalka
 

Techpenguin5

Senior Member
Dec 26, 2013
656
574
0
22
colombo
Very Nice. Tested on Pabx rom and it boots but serious issue when you hit the power button screen goes black but is still on Baseband unknown so wifi and cellular radio dont work
 
Last edited:

Alex1911

Senior Member
Aug 13, 2013
186
40
0
That is exactly the best kernel, in my opinion.

Hey, you made my Day. :D

Downloading and testing on 4.4.2 slimkat weekly 4.9. :D

I will report back soon. :D



Best Regard's

Alex1911
I tested it on SlimKat 4.9 weekly build.

Kernel confug with TricksterMOD:

CPU Governour: Preservative

FSync: On

SOC Temperaturlimt: On

CPU Clock 384-1512 mhz

GPU Clock: 400 mhz

Undervolt on all Frequencies: -37,5 mV

CPU Quiet: load stats

CPU powersave: very agressive


Soooo...this kernel is in beta stage ? are you kidding, @dragonnn ?

This is the best and fastest working kernel i have had for my Device and i will surely stick with it

Keep up the very good and hard work ;)


Best Regard's

Alex1911
 

hadramos

Senior Member
Feb 28, 2008
313
97
0
France - Annecy
Yes, you have post your kernel in the new thread :) Very good news!
Thanks... Very thanks man
anything other good has future ?
* Gamma control
* Sweep 2 Wake
* Doubletap 2 wake
* USB Fastcharge
 

dragonnn

Senior Member
Oct 16, 2011
1,135
861
0
usb fastcharge is already ;), about s2w and dt2w in next version I think. With Gamma Control I will see what can I do.

It is beta because it wasn't tested by many users for now.

Wysłane z mojego C6603 przy użyciu Tapatalka
 

hadramos

Senior Member
Feb 28, 2008
313
97
0
France - Annecy
usb fastcharge is already ;), about s2w and dt2w in next version I think. With Gamma Control I will see what can I do.

It is beta because it wasn't tested by many users for now.

Wysłane z mojego C6603 przy użyciu Tapatalka
It has already been tested by me and I'm very happy :) (3 days already I am with your kernel)

Ok i'm very happy to your work because optimise kernel are very rare ;)

PS: Gamma Control is really very good and will be appreciated
 
Last edited:

spida_singh

Senior Member
Mar 3, 2011
519
165
63
Does other kernels like MOEW works on it? Could you give me a logcat?

Wysłane z mojego C6603 przy użyciu Tapatalka
MOEW does not work with Vanir, im trying to get logcat during boot, ill also grab a syslog and upload, hopefully it helps. I managed to logcat usin adb and write output to PC, but dont know if it stopped once the device booted up with your kernel.

Will upload shortly

EDIT

Logs attatched
 

Attachments

Last edited:

dragonnn

Senior Member
Oct 16, 2011
1,135
861
0
MOEW does not work with Vanir, im trying to get logcat during boot, ill also grab a syslog and upload, hopefully it helps. I managed to logcat usin adb and write output to PC, but dont know if it stopped once the device booted up with your kernel.

Will upload shortly

EDIT

Logs attatched
Screen flickering on DU v.07,.

Sent from my C6603 using XDA Premium 4 mobile app
It looks like booth of your ROM's uses different gpu driver with isn't compatible with my, unfortunately I can not do much for now without breaking the support for CM/SlimKat and other ROM's on they it works.
 

spida_singh

Senior Member
Mar 3, 2011
519
165
63
It looks like booth of your ROM's uses different gpu driver with isn't compatible with my, unfortunately I can not do much for now without breaking the support for CM/SlimKat and other ROM's on they it works.
No problem, i had a feeling it may have been ROM specific, any way to 'fuse' the ramdisk with the kernel similar to how alnikki25k does it, he has managed to keep compatibility by doing it this way, although there are still some graphical issues, which I think have been resolved, but not built / released since.

Either way, thanks for your work. I may have to switch ROMS, or wait for a solution.

Regards :D
 

dragonnn

Senior Member
Oct 16, 2011
1,135
861
0
No problem, i had a feeling it may have been ROM specific, any way to 'fuse' the ramdisk with the kernel similar to how alnikki25k does it, he has managed to keep compatibility by doing it this way, although there are still some graphical issues, which I think have been resolved, but not built / released since.

Either way, thanks for your work. I may have to switch ROMS, or wait for a solution.

Regards :D
I know what about are you talking - this needs are reworked flashable zip with generates the boot.img by using ramdisk form you old ROM with zImage (with is the kernel) when you flash it. I will provide such zip, but as you says this will not fix all problems.
 
  • Like
Reactions: spida_singh