FORUMS
Remove All Ads from XDA

 View Poll Results: Which CPU frequency is maximum stable for your device?

1000 MHz
 
45 Vote(s)
22.28%
1100 MHz
 
37 Vote(s)
18.32%
1150 MHz
 
30 Vote(s)
14.85%
1200 MHz
 
40 Vote(s)
19.80%
1250 MHz
 
33 Vote(s)
16.34%
Something else
 
7 Vote(s)
3.47%
Unstable at all
 
10 Vote(s)
4.95%

[Kernel][CPU OC][GPU OC][F2FS][BLN] CroPol kernel

2,220 posts
Thanks Meter: 4,513
 
By ChronoMonochrome, Senior Member on 28th September 2014, 07:47 PM
Post Reply Email Thread
Quote:

Custom kernel for Samsung Galaxy S III Mini

Features:

CPU OC, stable up to 1200 MHz(yanpol199's device) - thanks to @cocafe
[b]GPU OC)/b] - thanks to @cocafe
- thanks to @cocafe
F2FS support
Abbamp - thanks to @cocafe
BLN - tnx @Meticulus

Quote:

Sources:
GitHub

Quote:

Download:

Yandex disk UPDATE 13.11.2014

I'm not an author of this kernel, I just helped yanpol199 with creating this project.
Probably, we'll developing this kernel together


Quote:

Credits:
NovaFusion for base for this kernel
cocafe for kernel tweaks and improvements
yanpol199 for testing CPU OC and adjusting voltage

XDA:DevDB Information
CroPol kernel, Kernel for the Samsung Galaxy S III Mini

Contributors
ChronoMonochrome, znchnk, cocafe, yanpol199 (4pda.ru user)
Source Code: https://github.com/yanpol199/android...samsung_golden

Kernel Special Features: CPU/GPU OC/ABBamp/worked USB audio/BLN-blink

Version Information
Status: Stable
Current Stable Version: R1.1
Stable Release Date: 2014-11-13
Current Beta Version: v.0.5.3
Beta Release Date: 2014-10-01

Created 2014-09-28
Last Updated 2014-11-12
The Following 38 Users Say Thank You to ChronoMonochrome For This Useful Post: [ View ] Gift ChronoMonochrome Ad-Free
 
 
28th September 2014, 07:47 PM |#2  
ChronoMonochrome's Avatar
OP Senior Member
Flag Stavropol
Thanks Meter: 4,513
 
Donate to Me
More
Reserved
Bug list:
  • -


Changelog:
Next version
- lz4 compression,
- changes in OC,
- update kernel to LK 3.2 by ChronoMonochrome.
v 0.4
- added GPU OC
- added Abbamp
28.09.2014
  • Initial build:
    CPU OC support

Bug reports:

after experiencing a random reboot, type in terminal:
Code:
su
cat /proc/last_kmsg > /storage/sdcard0/last_kmsg.txt
report it in the thread and attach the last_kmsg.txt
The Following 12 Users Say Thank You to ChronoMonochrome For This Useful Post: [ View ] Gift ChronoMonochrome Ad-Free
28th September 2014, 07:47 PM |#3  
ChronoMonochrome's Avatar
OP Senior Member
Flag Stavropol
Thanks Meter: 4,513
 
Donate to Me
More
Kernel Features
Kernel features

Since most of features this kernel were developed by @cocafe that means that FULL credits for this goes to him :)

( GPU OC )


GPU clock controller valued in /sys/kernel/mali
Available interfaces:
Quote:

mali_auto_boost
mali_available_frequencies
mali_boost_delay
mali_boost_high
mali_boost_low
mali_dvfs_config
mali_gpu_clock
mali_gpu_fullspeed
mali_gpu_load
mali_gpu_vape
version

Check mali_dvfs_config first.

Quote:

mali_auto_boost

It's a simple GPU governor that can boost clock according to GPU load, enabled by default
To disable: echo 0 > /sys/kernel/mali/mali_auto_boost
Quote:

mali_boost_delay

The delay of boosting frequency, in ms.
echo ??? > /sys/kernel/mali/mali_boost_delay
Quote:

mali_boost_high

The high frequency performance profile.
Upthreshold: When GPU load is higher than this value, GPU clock will increase.
DVFS idx: DVFS data index in mali_dvfs_config.
echo ??????(a frequency) > /sys/kernel/mali/mali_boost_high
echo idx=??(a DVFS index) > /sys/kernel/mali/mali_boost_high
echo threshold=??? > /sys/kernel/mali/mali_boost_high
Quote:

mali_boost_low

The low frequency performance profile.
Downthreshold: When GPU load is lower than this value, GPU clock will decrease.
DVFS idx: DVFS data index in mali_dvfs_config.
echo ??????(a frequency) > /sys/kernel/mali/mali_boost_low
echo idx=??(a DVFS index) > /sys/kernel/mali/mali_boost_low
echo threshold=??? > /sys/kernel/mali/mali_boost_low
Quote:

mali_gpu_clock

Current GPU clock.
Say a frequency to tweak the clock directly.
echo ?????? > mali_gpu_clock
Notice! If auto-booster governor is enabled, this GPU will override.
Quote:

mali_gpu_fullspeed

Value 1 means GPU is working at full speed.
Value 0 means GPU is working at half speed.
When on half speed, GPU clock will be divided by 2. Namely, 399 / 2 = 199 kHz.

Require full speed:
echo 1 > mali_gpu_fullspeed

Required half speed:
echo 0 >mali_gpu_fullspeed
Quote:

mali_gpu_load

GPU load (aka: utilization)
Quote:

mali_gpu_vape

GPU voltage on full speed.
Quote:

version

GPU OC driver version.



( LiveOPP - CPU OC/UC/OV/UV )



LiveOPP can control the properties of each cpufreq step.

LiveOPP values in /sys/kernel/liveopp
View all files in that folder first.

CPU freq table:
Quote:

(Showed freq) : (Real freq)
200000 kHz : 192000 kHz
400000 kHz : 399360 kHz
600000 kHz : 599040 kHz
800000 kHz : 798720 kHz
1000000 kHz : 998400 kHz
1050000 kHz : 1049600 kHz
1100000 kHz : 1100800 kHz
1150000 kHz : 1152000 kHz
1200000 kHz : 1200000 kHz
1250000 kHz : 1228800 kHz

Overclocking depends on the device CPU quality you have.

You need to enable setting voltage in the slot first, if it is disabled:
Quote:

echo set_volt=1 > arm_slot<id>

To decrease the voltage (UV) of a step: Example: @200MHz
Quote:

echo varm- > arm_step0

To increase the voltage (OV) of a step: Example: @200MHz
Quote:

echo varm+ > arm_step0

To change the voltage of a step:
Quote:

echo varm=0x?? > arm_step<id>

* It means it accepts a HEX value only.

* ARM voltage is in 12.5mV steps
* Recommended that not tweaking Overclocking steps voltage


(Screen off CPU freq limits)

You can set min/max CPU freq. which will uses with screen off:

Code:
SYSFS=/sys/kernel/cpufreq/screenoff_cpufreq_limits
echo min=100000 > $SYSFS # 100 MHz
echo max=400000 > $SYSFS # 400 MHz
echo on > $SYSFS
The Following 8 Users Say Thank You to ChronoMonochrome For This Useful Post: [ View ] Gift ChronoMonochrome Ad-Free
28th September 2014, 08:06 PM |#4  
JynAlek's Avatar
Senior Member
Flag Limeira
Thanks Meter: 372
 
More
F2FS support?
28th September 2014, 08:11 PM |#5  
ChronoMonochrome's Avatar
OP Senior Member
Flag Stavropol
Thanks Meter: 4,513
 
Donate to Me
More
Quote:
Originally Posted by JynAlek

F2FS support?

Since this kernel based on NovaFusion sources, it supports F2FS.
The Following User Says Thank You to ChronoMonochrome For This Useful Post: [ View ] Gift ChronoMonochrome Ad-Free
28th September 2014, 08:13 PM |#6  
JynAlek's Avatar
Senior Member
Flag Limeira
Thanks Meter: 372
 
More
Quote:
Originally Posted by ChronoMonochrome

Since this kernel based on NovaFusion sources, it supports F2FS.

I will install and test and see if it works well haha, thanks for sharing
28th September 2014, 08:42 PM |#7  
galaxy mini's Avatar
Senior Member
Thanks Meter: 1,377
 
More
Awesome, could you make oc kernel for stock also??
28th September 2014, 08:44 PM |#8  
ChronoMonochrome's Avatar
OP Senior Member
Flag Stavropol
Thanks Meter: 4,513
 
Donate to Me
More
Quote:
Originally Posted by galaxy mini

Awesome, could you make oc kernel for stock also??

I'm not a main developer I do not own s3 mini, so I can't test it.
But is it does not work on stock?
The Following User Says Thank You to ChronoMonochrome For This Useful Post: [ View ] Gift ChronoMonochrome Ad-Free
28th September 2014, 09:41 PM |#9  
Balino's Avatar
Senior Member
Flag Gaeta
Thanks Meter: 576
 
More
Quote:
Originally Posted by ChronoMonochrome

I'm not a main developer I do not own s3 mini, so I can't test it.
But is it does not work on stock?

I'm been waiting for this for ages. Thank you guys, will try it and report back!
edit : with tenshi PA rom and ext4 as system file it doesn't boot. It is based on novafusion sources too.
28th September 2014, 09:59 PM |#10  
Quote:
Originally Posted by Balino

I'm been waiting for this for ages. Thank you guys, will try it and report back!
edit : with tenshi PA rom and ext4 as system file it doesn't boot. It is based on novafusion sources too.

What about stock? I suppose it won't work huh?

Sent from my GT-I8190 using XDA Free mobile app
28th September 2014, 10:06 PM |#11  
Balino's Avatar
Senior Member
Flag Gaeta
Thanks Meter: 576
 
More
Quote:
Originally Posted by Mike20017

What about stock? I suppose it won't work huh?

Sent from my GT-I8190 using XDA Free mobile app

if it is based on nf sources and doesn't boot on roms based on the same sources, I don't think it could work on stock
EDIT It is booting on golden_guy omni rom and not on roms based on nf sources , strange!
The Following User Says Thank You to Balino For This Useful Post: [ View ] Gift Balino Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes