Quantcast
Channel: xda-developers - Galaxy S I9000 Android Development
Viewing all articles
Browse latest Browse all 233

[JB 4.2/4.1][ICS][KERNEL][CWM/ODIN][I9000/B] GearKernel (JBPlus/JB 1.0.3, ICS V0.2)

$
0
0




This kernel is based on Semaphore Kernel ( @stratosk ) with lots of optimizations and updates.

I'm working on all android version (4.0.3>). Of course this is based on official CyanogenMod partition layout. (LVM for 4.1, 4.2)




Features JB and JBPlus (updated for 1.0.3 Build)

Quote:

  • Based on Semaphore Sources
  • Linux Kernel 3.0.85
  • Compile Flags Optimized
  • Compiled using GCC 4.7.4 Cortex A8 Optimized by Christopher83
  • Updated GPU Driver and fixed some checks
  • SLQB Memory Allocator (default)
  • ROW Scheduler backported from 3.4 Kernel
  • Disabled MMC Checksum Check
  • Load_freq(4*HZ+61) to avoid Loadavg Moire
  • Optimized lib/string and lib/memcopy
  • Optimized ARM RWSEM algorithm and backported from 3.10 kernel
  • LowMemoryKiller from latest 3.4 kernel
  • VFP module optimized for NEON CPUs
  • Low RAM reserved to logger
  • GearTools app Built-In
  • Disabled Gentle Fair Sleeper for smoother UI
  • Optimized SLUB Memory Allocator
  • Optimized some values such as vm_swappiness and much more
  • Entropy tweaks + Frandom built-in
  • Using LZO as default compression and updated to latest version
  • Unaligned memory access enabled
  • Increased MMC timeout for faulty memory cards (now almost all microsd should work without any problem)
  • Tweaked Deadline and SIOPlus Schedulers
  • Entropy patch applied to WiFi driver
  • WiFi signal tweaks
  • Some useful GPU tweaks (all tested)
  • OnDemand CPU Governor tweaks
  • SIOPlus I/O Scheduler instead of SIO (default and faster)
  • Updated WiFi Driver
  • Using same sources for JBPlus and JB
  • Optimized ReadAhead
  • Optimized RCU
  • Snappy Compression for ZRAM
  • ZRAM Support as module (use init.d script for this)
  • SWAP Support
  • OnDemandX CPU Governor
  • Great Boot and Charging Logo (GearKernel ones)
  • BrazilianWax CPU Governor
  • Adaptive CPU Governor
  • IntelliDemand CPU Governor
  • BFQv6r1 I/O Scheduler (backported from 3.4 Kernel)
  • V(R) I/O Scheduler
  • Lioneheart CPU Governor
  • InteractiveX CPU Governor
  • Phil'z Touch Recovery
  • OC Support up to 1400 MHz
  • Interactive CPU Governor optimized and backported from 3.4 Kernel
  • 1000 Hz Kernel
  • RCU Priority Boost Enabled
  • Using lots of stuff from 3.10 Kernel
  • More RAM (deleted FIMC1 and customized some ram values)


You can find all other minor features in changelogs.


My Kernel Builds are divided in 3 Groups with 2 Version for each one:

Quote:

  • JBPlus for 4.2.2/4.2.1 Kernel
  • JB for 4.1.2/4.1.1 Kernel
  • ICS for 4.0.4/4.0.3 Kernel


Normal versions without s: for CM9 or ROMs without hugemem configuration, available RAM 38*MB - 39*MB
's' versions: for Slim Bean ROM or patched ROMs with hugemem configuration, available RAM 39*MB - 41*MB

NOTE: Enabling BigMem (using GearTools) in all kernel builds will break 720p Recording/Playback



Based on your android version you can choose your kernel build :)



Changelog for JBPlus and JB



Changelog for ICS



Issues Reporting




Kernel Downloads



(Odin and CWM Version)


Github Sources




Init.d Scripts

Quote:

ZRAM (updated for 1.0.3 Kernel)

Code:

#!/system/bin/sh
insmod /system/lib/modules/zram.ko
# You can replace 50 with the number of MB you want ZRAM Device to be
echo $((50 * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

Optional Features

Code:

#!/system/bin/sh
# (remove the # before insmod if you want to enable that feature)
# CIFS
# insmod /system/lib/modules/cifs.ko
# Logger
# insmod /system/lib/modules/logger.ko
# UHID
# insmod /system/lib/modules/uhid.ko
# USBHID
# insmod /system/lib/modules/usbhid.ko
# Xbox Pad
# insmod /system/lib/modules/xpad.ko
# Mouse
# insmod /system/lib/modules/mousedev.ko
# FM Radio
# insmod /system/lib/modules/radio-si4709-i2c.ko
# config.gz
# insmod /system/lib/modules/configs.ko

Semaphore Auto Brightness

Code:

#!/system/bin/sh
insmod /system/lib/modules/sema_autobr.ko
echo 0 > /sys/devices/virtual/misc/sema_autobr/max_br_threshold
echo 0 > /sys/devices/virtual/misc/sema_autobr/effect_delay_ms
echo 30 > /sys/devices/virtual/misc/sema_autobr/instant_upd_threshold
echo 15 > /sys/devices/virtual/misc/sema_autobr/min_brightness
echo 255 > /sys/devices/virtual/misc/sema_autobr/max_brightness
echo 3000 > /sys/devices/virtual/misc/sema_autobr/max_lux


Thanks to:

Quote:


@stratosk for his source and all his hard work
@pawitp for his kernel
@zacharias.maladroit for his useful information about CM's initramfs
@Ezekeel for LiveOC, Custom Voltage
@sztupy for USB host driver
@Phil3759 for Phil'z Touch Recovery
@mialwe for his vibrator intensity and other fixes
@DerTeufel1980 for various hints and for his kernel app
@grinder777 for his great support
@n8r for UHID
@Morfic for GPU Tweaks
@ts1506 for the Init.d scripts idea
@N00B_IN_N33D for the GearKernel Logo :)
@NitroOxid for deep testing

and many others that i missed for sure (don't kill me for this, i can't remember all names) :fingers-crossed:

Viewing all articles
Browse latest Browse all 233

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>