[Kernel][5.1.1][P600] Xluco Kernel - Z1 [17/11]

Search This thread

xluco

Senior Member
Nov 5, 2013
319
557
Manchester
It seems 0.2 is pretty unstable. Probably best to go back down to 0.1 for the time being.
Is anyone else getting logs full of "unregisterIRListener() is called"?
 

golfinggino

Senior Member
Nov 23, 2011
1,389
143
burlington, on
Does this kernel work with the hashcheck 4.4.2 ROM ?

Edit flashed the v2 version and seems to be running great with hashcheck ROM - but the overclock doesn't seem to be working - testing out a 60 MV undervolt now - thanks for the great kernel !!!

Sent from my Xperia Z Ultra using XDA Premium HD app
 
Last edited:

Munk0

Senior Member
Jun 24, 2010
176
61
Sacramento
Thank you again for the kernel and sharing. I have found that 2.1 is unstable even with increasing the voltage. The 2 GHz mark needed a slight boost in voltage and it works just fine now. I use trickster mod which is a free download by the way.
 

xluco

Senior Member
Nov 5, 2013
319
557
Manchester
. I have found that 2.1 is unstable even with increasing the voltage. The 2 GHz mark needed a slight boost in voltage and it works just fine now. I use trickster mod which is a free download by the way.

The maximum voltage is 1387 so setting anything over that won't do anything ill up the limits for the next version but l'm not sure how high to push it
 

golfinggino

Senior Member
Nov 23, 2011
1,389
143
burlington, on
Just flashed v0.3 and it is great makes this tablet much quicker then stock seems to be as fast as my 8.4 pro with the snapdragon 800 now thank you !!!

Sent from my SM-P600 using XDA Premium HD app
 

xluco

Senior Member
Nov 5, 2013
319
557
Manchester
V0.3 Changelog

Code:
pick b856d14 2.0ghz OC
pick cdf5be3 Optimized ARM RWSEM algorithm
pick b6b8420 lib: Update RWSEM to Linux 3.10
pick f0f5d54 sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire
pick aedd501 binfmt_elf.c: use get_random_int() to fix entropy depleting
pick 322d31c lib: introduce some memory copy macros and functions
pick 117d473 lib: improve the performance of memcpy and memmove of the general version
pick b5a6f8a jiffies conversions: Use compile time constants when possible
pick 496ea2f softirq: reduce latencies
pick e4a30a8 Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
pick 9734336 sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
pick d97e43b readahead: make context readahead more conservative
pick f418a0e sched: Fix clear NOHZ_BALANCE_KICK
pick 4e75cc1 PM: Introduce suspend state PM_SUSPEND_FREEZE
pick 30281de writeback: fix race that cause writeback hung
pick e87260e sched: Fix select_idle_sibling() bouncing cow syndrome
pick b0e7e2b sched: Implement smarter wake-affine logic
pick 7477180 sched: Micro-optimize the smart wake-affine logic
pick aa6e515 Added fsync on/off support.
pick d93f8f8 enable fsync by default
pick 3110708 fs: sync: add missing return if fsync is disabled from userspace.
pick a653644 fs/sync: Make sync() satisfy many requests with one invocation
pick 7ae8cbc kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend (faux123)
pick 273ad6c kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.1 (Yank555.lu)
pick 9ebbd96 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.2 (Yank555.lu)
pick 8836e69 cfg80211: Fix memory leak
pick cbbda18 sync: don't block the flusher thread waiting on IO
pick aed887b BCMDHD: WIFI PM support for KitKat driver
pick e13630d BCMDHD: PNO Event reduce wake lock from 10sec to 3sec
pick 397974e fixed wifi_pm define mistake
pick ab94b6f bcmdhd: decrease rx wakelock time from 500ms to 250ms
pick 8c6fa0a smp: patches from mainline 3.5 to hopefully help with hotplug
pick 2ba642f kthread: Implement park/unpark facility
pick 680427b sched: cpu_power: enable ARCH_POWER
pick a73c014 ARM: 7461/1: topology: Add arch_scale_freq_power function
pick 784c726 ARM: 7462/1: topology: factorize the update of sibling masks
pick 9090728 ARM: 7463/1: topology: Update cpu_power according to DT information
pick 61a2825 RANDOM: Set pool size to 8192 and tune read/write value.
pick c662137 workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
pick 688bb97 workqueue: Add system wide power_efficient workqueues
pick 928e243 PHYLIB: queue work on system_power_efficient_wq
pick 8a973df ASoC: pcm: Use the power efficient workqueue for delayed powerdown
pick a80dfbc ASoC: jack: Use power efficient workqueue
pick c4e58bf regulator: core: Use the power efficient workqueue for delayed powerdown
pick 81317d6 lib/int_sqrt.c: optimize square root algorithm
 
  • Like
Reactions: Koserman and LMMT
v0.3 in the OP

Long changelog so ill post it in the morning. Lots of fixes and power efficiency tweaks :)

I just want to report that 0.3 is stable and fast for me. The only thing that is bothering me, is the lag I am having with nova launcher the first time that i swipe through home screens. I had this with the previous versions too but not with stock kernel. Also if I swipe using the stylus there is no lag at all. Is it maybe because of the digitizer thing that you disabled? Can you make a test version without that commit?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    Code:
    /*
     * Flashing unofficial mods will void your warranty.
     * You flash this kernel at your own risk.
     * I will not accept responsibility for any adverse effects to your device,
     * including, but not limited to: bricking, damaged SD card, bootloops, loss of data, etc.
     */

    Hi guys,
    I compiled a kernel from the SM-P600 Lollipop sources for my personal use and thought I'd share, since there doesn't seem to be much kernel dev going on here. I want to make it clear that I'm not a programmer or developer, I just like to tinker.

    Download
    Z1: Download Here - [17/11/15]
    Z1-VT: Download Here - [17/11/15] (Z1 w/ Virtual Terminal enabled - long boot time!)

    Main Features for Z1
    Code:
    [*]ARM-EABI-5.2.1
    [B]New Functionality[/B]
    [LIST]
    [*]F2FS Support
    [*]Voltage control
    [*]Wolfson WM5102 sound control by AndreiLux
    [*]init.d support
    [*]KSM
    [*]Kernel in Neon Mode
    [*]Power Efficient Workqueues
    [*]HTCP, Westwood+, YeAH & Vegas Congestion Controls
    [/LIST]
    [B]Performance & Efficiency[/B]
    [LIST]
    [*]VFP - NEON-VFPv4 Optimisations
    [*]Increased Readahead (512)
    [*]Cortex-A15 optimizations for memcpy
    [*]VM Optimisations for better battery life
    [*]Lots of unnecessary debugging disabled to improve memory efficiency
    [*]ARM Topology Updates
    [*]ARCH_POWER Enabled
    [*]Enabled ARM errata 766421 and 798181
    [*]Multi-core scheduler enabled w/ aggressive power saving enabled
    [*]zsmalloc: updated to 3.10 version
    [*]rwsem: updated to 3.10 version
    [*]Workqueue & Timer backports
    [*]Random 3.16+ backport
    [*]hrtick enabled
    [/LIST]
    [B]Filesystem[/B]
    [LIST]
    [*]Deadline Performance Tuning
    [*]BFQ, Zen, SIO, FIOPS, V(R) and FIFO iosched
    [*]NTFS Read / Write
    [*]CIFS Support
    [*]FSYNC Enabled
    [*]AIO enabled
    [/LIST]
    [B]Security[/B]
    [LIST]
    [*]SECCOMP patched and enabled
    [*]dev/mem restrictions, dmesg restrictions, protected last_kmsg support
    [*]-fstack-protector-strong enabled
    [*]SELinux Permissive
    [*]ARM / NEON Optimised Encryption Libraries
    [*]Network stack hardening
    [/LIST]
    [B]Misc.[/B]
    [LIST]
    [*]XBox, PS3 and Wii controller support
    [*]/proc/.config.gz support
    [*]Android logger control
    [*]SAMSUNG_PRODUCT_SHIP enabled [reduces unnecessary logging]
    [/LIST]

    For Troubleshooting, Sources and more see posts #2 & #3

    Thanks
    A big thanks to Andmoreagain, halaszk88, franciscofranco, labodj, faux123, neobuddy89, myfluxi, and everyone else from whom I cherry-pick liberally :)

    Enjoy :D

    XDA:DevDB Information
    Xluco Kernel, Kernel for the Samsung Galaxy Note 10.1 (2014 Edition)

    Contributors
    xluco
    Source Code: https://github.com/phugh/LP_SM_P600_KERNEL

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: Z1
    Stable Release Date: 2015-11-17

    Created 2014-04-20
    Last Updated 2015-12-24
    14
    Misc.

    Changelogs and Sources:
    Be sure to check all three for a complete changelog, lots of changes happening constantly in all three areas!
    Kernel
    Ramdisk
    Build Process

    Previous Version Downloads
    http://d-h.st/users/xluco
    11
    V3-B1

    SM-P600 - Download Here

    SM-P601 - Download Here

    Added tonnes of build optimisations (in a much more sensible and stable way than V2), a couple of big filesystem improvements (EXT4 should be much faster now and supports FIDTRIM), I was feeling generous so I added the conservative governor, SIO, ZEN, BFQ and FIOPS schedulers. Disabled verbose debugging saving 70k from the kernel size.

    I also gave the OP a quick refresh, the feature list now reflects accurately V3-B1 and onwards, stock kernel has been added to the second post if anyone wants to revert at any point :)

    ---------
    Hi xluco!
    I have only the chinese keyboard, that you can clip over the screen, so that it looks like a notebook. (Backside is in black plastic leather, this also existed for the old Note10.1 and also for Nexus 7)
    I can pair it over bluetooth, but when I try to write anything it is not recognized. With stock kernel it runs well also without External-Keyboard-Helper. I have tried to fix it with External-Keyboard-Helper but no luck!

    I've added a few patches to V3-B1 from @UpInTheAir's kernel to do with how HID handles keyboards and mice, let me know if that improves anything :)
    10
    Hi xluco, wish you a merry Christmas!
    Just one question...could you add zzmoove governor? Maybe as a beta test kernel?

    Thank you

    I've had problems trying to update standard governors like interactive and ondemand though because they are heavily modified (for the big.LITTLE architecture, I'm presuming), but I'll certainly take a look :)

    Edit: just a quick note to say I'm starting on V4 today :D Using the slightly updated kernel sources (P600ZCUCNE3, as opposed to P600XXUCND3 which the previous versions are based on). I'm going to investigate a simple solution for tweaking the kernel, maybe look into writing a simple app or something
    8
    V3-B2
    Added to the OP :)

    SM-P600 - Downloads
    V3-B2: Download Here - [08/10/14]

    SMP-601 - Downloads
    V3-B2: Download Here - [08/10/14]

    Lots of SLUB improvements, NVIDIA's power efficiency patches and fixes to unaligned access.

    I haven't looked at the smartscroll thing or keyboard thing yet so they're still in the same state they were in the last build.

    EDIT:
    Also a note that turning cores off doesn't save battery, turning cores off and on under load uses more battery than just having them on, you can tweak the governor settings though to keep them at a lower speed more of the time, that would save you more battery than turning individual cores off. It's also a bit more confusing because of the big.LITTLE architecture I think.

    I did look into the 'true octa-core' patch thing that was posted in the general section, but the three patches refer to files that don't exist in this kernel, so thats a no go also.