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) ★ :
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.
ZZMoove (v0.7d) governor (added). [PROFILES INCLUDED! grab them into SCRIPTS section].
smartassV2 governor (added).
Enabled all other stock governors ("adaptive", "conservative", "interactive").
Features that will NEVER be included in this kernel :
Overclock / Underclock / Undervolt.
Master sequence (screen calibrated).
ABB (Adaptive Body Bias).
Any upgrade of Linux kernel 3.0.XX.
★ 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).
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
The Following 150 Users Say Thank You to AndroidGX For This Useful Post: [ Click to Expand ]
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 :
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).
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 :
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_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_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 :
'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).
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).
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.
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!
Originally Posted by rodlane
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.
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
Originally Posted by F3nr1s
Hope batterylife is better than stock and the wake up bug is gone
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
A Web browser is one of these applications that we can’t live without. We useit … more
20 Sep 2014
By Tomek Kondrat
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?