⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆
⋆⋆⋆ tn2009_kernel ⋆⋆⋆
⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆
By Tamerlan2009Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devicesThe kernel had spent a lot of time in order to satisfy all. This kernel is built to appeal to users who want something really high-quality and stable with a broad customization capabilities. If you wish to use this kernel in a rom , feel free! Although I would love it if you let me know just for my own curiosity. emphasis was placed for maximum performance and battery life.
Features:
1. Changes in the kernal
- based on the latest sources COI9 G925F
- Build on gcc 5.2.1 UBERTC (01.11.2015);
- deep sleep fix;
- Smoothen GPU throttling levels;
- fix memory leak in gpiod_sysfs_set_active_low;
- fix memory leak in gpiod_export_link;
- optimization MakeFile and other files
- optimization workqueue
- optimization zswap
-added many new tweaks / optimization to improve RAM.
- memory leak fixed
-A lot of changes config of the kernel;
-Included Input booster.
- ARM64 readahead: fault retry breaks mmap file read random detection;
- Remove + sign from kernel version;
- fs/dcache.c: Fix the too small buffer for dname;
- Fixup! mm: fix aio performance regression for database caused by THP;
- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);
- mmc: disable CRC check for better performance;
- drivers/mmc: spi CRC configurable;
- PM / sleep: Fix memory leak in pm_vt_switch_unregister();
- tcp cong: westwood & htcp builtin and add hstcp & hybla & vegas;
- tcp: replace bic by westwood as default;
- CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life
- Faster lzo compression
- Added a new kernel compression lz4;
- Full support for ext4 and f2fs;
- rework f2fs - Linux 4.4 merge window;
- cpufreq: Remember last policy min/max on cluster restart
- block: disable add_random for more performance on SSD's
- wireless: dhd: Enable standby ARP and multicast packet filters
- mailbox: Separate APM CPU cluster voltages and fix debugfs output
- Added latest version of driver POWERSUSPEND
- Included schedule workqueues to save energy
-tweaks and optimize the interactive Governor, cpu standard
- GApps wakelock fix
- enable ld fix for cortex-a53 errata 843419;
- Included configs to improve the sound (g928f);
- Ported the driver from random Linux 4.2+;
- full NTFS R/W support (installed total commander and the plugin and use the flash drive with the ntfs file system);- enable USB OTG support)
- fs/dyn_sync_cntrl: dynamic Fsync control v1.5;
- fs/dyn_sync_cntrl: on by default;
-Optimization make all the kernal files;
- A new driver LMK (Lowmemorykiller);
- UI lags fixed with binder patch;
- NVIDIA's power-efficiency improvement commits applied;
- disable GCC SRA optimization;
- increase AES interleave to 4x;
- Improve ext4 и fuse;
- Enable standby ARP and multicast packet filters;
- rcu: Move SRCU grace period work to power efficient workqueue;
- firmware: use power efficient workqueue for unloading and aborting fwload;
- usb: move hub init and LED blink work to power efficient workqueue ;
- net: rfkill: move poll work to power efficient workqueue;
- net: wireless: move regulatory timeout work to power efficient workqueue;
- net/ipv4: queue work on power efficient wq;
- switch: arizona: Use power efficient workqueue;
- rtmutex: Fix deadlock detector for real;
- sched/__wake_up_sync_key(): Fix nr_exclusive tasks which lead to WF_SYNC clearing;
- Readahead: Optimize divide/multiply by power of 2 using L/R shift;
- readahead: Fix an error (thx ramgear);
- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);
- fixup! mm: fix aio performance regression for database caused by THP;
- mm: fix aio performance regression for database caused by THP;
-Disabled all the junk in the kernel (unused drivers, ramdisk compression, sedulity, Governor, etc.);
- per-thread vma caching;
- Improve drivers gpio;
- Improve drivers keyboard;
- Add power-aware migration decision making
- power migration: Refactor the hysteresis scales
- Implement task packing for small tasks in HMP systems
- tweaks dm-hotplug (before the tests with the kernel need to log in to Synapse and see if the maximum frequency set for the processor, and also put on 0 undervolting).
- the kernel source code is fully fixed not a single error, and warnings note (perfect code).
2. Changes in ramdisk:
- spoilramdisk (COI9) +my changes
- SE Linux set to permissive (will prevent private mode from working)
- Full init.d scripting support
-removed the red line when the phone is boot(SE Android enforsing);
- support engineering(samsung loaders;
- поддержка port ROM S6 Edge + and Note5
- Changed ramdisk compression in lzo;
- SeLinux is fully disabled;
- full support for Synapse
- SQLITE
- ensure cores to be online on boot
- boost onlined cpu;
- Auto-install Synapse
-Full support for ext4 and f2fs multiboot;
- Improving and automatic tuning of file system (fstrim);
- Optimization and tweaks RAM;
- automatically remove KNOX
3. Control via Synapse :
A57 CPU
- CPU temperature
- A57 big Cores Frequency Scaling
live frequency
MAX: 2100 MHz
MIN: 800 MHz
- HPM voltage control (UNDERVOLTING)
- A57 big Cores voltage control
- CPU governors
interactive (default)
userspace
performance
- CPU governor tunables
A53 CPU
- A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1500 MHz
MIN: 400 MHz
- HPM voltage control (UNDERVOLTING)
- A53 LITTLE Cores voltage control
- CPU governors
interactive (default)
userspace
performance
CPU governor tunables
GPU
- GPU stats
Current clock freq
Live Frequency Utilization (load)
- Time in state
- GPU power policy control
coarse_demand (default)
demand
always_on
- GPU frequency scaling
- GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)
- GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay
-I/O Schedulers
CFQ default(tweaked for SSD)
NOOP
Storage read-ahead (256 KB)
- General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
- I/O scheduler tunables
AUDIO
(Sound Control by AndreiLux)
- Jack media volume control
L/R channel volume
mono mixer
- Main Equalizer
- Advanced Stereo Equalizer
NETWORK
- TCP congestion control
All available enabled.
Default = westwood+
- Screen mirror/allshare cast fix control (enabled)
- Clean WIFI Lease
- TCP/IP network security
- 3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper
REBOOT
- Reboot device
- Recovery Mode
- Download Mode
- Power Off
- Clear Synapse Data & Reboot
- Restart Synapse
Led indicator
- on/off fading led
FS
- Information about the partitions on the phone and their file systems
- tweaks
Backup/restore
- Save and restore your settings Synapse
Thanks to:
AndreiLux
faux123
Linaro
arter97
Xileforce
g.lewarne
and a lot of other people I forgot.
Changelog:
Code:
[B][I]v.5.2 [/I][/B] (Universal)
- Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices.
- kernel with all prior versions and changes;
- add sweep2sleep (control via Synapse);
- add IPV6 Optimistic Detection (control via Synapse);
- add USB storage controls - you can connect your phone to PC, CD-rom, etc. (control via Synapse).
[B][U]v.5.1[/U][/B]
- Sources COI9 G925F;
- Completely rewritten kernal;
- Completely rewritten ramdisk;
- Removed a lot of junk;
- Compression ramdisk gzip;
net/neighbour: queue work on power efficient wq;
- aio: Skip timer for io_getevents if timeout=0;
- sched/fair: Implement fast idling of CPUs when the system is partially loaded;
- futex: Implement lockless wakeups;
- locking/rtmutex: Implement lockless top-waiter wakeup;
- A kernel with all prior versions and changes;
- Sort of happened to build into the kernel tweaks for the RAM!
- At the moment is the kernel for me the best performance, savings and tweaks.
- Update kernel will return a standard video driver from G925F COI9.
[U][B]v.5.0[/B] [/U]
- compute time-average nr_running per run-queue;
- Re-compute time-average nr_running on read;
- network speed tweak;
- governor: Be friendly towards latency-sensitive bursty workloads;
- Introduce new relation for freq selection Introduce CPUFREQ;
- Replace CPUFREQ_RELATION_L with C (interactive governor);
- add quickwakeup driver (from Motorola);
- always mount partitions as noatime and nodiratime;
- process: drecrease time to enter sleep ;
- Increase hash table size for better performance ;
- sensorhub: reduce wakelock time;
- implement readpages() to optimize sequential read ;
- Move clock sync work to power efficient workqueue;
- remove WQ_POWER_EFFICIENT from kblockd;
- LOAD_FREQ (4*HZ+61) avoids loadavg Moire;
- pass readahead info down to the i/o schedule ;
- cpufreq: add underclock;
- updated the files and applied a lot of tweaks to cpufreq_stats - dm_cpu_hotplug - freq_table - speedstep-lit - speedstep-sm - cpufreq_interactive - cfq-iosched;
- Added ROW iosched and set as default;
- Control voltage and overclocking GPU (100 - 852 Mhz);
- add dynamic read-ahead
- Improvements to RAM;
- Many improvements ramdisk
[/B]
.
Downloads:
V.5.2
Mod Edit link removed
XDA:DevDB Information
tn2009_kernel for the Samsung Galaxy S6\S6 EDGE
Contributors
-=RaZoR=-
Version Information
Status: Stable
Current Stable Version: v.5.2
Created 2015-12-04
Last Updated 2015-12-06
Welcome ?
Great. Always nice to see a new kernel. Going to test it.
Flashed it. Will test it with default settings first.
Nice. Will try !!
welcome ! i will try it
Welcome! I will try it. Thanks =]
Very happy to see another developer here for S6/Edge.
do everything possible to make you glad
When scrolling through Facebook its giving glitches. Will test some more. Hmmm its only with the Facebook app.
Oké after a reboot its gone. Strange
Awesome work,dev! Really i get a wonderful multitasking,i will report later for battery life! Again,great work. Thanks
Sent from my SM-N920C using Tapatalk
work in 925i?
core720 said:
work in 925i?
Click to expand...
Click to collapse
this kernel is made only for SM-G920F\SM-G925F but may work on other models. if you still decide to put for your SM-G925I before installing make a backup.
So far so good Good to see another project!
-=RaZoR=- said:
this kernel is made only for SM-G920F\SM-G925F but may work on other models. if you still decide to put for your SM-G925I before installing make a backup.
Click to expand...
Click to collapse
Yeah it works on g925i
Attinderkahlon said:
Yeah it works on g925i
Click to expand...
Click to collapse
great! any problems bugs?
Sources?
Have been using this kernel for a few weeks now, and it's fantastic. Please post your sources in the OP though, so you don't get shut down again!!!
nofam said:
Have been using this kernel for a few weeks now, and it's fantastic. Please post your sources in the OP though, so you don't get shut down again!!!
Click to expand...
Click to collapse
don't worry it's not need! the kernal of each time will only get better and better:laugh:
-=RaZoR=- said:
great! any problems bugs?
Click to expand...
Click to collapse
Haven't faced any yet...
Everything is alright.
Nice kernel. Had a bad standby time overnight. Will see what happend
Erik1805 said:
Nice kernel. Had a bad standby time overnight. Will see what happend
Click to expand...
Click to collapse
This!
-=RaZoR=- said:
don't worry it's not need! the kernal of each time will only get better and better:laugh:
Click to expand...
Click to collapse
i really impressed with this kernel but still you must follow xda rules < XDA-Developers and the GPL > if you want this thread still alive bro.
[E.O.L.]
Imperium Kernel G4 v7.4b
This kernel is ONLY for LG G4 H815/H811 MM 6.0
{
"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"
}
Features
- Based on the last LG Marshmallow 6.0 source v20o (H815) and v20v (H811)
- 20p initramfs (H815)
- 20x initramfs (h811)
- Patches ported from the last Google commits
- Patches ported from the last CAF commits
- Compiled with the last UBER toolchain 4.9.x build 29 Sept 2017 by @DespairFactor
- Init.d support
- Pre-rooted with SuperSU or Magisk
- Busybox 1.27.2 (in /sbin)
- SELinux set to "Permissive"
- Added bfq, FIOPS, ZEN v2.0, Tripndroid, SIO, SIOPLUS and V(R) I/O schedulers
- Added Blu_active, Ironactive, Bioshock, ElementalX [thanks to @flar2], Impulse [thanks to @neobuddy89] and Zzmoove [thanks to @ZaneZam] CPU governors
- Thunder Hotplug
- KCAL post-processing driver [thanks to @savoca]
- Added Westwood TCP congestion controll
- Native LG EXFAT support
- DriveDroid support
- FSync ON/OFF [credits to @Lord Boeffla]
- Sound controll v3.6 (power gain only for headphones) [credits to @faux123, @flar2 and me for to adapt them to LG G4]
- Stop google service and restart it on boot. This remove high cpu load and ram leak!
- Others fix and patch for better performance and stability
Request:
- Custom recovery
- Unlocked bootloader
Download
---------------------------------------- LG G4 H815 ----------------------------------------
Imperium Kernel G4 H815 v7.4b
---------------------------------------- LG G4 H811 ----------------------------------------
Imperium Kernel G4 H811 v7.4b
GitHub:
Sources
Credits:
LG
Google
@faux123
@Lord Boeffla
@osm0sis
@sovoca
@flar2
@arter97
@franciscofranco
@jollaman999
@DespairFactor
@neobuddy89
@frap129
team CyanogenMod
@pescixx79 for the bunner
All other authors of patches, tweaks and mods available in my kernel that were not mentioned. Please, contact me and I'll add you immediately.
I'M NOT RESPONSIBLE FOR ANY POSSIBLE DAMAGE DONE TO YOUR DEVICE AS A RESULT OF FLASHING.
I WILL NOT TAKE ANY RESPONSABILITY FOR BRICKED PHONES OR LOST DATA.
If you like my work please, offer me a beer
Change log:
Know issues:
- ElementalX and Conservative CPU governors are not compatible with Hotplug drivers. Possible freezes and/or random reboots if you use them with Thunder Hotplug.
- Possible audio issue in video recording with oldest v20L (H815) fw and 20R (H811) fw.
Imperium Kernel G4 v7.4b (MM 6.0)
v7.4b - 25/12/2017 - FINAL version
- Update mkbootimg
- Update Magisk Manager v5.5.0
- Other patches for security, stability and performance improvements
v7.3c - 06/10/2017
- Compiled with the last DespairFactor prebuild 4.9.x toolchain (build 29/09/2017)
- Update mkbootimg
- Update SuperSU v2.82-SR5
- Update Magisk v14.0 and Magisk Manager v5.3.0
- Removed LG RCT (Rooting Check Tool) service
- Security improvement with the last Google patches
- Many other patches for stability and performance improvements
- Other minor changes
v7.2 - 13/07/2017
- Removed AnyKernel2 and back to mkbootimg
- 20p initramfs (H815)
- 20v initramfs (h811)
- Back to Magisk v12.0 STABLE with Magisk Manager v5.0.4
- add "NO root" choice in aroma
- defconfig: disable MSM_ULTRASOUND
- Minor changes and general bugs fixed
v7.1 - 10/07/2017
- New installation method
- Add aroma installer
- Pre-rooted with SuperSU or Magisk
- Updated AnyKernel2
- Many others patch for security, stability, performance and battery improvements
(more details in my github)
v7.0 - 08/05/2017
- Compiled with the last UBER toolchain 4.9.x build 22 Apr 2017 by @DespairFactor
- Updaded BusyBox
- Updated AnyKernel2
- Many others patch for security, stability and performance improvements
(more details in my github)
v6.8a - 14/04/2017
- New install method: Use AnyKernel and remove SuperSU and Busybox auto-installer
- Sync with the last v20o H815 source
- Sync with the last Google patches for stability and security improvement
- Other minor changes
(more details in my github)
v6.7 - 20/03/2017
- Sync with the last H811 v20s sources
- mm/slub: don't wait for high-order page allocation
- ping: fix a null pointer dereference
- tracing: Fix event header writeback.h to include tracepoint.h
- blu_active: sync up with android-4.4 linux, bring back fastlane (revamped)0
- blu_active: Reset last evaluated jiffy in idle callback and make window alignment optional
- cpufreq: cache tunables for ondemand and conservative governors
v6.6 - not released
- add sound controll
- PM / devfreq: Add proper locking around list_del()
- PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
- drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments
- regmap: cache: Remove unused 'blksize' variabledf
- lib/vsprintf.c: improve sanity check in vsnprintf()
- mm, fs: check for fatal signals in do_generic_file_read()
- crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
- crypto: caam - fix AEAD givenc descriptors
- cpufreq: preserve user_policy across suspend/resume
v6.5 - 15/03/2017
- Stability and security improvements with the the last Google patches (March security update)
- makefile: various optimizations
- cpufreq: interactive, ironactive and blu_active governors drops bits in time calculation
- Other minor changes
(more details in my github)
v6.4 - 05/03/2017
- Compiled with the last UBER toolchain 4.9.x build 26 Feb 2017 by @DespairFactor
- Fixed audio issue in the video recording with the last v20L FW (H815)
- Other changes
(more details in my github)
v6.3 - 26/02/2017
- v20l initramfs (H815)
- Stability and performance improvement
(more details in my github)
v6.2 - 17/02/2017
- Many patches for security, stability and performance improvement
(more details in my github)
v6.1 - 09/02/2017
- Fix audio in video recording
- Others minor patch for stability improvement
(more details in my github)
v6.0 - 28/01/2017
- Rewrite the kernel by 0
- Stock Linux 3.10.84
- Based on the last H815 v20j and H811 v20r sources (January security patches)
- H815 v20g initramfs
- H811 v20r initramfs
- Update Busybox v1.26.2 (credits to @osm0sis)
- Compiled with the stock Google gcc toolchain
- Removed Maple I/O scheduler
- Removed Relaxed and Weathly cpu govs
- Removed sound controll
- Removed USB Fast Charge
- Many others patch for stability and performance improvement (only important and tested patches)
v5.4 - 16/01/2017
- Compiled with the last UBER toolchain aarch64-linux-android-4.9 build 15/01/2017 by @DespairFactor
- block: Add Maple I/O Scheduler (credits to @frap129)
- Update SuperSU v2.79 SR3
- other patches for stability and performance improvement
(more details in my github)
v5.3 - 13/01/2017
- Compiled with the last UBER toolchain aarch64-linux-android-4.9 build 29 December 2016 by @DespairFactor
- Updated SuperSU v2.79 SR2
- Upstream Linux 3.10.104
- Updated with the last Googles stability patches
- Updated with the last Googles security patches (Gennary 2017 security patches)
- Added Adreno Idler (credits to @arter97 and @frap129)
- Updated BCM43XX wireless drivers (from the last LG V10 v20l kernel sources)
- Many other patches for stability and performance improvements
(more details in my github)
v5.2 - 24/12/2016
- v20k initramfs (H815)
- Pathes ported from the last v20q H811 sources
- Update SuperSU v2.79 SR1 by Chainfire
- cpuidle: don't disable cpuidle when entering suspend
v5.1 - 18/12/2016
- initramfs: sync to v20j ramdisk (H815)
- initramfs: sync to v20q ramdisk (H811)
- initramfs: some tweaks
- add blu_active cpu gov
- add Thunder hotplug
- update SuperSU v2.79 Chainfire release
- update with the last Google patches
- security and stability improvements
- more details in my github
v5.0 - 27/11/2016
- initramfs: sync to v20h ramdisk (H815)
- initramfs: imperium.sh: stop google service and restart it on boot. This remove high cpu load and ram leak!
- block: disable entropy contributions for nonrot devices
- ext4: fix potential use after free in __ext4_journal_stop
- msm_thermal: queue work on system_power_efficient_wq
- ARM: dts: msm: Adjust SPDM params on 8992
- bfq-sched: Forcefully lookup entities when the cache is inconsistent
v4.9 - 22/11/2016
- Updated SuperSU v2.78 SR4
- Updated Busybox (credits to @osm0sis)
- Performance improvements
- Battery improvements
- Security improvements
(more details in my github)
v4.8a - 06/11/2016
- Removed systemless version
- Updated SuperSU v2.78 SR3
- v20p initramfs (H811)
- binder: prevent kptr leak by using %pK format specifier
- KEYS: Fix short sprintf buffer in /proc/keys show function
- proc: much faster /proc/vmstat
- cpufreq: add ironactive cpu gov by CAF
- diag: Fix possible underflow/overflow issues
- msm: thermal: Add range checking for cluster_id
- proc: Remove verifiedbootstate flag from /proc/cmdline
v4.8 - not released
- Stability and security improvements
v4.7 - 19/10/2016
- v20l initramfs
- Updated Busybox v1.25.1 (credits to @osm0sis)
- Security improvements (more details in my github)
- Stability improvement (more details in my github)
v4.6 - 11/10/2016
- v20i initramfs
- Updated Busybox v1.25.0 (credits to @osm0sis)
- add systemless version
- Added Bioshock and Weathley CPU govs
- Updated with the last Google patches
- Stability and security improvements
v4.5 - 19/09/2016
- Compiled with the last UBER aarch64 ToolChains 4.9.4 August 2016
- v20h initramfs
- Updated SuperSU v2.78 SR1
- Removed Deaspair CPU gov (not fully compatible with our device)
- Updated ZEN I/O scheduler v2.0
- Revert "set fifo_bath to 8 for more I/O schedulers" (set to the stock value 16)
- Many other patches for stability, performance and battery improvements
v4.4 - 11/08/2016
- Revert "Merge branch 'android-msm-bullhead-3.10-mdr-1.6-security-next' into Imperium Kernel" (cause Video recording issue)
- v20g initramfs (H815)
- v20o initramfs (H811)
- add Faux sounds v3.6 for wcd9330
v4.3 - 10/08/2016
- net: ipc_router: Bind only a client port as control port (FIX CVE-2016-2059)
- ashmem: Validate ashmem memory with fops pointer (FIX CVE-2016-5340)
v4.2 - 09/08/2016
- Compiled again with the last UBER TC aarch64 4.9 build 01/04/2016
- Patches ported from the last H815 sources v20i
- Revert "ksm: check and skip page, if it is already scanned"
- cfq-iosched: fix the setting of IOPS mode on SSDs
- Bluetooth: btusb: Fix memory leak in Intel setup routine
- Bluetooth: vhci: purge unhandled skbs
- Bluetooth: Validate socket address length in sco_sock_bind().
- Bluetooth: hidp: fix device disconnect on idle timeout
- defconfig: enable SECURITY_PERF_EVENTS_RESTRICT
- Merge security-next into Imperium Kernel for August 2016.1
- msm: kgsl: Defer adding the mem entry to a process
- sched: Fix information leak in sys_sched_getattr()
- net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom
- fix infoleak in rtnetlink
- USB: usbfs: fix potential infoleak in devio
- UPSTREAM: usbnet: cleanup after bind() in probe()
- ANDROID: restrict access to perf events
- BACKPORT: perf tools: Document the perf sysctls
- FROMLIST: security,perf: Allow further restriction of perf_event_open
- UPSTREAM: ALSA: timer: Fix leak in events via snd_timer_user_ccallback
- UPSTREAM: ALSA: timer: Fix race among timer ioctls
- UPSTREAM: ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
- UPSTREAM: ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt
- FROMLIST: ALSA: compress: fix an integer overflow check
v4.1 - 25/07/2016
- msm: mdss: kcal: Add KCAL support for post processing control [v2]
- Add USB fast charge
- Added fsync on/off support.
- Rebase zram and zsmalloc from 3.15
- Many patches for stability and performance improvement
v4.0 - 16/07/2016
- Completly rewrite the kernel by 0
- Removed all previous patches and mods
- Stock Linux 3.10.84
- Based on the last LG G4 h815 v20d source
- Patches ported from the H811 v20o sources
- Updated with the last Google patches
- v20h initramfs
- Added BFQ, FIOPS, SIO, SIOPLUS, TRIPNDROID, VR and ZEN I/O schedulers
- Added Despair, Impulse, ElementalX and Zzmoove CPU GOVS
- Added native xfat support
- Set SELinux to Permissive
- arm64: crypto: reduce priority of core AES cipher
- mmc: disable crc check for 30% extra performance
v3.3 - 30/06/2016
- imperium_defconfig: disable CONFIG_PFT as it is unsupported
- UPSTREAM: USB: usbfs: fix potential infoleak in devio
- UPSTREAM: arm64: jump labels: NOP out NOP -> NOP replacement
- arm64, jump label: detect %c support for ARM64
- drivers: dma-removed: use memset_io for ioremap region
- Revert "cpuidle: Add need_resched() check"
- Added "CACHE" in Makefile
- Removed "State_notifier"
v3.2 - 17/06/2016
- Linux v3.10.102
- msm: pm: use correct cpu_suspend call for Non-PSCI targets
- arm/dts: Fix GPU bwmon on msm8992
- arm64: kernel: refactor the CPU suspend API for retention states
- ARM64: unwind: Fix PC calculation
- arm64: head.S: remove unnecessary function alignment
- Revert "cpuidle: Add nop idle governor."
- debugobjects: use kmemleak_not_leak for debug object memory
- Revert "kthread: Fix the race condition when kthread is parked"
- initramfs: sepolicy: patched again for system root support
v3.1 - 18/05/2016
- Update SuperSU v2.74 beta
- v20H initramfs
- soc: qcom: add bricked_hotplug driver by showp1984
- cpufreq: cpu-boost: don't boost over user set max freq
- cpufreq: impulse: update to latest from @neobuddy89
- cpufreq: add Wheatley, Bioshock an Electroactive CPU govs
- block: add TRIPNDROID, SIO and V(R) I/O Schedulers
- I/O scheduler: reduce fifo_batch to 1 on deadline, SIO, SIOPLUS and V(R)
- USB: fix undeclared hub_release error in x86 build
- sdcardfs: Add support for d_canonicalize
- arm64/crypto: use crypto instructions to generate AES key schedule
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- fs/char_dev.c: remove pointless assignment from __register_chrdev_region()
- msm: vidc: disable CPU L2 cache PC during video sessions
- msm: kgsl: Cast perfcounter query count to an unsigned int
- tty: vt, return error when con_startup fails
- ANDROID: restrict access to perf events
- Fix CONFIG_HZ dependency in wifi driver.
- mmc: clk_scaling: Fix scale_down_in_low_wr_load sysfs return value
- xfs: introduce a generic shutdown ioctl
- cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events
- msm_performance: do not allow userspace to change min/max cpu limits anymore
- msm: mdss: avoid panel status check when panel is off
- suspend abort: log more reasons
- msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs
- Revert "mm: change max readahead size to 512KB"
- msm: camera: ispif: Validate VFE num input during reset
- msm: kgsl: Add missing checks for alloc size and sglen
- msm: camera: Setting max msm_post timeout to 6.5seconds
- Revert "arch: arm64: disable hardware breakpoints"
- USB: cdc-acm: more sanity checking
- vfs: change d_canonical_path to take two paths
- fuse: Add support for d_canonical_path
- msm: kgsl: verify user memory permissions before mapping to GPU driver
- msm: rpm_master_stats: reset master_cnt
- msm: rpm_stats: cleanup stats
- dma-debug: avoid spinlock recursion when disabling dma-debug
- ASoC: msm: disable unwanted module
- ASoC: msm: audio-effects: fix stack overread and heap overwrite
v3.0 - 12/06/2016
- Updated SuperSU v2.72 beta
- Ported Google patches into Imperium Kernel
- UPSTREAM: usb: xhci: Allow usb_add/remove_hcd() to be called repeatedly
- pipe: limit the per-user amount of pages allocated in pipes
- ipv4: Don't do expensive useless work during inetdev destroy.
- netfilter: x_tables: fix unconditional helper
- Input: aiptek - fix crash on detecting device without endpoints
v2.9 - 06/05/2016
- Patches ported from the last v20e H812 sources
- v20g initramfs
- defconfig: set CONFIG_HZ to 300
- net: sched: Do "* 1000 / HZ" for watchdog_timeo
- msm: Convert direct references to HZ
- msm: kgsl: Fix direct references to HZ
- msm: kgsl: Fix overflow in sharedmem read/write functions
- ext4: fix NULL pointer dereference in ext4_mark_inode_dirty()
- uid_cputime: Check for the range while removing range of UIDs.
- lib: align source before using optimized implementation
- msm: msm_bus: Fix memory corruption in alloc_handle_lst
- qos: Disable irq notifier when qos request is removed
- msm: perf: Protect buffer overflow due to malicious user
- block: don't allow nr_pending to go negative
- block: Reserve only one queue tag for sync IO if only 3 tags are available
- tcp_cubic: better follow cubic curve after idle period
- tcp: fix timing issue in CUBIC slope calculation
- tcp_cubic: do not set epoch_start in the future
- ANDROID: arm64: add HWCAP2 flags to compat /proc/cpuinfo
- [PATCH] arm64: topology: fix cpu power calculation
v2.8 - 13/04/2016
- Revert "cpufreq: preserve user_policy across suspend/resume"
- Revert "cpufreq: Clean up after a failing light-weight initialization"
- Revert one commit from Linux v3.10.101 that cause Ext Sd Card issue
- cpufreq: update user_policy.* on success
- smpboot: use kmemleak_not_leak for smpboot_thread_data
v2.7 - 09/04/2016
- Compilded with the last UBERTC 4.9 toolchain build 01/04/2016
- Updated SuperSU v2.71 beta
- Updated Busybox v1.24.2 and changed installation method (thanks to @osm0sis)
- pipe: Fix buffer offset after partially failed read
- cpufreq: preserve user_policy across suspend/resume
- cpufreq: Clean up after a failing light-weight initialization
- cpufreq: use memcpy() to copy policy
- vfs: add d_canonical_path for stacked filesystem support
- inotify: Fix erroneous update of bit count
- mac80211 packet injection patch
- mm/hugetlb: introduce hugetlb_bad_size()
- arm64: mm: use hugetlb_bad_size()
- metag: mm: use hugetlb_bad_size()
- x86: mm: use hugetlb_bad_size()
- tile: mm: use hugetlb_bad_size()
- powerpc: mm: use hugetlb_bad_size()
- Staging: iio: ad7606: Fix sparse endian warning
- Many kbuild changes from Michal Marek
- context_tracing: Fix guest accounting with native vtime
- vtime: Update a few comments4f
- ASoC: msm: qdsp6v2: add support for ALAC/APE/VORBIS
v2.6 -25/03/2016
- compilded with the last UBERTC 4.9 toolchain build 03/03/2016
- FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR.
- FROMLIST: drivers: char: random: add get_random_long()
- BACKPORT: FROMLIST: mm: ASLR: use get_random_long()
- arm64: crypto: reduce priority of core AES cipher
- arm64: crypto: issue aese/aesmc instructions in pairs
- defconfig: enable MMAP_RND_BITS
- defconfig: update mmap_rnd_bits to max value.
- arm64: change memcpy in kernel to use the copy template file
- arm64: copy_to-from-in_user optimization using copy template0
- lib: add CRC64 ECMA module
- msm: thermal: validate userspace args to prevent buffer overflow.
- msm: limits: Fix error handling to free up memory
- msm: kgsl: Fix direct references to HZ
- crypto: crc32 - Add ARM64 CRC32 hw accelerated module
- crypto: arm64/crc32 - bring in line with generic CRC32
- ipc/sem.c: fully initialize sem_array before making it visible
- cpufreq: add DESPAIR CPU GOV
- block: row: magic values
v2.5 -18/03/2016
- Linux v3.10.101
- defconfig: enabled CONSERVATIVE CPU GOV
- IKSWM-5880:sched/rt: really force updates rq clock in pick_next_task_rt
- sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
- sched/rt: Do not try to push tasks if pinned task switches to RT
- sched: Optimize task_sched_runtime()
- sched/fair: Fix reschedule which is generated on throttled cfs_rq
v2.4 -11/03/2016
- Linux v3.10.100
- include/linux/poison.h: fix LIST_POISON{1,2} offset
- ASoC: msm: qdsp6v2: add support for new scm_call2 API
- ANDROID: mmc: move to a SCHED_FIFO thread
- ANDROID: dm-verity: run in a WQ_HIGHPRI workqueue
- ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue
- selinux: do not check open perm on ftruncate call
- cpufreq: interactive: Use target_freq for load calculation
- cpufreq: interactive: Fix load in cpufreq_interactive_cpuload event
- cpufreq: interactive: add screen off max freq
- cpufreq: interactive: prevents the frequency to directly raise above the
- cpufreq_interactive: fix merge error
- FROMLIST: cpufreq: introduce cpufreq_driver_is_slow
v2.3 -05/03/2016
- Linux v3.10.99
- msm: ipa: fix the mux_channel buffer overflow
- CHROMIMU: arm64: psci: lower the cpu_kill notification when racing with cpu_die
- msm: sps: fix a bug for pipe disable
v2.2 -02/03/2016
- Fix freeze and random reboots
- Updated SuperSU v2.68 beta
- Other patches for stability improvements (more details in my github)
v2.1 -28/02/2016
- Linux 3.10.98
- msm: kgsl: Fix race condition in adreno_spin_idle()
- klist: fix starting point removed bug in klist iterators
- klist: implement klist_prev()
- klist: use same naming scheme as hlist for klist_add_after()
- soc: qcom: ssr: Check the subsystem state before initiating SSR
- Revert "binfmt_elf.c: use get_random_int() to fix entropy depleting"
- Stop LG logging to /data/logger/$FILE we dont need that. Draning power fix
v2.0 -20/02/2016
- Linux 3.10.97
- tcp_output: set initial TCP window size to 64K (speed improvement)
- char: diag_acg.c: add compatibility patch for H811 variant
- EVM: Use crypto_memneq() for digest comparisons
- mmc: clk_scaling: set scale_down_in_low_wr_load to 1 by default
- binfmt_elf.c: use get_random_int() to fix entropy depleting
- ext4: Speedup WB_SYNC_ALL pass called from sync(2)
- compiler-gcc: integrate the various compiler-gcc[345].h files
- recordmcount: Fix endianness handling bug for nop_mcount
- arm64: restore bogomips information in /proc/cpuinfo
- H815: sync to v20i initramfs
- ASoC: wcd9330: Disable compander in HPH when EAR is enabled
- Added Faux sounds v3.6
- cpufreq: cpu-boost: auto-disable sched boost if HMP is not enabled
- Revert "msm8992.dtsi dts: mmc: remove wakeup on idle flag can improve the mmc"
- Revert "msm8994.dtsi dts: mmc: remove wakeup on idle flag can improve the mmc"
- Revert "cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events"
- Revert "workqueue: make sure delayed work run in local cpu"
- Revert "vfs: Adaptive vfs_cache_pressure"
- performnce improvement
v1.9 -14/02/2016
- patches ported from H811 v20i sources
- added the specific version for the H811 variant
- Revert "msm: mdss: Configure VIG pipes based on fixed mmbs"
- Revert "ksm: check and skip page, if it is already scanned"
- imperium_defconfig: disable KSM
- arm64: eliminate the .eh_frame sections from vmlinux and kernel modules
- block: Fix format string mismatch in cfq-iosched.c
- sched: fair: reduce preemption latency
- msm: mdss: release the mutex on rotator kickoff failure
v1.8 -10/02/2016
- ARM: 7884/1: mm: Fix ECC mem policy printk
- ksm: check and skip page, if it is already scanned
- cpufreq: qcom-cpufreq: Check return of cpufreq_frequency_get_table
- drivers: misc: qseecom: Fix app name size
- arm64: replace read_lock to rcu lock in call_break_hook
- ARM: 8167/1: extend the reserved memory for initrd to be page aligned
- block: fix blk_stack_limits() regression due to lcm() change
- genalloc: fix device node resource counter
- cpufrq: updated zzmoove cpu gov
- cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events [ZaneZam]
- cpufreq_elementalx: lower sampling_down_factor for big cluster. Also increase sampling rate to 20000
v1.7 -06/02/2016
- Update ramdisk to v20e
- Linux 3.10.96
- af_unix: fix merge error from Linux 3.10.95
- Many fix merge errors from v20d source
- UPSTREAM: memcg: Only free spare array when readers are done
- sched: Add stub function for sched_get_cpus_busy()
- UPSTREAM: seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO
v1.6 -30/01/2016
- cpufreq: Introduce new relation for freq selection
- Added Zzmoove and Impulse cpu gov
- block: updated FIOPS I/O scheduler
- Revert "lowmemorykiller: Do proper NULL checks"
- Revert "lowmemorykiller: Don't count swap cache pages twice"
- Revert "Added fsync on/off support."
- msm: mdss: Adding lcd notifier
- fs/dyn_sync_cntrl: dynamic sync control 2.0 for msm8994 [credits to @andiP]
- defconfig: disabled SWAP, ZRAM and SYSVIPC
- ramfs: sync to v20d initramfs
- ramfs: set swappiness value to 0
- ramfs: misc changes
- many pathces for performance, stability and battery improvement (more details in my github)
v1.5 -23/01/2016
- Sync with the last v20d LGE sources
- Patches form Linux 3.10.95
- many pathces for performance, stability and battery improvement (more details in my github)
- Reduced lags
- Updated SuperSU v2.67
- Removed Powersuspend drivers and adreno idler
v1.4 -16/01/2016
- many pathces for performance improvement
- removed quickwakeup driver
- Added fsync on/off support
v1.3 -11/01/2016
- Compiled with the stock google toolchains v4.9 (I think it's better)
- Removed Sound controll
- tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c
- PM: devfreq: Fix simple_ondemand crashing on startup
- devfreq: gpu: added simple time_in_state stats
- msm: kgsl: Program Secure Block Configuration through CP
- msm_mdss_io_8974.c: Enable DSI clamps only if entering idle power collapse or when ULPS during suspend is enabled.
- msm: kgsl: do not vmap/memset to zero-out pages
- lowmemorykiller: Don't count swap cache pages twice
- IKSWM-6057: dts: mmc: remove wakeup on idle flag
- ARM: alignment: correctly decode instructions in BE8 mode.
- arm: atomic.h: defined relaxed atomic_read
- ARM: rwsem: use asm-generic rwsem implementation
- ARM: optimize memset_io()/memcpy_fromio()/memcpy_toio()
- arm64: lib: use pair accessors for copy_*_user routines
- arm64: Fix the ARM userspace build
- arm64: asm: relaxed.h: defined relaxed.h
- arm64: processor.h: remove redundant macros
- arm64: add seccomp support
- arm64: add seccomp syscall for compat task
- mm: vmpressure: allow in-kernel clients to subscribe for events
- lowmemorykiller: Do proper NULL checks
- writeback: Fix occasional slow sync(1)
- add zen and sioplus I/O scheduler
- KEYS: Fix race between key destruction and finding a keyring by name
v1.2 -06/01/2016
- ramfs: sbin: fix permissions
- ramfs: Turn off debugging for certain modules
- net: bcmdhd: reduce wakelocks
- staging: android: add android alarm driver for to fix time issue to the boot (thanks to @wedgess)
- fs: Workaround the compiler's bad optimization
- sched, smp: Correctly deal with nested sleeps
- cputime: Fix jiffies based cputime assumption on steal accounting
- Updated SuperSU v2.66
- block: zram: updated zcomp.c and zram_drv.c to the last Linux version
- Added cafactive cpu gov
- Slub: Make cpu partial slab support configurable CPU partial support [thanks to @dwander]
- little tweak entropy level
- Rebase zram and zsmalloc from 3.15.
- mm: /proc/pid/smaps: show proportional swap share of the mapping
- mm: slub: Default slub_max_order to 0
v1.1 -01/01/2016
- Fixed "Corrupted ScanDisk SD card" issue for some external SdCard
- Added native LG EXFAT support
v1.0 -31/12/2015
- Initial release
Good job my friend here we are [emoji16]
Inviato dal mio LG-H815 utilizzando Tapatalk
Congratulation big Slim80!
Inviato dal mio SM-G928F utilizzando Tapatalk
Wellcome bro. Thankssss
Inviato dal mio LG-H815 utilizzando Tapatalk
Great Slim80 ?
Inviato dal mio XT1572 utilizzando Tapatalk
Tested it out.
One thing I've noticed is that big cpu it's blocked at 960MHz at minimal frequency.
Can't change it with kernel Adiutor
patalao said:
Tested it out.
One thing I've noticed is that big cpu it's blocked at 960MHz at minimal frequency.
Can't change it with kernel Adiutor
Click to expand...
Click to collapse
Not problem here.
Inviato dal mio LG-H815 utilizzando Tapatalk
This is for stock MM right?
Strange.
Will test it out again tomorrow because of new year
DaarkieDoo said:
This is for stock MM right?
Click to expand...
Click to collapse
Stock FW or custom ROM based on LG firmware. No Cyano and/or AOSP.
Inviato dal mio LG-H815 utilizzando Tapatalk
Excellent!
However - first boot gives...
..and it was fine just before installation, reflashed stock kernel and still reporting corrupt
EDIT: Restored a TWRP backup with stock kernel & SU, sees my card again. Very odd. Wish I had logcat but I was panicking!
Read the OP man.
Inviato dal mio LG-H815 utilizzando Tapatalk
slim80 said:
Read the OP man.
Inviato dal mio LG-H815 utilizzando Tapatalk
Click to expand...
Click to collapse
Post #2 actually
Sorry, didn't get that far
Need unlock bootloader??
sminki said:
Post #2 actually
Sorry, didn't get that far
Click to expand...
Click to collapse
No problem.
I'm working to fit it. I have this issue with my new SdCard SHXC 64Gb. With the older Samsung SdCard 32Gb works fine.
@Mir hosiEn said:
Need unlock bootloader??
Click to expand...
Click to collapse
Yes. Needs the unlock bootloader and a custom recovery.
I'll add the istrucition in OP tomorrow.
Inviato dal mio LG-H815 utilizzando Tapatalk
Imperium Kernel G4 v1.1 online.
Thanks! And happy new year
Sent from my LG-H815 using Tapatalk
Yesssssss.... A kernel (not being cile) with exfat support for 64 gb... Very smooth and nice. Especially the elementalx gov with westwood tcp cong. Thanks a lot....
slim80 said:
Imperium Kernel G4 v1.1 online.
Click to expand...
Click to collapse
Well done sir! I'm happy now :victory:
This is SomeFeaK kernel, based on Squid2's kernel for device codename "harpia".
This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.
The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).
Disclamier:
Code:
[COLOR="red"]* Include <std_disclaimer.h>
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*[/COLOR]
Features:
From squid2's r19 build:
Moderately undervolted
Updated to Linux 3.10.104
Synced with latest CodeAurora changes
Improved memory management
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 6.2 and optimized for Cortex A53
Stripped down and optimized configuration
Added by me:
Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
Double tap to wake (DT2W).
Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
Automatic thermal throttling and CPU cooling driver added and enabled.
Enabled CPU current throttling driver.
Use the hidden LED as a notification light.
Enabled forced consistency checks for F2FS (/data).
Multi-Cluster Power Management (less CPU battery drain).
KSM (Kernel Samepage Merging).
Advanced Power Management (emulated).
SMT (Simultaneous Multi-Threading).
Fixed temperature handling.
Dev info:
In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".
To turn on the LED set trigger to default-on:
Code:
su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
To turn off the LED set trigger to none:
Code:
su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.
Switch trigger to timer:
Code:
su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
Now, set time on during 0,5 seconds (500 milliseconds):
Code:
su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"
Now, set time off during 1 second (1000 milliseconds):
Code:
su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"
For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
Click to expand...
Click to collapse
Release history:
Code:
4.80 (stable): June 23, 2017:
Kernel changes:
- sensors/accelerometer: fix bugs and driver random crashes.
- sound/ALSA: fix crashes and crackling, get rid of inifinte loops.
- video/kgsl: general performance and stability improvements.
- power/wake: added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep, better performance and responsiveness after suspend.
- usb: less console spamming.
- networking: speed improvements.
- input/touchscreen: add generic touchboost driver.
- cpufreq/general: prevent random scaling failiures.
Other changes:
- flashing: added Aroma Installer, pick if you want to flash bootlogo or not thanks to Aroma Installer.
- bootlogo: added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
4.70-1 (stable): June 22, 2017:
Kernel changes:
- input/touchscreen: update driver.
- cpu/hotplug: disable thunderplug by default, enable ASMP by default.
Other changes: none.
4.70 (stable): June 21, 2017:
Kernel changes:
- config: solve kernel panics ;), re-enable mistakenly disabled zRAM support, fix KSM driver.
- cpu/hotplug: remove old thunderplug hotplugging driver, add new quad-core specific driver.
- gpu/clock: overclock a bit more (550 MHz max.).
- thermal: support for manually setting temp. limits on runtime.
- cpufreq: added barry allen, added intel, added conservative, blu active, interactive pro.
- fs/sync: added support for dyanmic fsync.
- prima: update driver.
- wlan: performance and stability improvements, no crashes at all.
Other changes: none.
4.53 (stable): June 16, 2017:
Kernel changes:
- fs: fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
- cpu/hotplug: removed broken lazyplug hotplug driver, better handling for hardware hotplugging.
- cpufreq: added intellidemand, smartmax, wheatley, smartmax_eps, pegasusq, authority.
- input/touchscreen: updated DT2W driver, still not stable, more responsive and stable touchscreen.
- sched: fixed zen, fixed and added sio.
Other changes: first build for osprey coming soon.
4.30 (stable): June 14, 2017:
Kernel changes:
- hotplug: added lazyplug (broken, don't use).
- input/touchscreen: fixing DT2W.
- sched: added sio.
Other changes: none.
4.25 (stable): June 13, 2017:
Kernel changes:
- ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
- swap: updated code, got better management by adding some compression drivers.
- input/soc: added powersuspend driver, this will help DT2W work better.
- random: added frandom support, decrease CPU load for entropy generation.
- mem: enabled memory changes tracking.
- sched: added tripndroid, vr, zen.
- usb: enabled fast charge by default.
Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
4.18 (stable): June 12, 2017
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
4.00 (stable): June 9, 2017
- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
- gpu: overcloked, max freq. 650 MHz.
- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
3.90 (stable): June 8, 2017
- usb: use your device as an USB gadget, including keyboard and mouse.
- general: updated defconfig for harpia at source to match new features.
3.81 (stable): June 7, 2017
- wlan: updated drivers, solved remaining crashes and battery drain.
- prima: updated drivers.
- usb: added support for xpad joysticks (XBOX).
- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
- general: performance improvements for touchscreen, GPU and variables definition.
3.61 (stable): June 4, 2017
- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
3.60 (stable): June 4, 2017
- In the stock ROM, the audio won't skip anymore (tested).
- The wlan driver shouldn't crash again (updated with Heliox sources).
- Re-added missing Adreno Idler driver.
3.52 (stable): June 1, 2017
- Hotfix: DT2W won't freeze the screen anymore.
3.51 (stable): May 31, 2017
- Hotfix: re-added missing hotplug driver (thunderplug).
3.5 (stable): May 31, 2017
- Reverted patches for sdcardfs (they broke the media scanner).
- USB fast charge.
- FauxSound gain control.
3.11 (stable): May 29, 2017
- Patches for sdcardfs.
- Patches for wlan.
- Patches for less power consumption.
- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
3.0 (stable): May 29, 2017
- Added governors: impulse and elementalX.
- DT2W (Double tap to wake).
- Adreno Idler (reduce GPU frequency and resources if inactive).
- Added hotplug drivers: allucard and thunderplug CPU.
2.1 (stable): Februrary 8, 2017
- Rolled back to default SELinux setup.
- Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
- Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
- Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
2.0 (stable): February 5, 2017
- Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
1.3 (stable): January 31, 2017
- Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
- Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
1.2 (beta): January 29, 2017
- Fixed SELinux: permissive mode works again.
- Decreased SELinux activity (even more).
1.1 (beta): January 29, 2017
- Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
- Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
1.0 (beta): January 27, 2017
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
0.3 (experimental): January 26, 2017
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
- Disabled swap pages caching (frontswap).
0.2 (experimental): January 25, 2017
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
0.1 (experimental): January 24, 2017
- Initial release.
Downloads:
Click here or go to Downloads tab at the top of the thread.
NEW! Now, if something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.
Code:
[B]Experimental builds: [/B][URL]https://www.androidfilehost.com/?w=files&flid=149407[/URL]
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
SELinux avc is not working as expected, coming from squid2 sources.* Fixed
Screen might flicker sometimes in harpia LATAM variant, this is also a SELinux related problem.* Fixed
Advanced Power Management might let the device reach higher temperatures sometimes, it isn't on me and must be fixed in mainstream.
Bugs marked with a "*" will be fixed in the next release.
Testing: (by users and me)
Lineage OS (latest build): No bugs found.
crDroid: working flawlessly, little lags due to UI bugs.
OCT-OS: No bugs found.
AOSPExtended: No bugs found.
Mokee OS: long boot times, no lags so far. UI might feel unresponsive sometimes if too many tasks at same time (wrongly set build.prop?). Screen flickers sometimes
Resurrection Remix (by @jasonmerc): No bugs found.
XDA:DevDB Information
SomeFeaK Kernel for Moto G4 Play, Kernel for the Moto G4 Play
Contributors
facuarmo, chijure, Dark98, squid2, TeamMex
Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916
Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.
Version Information
Status: Stable
Created 2017-01-25
Last Updated 2017-12-10
SomeFeaK loves Mokee:
Mokee ROM is compatible with the SELinux patching done by Magisk while keeping Pemissive mode enabled at the core of Android, this means that you can use SomeFeaK's USB keyboard and mouse emulator features without even touching a single thing! Just open USB Keyboard app and you're good to go!
Thanks to their awesome devs! :fingers-crossed:
Reserved , will be testing once i got my phone
Harry_00s.HS said:
Reserved , will be testing once i got my phone
Click to expand...
Click to collapse
Thanks for testing . BTW, phone's booting.
Psst! Adding some governors in the next version .
Remember that, for safety reasons, you might want to load to RAM the kernel first and check if it boots, just not to have to re-flash your device if something goes wrong.
You can do this by unpacking the flashable zip to you computer and fastbooting the zImage.
Code:
fastboot boot zImage
Ok , so i have to flash the img via fastboot ?
Harry_00s.HS said:
Ok , so i have to flash the img via fastboot ?
Click to expand...
Click to collapse
If you download the zip file, you can put it in your internal or external memory and flash over recovery.
If you just want to try the kernel and not flash, follow the fastboot procedure I explained above :fingers-crossed:.
For everyone reading this thread: next release expected to be done tomorrow and fix for screen flickering :fingers-crossed:.
You can flash in RR ?????
Se puede flashear en RR???
nick more said:
You can flash in RR ?????
Se puede flashear en RR???
Click to expand...
Click to collapse
For sure you can flash in RR! It should work in any ROM .
Psst! Doing a backup of your boot partition in recovery is always a good practice, just in case .
//////////////////////
¡Claro que puedes flashear en RR! Debería funcionar en cualquier ROM .
¡Psst! Hacer una copia de seguridad de tu partición "boot" en recovery siempre es una buena práctica, sólo por si acaso .
facuarmo said:
For sure you can flash in RR! It should work in any ROM .
Psst! Doing a backup of your boot partition in recovery is always a good practice, just in case .
//////////////////////
¡Claro que puedes flashear en RR! Debería funcionar en cualquier ROM .
¡Psst! Hacer una copia de seguridad de tu partición "boot" en recovery siempre es una buena práctica, sólo por si acaso .
Click to expand...
Click to collapse
Thx
Gracias
nick more said:
Thx
Gracias
Click to expand...
Click to collapse
You're welcome! I hope you enjoy this kernel .
/////
¡De nada! Espero que disfrutes este kernel .
0.2 (experimental): January 25, 2017
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
BROKEN BROKEN BROKEN BROKEN BROKEN BROKEN
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
Changelog
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
WARNING! This release is broken: Wi-Fi card isn't working.
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
BROKEN BROKEN BROKEN BROKEN BROKEN BROKEN
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
0.3 (experimental): January 26, 2017
Changelog
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on. Check for more info at the first post.
- Disabled swap pages caching (frontswap).
1.0 (beta): January 27, 2017
Changelog
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like Dolby Atmos)
@facuarmo can you give more info on the SMT feature? Isn't that usually a hardware feature of a CPU? I was going to just check the code out, but I'm not very good with github and couldn't find the commit for this feature.
spiked_mistborn said:
@facuarmo can you give more info on the SMT feature? Isn't that usually a hardware feature of a CPU? I was going to just check the code out, but I'm not very good with github and couldn't find the commit for this feature.
Click to expand...
Click to collapse
Yes, SMT is a hardware feature, supported by the smartphone's hardware. It comes as a feature like the Per-cluster power management.
You can check more here: https://en.m.wikipedia.org/wiki/Simultaneous_multithreading
facuarmo said:
Yes, SMT is a hardware feature, supported by the smartphone's hardware. It comes as a feature like the Per-cluster power management.
You can check more here: https://en.m.wikipedia.org/wiki/Simultaneous_multithreading
Click to expand...
Click to collapse
I'm familiar with what smt is, just curious about your particular implementation.
The arm a53 core is a very basic in-order design and I've never heard anything about it supporting multiple threads per core, I.e. presenting more virtual cores to the operating system than there are physical cores (like 4 core/8 thread in Intel). Features like that require hardware for state storage, register remapping, large caches etc. that use a lot of power. I can't picture any of that in the tiny a53 that was designed for low power and efficiency above all else.
spiked_mistborn said:
I'm familiar with what smt is, just curious about your particular implementation.
The arm a53 core is a very basic in-order design and I've never heard anything about it supporting multiple threads per core, I.e. presenting more virtual cores to the operating system than there are physical cores (like 4 core/8 thread in Intel). Features like that require hardware for state storage, register remapping, large caches etc. that use a lot of power. I can't picture any of that in the tiny a53 that was designed for low power and efficiency above all else.
Click to expand...
Click to collapse
Sincerely, I haven't debugged the whole kernel yet. But SMT has been compiled and is up and running, I don't know how, I mean, I know it's working and enabled but I don't know if it has some kind of effect in the system.
Special post!
Now every commit is automatically built by Travis CI testserver. Once compiled the latest build is uploaded to a server. That server will hold all the experimental builds until the final version is released.
Check it here:
https://www.androidfilehost.com/?w=files&flid=149407
Please note that this server might be unstable as it's running in a free hosting service, please don't be evil and don't overload it.
Switched to AFH.
So seeing as how this is based on squid2 kernel, I'm wondering what advantages this would have over his kernel?