[KERNEL][3.4][MM-6.0][BETA] Stock CM13.0-kernel + Unmerged CAF patches [05/02/2016] - G2 Original Android Development

Code:
*** Disclaimer
[B]Your warranty is now void.[/B]
We are 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 us for messing up your device, we will laugh at you.
Introduction
In this thread you may find the stock CM kernel 3.4 for MM-6.0 rom (CM 13.0 and derivatives) which include unmerged CAF Patches for testing purposes.
Of course, your feedback, as always, are welcome and certainly valuable.
- When reporting bugs please mention which CM/Kernel version you're running. (About Phone -> kernel version [Should begin with [email protected]])
- Also make sure to mention which device you test it on: d802, d800 etc.
- If you notice improved behavior also be sure to write a review as well, this helps me in figuring out the exact improvements done by the patches.
Unsupported Roms:
- Resurrection Remix
- Blisspop
- Broken OS/Rom
What NOT to expect:
Don't expect this kernel to fix anything related to RIL (Invalid Number/Preferred network selection etc.) these are problems which reside in the LG binary/library blobs and not the kernel. Whenever the kernel fixes something major I'll make sure to mention it in this post. Builds get tested by me first so I'll try to make sure it doesn't brick your device.
What to expect:
- Currently it appears that there seems some improvement with screen rotation, it seems to fix the pixels showing on rotation bug [Please verify this yourself as well and report back]
- CM Team warned me about one of the patches which might cause your headset buttons not to function with this kernel [If you have a headset please test if it functions correctly with this kernel, make sure all the buttons work!]
Click to expand...
Click to collapse
Installation instructions
Back-up your current kernel so you can always go back
- Boot to Recovery
- Choose backup and untick System and Data (if you only want to backup kernel otherwise just leave it as it is)
- Swipe to Backup and you're done
Return to main menu by pressing the back button and proceed with installation steps below:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Reboot the system
Important: As long as you'll participate in testing when, updating CM OTA you'll have to reapply the kernel zip file. (CM OTA overwrites boot partition)!
Click to expand...
Click to collapse
Changelog
Code:
[B]05/02/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- msm: vidc: replace resurrect_fw with unload_fw (credits to Ashray Kulkarni)
- msm: vidc: Error handling when core is in bad state (credits to Praneeth Paladugu)
- msm: mdss: remove unnecessary lock in checking DSI status (credits to Ray Zhang)
- qseecom: add mutex protection for unloading app in qseecom_release (credits to Zhen Kong)
- spi: spi_qsd: Add multi-ee support (credits to Dan Sneddon)
- qseecom: Change pr_info messages to pr_debug (credits to AnilKumar Chimata)
- msm: mdss: update panel info node with dynamic fps parameters (credits to Jeevan Shriram)
- spi_qsd: Fix DMA errors (credits to Dan Sneddon)
- rtac: Check active asm clients before removing adm device (credits to Ramjee Singh)
- msm: kgsl: check for NULL pointer access (credits to Anupam Sakargayan)
- msm: mdss: Unmap only when buffer was mapped (credits to Jayant Shekhar)
- scm-mpu: Add additional memory protection options (credits to Patrick Daly)
- msm: mdss: Grouping enable and prepare calls for dsi link clocks (credits to raghavendra ambadas)
- msm: mdss: Fix Iommu page fault for splash logo enabled feature (credits to raghavendra ambadas)
- msm: mdss: fix underrun seen with HDMI connected as external (credits to Vineet Bajaj)
- msm: mdss: handle secure display state for MDP (credits to Dhaval Patel)
- net: ipc_router: Disable using SMEM Logs by default (credits to Karthikeyan Ramasubramanian)
- net: inet_diag: zero out uninitialized idiag_{src,dst} fields (credits to Daniel Borkmann)
- UPSTREAM: memcg: Only free spare array when readers are done (credits to Martijn Coenen)
- UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset (credits to Vasily Kulikov)
- UPSTREAM: proc: actually make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- UPSTREAM: proc: make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- fs/dcache.c: Fix the too small buffer for dname (credits to Devin Kim)
- All previous unmerged commits
[B]Older Releases:[/B]
[HIDE]
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- msm: camera: check size of allocated buffer to prevent overflow (credits to Vasko Kalanoski)
- cpufreq: ondemand: Resolve deadlock when waking up dbs sync thread (credits to Swetha Chikkaboraiah)
- mdss: dsi: Fix null dereferences (credits to Charles Bin)
- msm: mdss: check for validity of ESD thread before scheduling it (credits to Padmanabhan Komanduru)
- ARM: dts: msm: Update the vifeed back routing (credits to Gopikrishnaiah Anandan)
- msm: mdss: Update ad_bl_level on first set backlight call (credits to Ping Li)
- msm: mdss: add init and deinit calls to notify update ioctl (credits to Krishna Chaitanya Parimi)
- mmc: core: update host->card after getting RCA for SD card (credits to Sahitya Tummala)
- msm: camera: fix write sensor settings issue (credits to Vasko Kalanoski)
- msm: cpp: Ignore hardware interrupt when timer expires (credits to VijayaKumar T M)
- msm: camera2: cpp: Enhance timeout handler for multi-frame processing (credits to Krishna VijayaKumar T M)
- msm: mdss: isolate cleanup of pipes within kickoff (credits to Adrian Salido-Moreno)
- dt: introduce for_each_available_child_of_node, (credits to Timur Tabi)
- msm: mdss: Allow DMA pipe sharing only on WB mixer (credits to Sree Sesha Aravind Vadrevu)
- usb: dwc3: Improve erratic errors events handling (credits to Manu Gautam)
- ARM: dts: msm: Remove fb memory allocation (credits to Jeevan Shriram)
- ARM: dts: msm: camera: Update generic cam entries (credits to VijayaKumar T M)
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- qseecom: avoid buffer over-write when copying app_name (credits to William Clark)
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- qcedev: msm: Remove gating of zero length packets for authentication (credits to Mallikarjuna Reddy Amireddy)
- ARM: dts: msm: Fix ROI alignment for CMD mode panel (credits to Baldev Kumar Sahu)
- msm: thermal: Add RT priority to kernel thermal threads (credits to Shiju Mathew)
- msm: thermal: Add RT priority to kernel hotplug thread (credits to Shiju Mathew)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- cpufreq: cpu-boost: Resolve deadlock when waking up sync thread (credits to Swetha Chikkaboraiah)
- msm: vidc: Add support to read venus version through debugfs (credits to Praneeth Paladugu)
- kernel: Restrict permissions of /proc/iomem. (credits to Biswajit Paul)
- mmc: core: Fix mmc clk scale down during writes. (credits to Ritesh Harjani)
[B]18/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
- prctl: make PR_SET_TIMERSLACK_PID pid namespace aware (credits to Micha Kalfon)
- ARM/ARM64: arch_timer: add macros for bits in control register (credits to Sudeep KarkadaNagesha)
- ARM: arch_timer: add support to configure and enable event stream (credits to Sudeep KarkadaNagesha)
- drivers: clocksource: add CPU PM notifier for ARM architected timer (credits to Sudeep KarkadaNagesha)
- msm: isp: Fix bus halt acknowledgement. (credits to Vijaya Kumar T M)
- msm:pproc: CPP freed pointer in error case (credits to Vijaya Kumar T M)
- ASoC: msm: audio-effects: Check for array index (credits to Weiyin Jiang)
- ARM: msm: Clean up sensor ADSP driver; OCMEM is no longer used (credits to Satya Durga Srinivasu Prabhala)
- diag: dci: Send mode reset command to the apps processor (credits to Katish Paran)
- msm: rpc: Fix uninitialized union in rpc router code (credits to FNU Ramendra)
- msm: rpc: Fix uninitialized union in rpc router close function (credits to FNU Ramendra)
- ASoC: Change to correctly set the BTSCO Sample Rate (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Update the clock state variable before unprepare clocks (credits to Praneeth Paladugu)
- msm: mdss: un map dsi transmit buffer properly (credits to Kuogee Hsieh)
- msm: mdss: Prevent backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Fix check for backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Notify AD only when brightness changes (credits to Ping Li)
- diag: Make DCI change not to access info from a dangling pointer (credits to Dixon Peterson)
- msm:camera:isp: Fix array index bound checks (credits to Suman Mukherjee)
- msm: mdss: rotator: replace work_pending with work_busy (credits to Ujwal Patel)
- msm: camera: validate user space parameter for max and min value (credits to Vasko Kalanoski)
- soc: qcom: bam_dmux: Sync SSR with disconnect/reconnect (credits to Jeff Hugo)
- msm: camera: isp: fix for avtimer power collapse (credits to Senthil Kumar Rajagopal)
- msm_fb: display: validate input args of mdp4_argc_process_write_req (credits to raghavendra ambadas)
- ASoC: msm: Correct RTAC mutex lock (credits to Ben Romberger)
[B]16/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
[B]11/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- msm: mdss: fix issue in calculating decimated dimensions (credits to Jeevan Shriram)
- msm: mdss: fix pixel extension validation on decimation (credits to Adrian Salido-Moreno)
- msm: vidc: release sync_lock before waiting on command response (credits to Maheshwar Ajja)
- msm:pproc:Freed the vpe prameters to avoid memleak (credits to Vijaya Kumar T M)
- ASoC: wcd9320: avoid wrong free of resource while enabling ANC (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Clean up properly when instance exits at MSM_VIDC_INIT state (credits to c_sridur)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: fix rotator failures when pixel format changes (credits to Ingrid Gallardo)
- msm: mdss: ensure rotator work is done before reconfiguring session (credits to Adrian Salido-Moreno)
- msm: mdss: Upgrade and fix AD implementation (credits to Ping Li)
[/HIDE]
Click to expand...
Click to collapse
Downloads
Download:
Stock CM Kernel + CAF Patches MM-6.0 AndroidFileHost Folder
(D800) Direct Download Beta Kernel (05/02/2016) md5: 9f0ebcf59148430cd5ff9e02f71ecb4c
(D801) Direct Download Beta Kernel (05/02/2016) md5: e4a66a2a168f4ec7d550d94f6a96f197
(D802) Direct Download Beta Kernel (05/02/2016) md5: 89a7f9722aa490ba876519fcbacc930c
(VS980) Direct Download Beta Kernel (05/02/2016) md5: 03430e606956d2ccc1ebed72fef6483d
Sources:
Development branch of Stock CM Kernel
Click to expand...
Click to collapse
Thanks To/Credits
Code:
[B]LG-Devs[/B], [B]Rashed97[/B], [B]Intervigil[/B], [B]Invisiblek[/B], and other devs I'm surely missing
[B]CyanogenMod[/B], [B]Kernel.org[/B], [B]Code Aurora Forum[/B], [B]Google developers[/B]
XDA:DevDB Information
[KERNEL][3.4][MM-6.0][BETA] Stock CM13.0-kernel + Unmerged CAF patches [05/02/2016], Kernel for the LG G2
Contributors
PsychoGame
Source Code: http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_kernel_lge_msm8974
Kernel Special Features: Stock CM kernel with unmerged CAF patches for MM 6.0 rom (CM 13.0 and derivatives)
Version Information
Status: Beta
Current Beta Version: 6.0
Created 2016-01-12
Last Updated 2016-02-05

Reserved first post for future additions

Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk

Just to add my own experience. I've been running the d800 20160111 kernel for many hours now and it has been very stable. I'm not sure what the small pixels problem was, but considering how many of the fixes are for the video subsystem, I wanted to mention that I've been successfully playing Badlands through parts of the day, quite successfully.
Except for the part where I can't make it through the game level without dying. That kinda sucks, but I'm working on it.

mujka said:
Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
If you have a headset for you're phone please test if all the buttons work okay.
In this kernel there's a patch included in which CM-Team encountered problems with it in the past.
Other then that there's nothing specific to test atm. just run the kernel for a few days and report if you encounter any strange things or notice any improvements to the kernel which CM is shipping with their OTA.

I tested buttons in youtube app all working. I think kernel is a bit smoother. On balanced profile in battery settings phone achieved 51k in antutu.
Sent from my LG-D802 using Tapatalk

Currently I'm also benchmarking CM-13 build 12/01/2016 for D802 with Antutu and GFXBench.
It's very difficult to base any conclusions on these scores because it's very difficult to always have the phone in exactly the same condition as the previous test.
But I'll also run multiple tests with Antutu to check if there's a steady improvement or regression.
I think GFXBench will have most impact given the fact there are multiple vidc and mdss patches inside.
I'll report back with my findings after a few tests so anybody can compare their findings to mine.
Update 1:
After finishing extensive benchmarking in almost the same conditions (Airplane Mode), Balanced battery profile, reboot after each benchmark I come to the following conclusion:
There seems a small, almost neglect-able improvement in performance. Of course every improvement is good because that's what we're aiming for of course. Benchmarking results with patched kernel seem to be a little bit less jumpy in score though. At least stress testing through multiple runs doesn't result in any strange kernel behavior so that's nice to notice as well.

I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56

jl10101 said:
I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56
Click to expand...
Click to collapse
Hello @jl10101,
I'm aware some people have problems with wifi losing it's signal while phone is in deep sleep.
On my phone (d802) in my case I don't encounter this issue to be honest so I'm not able to debug this myself.
My first focus is to get kernel up-to-date with latest msm8974 drop from CAF.
After this, if some patch didn't magically fix it already , I'll try to look into any known bugs.

Tried your kernel on Jan 12 build. The pixel problem is solved . I tested the headset buttons with Poweramp its working fine.
Sent from my LG-D802 using Tapatalk

latsest RR didnt booted with this kenel

Bliss did not boot with this kernel either but aicp mm did

Hello @syrkles and @vrwmiaris1
I'm not familiar with RR or Bliss at all.
Are these Roms directly based/build from CM kernel and device source tree?
If not this kernel is not meant for the rom in question.
Also can you tell me which devices you have?
Nice to hear AICP MM is booting, I'm guessing this rom source is directly based of CM sourcetree
Greetings PsychoGame

Before using this kernel, i am facing some extreme lag from time to time even after clean install, but this kernel seems to solve this issue, great work!
Sent from my LG-D802 using Tapatalk

@PsychoGame
Both are based on cm. Probably some issues in their ramdisk

Hello @Lawlrus,
Thank you for your explanation, I'm not familiar with these roms but indeed if something in ramdisk is different from CM ramdisk indeed it's giving problems booting.
Good point and didn't think of it yet, al least I'll post it in the OP that RR and Bliss do not work with this kernel to make sure that's clear to everybody who wants to try the kernel.
Greetings PsychoGame

It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk

ansontyl96 said:
It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame

PsychoGame said:
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame
Click to expand...
Click to collapse
Cheers mate, I can't wait to test it as the kernal I am using now already solved many lag issues for some reasons,before this kernal i always face some extreme lag from time to time probably because of cpu, but just wanna ask will there be any chance that we can fix the speaker's low volume issues?
Anyway great jobs
Sent from my LG-D802 using Tapatalk

This kernel also works on the latest vanir nightly

Related

[ROM][Unofficial][AOSP] Android 5.1.1 Lollipop

Code:
*** Disclamer
Read all instructions before proceeding.
Use at your own risk. I am not responsible for
bricked devices, broken SD cards, broken hearts.
Android Open Source Project 5.1
Lollipop
for
Samsung Galaxy Tab 10.1
(P7510, P7500, SGH-T859)
(p4wifi, p4, p4tmo)​
​
Customizations:
busybox
CMFileManager
DSP Manager
Cyanogenmod audio/video frameworks
Privacy Guard
Advanced reboot menu
Long press recents to switch to previous app
Clear all recents button
Long press back to force kill app
Left navigation bar buttons
Kernel features:
CPU OC (1.2Ghz - 1.6Ghz)
CPU Voltage control
GPU OC (400Mhz)
Dynamic fsync
F2FS
SELinux
Voodoo Sound
USB Charging
Installation instructions
First Install:
Install TWRP 2.8.7.0 or newer
Wipe cache, dalvik cache, system, data
Install the ROM
Optional step:
- Install gapps
- Install SuperSU 2.52
Reboot into the ROM
The first boot will take longer than Android 4.4.4 and older ROMs. Android Runtime (ART) is slower than Dalvik at optimizing applications the first time.
Optional steps...
To enable voice calling:
Install I9103XXLQ3 modem (Thanks to Lucas Kado):
[MOD][09.09.2012] Enable Voice Call For ROMs Based ON [Stock ICS & CM9 & CM10 & AOKP]
To enable SELinux enforcing mode:
The default SELinux mode is Permissive. Flash the "Set_SELinux_enforcing" zip to enable full SELinux enforcing mode.
Downloads
ROM:
p4wifi (GT-P7510): WIFI only tablet.
aosp-5.1.1-p4wifi-20160305.zip
p4 (GT-P7500): Cellular / 3G tablet.
aosp-5.1.1-p4-20160305.zip
p4tmo (SGH-T859): Tablet from T-Mobile carrier.
aosp-5.1.1-p4tmo-20160305.zip
Mirrors:
Android File Host
dev-host
Extra Utilities
aosp-5.1.0-p75xx-Set_SELinux_enforcing-v2.zip
aosp-5.1.0-p75xx-Set_SELinux_permissive-v2.zip
ICS Audio HAL
This ROM uses a new open source audio HAL written for the Android 5.0 API. Install this to use the old ICS audio HAL.
The audio dock will work with this.
p75xx-ICS-AudioHAL-20150110.zip
p75xx-ICS_AudioHAL-AOSP_5.1.0-20150311.zip
Lollipop gapps:
For AOSP 5.1.x
- p75xx-gapps-L-7-17-15.zip
- p75xx-gapps-L-5-6-15.zip
root: SuperSU
BETA SuperSU v.2.52
Changelog
Code:
Current changelog:
October 9, 2017
Add ARM NEON emulation
Kernel fixes
March 5, 2016
14ce2ff Update f2fs from Jaegeuk's linux-3.4.y branch
aa33f57 Revert "bound cpu cores to same speed"
7bf6385 Update f2fs from Jaegeuk's linux-3.4.y branch
b7da55c f2fs: support for kernel 3.1 with M for grouper
c3caabe Update f2fs from Jaegeuk's linux-3.4.y branch
6d4068a f2fs: support for kernel 3.1
February 15, 2016
Update to android-5.1.1_r30
Add missing WIFI tethering patch
Kernel L2 cache improvements
October 31, 2015
project device/samsung/p4-common/
32c8ec7 p4-common: switch to BFQ io scheduler
project kernel/samsung/p4/
94ec284 Update f2fs from Jaegeuk's linux-3.4 branch
e846e09 f2fs: support for kernel 3.1
418d0b0 Move other graphite flags into its kconfig section
58660d9 Revert "Enable ccache"
a32532a Revert "defconfig: enable graphite optimization"
fc4d1f6 ARM: 7168/1: use cache type functions for arch_get_unmapped_area
854a90d ARM: 7169/1: topdown mmap support
0dda9f1 ARM: 7294/1: vectors: use gate_vma for vectors user mapping
d6c8c57 defconfig: switch to slab
79f2d7a touchscreen: mxt1386: Report pressure events
e92b8e2 touchscreen: mxt1386: report active based on detect bit
fdb401f touchscreen: mxt1386: Tweak parameter range
18148fb defconfig: Use cmdline extend
Older Changes:
Code:
August 14, 2015
project bionic/
ba3ba89 Replace Cortex A15 strlen implementation with cortex-strings
606eca6 Import memchr implementation from cortex-strings for Cortex A15
b95b9b7 libc: tegra2: Use a15 strlen and string copy
b553cd8 libc: Update non-neon cortex a9 makefile
4a07afa bionic/libm pow optimizations for arm64
c35e587 Sync libm with upstream.
f9ad8a8 Get new coshl, sinhl, and tanhl implementations from upstream.
87d2724 Fix our <complex.h> support.
976604d libm: arm: Add arm specific floor() optimization
7f1159a Add aarch64 instructions wherever possible
e91b015 libm: Fix makefiles
project build/
44da9a4 "LMY48H"
d278554 "LMY48I"
project device/samsung/p4-common/
2d30b54 p4-common: switch back to cortex-a9 bionic
project external/libavc/
2eaba5e Encoder: Fixed an issue in handling FPS greater than 60
project frameworks/av/
efbf145 audiopolicy: Make sense of concurrency properties
e47a66b libmedia: AudioTrack offload only for STREAM_MUSIC
aa31cfa libmedia: Enable TrackOffload for more usecases
086daa6 libstagefright: use SW AAC encoder for HE-AAC format
e914a34 httplive: Check for bandwidth switch only for variant playlists
5bdf394 httplive: Check for NULL playlist in postPrepared
09fade8 httplive: Adjust seek time to last video IDR time
a588850 audiopolicy: Fix for isStateInCall() do not return proper status
49a2379 libstagefright: Fix crash in convertMetaDataToMessage
56c7950 nuplayer: Fix incorrect state handling while shutting down a decoder
3676897 Guard against codecinfo overflow
93d306a MPEG4Extractor: still more NULL dereference fixes
ba0017c SampleTable: fix integer overflow checks.
beaf7af AudioOutput: Always open AudioTrack with a flag
bdd042d audiopolicy: use deep_buffer as default output for music stream
fc5ee4b audiopolicy: fix for voice call to work on USB headset during concurrency
4b48487 audiopolicy: fix playback of multichannel pcm clips via low latency output
c773ab2 libeffects: validate channel mask in downmixer configure
bb5a485 Fix multiple division-by-zero conditions in MPEG4 parsing
8da57d7 Fix null-pointer-dereferences accessing the SampleTable
f5024f6 MPEG4Extractor.cpp: Add check for size == SIZE_MAX
574e49d Detect allocation failures and bail gracefully
744a392 libstagefright: Remove nBitPerSample CHECK
cc68933 Fix global-buffer-overflow in voAWB_Copy.
8dbd7ff Check allocation
62c0231 Fix new[] vs delete mismatch.
ce0ebe4 The preview frame data is broken when sending via Binder
1610dca Validation of Number of Channels on WAV files
72323a4 libstagefright: fix output buffer is not released by Writer when stopping
bbc6668 libstagefright: Fix incorrect duration calculation
6a2289e Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes
636050c Add some sanity checks
aae1058 HDCP: buffer over flow check -- DO NOT MERGE
8d2c4b3 IOMX: Add buffer range check to emptyBuffer
523b5c5 libstagefright: Scale up bitrate for HSR videos
c69b0a3 video: Disable resync markers
51dde7a AudioMixer: fill 0s at right place when no more buffers available
35460e9 MPEG4Extractor.cpp: handle chunk_size > SIZE_MAX
7c7f1e1 Fatal error while playing certain mkv files.
38c26d7 stagefright: Don't crash on invalid / null AVCC atoms in MKV
project frameworks/base/
18fd2dc Barrier only messages shouldn't prevent the idle handlers from running
project frameworks/native/
cadfa27 Fix mistake using width instead of height.
63503fe Workaround for black screenshots due to z-order change
project kernel/samsung/p4/
caa6dae ARM: 7403/1: tls: remove covert channel via TPIDRURW
dc508fd ARM: 7587/1: implement optimized percpu variable access
ff15b70 ARM: 7735/2: Preserve the user r/w register TPIDRURW on context switch and fork
3dfe7a0 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
5ec7979 crc32: optimize inner loop
a1f50af ARM: bitops: prefetch the destination word for write prior to strex
6069ae6 video: tegra: nvmap: Set PAGELIST_VMALLOC_MIN size correct
f7cbb13 mm for fs: add truncate_pagecache_range()
45196f8 Update f2fs from Jaegeuk's linux-3.4 branch
8a6aa31 f2fs: support for kernel 3.1
project packages/apps/CMFileManager/
f328e4f [CMFileManager] Fix can't copy after disconnect with pc.
7b09bb0 Made NavigationView reliant on FileObserver to keep up to date.
6e633d8 Automatic translation import
cb05075 Revert "Made NavigationView reliant on FileObserver to keep up to date."
ddb22bb Fixed ANR associated with SecureStorage
c740f92 Fixed search to actually open the clicked folder
6f6094d Fixed ANR & Memory Leak Associated with 3GP
13879c7 Fix don't pop up "Actions" menu when long pressing on a file/folder after open and close "Use swipe gesture".
eb58bd8 Automatic translation import
602f3de RTL: move buttons to proper spot in nav drawer
b5c78a6 Automatic translation import
bd79d58 Improve copy/move performance with nio and reintroduce cancel.
project system/core/
2eb6642 - Revert "fs_mgr: let fsck.f2fs actually attempt a fix"
July 29, 2015
project device/samsung/p4-common/
52ee2e9 libstagefrighthw: add libstagefrighthw for tf700t/tf300t tablets
project external/f2fs-tools/
ef77a4a mkfs.f2fs: set encryption feature
d07544c fsck.f2fs: show superblock features and encryption info
bcf54d1 dump.f2fs: show i_advise field in inode
ac43c66 fsck.f2fs: avoid build warning
e48773e fsck.f2fs: add hash conversion for encrypted dentries
f9cb4b2 fsck.f2fs: select to update the latest valid summary
da3931d fsck.f2fs: drop extent_info to avoid potential wrong access
project external/ffmpeg/
56bedf7 Update to ffmpeg 2.7.2
project external/libavc/
87ad734 Merge "Don't set -mno-avx"
3c192ea Merge "Mark arrays of pointers as const"
9fbffcf Don't declare variables after statements
f080d51 Fixed encode of single frame
d0603c3 Merge "Remove the now unused stride field from the set dimensions struct"
a306c95 Merge "Fixed encode of trailing B frames"
cc58d3f Check the width/height and adjust level used for RC
08e68e8 avcenc: Initialize avg_time
8e78e30 Make sure that apv_bufs[0] and u4_is_last always are set
0fee948 Use INT_MAX as i4_max_sad in ih264e_evaluate_bipred
9c6a2f7 Cabac optimizations
b7d5bb5 Fixed issue in cost computation for BIPRED ME
5696adb Validate the u4_entropy_coding_mode field
634567f Merge "Always do recon of 4x4 intra blocks"
aad4587 Made gops closed
1cd52d6 Merge "Don't use side effects in the macro PUT_BITS_SEV parameters"
90bd045 Decoder: Fixed issues shown by Valgrind
project external/stagefright-plugins/
df31683 Revert "stagefright-plugins: Restructure the code"
project frameworks/av/
f481ae6 Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
181e02c Fix TF101 workaround for NVOMX plugin crash
7e07312 Remove TF101_OMX
512a42f Revert "stagefright: Move a bunch of FFMPEG stuff out of here"
21b5b3e Revert "stagefright: Add support for loading a custom OMXPlugin"
project frameworks/native/
47b6110 Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS"
f96eb86 Revert "Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS""
project vendor/samsung/p4/
2a4f1c8 Remove stagefrighthw.so
project vendor/samsung/p4wifi/
676d1c0 Remove stagefrighthw.so
July 23, 2015
project kernel/samsung/p4/
8402aaf ARM: missing ->mmap_sem around find_vma() in swp_emulate.c
4f8f9f2 ext4: fix memory leak in xattr
f662c201 Revert "SCHEDULER: Autogroup patch group by current user android UID instead of task ID"
f6c7ac3 cpufreq: interactive: Align timer windows for all CPUs
25d9b61 cpufreq: interactive: Reset last evaluated jiffy in idle callback
e803dc2 cpufreq: interactive: Round up timer_rate to match jiffy
32c73e9 Graphite optimization kconfig option
5518b30 defconfig: enable graphite optimization
project libcore/
8cb50cb Remove forced alignment code.
July 17, 2015
project bionic/
4487f63 libc: Cache large /etc/hosts files
project build/
222d0ae Saberize v5 (3/5)
455c0f5 Fix call to dumvar
project device/samsung/p4-common/
83e2ed3 Revert "p4-common: Avoid hotplug kernel crash"
b2b1ec8 p4-common: Fix and clean up init.d scripts
3d524fd p4-common: Remove build custom flags
2a8e73a p4-common: Remove custom stagefright cache params
1c4e84d p4-common: Disable running without sync framework flag
820aa61 p4-common: Don't install alternate random script
44d5f56 p4-common: Switch to FIOPS io scheduler
project external/ffmpeg/
4bf19a5 Update to ffmpeg 2.7.1
project external/libpng/
8022b8e Make compatible with SaberMod ARM mode.
project external/stagefright-plugins/
e9eddbf stagefright-plugins: Disable lowres
529ea8c stagefright-plugins: Improve seeking further
a82d5bd stagefright-plugins: Add special handling of DivX files
ce6fc45 stagefright-plugins: Fix adaptive buffer and crop handling
68d9c45 stagefright-plugins: Remove Vorbis/MP3/H263/H264/HEVC
project frameworks/base/
c701b1e Barrier only messages shouldn't prevent the idle handlers from running
project frameworks/native/
4f4e423 SF: Skip render-to-texture for color transforms
project frameworks/opt/net/wifi/
e1f6fbc Fix memory leak in WifiNative
project kernel/samsung/p4/
686f7d7 base: cpu: Make cpu online sysfs readonly
d61cf07 arm: tegra: thermal: Fix p4lte build
65668ac sync: don't block the flusher thread waiting on IO
3c2e117 ext4: Speedup WB_SYNC_ALL pass called from sync(2)
b83fef6 udp: fix behavior of wrong checksums
1cca78f Makefile: Use O3 and Graphite
bd0772d compiler-gcc: Update to upstream for GCC 5.x compiler
a4397ae GCC 5.1 build fixes
c38fd65 defconfig: Disable some debugging
df855aa Revert "lowmemorykiller: optimize for use with zswap"
f18a32b lowmemorykiller: Don't count swap cache pages twice
49a0387 Revert "drivers: staging: android: lmk compile fixup"
8ce1cfe Revert "lowmemorykiller: Use asynchronous compaction"
f4f8fcd Revert "lowmemorykiller: Compact memory when killing processes"
c8322ee3 android: drivers: workaround debugfs race in binder
eb2f91e arm: config: p4wifi: Enable zRAM options suggested by Google
7336f70 Revert "defconfig: frandom"
08e15f9 Revert "Added frandom kernel random number generator: http://www.billauer.co.il/frandom.html"
f6885cb net: llc: use correct size for sysctl timeout entries
012453e netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len
48e8533 A local route may have a lower hop_limit set than global routes do.
4f38de3 ipv4: try to cache dst_entries which would cause a redirect
c16a81d vfs: read file_handle only once in handle_to_path
42d0e43 mmc: block: Update error handling if block data is not available
3551921 selinux: fix inode security list corruption
04808cf ARM: 7919/1: mm: refactor v7 cache cleaning ops to use way/index sequence
d76c0cd Revert "block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.1.0"
600e1ab Revert "block: introduce the BFQ-v7r8 I/O sched for 3.1"
44b7fc3b Revert "block: cgroups, kconfig, build bits for BFQ-v7r8-3.1"
7a5cae4 Revert "block: prepare I/O context code for BFQ-v7r8 for 3.1"
c609384 block: fix genhd refcounting in blkio_policy_parse_and_set()
52280cd block: move blk_throtl prototypes to block/blk.h
390bef4 block: pass around REQ_* flags instead of broken down booleans during request alloc/free
66c94ee block: drop unnecessary blk_get/put_queue() in scsi_cmd_ioctl() and blk_get_tg()
72e5dcb block: reorganize queue draining
c20f87c block: reorganize throtl_get_tg() and blk_throtl_bio()
551d25c block: make get_request[_wait]() fail if queue is dead
233001b block: drop @tsk from attempt_plug_merge() and explain sync rules
efa12eb block: fix request_queue lifetime handling by making blk_queue_cleanup() properly shutdown
12ae3a2 block: initialize the bounce pool if high memory may be added later
811183b block: fix a typo in the blk-cgroup.h file
f531c70 block: Remove the control of complete cpu from bio.
88320aa block: warn if tag is greater than real_max_depth.
239d247 blk-throttle: Free up policy node associated with deleted rule
0df5999 blk-throttle: Take blkcg->lock while traversing blkcg->policy_list
5616b48 blk-throttle: use queue_is_locked() instead of lockdep_is_held()
6fefae4 block: don't call blk_drain_queue() if elevator is not up
30df47c block, sx8: kill blk_insert_request()
5670654 block: add blk_queue_dead()
6ebed60 block: fix drain_all condition in blk_drain_queue()
4c0a1bd block: add missing blk_queue_dead() checks
a9ef87a block, cfq: move cfqd->cic_index to q->id
9517813 block: misc ioc cleanups
d8795f2 block: make ioc get/put interface more conventional and fix race on alloction
39bd421 block: misc updates to blk_get_queue()
620de54a block, cfq: misc updates to cfq_io_context
6d6a86c block, cfq: move ioc ioprio/cgroup changed handling to cic
acf16ed block, cfq: fix race condition in cic creation path and tighten locking
24b5fba block, cfq: fix cic lookup locking
38a1289 block, cfq: unlink cfq_io_context's immediately
2d4d01f block, cfq: remove delayed unlink
a95acba block, cfq: kill ioc_gone
e406bdc block, cfq: kill cic->key
067e171 block, cfq: replace current_io_context() with create_io_context()
05107d7 block: reorder elevator switch sequence
1c5462b2 block: remove elevator_queue->ops
640fd83 block, cfq: reorganize cfq_io_context into generic and cfq specific parts
6d31480 block, cfq: move cfqd->icq_list to request_queue and add request->elv.icq
28026e0 block, cfq: move io_cq lookup to blk-ioc.c
948013b block, cfq: move icq cache management to block core
71b69e3 block, cfq: move io_cq exit/release to blk-ioc.c
5347ffc block, cfq: restructure io_cq creation path for io_context interface cleanup
d8d2502 block, cfq: move icq creation and rq->elv.icq association to block core
12f3d5d block, cfq: fix empty queue crash caused by request merge
afa0f35 block: recursive merge requests
c631ab7 block: ioc_cgroup_changed() needs to be exported
c7b050e block: an exiting task should be allowed to create io_context
89a8f79 block: remove WARN_ON_ONCE() in exit_io_context()
3dc5b4d block: Introduce blk_set_stacking_limits function
feb05a6 block: Add BLKROTATIONAL ioctl
a00dfa4 fs: remove unneeded plug in mpage_readpages()
bcce0d5 blockdev: convert some macros to static inlines
aa4a136 include/linux/bio.h: use a static inline function for bio_integrity_clone()
ecb5b65 bio: change some signed vars to unsigned
6fc6d50 block: Stop using macro stubs for the bio data integrity calls
2c79fc0 Revert "block: recursive merge requests"
e2467ee Revert "block: fixes required to make the kernel compile with ROW."
4446aef fs: fuse: Fix-ups after d8795f2c85d4e458ec4f8353c3de693ee9d450fc
5386714 cfq-iosched: fix use-after-free of cfqq
b403c63 block,cfq: change code order
d97fc7d block: fix NULL icq_cache reference
f9faa23 block: fix ioc locking warning
17186c2 block: strip out locking optimization in put_io_context()
9d170a3 block: separate out blk_rq_merge_ok() and blk_try_merge() from elevator functions
736cc20 block: don't call elevator callbacks for plug merges
e8bda1e bsg: fix sysfs link remove warning
6cac422 block: fix lockdep warning on io_context release put_io_context()
3890115 block: replace icq->changed with icq->flags
316e673 block: simplify ioc_release_fn()
6ba1509 block: exit_io_context() should call elevator_exit_icq_fn()
eb6d63a block: fix ioc leak in put_io_context
0fd50c6 block: blk_alloc_queue_node(): use caller's GFP flags instead of GFP_KERNEL
1304491 block: use lockdep_assert_held for queue locking
8b4ef57 block: Make cfq_target_latency tunable through sysfs.
44e08ef block: make auto block plug flush threshold per-disk based
3cff711 block: fix buffer overflow when printing partition UUIDs
485197e block: fix request_queue->flags initialization
4cb8505 cgroup: add cgroup_root_mutex
c814092 threadgroup: rename signal->threadgroup_fork_lock to ->group_rwsem
c3e285f cgroup: always lock threadgroup during migration
1ffddb4a cgroup: improve old cgroup handling in cgroup_attach_proc()
7c066d3 cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_attach() and attach()
7c5426a cgroup: kill subsys->can_attach_task(), pre_attach() and attach_task()
e525675 cgroup: don't use subsys->can_attach_task() or ->attach_task()
838cf8b cgroup_freezer: Fix build
b43392c cgroup: propagate mode_t
52c57bb cgroup: remove cgroup_attach_task_current_cg()
f1fe20a cgroup: move struct cgroup_pidlist out from the header file
ae1fc96 cgroup: revert ss_id_lock to spinlock
8b314a3 block: fiops ioscheduler core
16ab2c1 block: fiops read/write request scale
75597dd block: fiops sync/async scale
4df5521 block: fiops add ioprio support
39bc9cc block: fiops preserve vios key for deep queue depth workload
12626e0 block: fiops bias sync workload
c68587d block: cgroups, kconfig, build bits for BFQ-v7r8-3.4
82b1954a block: introduce the BFQ-v7r8 I/O sched for 3.4
bc44c2f block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.4.0
48130ff BFQ: Fix up for upstream 3.4 block and partial cgroup backports
911abd8 mm: make swapin readahead skip over holes
67a2eb7 shmem: cleanup shmem_add_to_page_cache
7fe8734 lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interrupt
bea141f pstore: selinux: add security in-core xattr support for rootfs, pstore and debugfs
8ca5c5a Revert "writeback: fix writeback cache thrashing"
0ef581f writeback: account per-bdi accumulated dirtied pages
5c9427b writeback: dirty position control
9232e4b writeback: add bg_threshold parameter to __bdi_update_bandwidth()
cd14996 writeback: dirty rate control
ec92937 writeback: stabilize bdi->dirty_ratelimit
0aface7 writeback: per task dirty rate limit
f440b08 writeback: IO-less balance_dirty_pages()
f768c02 writeback: limit max dirty pause time
17f5989 writeback: control dirty pause time
aa7e2fc writeback: dirty position control - bdi reserve area
c49792c writeback: per-bdi background threshold
c275aea writeback: trace event bdi_dirty_ratelimit
a2e92b5 writeback: trace event balance_dirty_pages
5a7cfe8 writeback: fix uninitialized task_ratelimit
1650668 mm: Make task in balance_dirty_pages() killable
2d559d2 writeback: hard throttle 1000+ dd on a slow USB stick
5245c7a ext4: warn if direct reclaim tries to writeback pages
70826da writeback: fix writeback cache thrashing
7bdcb42 writeback: fix race that cause writeback hung
7addbb8 writeback: remove vm_dirties and task->dirties
1d9dcda writeback: comment on the bdi dirty threshold
de54aa8 writeback: permit through good bdi even when global dirty exceeded
220cb45 writeback: set max_pause to lowest value on zero bdi_dirty
3d5f7e4 writeback: charge leaked page dirties to active tasks
83f8dfc writeback: fix dirtied pages accounting on sub-page writes
7d887fa writeback: fix dirtied pages accounting on redirty
a9c86ab writeback: dirty ratelimit - think time compensation
7bde8d6 writeback: fix ppc compile warnings on do_div(long long, unsigned long)
6ce29e4 writeback: max, min and target dirty pause time
465affd writeback: avoid tiny dirty poll intervals
1a0b83e writeback: do strict bdi dirty_exceeded
a5731de writeback: balanced_rate cannot exceed write bandwidth
f152649 net: wireless: bcmdhd: Reduce HW4 logging level
6460c52 workqueue: CPU hotplug keep idle workers
aa1d07f arm: workqueue: fix get_pool_nr_running()
d31ec88 sched: unthrottle rt runqueues in __disable_runtime()
011ba24 kthread: disable preemption during complete()
67c9a09 ARM: mm: cache-l2x0: Implement outer_clean_all()
ce6ab65 mm: Fix incorrect cache attribute restoration.
6bfdfe5 mm: Avoid freeing init and initrd memory when CPA is enabled.
2252275 ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+
d3da7fa ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
project system/core/
6240b07 Fix compile with SaberMod
project vendor/sm/
2ad8230 Add p4wifi
June 28, 2015
project device/samsung/p4-common/
8400112 p4-common: Avoid hotplug kernel crash
0190630 p4-common: restrict dmesg
8849014 p4-common: multirom: add tegra-kbc to init devices
6a52c6e p4-common: Make vendor config optional
a9752c6 hwc: Skip composition when numHwLayers is zero
project external/ffmpeg/
74773c1 ffmpeg: Readd missing X86 fixups
3b79b80 ffmpeg: Set cpu arch for silvermont config
project external/stagefright-plugins/
e5f8759 ffmpeg: Remove a couple of codecs we don't need
36780e8 stagefright-plugins: Set sensible defaults for audio decoders
3272744 stagefright-plugins: Update codec list with capabilities
project frameworks/av/
775c557 stagefright: ffmpeg: Slightly raise the threshold for the ffmpeg scanner
90371ca Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
project frameworks/base/
b7b3ad9 Fix a GL error leak issue
2154010 Merge tag 'tags/android-5.1.1_r5' into aosp-5.1.1_r5-p4
project frameworks/native/
94d649a SF: Reduce resync samples without present
886ec01 Merge branch 'android-5.1.1_r5' into aosp-5.1.0-p4
project kernel/samsung/p4/
33caae7 netfilter: Sync with grouper android-5.1.0_r0.4
98ee028 netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
5171a7f sock: Introduce named constants for sk_reuse
8415f79 net: wireless: Sync with grouper android-5.1.0_r0.4
49f1b7a block: disable entropy contributions for nonrot devices
4cb0220 defconfig: Disable SELinux
dce2b44 Revert "defconfig: Disable SELinux"
700f75a defconfig: Enable kexec-hardboot for p4, p4tmo, and p4lte
7d02246 sysctl net: Keep tcp_syn_retries inside the boundary
903d78d WLAN subsystem: Sysctl support for key TCP/IP parameters
2cf48c8 net: Create shadow files under /sys/kernel/ipv4
project packages/apps/CMFileManager/
91c9e78 Fix parsing of shell command output regardless of encoding
1b15dff Automatic translation import
22b9eab Shell console: fix bug in shell output stream
June 20, 2015
project bionic/
d23763b libc: tegra2: Update memchr from aosp
cf10b1c libc: Cache large /etc/hosts files
6c554bf Revert "libc: Cache large /etc/hosts files"
project device/samsung/p4-common/
4d817d0 p4-common: Prefer ffmpeg vp8 and vp9 decoder
a79d8c9 p4-common: overlay: Update screen brightness levels
de0c6cd p4-common: overlay: Remove softap from wifi tether regex
project external/stagefright-plugins/
949ae01 stagefright-plugins: Add -Wno-psabi for ARM64 builds as well
ffed52f FFmpegExtractor: mark HEVC as supported
86506b6 stagefright-plugins: Refactor the decoders
56bdc69 stagefright-plugins: Move and update codec XML
1778caf stagefright-plugins: Clean up makefiles
f50a061 stagefright-plugins: Refactoring the extractor
1e35faa stagefright-plugins: Convert tabs to spaces
ee5d283 stagefright-plugins: Minor fix for FFMPEG 2.7
project external/wpa_supplicant_8/
1f6393f nl80211: add ifndef on AP SME condition
project frameworks/av/
c764b0a Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
a1fa45c audio: Fixed streamType for non-media streams
9cc1c24 audiopolicy: Fix call recording for legacy qcom HAL (again)
3fd6088 audio: fix incall music ifdefs (3/3)
489d096 ESQueue:use 0x000001 instead of 0x00000001 as sync word in H264/MPEG_VIDEO
4816034 Don't fail read when "seeking" to current position
5e179e6 libstagefright: free mMoovBoxBuffer
0d94b66 Signal EOS at end of mpeg video to flush out final sample
ba8d3f2 MediaCodec: use non-blocking call to get service
72ae734 Fix div zero error in corrupted media file
22a8369 Nuplayer: Fix no image or image will be delay issue
2aa3a23 frameworks/av: do not allow voip direct output for non 16-bit PCM
a39faef libstagefright: Support PCM channel mask update
f266c28 nuplayer: Don't write data to sink if sink is stopped
e640dc4 RTSPSource: check audio buffer count
e44aa1c NuPlayer: Fix for PCM offload fallback on BT
3759ee4 AudioFlinger: Add PCM offload format for dumpsys logging
67054e8 NuPlayer: Fix for pcm offload not using offload path after pause time out
774df3f NuPlayer: Fix incorrect time update for pause followed by seek, resume
45bbdff stagefright: Replace strncpy with strlcpy
1df821b frameworks/av: Fix NULL check for source
7ff13ee nuplayer: improve startup/rebuffering for http progressive playback
3cbb418 audio: removed stream type check from AudioTrack
16c78bb Fix several ineffective integer overflow checks
e586b3e Fix integer underflow in ESDS processing
3854030 Fix integer overflow during MP4 atom processing
a7cf34b Revert "audio: Reduce device switch delay"
14df986 nuplayer: start or stop audio sink from renderer only
ab5b940 NuPlayer: Clear stale track packets on seek
a43fc72 audiopolicy: Unbreak incall music
0546fab Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
37882c1 audiopolicy: Use legacy alsa to guard incall music feature
4f9390d audiooutput: Serialize access to AudioOutput
96e0621 Nuplayer: During flush operation flush audiosink
4f6010d stagefright: Fix issues with software decoders
1e9fb53 Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
project frameworks/base/
c0a5106 policy: Show a simple dialog about optimizing apps
project kernel/samsung/p4/
9d84b5d Revert "video: tegra: remove free memory check"
fea1797 bcmdhd: espresso10 driver
d24d7ff bcmdhd: Fix build for p4
805b82f net: wireless: bcmdhd: Enable p2p support bits for p2p device
caece2f bcmdhd: Disable pno support
5a0b388 bcmdhd: Enable Ad-Hoc (IBSS) mode
1e8eac5 backlight: cmc623: Reduce deadzone at lower backlight level
89df4af backlight: cmc623: Fix tune_level calculation
7a8aeea backlight: cmc623: Clean up code
8ff490f cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS
089ace1 subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency
1e94567 block: Make CFQ default to IOPS mode on SSDs
28b524f fs: take i_mutex during prepare_binprm for set[ug]id executables
3559d50 ARM: tegra: Implement 6395/1 for Tegra
b07ee46 ARM: 7746/1: mm: lazy cache flushing on non-mapped pages
3422443 ARM: cacheflush: don't round address range up to nearest page
eef66cf video: tegra: cmc623: Fix build warnings
33d93b9 sensors: proxlight: bh1721fvc: Fix error log
6b2bc1c workqueue: make all workqueues non-reentrant
1e0d016 update defconfig
446a27e Revert "block, bfq: add Early Queue Merge (EQM) to BFQ-v7r7 for 3.1.0"
c22600d Revert "block: introduce the BFQ-v7r7 I/O sched for 3.1"
caaa9ce Revert "block: cgroups, kconfig, build bits for BFQ-v7r7-3.1"
2ea3d7f Revert "block: prepare I/O context code for BFQ-v7r7 for 3.1"
916953c block: prepare I/O context code for BFQ-v7r8 for 3.1
7a534fc block: cgroups, kconfig, build bits for BFQ-v7r8-3.1
04f0dd6 block: introduce the BFQ-v7r8 I/O sched for 3.1
fc6069b block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.1.0
5730193 Implement kexec-hardboot
78d6db6 defconfig: Enable kexec hardboot
project packages/apps/CMFileManager/
da3e50d Prevent possible OOBE when ran under monkey test
c5c6852 CM Easy Mode File Manager Navigation fixes
2ed65f0 Fix back arrow discoloration in action bar
3a81139 Automatic translation import
08a24ff Prevent possible OutOfBoundsException
835447a Update Editor Activity to handle Content URI
0c06f5c [CMFileManager] The remember selection don't work when open a file
41232db CMFileManager: Improved strings
0d31e17 [CMFileManager]Fix the FileManager Crash.
9a75e1b [CMFileManager]Fix CMFileManager sometimes crash.
4841e94 Automatic translation import
b1bac2d Fix there are no folders in NavigationView Pinned file manager
ae97d0f Automatic translation import
May 13, 2015
project bionic/
4b2a184 Revert "libc: tegra2: Try again Cortex-A9 optimized memcpy"
project device/samsung/p4-common/
4d817d0 p4-common: Prefer ffmpeg vp8 and vp9 decoder
project frameworks/av/
779252b libmedia: avoid processing stale callback events when track recycled
8b5540c libstagefright: Fix for handling of stream with corrupt frames
c764b0a Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
May 8, 2015
project bionic/
55a62b4 libc: tegra2: Try again Cortex-A9 optimized memcpy
dd34e6e libc: tegra2: Use Cortex-a9 strcpy
df6879e Use ARM assembly instructions for fabs/fabsf
project build/
fed24bb Allow a device to generically define its own headers
project external/f2fs-tools/
b3ed522 f2fs-tools: fix build system to make distcheck correctly
0dd62d1 configure: add check for fallocate
827d130 mkfs.f2fs: show bytes for total_sectors
563b7f3 fsck.f2fs: show cp_state for fsck.f2fs
5ef95c4 fsck.f2fs: show total sectors consumed by filesystem
77da947 mkfs.f2fs: add quite mode, -q
70677f4 mkfs.f2fs: 512 UTF-16 characters for label
6227183 fsck.f2fs: reduce redundant message
3965dfd fsck.f2fs: remove inconsistent named directories
1afeea2 fsck.f2fs: check file types
70ec5c5 fsck.f2fs: fix inodes having wrong i_links
8be5073 fsck.f2fs: skip block count fix when i_links is fixed
bcbc323 fsck.f2fs: preserve orphan blocks
5f81460 fsck.f2fs: return summary block pointer and types
27f4bbd fsck.f2fs: fix summary block
3331158 fsck.f2fs: fix corrupted dentries
b54be7e fsck.f2fs: count child directories correctly for i_links
1a7969f fsck.f2fs: fix missing i_links
4e29cee fsck.f2fs: clean up child information
c9d380e fsck.f2fs: fix missing dentries
9b2bd4f fsck.f2fs: fix orphan inode's link count
d110a43 Revert "mkfs.f2fs: 512 UTF-16 characters for label"
ad39d96 fsck.f2fs: show ckeckpoint version info
project external/ffmpeg/
7a4bdf1 Update FFMPEG 2.5.6
57e6214 Restore av_err2str
project external/libavc/
c72323e Fixed few issues seen in CTS tests
cd9e51f fix file permissions
25e8adb Resolved warnings and fixed alignment of few assemblies
project external/wpa_supplicant_8/
6aa95d8 P2P: Validate SSID element length before copying it
project frameworks/av/
fb629ad Ensure there is no two same storages showing on the computer.
12d059e MediaCodec: use non-blocking call to get service
bd4881c stagefright: Configure codecs correctly in the mediatek platform
f519217 audio policy: validate stream type received from binder calls.
9fe3b80 mpeg2ts: Enable timestamp reordering for HEVC TS content
4f68435 mpeg2ts: Clean up HEVC format checks
4828d45 Audioflinger: fix for hardware accelerated effects memory leak issue
fbe18e6 audiopolicy: fix crash in camcorder during voice call
d851d89 Revert "nuplayer: Modify seek and resume latency calculation"
ec8cc54 nuplayer: Fix bitrate propagation
8ffdb20 libstagefright: wfd: add option to omit using intra macroblock refresh mode
e48b311 Revert "nuplayer: do not use cached source for wvm content -- DO NOT MERGE"
dd2e326 stagefright: httplive: Bring in line with upstream
6f0df50 Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
project frameworks/base/
2df81c2 Revert "Revert "DimLayer : remove unnecessary surface transaction calls""
e62470c Revert "Revert "Remove the window whose client process has died or become zombie""
549dd1e Revert "Revert "Improve concurrency by propagating B services to higher adj""
4c3616f Revert "Revert "hwui : fix memory leak due to duplicate in shadow cache""
24c5a33 Left nav bar (1/2)
project frameworks/opt/net/wifi/
55d2439 Revert "aggressively blacklist WifiConfiguration for the purpose of switching network"
project kernel/samsung/p4/
19cba0d defconfig: Enable tegra errata
10196cb Update f2fs to for-f2fs-4.1 from Jaegeuk's linux-3.4 branch
8c2e022 f2fs: support for kernel 3.1
3fb6d1c Revert "f2fs: enhance multi-threads performance"
90acd29 f2fs: fix wrong error hanlder in f2fs_follow_link
5c2888f misc: nct1008: add id for nct72
67cda80 drivers: nct: exposed nct internal/external temps
bbf52b4 drivers: misc: nct: fix section mismatch warning
c6e502f misc: nct: section mismatch fix
c3d4ef6 drivers: nct: shutdown and thermal register
86e596e drivers: misc: nct driver decouple
5cbba8d drivers: nct: Fixed uninitialized variable
a35f766 drivers: nct: Added hysteresis
1693f51 arm: tegra: thermal: nct1008 support for p4wifi
c5ab0eb ARM: tegra: thermal: Remove tegra therm dependency
ed27375 defconfig: enable config thermal
5419b99 arm: tegra: thermal: nct1008 support for rest of samsung pX boards
8e9f5aa ipv4: Missing sk_nulls_node_init() in ping_unhash().
0029ee9 Revert "Revert "kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire""
39ac867 fs: aio: Fix bad merge
d31abd7 Revert "Revert "android: lowmemorykiller: squash task adj rbtree optimization from Motorola""
cc8bc12 defconfig: use Motorola's lmk optimizations
323c773 drivers:lmk: Fix double delete issue
cea73cb lmk: wrap the lmk code with config
468715e staging:android:lmk: read rb tree root with spinlock
aaedf1c Revert "cpufreq: interactive: Remove trace event from idle_start handler"
f77ca4f Revert "cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms"
3c5b25d tcp: fix FIONREAD/SIOCINQ
ac157b0 defconfig: Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE
4711923 Revert "defconfig: Enable tegra errata"
acc31c5 defconfig: use Motorola's lmk optimizations
project packages/apps/Settings/
6d1fc14 Left nav bar (2/2)
April 28, 2015
Fix no sim card detected for p4.
April 26, 2015
I haven't encountered any freezing after these changes.
It now has ICS audio wrapper by default. This should be suitable for most users. I think it is only those who use the audio dock that need to install the old ICS audio HAL.
project bionic/
f354b2a Revert "libc: tegra2: Cortex-A9 optimized memcpy"
project kernel/samsung/p4/
8c44c03e Revert "mutex: Place lock in contended state after fastpath_lock failure"
31cd532 Revert "ARM: 7587/1: implement optimized percpu variable access"
23a755f Revert "ARM: mutex: use generic atomic_dec-based implementation for ARMv6+"
b664aa6 Revert "ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+"
April 23, 2015
50f9704 libaudio: spdif: write the bytes all at once
cab7db4 AudioWrappers: Update audio policy for Lollipop
41ce091 AudioWrappers: Reduce logging from info to verbose
721ffe7 AudioWrappers: Build the audio policy
874baab Enable USE_LEGACY_AUDIO_POLICY
55977a5 Update media codec definitions
6e35f2c Default to AwesomePlayer
c9721c0 Build audio_policy.tegra
0390ad9 sepolicy: Bluetooth tethering
a87c048 sepolicy: Wifi tethering denials
c668cd8 Merge tag 'android-5.1.0_r5' into aosp-5.1.0-p4
fddab84 PackageManager: allow build-time disabling of components
2084b02 SystemUpdateService: enable service but lock its receivers [1/2]
5494227 base: nat464X: Only update ipv4 pseudo-interface when it's connected
37f1430 base: ConnectivityServer: Don't reap the new network
652814c Revert "DimLayer : remove unnecessary surface transaction calls"
0cfc66b Revert "Remove the window whose client process has died or become zombie"
e6977b3 Revert "Improve concurrency by propagating B services to higher adj"
cb61503 Revert "hwui : fix memory leak due to duplicate in shadow cache"
d8af7f7 Merge tag 'android-5.1.1_r1' into aosp-5.1.0-p4
kernel
517c9ed arm: tegra: display: provide framebuffer clear function
9eff89f arm: tegra: display: handle fbmem2 cmdline parameter
a8e6af0 arm: tegra: atags: properly parse tegra bootloader tags
4b6f9be mach-tegra: fix type of iram start/end
793b4f9 video: tegra: p4: clear fb2 unspecified by bootloader
57348aa Revert "CHROMIUM: media: tegra: set the clock rate of avp.sclk for T20/T25"
5b30ebe video: tegra: remove free memory check
b950460 ARM: 7478/1: errata: extend workaround for erratum #720789
f76e8c6 mutex: Place lock in contended state after fastpath_lock failure
cb6b69b6 ARM: 7178/1: fault.c: Port OOM changes into do_page_fault
April 14, 2015
Update CMFileManager
Update telephony frameworks
Switch to CyanogenMod 12.1 audio/video frameworks
7eab128 libc: Restore cortex-a9 to aosp
6a71b00 libc: tegra2: A9 optimized memcmp and memcpy
188a198 Fix memchr overflow.
6b49e30 Make libaudio optional
4c1cf12 Add AudioWrappers by Thomas Wendt
ea20ddc Revert "PowerHAL: Set interactive go_hispeed_load to 95"
kernel:
37a1489 defconfig: bring up p4tmo and p4lte
23538be ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+
1e8b290 ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
27c2485 ARM: 7587/1: implement optimized percpu variable access
eed8b4d Revert "cpufreq: interactive: Add get_cpu_idle_time() to for 3.1 compatibility"
450ce14 Revert "cpufreq: interactive: Update from hammerhead kernel"
062577f Revert "android: lowmemorykiller: squash task adj rbtree optimization from Motorola"
c6c5386 Revert "introduce for_each_thread() to replace the buggy while_each_thread()"
c77524c cpufreq: tegra2 voltage control: Improve undervolt table
a1c95e6 arm: tegra: p75xx: Apply OC voltages only to speedo 1 process 0 and 1 chips
April 3, 2015
Revert "PowerHAL: interactive scheduler settings from grouper"
PowerHAL: Set interactive go_hispeed_load to 95
make switch to last app animation snappier
[ActivityManager] Prevent provider from been created twice.
[ActivityManager] fix NPE in ActivityStack.resetTargetTaskIfNeededLocked.
Layout the config-changed window if it has surface
[ActivityManager] Reset ActivityRecord's waitingVisible
[ActivityManager] Use synchronized to protect object
PackageManager: Restrict system packages to protected storage
ResolverActivity: fix null pointer exception
[ActivityManager] Ensure provider external access count will be released.
[ActivityManager] Improve task order of getRunningTasks.
[ActivityManager] Fix index out of bounds when updating next pss time.
[ActivityManager] Avoid orphan ContentProviderRecord.
[ActivityManager] Reduce report wrong anr activity
Avoid deadlock between ActivityManagerService and ProcessStatsService.
[ActivityManager] Fix adjust to wrong focused stack
[ActivityManager] Set appropriate relation of task to home
[ActivityManager] Prevent application holding AMS lock
[ActivityManager] Fix process record leakage.
[ActivityManager] Distinguish FG or BG receiver finished
Prevent system server dump stuck by pipe buffer full.
[ActivityManager] Fix activity always visible.
Revert "[ActivityManager] Set appropriate relation of task to home"
Revert "Revert "[ActivityManager] Set appropriate relation of task to home""
Revert "[ActivityManager] Improve task order of getRunningTasks."
MediaCodec: Update cached buffers in async mode
Perform once GCs on all app process when system ready
Clear the previous states before setting the new app visibility
Remove the window whose client process has died or become zombie
hwui : fix memory leak due to duplicate in shadow cache
[ActivityManager] Avoid killing unrelated processes.
Layout the window to be displayed if it would be resized
DimLayer : remove unnecessary surface transaction calls
Wait for opening apps ready before stopping freezing display
Wait for visible wallpaper drawn before starting app transitions
Assign more reasonable width and height of a window surface
Fixes large number of thumbnails leads to low memory
Improve concurrency by propagating B services to higher adj
Revert "third part apps can unlock the phone without password even if the phone has setted the password"
[ActivityManager] Improve multi-thread access the same provider
Remove unnecessary sleep in ActivityThread.
Revert "ResolverActivity: fix null pointer exception"
CMFileManager: change warning drawables used in dialogs for visibility
kernel:
Revert "ARM: Tegra: Added support to run at two frequency modes"
CHROMIUM: media: tegra: set the clock rate of VDE for T20/T25
CHROMIUM: media: tegra: set the clock rate of avp.sclk for T20/T25
CHROMIUM: arm: tegra: fix cpu clock transition latency
arm: tegra: p4/p4wifi: Enable uartb clock only when needed
CHROMIUM: arm: tegra: clocks: sanity-check clocks at boot
ARM: tegra: move secondary start kernel message
cpufreq: interactive: Update from hammerhead kernel
cpufreq: interactive: Add get_cpu_idle_time() to for 3.1 compatibility
March 28, 2015
AppOps/Privacy Guard from cm-12.0
f2fs-tools 1.4.1
p4-common: HDMI audio (untested work in progress)
fs_mgr: Skip filesystem check unless fs_type matches
frameworks/base: Clear recents fixes from cm-12.0
kernel:
Revert "disable DEBUG_SEC configs"
radix_tree: clean away saw_unset_tag leftovers
radix_tree: remove radix_tree_indirect_to_ptr()
radix_tree: take radix_tree_path off stack
radix-tree: introduce bit-optimized iterator
radix-tree: rewrite gang lookup using iterator
radix-tree: fix preload vector size
radix-tree: fix contiguous iterator
Update f2fs from Jaegeuk's linux-3.4 branch
f2fs: support for kernel 3.1
mm: shmem: use new radix tree iterator
radix-tree: use iterators in find_get_pages* functions
March 20, 2015
Add init.d support
PowerHAL: Tweak interactive scheduler parameters
Settings: Add option to scramble pin layout when unlocking (1/2).
Keyguard: Add option to scramble pin layout when unlocking (2/2).
Add global scramble pin layout setting.
base [1/6]: fix screenshot and rotation animation
native [2/6]: init display orientation according to panel orientation
native [3/6]: surfaceflinger: reimplement hwrotation
native [4/6]: surfaceflinger: odd hw rotation (90/270) patch for swapping width/height
native [5/6]: surfaceflinger: fix boot animation rotation problem
native [6]: surfaceflinger: consolidate display orientation compensation hooks
kernel:
Revert "defconfig: disable HW crypto engine"
arm: tegra2: Revert clocks to ICS code
ARM: tegra: clock: Update secondary pll dividers resume
ARM: tegra: clock: Add reset propagation delays
arm: tegra2: Restore p4 and p4wifi overclock
Tegra2 voltage control
defconfig: Enable overclock and voltage control
ARM: Tegra: Added support to run at two frequency modes
Revert "Revert "arm: config: p4wifi: Enable zRAM options suggested by Google""
arm: tegra2: Set tegra_pm_notify to nvidia nv-3.1 behaviour
arm: tegra2: Remove 150Mhz step
See post #980 for additional notes.
March 13, 2015
Update to Android 5.1.0_r1
- Install TWRP 2.8.5.0
- Do a full wipe then install the ROM.
- Default SELinux mode is Permissive. Install the "enforcing" bootimage if you want to enable SELinux.
Notes:
I did not merge Android 5.1.0 into my 5.0.x sources. The necessary changes were cherry-picked from my 5.0.x sources on to the new Android 5.1.0_r1 sources.
I've gone back to using the AOSP repositories for Bluetooth/bluedroid and frameworks_av instead of CyanogenMod. I don't know what their timeline is for moving to CM-12.1.
The 3G parts from OmniROM have been updated. I hadn't bothered to update it previously out of fear of breaking it. I only have the WIFI tablet so 3G is untested.
Most other things should be working the same as with the AOSP 5.0.x ROM.
Other Changes:
bionic: libc: tegra: Switch some parts from Generic to Cortex-A9
boringssl: Remove client-side support for ServerKeyExchange in the RSA key exchange. (CVE-2015-0204)
kernel:
defconfig: disable HW crypto engine
net/ping: handle protocol mismatching scenario
ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures
ARM: add .gitignore entry for aesbs-core.S
ARM: move AES typedefs and function prototypes to separate header
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
mac80211 & nl80211: add support to abort a scan request on tx
Revert "arm: config: p4wifi: Enable zRAM options suggested by Google"
ARM: tegra: Remove timer workaround
March 5, 2015
PowerHAL: Update for Lollipop
- Low Power Mode power hint caps the maximum frequency to 456Mhz.
- Remove non-existent input_boost and boost_factor (gone in kernel 3.4 interactive scheduler).
- Refactor nonsensical logic in p3_power_set_interactive.
- setInteractive on: set go_hispeed_load to 85 . setInteractive off: set go_hispeed_load to 99.
Fix widevine lib paths
p4-common: Fix "stagefright: Add legacy MediaBuffer::acquireBuffer symbol" from switch to cm-12.0 frameworks/av
hwc: Crop the first layer instead of the second
system/core: Revert "fs_mgr: Use fsck.f2fs auto fix flag"
bionic: Use QCOM sqrt optimization on tegra2
libpng: Fix buffer overflow security vulnerability (CVE-2014-9495)
libpng: Restore a width check that was removed from png.c (CVE-2015-0973)
openssl: Upgrade to 1.0.1l (CVE-2015-0204)
Update cm-12.0 android_external_bluetooth_bluedroid
Update cm-12.0 android_frameworks_av
kernel:
Upgrade BFQ-v6r2 to BFQ-v7r7
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages (CVE-2014-2523)
mnt: Only change user settable mount flags in remount (CVE-2014-5206)
cfq-iosched: Fix null pointer dereference
cpufreq: interactive: turn boost_pulse off on boost off
cpufreq: interactive: fix compiling warnings
cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms
cpufreq: interactive: Remove trace event from idle_start handler
cpufreq: interactive: delete timers for GOV_START
arm/crypto: Add optimized AES and SHA1 routines
ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
ARM: 7837/3: fix Thumb-2 bug in AES assembler code
add extra free kbytes tunable
mmc: use really long write timeout to deal with crappy cards
ARM: tegra: clock: Update secondary pll dividers resume
ARM: tegra: clock: Add reset propagation delays
See post #884 for additional notes
February 25, 2015
f2fs-tools 1.40
fs_mgr: Add fsck.f2fs auto fix arg
Update cm-12.0 android_frameworks_av
kernel:
Disable tegra2 stat_mon
bcmdhd: Set custom dpc cpu core
bcmdhd: add threaded rx frame
bcmdhd: use kthread_run instead of kernel_thread
recovery:
f2fs-tools 1.40
See post #838 for additional notes
February 19, 2015
sepolicy:
- Add 3G radio permissions (thanks to Prowler665)
- Fix boot from lpm charging with selinux enforcing
Update cm-12.0: bluedroid, CMFileManager, busybox
Exchange: fix call wrong service when reschedule an eas ping
exchange: use the port returned by autodiscover response
Kernel
ksm: Provide support to use deferred timers for scanner thread
cgroup: remove synchronize_rcu() from cgroup_attach_{task|proc}()
Revert "kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire"
Revert "cpufreq: Report correct min/max frequencies."
disable DEBUG_SEC configs
See post #799 for additional notes.
February 9, 2015
fstab: Add F2FS data and cache partition
Build Launcher3
bluetooth: Allow larger a2dp bursts per tick
Update cm-12.0 parts
- android_external_bluetooth_bluedroid
- android_frameworks_av
- CMFileManager
hwrotation for Galaxy Tab 8.9
kernel:
F2FS backports from grouper kernel
recovery:
Build on android 5.0 sources
Allow mkfs to be run
See post #722 for additional notes.
January 31, 2015
hwc: Fix blurryness in portrait
wpa_supplicant: Use legacy NL80211 STA events for older drivers
Update CyanogenMod/android_frameworks_av
kernel: Cherry-pick things from AOSP kernel/tegra
January 27, 2015
Revert "WindowManagerService: Fix On-Screen keyboard popups when hw-keyboard is present"
libaudio: Bad sleep times when pcm_get_htimestamp() fails
January 25, 2015
Another try at buggy hwcomposer workaround [1]
Revert invisible layer workaround
Input method selector notification toggle
Fix On-Screen keyboard popups when hw-keyboard is present [2]
Fix missing break statement in GPS code (improves signal locking)
Update CMFileManager
Update CyanogenMod/android_frameworks_av
ANR and NPE fixes AOSP master and CyanogenMod cm-12.0
Misc. small optimizations from AOSP master and CyanogenMod cm-12.0
Show Optimizing app dialog on first boot
Lockscreen pin scrambling
Expanded desktop
Kernel:
Re-enable Samsung dock driver
Compile kernel with Linaro 4.9 toolchain
January 18, 2015
Extend buggy hwcomposer workaround to lockscreen and multi-user
Enable target running without sync framework flag
January 16, 2015
Fix HWC rendering path
Fix SurfaceFlinger source crop
Switched to hwcomposer 1.0 wrapper
Work around proprietary hwcomposer blob glitches
See post #545 for additional info
January 10, 2015
revert Add 48kHz A2DP to audio policy
Fix WIFI access point not being rememberd
overlay: Add setting for dock audio and power control widget
Add ICS audio blob hacks to CM-12.0 frameworks av and build old ICS audio HAL for those that use it
January 9, 2015
Recompiled wifi driver without verbose debugging
Fix microphone breakage in 20150108 build
January 8, 2015
SystemUI
- Advanced reboot menu (enable in Developer Options)
- Close all recent apps button
- Long press Recents to switch to last app
- Long press Back to force close app (enable in Developer Options)
Audio HAL
- Dock audio output path
- BT SCO audio output paths
- Ringer paths
Add 48kHz A2DP to audio policy
Wifi firmware from 5.90.100.410 to 5.90.100.430
Switch to CyanogenMod/android_frameworks_av [1]
Switch to video codecs from Toradex Android tarballs [2]
Updated Widevine DRM libraries [3]
Update CMFilemanager
kernel:
- Backported a few wifi P2P driver changes. (WIFI Direct still not working.)
See post #463 for additional notes.
January 1, 2015
Fix memory leak in system_server when screen on/off. [URL="https://github.com/CyanogenMod/android_frameworks_base/commit/d25b891dccd223bb00f45e27062e5391a55be8ff"]reference.[/URL]
Add DSPManager app
Add missing Java library needed for Bluetooth
Add the new Lollipop audio HAL
Add audio remote submix policy
Build the standard audio policy manager instead of the legacy audio policy manager
Fix email combined view crash
If there are any problems with the new audio HAL then please save a logcat of the problem and send it over! If we can get it working without many problems then we can get rid of the old ICS audio blobs forever. This will make it easier to port present and future ROMs.
To go back to the old ICS audio just install the p75xx-ICS-AudioHAL-20141222.zip package.
See post [URL="http://forum.xda-developers.com/showpost.php?p=57883713&postcount=387"]#387[/URL] for additional notes.
December 30, 2014
Experimental: Initial version of audio HAL for Android 5.0 API. See post [URL="http://forum.xda-developers.com/showpost.php?p=57844650&postcount=368"]#368[/URL]
[URL="http://forum.xda-developers.com/devdb/project/dl/?id=10384"]p75xx-Lollipop-AudioHAL-20141230.zip [/URL]
To revert back to the ICS audio HAL install this.
It's just the audio HAL from the 20141222 ROM.
[URL="http://forum.xda-developers.com/devdb/project/dl/?id=10382"]p75xx-ICS-AudioHAL-20141222.zip [/URL]
December 27, 2014
Standalone fix for Combined View in Email: [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10341"]p75xx-Email_fix_combined_view.zip[/URL]
Experimental build 20141227
Bluetooth audio output
This is for testing. This audio code will not be included in the regular builds yet.
See Post [URL="http://forum.xda-developers.com/showpost.php?p=57778887&postcount=351"]#351[/URL] for more info.
[STRIKE]p4-lollipop-experimental-20141227.zip
p4wifi-lollipop-experimental-20141227.zip[/STRIKE]
December 22, 2014
Update to Android 5.0.2
Switched from [B]userdebug[/B] to [B]user[/B] build.
Switched to healthd charger. No longer using the old LPM charger method.
Reverted a change in media_codecs.xml
Cherry picked some Bluetooth stack commits from CyanogenMod 12.0
December 19, 2014
Fix Email app crashing at start up. [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10213"]
p75xx-Email_fix.zip[/URL]
December 17, 2014
3G fixes
December 16, 2014
Revert frameworks_av changes
Switch to OmniROM frameworks_opt_telephony
Add CMFilemanager and Busybox
Fix camera switching force close: [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10190"]p75xx-camera_fix.zip[/URL]
TWRP: Added encryption support.
December 6, 2014
Update to Android 5.0.1
November 27, 2014
Fixed charger mode
Added support OTA survival scripts
Added power menu Reboot action
Removed device check from p4wifi installer
Updated gapps
November 20, 2014
[new] Update to android 5.0.0 r7 (LRX21V)
[new] kernel: arm: tegra: Add an API call to log wakeup reasons
[changed] Enable multi user UI
[changed] Bluetooth audio compatibility backports
[fixed] Browser settings crash
November 15, 2014
[fixed] keyboard on p4
November 14, 2014
[changed] updater-script: Use pre-lollipop installer script
November 13, 2014
[new] Add Lollipop support to p4wifi device sources
[new] Android Lollipop frameworks compatibility fixes for p4wifi
[fixed] Kernel: Fix reboot hang when compiled with GCC > 4.7
[fixed] Kernel: Misc GCC compilation fixes
[fixed] Kernel: netfilter: Add missing commits
Working
Video
Audio
Wifi
3G
GPS
Encryption
Not working or buggy
Bluetooth
--- Pairing and tethering working
--- Audio output working with the Lollipop audio HAL
--- Other bluetooth functionality may or may not be working
Camera.
--- Panorama does not work.
Keyboard dock
--- Not working.
WIFI tethering
--- Works if you set custom DNS servers on the client
WIFI Direct
--- Might be working since 20150620. Might be buggy for some.
Wireless Display (Miracast) / Screen recording
--- Not working.
--- Miracast support was introduced in Jellybean
--- Lollipop has a new screen recording API
--- This is device only has ICS graphics blobs which are not compatible with Lollipop screen recording
Donate:
Via Paypal
Thanks To/Credits
Code:
* All of the developers and contributors for this device
* All of the users who send system logs and bug reports
* twa_priv
* AAccount
* BeeGee_Tokyo
* kasper_h
* pershoot
XDA:DevDB Information
Android 5.1 Lollipop, ROM for the Samsung Galaxy Tab 10.1
Contributors
decatf
Source Code: https://github.com/Decatf
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP
Version Information
Status: Stable
Created 2014-11-13
Last Updated 2017-10-09​
Reserved
FAQ and common problems
* How to root the ROM
Install TWRP
Install ChainFire SuperSU zip in recovery.​
Video / audio issues
* Chrome crashes when playing videos
It is a bug in newer versions of Chrome. Only Google can fix it. Use Chrome 29.x or older for HTML5 video playback.
Update - 2015-05-14 - Chrome version 42.0.2311.111: HTML5 videos are not crashing but they only work in full screen mode.​
* Low sound volume with Lollipop audio HAL
Use Voodoo Sound app to increase the headphone amplification.​
* Youtube video freezes but audio still playing
Set quality to 480p or less.​
* Can we fix laggy video playback? Can we fix Youtube HD video?
No​
* Why can't we fix video playback?
The video drivers and codecs are closed source. We cannot modify it. We cannot debug it.
There are no other video drivers or video codecs except for the ICS drivers and codecs. Video streaming technology advances but we are stuck with old drivers and codecs from ICS.​
* Can we use ICS / Jellybean / Kitkat video drivers?
We have always been using ICS video drivers. There is no other driver.
Every ROM for this tablet is using the ICS video drivers.
Every single one. No exceptions.​
* Youtube HD worked with ICS ROM. Why doesn't it work now?
The drivers are outdated. The video drivers are from 2011. The recent Youtube app is using 2015 streaming technology.​
* Can we write new drivers? Can we update the drivers?
No. There is no open source code. There is no technical documentation. We can't do anything without both of those. There is no where to start from. There is nothing that can be modified.​
* Why is there no open source code or technical documentation for video drivers?
They are closely guarded NVidia secrets. They will not release it to the public.​
Misc. issues
* Can't mount USB storage. How to mount USB storage?
Use StickMount​
* TRIM does not work. (fstrim : FSTRIM: Operation not supported on transport endpoint)
TRIM is disabled due to the eMMC "SuperBrick" bug​
* Undervolting
Use this at your own risk!
The only app for voltage control that is officially supported by this kernel is SetCPU.
Most apps use the same kernel interface for voltage control but none of the app developers agreed on a standard interface. For that reason it is impossible to support all apps. Do not use any other app for voltage control.​
* Do CyanogenMod themes work?
* Do Touchwiz themes work?
* CM-12 themes?
* CM-11 themes?
No.​
* Swipe gesture not working with stock keyboard.
Swipe gestures will not work with the stock keyboard. Install the Google Keyboard.
It requires a proprietary library from Google. This closed source module does not work on this tablet.​
* I have some other problem.
Send me system logs and describe in detail what the problem is. See Problem Reporting Steps below.​
Problem reporting steps:
How to send system logs:
Root the device by installing ChainFires SuperSU.
Install SysLog.
Reproduce the problem.
Open Syslog app and save the Kernel Log and Main Log.
Send me the log files stored in /sdcard/Syslog.
Share the files on Dropbox or another similar site.
Then PM me a link to the files. Please describe exactly what the issue is.
Damn! I definitely wasn't expecting this so quickly since it took so long for KK to arrive for our tab. Thanks a lot for this. Hopefully we can see a p4 build since it has almost the same source tree as p4wifi. Even if we can't, I'd still be flashing this on my p4.
Sent from my GT-P7500 using Tapatalk
eushaun99 said:
Damn! I definitely wasn't expecting this so quickly since it took so long for KK to arrive for our tab. Thanks a lot for this. Hopefully we can see a p4 build since it has almost the same source tree as p4wifi. Even if we can't, I'd still be flashing this on my p4.
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
I'm going to put up a p4 build. But since I only have the p4wifi I have no guarantees that it will work right away...
decatf said:
I'm going to put up a p4 build. But since I only have the p4wifi I have no guarantees that it will work right away...
Click to expand...
Click to collapse
I can test it, but I can't test the 3g since I don't have a sim card for my tab.
Sent from my GT-P7500 using Tapatalk
Hows the speed?
Laggy or very usable like omni rom by AAccount?
.me said:
Hows the speed?
Laggy or very usable like omni rom by AAccount?
Click to expand...
Click to collapse
The performance is similar to Kitkat. It didn't get much better or worse.
It's that weird time of the year again where my old GT-P7510 is going to run lollypop before my Nexus receives it's ota! ?
Small question, I did my twrp backup and downloaded everything. Now, can I just restore my cm10.2 backup is I don't like how lollypop runs on my tablet?
Sent from my Nexus 7 2013
Edit : I flashed the gapps and its all good. I guess there is no way to make the tab faster though right ?
Hi
I just tried to flash this rom.
When I flash it the first time I couldn't do anything (ie open the browser, open play store etc). Every app was crashing.
I then tried to flash it twice in a row. The problem is after flashing it once, TWRP disappeared when I tried to boot the recovery. Instead I had the dead android with a read triangle with a "!" inside.
Anyone can help ?
Thank you for helping and thank you to the developer that cooked this.
Wow, thank you for your great work!
Olivier V said:
It's that weird time of the year again where my old GT-P7510 is going to run lollypop before my Nexus receives it's ota! ?
Small question, I did my twrp backup and downloaded everything. Now, can I just restore my cm10.2 backup is I don't like how lollypop runs on my tablet?
Sent from my Nexus 7 2013
Click to expand...
Click to collapse
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
diperso said:
Edit : I flashed the gapps and its all good. I guess there is no way to make the tab faster though right ?
Hi
I just tried to flash this rom.
When I flash it the first time I couldn't do anything (ie open the browser, open play store etc). Every app was crashing.
I then tried to flash it twice in a row. The problem is after flashing it once, TWRP disappeared when I tried to boot the recovery. Instead I had the dead android with a read triangle with a "!" inside.
Anyone can help ?
Thank you for helping and thank you to the developer that cooked this.
Click to expand...
Click to collapse
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.
decatf said:
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.
Click to expand...
Click to collapse
Sorry I realise I was not clear.
What I did:
Full Wipe
Install TWRP
Install rom
Reinstall TWRP
Reinstall Rom
Install TWRP
Flash gapps
It works very well for me =) Smooth and fast for now.
What I did :
- Install clockworkmod 6.0.6 with Odin
- Install the ROM twice
- Reboot
- Reinstall clockworkmod (don't know why it crashed)
- Install GApps
I was running the original ROM before and it seems to be faster now.
Thak you for the great job !
decatf said:
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.
Click to expand...
Click to collapse
Same problem here, TWRP is gone... :crying:
I'll try flashing the recovery with odin..
Uhh I'm having a different problem. I can't flash the ROM zip at all. Tried with TWRP 2.7.1.0 and 2.8.0.0. In recovery it says error executing update binary. I checked the log and it said 'line 4 col 150: unknown function "block_image_update". Did I miss something? Flashed the p4 version BTW.
Edit: recovery.log
Sent from my GT-P7500 using Tapatalk
pontos2 said:
It works very well for me =) Smooth and fast for now.
What I did :
- Install clockworkmod 6.0.6 with Odin
- Install the ROM twice
- Reboot
- Reinstall clockworkmod (don't know why it crashed)
- Install GApps
I was running the original ROM before and it seems to be faster now.
Thak you for the great job !
Click to expand...
Click to collapse
Could you give me a link to the cwm 6.0.6 recovery? I tried the one I had but it didn't work.
Sent from my Nexus 7 2013
Olivier V said:
Could you give me a link to the cwm 6.0.6 recovery? I tried the one I had but it didn't work.
Sent from my Nexus 7 2013
Click to expand...
Click to collapse
I think it's this one : droidbasement .com/db-blog/?p=3054
pontos2 said:
I think it's this one : droidbasement .com/db-blog/?p=3054
Click to expand...
Click to collapse
Didn't work with Odin 1.85... i'll try with other versions of Odin.
Olivier V said:
Didn't work with Odin 1.85... i'll try with other versions of Odin.
Click to expand...
Click to collapse
I had the same problem (md5 not didn't match) the first time, but I downloaded the recovery again and flashed it without changing the name.
Purhaps you should try a latest Odin ? odindownload.com
pontos2 said:
I had the same problem (md5 not didn't match) the first time, but I downloaded the recovery again and flashed it without changing the name.
Purhaps you should try a latest Odin ? odindownload.com
Click to expand...
Click to collapse
Everytime i flash with Odin it says it passed, but when i reboot and try to get into recovery i get a dead lil droid...
Is there another way of flashing a recovery?

[KERNEL][3.10.96] Cody Kernel ~ 07||02||2015 ~ REVAMPED

FAQs:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Get the name of kernel (parital) wakelock that's keeping your device awake
4. Do I need to wipe anything when flashing this kernel?
A: No
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.
downloads: mediafire
latest mirrors: d-h.st | mediafire
latest version: CodyKernel-Revamped
The zip's are named in the following fashion:
Code:
cody_kernel-sprout_<date>_<month>_<year>.zip
source:
cody_kernel_sprout/cm13.0
credits:
@varun.chitre15, @intersectRaven and @thewisenerd for base kernel works
kernel changelog:
http://forum.xda-developers.com/showpost.php?p=61201097&postcount=3
XDA:DevDB Information
CodyKernel for Sprout, Kernel for the OEM Cross Device Development
Contributors
Agaphetos, thewisenerd, varun.chitre15, intersectRaven
Source Code: https://github.com/agaphetos/cody_kernel_sprout
Kernel Special Features:
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to 3.10.96
- compiled using UBER Linaro GCC 6.0-2015.10 (6.0) (thanks @Cl3Kener for his toolchain)
- supports all android-5.1 and android-6.0 ROMs
- UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Asynchronous Fsync from HTC (credits to imoseyon)
- sweep2wake+sweep2sleep + doubletap2wake. (disabled by default)
- pocket_mod prox hax!
- flashable zip created via AnyKernel2 (credits to osm0sis)
- Wifi Power Management Control (credits to varunchitre15)
- ThunderZap Features: (credits to varunchitre15)
* ThunderQuake Engine
* thunderplug
* thunderX cpu_governor
* thundercharge
Version Information
Status: Stable
Created 2015-06-06
Last Updated 2016-02-07
features
Terminal commands for some of the options in this kernel:
==================================================
WAKEMODS
==================================================
sweep2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/sweep2wake
modes available:
0 - disable *default*
1 - enable
--------------------------------------------------
sweep2sleep_only
Code:
echo [mode] > /sys/android_touch/s2w_s2sonly
modes available:
0 - disable *default*
1 - enable
==================================================
doubletap2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/doubletap2wake
modes available:
0 - disable *default*
1 - enable
==================================================
pocketmod
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/pocket_mod/enable
modes available:
0 - disable
1 - enable *default*
--------------------------------------------------
pocket_mod_timeout
Code:
echo [value] > /sys/pocket_mod/timeout
values available:
0 - disable
k ms - valid value (600 - *default*)
==================================================
THUNDERZAP FEATURES
==================================================
ThunderQuake Engine
--------------------------------------------------
toggle
Code:
echo [level] > /sys/kernel/thunderquake_engine/level
levels available:
0-7 - Intensity Level (0 for lowest and 7 for highest)
==================================================
ThunderCharge
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/kernel/thundercharge_control/enabled
modes available:
0 - disable *default*
1 - enable
--------------------------------------------------
Custom AC Current
toggle
Code:
echo [level] > /sys/kernel/thundercharge_control/custom_ac_current
levels available:
100-1000 - mA valid values
600 - mA *default*
--------------------------------------------------
Custom USB Current
toggle
Code:
echo [level] > /sys/kernel/thundercharge_control/custom_usb_current
levels available:
100-1000 - mA valid values
450 - mA *default*
==================================================
MISC
==================================================
Wifi PM
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/kernel/mt_wifi/pm_mode
modes available:
0 - disable
1 - normal
2 - power-saving *default*
==================================================
SELinux status
--------------------------------------------------
toggle
Code:
setenforce [mode]
modes available:
0 - permissive
1 - enforcing
==================================================
features and changelog
features
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to 3.10.96
- compiled using UBER Linaro GCC 6.0-2015.10 (6.0) (thanks @Cl3Kener for his toolchain)
- supports all android-5.1 and android-6.0 ROMs
- UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Asynchronous Fsync from HTC (credits to imoseyon)
- sweep2wake+sweep2sleep + doubletap2wake. (disabled by default )
- pocket_mod prox hax!
- flashable zip created via AnyKernel2 (credits to osm0sis)
- Wifi Power Management Control (credits to varunchitre15)
- ThunderZap Features: (credits to varunchitre15)
* ThunderQuake Engine
* thunderplug
* thunderX cpu_governor
* thundercharge
changelog
15Nov2015 - CodyKernel-Revamped
- Updated to Linux 3.10.96
- Updated to android-6.0.1_r0.16
- mediatek: mt_wifi: refine p2p earlysuspend registrations (credits to varunchitre15)
- fs/buffer.c: increase the buffer-head per-CPU LRU size (credits to sebastienbuisson)
- mm/slub: don't wait for high-order page allocation (credits to JoonsooKim)
- sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks (credits to francisofranco)
- mediatek: wlan power saver mode control (credits to varunchitre15)
- Added ThunderZap Features: (credits to varunchitre15)
* thunderplug
* thunderX cpu_governor
* thundercharge
older:
15Nov2015 - CodyKernel-Revamped
- Updated to Linux 3.10.93
- pocket_mod_timeout: bringup! in collaboration with @thewisenerd
- flashable zip created via AnyKernel2 by @osm0sis
17Oct2015 - CodyKernel-Revamped
- CodyKernel-Revamped
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to Linux 3.10.90
- compatible for both android-5.1(Lollipop) and android-6.0(Marshmallow)
- compiled using UBERTC-6.0
- bring up pocket_mod for sprout!
- use stock cpufreq-scheduler and iosched-governor (hotplug+bfq) *change it using any kernel control app*
06Sep2015 - CodyKernel-8.0
- Updated to Linux 3.10.87
- Total fix of wake delays (commit 8cc8fefb and 2da8f2d4<credits to @W4TCH0UT>)
- couple of patches to ARM, cpuidle, nohz, block, net, mm, sched, proc, fs, mmc, slub, slab, PM, QoS, pkt_sched (see github for whole changelog)
16Aug2015 - CodyKernel-7.1
- Updated to Linux 3.10.86
- Updated to android-5.1.1_r0.16
- Fixed wake delays (commit e9f38c28)
- SELinux to Permissive
09Aug2015 - CodyKernel-7.0
- Updated to Linux 3.10.85
- fs: fsync: add a toggle to enable or disable fsync() operations (credits to franciscofranco)
- PM / sleep: unregister wakeup source when disabling device wakeup (credits to zhang-rui)
- couple of patches to SELinux (credits to namhyung, Mark Salyzyn, longman88, pcmoore and kernelslacker)
- sched, smp: Correctly deal with nested sleeps (credits to Peter Zijlstra)
- tcp: we can enable tcp fast open functionality by default (credits to franciscofranco)
- tick: don't update idle time if cpu offline (credits to franciscofranco)
- sched/balancing: Prevent the reselection of a previous env.dst_cpu (credits to Vladimir Davydov)
- couple of patches to hwrang (credits to William Clark and bebarino)
13Jul2015 - CodyKernel-6.1
- added new IO Schedulers (VR, sio, zen, fifo, bfq, fiops)
- mm: push readahead to 1024kB
- set SIO as default IO Scheduler
12Jul2015 - CodyKernel-6.0
- Updated to Linux 3.10.84
- Added new cpu governors (smartmax, wheatley, alucard)
05Jul2015 - CodyKernel-5.0
- Updated to Linux 3.10.82
- Added powersuspend PM driver (credits to faux123 and yank555-lu)
- Added intelliactive governor (credits to faux123)
27Jun2015 - CodyKernel-4.0
- Updated to Linux 3.10.81
- Added cpu-boost driver (credits to Saravana Kannan)
- Added ThunderQuake Engine (credits to varuntchitre15)
- patches to rtmutex (credits to Thomas Gleixner)
- ARM: only allow kernel mode neon with AEABI (credits to Russell King)
- patches to Power,PM/QoS (credits to Alex Frid, Antti P Miettinen, Gaurav Sarode, Li Li, terjebergstrom and Puneet Saxena)
- cpu: Implement cpu core control (credits to andip71)
- ARM: make kernel oops easier to read (credits to Russell King)
- patches to cpufreq (credits to Saravana Kannan, Rohit Gupta, Swetha Chikkaboraiah, Srivatsa Vaddagiri and Patrick Cain)
- patches to sched (credits to Tk-Glitch, anarkia1976 and Steve Muckle)
- drivers/misc: remove battery logs (credits to varunchitre15)
21Jun2015 - CodyKernel-3.1
- fixed deep sleep issue
- updated UKSM from 0.1.2.2 to 0.1.2.3
- added Asynchronous Fsync (credits to imoseyon)
couple of patches to the following:
- cpuidle (credits to Tuukka Tikkanen, colincross, Daniel Lezcano, Viresh Kumar, paulburton, Chander Kashyap, amluto, ao2, imeraj, Mel Gorman, Christoph Lameter, Villemoes
- ARM (credits to Rob Herring
- power (credits to jinqian, Ruchi Kandoi, Joe Swantek
- memblock (credits to fnst-lrt, Yinghai Lu)
- workqueue (credits to Li Bin, Thomas Gleixner, fabianfrederick, laijs, utrace, valdisk,
- mm (credits to laijs, fabianfrederick, rashika, JoonsooKim, Davidlohr Bueso, torvalds, bbedward, Catalin Marinas)
- kmemleak (credits to lizf-git)
- readahead (credits hellsgod)
- block (credits to myfluxi, Dave Chinner, jankara, Tanya Brokhman)
- sched (credits to Michael Wang, Peter Zijlstra, Matt Wagantall)
- writeback (credits to Namjae Jeon, Junxiao Bi)
- fuse (credits xemul, andrewjcg, Maxim Patlasov, Rajat Jain
- int_sqrt (credits ramgear)
- PM: devfreq (credits to myfluxi)
(credits to franciscofranco for the following)
- Enable pipe flag.
- mm: push readahead to 512kB
- block: row: add magic values.
- audit: kiss goodbye you stupid piece of crap logging messages.
(credits to faux123 for the following)
- page_alloc: Make watermarks tunable separately
- android: binder: use GPF_HIGHUSER flag since binder is designed for u…
(credits to imoseyon for the following)
- mmc: core: Expose use_spi_crc module parameter in sysfs
- random: remove warning
- random: prevent add_input from doing anything
- fs: sync: Asynchronous Fsync from HTC
- fs/super.c: sync ro remount after blocking writers (credits to aeruder)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- timer: make deferrable cpu unbound timers really not bound to a cpu (credits to Joonwoo Park)
- wakeup: Add last wake up source logging for suspend abort reason (credits to Ruchi Kandoi)
- kthread_work: wake up worker only when the worker is idle (credits to laijs)
- futex: Add another early deadlock detection check (credits to Thomas Gleixner)
14Jun2015 - CodyKernel-2.2
- Set INTERACTIVE Governor and ROW Scheduler as default
- Enable UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Set SELinux to Enforcing (set it to Permissive at your own risk )
- add uksm 0.1.2.2 for v3.0 .ge.84.patch
- Added ROW I/O scheduler (credits to intersectRaven)
- power: make sync on suspend optional (credits to rknize)
- aio: Skip timer for io_getevents if timeout=0 (credits to famz)
- workqueue: allow rescuer thread to do more work. (credits to neilbrown)
- cpufreq: Introduce new relation for freq selection (credits to Stratos Karafotis)
- couple patches for block and fs improvement (credits to intersectRaven and Tatyana Brokhman)
- touches to hotplug, writeback: increase bdi_min_ratio to 5 (credits to intersectRaven)
- patches for lib/string and lib/memcopy (credits to DooMLoRD and faux123)
- patches to nohz_full (credits to paulmck and khilman)on of all-idle
- couple of ARM patches (credits wildea01, hglm, khilman, kimphill and Russell King)
- patches for task's adj rbtree (credits to Yi-wei Zhao)
- mm patches (credits to JoonsooKim, Lee Susman and Christoph Lameter)
- couple of patches to io sched/idle (credits to Peter Zijlstra, Tim Chen, Davidlohr Bueso, hofrat, Chinmay V S)
- Enhance power efficiency: Series of patches from NVIDIA (credits to Klozz)
- Added optimized ARM RWSEM algorithm. (credits to Ezekeel)
- cpuidle: remove cross-cpu IPI by new latency request. (credits to Guojian Chen)
- staging: binder: Change binder mutex to rtmutex. (credits to Riley Andrews)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
13Jun2015 - CodyKernel-2.0
- Updated kernel to v3.10.80
- Added more cpu governors
(Credits to broonie for the following)
- ASoC: compress: Use power efficient workqueue …
- ASoC: jack: Use power efficient workqueue …
- regulator: core: Use the power efficient workqueue for delayed powerdown …
- ASoC: pcm: Use the power efficient workqueue for delayed powerdown …
(credits to Viresh Kumar for the following)
- fbcon: queue work on power efficient wq …
- block: queue work on power efficient wq …
- PHYLIB: queue work on system_power_efficient_wq …
- workqueue: Add system wide power_efficient workqueues …
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented … …
(credits to Varun Chitre for the following)
- mediatek: cpufreq: add more governor checks …
- mediatek: hotplug: improve current governor checks …
- sprout : back to enforcing
- mediatek : fix kernel panic on non-hotplug governors …
- mmc: disable crc check for 30% extra performance
07Jun2015 - CodyKernel-1.1
- DISABLED S2W AND DT2W BY DEFAULT. (as it drains battery fast. enable it at your own risk. )
(Credits to Varun Chitre for the following)
- defconfig: enable multicore scheduler.
- mali: reduce gpu utilization timeout.
- mali: disable state tracking.
- mali: increase l2 cache max read size.
- mali: increase kernel memory buffer size.
- Disabled GFS and enabled ARCH_POWER.
06Jun2015 - INITIAL RELEASE
- Remove the '+' sign on the kernel local version. (credits to franciscofranco)
- bringup s2w/d2w for sprout! (credits to thewisenerd)
- Fix kernel ooops upon changing CPU governor. (credits to Raymond Golo (intersectRaven))
- defconfig : enable selinux and set to permissive (credits to Varun Chitre)
- mediatek: fixup section mismatches (credits to Varun Chitre)
- ARM: try fixing commit fe9c7cb6 (credits to thewisenerd)
- ARM: fix commit aff6af4d based off b4ef696d (credits to thewisenerd)
Available CPUFreq Governors and I/O Schedulers
==================================================
Available CPUFreq governors:
--------------------------------------------------
- performance
- powersave
- userspace
- ondemand
- interactiveplus
- interactive *default*
- conservative
- hotplug
- intelliactive
- smartmax
- wheatley
- alucard
==================================================
Available I/O schedulers:
--------------------------------------------------
- ROW
- CFQ
- V(R)
- Simple I/O (SIO)
- Zen
- Fifo
- BFQ *default*
- FIOPS
==================================================
FIRST of all thank you sir for this awesome kernel and I have a dumb question I can't get sweep to sleep or sweep 2 wake TO work can you tell me how to do it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
nap533 said:
FIRST of all thank you sir for this awesome kernel and I have a dumb question I can't get sweep to sleep or sweep 2 wake TO work can you tell me how to do it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
Click to expand...
Click to collapse
We've tested it on 3 of the 5 different panels used by the sprout family. You are perhaps using one of the remaining two. Please contact OP @Agaphetos for more details on how you can help us fix this.
thewisenerd said:
We've tested it on 3 of the 5 different panels used by the sprout family. You are perhaps using one of the remaining two. Please contact OP @Agaphetos for more details on how you can help us fix this.
Click to expand...
Click to collapse
for your information I'm using micromax canvas a1 model no: AQ4501 and I can't help you I'm not a DEV sir could you please look into it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
nap533 said:
for your information I'm using micromax canvas a1 model no: AQ4501 and I can't help you I'm not a DEV sir could you please look into it??
Click to expand...
Click to collapse
in which case you can't take ADB logs; you can always send me your device, and I assure you it'll be fixed, ASAP.
Anyone else with AQ4501 willing to provide a few logs for the sake of bringup?
P.S. And oh, i'll send you back your device safe and sound.
I have an AQ4501, ,I added the Wakemods to my own kernel, thanks @thewisenerd
I can confirm that dt2w works flawlessly. S2w takes a bit of time, need to swipe the full screen, a couple of times, then it works
What logs do you need???
Sent from my A0001 using XDA Free mobile app
I've figured out how to use sw2 only thanks to you I can use my device without mashing power button and one bug sweep to sleep doesn't work if you deactivate sweep to wake is it a prob?? and to use sw2s swipe on the nav bar from left to right and again left it works flawless for me thank you for the kernel again and I request you to optimize the kernel sir performance is on par when compared to black box is 2.5k lesser in antutu your kernel got 19381 in antutu and bb got 22356 so all the best for future
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
another doubt sir we have set echo on every boot?? it seems it's not working for me until I do echo after reboot can I fix it anyway??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
13Jun2015 - CodyKernel-2.0
Download Links: d-h.st | mediafire
Changelog:
- Updated kernel to v3.10.80
- Added more cpu governors
(Credits to broonie for the following)
- ASoC: compress: Use power efficient workqueue …
- ASoC: jack: Use power efficient workqueue …
- regulator: core: Use the power efficient workqueue for delayed powerdown …
- ASoC: pcm: Use the power efficient workqueue for delayed powerdown …
(credits to Viresh Kumar for the following)
- fbcon: queue work on power efficient wq …
- block: queue work on power efficient wq …
- PHYLIB: queue work on system_power_efficient_wq …
- workqueue: Add system wide power_efficient workqueues …
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented … …
(credits to Varun Chitre for the following)
- mediatek: cpufreq: add more governor checks …
- mediatek: hotplug: improve current governor checks …
- sprout : back to enforcing
- mediatek : fix kernel panic on non-hotplug governors …
- mmc: disable crc check for 30% extra performance
14Jun2015 - CodyKernel-2.2
14Jun2015 - CodyKernel-2.2
Download Links: d-h.st | mediafire
Changelog:
- Set INTERACTIVE Governor and ROW Scheduler as default
- Enable UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Set SELinux to Enforcing (set it to Permissive at your own risk )
- add uksm 0.1.2.2 for v3.0 .ge.84.patch
- Added ROW I/O scheduler (credits to intersectRaven)
- power: make sync on suspend optional (credits to rknize)
- aio: Skip timer for io_getevents if timeout=0 (credits to famz)
- workqueue: allow rescuer thread to do more work. (credits to neilbrown)
- cpufreq: Introduce new relation for freq selection (credits to Stratos Karafotis)
- couple patches for block and fs improvement (credits to intersectRaven and Tatyana Brokhman)
- touches to hotplug, writeback: increase bdi_min_ratio to 5 (credits to intersectRaven)
- patches for lib/string and lib/memcopy (credits to DooMLoRD and faux123)
- patches to nohz_full (credits to paulmck and khilman)on of all-idle
- couple of ARM patches (credits wildea01, hglm, khilman, kimphill and Russell King)
- patches for task's adj rbtree (credits to Yi-wei Zhao)
- mm patches (credits to JoonsooKim, Lee Susman and Christoph Lameter)
- couple of patches to io sched/idle (credits to Peter Zijlstra, Tim Chen, Davidlohr Bueso, hofrat, Chinmay V S)
- Enhance power efficiency: Series of patches from NVIDIA (credits to Klozz)
- Added optimized ARM RWSEM algorithm. (credits to Ezekeel)
- cpuidle: remove cross-cpu IPI by new latency request. (credits to Guojian Chen)
- staging: binder: Change binder mutex to rtmutex. (credits to Riley Andrews)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
nap533 said:
I've figured out how to use sw2 only thanks to you I can use my device without mashing power button and one bug sweep to sleep doesn't work if you deactivate sweep to wake is it a prob?? and to use sw2s swipe on the nav bar from left to right and again left it works flawless for me thank you for the kernel again and I request you to optimize the kernel sir performance is on par when compared to black box is 2.5k lesser in antutu your kernel got 19381 in antutu and bb got 22356 so all the best for future
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
Click to expand...
Click to collapse
21Jun2015 - CodyKernel-3.1
Download Links: d-h.st | mediafire
Changelog:
- fixed deep sleep issue
- updated UKSM from 0.1.2.2 to 0.1.2.3
- added Asynchronous Fsync (credits to imoseyon)
couple of patches to the following:
- cpuidle (credits to Tuukka Tikkanen, colincross, Daniel Lezcano, Viresh Kumar, paulburton, Chander Kashyap, amluto, ao2, imeraj, Mel Gorman, Christoph Lameter, Villemoes
- ARM (credits to Rob Herring
- power (credits to jinqian, Ruchi Kandoi, Joe Swantek
- memblock (credits to fnst-lrt, Yinghai Lu)
- workqueue (credits to Li Bin, Thomas Gleixner, fabianfrederick, laijs, utrace, valdisk,
- mm (credits to laijs, fabianfrederick, rashika, JoonsooKim, Davidlohr Bueso, torvalds, bbedward, Catalin Marinas)
- kmemleak (credits to lizf-git)
- readahead (credits hellsgod)
- block (credits to myfluxi, Dave Chinner, jankara, Tanya Brokhman)
- sched (credits to Michael Wang, Peter Zijlstra, Matt Wagantall)
- writeback (credits to Namjae Jeon, Junxiao Bi)
- fuse (credits xemul, andrewjcg, Maxim Patlasov, Rajat Jain
- int_sqrt (credits ramgear)
- PM: devfreq (credits to myfluxi)
(credits to franciscofranco for the following)
- Enable pipe flag.
- mm: push readahead to 512kB
- block: row: add magic values.
- audit: kiss goodbye you stupid piece of crap logging messages.
(credits to faux123 for the following)
- page_alloc: Make watermarks tunable separately
- android: binder: use GPF_HIGHUSER flag since binder is designed for u…
(credits to imoseyon for the following)
- mmc: core: Expose use_spi_crc module parameter in sysfs
- random: remove warning
- random: prevent add_input from doing anything
- fs: sync: Asynchronous Fsync from HTC
- fs/super.c: sync ro remount after blocking writers (credits to aeruder)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- timer: make deferrable cpu unbound timers really not bound to a cpu (credits to Joonwoo Park)
- wakeup: Add last wake up source logging for suspend abort reason (credits to Ruchi Kandoi)
- kthread_work: wake up worker only when the worker is idle (credits to laijs)
- futex: Add another early deadlock detection check (credits to Thomas Gleixner)
awesome kernel thanks for optimizing so fast thank you sir can you add otg support?? is it possible ?? if not why it isn't possible??
Sent from my Micromax AQ4501 using XDA Forums PRO
27Jun2015 - CodyKernel-4.0
27Jun2015 - CodyKernel-4.0
Download Links: d-h.st | mediafire
Changelog:
- Updated to Linux 3.10.81
- Added cpu-boost driver (credits to Saravana Kannan)
- Added ThunderQuake Engine (credits to varuntchitre15)
- patches to rtmutex (credits to Thomas Gleixner)
- ARM: only allow kernel mode neon with AEABI (credits to Russell King)
- patches to Power,PM/QoS (credits to Alex Frid, Antti P Miettinen, Gaurav Sarode, Li Li, terjebergstrom and Puneet Saxena)
- cpu: Implement cpu core control (credits to andip71)
- ARM: make kernel oops easier to read (credits to Russell King)
- patches to cpufreq (credits to Saravana Kannan, Rohit Gupta, Swetha Chikkaboraiah, Srivatsa Vaddagiri and Patrick Cain)
- patches to sched (credits to Tk-Glitch, anarkia1976 and Steve Muckle)
- drivers/misc: remove battery logs (credits to varunchitre15)
IjazCI said:
Can you add this to your kernel.
"ThunderQuake Engine by varun chitre"
Click to expand...
Click to collapse
new update is out.
I added ThunderQuake Engine.
check post: CodyKernel-4.0
05Jul2015 - CodyKernel-5.0
05Jul2015 - CodyKernel-5.0
Download Links: d-h.st | mediafire
Changelog:
- Updated to Linux 3.10.82
- Added powersuspend PM driver (credits to faux123 and yank555-lu)
- Added intelliactive governor (credits to faux123)
My phone keeps crashing and rebooting. I already changed from interactive to hotplug. The following is my pastie. Hope it helps.
http://pastie.org/10284531

[KERNEL][LOS-N/O] 28-06-2018 AGNi 🔥 pureLOS-N/O v13.0

AGNi pureLOS-N/O
(Audiophile's Blazing Fast & Efficient Kernel)​
{
"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"
}
Join Telegram DISCUSSION & TESTING GROUP
AGNi Toolbox:- GOTO 3rd POST HERE
For Android 7.x / 8.x LOS/AOSP
DOWNLOAD pureLOS-N/O kernel:- HERE
General Improvements:
Built with custom UBERTC GCC 8.0.0
Enhanced compiler optimizations with device and target flags, build improvements, etc
Removed a ton of debug and logging to improve performance
ARM64 enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
CPU & GPU Improvements:
Interactive governor tuned to achieve maximum performance with best battery life by default
Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
Slight OC, mild undervolt to reduce heat and improve stability and battery life
Input boost off by default
Adreno Idler and Adrenoboost available
CPU and GPU Voltage control (optional)
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
I/O improvements:
Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
ext4-lazytime mounting for /data (improves filesystem performance)
UKSM while charging to optimize RAM use option
Dynamic FileSync toggle
Supports SDCARDFS, CIFS, exFAT
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Wake gestures, dt2w, s2s and s2w for all panels
Sound improvements:
modify headphone processing for increased fidelity
modify speaker processing for clarity
Implemented flar2 sound control along with Franco sound control
Slimbus OC for better sound quality
Added a lot of audio enhancements (heaven for audiophiles)
Fixed earpiece & mic boost
Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
Headphone impedance detection
Headphone mic volume boost
Fix earphone Jack's various problems
Battery improvements:
USB Fast Charge (USB mode up to 900mA with MTP on)
Boeffla Wakelock blocker available
Power efficient workqueues
Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
Fast charging with maximum 2100mA safe limit with temperature control
Miscellaneous improvements:
Optimized hardware accelerated crc+crypto routines
Implemented lot of security fixes
Vibrator Strength tunable
Notification LED brightness options
Can use device as USB keyboard and mouse with the app by pelya
Option to select SElinux mode while installing
Compatibility with Magisk v14+ and SuperSU SR5
Compatible with Kernel Auditor and EX Kernel Manager
Spectrum app profiles support
AGNi improvements:
Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
Works on all Marshmallow, Nougat and Oreo ROMs
AGNi pureLOS CHANGELOG:-
AGNi pureLOS-N/O v13.0:-
qdsp6v2: dts_eagle: use newer drivers
wcd9335: accept interrupts for huwifi mode
sound: wcd9335: add huwifi_mode & low_distort_amp mode
sound:codecs: wcd9335: remove impedl code
msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
sound: codecs: wcd9335: laster k's driver
slimbus: lower oc
sound: wcd9335: Disable g_DebugMode
Initial AudioWizard bringup
sound: DTS-Eagle integration
drivers: Initial import of DTS-Eagle driver
Kconfig: msm: remove deprecated dts eagle driver
revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
revert: "ipsec: Fix aborted xfrm policy dump crash
revert: "BACKPORT: net: xfrm: support setting an output mark.
revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
AGNi Control: enable fsync operations by default
AGNi Installer: fix frequency hysteresis values
AGNi pureLOS-N/O v12.9:-
New Additions:-
Merge caf/LA.BR.1.3.7_rb1.11
staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
fs: sdfat: sync upstream
fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
enable HARDEN_BRANCH_PREDICTOR
disable SCHED_FREQ_INPUT
drivers/power: disable bcl
mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
Updates:-
ANDROID: sdcardfs: Set s_root to NULL after putting
ANDROID: sdcardfs: d_make_root calls iput
ANDROID: sdcardfs: Check for private data earlier
ANDROID: sdcardfs: Hold i_mutex for i_size_write
ANDROID: sdcardfs: Protect set_top
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
UPSTREAM: scsi: sg: don't return bogus Sg_requests
ALSA: pcm: prevent UAF in snd_pcm_info
ALSA: pcm: use lock to protect substream runtime resource
ALSA: pcm: add locks for accessing runtime resource
ANDROID: sound: rawmidi: Hold lock around realloc
drivers: qdsp6v2: Add mutex unlock to properly release lock
binder: use GFP_HIGHUSER flag since binder is designed for userspace
Bluetooth: Prevent stack info leak from the EFS element
ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
msm: ADSPRPC: validate user buffers after copying from user
dts: kenzo: disable sched_enable_power_aware
kgsl: convert some workqueues to use kthreads
kgsl: Increase priority of RT thread
msm: mdss: check buffer size before writing to user buffer
dtsi: adjust prim panel and panel-supply as per latest miui
kernel: disable arch_power by default & allow toggle
cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
Fixes:-
kernel/cgroup: fix permission checks for task group attach
kernel/workqueue: restore to older state
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
ipsec: Fix aborted xfrm policy dump crash
BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
msm: mdss: Fix for wrong length in copy_to_user
msm: sensor: actuator: fix out of bound read for region params
msm: sensor: actuator: check NULL pointer for actuator ctrl
revert: "msm: mdss: fix race condition between rotator api's
dts: fix big cluster max-corners
dts: restore 133,200,366MHz gpu freq steps
AGNi specific additions:-
AGNi Control: tweak impulse governor & other governor scripts
AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
AGNi Installer: add gpu uv option
AGNi Installer: tweak scheduler
AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
AGNi Installer: use modified thermal config [LOS-N/O]
AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]
AGNi pureLOS-N/O v12.8:-
Audio:-
aw8738_amp: change to mode 5
Disable graphite optimizations for sound,qdsp6v2
wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
audio: add cmdline option for 16(default)/32bits default compr & pcm routing
ASoC: squashed revert to older state
slimbus: set max limit 24bit @ 192KHz
New Additions:-
prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
Merge caf/LA.BR.1.3.7_rb1.9
drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
dm,md verity commits
qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
Convert some more drivers to use msecs_to_jiffies insted of HZ
reboot_auto_fsync: flush writeback buffers and sync more completely
fsync: flush writeback buffers with auto fsync & sync-on-suspend
fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
Updates:-
Disable discard mount early mount of system partition [LOS-O]
cpufreq: cafactive: disable tracing
workqueue: disable power_efficient wq's by default and allow sysfs tunable
block: modify fiops
proc: meminfo: provide estimated available memory
proc: meminfo: estimate available memory more conservatively
CHROMIUM: selinux: Do not log "permissive" denials
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
BACKPORT: USB: core: harden cdc_parse_cdc_header
UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
UPSTREAM: HID: usbhid: fix out-of-bounds bug
UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
nl80211: Define policy for packet pattern attributes
crypto: hmac - require that the underlying hash algorithm is unkeyed
timers, sched_clock: Update timeout for clock wrap
cpu_input_boost: Use power efficient workqueues
cpu_input_boost: increase wakeboost to 2 seconds
Fixes:-
dts: kgsl: remove 366MHz step, restore stock gpu voltages
qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
qpnp-smbcharger: fix "make 2100mA max default charging current"
qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
fs/exfat: partial revert "update exfat (squash commit)"
revert "sched: Set sched_upmigrate_min_nice to 9
revert "sched: Introduce Shadow scheduling
Revert "workqueue: make sure delayed work run in local cpu"
AGNi specific additions:-
AGNi Control: 2.0GHz unlock for big cluster cpus
AGNi Control: tweak cultivation governor
AGNi Control: disable adreno boost default
AGNi Control: tweak default interactive & scheduler
AGNi Control: TCP congestion cubic by default
AGNi Control: tweak cafactive governor
AGNi Control: add again those rare used governor options
AGNi Control: fixup fsync options
AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
AGNi Installer: restructure Aroma Menus to single page
AGNi Installer: remove discard mounts in fstab
AGNi Installer: latest arm64+selinux busybox YDS in /sbin
AGNi Installer: fix rare installer status 7 errors
AGNi Installer: try fix option to select stock cpu voltages
AGNi Installer: add cmdline option for audio 24/32bits audio
AGNi Installer: add option to select stock cpu voltages
AGNi Installer: set QC2.0 9v suppress disabled by default
AGNi Installer: always replace thermal engine & libs
AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]
OLD CHANGELOGS: HERE
Download the app for supporting this keyboard & mouse feature HERE
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMIUI.git
Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches
Version Information
Status: Stable
Created 2016-10-02
Last Updated 2018-06-28
GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX
Try different gpu libs zip:-
Xperia_X_Oreo_GPU_blobs_ktommy91.zip
AGNi 12.4+ deepSleep Hotfix apk:-
use to restart google play services in rare cases of no deep sleep.
may need to run once per reboot
CAMERA LIBS for kenzo/kate:
blobs for following camera sensors:
- ov16880_f16v01a
- ov16880_omida05
- s5k5e8_z5e8yab
- s5k5e8_yx13
- face detection extension blobs
(Old & Obsolete)
Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION
AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
- includes goodix hal and libs
- includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
- patches boot.img to add goodix support (useful for roms without goodix support)
- adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
AGNi Toolbox
AGNi Toolbox v1.6 AROMA-flashable-zip:-
update magisk uninstaller codes
AGNi Toolbox v1.5 AROMA-flashable-zip:-
udate updater binary and script
add 2.4GHz wifi channel bonding options
AGNi Toolbox v1.4 AROMA-flashable-zip:-
add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
usable when user forces boot to recovery after a bootloop
AGNi Toolbox v1.3 AROMA-flashable-zip:-
add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)
AGNi Toolbox v1.2 AROMA-flashable-zip:-
add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
(Run from internal storage to scan external sdcard filesystem)
AGNi Toolbox v1.1 AROMA-flashable-zip:-
-Remove FingerPrint Security+Data
-Run ext4 filesystems Check & Repair on /system /data /cache
-Clear Battery Stats Data
-Remove Lock Screen Security
can you recomennded setting for kernel auditor from this kernel
kucingbaik2 said:
can you recomennded setting for kernel auditor from this kernel
Click to expand...
Click to collapse
this is for android 7 Nougat test and let me know
i have no such recommended settings..
Hello, will works with santosh cm14 ?
jordandroid64 said:
Hello, will works with santosh cm14 ?
Click to expand...
Click to collapse
yes its based on same source as its cm14 kernel.. test n give me feedback!
I will flash CM14 this afternoon and test , you have try this kernel ?
Trouble with downloading...
Where can I download this kernel? The download link doesn't work.
icyjuice said:
Where can I download this kernel? The download link doesn't work.
Click to expand...
Click to collapse
Same problem here... Can't download!
Regards!
Really good!
Please add support for goodix fingerprint in your next build if you can
I really appreciate your work!
Please update link?
Flashed this on cm14 by santosh 21september build. Phone boots straight into twrp. Back on stock kernel.
im held up now, will repackage the zip n put when i get free time next
psndna88 said:
im held up now, will repackage the zip n put when i get free time next
Click to expand...
Click to collapse
add s5k3p3_f3p3man camera sensor support too ld be nice
alrightnik said:
add s5k3p3_f3p3man camera sensor support too ld be nice
Click to expand...
Click to collapse
check this: MISSING BLOBS LINK
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
psndna88 said:
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
Click to expand...
Click to collapse
Booted and Works great.
Working well with CM14- Nougat (santhosh)

[KERNEL][AOSP/LOS] SINAI-N4 Kernel

The SINAI-N4 Custom Kernel​
Based on Spezi77's Hellspawn Kernel with upstream features & fixes
F2FS Support
A lot of hotplugs & Governos & I/O scheds
Latest Changes & Fixes from upstream
Clean & Stable sources
Regular updates
And more!
Important information:
Only for Advanced users!
Use THIS kernel adiutor to tweak kernel
Enable any hotplug you like and choose governor, other tweaks you can configure yourself and for your own purposes
Known-issues
HTML:
- Firefox videoplayback doesn't work for some roms
Installation
1. (Optional)Wipe cache/dalvik cache
2. Flash kernel zip over stock kernel of the ROM
3. Reboot system
Downloads:
Nougat/Oreo AOSP BASED: AFH
Nougat CM/LOSBASED: AFH
DO NOT FLASH AOSP based kernel over CM/LOS Oreo rom, you will get "color problems" & LineageOS 15.1 doesn't supported (yet or still)
SPECIAL EDITION, Only for Unlegacy-Android ROM
Nougat/Oreo: AFH
Pie: AFH
Credits:
Special thanks to
- AOSP
- Unlegacy-Android team
- HUGE THANKS TO spezi77
- AdrianDC
- Chipp_a
- frap129
- Basketbuild
- hellsgod
- zaclimon
- rostifaner
- ganachoco
- txuki2005
- yoinx
- Cl3Kener
- franciscofranco
- faux123
- eng.stk
- stratosk
- show-p1984
- mrg666
- Defconoi
- neobuddy89
- flar2
- CallMeAldy
- AK
- Alucard
- And anyone I forgot to mention
XDA:DevDB Information
SINAI Nexus 4 kernel, Kernel for the Google Nexus 4
Contributors
sudokamikaze, spezi77
Source Code: https://github.com/Sudokamikaze/SINAI-N4
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Build 2018-08-16
Stable Release Date: 2018-08-16
Created 2017-05-30
Last Updated 2018-10-31
thanks for your support, work with lineageos?
For the time being, I do not have time to check the action, but I have placed a link to SINAI-N4 in my favorites.
Is the SINAI name from the peninsula?
*Jonny* said:
thanks for your support, work with lineageos?
Click to expand...
Click to collapse
Check post, i added kernel for CM
ze7zez said:
For the time being, I do not have time to check the action, but I have placed a link to SINAI-N4 in my favorites.
Is the SINAI name from the peninsula?
Click to expand...
Click to collapse
Yes
Finally a new kernel for nougat thanks so much for your hard work it supports multirom in case anyone was wondering also has USB otg hack and dt2w support
{
"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"
}
thanks
This kernel does not flash over custom kernel it has to be flashed over a ROMs stock kernel see screenshots
OK
Installation works effectively.
[email protected] said:
This kernel does not flash over custom kernel it has to be flashed over a ROMs stock kernel see screenshots
Click to expand...
Click to collapse
Unpack your custom rom zip on pc
Then fastboot erase boot
and flash your rom stock kernel
fastboot flash boot boot.img (boot.img of your custom rom that unpacked on your pc(
Then go to recovery and flash kernel
But backup rom(/boot and /system in twrp) before this for safe
[email protected] said:
Finally a new kernel for nougat thanks so much for your hard work it supports multirom in case anyone was wondering
Click to expand...
Click to collapse
If you need best expirience, configure kernel in Kernel adiutor, hotplug not enabled by default(will be fixed in new releases) and set "Screen off max frequency" to 486 MHz, Intellihotplug configured by default but not enabled :c
Nice kernel!
Has OTG hack?
multırom twrp ground zero rom mako 7.1.2 kernel flash error
AntonioJaramillo said:
Has OTG hack?
Click to expand...
Click to collapse
Yes See screenshot
hasanben35 said:
multırom twrp ground zero rom mako 7.1.2 kernel flash error
Click to expand...
Click to collapse
Did you flash the siani kernel above the ROMs stock kernel I flashed it in this order for a nougat ROM with siani kernel
Clean flash is my recommendation
ROM
gapps
then Sinai kernel
Then magisk or SuperSU
then reboot
If that doesn't work flash up to twrp 3.1.1.0
Then wipe all partitions except internal storage
Then install in order above
And then boot into primary ROM and reinstall multirom twrp using multirom manager app
Just my best guess
there's a new build by lineage os today.
New Update, check op post for download link!
Git changelog
HTML:
62db627df14 (HEAD -> n-7.1) Revert "Disable MSM_SLEEPER by default"
56f7cb01a4d Revert " msm: Add CPU freq limiter driver"
b4de61cfae7 Revert "msm: limiter: Introduce initial multi cpu control"
5e92fa4da6d Revert "msm: limiter: Add controls for per cpu governor"
d42245b40c3 Revert "msm: limiter: Simplify and debugify min/max freq"
f0da6f9d4dd Revert "msm: limiter: Do not store governor locally"
fe53ac12208 Revert "msm: limiter: Add readable tunable for current frequency"
fcd1131de9a Revert "enable msm_limiter by default"
10385b1284b Revert "msm_limiter: tune for mako."
a9826e7b6cd (origin/n-7.1) msm: cpufreq: Ensure cpufreq change happens on corresponding CPU
c2c63870770 msm: cpufreq: Relax constraints on "msm-cpufreq" workqueue
d585e61f67e msm: cpufreq: Configure WQ for higer priority
0957a02bf86 Revert "msm: cpufreq: Remove cross-calling limitation"
ab48dcedea9 msm_fb: Make sure the backlight is not set to 0 at boot
3a97dd91098 msm: kgsl: Fix mem leak when page allocation fails
92442236e67 msm: kgsl: Add check for NULL value from dev_get_drvdata
4043005c9f5 cpufreq: Improve debug prints
e20574ac18a cpufreq: Improve debug prints
8fb7f8508fc cpufreq: Make get governor interface always return good value
8e25bd6bff0 cpufreq: Add interface to set/get min/max freq
e20366a5483 cpufreq: Add interface for gov change
7c8009d340b cpufreq: Export user_policy min/max
fb7fb27094e cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy->cur
de10563a8aa drivers: my faults with naming
f4f94089189 KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring
bc823c0054d KEYS: Fix race between key destruction and finding a keyring by name
812ccd03e9e KEYS: Add invalidation support
6bee3c6f9c4 KEYS: Permit in-place link replacement in keyring list
51fa63856db KEYS: Perform RCU synchronisation on keys prior to key destruction
06427a89aca random32: use msecs_to_jiffies for reseed timer
6895783f55c random32: add __init prefix to prandom_start_seed_timer
9b789bf4614 random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized
bf6de73075d random32: add periodic reseeding
a53b95d5a13 random32: add test cases for taus113 implementation
4ee21145101 random32: upgrade taus88 generator to taus113 from errata paper
93c2572bb78 random32: rename random32 to prandom
c417cf606de timer: Implement TIMER_IRQSAFE
71678d4da95 timer: Clean up timer initializers
93cf3ca769d timer: Relocate declarations of init_timer_on_stack_key()
5d6a8627e36 timer: Generalize timer->base flags handling
89a05cebcce alpha: take a bunch of syscalls into osf_sys.c
d683e97c66e timers: Improve get_next_timer_interrupt()
18cc5049c40 timers: Add accounting of non deferrable timers
e1796bfa316 timers: Consolidate base->next_timer update
08abd4a37ce timers: Create detach_if_pending() and use it
9fed706f355 kernel/timer: revert to make upstream update
0ce4f440760 mm/ksm.c: use new hashtable implementation
c2d45e60533 msm: cpufreq: Always update frequency limits when core is online
9a09f6bb11a cgroup: use new hashtable implementation
c994502d739 watchdog: Fix warning caused by use of smp_processor_id()
98f5d1f0cb3 sched: Fix load avg vs cpu-hotplug
30f96d19051 crypto: arc4 - improve performance by using u32 for ctx and variables
a9f08f0f284 crypto: arc4 - improve performance by adding ecb(arc4)
9e4a7e59ba2 crypto: arc4 - now arc needs blockcipher support
56f58b99342 Input: aiptek - fix crash on detecting device without endpoints
5581f20c7d0 Input: aiptek - adjust error-handling code label
c62d163e4a7 crypto: sha256 - Expose SHA256 generic routine to be callable externally.
70a98898686 arm: vfp: always clear vfp_current_hw_state when forcing reload
b3364d0ef01 ARM: vfpmodule: Move bounce stats file to seq_file and friends
e4793e04fc2 Always set noatime no diratime on all partitions! I/O Boost! V2 [2/2].
2aef5ea8235 Always set noatime no diratime on all partitions! I/O Boost! V2 [1/2].
33d8ecdf40b cpufreq & cpufreq_interactive: tweaks to reduce lags and improve battery life.
779487e4468 Squashed hrtimer optimization commits.
00dc953a906 random: entropy tweaks are all the rage nowadays
5d5c7abb732 CPU hotplug: Provide lockless versions of callback registration funct… …ions
f3aac4179b5 fs: aio: Optimization for SSD-only machines
fdd5f4b40a8 arch/arm/mach-msm/cpufreq.c: reduce dmesg log spam
c4053a57aa4 KGSL: GPU kgsl_pwrctrl.c use min pwr level as default. to reduce battery drain.
d1753828e44 CM:Add another patch
4db46385dcc Disable MSM_SLEEPER by default
028cc1140ee msm_limiter: tune for mako.
f033fdf5ae2 enable msm_limiter by default
cb2b415ce4f msm: limiter: Add readable tunable for current frequency
8595387c381 msm: limiter: Do not store governor locally
0fceb5a2dc0 msm: limiter: Simplify and debugify min/max freq
4db92dc452b msm: limiter: Add controls for per cpu governor
c55faf4bedc msm: limiter: Introduce initial multi cpu control
98405842205 msm: Add CPU freq limiter driver
ace7b0c8f8c Add mako default defconfig, without intelli_thermal for inline building
UPD: Uploaded hotfix, Please reflash!!
[email protected] said:
Yes See screenshot
Click to expand...
Click to collapse
With Los 14.1 + custom kernel + stickmount i cant use Otg. How u can use ?
nefescalanadam said:
With Los 14.1 + custom kernel + stickmount i cant use Otg. How u can use ?
Click to expand...
Click to collapse
Use kernel auditour mod and turn on otg in miscellaneous controls

[PIE/Q][KERNEL][4.9.223-Upstream][GPU-OC] TrinityKernel R4.0 -(Gaming-Battery Kernel)

[ Introduction : ]
Welcome to The TrinityKernel, Giving the Most recent Bit Patches including new Distinctive features and Optimization(s), When your utilizing this kernel expect 2 weeks regular update.
WIP THREAD​
KERNEL DOWNLOAD :
https://github.com/francisrosario/android_kernel_razer_sdm845/releases/download/4.0/TrinityKernel-kernel-r4-20200512.zip
Special Features.
Upstream Kernel update to 4.9.215 from 4.9.198. Tons of Changes!!
KCal ( Change Display R G B Values. )
Added Adreno Boost V2.2
Added KLapse
Added new PM Driver
Added USB Fast Charge @ 900mA
Added more GPU Optimization
Compiled using Linaro Toolchain! with Snapdragon Optimization Reverted to GCC, I'll be using Different CC soon!!
Full Changelog :
Code:
[U][I][B]r4
[/B][/I][/U]
Set to Version 4.0
defconfig: Changes in SCHED_TUNE
build_kernel: use 2020-03 for the patch level
Merge 4.9.223 into kernel.lnx.4.9.r34-rel
Merge 4.9.222 into kernel.lnx.4.9.r34-rel
Merge 4.9.221 into kernel.lnx.4.9.r34-rel
Merge 4.9.220 into kernel.lnx.4.9.r34-rel
Merge 4.9.219 into kernel.lnx.4.9.r34-rel
Merge 4.9.218 into kernel.lnx.4.9.r34-rel
Merge 4.9.217 into kernel.lnx.4.9.r34-rel
Merge 4.9.216 Fix
Merge 4.9.216 into kernel.lnx.4.9.r34-rel
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "dynamic schedtunes: boost framework based top-app boost uci h…
Revert "sched/tune: Create dynamic_boost SchedTune parameter"
Revert "cpu-boost: Reset Dynamic SchedTune Boost only if it is curren…
Revert "sched/boost: Perform SchedTune boosting when sched_boost is t…
Revert "dynamic schedtune: Boost Value of 3"
Revert "dynamic schedtune: add UCI rootless config hooks"
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "Dynamic Tuneboost V3"
Revert "sched/tune: Add initial support for Dynamic SchedTune Boost"
Add BFQ and Patches
[U][I][B]r3
[/B][/I][/U]
a1b25362f906 [SIZE="4"]Version 3.1[/SIZE]
f3042ef51c73 devfreq_boost: Merge fixup
65425451d967 Regenerate Defconfig + enable devfreq boost
eedbb7f89a9e base: dd: Continue probe deferral forever as needed after late_initcall
d7089bdcb539 drm/msm/sde: Cache register values when performing clock control
c44748f7dfe1 devfreq_boost: Replace all instances of fb_notif with msm_drm_notif
088e8713acb2 devfreq_boost: Convert to msm_drm_notifier
6e25561aa700 devfreq: Introduce devfreq boost driver
585649668676 defconfig: Regenerate
25f3a25bd678 Revert "drm: msm: sde: Boost CPU when a new frame is ready to be committed"
779cfdee0f9a cpufreq: Return 0 from ->fast_switch() on errors
08ba2b4cef95 Revert "mm: Boost when memory pressure becomes high"
2ac6b8c2b77f Revert "kernel: Boost to the max for a short amount of time when zygote forks"
cf964e14044b power: qpnp-fg-gen3: fix soc not keeping full after charging overnight
215800e2282c sched: boost: Don't try to kick idle CPU
f48c30b60da4 ARM: dts: sdm845: Set GPU idle timeout to 64 ms
bb1ebbfd4607 gcc-9: silence 'address-of-packed-member' warning
192912e0d72c qseecom: micro optimization for module detection
ac529eda77bf thermal: core: Use high value to init low temp tracking thermal_zone
91a5c4f6cd15 cpufreq: Return 0 from ->fast_switch() on errors
91607fc81ce2 cpufreq: blu_schedutil: merge latest CAF kernel/msm-4.9
6f713ec32fcb cpufreq: blu_schedutil: fix iowait_boost_enable on gov change
e3d5e498db9a cpufreq: blu_schedutil: add some bits from Pixel 3
5cab0f285280 cpufreq: blu_schedutil: add a couple fixes
752fef8bae3f cpufreq: blu_schedutil: make iowait boost optional
661c57491bd2 cpufreq: blu_schedutil: Introduce initial bringup
b0b716669178 beryllium: Block a couple wakelocks
2e5fa2022a18 kernel: Boost to the max for a short amount of time when zygote forks
efb95e07616a drm: msm: sde: Boost CPU when a new frame is ready to be committed
766a7b9289e7 qpnp-fg: adjust percentage calculation formula
243e391a74be drm/msm/sde: Cache register values when performing clock control
b2fd6214e852 string: Use faster alternatives when constant arguments are used
248f45bbad83 Initialize ata before graphics
6b73094b185c kernel: time: reduce ntp wakeups
4d81ebff7f7b drm/msm: do not notify events when the system is shutting down
ca73061a13ac mm: Boost when memory pressure becomes high
ba153511da46 drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
cdb7a2faee49 clk: qcom: clk-cpu-osm: Don't sleep inside the global clk lock
e5aa97911226 clk: qcom: clk-cpu-osm: Convert atomic delay into sleep
19e4de07702b clk: qcom: clk-cpu-osm: Limit the rate of CPU clock-rate changes
afc6061b7f82 Merge branch 'Master-Branch' into Master-Workspace
84277d2ce69a ecryptfs: Fix up bad backport of fe2e082f5da5b4a0a92ae32978f81507ef37ec66
6e13499cef9c kernel.lnx.4.9.r27-rel: Merge fix
47fff482b8ff Merge remote-tracking branch 'kernel.lnx.4.9.r27-rel'
b38aba85e44e defconfig : EXP defconfig
4109cc4db707 Merge 4.9.215 into kernel.lnx.4.9.r27-rel
5ca831a09a02 Merge tag 'LA.UM.8.8.1.r1-01800-QCS605.0' into Master-Workspace
ab90ee2f5c21 Merge tag 'LF.BR.1.2.11.r1-01000-8x09.0' into Master-Workspace
e140b761cf1c Makefile: Fix Toolchain dir
4e03d7a4e255 staging/android: Fix ashmem merge.
52332bbc5023 r3
4c8938c9bfc6 Revert "intramfs gitignore"
86509f5ff586 mm: Disable readahead by default
d1e0f0d6943c mm: Do not periodically flush dirty pages
fdf51b0e69e8 PM / Sleep: Expedite garbage collection if idle
9a11e7759313 PM / Sleep: Start killing wakelocks after one minute of idle
a2230fe58e8c mm: util: Guarentee memory access to applications
52b38ee933ba mm: Lock dirty background writeback to an internal ratio
3eb19913fff1 mm: Adjust dirty ratio percentage
bc4f4d0c194b mm: util: Guarentee memory access to applications
633dce263118 net: Allow BFP JIT to compile without module support
31f8cebc7533 intramfs gitignore
3f1a11664de1 arm64: bfp_jit: Enable JIT by default
63281e7ce869 arm64: debug: Disable JTAG debugging by default
99483ccc7026 Compiler Build Patch Fix!
834fc0c91c06 Merge branch 'Master-Branch' into Master-Workspace
4d9f5b2aa40b Change Build Path to new PopOS Directory (Server)
970381096fc3 Revert Build_Kernel
5c714ce7a7ef drivers: video: Add MDSS Powersuspend hook
4476d23ce143 Auto stash before cherry pick of "arm/arm64: crypto: boost performance"
1ff4dd34cede arm/arm64: crypto: boost performance
974b6f110042 Disable DSB #2
f683aea985af Disable DSB
76d1cb056575 fix powersuspend compile error
9bd9ef62e2e1 powersuspend: add debug sysfs trigger to see how driver work
86c41b37a842 powersuspend: Replaced deprecated singlethread workqueue with updated schedule_work
3919657cb2c5 powersuspend: add power_suspended boolean for global access
0325390f1b5f kernel/power/powersuspend: v1.6.1 add autosleep & hybrid modes
80f2d22a18cf Push Defconfig
1edc3bfe5fa3 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
63da01570ccc kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
bd15372b7b84 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.6 (faux123/Yank555.lu)
263fc80493c0 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.5 (faux123/Yank555.lu)
43029176f2df GenerateChangelog Script
a30b80f32117 Merge tag 'LA.UM.8.3.r1-07300-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
671d8e5b592f Merge tag 'LA.UM.8.3.r1-07200-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
ecfd6ac644a0 Merge branch 'master-wip' of https://github.com/fxTHaxxorX/android_kernel_razer_sdm845.git; tag 'LA.UM.8.3.r1-07100-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
861060461ec4 Merge tag 'LA.UM.8.3.r1-06900-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
0c0ecca0153c Revert "fs/dcache: Set vfs_cache_pressure to 0"
6268ba7689f0 Revert "mm/vmscan: Set Swappiness to zero"
053fdb2fceca Increase adreno bus data limit: 1200:
fad8b809d019 random: Fix comment for unused random_min_urandom_seed
14431ac1929e random: Remove variable limit
90c7fda85003 random: Remove stale urandom_init_wait
f3588b6c2508 random: Prevent add_input from doing anything
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
[U]
[I][B]r2[/B][/I][/U]
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
2f056c80b285 workqueue: make workqueue available early during boot
7d42ee1396f1 mm: swap_ratio: consider swap slots
8ae0abb02e56 mm/swapfile.c: fix swapon frontswap_map memory leak on error
0342544ef43f mm: kvfree the swap cluster info if the swap file is unsatisfactory
e723363ef91b mm/swapfile.c: fix swap space leak in error path of swap_free_entries()
ff582ec0c2f6 mm, swap: avoid lock swap_avail_lock when held cluster lock
165019f7f57e mm, swap: Fix a race in free_swap_and_cache()
64876fd07a90 mm/swap: skip readahead only when swap slot cache is enabled
98e0a0d12bcf mm/swap: enable swap slots cache usage
cf45d9165fa9 mm/swap: add cache for swap slots allocation
f979d71c7445 mm/swap: free swap slots in batch
442784a913cd mm: add three more cond_resched() in swapoff
2487dfea5612 mm/swap: skip readahead for unreferenced swap slots
26030f179c2c mm/swap: allocate swap slots in batches
5bfe1c57a374 mm/swap: fix kernel message in swap_info_get()
691f944d8d88 mm/swap: add cluster lock
5850a02d5e3d sched/tune: increase BOOSTGROUPS_COUNT to 6
559d8148e9d5 thermal: fix lockdep splat from qcom driver
04e304e0d269 cpuset: fix hotplug lock
67a1a72bb7b9 sched: fix unbalanced locking
970352063161 mm: per-process reclaim
7953370ec295 Merge 4.9.214 into kernel.lnx.4.9.r27-rel
2ab14262da04 temporarily revert to GCC Compiler
If you want to change display RGB Values and etc.. Kindly use Franco Kernel Manager / Ex Kernel Manager you can get it in Playstore or Google
Nightly Daily Builds :
https://trinitydata.ap.ngrok.io/s/DyLSqHRGmcampzz
Kernel Source :
Kernel Source Code
Special Thanks to :
Arter97 - Kernel Source Base
DooMLord - Kernel Tools
XDA Community for Kernel Patches
- reserved for r3 beta release -
Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.
gorast358 said:
Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.
Click to expand...
Click to collapse
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.
I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.
f(x)THaxxorX said:
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.
Click to expand...
Click to collapse
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
gorast358 said:
I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.
Click to expand...
Click to collapse
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)
Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.
tard24 said:
Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.
Click to expand...
Click to collapse
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.
As for the next version I'm already implementing new features from other devices like blue_schedutil, KLapse, and other more optimization and patches.. This might take 1-2 weeks.
Regards,
TrinityHaxxorX
RKBD said:
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)
Click to expand...
Click to collapse
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.
f(x)THaxxorX said:
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.
Click to expand...
Click to collapse
Thank you for developing this! Is f2fs compatible with this kernel as well?
Reznor7 said:
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.
Click to expand...
Click to collapse
Both always worked for me.
also fingerprint got fixed on 10
I've already KLapse, USB2 Fastcharge, KCal and other more goodies :" .. Hope you enjoy my next version of my Kernel.. Ofcourse F2FS is supported since my Kernel Source is from Arter's Kernel Source.
f(x)THaxxorX said:
TrinityKernel R2.0 ( BETA ) - This is the Beta kernel of 2.0..
Kindly hit the Thanks Button ..
Click to expand...
Click to collapse
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)
RKBD said:
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)
Click to expand...
Click to collapse
Fixed it sorry!! The kernel works well if it's flashed via TWRP... Here's the fix if it's flashed via fastboot.. Kindly download the img and flash it.
If there's any problem kindly provide kernel log.
But everything works well now.
Here's the V2.0 BETA compiled using Linaro Toolchain.
Flashable Zip:
https://trinitydata.ap.ngrok.io/s/ioxXApst6yq4aHY
.img File:
https://trinitydata.ap.ngrok.io/s/g2Nm36XeTmdZt6S
Kernel is great!
This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179
gorast358 said:
This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179
Click to expand...
Click to collapse
Alright I'll look into it at a Kernel Level Perspective.. I'll be creating A module for that one. No promises yet but I'll add it to my To Do list.
Thank you for the time and effort .
Can SELinux be flipped to permissive on this kernel on GSI? With arter97's kernel SELinux cannot be changed to Permissive, though it might be due to GSI.
I need SELinux permissive so I can make use of Tincore for gamepad accessories like FeiZhiWee2T. Without SELinux permissive Tincore will not be able to see my controller.
EDIT: Just flashed and the answer is no. I think most likely both the kernel and GSI need to be able to support permissive in order to do so.

Categories

Resources