Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,632 Members 36,628 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel] Sammy Unofficial I9300 Boeffla 5.0b5 (Linaro 4.9.1 - NEON) 08/June

Tip us?
 
PedroMedeiros
Old
(Last edited by PedroMedeiros; 20th June 2014 at 07:28 PM.) Reason: Version 4 added
#1  
Senior Member - OP
Thanks Meter 124
Posts: 133
Join Date: Nov 2012
Location: Porto

 
DONATE TO ME
Default [Kernel] Sammy Unofficial I9300 Boeffla 5.0b5 (Linaro 4.9.1 - NEON) 08/June

Hi all, this kernel is only for sammy 4.3 roms!

This is my first public release of a kernel that I have been compiling and mod for some time
So, my goal is to have all boeffla kernel features with some settings that I want to be modded like CPU OC up to 2GHz (mine fully stable at 1.8GHz).

Changes done to official Boeffla 5.0b5:
  • Higher ANTUTU score: 23541 (my system with 1.8GHz @ 1425mV CPU and 700MHz GPU)
  • Compiled with Linaro GCC 4.9-2014.05 (4.9.1) / Linaro GDB 7.7-2014.05
  • Hard-float and neon compiler flags
  • Compatibility to boeffla config app (some internal mod into version.c file)
  • CPU OC up to 2GHz
  • 100 MHz CPU frequency step (more power savings: stable to me @ 775mV <-- undervolted!!!)
  • Mach-midas: raise cpu freq throttle from 800 to 1500MHz and 200 to 800MHz
  • Permanent file-system trim
  • Allow manual brightness to 300 candela
  • GPU bottom lock fix
  • Manage only online cpus (cpufreq fix)
  • Allow cpu-based alignment fixup instead fixup in software (best performance)
  • VERY IMPORTANT (read here): Fix n_tty_write crash when echoing in raw mode (2009 bug)
  • Ethernet USB dm9601.ko module support: loading ASIX usb ethernet module under boeffla config also load this module (usefull for ebay cheap adapters like mine)

To do list:
  • Configure 40 Hz LCD refresh frequency below 1000 MHz CPU freq, like Sammy 4.1.2 AndreiLux Perseus kernel (more power savings) <-- I have ported it from Perseus kernel and tested it, however I don't like my screen like that (very low lcd freq update rate)
  • Add Wireless drivers for supporting Ralink rt2870usb and Realtek RTL8187 devices by OTG USB adapter
  • Add support for f2fs file-system
  • Implement ZRAM with the latest LZ4 compression/decompression algorithm

Flash procedure:
  • It is recommended to set a lower CPU freq limit like 1000MHz before flash
  • If the phone freeze, please reset boeffla profile settings: under boeffla kernel folder (in internal phone storage) there are a cwm zip to reset profile settings or download it below under tools section
  • Voltage table under config app must be reseted to avoid problems (set to none and press reset!)

Latest Changelog (Version 4):
  • Mach-midas: raise cpu freq throttle from 800 to 1500MHz and 200 to 800MHz
    Some temperatures throttle setpoints increased by ~10 celcius degree (at 90 celcius degree CPU is limited to 1500)
    I have done some tests, it's colder than other phones even with 1500MHz full cores loaded (throttle on), for gaming reduce max cpu freq...
  • Allow manual brightness to 300 candela: our displays can handle 300 candela in automatic mode, manual slide was limited to 250 by default
  • GPU bottom lock fix
  • Manage only online cpus (cpufreq fix)
  • Allow cpu-based alignment fixup instead fixup in software (best performance)
  • Overvolt by +25mV default 1.8-2.0GHz cpu steps voltage (more stability for 1.8GHz step @ 1425mV, before it was @ 1400mV)

 

Changelog Version 3:
  • Mach-midas: raise cpu freq from 800 to 1000MHz when reaching thermal limit
  • Permanent file-system trim

Changelog Version 2:
  • Implemented 100 MHz CPU step, now it could be configured from 100 - 2000 MHz


DOWNLOADS:
Help me by register on kickbit
TOOLS:
Source Code <-- Click here to access ftp server

Credits:
  • @Lord Boeffla -> for all amazing work and for make his kernel modifications open source
  • @Christopher83 -> for providing the pre-compiled linaro toolchain
  • @AndreiLux -> for help me understand how middle cpu frequencies like 1750 are generated
  • @googy_anas -> for some commits in github

Help me by register on kickbit
VERY IMPORTANT: if you like my work press thanks, BUT, if you consider donate me, also consider donate him: Lord Boeffla
The Following 7 Users Say Thank You to PedroMedeiros For This Useful Post: [ Click to Expand ]
 
andrewwright
Old
#2  
andrewwright's Avatar
Senior Member
Thanks Meter 2,916
Posts: 5,184
Join Date: Feb 2013
Does you're phone run at 2Ghz? Stable?
 
PedroMedeiros
Old
#3  
Senior Member - OP
Thanks Meter 124
Posts: 133
Join Date: Nov 2012
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by andrewwright View Post
Does you're phone run at 2Ghz? Stable?
Runs fully stable at 1.8GHz for some days without reboots
The Following User Says Thank You to PedroMedeiros For This Useful Post: [ Click to Expand ]
 
EP21
Old
#4  
Member
Thanks Meter 14
Posts: 57
Join Date: Jul 2010
Location: Vilnius
Do you want fries with that? But seriously, isn't 2ghz too much? 1.6ghz@1.3v is hot and i guess 1.7ghz@1.367-1.4 would be a lot hotter and 1.8ghz@1.425-1.487 would need a fan or a bigger heatsink atleast if ran on full load for 1 hour.
 
opoi63
Old
#5  
opoi63's Avatar
Member
Thanks Meter 11
Posts: 59
Join Date: Jun 2012
Location: Reggio Calabria - Italy
Quote:
Originally Posted by EP21 View Post
Do you want fries with that? But seriously, isn't 2ghz too much? 1.6ghz@1.3v is hot and i guess 1.7ghz@1.367-1.4 would be a lot hotter and 1.8ghz@1.425-1.487 would need a fan or a bigger heatsink atleast if ran on full load for 1 hour.
Not really, for example my chip is stable at 1.7ghz with deafult voltage, depend of the luck of your chip
 
Assa551N
Old
#6  
Senior Member
Thanks Meter 5
Posts: 118
Join Date: Feb 2013
Will you do this on CM/Omnirom kernel?
 
PedroMedeiros
Old
(Last edited by PedroMedeiros; 21st May 2014 at 07:33 PM.)
#7  
Senior Member - OP
Thanks Meter 124
Posts: 133
Join Date: Nov 2012
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by EP21 View Post
Do you want fries with that? But seriously, isn't 2ghz too much? 1.6ghz@1.3v is hot and i guess 1.7ghz@1.367-1.4 would be a lot hotter and 1.8ghz@1.425-1.487 would need a fan or a bigger heatsink atleast if ran on full load for 1 hour.
It depends in your cpu scaling options, like governor... And when phone gets hot, cpu freq is limited to 800 MHz, if you stress test it, you could see that sometimes it goes down to 800 MHz during some time (could be changed before compilation).
And I run cpu @ 1800 MHz with 1.425 V stable, I tried 1850 and it can't be handled, so my phone stable limit is 1.8 GHz )
The Following User Says Thank You to PedroMedeiros For This Useful Post: [ Click to Expand ]
 
PedroMedeiros
Old
#8  
Senior Member - OP
Thanks Meter 124
Posts: 133
Join Date: Nov 2012
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by Assa551N View Post
Will you do this on CM/Omnirom kernel?
I am a little busy right now with exams at university. Maybe in the next month
The Following 2 Users Say Thank You to PedroMedeiros For This Useful Post: [ Click to Expand ]
 
xKyrex
Old
#9  
Member
Thanks Meter 3
Posts: 56
Join Date: Sep 2011
Location: Leiria
Allow me to revive this topic by saying that my i9300 is stable using this kernel at 1.92GHz with +0mV and -25mV (didn't try -50mV or less)

At 2GHz it reboots after 2 minutes of Antutu.

Its obvious that no one should ever use this for daily use. I used it for Antutu Benchmark and I got a score of 24070.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-25-18-11-59.png
Views:	95
Size:	160.6 KB
ID:	2817312   Click image for larger version

Name:	Screenshot_2014-06-25-18-12-06.png
Views:	99
Size:	144.0 KB
ID:	2817313   Click image for larger version

Name:	Screenshot_2014-06-25-18-12-19.png
Views:	97
Size:	116.1 KB
ID:	2817314  

The Following 2 Users Say Thank You to xKyrex For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes