[ROMs][9.0][UNOFFICIAL] CrDroid 5.12 (pie) with goodies - Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other

Hi,
I'm posting two links to two cr droid roms that I've compiled for myself on which banking apps work (well at least the one that I use) (user builds).
1. CrDroid 5.12 user build 1 - https://drive.google.com/file/d/1WeNOi29U5b2vbI07OCNxBETiAeFfR2ND/view?usp=drivesdk.
This one you can use as a normal user build. It can be root-ed with magisk to get access to the kernel goodies. Be aware that some banking apps detect the root access even with Magisk Hide (like my latest banking app - this latest version works if I do not have magisk installed).
2. CrDroid 5.12 user build 3 (sdext2 - V2) - https://drive.google.com/file/d/1FuaOG44FC67CfaP7H1dTzbuhfYaT565M/view?usp=drivesdk.
This one will mount the second ext4 partition on the sdcard in the /data/sdext2 directory. You MUST have a second partition on the sdcard formated as ext4 for it. You can use the second partition to make room for apps in the internal storage by linking them (apk and odex only for security) to this second partition. For this you'll need applications like app2sd or link2sd.
Both roms have viper4droid included, instead of the original AudioFx app.
Kernel goodies:
- compiled with linaro toolchain for greater speed and with speed optimizations flags
- alucard cpu hotplug modified for big/little design
- adjustable vibrator strength
- sound control
- usb fastcharge
- lazy brightness
- adreno idler
- cpu and gpu undervolted
- lz4 swap zram activated
- dimmer adjuster (/sys/android_tweaks/dimadiust - 64 by default - you can set it between 0 and 110, 110 being the greatest value)...
- for sdext2_v2 added simple_lmk, speed optimizations, gpu optimizations, alucard hotplug thermally controlled (you have to enable msm-thermal for this), also interactive gov is thermally freq limited when thermal limits are hit, all of these you can control with exkernelmanager, etc... fixed the sdext2 dir selinux issue ... now apps2sd works ok ...
- some other minor changes ...
To access all the kernel setting, of course you'll need root and some app to control all of these like ExKernelManager ...
Status: Testing ...
Enjoy!

How to flash this ROM?

iHusky said:
How to flash this ROM?
Click to expand...
Click to collapse
Like lineage one...No difference...

Am I the only one who uses this rom? This rom really great though. Is there any future update for this one?

Yes, I have a new build, user_sdext2, I'm testing the stability right now..., more changes to the kernel (optimizations, simple_lmk, etc for starters, and the with the selinux for the sdext2 directory fixed) ...

sdext2 build updated to v2 ...

Related

[KERNEL][4.1.2][03 Jan.] ★ LiteGX v5.8.0 ★ <><> ... DISCONTINUED !!

[KERNEL][4.1.2][03 Jan.] ★ LiteGX v5.8.0 ★ <><> ... DISCONTINUED !!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING : THIS KERNEL IS ONLY FOR ANDROID 4.1.2 (SAMSUNG) !
This is a pure LITE, STOCK WAY & STABLE kernel with MINIMAL features.
If you are looking to a kernel with less features and more close to stock, check out my StockGX kernel.
My goal is to offer a slight modification of our Samsung stock kernel's, with few features, aiming a better battery life than stock without affecting any drain.
This is a kernel "plug-and-play" or I would say more "flash-and-play". No need for tools or apps to configure the kernel. This is the way I wanted it. A bit like speedmod kernel did.
Unfortunately, I'am not a developer but just a basic person with some android/linux knowledge already.
My dream was one day to create my own kernel, and thanks to great developers that answered my many questions, this dream has been possible. I'am very happy and proud to share my first ever kernel to everybody here.
It must be only flashed over an official Samsung ROM and not AOSP/AOKP !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.​​
★ FEATURES (up-to-date) ★ :​
Base :
Directly based on update11 source from Samsung (for clean work and stability).
Compiled with ARM EABI (v4.4.3) toolchain (with flags optimizations).
Ramdisk from XXEMD3 (for update10 ROMs compatibility without the need to change radio).
Main :
ZZMoove (v0.7d) governor (added and set as default). Many profiles included, grab them below.
ROW (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.4 drivers) compatibility.
hardcore mDNIe tweaks (for better colors + sharpness fix for better readability).
Touch-to-Wake (v1.1a) (but disabled by default). Many profiles included, grab them below.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
zRam added (but disabled by default) with LZ4 compression and 4x swaps. Many profiles included, grab them below.
init.d support.
CRT-off effect friendly (early_suspend set to 100ms).
Native ExFAT support (from official Samsung source).
xbox controller support.
Triangle Away support.
Various tweaks :
4x zRam swaps capability (instead of single one).
Optimized ARM CPU topology.
"GENTLE_FAIR_SLEEPERS" disabled.
"ARCH_POWER" enabled.
"SCHED_MC" added. Many profiles included, grab them below.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
"Westwood", "HTCP" and "BIC" TCP congestion control modules added. Many profiles included, grab them below.
Enabled persistent TRIM support for all partitions.
Fully compressed libs ".ko" modules.
Automatic dalvik-cache wiping in kernel flashing procedure.
Logging and debugging tweaks :
Android logger disabled.
Kernel logger disabled.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
Disabled various debug in defconfig.
Features that will NEVER be included in this kernel :
Overclock / Underclock / Undervolt.
auto-root
LED control.
Charge control.
Master sequence (screen calibrated).
ABB (Adaptive Body Bias).
Any upgrade of Linux kernel 3.0.XX.
STweaks compatibility.
Dual-Boot Sammy/AOSP.
CyanogenMod compatibility.
MIUI compatibility.
etc.
★ PREREQUISITE ★ :​
Any odexed or deodexed international I9300 Samsung 4.1.2 Jelly Bean ROM.
A custom recovery (CWM recommanded) to flash the kernel.
★ FREQUENTLY ASKED QUESTIONS ★ :​
How can I customize this kernel ? :
> Mainly with ZZMoove/zRam profiles (grab them below) and with TricksterMOD / SetCPU apps.
What does the LiteGX cleaner script ? :
> It deletes all ZZMoove/zRam profiles that you flashed after this kernel. So you can go in another kernel safely. It don't removes anything else since this kernel is pure stock based and don't add any files/folders that need to be deleted after. This cleaner script will be only efficient in this situation only, it does not clean anything before coming from another kernel to mine.
Do I need to wipe cache + dalvik each time I flash a new kernel version ? :
> Nope. Moreover dalvik cache is already wiped automatically during flashing procedure.
Do I really need to flash any profiles/scripts ? :
> Definitely not. It's user choice to do it but zRam profiles for example are highly recommanded to be flashed since it adds a lot of smoothness and performance to the kernel (and on which is disabled by default).
Do I need to re-flash ZZMoove ZIP profiles each time I flash a new kernel version ? :
> Nope. It just install an init.d script, so it will be permanent until you delete files from your init.d folder or flash "Cleaner" version which will do this for you.
Do I need to remove old ZZMoove profiles manually before flashing a new profile ZIP ? :
> Nope. Each ZIP's include an automatic removal of previously used profile.
Android OS usage is very often at top of my battery stats ! :
> Try wiping cache and dalvik cache manually in your favorite CWM, then make a full charging until green led appears.
★ SOURCES ★ :​
Github >> LiteGX.
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate it
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
!​​
Changelog + links
★ All ZZMoove / zRam / Cleaner scripts can be found HERE ★​★ All oldest releases can be found HERE ★​
★ CHANGELOG ★ :​
03.01.2013 : v5.8.0 released.
Disabled "CONFIG_SCHED_AUTOGROUP" (useless in Android).
xbox controller now loaded as internal module (instead of external).
30.12.2013 : v5.7.0 released.
Now compiled with stock Android ARM EABI 4.4.3.
28.12.2013 : v5.6.0 released.
Touch-to-Wake is now disabled by default (for battery purpose).
Added some "Touch-to-Wake profiles" into scripts folder :
- Touch-to-Wake_disabled(stock).zip
- Touch-to-Wake_enabled_3s.zip
- Touch-to-Wake_enabled_5s.zip
- Touch-to-Wake_enabled_8s.zip
- Touch-to-Wake_enabled_10s.zip
- Touch-to-Wake_enabled_15s.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new Touch-to-Wake flashable ZIP's (please remove old one).
15.12.2013 : v5.5.0 released.
ramdisk : re-enabled lowmemory killer in 'init.rc'.
SCHED_MC disabled back by default (0) to avoid some people facing some lags due to agressive value (moreover, I prefer to trust ZZMoove stock behaviour).
Added some "SCHED_MC profiles" into scripts folder :
- "SCHED_MC_power_savings_0(stock).zip"
- "SCHED_MC_power_savings_1.zip"
- "SCHED_MC_power_savings_2.zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new SCHED_MC flashable ZIP's (please remove old one).
05.12.2013 : Flashable ZIP's adding.
Added some "TCP congestion profiles" into scripts folder :
- "TCP-congestion_bic.zip"
- "TCP-congestion_westwood.zip"
- "TCP-congestion_htcp.zip"
- "TCP-congestion_reno.zip"
- "TCP-congestion_cubic(stock).zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new TCP flashable ZIP's (please remove old one).
02.12.2013 : v5.4.0 released.
zRam is disabled as default again (this time for ever), for battery purpose at the cost of a bit less multitasking (if you want it again : just flash any zRam script).
"GENTLE_FAIR_SLEEPERS" disabled (back), should improve UI responsiveness.
Updated "zRam_disabled.zip" to match new zRam disabling as default (please delete old one).
28.11.2013 : v5.3.0 released.
zRam is now initialized by default once flashing the kernel with 600MB disksize and 100% swapiness. If you feel some lags, try different values with scripts (hope it will help people finding this kernel more smooth than default without it).
All zRam scripts has been reworked and updated (please delete olders and download latest ones). If you want to turn off zRam, this time you'll have to flash "zRam_disabled.zip" file.
zRam initialization is now using a custom busybox binary directly integrated in the kernel, it will avoid some people not having their zRam properly working due to some roms busybox which cannot execute 'swapon' shell command and with priorities.
- A little reminder : to check if your zRam is working, no more need to install Turbo zRam app, on a Terminal, write : "free" (if you see swap values, then zRam is working) or "cat /proc/swaps" (which will give you more informations on both 4 swap partitions).
- I would like to thanks personally my friend @Yank555 to help finding some zRam initialization problems.
Clic below to see older changelog ..
21.11.2013 : v5.2.0 released.
ramdisk : 'root helper' is back (same as v4.6.1).
Add several TCP congestion control modules :
- Westwood
- BIC
- HTCP
'cubic' TCP congestion will stay as default like stock. You can set your favorite congestion module via TricksterMOD app.
19.11.2013 : v5.1.0 released.
Enabled back: Persistent TRIM support for all partitions.
Enabled back: USB charging increased (to 900mA instead of 475 by default).
18.11.2013 : v5.0.0 released.
Total redesign again from Samsung update11 source.
Removed a LOT of tweaks (back to 'stock way' for real), battery life should be much better than before.
List of removed tweaks :
- Removed: NTFS support.
- Removed: CIFS support.
- Removed: NFS support.
- Removed: Reduced WiFi wakelock.
- Removed: Reduced battery-monitor wakelock timeouts.
- Removed: Proportional Rate Reduction for TCP.
- Removed: Network speed tweak.
- Removed: Decreased touch boost frequency (from 800 to 600Mhz).
- Removed: MMC : Fix the workqueue overload battery waste.
- Removed: MMC : Increased timeout limits for bad sdcards.
- Removed: Doubled min-max readahead.
- Removed: ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
- Removed: Intelli memory writeback (0 when screen ON & 500ms when screen off).
- Removed: Higher random entropy.
- Removed: Enabled persistent TRIM support for all partitions.
- Removed: Dynamic FSync control (v1.2).
- Removed: Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
- Removed: "GENTLE_FAIR_SLEEPERS" disabled.
- Removed: USB charging increased (to 900mA instead of 475 by default).
- Removed: "cpu_load_slope" correctly set.
- Removed: bcmdhd : Disabled multicast on suspend.
- Removed: AIO enabled (backport of Linux 3.6.x) and tweaked.
Some optimizations into litegx_defconfig.
Overall kernel size is now slightly lighter (again) than previous version.
17.11.2013 : v4.6.2 released.
ramdisk : Fixed zRam which was enabled at boot by default.
ramdisk : Modified 'root helper tweaks' (again) to remove many useless lines, which finally now finally looks like more as an 'init.d helper'.
ramdisk : Many useless files in 'sbin' folder has been removed to let only needed ones for 'root helper tweaks'.
Overall kernel size is now slightly lighter than before.
14.11.2013 : v4.6.1 released.
ramdisk : included 'root helper tweaks' from adam kernel but modified to fit the needs of LiteGX kernel only (removed build.prop and pegasusq governor tweaks).
10.11.2013 : v4.6.0 released.
Updated compilation toolchain Linaro GCC from 13.09 to 13.10 (20131014).
05.11.2013 : v4.5.6 released.
AIO enabled.
Backport AIO from Linux 3.6.x.
AIO tweak : Don't plug the I/O queue in do_io_submit().
03.11.2013 : v4.5.5 released.
Enabled "ARCH_POWER" to use 'arm_cpu_topology' power management features.
litegx_defconfig : Added "CONFIG_TOUCH_WAKE".
28.10.2013 : v4.5.4 released.
Disabled "GENTLE_FAIR_SLEEPERS" (should improve UI responsiveness).
27.10.2013 : v4.5.3 released.
"sched_mc_power_savings" set to aggressive value (2) by default.
17.10.2013 : v4.5.2 released.
Decreased touch boost frequency from 1000 to 600Mhz (should slightly decrease smoothness, but be a bit more battery friendly).
15.10.2013 : v4.5.1 released.
Increased touch boost frequency from 800 to 1000Mhz (should boost smoothness a bit without affecting much battery).
09.10.2013 : v4.5.0 released.
Kernel logging (linux printk) disabled (credits to @Lord Boeffla).
litegx_defconfig : disabled some more debug.
05.10.2013 : ZZMoove profiles updated.
All ZZMoove profiles updated to latest revision (thanks to @Yank555).
Removed "ZZMoove_LCDFreq_optimizations_removal.zip" and included it directly in "ZZMoove_Profiles_Cleaner.zip" instead.
Changed priorities into scripts for init.d : "S98" for every ZZMoove profiles and "S99" for LCDFreq optimizations, to override ones already included in S98 profiles.
Modified "LiteGX-KERNEL_full_cleaner.zip" to proper remove new "S98" profiles.
01.10.2013 : v4.4.4 released.
zRam is now disabled by default (to stay as stock as possible).
zRam : set default to 4 devices instead of 1 (resulting Turbo zRam app compatibility from @rlorange).
Removed all zRam scripts to create some new with 4x zRam swaps instead of single ones. Should be MUCH smoother than single zRam (not a single lag detected after hard use of few hours). As always, you can flash new zRam scripts without the need to delete anything from init.d, since it will do it automatically.
Please remember that all my provided scripts are NOT necessary. They are just here for confirmed people or those who wants to increase smoothness or battery life a bit. Stock flashing will always provide best balance. Don't worry, this kernel will always stays like I wanted to do it : a "flash-and-play" one firstly.
29.09.2013 : v4.4.3 released.
Changed default zRam swappiness value from 90% to 80%.
Restored Boeffla Sound v1.6.4 original work with saturation prevention, since it was useless to remove it (just select "Over-saturation Supress" in "Graphical Equalizer" in Boeffla Sound app).
29.09.2013 : v4.4.2 released.
Changed default zRam disksize and swappiness values from 200MB / 10% to 600MB / 90% (thanks to @Yank555 for the tips).
Added 3 new zRam scripts with 90% swappiness.
29.09.2013 : v4.4.1 released.
Updated compilation toolchain Linaro GCC from 13.08 to 13.09 (20130903).
27.09.2013 : some changement about scripts.
All "ZZMoove profiles" has been removed from post #1. You can grab now them directly at top of post #2.
Added several zRam profiles (300/600/800 MB disksize, and 80/100% swappiness) scripts.
Added a full cleaner ZIP for those who want to remove cleanly everything from this kernel and want to migrate to another one.
27.09.2013 : v4.4.0 released.
Introducing zRam (with stock values for the moment). Should increase performance. Use zRam & Swap Control (made by @rlorange) to set your values and make init.d scripts like you want; or directly use my scripts HERE.
zRam : added LZ4 compression and using it as default.
Activated native ExFAT support.
Now using "make mrproper" (instead of "make clean") to stay with local number #1 (thanks @googy_anas for the tips).
22.09.2013 : v4.3.5 released.
ipv4: save CPU cycles from "check_leaf()" (backport from linux 3.8) (thx @googy_anas).
22.09.2013 : v4.3.4 released.
Fixed Boeffla Sound saturation prevention which wasn't removed since v4.0.0 (sorry about this, just saw it).
21.09.2013 : v4.3.3 released.
Hotfix from v4.3.2 : added spica1234's missing line tweak about "persistent TRIM support".
21.09.2013 : v4.3.2 released.
Enabled persistent TRIM support for all partitions (credits to @spica1234).
Added automatic dalvik-cache wiping in kernel flashing procedure.
20.09.2013 : v4.3.1 released.
Updated "Touch-to-Wake" from 1.1 to v1.1a again.
18.09.2013 : v4.3.0 released.
Updated "Dynamic FSync control" from v1.1 to v1.2 again.
NTFS support.
NFS support again.
CIFS support again.
sched: LOAD_FREQ tweak (this time definitely) removed.
18.09.2013 : v4.2.0 released.
Fixed "Dynamic FSync control" which was not working ("dyn_sync_cntrl.c" file was missing).
CONFIG_SCHED_AUTOGROUP enabled again (smoothness should be back).
Added again : Intelli memory writeback (0 when screen ON & 500ms when screen off).
Added again : sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire.
Touch-to-Wake back from v1.1a to v1.1 for the moment.
15.09.2013 : v4.1.0 released.
Updated compilation toolchain to Linaro GCC 4.7 from 20130626 to 20130812.
USB charging increased back to 900mA (instead of 475 by default).
15.09.2013 : v4.0.0 released.
Total beginning from zero (clean update11 sources) again.
"Android OS" battery drain on top is now gone.
Kernel is now cleaner than before : almost everything has been made using git patches, and minimally manually.
Litest release ever (5,42 MB), smoothest and best battery friendly release ever too.
Releases will now be "x.x.x" (latest number for minor fixes/tweaks, the middle one for good ones, and the first one for major ones).
Removed a lot of tweaks since v3.6, which was useless or that I don't want to include anymore to stay as close as possible from stock. I prefered to let only important and relevant tweaks for now.
List of modified features :
CIFS / NFS support removed.
Intelli memory writeback removed.
AIO tweak: No plug I/O queue in "do_io_submit()" removed.
CONFIG_SCHED_AUTOGROUP is now disabled.
sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire removed.
Reverted USB charging from 900mA back to 475mA default value.
Reverted "Dynamic FSync control" from v1.2 to v1.1 from AndiP.
List of added feature :
ARM CPU Topology : many patches has been included about optimizations/fixes.
Thanks & greetings
★ THANKS & GREETINGS ★ :​
XDA board and community
Google
Samsung
CyanogenMod Team
gokhanmoral
Andreilux
wanam
spica1234
ZaneZam
Yank555
googy_anas
hardcore
AndiP
DONATIONS
★ DONATIONS ★ :​
Many thanks to @fuxmen ! :good:
Many thanks to @colingpt ! :good:
Thank you to support my work !
Thanks bro tested ( Pardus HD Rom MG6 v18 )
downloading and nandorid backing up
does the setting Stweak compatible ?
qtwrk said:
does the setting Stweak compatible ?
Click to expand...
Click to collapse
Sorry, no STweaks support for the moment, but planning to do it. Need to learn how to add the compatibility. Stay tuned.
Envoyé depuis un téléphone qui pique les yeux.
Great work. The S3 community is getting richer with you aboard congratulations!
UPDATE
UPDATE :​
16.08.2013 : v1.1 released.
ramdisk from XXEMF6.
Note : If you have a message before reboot in your recovery asking you to disable stock recovery flash, click yes to keep your custom recovery. I guess it's due to XXEMF6 ramdisk on which included a stock recovery flashing procedure with.
googy_anas said:
Great work. The S3 community is getting richer with you aboard congratulations!
Click to expand...
Click to collapse
Thank you mate, XDA is proud to have such great devs like you, and sharing to us kernels of your quality is such a chance that only a few people will understand this on this board :good:
My goal is to stay as stock as possible, so.. sorry but no competition with mine ! :laugh:
Cheers from France
UPDATE
UPDATE :​
18.08.2013 : v1.2 released.
Linux kernel branch from 3.0.91 (kernel.org).
Enjoy :good:
This kernel is amazing
I flashed it.
Will be kernel compiled with Linaro Toolchain?
Assa551N said:
This kernel is amazing
I flashed it.
Will be kernel compiled with Linaro Toolchain?
Click to expand...
Click to collapse
Glad you like it
Yeah, I will compile it using linaro toolchain soon (already tried but had some errors when compiling resulting an abort. Need to learn a bit more flags configuration for compiling, hehe) :good:
Stay tuned!
Androidgx nice work.
For linaro 4.6 and above you will require this patch https://github.com/AndreiLux/Perseus-S3/commit/71f536fb9957c64cc6274221faa056694e010616
After this you're good to go with Linaro toolchain
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx nice work.
For linaro 4.6 and above you will require this patch https://github.com/AndreiLux/Perseus-S3/commit/71f536fb9957c64cc6274221faa056694e010616
After this you're good to go with Linaro toolchain
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks mate :good:
You write at the good moment, was currently trying to compile and learning how to compile right without errors using linaro gcc 4.7
I stay you tuned!
Androidgx,
This is the simple fsync which I wrote in 2012 which turns fsync on untill phone is booted and later after ,it"s booted it turns off fsync.
Plus the code has been optimized with branch prediction feature of cortexa-9 cpu by gcc accembly code and it does use cortex-a9 's preload engine (prefetch) to keep fsync state in L2 cache. Plus by branch prediction there is a less cpu overhead checking about whether fsync is on or off. It assumes fsync is off and with probable branch prediction it executes faster.
Below is the fsync as a patch which I wrote in mid 2012 for my older phone. You can use it .The basic fsync functional code is based on alrahi's code.
Simple Fsunc patch is here: http://db.tt/rdikFoKY
Sent from my GT-I9300 using xda app-developers app
AndroidGX said:
Thanks mate :good:
You write at the good moment, was currently trying to compile and learning how to compile right without errors using linaro gcc 4.7
I stay you tuned!
Click to expand...
Click to collapse
Linaro 4.8 is out. Try it as well
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx,
This is the simple fsync which I wrote in 2012 which turns fsync on untill phone is booted and later after ,it"s booted it turns off fsync.
Plus the code has been optimized with branch prediction feature of cortexa-9 cpu by gcc accembly code and it does use cortex-a9 's preload engine (prefetch) to keep fsync state in L2 cache. Plus by branch prediction there is a less cpu overhead checking about whether fsync is on or off. It assumes fsync is off and with probable branch prediction it executes faster.
Below is the fsync as a patch which I wrote in mid 2012 for my older phone. You can use it .The basic fsync functional code is based on alrahi's code.
Simple Fsunc patch is here: http://db.tt/rdikFoKY
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank tou very much mate, will try it tomorrow :good:
Just tried compiling with your link "Toolchain fixes regarding smc architecture extensions", and managed to almost compile the kernel without "-Werror" flag removed.
Here is where it stops :
Code:
CC drivers/video/samsung/mdnie_tunning.o
CC drivers/video/samsung/s3cfb_s6e8aa0.o
CC drivers/video/samsung/smart_dimming.o
CC drivers/video/samsung/s5p_dsim_lowlevel.o
CC drivers/video/samsung/s5p-dsim.o
LD drivers/video/samsung/built-in.o
CC drivers/video/samsung_extdisp/s3cfb_extdsp_main.o
CC drivers/video/samsung_extdisp/s3cfb_extdsp_ops.o
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_check_var':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:181:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_set_par':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:197:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_open':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:315:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_release':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:345:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_blank':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:387:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_pan_display':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:468:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_ioctl':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:491:30: error: called from here
make[3]: *** [drivers/video/samsung_extdisp/s3cfb_extdsp_ops.o] Erreur 1
make[2]: *** [drivers/video/samsung_extdisp] Erreur 2
make[1]: *** [drivers/video] Erreur 2
make: *** [drivers] Erreur 2
[B][email protected] ~/projects/kernels/LiteGX $ [/B]
Any idea ?
Maybe another flag need to be removed ?
Androidgx,
Seems like this will solve it.
Open file drivers/video/samsung_extdisp/s3cfb_extdsp.h
Now goto line 154 and remove the word "inline" before struct declaration or add "static" before inline. Save file and try to compile back
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx,
Seems like this will solve it.
Open file drivers/video/samsung_extdisp/s3cfb_extdsp.h
Now goto line 154 and remove the word "inline" before struct declaration or add "static" before inline. Save file and try to compile back
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank you mate it worked almost perfectly after. Just faced the same problem as THIS guy before finishing compiling, followed exactly what he said (replacing the Makefile completely, and it worked, finally :laugh. I just hope it was the right way to do.
Currenty testing my fresh new kernel with linaro 4.7.4 gcc toolchain thanks to you.
Btw, about your fsync tips patch you send me, I have very poor knowledge, is this something really noticable in term of difference as stock ? I mean a good improvement over ?
Many thanks for your explanations :good:
does this kernel supports exfat sd cards ???

[KERNEL][4.3][21 Feb.] ★ LiteGX v5.1.0 ★ ... DISCONTINUED !!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
THIS KERNEL IS ONLY FOR THE GT-I9300 AND ANDROID 4.3 (SAMSUNG) !
This is a pure LITE, STOCK WAY & STABLE kernel with MINIMAL features.
Many of you knows my Android 4.1.2 LiteGX kernel, here is the 4.3 version !
My goal is to offer a slight modification of our Samsung stock kernel's, with few features, aiming a better battery life than stock without affecting any drain.
This is a kernel "plug-and-play" or I would say more "flash-and-play". No need for tools or apps to configure the kernel. This is the way I wanted it. A bit like speedmod kernel did.
Unfortunately, I'am not a developer but just a basic person with some android/linux knowledge already.
My dream was one day to create my own kernel, and thanks to great developers that answered my many questions, this dream has been possible. I'am very happy and proud to share my first ever kernel to everybody here.
It must be only flashed over an official Samsung ROM and not AOSP/AOKP !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.​​
★ FEATURES (up-to-date) ★ :​Base :
Directly based on "GT-I9300_JB_Opensource_Update13" (XXUGMK6) JellyBean Android 4.3 source from Samsung (for clean work and stability).
Compiled with stock android ARM EABI (v4.4.3) toolchain.
Ramdisk from XXUGNA7.
Main :
ZZMoove (v0.7d) governor (added). [PROFILES INCLUDED! grab them into SCRIPTS section].
smartassV2 governor (added).
Enabled all other stock governors ("adaptive", "conservative", "interactive").
ROW (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.5 drivers) compatibility.
hardcore mDNIe tweaks (for better colors + sharpness fix for better readability).
Touch-to-Wake (v1.1a) (but disabled by default). [PROFILES INCLUDED! grab them into SCRIPTS section].
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
init.d support.
BusyBox v1.22.1 included in case of need (located in /sbin).
CRT-off effect friendly (early_suspend set to 100ms).
Native ExFAT support.
Native xbox controller support.
TriangleAway support.
Various tweaks :
Optimized ARM CPU topology.
"GENTLE_FAIR_SLEEPERS" disabled.
"ARCH_POWER" enabled.
"SCHED_MC" added. [PROFILES INCLUDED! grab them into SCRIPTS section].
ROW scheduler & blk-core tweaks.
"Westwood", "HTCP" and "BIC" TCP congestion control modules added. [PROFILES INCLUDED! grab them into SCRIPTS section].
Reduced WiFi wakelock.
Disabled multicast on suspend.
Proportional rate reduction for TCP.
Higher random entropy.
Doubled min-max ReadAhead.
CRC disabled.
USB OTG enabled.
"Samsung Rooting Restriction Feature" removed.
Fully compressed libs ".ko" modules.
Automatic dalvik-cache wiping in kernel flashing procedure.
Logging and debugging tweaks :
Android logger disabled.
Various debugging for certain modules.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
Features that will NEVER be included in this kernel :
Overclock / Underclock / Undervolt.
auto-root
LED control.
Charge control.
Master sequence (screen calibrated).
ABB (Adaptive Body Bias).
Any upgrade of Linux kernel 3.0.XX.
STweaks compatibility.
Dual-Boot Sammy/AOSP.
CyanogenMod compatibility.
MIUI compatibility.
etc.
★ PREREQUISITE ★ :​
Any odexed or deodexed international I9300 Samsung 4.3 Jelly Bean ROM.
A custom recovery (CWM recommanded) to flash the kernel.
Be sure to remove any of your init.d scripts which can meet conflicts with ones I provide.
★ FREQUENTLY ASKED QUESTIONS ★ :​
Do I need to flash any cleaner script before flashing this kernel ? :
> If your previous custom kernel dev provided a cleaner script, then you can flash it before flashing mine.
How can I customize this kernel ? :
> Mainly with ZZMoove/zRam profiles (grab them below) and with TricksterMOD / SetCPU apps.
What is zRam and his pros/cons ? :
> Check THIS interesting answer from @Yank555.
Which zRam script should I choose ? :
> Check THIS interesting answer still from @Yank555.
How to check if flashed zRam script is really currently in use ? :
> You can check it directly by using "cat /proc/swaps" or "free" shell commands via a terminal.
What does the LiteGX cleaner script ? :
> It deletes all ZZMoove/zRam profiles that you flashed after this kernel. So you can go in another kernel safely. It don't removes anything else since this kernel is pure stock based and don't add any files/folders that need to be deleted after. This cleaner script will be only efficient in this situation only, it does not clean anything before coming from another kernel to mine.
Do I need to wipe cache + dalvik each time I flash a new kernel version ? :
> Nope. Moreover dalvik cache is already wiped automatically during flashing procedure.
Do I really need to flash any profiles/scripts ? :
> Definitely not. It's user choice to do it.
Do I need to re-flash ZZMoove ZIP profiles each time I flash a new kernel version ? :
> Nope. It just install an init.d script, so it will be permanent until you delete files from your init.d folder or flash "Cleaner" version which will do this for you.
Do I need to remove old ZZMoove profiles manually before flashing a new profile ZIP ? :
> Nope. Each ZIP's include an automatic removal of previously used profile.
My TricksterMOD settings are losed after rebooting ! :
> I won't learn how to use this app but to make short, once you set any value (or modify anything), click the "V" icon at top right to apply new value, then press settings icon of the app (still on top right) and tick kernel parameters option to apply settings at boot.
Android OS usage is very often at top of my battery stats ! :
> Check THIS interesting thread. Moreover it looks android 4.3 source known related problem, hopefully will be solved in another next source.
My device is getting hot at load (games) or high usage ! :
> Check THIS interesting answer from @ZaneZam.
I lost my WiFi connexion ! :
> Be sure to flash an efsV2 modem (XXUGMK6+ minimum).
★ SOURCES ★ :​
Github >> LiteGX.
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
!​​
Changelog
★ All ZZMoove / zRam / Cleaner scripts can be found HERE ★​★ All oldest releases can be found HERE ★​
★ CHANGELOG ★ :​
21.02.2014 : v5.1.0 released:
Revert back to "GT-I9300_JB_Opensource_Update13" source from Samsung (ExFAT compatibility is back).
Revert: "Brings back stock defconfig debugging" (will finally wait for next source to do that again).
Revert: "Disabled USB OTG" (not causing slow USB/AC charges).
litegx_defconfig : ANDROID_LOGGER disabled.
Force ExFAT loading as internal module.
Properly removed LZ4 compression implementation + zRam various lines in defconfig (for clean work).
15.02.2014 : v5.0.0 released:
Now based from "GT-I9300_SEA_JB_Opensource_Update2" source from Samsung.
ramdisk upgraded to XXUGNA7.
Brings back stock defconfig debugging (to be once again more close from stock source as possible).
Disabled USB OTG (was causing slow USB+AC charging).
Disabled zRam and swap support from stock new source defconfig (for best battery life experience).
Fully removed my zRam implementation + LZ4 compression.
Removed "zRam profiles" from scripts folder.
09.02.2014 : v4.8.1 released.
Added an automatic device model and android version checking into flashing procedure to avoid some (beginners) people trying to flash the kernel in any another device and/or android version.
04.02.2014 : v4.8.0 released.
Removed forced speedmod pegasusq tweaks from ramdisk (back to stock values) to prevent earphone crackles and audio stuttering when listening music (values looks a bit hard at idle resulting this problem). In case you still got the issue with this governor, just switch to another one.
Added "pegasusq profiles" into scripts folder :
- pegasusq_speedmod.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new pegasusq profiles flashable ZIP (please remove old one).
01.02.2014 : v4.7.0 released.
ramdisk upgraded to XXUGNA5.
BusyBox (compiled by myself) updated to v1.22.1 (located in /sbin) with stock applets.
ramdisk : removed a lot of external applets which are now directly included in my BusyBox.
18.01.2014 : v4.6.0 released.
Added "smartassV2" governor (battery is MUCH increased with it at the cost of some lags).
Makefile: Back to stock Update13 source optimizations (I thought it was done already but I forgot it).
16.01.2014 : v4.5.0 released.
Reverted "ignore charger unstable power" previous patch (it was causing USB tethering not working anymore).
Boeffla Sound Engine updated to 1.6.5 (allows speaker volumes down to 20).
mmc/core: CRC disabled (performance should be slightly increased).
Enable USB OTG.
13.01.2014 : v4.4.0 released.
"pegasusq" governor with speedmod kernel tweaks (thanks hardcore).
ramdisk: turn OFF debugging for certain modules (thanks hardcore).
11.01.2014 : v4.3.0 released.
TriangleAway support (back).
Unstable power charging ignored (now charging much faster than before)
'pegasusq' governor is now set as default (kernel is much smoother than ever (+ no more random lags ingame/UI) with it).
Enabled all other stock governors ('adaptive', 'conservative', 'interactive') for people who wants to try them out.
Decided to re-include some of my old patches (do not ask me why ^^) :
- Reduced WiFi wakelock.
- Disabled multicast on suspend.
- Proportional rate reduction for TCP.
- Higher random entropy.
- Doubled min-max ReadAhead.
02.01.2014 : v4.2.3 released.
Disabled "CONFIG_SCHED_AUTOGROUP" (useless in Android).
02.01.2014 : v4.2.2 released.
xbox controller now loaded as internal module (instead of external).
02.01.2014 : v4.2.1 released.
Fixed ExFAT support.
01.01.2014 : v4.2.0 released.
Added hardcore mDNIe sharpness & colors tweaks. Colors profiles remains intact, so they still can be activated in display section (which was not the case in LiteGX for android 4.1.2).
Clic below to see older changelog ..
01.01.2014 : v4.1.1 released.
Removed (temporarily) Triangle Away support (incompatible with Android 4.3 yet), to avoid force close messages.
30.12.2013 : v4.1.0 released.
ramdisk upgraded to XXUGML2 (Android 4.3).
29.12.2013 : v4.0.0 released.
Now based from official Update13 XXUGMK6 source from Samsung.
Now compiled with stock Android ARM EABI 4.4.3.
Reverted: "Enabled persistent TRIM support for all partitions" tweak (since samsung already included it in Update13 now).
Touch-to-Wake is now disabled by default (for battery purpose).
Added some "Touch-to-Wake profiles" into scripts folder :
- Touch-to-Wake_disabled(stock).zip
- Touch-to-Wake_enabled_3s.zip
- Touch-to-Wake_enabled_5s.zip
- Touch-to-Wake_enabled_8s.zip
- Touch-to-Wake_enabled_10s.zip
- Touch-to-Wake_enabled_15s.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new Touch-to-Wake flashable ZIP's (please remove old one).
15.12.2013 : v3.6.0 released.
Upgraded to XXUGMK6 Android 4.3 ramdisk (from official LEAK this time). In case your old modem is not working anymore, update it to THIS one.
SCHED_MC disabled back by default (0) to avoid some people facing some lags due to agressive value (moreover, I prefer to trust ZZMoove stock behaviour).
Added some "SCHED_MC profiles" into scripts folder :
- "SCHED_MC_power_savings_0(stock).zip"
- "SCHED_MC_power_savings_1.zip"
- "SCHED_MC_power_savings_2.zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new SCHED_MC flashable ZIP's (please remove old one).
12.12.2013 : v3.5.0 released.
Upgraded to XXUGMK6 Android 4.3 ramdisk.
05.12.2013 : Flashable ZIP's adding.
Added some "TCP congestion profiles" into scripts folder :
- "TCP-congestion_bic.zip"
- "TCP-congestion_westwood.zip"
- "TCP-congestion_htcp.zip"
- "TCP-congestion_reno.zip"
- "TCP-congestion_cubic(stock).zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new TCP flashable ZIP's (please remove old one).
02.12.2013 : v3.4.0 released.
zRam is disabled as default again (this time for ever), for battery purpose at the cost of a bit less multitasking (if you want it again : just flash any zRam script).
"GENTLE_FAIR_SLEEPERS" disabled (back), should improve UI responsiveness.
Updated "zRam_disabled.zip" to match new zRam disabling as default (please delete old one).
28.11.2013 : v3.3.0 released.
zRam is now initialized by default once flashing the kernel with 600MB disksize and 100% swapiness. If you feel some lags, try different values with scripts (hope it will help people finding this kernel more smooth than default without it).
All zRam scripts has been reworked and updated (please delete olders and download latest ones). If you want to turn off zRam, this time you'll have to flash "zRam_disabled.zip" file.
zRam initialization is now using a custom busybox binary directly integrated in the kernel, it will avoid some people not having their zRam properly working due to some roms busybox which cannot execute 'swapon' shell command and with priorities.
- A little reminder : to check if your zRam is working, no more need to install Turbo zRam app, on a Terminal, write : "free" (if you see swap values, then zRam is working) or "cat /proc/swaps" (which will give you more informations on both 4 swap partitions).
- I would like to thanks personally my friend @Yank555 to help finding some zRam initialization problems.
21.11.2013 : v3.2.0 released.
Add several TCP congestion control modules :
- Westwood
- BIC
- HTCP
'cubic' TCP congestion will stay as default like stock. You can set your favorite congestion module via TricksterMOD app.
20.11.2013 : v3.1.2 released.
ramdisk : add same root helper files + modifications as v2.1.0. Hopefully it will definitely fix root losing (for some people).
20.11.2013 : v3.1.1 released.
ramdisk : add 'root helper' again to avoid losing root after flashing for some people.
19.11.2013 : v3.1.0 released.
Enabled back: Persistent TRIM support for all partitions.
Enabled back: USB charging increased (to 900mA instead of 475 by default).
18.11.2013 : v3.0.0 released.
Total redesign again from Samsung update1 (SEA) chinese source.
Removed a LOT of tweaks (back to 'stock way' for real), battery life should be much better than before.
List of removed tweaks :
- Removed: NTFS support.
- Removed: CIFS support.
- Removed: NFS support.
- Removed: Proportional Rate Reduction for TCP.
- Removed: Network speed tweak.
- Removed: Decreased touch boost frequency (from 800 to 600Mhz).
- Removed: Doubled min-max readahead.
- Removed: ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
- Removed: Intelli memory writeback (0 when screen ON & 500ms when screen off).
- Removed: Higher random entropy.
- Removed: Enabled persistent TRIM support for all partitions.
- Removed: Dynamic FSync control (v1.2).
- Removed: "GENTLE_FAIR_SLEEPERS" disabled.
- Removed: USB charging increased (to 900mA instead of 475 by default).
- Removed: "cpu_load_slope" correctly set.
- Removed: bcmdhd : Disabled multicast on suspend.
- Removed: AIO enabled (backport of Linux 3.6.x) and tweaked.
- Removed: Westwood TCP congestion.
Some optimizations into litegx_defconfig.
TricksterMOD app should be compatible with the kernel (again).
Overall kernel size is now slightly lighter (again) than previous version.
17.11.2013 : v2.1.1 released.
ramdisk : Modified 'root helper tweaks' (again) to remove many useless lines, which finally now finally looks like more as an 'init.d helper'.
ramdisk : Many useless files in 'sbin' folder has been removed to let only needed ones for 'root helper tweaks'.
Overall kernel size is now slightly lighter than before.
15.11.2013 : v2.1.0 released.
Revert source back to update12 from Samsung.
Original ramdisk base from ZCUBMK2.
ARM : Neon & Hard-Float support (thanks to @googy_anas).
14.11.2013 : v2.0.0 released.
Directly based on update1 XXUGMJA SEA JellyBean Android 4.3 (chinese) source from Samsung (for clean work and stability).
litegx_defconfig : Disable 'Samsung Rooting Restriction Feature'
12.11.2013 : v1.6.3 released.
Upgraded to ZCUBMK2 Android 4.3 ramdisk.
Fixed 'init.d' support (forgot it in previous 1.6.2).
12.11.2013 : v1.6.2 released.
full ramdisk from (this time) pure stock XXUGMJ9 instead of repacked WanamLite 7.2 ROM one.
ramdisk : modified 'root helper tweaks' from adam kernel to fit the needs of LiteGX kernel only (removed build.prop and pegasusq governor tweaks).
It was already the case before but I prefer to precise it : in case you encounter the message "fix root" after flashing my kernel before rebooting from recovery, you can choose yes or not, it will be the same : you will not loose root.
11.11.2013 : v1.6.1 released.
touch_wake.c : forgot description of bump to 1.1a.
11.11.2013 : v1.6.0 preview.
Touch-to-Wake v1.1a finally implemented ! (credits to @Ezekeel & @Yank555) and enabled by default with 5 seconds delay. If you guys are unhappy with it or would like to set another value, just set it via Trickster MOD.
11.11.2013 : v1.5.2 released.
Reverted patch: "ExFAT loaded as external module" (causing ExFAT not working anymore).
11.11.2013 : v1.5.1 released.
Added one more modification to "Disable multicast on suspend" (thx to @googy_anas).
11.11.2013 : v1.5.0 released.
Samsung Rooting Restriction Feature removed (thx @googy_anas).
ExFAT loaded as external module (thx @googy_anas).
Reverted patch: "MMC: Fix the workqueue overload battery waste (cm patch)".
09.11.2013 : v1.4.0 released.
Updated compilation toolchain Linaro GCC from 13.09 to 13.10 (20131014).
09.11.2013 : v1.3.0 released.
zRam activated (but disabled by default). Use any profile to activate it (grab them into post #2).
zRam : use LZ4 compression.
zRam profiles are compatible and working same way as LiteGX 4.1.2 version.
09.11.2013 : v1.2.0 released.
Add NTFS support.
Add NFS support.
Add CIFS support.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
08.11.2013 : v1.1.0 released.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
CRT-off effect support (early_suspend set to 100ms).
xbox controller support.
Native ExFAT support (from official Samsung source).
Triangle Away support.
4x zRam swaps capability (instead of single one).
Dynamic FSync control (v1.2).
Optimized ARM CPU topology.
"ARCH_POWER" enabled.
"SCHED_MC" added.
"SCHED_MC_POWER_SAVINGS" set to agressive value (2) by default.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
AIO enabled (backport of Linux 3.6.x) and tweaked.
Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
Intelli memory writeback (0 when screen ON & 500ms when screen off).
Enabled persistent TRIM support for all partitions.
MMC : Fix the workqueue overload battery waste.
"GENTLE_FAIR_SLEEPERS" disabled.
Higher random entropy.
Decreased touch boost frequency (from 800 to 600Mhz).
ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
"cpu_load_slope" correctly set.
Doubled min-max readahead.
"Westwood" TCP congestion module enabled and set as default.
Enabled "bic" and "htcp" TCP congestion modules.
Network speed tweak.
Proportional Rate Reduction for TCP.
bcmdhd : Disabled multicast on suspend.
Android logger disabled.
Disabled various debug in defconfig.
08.11.2013 : v1.0.0 released.
Directly based on update12 source from Samsung (for clean work and stability).
Compiled with latest available Linaro GCC 4.7.4 (13.09 / 20130903) toolchain (with flags optimizations).
Ramdisk from XXUGMJ9.
ZZMoove (v0.7d) governor (added and set as default)
row (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.4 drivers) compatibility.
init.d support.
Thanks & greetings
★ THANKS & GREETINGS ★ :​
XDA board and community
Google
Samsung
CyanogenMod Team
gokhanmoral
AndreiLux
wanam
spica1234
ZaneZam
Yank555
googy_anas
hardcore
Lord Boeffla
DONATIONS
★ DONATIONS ★ :​
Many thanks to @letmarebrmbarove ! :good:
Many thanks to @batahulu ! :good:
Many thanks to @sqlpro ! :good:
Thank you to support my work guys !
Hi,
Firstly, thank you for your hard work on this kernel.
I flashed the kernel after wiping cache and dalvik. What I noticed is that Trickster mod does not pickup all 4 cores. Only 1 core is shown. Also, frequency lock is set to On, but no frequencies are shown. No scheduler is shown either. Cpu -z shows all cores.
Other than that, everything is running smoothly so far. The wake lock issue doesn't seem to be present. I'll report back with any other issues I find.
Thank you again. I've been using your Kernels since I bought my phone and I find them to be perfect for my needs.
Edit: I'm using Gorgoid 3.2
flashing right now. thanks
EDIT: wake up bug is gone. everything seems ok for a few hours of using. next is battery life. charging right now.
Thanks, you did it faster than i expected, will flash 4.3 this weekend.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Awesome i will try it now and tonight or tomorow i will give feedback .
Hope batterylife is better than stock and the wake up bug is gone .
Thanks for your work
modded by Xposed Framework.
Thanks for your work! :good:
Waiting some feedbak from users, but for sure I will try it :highfive:
Thanks guys, glad you like it, even if it's still far than my 4.1.2 LiteGX version, still a lot of work to do!
rodlane said:
What I noticed is that Trickster mod does not pickup all 4 cores. Only 1 core is shown. Also, frequency lock is set to On, but no frequencies are shown. No scheduler is shown either. Cpu -z shows all cores.
Other than that, everything is running smoothly so far. The wake lock issue doesn't seem to be present. I'll report back with any other issues I find.
Click to expand...
Click to collapse
I can confirm this bug, looks like TricksterMOD is not well supported by 4.3 detection for the moment I guess. Try to use SetCPU for the moment which works well, and PerfMon to see behaviour of 4 cores in live, looks like all cores are working properly here :good:
F3nr1s said:
Hope batterylife is better than stock and the wake up bug is gone
Click to expand...
Click to collapse
Thanks to informing me about this bug, I wasn't aware of it, since I just migrated to 4.3 yesterday.
For the moment I never encountered this bug so far, but I'll let you know as soon as I'll face it.
I just hope official update12 source solved it, of we will have to wait for non-official dev fix, or future update13 source :cyclops:
Thank you. I'll Perfmon. I don't really play around with cpu settings much, although I do use Trickster mod to check that everything is running the way it should.
Another issue just noticed while typing this post is that my phone is heating up. Cpu-z reading is 40° C. Not sure if it's a 4.3/chrome/kernel issue. I never had this problem 4.1.2 using Chrome.
One more kernel for 4.3. This is really good!
Thanks man!
Thank you
Major update !
★ UPDATE ★ :​
08.11.2013 : v1.1.0 released.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
CRT-off effect support (early_suspend set to 100ms).
xbox controller support.
Native ExFAT support (from official Samsung source).
Triangle Away support.
4x zRam swaps capability (instead of single one).
Dynamic FSync control (v1.2).
Optimized ARM CPU topology.
"ARCH_POWER" enabled.
"SCHED_MC" added.
"SCHED_MC_POWER_SAVINGS" set to agressive value (2) by default.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
AIO enabled (backport of Linux 3.6.x) and tweaked.
Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
Intelli memory writeback (0 when screen ON & 500ms when screen off).
Enabled persistent TRIM support for all partitions.
MMC : Fix the workqueue overload battery waste.
"GENTLE_FAIR_SLEEPERS" disabled.
Higher random entropy.
Decreased touch boost frequency (from 800 to 600Mhz).
ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
"cpu_load_slope" correctly set.
Doubled min-max readahead.
"Westwood" TCP congestion module enabled and set as default.
Enabled "bic" and "htcp" TCP congestion modules.
Network speed tweak.
Proportional Rate Reduction for TCP.
bcmdhd : Disabled multicast on suspend.
Android logger disabled.
Disabled various debug in defconfig.
Enjoy :good::good:
Still a lot of work to do to include last tweaks/features of LiteGX 4.1.2 (like zRam, touch-to-wake, etc).
Stay tuned!
Btw, I found the buggish patch who caused a freeze into samsung I9300 boot logo, it was caused by linux printk, so no kernel logging disabled for the moment.
Looks Nice
Added as always ( Pardus HD Rom Premier 4.3 ) :good:
Thank! I will try flash right now!! I Love your kernel for 4.1 , hope this version can fix bug lockscreen delay and batterylife!
Testing on Neatrom..
Enviado desde mi GT-I9300 mediante Tapatalk
You can add zzmove profiles? . thanks
raff222 said:
You can add zzmove profiles? . thanks
Click to expand...
Click to collapse
Top of 2nd post :good:
Perfect batterylife! Awesome kernel!! LOVE IT.. xD thank you @AndroidGX.
Sent from my GT-I9300 using Tapatalk 2

[KERNEL][LINARO][UC][F2FS] Project T - Custom Kernel for ZenFone 2[THE END]

Hi guys,
It was a cool journey with all the support I got from you, this community is really the best! Unfortunately this will be the last version I will release. See the changelog for more details!
Please note that I do my testing on a ZE551ML 4GB 2,3GHz. For ZE550ML look here (thanks to cieffe54)
Note: This kernel works ONLY on stock based versions!​
I can only support, if you don't have any speed tweaks or similar flashed as I can not differ if the issues come from the kernel or from installed tweaks!​
Features:
Based on Zenfone 2.20.40 kernel source (completely from scratch)
Built with Hyper_linaro4.9 toolchain (all credits to @fraps123!!!)
STABLE: UC to 333MHz for all models
Power efficient work queues for fbcon and PHYDEV
Battery Life eXtender (BLX) (manipulate via init.d script 10BLX==>Downloads tab or Kernel adiutor==>Battery menu)
Touchboost input event handler (can be switched on and off via init.d, see Downloads-tab)
Greatly improved memory management
Added the following CPU governors:
- Ondemand with hotplugging event handlers when screen is off
- Lionheart
- Bioshock
- ConservativeX
- Yankactive
- TheSSJactive (Yankactive with hotplugging)
Added IO schedulers:
- sio
- zen
- vr
- fifo
- sioplus (credits to @boype, fixed afterwards for zf2 by me) {DEFAULT}
- fiops
Added TCP congestion algorithms:
-BIC
-CUBIC
-WESTWOOD
-HSTCP
-HYBLA
-HTCP
-VEGAS
-VENO
-SCALABLE
-LP
-YEAH
-ILLINOIS
Tweaked GPU governor to scale up more quickly
Set minimum brightness to 2 instead of 15 percent (changeable by init.d script)
Set readahead of int./ext. sd card partitions to 512kB by default
Selinux permissive
init.d support (creates directory if it doesn't exist!)
exfat support (no fuse, all credits to @dorimanx, automounting of devices fixed by @sorg)
GPU clock unlocked (not overclocked) - runs between 200 and 533MHz
ZRAM implemented (see below for details)
Sweep2Sleep (all credits to Lord Boeffla)
frandom RNG
F2FS support
Deprecated: KVM support (only up to version 51)
Some words about the currently implemented features:
F2FS
all credits to @mb300sd81 for modifying the fstab accordingly: http://forum.xda-developers.com/zen...custom-kernel-zenfone-2-t3150822/post64366155
Battery Life eXtender BLX
Use the init.d script in the downloads section (10BLX) or see Kernel adiutor in the battery menu.
Sweep2Sleep and/or Touchboost
To activate simply check Kernel Adiutor for a new entry in the menu
Alternatively you can use an init.d script I have uploaded in the downloads section: 90S2S.txt/91touchboost.txt
KVM
Please note, that I stopped supporting KVM functionality from v52 onwards. If you want a tweaked kernel with KVM support, you can download v51.
You need to insmod all modules with an init.d script or manually (see download section for an according script). Please note that I won't add the feature set as @ycavan is doing, as I am lacking the knowledge and also I don't want to overbloat the kernel, even if KVM is triggered via insmodding modules. If you need special features which this kernel might be missing, feel free to request it/them, but I won't guarantee that it will be implemented at all
init.d
The way I implemented init.d is sweet, simple and won't be recognized by ANY third party app which implements init.d!
I use the my own script which is already located on the ramdisk of the boot partition and added just a few lines, which check if init.d already exists and creates it if not (and will execute the scripts in there otherwise of course). So please don't install any more init.d enabler as you will have every script executed twice then!
ZRAM
You need to activate ZRAM via init.d script (see download section) as it is turned off by default, to make it more universal for the ZF2 users with 4GB as they really don't need to compress data before storing it into RAM as for the 2GB users. Of course Kernel Adiutor also offers the possibility to turn on ZRAM.
Dev Roadmap:
Fix ROW scheduler
What's useful
What most likely won't be implemented (missing knowledge, no testing tools):
Undervolting
Sound tweak directly on chip side (no documentation found about our RT5647 sound chips ) - you will need to deal with Viper4Android
Caution:
Do everything at your own risk!​
How to install:
1st pre-requisite: Unlock your Bootloader
2nd pre-requisite: BACKUP!!!
Method 1:
BACKUP!!!
Download the zip from the DL link below and extract the img file
Place the img file on your internal SD
Flash it through TWRPs "Install zip" function, by clicking on "Images..." on bottom right and then selecting "Boot" as destination
Reboot and you're done!
Method 2:
BACKUP!!!
Download the image file and place it in the directory of your adb binary
Code:
adb push <nameofimg>.img /sdcard/
adb shell
su
cd sdcard
dd if=./<nameofimg>.img of=/dev/block/by-name/boot
reboot
Method 3:
BACKUP!!!
Download the image file and place it in the directory of your fastboot binary
Boot into Bootloader mode
Issue the following commands:
Code:
fastboot flash boot <nameofimg>.img
fastboot reboot
Method 4 (thanks to @taylor.fowler )
BACKUP!!!
Download the zip and flash it via TWRP
Attention: when reporting bugs, please provide a log or a way to reproduce the error.​
Download Link:
Gone
Credits:
@jrior001, @crpalmer, @Jamison904, @Tectas, @dorimanx, @Lord Boeflla​
Special thanks to:
@Drew442
Amir J.
@aziz07​
XDA:DevDB Information
[KERNEL][LINARO][UC][F2FS] Project T - Custom Kernel for ZenFone 2[THE END], Kernel for the Asus ZenFone 2
Contributors
TheSSJ
Source Code: https://github.com/TheSSJ/android_kernel_asus_moorefield
Kernel Special Features: CPU governors, read-ahead, init.d support, exfat, async fsync, BLX, OC, UC
Version Information
Status: Stable
Current Stable Version: Final
Created 2015-07-05
Last Updated 2015-12-29
Changelog
Changelog format: dd-mm-yyyy vXX
23-12-2015 final KVM
- as promised
02-12-2015 final
- Removed OC as it has really no effect at all, kept underclocked frequency though
24-09-2015 v91
- Speed up I/O operations on file systems
- Algorithm changes to use faster multiplication by shifting
18-09-2015 v90
- Reduced module count from 19 to 5, much quicker boot
16-09-2015 v88
- Upgraded F2FS driver to latest sources (3.10. kernel backport)
- Fixed F2FS mounting problems
The path is now clear to create the first ROMs with F2FS formatted partitions (system, data and cache)
14-09-2015 v86
- Min_brightness is working now without f*cking up the brightness
- Versioning implemented (check kernel info in kernel adiutor)
12-09-2015 v85c
- Rolled back all backlight changes, will continue tomorrow or so as I have no time
12-09-2015 v85b
- Hotfix for negative brightness
11-09-2015 v85
- Minimum brightness is changeable by the user (via init.d, see script in download tab)
- Introduced VMAcaching (big performance improvements in memory handling)
10-09-2015 v84
- changed compression of ZRAM from LZO to Google's Snappy compressor, thanks for testing @2300
Older releases:
09-09-2015 v83
- Sioplus set to default at boot already
- random number generator "frandom" used everywhere (10-50 times faster than normal random)
- Removed power efficient work queue for block devices
- Turning power efficient work queues on and off works now
- Added Google's new and fast compression algorithm "Snappy" (this is only patch 1 of 2). Next step (=v84) will be to modify ZRAM to use Snappy instead of LZO
08-09-2015 v82
-F2FS support added
-added several tcp congestion algorithms and defaulted to westwood (great speed increase)
-Increased tcp window size (more performance)
-Under the hood fixes (wifi now integrated into kernel, ramdisk fixed up, etc.)
04-09-2015 v81
- Fixed BLX
02-09-2015 v80
- Introduced power efficient work queues
- Minimum brightness set to 2% also for ZE550ML models
02-09-2015 v77b Hotfix1
- Resolved Deep Sleep issues on ZE550ML models (for those who had them)
01-09-2015 v77 UC/OC
- Added OC/UC variant (+167MHz, lowest freq set to 333MHz), still no other features, that's why the version number didn't change
30-08-2015 v77 OC
- Added OC variant (+167MHz), no new version
28-08-2015 v77
- S2S now checks dynamically which phone model you have and sets the boundaries accordingly
25-08-2015 v76
- reduced brightness even more (2%)
23-08-2015c v75
- reduced brightness now to really 5% (below is not visible at all)
23-08-2015b v74
- S2S: Reset detection algorithm when finger leaves contact with screen prematurely (then it is not really a "sweep" )
23-08-2015 v73
- made s2s compatible for ZE550ML also (need to trigger via init.d script 90S2S, see downloads tab)
21-08-2015 v72
- added BLX (thanks to @Ezekeel for the base source)
19-08-2015 v70
- updated to newest code base from Asus (2.20.40)
- set minimum brighness to 2% now (1% was weird)
16-08-2015b v67
Set minimum brightness to 10% now (will be experimented with in the future)
16-08-2015 v66
Moved touchboost code to sweep2sleep module and renamed it to sweep2sleepPLUS
Touchboost code is stock again and should be snappier than before
09-08-2015 v65
Fixed crashing when a custom governor is to be set after boot
Sweep2Sleep (thanks to @Lord Boeffla)
03-08-2015 v60
Backported and implemented Async Fsync (thanks to @deadman96385)
Set Selinux to never deny requests (hot word: avc and unknown devices, thanks to @arter97)
Removed hotdemand governor and implemented the changes directly to ondemand governor
Set readahead of the sd card partitions to 512kB
02-08-2015b v56
Reverted back to O2 optimization level, now we're back to address the whole RAM again, thanks to @Tiongkia
Accidentally compiled in 32Bit, don't download anymore, v56 will hopefully address 4G again
02-08-2015 v55
Implemented working touchboost for Yankactive and Thessjactive governors (interactive works nonetheless)
01-08-2015c v53
Random files should be gone hopefully
O3 Optimization level implemented
01-08-2015b v52 (BUGGY)
Removed KVM to make the kernel lighter
Included loadable module hotdemand (ondemand with hotplugging techniques on screen off)
01-08-2015 v51
Removed useless Debug messages from the display (cluttering the kernel ring buffer)
Last build with KVM support
26-07-2015b v50
Completely built out of Hyper Linaro4.9 Toolchain
26-07-2015 v47
Added my own implementation of yankactive governor with hotplugging of 2 cores on screen off/on.
Fixed SSE instruction set compilation
24-07-2015 v46
Fixed touchboost issue when using interactive, no good solution for the other governors at the moment
22-07-2015 v45
Added kvm support(thanks @ycavan)
19-07-2015 v44
Fixed init.d being executed to soon by moving it after boot completed flag (still as part of the init process)
Fixed sioplus
18-07-2015 v42
Removed ondemandplus for now
Added sioplus (thanks @boype) and fiops (credits to @ion-storm for his backport) IO-scheduler
18-07-2015 v40
Ported yankactive to current interactive code base and applied yankactive tweaks there, see my github commit for details. Positive side effect is that the governor now finds the maximum freq automatically (removed the hardcoded max-freq, so 1.8GHz Zenfones should be supported like 2,3GHz now, too). WORKS!
17-07-2015 v38
Fixed interactive gov by taking and adapting it from fugu kernel
Fixed init.d mounting system as rw before running scripts (now the directory gets automatically created)
16-07-2015 (at least in my timezone) v35
Corrected tunables of yankactive (max_freq should be dynamically set) and Ondemandplus (min frequency increased to 500MHz)
ZRAM implemented (to be enabled via init.d)
Uploaded GPUclock and ZRAM scripts to the download section of XDA (kind of a database)
14-07-2015b v29
Added more governos:
Ondemandplus
Yankactive
Adaptive
14-07-2015 v28
Unlocked whole GPU clocking speed
13-07-2015
Moved "older" downloads from XDA to my Google Drive (it's frustrating uploading with 1MBit/s and then getting a Server I/O error)
12-07-2015b
Fixed exFAT automount issue (all credits to @sorg)
12-07-2015
Improved init.d support (creates directory if it doesn't exist)
exFAT driver implemented (thanks to @dorimanx)
11-07-2015
Added init.d support
10-07-2015
Added several (working) IO schedulers:
- sio
- vr
- zen
- fifo
10-07-2015
Fixed wakelock issues
Added several governors
Added AnTuTu results in separate post
05-07-2015
First release
Want to report a Bug? Please read here first
This last version is pretty stable so far, therefore no bug reports anymore
Awesome...
Might test this out later when I get back home and make a back-up...
Great work! Hopefully we can tweak to give us more battery life!
Great work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
oh my god.. i dont need any custom rom for this moment if there's custom kernel released.. and I never expect the 1st custom kernel was released by you @TheSSJ, you guys including @jrior001 and @crpalmer and also other developers are rock!!
anyway a question.. can we flash it .img file using fastboot cmd on bootloader?
This be fine for the 2.19 no garbage rom?
tested this kernel since using it an hour ago..
some bugs that i found:
1. dancedance, wheatley governor (freezes phone when activated)
2. smartassv2 cause random reboot
3. all the I/O Scheduler besides stock cfq & noop are unable to be used ( I/O scheduler fifo, sio, vr, zen, tripndroid will return back to stock cfq after activated)
4. suddenly apps such Castro (I usually used it to monitor core speed) crash after using this kernel
and I used Device Control apps to apply the tweak.
and also..my device is hardly fall into deep sleep mode..hsi3_wake_lock is higher than in stock kernel..
@TheSSJ
can you tell how you overcomed module signature check in your kernel? I see in your config x86_64_moor_defconfig, you still use CONFIG_MODULE_SIG=y option which should prevent modue loading compiled in other environment. Besides signature, modules have magic string which should be the same as in zImage. But i see you've took modules directly from stock kernel. So, how you've managed to load modules? I don't see any hack in commit history.
And, btw, what exactly toolchain you're using?
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
btw, you can update kernel by simplier command.
Boot into fastboot and then issue the command:
fastboot flash boot customboot.img
So, you don't need neither custom recovery, nor root. Just unlocked bootloader.
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
@TheSSJ, we gotta work on your git-fu dude, although your kernel source meets the requirements, proper history helps with maintaining and gives more proper credit to where you forked from. If your interested in learning a few thing hit me on PM or IRC I'll try to teach you a few things.
Sent from my N5206 using XDA Free mobile app
another thing guys, it seems that im unable to return back to stock kernel..didnt tried fastboot command yet, just flashed stock boot.img in twrp and its stuck on bootloop. the wakelock is pretty bad, so people who want to test this kernel should make a nandroid backup their boot first..i forgot to backup mine and now i need to use this kernel to get my zf2 working but with high drain..
jrior001 said:
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
Click to expand...
Click to collapse
If module is built-in, then there is no reason to keep it in /lib/modules
I believe, modules are built-in because otherwise need to hack module.c to allow to load foreigner modules.
The main reason of my original question comes from need to load pre-compiled not opensourced modules such as texfat.ko and tntfs.ko. Actually, texfat.ko can be replaces by opensource exfat module from Samsung. But there is no opensource solution for tntfs.ko (i don't call that castrated ntfs opensource driver in linux kernel as alternative).
I've tried to hack module.c to allow to load foreigner modules (cannot disable the check by config flags because it affects the structures), and i can succefully load the module, but mounting the exFat(i'm experimenting with texfat.ko module) disk gives me out of memory error. So, either ASUS gave config not exactly they're using, or i don't know where is the problem.
I'm using AOSP GCC 4.8 recommended by ASUS.
cangcan said:
and also..my device is hardly fall into deep sleep mode..hsi3_wake_lock is higher than in stock kernel..
Click to expand...
Click to collapse
Yep, had that,too,fortunately I was able to restore stock kernel and now it is back to normal (75% deep sleep, 20% lowest clock). Need to investigate why it is causing that, as I didn't change the default governor at all (was set to interactive on mine, still 99% on 500MHz). The only real changes I made which were applied directly were just the dynamic read-ahead fix and the inclusion of all models in the kernel directly.
sorg said:
@TheSSJ
can you tell how you overcomed module signature check in your kernel? I see in your config x86_64_moor_defconfig, you still use CONFIG_MODULE_SIG=y option which should prevent modue loading compiled in other environment. Besides signature, modules have magic string which should be the same as in zImage. But i see you've took modules directly from stock kernel. So, how you've managed to load modules? I don't see any hack in commit history.
And, btw, what exactly toolchain you're using?
Click to expand...
Click to collapse
No hack used, as jrior001 wrote I will delete the modules in the lib folder as soon as I get home, as they bloat up the ramdisk unecessarily - it was too hot yesterday as it seems...
To be honest I downloaded a builduntu VM with which I am working. I am using the toolchain which was shipped with cyanogenmod 12.1 source, I plan to switch to AOSP or any other x86_64 optimized, though... maybe this fixed the exagerated wakelocks?
jrior001 said:
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
@TheSSJ, we gotta work on your git-fu dude, although your kernel source meets the requirements, proper history helps with maintaining and gives more proper credit to where you forked from. If your interested in learning a few thing hit me on PM or IRC I'll try to teach you a few things.
Click to expand...
Click to collapse
Would be really glad for any help in making this easier to build and to document - git is a pain in the a$$. Will send you a PM as soon as I can.
By the way: does anyone know if the used toolchain can be the reason why these kernel wakelocks appear??
Camera FC
Flash light not work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
29y6145 said:
Camera FC
Flash light not work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
Click to expand...
Click to collapse
Interesting - I didn't change a thing on the camera code...maybe I really need to use the AOSP toolchain as recommended by Asus...
//Edit: suspect this issue comes from the hsic wake locks cangcan posted on page 1. Basically the camera (and many other components, like modem) seems to be connected using USB protocol and there may be issues of occupied resources which cannot be used by other components. Will dive into the code when I come back home. I will also test the stock source and check if the wakelock occurs there,too! This would be an indication, that the kernel source from ASUS needs some special treatment in order to work well
TheSSJ said:
Interesting - I didn't change a thing on the camera code...maybe I really need to use the AOSP toolchain as recommended by Asus...
Click to expand...
Click to collapse
Yes
Iam restore stock boot
Camera and flash light worked again
I hope you fix next version
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
I found the code piece (2 in total, xhci and ehci) where the wakelock is initialized, now it's tedious code crawling...
Some updates reg 2.18 kernel
So I have been tinkering a lot with the kernel and decided to start from scratch, with rather shocking results.
I have downloaded the original kernel source for v2.18 and compiled it strictly as described in the README included by ASUS.
After fixing some path issues the kernel compiled and I packed it into a boot.img.
After flashing and booting the wakelocks are still present!!! So this has definitely nothing to do with my modifications here, I used the x86_64_moor_defconfig with the diff_file for zenfone2 fhd and included all modules.
At this point in time I can say for sure that the config from Asus is either incomplete or something is missing from the source itself.
I will try to compile the 2.19 kernel today and see if the wakelocks disappear - but it seems that every other custom kernel should have the wakelock problems...
Just to let u know..
Also (some positive news): Intel granted me free access to their own c++ compiler binaries, which are increasing the performance of Intel based SoCs compared to normal gcc by a fair amount. Will also try to build the kernel with the Intel toolchain

[EOL][I9300][KERNEL][CM11, CM12.x, CM13]Harfix2 elite kernel (1.1.1)(03.07.16)

HARFIX3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For I9300
Flash on your own risk!
Based on cyanogenmod smdk4412 source.​
Hi. My name is Rafał, I'm from Poland.
I want to present You my harfix kernel for i9300.
Kernel is in beta state but working great on daily usage.
FEATURES
- ANYROM and AROMA installers (mostly by @psndna88)
- UBERTC GCC 7.0 toolchain
- 300HZ kernel tick (thanks @arter97)
- CPU OC/OV (100-2100MHz) (more then 1.6GHz is NOT recommended!!!)
- GPU OC/OV
- Boeffla-sound engine 1.6.7 (app in download section)
- governors: intelliactive, SmartassV2, lulzactiveq, adaptive, interactive, Darkness, Yankasusq, GoogyQ, conservative, ondemand, performance, pegasusq (lulzactiveq and ZZmoove is recommended)
- support F2FS (tested by @Schwester_Gabi)
- support NTFS (tested on 64GB USB drive by Kubix99)
- TCP - westwood
- SElinux - permissive
- O3 optimalizations
- TouchWake
- Increase USB charging rate to 900 from 475mAh
- 1 second to halt core instead of 4 sec.
- opitmalizations and tweaks
- other misc
More in future!
BUGS
You tell me
TESTED
Working:
- Official CM
- Temasek
- crdroid
- ResurrectionRemix M
- AICP
- CyanPop
- CM by MARKOX89
- Beanstalk
- Blisspop
Not working:
- Nameless rom
INSTRUCTION
EXT4
boot into TWRP
make a backup
flash kernel
reboot and wait until boot is finish
F2FS (thanks @Schwester_Gabi)
boot into TWRP
make a backup
wipe dalvik/ART cache
format /system with ext4 (if you chose f2fs the rom will automatical format it to ext4)
format /data with f2fs (this will erase Your all data!!)
format /cache with f2fs
flash rom (no reboot)
flash gapps (no reboot)
flash kernel
reboot and wait until boot is finish
CHANGELOG
Full changelog
1.1.1 03.07.16
- implement Harfix script v0.11
- remove HBC (will be back)
- back to -O3
- revert NVIDIA cpu relaxation (maybe will be back)
- disable dynamic fsync
- disable Zcache
- fix in HW
- default I/O set to ROW
- source update
1.1 27.06.16
- implement CPU topology
- add SmartassH3 gov
- rebuild, update interactive gov (thanks @arter97)
- Tweak lulzactive gov
- fixes in ondemand gov
- remove kexec -hardboot (will be back)
- enable dynamic fsync
- enable -Ofast
- enable CacheClean
- enable Zcache
- Lot of work in AROMA
- boost Random
- more agressive GPU
- I/O scheduler default is bfq
- bring inline with UBER opti
- fixes for GCC6 (Maybe useless because We use GCC7)
- fixes for selinux
- lot of opti and tweaks (mostly by @faux123 and @googy_anas)
- source update (nothing for i9300)
1.0 20.06.16
- fix 100MHz
- implement kexec -hardboot
Older:
0.8pre1 18.06.16
- NVIDIA cpu relaxation patch (thanks @MinL)
- disable gantle fair sleepers
- disable KSM
- tweak SmartassV2 gov
- add BFQ v7r8 I/O scheduler
- more agressive GPU
- Fix broken table logic (still can't change 100MHz voltage...)
- remove all my things from zram (LZ4, snappy, tweaks, opti)
- some boeffla tweaks for zram
- fix some bugs
- remove memory v3 script (may cause slower app opening and global speed) (will be back as v4 in next build)
- default governor set to PegasusQ
- source update (readd zram, add zsmalloc, LMK fixes and tweaks)
0.7 05.06.16
- start develop RafiQ governor (based on Yankasusq)
- implement memory v3 script (still WIP) (more smooth and better work on memory)
- implement GoogyQ governor (ported version of intellidemond)
- implement more I/O schedulers (fifo, vr)
- implement CPU-boost
- implement CPU-boost sys interface
- readd boeffla-sound (now works!)
- reduce Wi-Fi wakelock
- optimize do_csmu
- fix some leaks
- fixes in slub
- enable ARCH_POWER
- fixes in cpufreq
- higher led brightness
- 64-byte L1 cacheline
- fix deadlock in panic (if any)
- implement fast random number generator 1.1 (frandom)
- implement native exFAT support (samsung OSRC 1.2.4)
- implement LZ4 and snoppy compressions for zram (snappy in disabled)
- enable lz4 compression for zram
- implement timer slack controller
- enable cgroup timer slack
- fixes in cgroup
- enable NOSEC opti
- steal writing sem (performane fix)
- remove compressed copy from zram in-memory (more free zram to use)
- replace stock nr_running table with nvidia alternative in pegasusq
- a lot of modifications for zram (too many and too big to write here detailed changes)(mostly by @Yank555.lu)
- enable -O3 instead of -Ofast (more stable)
- disable auto name (again)
- fix: can't change i/o scheduler
- fix: can't change governor
- remove useless internet formats (size reduction)
- remove "+" in kernel version
- speeds up and optimalizations
- lot of fixes
- source update (updated modem_if, fixes and clean up code)
0.7pre2.1 15.05.16
Thanks a lot @FAFAŁ who found all there bugs
- fix reboots
- add cache refresher at sleep
- restore governors
- restore TCP
- restore NTFS support
0.7pre2 15.05.16
REBOOTING WHEN PHONE IS IN SLEEP
Thanks a lot @FAFAŁ who found all there bugs
- set kernel tick to 300HZ (thanks @arter97)
- Graphite optimalizations
- disable optimize for size
- disable generic spinlock
- back to gzip
- disable ntfs
- disable interactive and conservative govs
- camera fix
- remake config file
- remove almost all tcp
-------try fix nameless-------
- enable KSM
- enable profiling
------------------------------------
0.7pre1.2 14.05.2016 aka "let's fix again"
- wifi fix
- add checker at boot
- remove useless governors (powersave, userspace, adaptive)
0.7pre1.1 14.05.2016 aka "only fixing"
- GCC 7
- update ubertc to 21.04.16 version
- fix boot.img builder
- enable thermal
- disable thermal for exynos
- disable auto local version (in settings will be only version name, nick of builder and build pc name)
- disable quickboot (same problems at the moment)
- set 0.2-1.4 freqs when installing
0.7pre1 11.05.2016 aka "clean installation"
INSTALL UNDER 0.6.1
In settings will be still 0.6 as name
- add Harfix Bash Commander
- more effective GPU (~10%)
- add quick boot script (speed up boot time)
- enable touchwake as default
- make to aroma work faster
- delete unnecessary scripts and files in installers
- add material theme to aroma
- disable and delete all backups in aroma
- enable 4 device of zram, one with 200MB
- set swappiness to 80
- enable dynamic fsync
- delete thermal in config
- delete checks on boot to reduce boot time
- many many work in installers
- source update (fixes)
- reduction in size
- fixes
- new machine to build
APP
- CPU freqs
- visual updates for future settings
0.6.1 (27.04.16)
- fix audio
- fix governors
- disable compability check @psndna88)
0.6 (26.04.16)
- add aroma and anyrom installers (thanks @psndna88)
- rework SmartassV2 gov
- add Touchwake
- LZMA compression
- speed up screen off
- zram allow 4 devices
- fix touck wake incall
- Activate additional TCP congestion algorithms
(westwood, bic, cubic, htcp, hstcp, vegas, scalable, lp, veno, yeah, illinois)
- westwood now default
- fix .config files
- disable KSM
- 160MHz on L2 cache
- tweaks from i9300i 3.4 kernel
- small optimalizations
0.6pre2 (21.04.16)
- Power_ignore is now as default build-in
- Boeffla-sound is off as default (audio fix)
- SElinux is now permissive as default
- revert optimized CRC (battery drain fix)
- TCP is now westwood (faster network)(not working)
- enable 0fast optimalizations
- small fix for hotplug
- improve intall script
- ramdisk back to official CM
- update ramdisk to 20.04.16
- source update
0.6pre1-fix (17.04.16)
- remove LZ4 compression (will be back in future)
0.6pre1 (16.04.16)
DO NOT INSTALL - BOOTLOOP!!!
Look above
- add GPU OC/OV (use andromizer pro or something else that support mali gpu)
- LZ4 compression algorithm
- Boeffla-sound is enable by default (need SElinux set to permissive, see second post)
- Max charge levels set to 2600
- CRC32 optimized algorithm
- added darkness governor
- improve intall script
- Fixed: sometimes not charging at 900 on USB
- RAMDISK update to 6.5
0.6pre1-power_ignore have ignore unstable power and ignore margines as default
0.5 (09.04.16)
- add ZZmoove governor (very high recommend to use as default)
- RAMDISK changed from official CM to Temasek (6.0)
- tweaks MDNIE
- add Boeffla charge script
- source update
0.5pre2 (06.04.16)
- need less time to wake up screen
- NTFS support
- try to fix 100MHz overvolt (really fix will be in next pre)
- a lot of optimalizations
- a lot of tweaks
- global speed improvements
- small fixes
0.5pre1 (02.04.16, updated ramdisk on 04.04.16)
- Add OV CPU
- fixes logic table (now You can OC on all freq)
- add support for GCC 6 and 5
-small optimalization
0.4.1 (01.04.16)
- delete OV CPU
0.4 (31.03.16)
- add interface for GPU (will be deleted in future and added other interface)
- wait just 1 second for other CPU to halt
- add Boeffla-sound engine 1.6.7
- add OV CPU (buggy)
- increase USB charging rate to 900mAh
0.3.1 (30.03.16)
- small fixes
0.3 (29.03.16)
- add OC CPU up to 2.1GHz and UC to 100MHZ
0.2.1 (28.03.16)
- trying to fix very slow working (really fixed in 0.3.1)
0.2 (27.03.16)
- add intelliactive, lulzactiveq, SmartassV2 and active others governors
- disable cache synch when phone is in write protected
DOWNLOAD
xda
THANKS!
Like my project?
hit thanks!
Want to make this project more popular?
or want notification on site update?
follow this project!
XDA:DevDB Information
Harfix2, Kernel for the Samsung Galaxy S III I9300
Contributors
rafciowis1999
Source Code: https://github.com/wisniew/Harfix2_kernel_I9300
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 0.8pre1
Created 2016-04-05
Last Updated 2016-06-1GPU
XDA:DevDB Information
Harfix2 elite kernel, Kernel for the Samsung Galaxy S III I9300
Contributors
rafciowis1999
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1.1
Created 2016-06-20
Last Updated 2016-07-30
Notes:
Nothing for now
Plans:
Somewhere is the future
- ABB control - Adaptive Body Bias
- kexec -hardboot
To do
- add hotplug gov
- add lagfree goc
- add savagedzen gov
- add intelli_plug
- add profiles to Boeffla-sound (you can send me Your own)
- AOSP & Nameless support
Done
- implement Harfix2 0.1 script (memory, governors for now)
Harfix Bash Commander by Mieta & Jach00
This app allow control harfix2 kernel settings.
App is packed in kernel (0.7pre1 and above) so You don't need to download separately from here.
With this app You will be able to set all values what harfix kernel allow to set.
This is still Work In Progress state so if You find some bugs, tell me
Features:
- CPU freqs
- governor selection
- full TouchWake control
- full charge control
Plans:
too many to write them here
Download:
mediafire
In download , think for job ��
Édit : in test
lyamine said:
In download , think for job ��
Édit : in test
Click to expand...
Click to collapse
If You will see bugs, please tell me, I will try to fix.
and tell me Your system then i will mark to "tested" tab if working.
Harfix2 0.5pre2 is up on xda and mediafire!
changes:
- try to fix 100MHz overvolt (really fixed will be in next pre)
- a lot of optimalizations
- a lot of tweaks
- global speed improvements
- small fixes
- NTFS support (tested, working!)
- need less time to wake up screen
GRAB IT!
Hola
Since yesterday your kernel works very well
Harfix2-0.5pre1
I am under Temasek 5.0
Of that I install another Rom I will stay for you and will keep you informed
Good afternoon
Sorry for m'y inglish I hope is understandable
lyamine said:
Hola
Since yesterday your kernel works very well
Harfix2-0.5pre1
I am under Temasek 5.0
Of that I install another Rom I will stay for you and will keep you informed
Good afternoon
Sorry for m'y inglish I hope is understandable
Click to expand...
Click to collapse
Try update to 0.5pre2. Have many nice features.
Thanks for inform me, i marked in "working"
Please say I can ignore unstable power and power margin!
Kudos to the developer BTW.
sunny1234590 said:
Please say I can ignore unstable power and power margin!
Kudos to the developer BTW.
Click to expand...
Click to collapse
You can't :/ And i dont plan to add this in future becouse all kernel app dont support boeffla charge script.
Maybe when i will make my own app then i will add this.
if You will find app with support Boeffla charge script then i will add this in new pre.
You can install boeffla kernel and install apps from google play or xda and inform me when on someone will work.
sunny1234590 said:
Please say I can ignore unstable power and power margin!
Kudos to the developer BTW.
Click to expand...
Click to collapse
Or I can add this script and You will be able to edit settings via terminal.
rafciowis1999 said:
Or I can add this script and You will be able to edit settings via terminal.
Click to expand...
Click to collapse
Script sounds like a nice idea too.
sunny1234590 said:
Script sounds like a nice idea too.
Click to expand...
Click to collapse
OK, adding this is not too easy so give me some time for this.
Hello . I am not a specialist of the kernel or a developpers of rom but I'm sick of flash .. I flash my phone atleast once a day I like to try all Content Updates lurking on xda ,
I do not really say little di kernel is better than another because usually live kernels background stock very much for my personal use, for me when my phone does not consume more than 1% in airplane mode all night means I have a good kernel lol.
So if you can make a list of bugs or problems that can cause kernel , if I see I would tell you. That way I would learn with you on the kernels
Whenever I flash a rom before returning to my Buckup Temasek 5.0, I install your kernel and I would put screens shot to it more credible : p
For consomation battery . I use all the temp my phone . I could not tell you information for that
ResurrectionRemix-M-v5.6.5-20160324. It's OK
Again sorry for my English. it is the French translated by google translation
lyamine said:
Hello . I am not a specialist of the kernel or a developpers of rom but I'm sick of flash .. I flash my phone atleast once a day I like to try all Content Updates lurking on xda ,
I do not really say little di kernel is better than another because usually live kernels background stock very much for my personal use, for me when my phone does not consume more than 1% in airplane mode all night means I have a good kernel lol.
So if you can make a list of bugs or problems that can cause kernel , if I see I would tell you. That way I would learn with you on the kernels
Whenever I flash a rom before returning to my Buckup Temasek 5.0, I install your kernel and I would put screens shot to it more credible : p
For consomation battery . I use all the temp my phone . I could not tell you information for that
ResurrectionRemix-M-v5.6.5-20160324. It's OK
Again sorry for my English. it is the French translated by google translation
Click to expand...
Click to collapse
Thanks a lot. If You want help me more on this project You can test for me test builds (one will be release today).
Soon I will compile and upload on mediafire the test build.
I want information about this features what i will add (working, don't working, bugs, working perfect, working so slow, etc).
Stay tuned and soon i will make You my tester
Can You say what exactly version of kernel You are used in RR rom?
In next versions i will add name of kernel to "device information" in settings.
OK fine
Harfix2-0.5pre1 work in RR
Harfix2-0.5pre2 also work in RR
If you want me to try the two each time tell me!!
sunny1234590 said:
Script sounds like a nice idea too.
Click to expand...
Click to collapse
lyamine said:
OK fine
Harfix2-0.5pre1 work in RR
Harfix2-0.5pre2 also work in RR
If you want me to try the two each time tell me!!
Click to expand...
Click to collapse
Please test for me test1 build. Uploaded on mediafire. Now without script to control this, but please search for app that maybe will control this from google play or xda. When You find something, inform me. When not, inform me too so i will add script to edit charge amount via terminal.
Changelog in 3. post.
Good night
If i understand, you want me to test the latest build
If it's OK , i test it now in temasek 6.0 . it work
but please search for app that maybe will control this from google play or xda. When You find something, inform me. When not, inform me too so i will add script to edit charge amount via terminal.
Click to expand...
Click to collapse
I have not really understood what app and why ??!!!
Like this one for exemple !
https://play.google.com/store/apps/details?id=com.abmantis.galaxychargingcurrent.free
lyamine said:
If i understand, you want me to test the latest build
If it's OK , i test it now in temasek 6.0 . it work
I have not really understood what app and why ??!!!
Like this one for exemple !
https://play.google.com/store/apps/details?id=com.abmantis.galaxychargingcurrent.free
Click to expand...
Click to collapse
App which You can edit kernel settings like kernel adiuter, etc.
But i tested faux123 and kernel adiuter and We can't change charge numbers :/
I will add script to configurate this.
Thanks for try and for info.
You can stay with test1 becouse this is 0.5pre2 with one feature that work but We can't configure and with source update so phone can work faster or have opti on cpu.
And the test build is in "tests" folder
And "why?" becouse We will be able to change charge rate (how much mAh will go to Your phone while charging)
Thanks.
Sent from my GT-I9300 using XDA-Developers mobile app
OK i understend now .
I'll get tomorrow if I find another app and try the one you already try
Good night

TUNED Kernel for N/O/P/Q - 20201021 - Full charging, no flickering, correct mA values

"A kernel is the central part of an operating system. It manages the operations of the computer and the hardware - most notably memory and CPU."
It should be installed via Recovery (TWRP) over any LOS/AOSP 14/15/16/17-Based ROM. It doesn't need any tweaking with any app, just install it and use it.
BUT you can use Boeffla Config app (available here on the next post) or Kernel Adiutor if you like tweaking.
This kernel uses codes from other kernels, as you'd expect in an open-source community, most notably code from Boeffla, SmartPack, Lolz, Ares and Intelli-kernel
It has UNIQUE features like:
- a different "low memory killer" algorithm wrote by me. Extremely simple, but multiple apps can be killed in a batch!
- zcache is disabled for really *freeing* up memory that was used for caching files
- a different default cpu hotplugger. ALL kernels (even LOS/stock) relies on Qualcomm's vanilla MPDecision, I wrote my own
- Tuned CPU governor (it's the default). It's basically the Interactive governor but with a LOT of tuning to match up with the tuned hotplugger. Did you know stock/los roms uses a multi-socket Interactive governor that doesn't match our phone's cpu?
- many many many MANY compiler optimizations not found on boeffla kernel, LOS or anywhere else!
- MANY unused code simply REMOVED to free memory and CPU. People ADD a lot of stuff on a kernel, I like to remove
- compiled with 2019 GCC version 9.1 (instead of the ancient version 4.9 that EVERY ROM uses)
- Your battery will be charged to "real" 100% like TWRP does
- many unstable cpu and gpu governors and i/o schedulers removed. they only wasted space
- ext4 tweaks
- fair scheduler tweaks
- removed 3 touch boosters code.. why so many? just to raise your clock on every single touch?
- Maple i/o scheduler
- lowered "read ahead" of files and inodes.. why would you read something you don't know you'll need?
- lowered maximum i/o requests for lowering ram usage while writing to SD (internal or external)
- removed a lot of DEBUG code.. why release a software with debugging code built-in?
- removed network protocols we would never use
- removed some compatibility code
- removed dynamic fsync, why would anyone want to enable fsync in any moment anyway? it has been disabled by default linux kernel for decades!!
- decreased commit DELAY of file changes from 20s to 5s, which is linux default. there's no advantage in keeping new/modified data on ram for too long
And common features:
- Max cpu voltage set to 1.4v
- Min cpu clock set to 268mhz instead of 300
- Max cpu clock set to 2995mhz instead of 2457
- Max gpu clock set to 657mhz
- Compiled to speed, not size
- Voltage table for undervolting or overvolting
- Charging level for AC, USB and Wireless charger can be set
- LED fading control + brightness
- zen, noop bfq and sioplus i/o governors
Overall your phone will be snappier, and less battery hungry
You can go back to your rom's default kernel by simply installing rom's .zip again. No need to wipe anything ever!
Telegram Group: https://t.me/tunedkernel
If your voice on recordings or whatsapp calls is too LOW, try my fix for that: CLICK
XDA:DevDB Information
TUNED, a LOS Kernel for S5 - Performance and Battery life together!, ROM for the Samsung Galaxy S5
Contributors
fbs
ROM OS Version: Android 10
Version Information
Status: Stable
Stable Release Date: 2020-10-21
Created 2019-01-28
Last Updated 2020-10-23
Tuned Kernel versions will be attached here, the build date is at the file name.
com.ktoonsez.KTmonitor.1.apk is a little app that will show to you each cpu core clock and gpu clock. Please hold the red button and put at most 100 at "Update Speed". Don't touch the other options because they're buggy!
2.5.20-boeffla-config-v2.apk is the Boeffla Config App, where you can setup most of this kernel's options
klte = SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
klteduos = SM-G900FD, SM-G900MD
kltedv = SM-G900I, SM-G900P
kltekor = SM-G900K, SM-G900L, SM-G900S
kltechn = SM-G9006V
CLICK ON THE LINK BELOW WITH YOUR MODEL ON ITS NAME (KLTE or KLTEDUOS or KLTEDV or KLTEKDI or KLTEKOR or KLTECHN) TO DOWNLOAD:
Reserved
300119
- possible fix for encrypted devices and f2fs file system (f2fs is buggy on every s5 kernel, don't use this)
150219
- more overclocking on cpu and gpu
- sdfat updated
- tuned hot plugger enhanced
- xor and square root algorithms optimized for ARM
- boot time maybe a little faster with LZ4 compression (that's why kernel seems bigger)
- removed "read-ahead" code from kernel, don't bother changing read_ahead_kb because it won't work
- zcache (not zswap/zram) back on for now
170219
- 266mhz undervoltable again.
- f2fs removed for now
- ext4 read_ahead blks reduced but not eliminated
200219
- tweaks to zcache. still don't know if it's better with it on or off..
- tuned hotplugger will enable a core and put it on maximum freq right away!
- removed CPUBW_HWMON gpu governor
- tweaks to uv_oc table
220219
- compiling with march=armv7-a mtune=cortex-a15
070319
- linux 'fair' scheduler tuning
- zcache disabled
- more inlining while compiling
100319
- more tuning on linux cpu fair scheduler and tuned governor
- revised all kernel configs (klte and variants)
260319
- smooth screen animations
- new f2fs version
- maple scheduler tuned
- compiled with -funroll-loops but less function inlining
030419
- f2fs should be working now
- new assembly optimizations
150519
- boeffla app should work better now when changing cpu hotpluggers and charging voltages
- some governors are back
- using "system_freezable_power_efficient_wq" for disk events
- RoW and Maple schedulers tweaked
- ext4 tweaks
- fair scheduler tweaks
070619
- GCC 9.1 (2019 compiler and toolchains)
- Compiling with -fgraphite -fgraphite-identity -fschedule-fusion -ftree-lrs
- tuned hotplugger with different algorithm
110619
- number of online cores are now working on boeffla app
- boeffla app can raise input charger amperage to 2200
- minor gpu tweaks
200719
- Tuned governor and hotplugger tweaked
- Saving more battery when suspended
- Merging sd reads/writes by default
090819
- tuned governor tweaked
- defaulting to row i/o scheduler, even though benchmarks don't like it
- defaulting to "simple_ondemand" gpu governor, tweaked it a lot
100919
- back to xz compressed kernel image
- updates from upstream los16
- same kernel for los14 or 16. thanx Samuel Pascua
- some strncpys changed to memcpys
- tuned governor at 15ms frequency
221019
- updates from upstream los16
- rewrote tuned hotplugger: using even less cpu for itself but enabling cores more often, starting from core 4 instead of 2
- ZRAM enabled with lz4 compression but swappiness at 60% only
- made 1497mhz the default high load speed
- tuned governor at 10ms frequency
101119
- zram changed to vnswap but lower swappiness to save battery
- no more flicker when low brightness (thanks to samuel pascua)
- file system tweaks
201119
- f2fs code stolen from intelli-kernel
- file system tweaks
- default vm_swappiness to 25
170120
- GCC 9.2.1 MUSL 2019-12
- boot time reduced even more
- faster overall performance, lower overall battery drainage
- KTmonitor should show CPU Temperature now
- vnswap should work on Pie
- enforcing selinux after booting
- removed adreno input booster
- set sysctl_vfs_cache_pressure to 50 and vm_swappiness to 40
- ignoring zswap_max_pool_pages
040220
- Working on Q (Android 10)
- AnyKernel update to 3
- Tuned governor with min_sample_time defaulting to 80ms
- Charging till your battery gives 4.4v, or explodes
- UV/OV table matching scaling_frequencies
20200223
- Using higher l2-cache frequencies for performance
- Higher heat "tolerance"
- Battery voltage/power should now be showing correctly at lockscreen
- vnswap wasn't working on Pie but now it is
20200521
- Changed some timers to let the device sleep more (huge battery gain on stand by)
- Tuned governor now being more conservative
- Added back IO Schedulers
- Led control
- LOS updates
- Remove Adreno touch booster
thank you for great work
Thank you very much.
why a new thread?! and also the download link is missing.^^
Where's the download link, appears to be missing.
xda is completely ****ed up
Thanks a lot for your work! But where do I get this kernel?
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
fbs said:
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
Click to expand...
Click to collapse
thnx for this kernel ,can't download this kernel
warism100 said:
thnx for this kernel ,can't download this kernel
Click to expand...
Click to collapse
I couldn't download using XDA app, but I was able too by opening XDA desktop site using browser.
I hope this helps you.
Thank you I will try it.
g900w8 9.0 no working
I have installed this kernel for my S5 G900F
with latest lineageos 15.1 and i insttaled beoffla
apk too, the results is great , beoffla apps work
as before
LOS15.1 + kernel + beoffla apk work fine
vlad3647 said:
g900w8 9.0 no working
Click to expand...
Click to collapse
w8 isn't klte
Uff i didnt know ,could you please tell which is w8?
Thanks
vlad3647 said:
Uff i didnt know ,could you please tell which is w8?
Thanks
Click to expand...
Click to collapse
hum.. you were right, it is klte indeed.. did it work with previous tuned-klte version ?!
I used before smartpack
---------- Post added 30-01-2019 at 12:03 AM ---------- Previous post was 29-01-2019 at 11:59 PM ----------
Maybe bcx muy phone is pretty old
---------- Post added at 12:36 AM ---------- Previous post was at 12:03 AM ----------
I install this one and so far so good
Kernel Special Features: lighter, optimization-focused
Version Information
Status: Stable
Stable Release Date: 2018-08-22
Hi, fbs.
g900f (klte) on los 15.1
not worked on f2fs

Categories

Resources