[OOS & LOS or AOSP]Lightning Kernel [UBER GCC 4.9] V16(DISCONTINUED)

which version is best for performance and battery life

  • 100hz

    Votes: 26 18.3%
  • 300hz

    Votes: 46 32.4%
  • 1000hz

    Votes: 70 49.3%

  • Total voters
    142
Search This thread

nikhil18

Senior Member
May 9, 2012
2,277
4,794
bangalore
Lightning Kernel

Code:
/* *** Disclaimer
* 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 KERNEL
* 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.
*/

onlinelogomaker_112415_2400.jpg

thanks @Jole7


FEATURES
#ADDED GOVERNORS
-BLU_ACTIVE
-INTERACTIVE(TWEAKED)
-CULTIVATION
-IMPULSE
-ALUCARD
-DARKNESS
-NIGHTMARE

#I/O SCHEDULERS
-MAPLE

#OTHER FEATURES
-KCAL
-EHANCED INPUT BOOST
-SOUND CONTROL
-NOTIFICATION LED CONTROL
-SPECTRUM PROFILE APP SUPPORT FOR INSANE BATTERY LIFE AND GAMING PERFORMANCE
-SWEEP TO SLEEP @FLAR2
-SWITCH TO DISABLE HAPTIC FEEDBACK FOR GESTURES
-FSYNC ON AND OFF SUPPORT
-LATEST STABLE F2FS SUPPORT FOR OOS
-DISABLED ADAPTIVE LMK BY DEFAULT CAUSE WE HAVE LOT OF RAM
-QCACLD 3.0 WLAN DRIVERS FOR BETTER WIFI PERFORMANCE
-KERNEL OPERATES IN 300HZ FOR BETTER PERFORMANCE
-KERNEL INCLUDES ADVANCED CRYPTO DRIVERS
-KERNEL INCLUDES MANY PATCHES TO GPU AND SCREEN DRIVERS
-KERNEL INCLUDES USAGE OF POWER EFFICIENT WORKQUEUE IN MANY DRIVERS @franciscofranco
-OC UP TO 2.6GHZ AND UNDERCLOCK UPTO 69MHZ
-ANY FEATURE YOU NEED IMPLEMENTED JUST ASK FREELY



telegram group

#HOW TO FLASH
-IF ON STOCK KERNEL
THEN JUST REBOOT TO RECOVERY AND FLASH
-IF ON ANY OTHER CUSTOM KERNEL THEN DIRTY FLASH THE ROM OR RESTORE YOUR BOOT PARTITION IN RECOVERY
THEN FLASH THE KERNEL


profiles


credits
Thanks a lot to These developers, filled with great humanity and courage:
@ak @INT3NSE07 @RobbieL811 @dorimanx @xboxfanj @apb_axel @myfluxi @Imoseyon @savoca @Sultanxda @TheCrazyLex @AndreiLux @flar2 @Cl3Kener @RenderBroken @osm0sis @Xileforce @adinkwok @Lord Boeffla @frap129 @ab123321 @franciscofranco @chenxingyu


XDA:DevDB Information
Lightning kernel, Kernel for the OnePlus 5

Contributors
nikhil18
Source Code: https://github.com/nikhil18/Lightning_kernel_oneplus5

Kernel Special Features:

Version Information
Status: Testing

Created 2017-07-07
Last Updated 2018-01-11
 
Last edited:

nikhil18

Senior Member
May 9, 2012
2,277
4,794
bangalore
CHANGELOG

Code:
[SIZE="2"][B]#VERSION (1)[/B][/SIZE]
[B]initial release[/B]

[SIZE="2"][B]#VERSION (2)[/B][/SIZE]
commit (cherry-pick): drivers: fingerprint: boost cpufreq on unlock
cherry-pick: Use CCACHE for faster rebuilds
cherry-pick: msm: Use interruptible wait to not affect load average
commit (cherry-pick): Add SIO and FIOPS i/o schedulers
cherry-pick: FIOPS: update for linux 3.18
cherry-pick: SIO: update for linux 3.18
commit: defconfig enable sio and fiops io
reset: moving to 6c8fe71bae0564834d283f5f640dfa60417ee126
commit (amend): Add SIO and FIOPS i/o schedulers
cherry-pick: FIOPS: update for linux 3.18
cherry-pick: SIO: update for linux 3.18
cherry-pick: defconfig enable sio and fiops io
commit (amend): defconfig update
commit: fix derps in defconfig
cherry-pick: drivers: thermal: queue work on system_power_efficient_wq
cherry-pick: staging: qcacld-3.0: Import LA.UM.5.7.r1-08400-8x98.0
cherry-pick: staging: qcacld-3.0: Add to Makefile, remove unused Android.mk
cherry-pick: staging: Import fw-api, aca-wifi-host-cmn required by qcacld-3.0
cherry-pick: defconfig: enable qcacld-3.0
cherry-pick: defconfig: make qcacld-3.0 a module
revert: Revert "clean buildscript"
cherry-pick: smb-lib: Enable USB fast charging up to 900 mA
cherry-pick: workqueue: change permissions to allow root control of wq_power_efficient toggle
cherry-pick: qcom: msm-core: queue work on system_power_efficient_wq
cherry-pick: f2fs: squash to 4.10-rc1-4.4

[SIZE="2"][B]#VERSION (3)[/B][/SIZE]
cherry-pick: sched: Improve short sleeping tasks detection
cherry-pick: core_ctl: un-isolate BIG CPUs more aggressively
cherry-pick: sched: Fix the bug in select_best_cpu() that returns -1 as target_cpu
cherry-pick: core_ctl: Take state_lock while preparing the global_state
cherry-pick: core_ctl: Handle only CPU_ONLINE and CPU_DEAD notifications
cherry-pick: core_ctl: Update cluster->active_cpus in eval_need()
cherry-pick: core_ctl: Harden the adjustment_possible() check for unisolation
cherry-pick: lpm-levels: Select lpm for isolated cpu when sleep is disabled
cherry-pick: msm: thermal: Probe sensor info prior to other feature probe
cherry-pick: arm/arm64: crypto: boost performance
cherry-pick: fs: dcache: drop VFS cache pressure
cherry-pick: op3: Enable partial update mode for Samsung display
cherry-pick: DTS: panel: enable ULPS suspend mode
cherry-pick: DTS: reduce panel power on/off latency
cherry-pick: Makefile: Optimize for Cortex-A57
cherry-pick: kgsl: convert some workqueues to use kthreads
cherry-pick: kgsl: Increase priority of RT thread
cherry-pick: defconfig: Updates to reduce kernel size
cherry-pick: sound: Force optimizing for size
cherry-pick: cpu-boost: Boost priority of notifier_block
cherry-pick: cpu-boost: Rework scheduling setup
cherry-pick: kthread: Backport queuing_blocked()
cherry-pick: cpu-boost: Implement Two-Step input boost
cherry-pick: BACKPORT: [UPSTREAM] mbcache2: reimplement mbcache
cherry-pick: BACKPORT: [UPSTREAM] ext4: convert to mbcache2
cherry-pick: BACKPORT: [UPSTREAM] ext2: convert to mbcache2
cherry-pick: drivers: cpu-boost: optimize policy update loop on input cpufreq boost
cherry-pick: drivers: cpu-boost: fixing this typo will improve performance by 50%
cherry-pick: cpufreq: cpu-boost: don't boost over user set max freq
cherry-pick: DTS: Reduce msm-core polling rate to 100ms
cherry-pick: thermal-core: Fix invalid sensor data being accepted
cherry-pick: power: msm-core: Fix mutex not getting unlocked in error path
cherry-pick: msm-core: Fix error handling of sensor data retrieval
cherry-pick: msm-core: Rework resampling processing
cherry-pick: workqueue: add cancel_work()
cherry-pick: msm: mdss: Don't constantly fire interrupts for DSI status check
cherry-pick: msm: mdss: Use a high priority WQ for irq_done work
cherry-pick: Makefile: Support CRC and Crypto hardware instructions
cherry-pick: mdss: Do not wait for kickoff in display commit
cherry-pick: mdss: rotator: Use FIFO kthread for rotator work
cherry-pick: mdss: Update RT priority
cherry-pick: mdss: Remove dedicated wq for early_wakeup_clk_work
cherry-pick: msm: mdss: Don't cache the address of a stack variable in timings init
cherry-pick: msm: mdss: Remove partial update region delays
cherry-pick: msm-poweroff: always perform warm reset
cherry-pick: defconfig: Disable SEEMP support
cherry-pick: defconfig: enable CPU_FREQ_STAT_DETAILS
cherry-pick: workqueue: Implement delayed_work_busy()
cherry-pick: mm: compaction: Add automatic compaction mechanism
cherry-pick: crypto: arm64/crct10dif - port x86 SSE implementation to arm64
cherry-pick: crypto: arm64/crc32 - accelerated support based on x86 SSE implementation
cherry-pick: crypto: arm64/chacha20 - implement NEON version based on SSE3 code
cherry-pick: Revert "arm/arm64: crypto: boost performance"
cherry-pick: arm64: crypto: Improve target optimization flags
cherry-pick: crypto: arm64/crc32 - merge CRC32 and PMULL instruction based drivers
cherry-pick: update defconfig for crypto
cherry-pick: random: remove stale urandom_init_wait
cherry-pick: random: remove variable limit
cherry-pick: random: fix comment for unused random_min_urandom_seed
cherry-pick: random: always use /dev/urandom
cherry-pick: msm: ipa: Fix race condition between shared memory
cherry-pick: arm64: make default ARM64_DMA_IOMMU_ALIGNMENT as 9
cherry-pick: msm: rmnet_ipa: fix security issue
cherry-pick: msm: ipa: Fix for missing int overflow check in the refcount library
cherry-pick: wcnss: fix the potential memory leak and heap overflow
cherry-pick: soc: Fix Kconfig warnings
cherry-pick: crypto: arm64/aes-ctr - fix NULL dereference in tail processing
cherry-pick: alarmtimer: Program mpm wakeup time in milliseconds
cherry-pick: cpuidle: lpm-levels: Update suspend wake time
cherry-pick: drivers: cpuidle: Minimize round off errors in wake up time
cherry-pick: cpuidle:lpm: Fix div by zero bug
cherry-pick: arch/arm64: skip randomization within stack
cherry-pick: Disable "maybe-uninitialized" warning globally
cherry-pick: Disable "frame-address" warning
cherry-pick: objtool: Add STACK_FRAME_NON_STANDARD() macro
cherry-pick: locking, sched: Introduce smp_cond_acquire() and use it
cherry-pick: sched/fair: Make it possible to account fair load avg consistently
cherry-pick: sched/cputime: Remove extra cost in task_cputime()
cherry-pick: sched/cputime: Clarify vtime symbols and document them
cherry-pick: sched/cputime: Correctly handle task guest time on housekeepers
cherry-pick: sched/cputime: Rename vtime_accounting_enabled() to vtime_accounting_cpu_enabled()
cherry-pick: sched/cputime: Introduce vtime accounting check for readers
cherry-pick: sched/cputime: Convert vtime_seqlock to seqcount
cherry-pick: sched/core: Move the sched_to_prio[] arrays out of line
cherry-pick: sched/fair: Move the cache-hot 'load_avg' variable into its own cacheline
cherry-pick: sched/fair: Disable the task group load_avg update for the root_task_group
cherry-pick: sched/deadline: Fix the earliest_dl.next logic
cherry-pick: sched/numa: Spread memory according to CPU and memory use
cherry-pick: atomic: Export fetch_or()
cherry-pick: sched/core: Remove dead statement in __schedule()
cherry-pick: cgroup: convert cgroup_subsys flag fields to bool bitfields
cherry-pick: wait.[ch]: Introduce the simple waitqueue (swait) implementation
cherry-pick: sched: Mark __schedule() stack frame as non-standard
cherry-pick: sched: Always inline context_switch()
cherry-pick: sched/core: Remove duplicated sched_group_set_shares() prototype
cherry-pick: sched/debug: Move the /sys/kernel/debug/sched_features file setup into debug.c
cherry-pick: sched/debug: Move sched_domain_sysctl to debug.c
cherry-pick: sched/debug: Add deadline scheduler bandwidth ratio to /proc/sched_debug
cherry-pick: sched/rt: Kick RT bandwidth timer immediately on start up
cherry-pick: sched, time: Switch VIRT_CPU_ACCOUNTING_GEN to jiffy granularity
cherry-pick: sched/debug: Fix preempt_disable_ip recording for preempt_disable()
cherry-pick: sched/deadline: Remove superfluous call to switched_to_dl()
cherry-pick: sched/core: Get rid of 'cpu' argument in wq_worker_sleeping()
cherry-pick: sched: Account rr tasks
cherry-pick: sched/cputime: Fix steal time accounting vs. CPU hotplug
cherry-pick: sched/deadline: Remove dl_new from struct sched_dl_entity
cherry-pick: cpufreq: Add mechanism for registering utilization update callbacks
cherry-pick: kasan: add functions to clear stack poison
cherry-pick: sched/kasan: remove stale KASAN poison after hotplug
cherry-pick: sched/cpuacct: Rename parameter in cpuusage_write() for readability
cherry-pick: sched/cpuacct: Simplify the cpuacct code
cherry-pick: kernel: add kcov code coverage
cherry-pick: locking/atomic, sched: Unexport fetch_or()
cherry-pick: sched/cpuacct: Show all possible CPUs in cpuacct output
cherry-pick: sched/cpuacct: Split usage accounting into user_usage and sys_usage
cherry-pick: sched/numa: Remove unnecessary NUMA dequeue update from non-SMP kernels
cherry-pick: sched/core: Add preempt checks in preempt_schedule() code
cherry-pick: sched/clock: Remove pointless test in cpu_clock/local_clock
cherry-pick: sched/clock: Make local_clock()/cpu_clock() inline
cherry-pick: sched/cpuacct: Check for NULL when using task_pt_regs()
cherry-pick: sched/fair: Fix asym packing to select correct CPU
cherry-pick: sched/fair: Move cpufreq hook to update_cfs_rq_load_avg()
cherry-pick: sched/deadline: Fix a bug in dl_overflow()
cherry-pick: sched/core: Add switch_mm_irqs_off() and use it in the scheduler
cherry-pick: sched/core: Enable increased load resolution on 64-bit kernels
cherry-pick: sched/fair: Generalize the load/util averages resolution definition
cherry-pick: sched/fair: Update comments after a variable rename
cherry-pick: Revert "sched/fair: add tunable to set initial task load"
cherry-pick: sched/fair: Initiate a new task's util avg to a bounded value
cherry-pick: ANDROID: sched/fair: add tunable to set initial task load
cherry-pick: sched/fair: Rename SCHED_LOAD_SHIFT to NICE_0_LOAD_SHIFT and remove SCHED_LOAD_SCALE
cherry-pick: sched/fair: Optimize sum computation with a lookup table
cherry-pick: sched/fair: Optimize find_idlest_cpu() when there is no choice
cherry-pick: sched/fair: Fix and optimize the fork() path
cherry-pick: sched/core: Optimize __schedule()
cherry-pick: sched/core: Fix incorrect utilization accounting when switching to fair class
cherry-pick: sched/core: Remove pointless printout in sched_show_task()
cherry-pick: sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
cherry-pick: sched/autogroup: Do not use autogroup->tg in zombie threads
cherry-pick: sched/autogroup: Fix 64-bit kernel nice level adjustment
cherry-pick: sched: SCHED_LOAD_SCALE is now SCHED_CAPACITY_SCALE
cherry-pick: remove an unused function in random
cherry-pick: disable finger print boost
cherry-pick: Convert few critical drivers to use msecs_to_jiffies insted of HZ
cherry-pick: FS: F2FS: dont use HZ, use msecs_to_jiffies :)
cherry-pick: fs: default to noatime
cherry-pick: drivers: mdss: queue work on system_power_efficient_wq
cherry-pick: power: bcl: queue work on system_power_efficient_wq
cherry-pick: drivers: power: bcl: queue work on system_power_efficient_wq
cherry-pick: power: bq27541: queue work on system_power_efficient_wq
cherry-pick: power: qpnp-fg: queue work on system_power_efficient_wq

[SIZE="2"][B]#VERSION (4)[/B][/SIZE]
[B][SIZE="2"]F2fs updates
Added alucard,nightmare and darkness governors
Binder updates ([url]http://elinux.org/Android_Binder[/url])
added Interactive screen off max frequency 
Cortex a57 optimzation closest to kyro cpu
Fixed vibration control on custom roms
all custom roms will be smooth due to tuned interactive governor based on ghostpepper profile from oneplus 3
mostly fixed storage getting unmounted rarely(will need some testing)
disabled wakelocks by default
tuned bluactive and cultivation on custom roms to be very smooth
fixed rebooting on custom roms (blue light use to come up)
updated spectrum profiles for custom roms[/SIZE][/B]

[SIZE="2"][B]#VERSION (5)[/B][/SIZE]
[B][SIZE="2"]added zzmove governor thanks [user=3279788]@ZaneZam[/user]
added more modes to alert slider for los and custom roms[/SIZE][/B]
[B][SIZE="2"][COLOR="Red"]note for display profiles menu to appear on los based roms and other custom roms please wipe cache after flashing the kernel thanks[/COLOR][/SIZE][/B]

[SIZE="2"][B]#VERSION (4.5)[/B][/SIZE]
cherry-pick: tri-state-key: Clean up for the new Awesome Alert Slider
cherry-pick: PM / devfreq: Add an interface to boost devices when the screen is woken
cherry-pick: PM / devfreq: Boost "624000.ufshc" and "soc:qcom,cpubw" on screen wake
cherry-pick: PM / devfreq: Reduce wake boost duration to 5000 ms
cherry-pick: PM / devfreq: Remove null termination in boost_devices
cherry-pick: PM / devfreq: Fix typo that caused an infinite loop
cherry-pick: PM / devfreq: Don't boost storage on wake
cherry-pick: Revert "drivers: fingerprint: boost cpufreq on unlock"
cherry-pick: switch to stock interactive
cherry-pick: Revert "synaptics_driver_s3320: fix gestures not working"
cherry-pick: OnePlus5: Wake gestures: sweep2wake and doubletap2wake
cherry-pick: drivers/base/power/wakeup: More Wakelock Configures and some fixes
cherry-pick: cpufreq: interactive governor drops bits in time calculation
cherry-pick: CHROMIUM: cpufreq: interactive: validate above_hispeed_delay
cherry-pick: cpufreq: interactive: Remove the jump_to_max hack
cherry-pick: cpufreq: interactive: Skip timer when policy->min == policy->max
commit (cherry-pick): drivers: video: mdss: Fix direct references to HZ
cherry-pick: drivers: ipa: Fix direct references to HZ
cherry-pick: drivers: platform: gsi: Fix direct references to HZ
cherry-pick: drivers: hwmon: Fix direct references to HZ
cherry-pick: drivers: i2c: Fix direct references to HZ
cherry-pick: Add BINDER_GET_NODE_DEBUG_INFO ioctl
commit: bump to version 5

[SIZE="2"][B]#VERSION (6)[/B][/SIZE]
cherry-pick: ANDROID: binder: don't check prio permissions on restore.
cherry-pick: binder fixes
cherry-pick: cpu-hotplug: Always use real time scheduling when hotplugging a CPU
cherry-pick: cpu-hotplug: Fix false error message in cpu_up()
cherry-pick: sched: Add a check for cpu unbound deferrable timers
cherry-pick: timer: Clear deferrable_pending while handling timer softirq
cherry-pick: hotplug cpu: ratelimit logs for thermal veto
cherry-pick: hrtimer: Don't drop the base lock when migration during isolation
cherry-pick: hrtimer: Don't apply the BUG_ON() in migrate_hrtimer_list() for isolation
cherry-pick: genirq: Use irq_set_affinity_locked to change irq affinity
cherry-pick: sched/fair: remove printk while schedule is in progress
cherry-pick: cgroup: Fix potential race between cgroup_exit and migrate path
cherry-pick: drivers: cpuidle: lpm-levels: Log hotplug events
cherry-pick: lpm-levels: Remove IPI check on hot plugged cores
cherry-pick: msm: kgsl: Report correct GPU frequency in sysfs
cherry-pick: add alarmtimer and bq_delt_soc wakelock option
cherry-pick: add smartmax governor
cherry-pick: enable smartmax governor
cherry-pick: add smartmax_big governor
cherry-pick: ASoC: wcdxxxx: queue work on power efficient wq
cherry-pick: block: maple: Use better presets
cherry-pick: block: Add driver to change the I/O scheduler when the screen turns off
cherry-pick: scsi: sd: Configure the I/O sched switcher for the sde block device
cherry-pick: iosched_switcher: Allow multiple block devices to be used
cherry-pick: scsi: sd: Configure the I/O sched switcher for sda too
cherry-pick: dm: Configure the I/O sched switcher for dm block devices
cherry-pick: iosched_switcher: Ensure the previous elevator name is always present
cherry-pick: iosched_switcher: Remove unneeded code in change_elevator()
cherry-pick: mmc: queue: Configure the I/O sched switcher for mmc block devices
cherry-pick: block: I/O scheduler driver mod. delay setting noop when screen goes off.
cherry-pick: iosched_switcher: Use reliable state notifier
cherry-pick: PM / devfreq: Use reliable state notifier
cherry-pick: PM / devfreq: Use power efficient wq for unboost fn
cherry-pick: Revert "mm: compaction: Add automatic compaction mechanism"
cherry-pick: PM / devfreq: Use max priority for state notifier
cherry-pick: mm: compaction: compact all zones when suspended
cherry-pick: state_notifier: Check delayed work status before cancel
cherry-pick: state_notifier: Make workqueues unbound
cherry-pick: power: quickwakeup: initial driver
cherry-pick: cpufreq: Add latest impulse governor
cherry-pick: defconfig enable impulse governor
cherry-pick: state notifier fixes
cherry-pick: tune smartmax a little
cherry-pick: input: fpc1020: format all the OnePlus stuffs (LOS ONLY)
cherry-pick: input: fpc1020: reduced gpio reads during determining fpc sensor (LOS ONLY)
cherry-pick: misc: fpc1020: Clean up PM routines and move them into dedicated worker (LOS ONLY)
cherry-pick: misc: fpc1020: Report key input when interrupt is fired with screen off (LOS ONLY)
cherry-pick: misc: fpc1020: Set fingerprintd priority to max when screen is off (LOS ONLY)
cherry-pick: misc: fpc1020: Clean up interrupt handler (LOS ONLY)
cherry-pick: misc: fpc1020: Increase fingerprintd nice value when screen is off (LOS ONLY)
cherry-pick: misc: fpc1020: Honor proximity state (LOS ONLY)
cherry-pick: misc: fpc1020: Simplify proximity shut-off (LOS ONLY)
cherry-pick: misc: fpc1020: Wait for uevent to send before exiting IRQ handler (LOS ONLY)
cherry-pick: fpc1020: Use procfs path for disabling (LOS ONLY)
cherry-pick: cpufreq: Introduce CPU input boost driver (LOS ONLY)
cherry-pick: disable cpu_boost (LOS ONLY)
commit (cherry-pick): enable sultans input boost (LOS ONLY)
cherry-pick: bump to version 6
UPDATED PERFORMANCE PROFILES FOR LOS AND OOS 
GLASSFISH BASED BATTERY PROFILE FOR OOS IN BATTERY PROFILE SPECTRUM
NOW LOS ROMS SHOULD BE SMOOTH AF

[SIZE="2"][B]#VERSION (7)[/B][/SIZE]
cherry-pick: ANDROID: binder: Don't BUG_ON(!spin_is_locked()).
cherry-pick: mdss_fb: add backlight dimmer option
cherry-pick: Revert "proc: smaps: Allow smaps access for CAP_SYS_RESOURCE"
cherry-pick: ANDROID: android-base.cfg: remove CONFIG_CGROUP_DEBUG
cherry-pick: UPSTREAM: selinux: enable genfscon labeling for tracefs
cherry-pick: UPSTREAM: bpf: don't let ldimm64 leak map addresses on unprivileged
cherry-pick: BACKPORT: ext4: fix data exposure after a crash
cherry-pick: sched: tune: Fix lacking spinlock initialization
cherry-pick: sched/walt: kill {min,max}_capacity
cherry-pick: cpufreq: sched: Fix kernel crash on accessing sysfs file
cherry-pick: ANDROID: sched: fix duplicate sched_group_energy const specifiers
cherry-pick: msm: mdss: Update AD last strength during AD mode switch
cherry-pick: msm: mdss: Clean-up payload for unsupported versions
cherry-pick: msm: mdss: Buffer overflow while processing gamut table data
cherry-pick: msm: mdss: Fix QSEED3 MDP clock calculation for cmd mode panel
cherry-pick: msm: mdss: Fix number accuracy for backlight to brightness
cherry-pick: fbdev: msm: Reserve mixers with dspp for primary display
cherry-pick: msm: mdss: handle vsync properly during dynamic resolution switch
cherry-pick: msm: mdss: size check before writing to edid buffer
cherry-pick: msm: mdss: validate page id before reading from edid buffer
cherry-pick: msm: mdss: validate number of cea blocks before reading from edid_buf
cherry-pick: msm: mdss: validate the buffer size before allocating memory
cherry-pick: msm: mdss: add support for mdss throttle clock handling
cherry-pick: msm: mdss: Use 64-bit math for bandwidth calculation
cherry-pick: msm: mdss: Correct MDSS display wakeup time calculation
cherry-pick: msm: mdss: Change IOMMU map sequence during splash cleanup
cherry-pick: msm: mdss: Correct source and destination buffer rectangles
cherry-pick: msm: mdss: Avoid dfps update till unblank is complete
cherry-pick: fbdev: msm: Allocate fd with O_CLOEXEC flag
cherry-pick: msm: mdss: Avoid NULL mixer during partial update ROI setup
cherry-pick: fbdev: msm: fix issue preventing cursor_buf address to be stored
cherry-pick: fbdev: msm: fix unaligned access problem
cherry-pick: msm: mdss: fix the pixel clock calculation for fb modes
cherry-pick: fbdev: msm: Add check for ioctl calls
cherry-pick: msm: mdss: Check if secure display is enabled during non-secure validate
cherry-pick: msm: mdss: Separate PP programming to advanced and deferred modes
cherry-pick: msm: mdss: Correct PP register programming deferring
cherry-pick: msm: mdss: Fix possible integer overflow
cherry-pick: msm: mdss: remove HDMI connected flags
cherry-pick: msm: mdss: dp: fix display port crash caused by unclocked register access
cherry-pick: msm: mdss: set HDMI max TMDS clock rate
cherry-pick: msm: mdss: information leak during buffer copy from userspace
cherry-pick: lpm-levels: Remove IPI check on hot plugged cores
cherry-pick: regulator: core: remove some dead code
cherry-pick: regulator: core: fix a possible race in disable_work handling
cherry-pick: soc: qcom: pil: Avoid possible buffer overflow during Modem boot
cherry-pick: soc: qcom: spcom: propagate response timeout error
cherry-pick: spcom: use mutex on spcom_unlock_ion_buf()
cherry-pick: soc: qcom: Register for indication cb after obtaining state of remote pd
cherry-pick: soc: qcom: Clear the memory before freeing it up
cherry-pick: soc: qcom: glink_smem_native_xport: Check smem item in non cache region
cherry-pick: soc: q6dspv2: apr: fix client registration refcount
cherry-pick: soc: qcom: glink: Change GFP_ATOMIC flag for intentless rx
cherry-pick: memshare: Update the free memory count after allocation
cherry-pick: ASoC: APR: Fix missing APR deregister from asm
cherry-pick: soc: qcom: Fix checks for QMI response values
cherry-pick: spcom: increment channel reference count after successful glink_open()
cherry-pick: msm: msm_bus: Add mutex to protect node_list
cherry-pick: net: rps: send out pending IPI's on CPU hotplug
cherry-pick: soc: qcom: service-locator: Free memory in case of error
cherry-pick: mmc: sdhci-msm: Don't turnoff Vcc during initialization
cherry-pick: drivers: soc: qcom: rpm_stats: Add mutex lock for shared data
cherry-pick: firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set
cherry-pick: mfd: wcd9xxx-core: Synchronize codec down and reset calls from slimbus.
cherry-pick: mfd: wcd9xxx-core: Set device down flag early during SSR
cherry-pick: mmc: core: Ignore CRC errors with CMD13 while executing tuning
cherry-pick: msm: kgsl: Disable memory retention for core clock before entering SLUMBER
cherry-pick: msm: kgsl: Remove incorrect check to cap AB vote to IB vote
cherry-pick: msm: kgsl: Fix the race between context create and destroy
cherry-pick: msm: kgsl: Fix kgsl memory allocation and free race condition
cherry-pick: msm: kgsl: Perform cache operation with kernel address
cherry-pick: msm: kgsl: Offload mementry destroy work to separate thread
cherry-pick: msm: kgsl: Use per page cache operation instead of bulk cache operation
cherry-pick: msm: kgsl: Defer issue commands to worker thread
cherry-pick: mmc: core: Fix the issue with clock scaling in resume-scaling
cherry-pick: fs: default to noatime
cherry-pick: BACKPORT: [UPSTREAM] mbcache2: reimplement mbcache
cherry-pick: BACKPORT: [UPSTREAM] ext4: convert to mbcache2
cherry-pick: BACKPORT: [UPSTREAM] ext2: convert to mbcache2
cherry-pick: defconfig dont build modules except for wlan
linux security patches upto 4.4.79 thanks @adinkwok
improved spectrum battery profile for oos 
uber tc thanks @DespairFactor
commit: bump to version 7

[SIZE="2"][B]#VERSION (8)[/B][/SIZE]
cherry-pick: arm64: update defconfig based on msmcortex-perf
cherry-pick: Merge tag 'LA.UM.5.7.r1-08900-8x98.0' into wip/mkn-mr1/caf
cherry-pick: Merge tag 'LA.UM.5.7.r1-09100-8x98.0' into wip/mkn-mr1/caf
cherry-pick: Merge tag 'LA.UM.5.7.r1-09300-8x98.0' into mkn-mr1
cherry-pick: Merge tag 'LA.UM.5.7.r1-09500-8x98.0'
cherry-pick: Revert "cpufreq: interactive: Skip timer when policy->min == policy->max"
cherry-pick: Revert "CHROMIUM: cpufreq: interactive: validate above_hispeed_delay"
cherry-pick: enable state notfier by default
cherry-pick: power: qpnp-fg-gen3: queue work on system_power_efficient_wq
cherry-pick: Linux 4.4.80
cherry-pick: msm8998: Overclock CPU
cherry-pick: Revert "msm_performance: do not allow userspace to change min/max cpu limits anymore"
cherry-pick: msm_performance: don't limit min and max cpu freq
cherry-pick: msm: mdss: KCAL: disable igc update
cherry-pick: msm8998: Overclock CPU: add speedbin3
cherry-pick: alramtimer stop spamming the kmsg
cherry-pick: disable touch boost
cherry-pick: ANDROID: binder: call poll_wait() unconditionally.
cherry-pick: ANDROID: binder: don't enqueue death notifications to thread todo.
cherry-pick: ANDROID: binder: don't queue async transactions to thread.
cherry-pick: Linux 4.4.81
cherry-pick: ANDROID: keychord: Fix a slab out-of-bounds read.
cherry-pick: Use %zu to print resid (size_t).
cherry-pick: ANDROID: keychord: Fix races in keychord_write.
cherry-pick: ANDROID: keychord: Fix for a memory leak in keychord.
cherry-pick: dts: add lower gpu step and set the initial power lvl lower
commit (amend): dts: add lower gpu step and set the initial power lvl lower
commit: max startup frequency
cherry-pick: cpufreq: interactive: Remove the jump_to_max hack
cherry-pick: CHROMIUM: cpufreq: interactive: calculate load before freq change
cherry-pick: Linux 4.4.82
revert: Revert "cpu-boost: Implement Two-Step input boost"
cherry-pick: add more underclocking steps
Revert "msm8998: select max freq on cmdline"
revert: Revert "qcacld-3.0: Squash to LA.UM.5.7.r1-09300-8x98.0"(oos only)
revert: Revert "staging: Import fw-api, aca-wifi-host-cmn required by qcacld-3.0"(oos only)
revert: Revert "staging: qcacld-3.0: Add to Makefile, remove unused Android.mk"(oos only)
revert: Revert "staging: qcacld-3.0: Import LA.UM.5.7.r1-08400-8x98.0"(oos only)
cherry-pick: staging: Import wlan repos from OnePlusOSS(oos only)
cherry-pick: staging: qcacld-3.0: Add to Makefile, remove unused Android.mk(oos only)
cherry-pick: bump to version 8
 
Last edited:

SlyUK

Senior Member
May 13, 2015
2,497
725
WooHoo from OnePlus One to OnePlus 5. Hopefully from OnePlus 5 to at least OnePlus 8.......Lightning Strikes :)
 
  • Like
Reactions: nikhil18

nikhil18

Senior Member
May 9, 2012
2,277
4,794
bangalore
short changelog for version 2

tuned bluactive is now the default profile

finger print booster wasnt working before now its working

added fiops and sio iosched

added qcacld-3.0 from los kernel(new wlan drivers for better wifi performance)

update f2fs to latest 4.10-rc1-4.4 stable version

added support for all custom roms (flash los version)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 77
    Lightning Kernel

    Code:
    /* *** Disclaimer
    * 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 KERNEL
    * 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.
    */

    onlinelogomaker_112415_2400.jpg

    thanks @Jole7


    FEATURES
    #ADDED GOVERNORS
    -BLU_ACTIVE
    -INTERACTIVE(TWEAKED)
    -CULTIVATION
    -IMPULSE
    -ALUCARD
    -DARKNESS
    -NIGHTMARE

    #I/O SCHEDULERS
    -MAPLE

    #OTHER FEATURES
    -KCAL
    -EHANCED INPUT BOOST
    -SOUND CONTROL
    -NOTIFICATION LED CONTROL
    -SPECTRUM PROFILE APP SUPPORT FOR INSANE BATTERY LIFE AND GAMING PERFORMANCE
    -SWEEP TO SLEEP @FLAR2
    -SWITCH TO DISABLE HAPTIC FEEDBACK FOR GESTURES
    -FSYNC ON AND OFF SUPPORT
    -LATEST STABLE F2FS SUPPORT FOR OOS
    -DISABLED ADAPTIVE LMK BY DEFAULT CAUSE WE HAVE LOT OF RAM
    -QCACLD 3.0 WLAN DRIVERS FOR BETTER WIFI PERFORMANCE
    -KERNEL OPERATES IN 300HZ FOR BETTER PERFORMANCE
    -KERNEL INCLUDES ADVANCED CRYPTO DRIVERS
    -KERNEL INCLUDES MANY PATCHES TO GPU AND SCREEN DRIVERS
    -KERNEL INCLUDES USAGE OF POWER EFFICIENT WORKQUEUE IN MANY DRIVERS @franciscofranco
    -OC UP TO 2.6GHZ AND UNDERCLOCK UPTO 69MHZ
    -ANY FEATURE YOU NEED IMPLEMENTED JUST ASK FREELY



    telegram group

    #HOW TO FLASH
    -IF ON STOCK KERNEL
    THEN JUST REBOOT TO RECOVERY AND FLASH
    -IF ON ANY OTHER CUSTOM KERNEL THEN DIRTY FLASH THE ROM OR RESTORE YOUR BOOT PARTITION IN RECOVERY
    THEN FLASH THE KERNEL


    profiles


    credits
    Thanks a lot to These developers, filled with great humanity and courage:
    @ak @INT3NSE07 @RobbieL811 @dorimanx @xboxfanj @apb_axel @myfluxi @Imoseyon @savoca @Sultanxda @TheCrazyLex @AndreiLux @flar2 @Cl3Kener @RenderBroken @osm0sis @Xileforce @adinkwok @Lord Boeffla @frap129 @ab123321 @franciscofranco @chenxingyu


    XDA:DevDB Information
    Lightning kernel, Kernel for the OnePlus 5

    Contributors
    nikhil18
    Source Code: https://github.com/nikhil18/Lightning_kernel_oneplus5

    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2017-07-07
    Last Updated 2018-01-11
    28
    kernel discontinued for now

    guys due to personal life i am taking some time off xda will come back as i soon as i am free thanks for supporting me and using my kernel till now regards:)
    24
    update 15

    Changelog

    oxygen os 4.5.14 patches
    linux security patch 4.4.96
    new wakelock blocker thanks Lord Boeffla


    for LOS if display profiles are not visible
    /sys/class/graphics/fb0/color_profile

    0 - no color profile
    1 - sRGB
    2 - Adobe RGB
    3 - DCI-P3

    use initd script or exkm user settings option in tools to create a custom action and apply on boot
    17
    update version 11

    Changelog
    linux security patch 4.4.85
    disabled io sched switcher and adreno idler as both did not make any difference
    added 4.5.10 kernel changes
    also released a 100hz version even the stock kernel has the same value