[ONE Android Development] FSadino:
Reserved

Changelog:

====================

11-17-2017

====================

* device/oppo/find7op/

91a6023 FSadino tweaks

* frameworks/av/

97dd2f3 Revert "Track graphic buffer mode in OMXNodeInstance"

* frameworks/base/

84f803f Revert "DPC should not be allowed to grant development permission"

====================

11-16-2017

====================

* build/

7c5c77e November Security Updates

947d439 Merge pull request #9 from FSadino/next

* device/oppo/find7op/

9018968 Merge pull request #2 from FSadino/next

* external/libhevc/

6f64ca6 Fix tile index buf alloc size

* external/libmpeg2/

39dbf6d Replace memcpy with memmove to Solve Memory Overlap Error

ebcb7b2 Propagating Error From impeg2d_pre_pic_dec_proc

7bc9513 Check Number of MBs to Skip.

* frameworks/av/

54a485f Track graphic buffer mode in OMXNodeInstance

0180c3c EffectBundle: Check parameter and value size

* frameworks/base/

5552ee7 DPC should not be allowed to grant development permission

* kernel/oneplus/msm8974/

9ac0b8a Merge pull request #15 from FSadino/next2

* system/core/

b89501c Include standard C ++ header "limits.h"

7c27bac Fix integer overflow in utf{16,32}_to_utf8_length

====================

11-15-2017

====================

* device/oppo/find7op/

e26d3db mpdecision is back

====================

11-14-2017

====================

* packages/apps/PackageInstaller/

f8bf846 Fix install button after the October security updates

====================

11-06-2017

====================

* build/

9e259a6 add Evolve messaging app

* kernel/oneplus/msm8974/

2129edc Revert "Random optimizations:"

9d79100f Revert "clock-krait-8974: Expose SPEED level via sysfs"

9fa4989 Revert "clock-krait-8974: Expose PVS level via sysfs"

* packages/apps/Evolve/

c72130a Merge branch 'master' of https://github.com/FSadino/packages_apps_Evolve

90f0f7a initial commit

05946b3 Initial commit

* vendor/omni/

e370f23 Merge pull request #3 from omnirom/android-7.1

====================

11-05-2017

====================

====================

11-04-2017

====================

* kernel/oneplus/msm8974/

3e1ea40 Random optimizations: -frandom -prandom

dfec547 Revert "Random optimizations:"

5d75640 PM: devfreq: Use high priority workqueue

8fd52ad workqueue: use new hashtable implementation

ec75e97 thermal: settings change After carefully studying the thermal I believe the best setting would be to start throtelling at 65C with that option disabled at 60C. The values of mitigation should be at 95 C and not at 115C, since to achieve this level some malfuction must have happened on the phone, so it's better to have a lower value, with mitigation disabled at 80 C. The core throtelling is best to have set at 75C, and this option disabled at 68C.

b5aec00 interactive: less agressive

d0af778 bcmdhd: reduce to 250ms

96aa960 Tuned interactive gov.

e28da9f Swappiness: 15%

a97d9ea Defconfig: Update

eee2e52 Add and organize schedulers (fifo, sio, sioplus, tripndroid, vr, zen)

52d2529 deconfig: disable KSM

6d79c22 lib: adding back proportions and removing the old memcpy.o

ec55773 ksysfs.c: Disable Gentle fair Sleepers and Arch Power

51e6dce ARM: add .gitignore entry for bswapsdi2.S

c5b6d8d clock-krait-8974: Expose PVS level via sysfs

6feb861 clock-krait-8974: Expose SPEED level via sysfs

bf86b41 Voltage Control for OnePlus One. Voltage Control: generic voltage control for DTS based kernels

67c5dd7 sched: Add controls for sched features

3189a3b ext4: Speedup WB_SYNC_ALL pass called from sync(2)

3fd156c ipc/mqueue: improve performance of send/recv

3efd583 block_dev: implement readpages() to optimize sequential read

ab41734 sound: add sound control to increase headphones, speaker and mic gain.

a7fdcca Random optimizations: -frandom -prandom

96e911d ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible

7a97e92 lmk: wrap the lmk code with config

115049e fs: support task's adj rbtree

4a83e4c kernel: support task's adj rbtree

f9a0565 drivers:lmk: Fix double delete issue

909c061 staging:android:lmk: read rb tree root with spinlock

5911ee8 drivers: lowmemorykiller: implement task's adj rbtree

b7f35eb staging: android: lowmemorykiller: skip dying or exiting task

ce98c85 linux: blkdev: disable add random * this is a flash device we don't have a spinning storage like a hdd

2c5d287 fs: Tweak mount options for all partitions

b12b205 msm: bam_dmux: Tune values and remove panic

d8fc58b msm: bam_dmux: Reduce debug logs to avoid watchdog bite

9b3eb60 KGSL: GPU kgsl_pwrctrl.c use min pwr level as default. to reduce battery drain.

842609d lib: memcopy: init

481fb97 lib: flex: init

8d0daf8 lib/string: use glibc version

c3bdcda arm: crypto: Add optimized SHA-256/224

d09dc71 crypto: arm/aes update NEON AES module to latest OpenSSL version

0fafbd5 ARM: 7674/1: smp: Avoid dummy clockevent being preferred over real hardware clock-event

e838fbf ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled

d6d9694 ARM: crypto: add NEON accelerated XOR implementation

9243064 ARM: add .gitignore entry for sha256-core.S

544c7f6 Merge pull request #13 from omnirom/android-7.1

====================

11-03-2017

====================

====================

11-02-2017

====================

* build/

1197f66 Core: print toolchain path during compilation

14aa8aa Remove Feedback Directed Optimization support

1ea26d6 Make userdebug builds more like user, with some improvements

9b77b6d core: use 0 compression when creating the target_files package

ce50b3e Remove messaging app

3b4aff9 Fix Build

d28ff44 Remove Email/Exchange

d801e58 Create 0 compression ratio jar files

76e9024 Kill Bloat with Fire!

febff96 Remove MOAR Bloat

0e94fa0 Do not build video Libraries

8300afd Disable Prereq Checking

b8e58e9 Debloat full_base.mk

====================

10-23-2017

====================

* kernel/oneplus/msm8974/

40fe7a8f574 block: disable row, cfq and test-iosched

3ae61c748e1 defconfig: set maple as a default i/o scheduler

1c9b1d71c41 block: maple: fix build 3.4 doesn't support this elevator stuff

ca710fd25fc maple: Tune presets a bit

e2f65ddaa01 block: maple: Serve asynchronous requests before synchronous ones

5e3b1a08b7d block: maple: Fix some logic, import former/latter request logic from SIO, and use some improved bits of SIO

ae567cfe95f block: maple: Catch writes_starved sooner, increase limit.

44985664022 block: maple: Clean up and add patchlevel macro to keep track of commits

14486ff0a86 block: maple: Remove CONFIG_HZ dependency, assume 300 for interrupt frequency

6bf6e99be3f block: Add Maple I/O Scheduler

c7b9f11b136 msm: vidc: update the check to ignore extradata plane in dqbuf userptr may or may not be a null-value. Checking for this field to qualify a plane as extradata has no merit. Ignore that check

cb59a3a68fe msm: vidc: Check video buffer handle for Null pointer access.

0e09c3a961b msm: vidc: add ion_handle checking before mapping buffers

====================

10-22-2017

====================

====================

10-21-2017

====================

* vendor/oneplus/

bd12ca1 oneplus2: update CNE and DPM blobs

====================

10-20-2017

====================

* vendor/oneplus/

a68edcf oneplus2: update time service, radio, network and pp blobs

====================

10-19-2017

====================

* build/

37b4b207c Merge pull request #6 from omnirom/android-7.1

* frameworks/av/

99fe66258 Merge pull request #2 from omnirom/android-7.1

* frameworks/base/

e96c69e4aca Merge pull request #5 from omnirom/android-7.1

* packages/apps/Settings/

8ce8560ad Merge pull request #3 from omnirom/android-7.1

====================

10-18-2017

====================

* vendor/oneplus/

afa3889 cheeseburger: add missing apks from 4.5.13

====================

10-17-2017

====================

* android/

6bc340e android: Fork wpa_supplicant_8

* external/wpa_supplicant_8/

46c812a Clear PMK length and check for this when deriving PTK

9d5328b Add debug prints on PMK configuration in WPA supplicant

49a1bdc WPA: Extra defense against PTK reinstalls in 4-way handshake

e5ac8c7 Remove all PeerKey functionality

d056e2d Set EAPOL-Key Key Length field to 0 for group message 1/2 in RSN

42dd100 FT: Do not allow multiple Reassociation Response frames

2244bfe WNM: Ignore WNM-Sleep Mode Response without pending request

c6fbd3a TDLS: Reject TPK-TK reconfiguration

febf4dd Fix PTK rekeying to generate a new ANonce

7b6fd2f Prevent installation of an all-zero TK

019508b Extend protection of GTK/IGTK reinstallation of WNM-Sleep Mode cases

57ca9ad Prevent reinstallation of an already in-use group key

14ad6e7 hostapd: Avoid key reinstallation in FT handshake

* vendor/oneplus/

3e68a74 oneplus2: fourth part of 3.6.0

====================

10-16-2017

====================

* android/

d11934d android: fork dnsmasq, libmpeg2, libhevc and tremolo from AOSP

* external/libhevc/

0414e26 Fix slice decrement for skipped slices

b359bf4 Ensure CTB size > 16 for clips with tiles and width/height >= 4096

* external/tremolo/

d4fdb22 Fix out of bounds access in codebook processing

* vendor/oneplus/

dbe1563 oneplus2: third part of 3.6.0

a9b8905 cheeseburger: update proprietary-files from 4.5.13

fc465dd oneplus2: second part of 3.6.0

9e67947 oneplus2: first part of 3.6.0

====================

10-15-2017

====================

* build/

5ad0fe7d8 [DO NOT MERGE] Update platform security string to 2017-10-05 in nyc-dev Bug:64896113 (cherry picked from commit 1517f3d2da27eae798a3ac765096251914f9b119)

* external/dnsmasq/

7d2ee8d Add extra (size_t) cast to avoid compiler warning.

e8395c2 Make dnsmasq more stable.

* external/libmpeg2/

003cf9f Fixed Memory Overflow Errors

* frameworks/av/

fb13b3627 Fix 'potential memory leak' compiler warning.

2840b0a0b Check buffer size in useBuffer in software components

bc34495e6 stagefright: avoid buffer overflow in base64 decoder

97124302e Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb

8826172d3 Fix memory leak in OggExtractor

a8d6490dd Skip track if verification fails

* frameworks/base/

6a53f366da5 Enforce policy for camera gesture in keyguard

12b5413788f Fix security hole in GateKeeperResponse.

* hardware/ril/

0b15cc1 DO NOT MERGE Fix security vulnerability in pre-O rild code.

* libcore/

fe38a9196 Fix failing FileTest#test_canonicalCachesAreOff()

34703c3cc Disable File.getCanonicalPath caches.

* packages/apps/PackageInstaller/

5940af16 DO NOT MERGE Disable overlays while installer is resumed

* packages/apps/Settings/

33708e259 Disabling the activate button when paused

====================

10-11-2017

====================

* bionic/

b1e825cf0 Merge pull request #1 from FSadino/next

* kernel/oneplus/msm8974/

afa3944df9bf hid: usbhid: Changes to prevent buffer overflow

4127855bde38 bacon_defconfig: remove CONFIG_IP[6]_NF_TARGET_REJECT_SKERR

f96b131813cd bacon_defconfig: enable CONFIG_INET_DIAG_DESTROY

abdf912cd43d cpu_input_boost: Prevent panics on init due to race conditions

b02b1860af2f packet: fix races in fanout_add()

4f553db508ba dccp: fix freeing skb too early for IPV6_RECVPKTINFO

9cee6f222398 net/llc: avoid BUG_ON() in skb_orphan()

2f1e8988166b tcp: avoid infinite loop in tcp_splice_read()

7779c6352631 ext4: validate s_first_meta_bg at mount time

aa602df4ae0d Revert "USB: fix invalid memory access in hub_activate()"

370f04e96809 power: qpnp-charger: Add support for POWER_SUPPLY_PROP_POWER_NOW

6ca646337b29 prima: Fix NULL pointer dereference in limSendP2PActionFrame()

79f2d9ea2bfe cpu_input_boost: Don't sleep in atomic context for continuous boosts

46f162b3b3a4 cpu_input_boost: Improve efficiency when there is constant input

70d8028c7134 bacon_defconfig: disable CONFIG_PFT as it is unsupported

63c9f1a2e9c6 Merge pull request #7 from FSadino/sultan

97bb01c791dd Merge pull request #6 from FSadino/next

0ea6490ae620 prima: Fix buffer overflow in WLANSAP_Set_WPARSNIes()

de117852264d prima: Update to CAF LA.BF.1.1.3-02310-8x26.0

====================

10-10-2017

====================

* bionic/

142a8213c End all lists in check-symbols-glibc.py with a ,.

9de63a987 Remove a duplicate declaration, improve check-symbols-glibc.py.

69d105fcf Don't declare SYS_* constants for unavailable __NR_* constants.

a2cd448ef Move glibc-syscalls.h into bits/.

02540bfbd Make prctl test check maps.

1dca89bd5 Move math headers in with the other headers.

69a44bea5 Add missing <complex.h> functions.

b4a53f82f Clean up bcopy cruft.

1fa62aeec Teach our script to ignore more dead POSIX stuff.

8d7bccbc9 Fix memmem behavior with empty needles.

4d37b99f8 Fix "Unknown token error" when upstream clang is used.

16b559f40 libc: exclude C memchr on ARM

b1a034da4 libc: arm: add optimized memchr implementation

e3a0f75f3 libm: add optimized expf/logf/powf from ARM

821d3bd62 linker: convert 'mov pc' instruction to 'bx'

1ea016dad Remove unused libm_clang variable.

b94b45f2d bionic: Sort and cache hosts file data for fast lookup

* kernel/oneplus/msm8974/

353109dee842 include: Add missing iosched_switcher.h header

1957c9fc2fd0 iosched_switcher: Remove unneeded code in change_elevator()

9b5f90a0373b iosched_switcher: Ensure the previous elevator name is always present

93e4f8da69cf bacon_defconfig: Enable I/O sched switcher

95a45c65fa38 mmc: queue: Configure the I/O sched switcher for mmc block devices

ea554bee0076 dm: Configure the I/O sched switcher for dm block devices

266088008ae8 iosched_switcher: Don't use FB_EARLY_EVENT_BLANK

837a43c82d8a iosched_switcher: Allow multiple block devices to be used

e069ae7e7da0 block: Add driver to change the I/O scheduler when the screen turns off

c6eabf02d4a2 msm8974pro: dts: cpufreq: enable middle steps for CPU frequencies

988bbd6f3c86 msm8974pro: dts: cpufreq: enable low steps for CPU frequencies

deb071bc3e58 disable overclocking

218a8eb85f8b add 2803200mhz and 2956800mhz cpu frequency

5f0cdeca5868 add 2649600mhz and more cpu frequency

b64a0b31f368 msm8974pro: Increase cpu voltags for OC frequencies by 25 mV

1a4b4a79da37 msm8974pro: dts: cpufreq: introduce 268MHz clock

b4b8087ff848 msm8974pro: CPU overclocking to 2.88 GHz

02411868921d change min_input_interval to 50ms

11224ea46911 cpufreq: cpu-boost: export input_boost_enable to userspace

a5d3075097e2 update cpu boost

aa29761615ae input: touchboost: default duration 1.5s - Ultra conservative default, 1/2 of MPD default

29b38151f4fc input: touchboost: Rename sysfs kobj to "touch_boost"

be80a3594c87 input: touchboost: correct type for get_input_boost_duration

74b8d99b454f input: touchboost: define and expose input_boost_duration and input_boost_frequency

ae7da7198eec input: touchboost: conservative samples every 10ms, no point in limiting input_time to update its value in 50ms intervals

8220e998c9d5 input: add generic touch event listener

9619bac4f60f arm: smp: Update the topology masks before calling CPU_STARTING notifiers

d7712b253b7d mm: slub: Default slub_max_order to 0

c443a80ffbc7 fs/buffer.c: increase the buffer-head per-CPU LRU size

0627a3b68d50 soc: qcom: smd: Fix SMD packet sync loss issue

89ceabfdcd5a tcp_cubic: better follow cubic curve after idle period

1452918bd231 mm, vmalloc: remove useless variable in vmap_block

17318c27e174 mm, vmalloc: use well-defined find_last_bit() func

7587c984e642 block: Reserve only one queue tag for sync IO if only 3 tags are available

2d02a905ac54 readahead: make context readahead more conservative

fc70bb7be801 binfmt_elf.c: use get_random_int() to fix entropy depleting

ecbcdc3d6fb8 writeback: fix writeback cache thrashing

f761ce577904 bl: lm3630: Disable PWM mode outside of init

6c06ad8de4e8 bl: lm3630: Always disable PWM mode

01b1ac42f045 int_sqrt: Improve 3x faster integer sqrt.

cd64c9c4f065 int_sqrt.c: Correction square root algo with naming

08a342a7f1df sched: cpu_power: enable ARCH_POWER

1caee85fad99 Readahead: Optimize divide/multiply by power of 2 using L/R shift

589271f175aa mdss: use an interruptible thread on edp to reduce load_average

25f5f8e89782 msm: vidc: Check for active handle before updating the QoS request

85a4fb566255 msm: vidc: Initialize kernel space stack variables

5252a623c6ca msm: vidc: disable CPU L2 cache PC during video sessions

7864895d06b5 fs: Add exFat support version 1.2.9 (kitkat source drop)

e3acfc6b9c09 fs: Add exFat support version 1.2.7 (Samsung OSRC)

c0b9a2d9980f Revert "power: increment wakeup_count when save_wakeup_count failed."

e6bc3828715c power: increment wakeup_count when save_wakeup_count failed.

52b9881275a1 xz: Optimize Sfck Compression

865cb4a91aa4 time: RCU permitted to stop idle entry

f8ff4c063ad1 msm: watchdog-v2: Trace IRQ when watchdog bites

a81ec3cef68b tcp_output: set initial TCP window size to 64K (speed improvement)

c95b657b3e1d usb-gadget: support USB keyboard

5c5559a53752 SPS: allow modem driver to sleep when no data traffic.

3c219b3f716a sweep2sleep: Update driver to support multiple gestures to put device to sleep (V1.1)

a8b62cf21858 sweep2sleep: Driver to support multiple gestures to put device to sleep

ae6c43f31876 msm8974pro: Activate additional 27 MHz gpu frequency step (idle freq)

600e795eb4b2 Revert "Voltage Control: generic voltage control for DTS based kernels"

7463cd005b60 msm: Fix high load average from uninterruptible waits

3719ea6af3f1 Enable UNALIGNED_ACCESS, this will actually improve kernel performance.

7883c737178a msm8974-regulator.dtsi: further reduce CPU retention voltage

3ad5ea948b6d qce50: Update clock vote for improved performance

2c441aba1029 timer: optimize apply_slack()

ab343fc1f5c8 mdss: Change kickoff timeout to 300ms - phase 2

0c9a362227cf mdss: Change kickoff timeout to 300ms

7d1a68845697 arm/dts: bacon: Schedule mmcqd on idle CPU

4e9671624341 mmc: add support for scheduling mmcqd on idle CPU

8d74ac12de68 ACA mode hack for Oneplus One's DWC3 usb driver

d11824057410 arm:msm8974: Increase bark/pet time

====================

10-09-2017

====================

====================

10-08-2017

====================

* kernel/oneplus/msm8974/

06f902d28b4f Merge pull request #5 from FSadino/next

169dec7d225c msm8974: usb: dwc3: Set the max speed

a6a7d7981487 msm8974: usb: dts: Set the usb max speed to high

26b139e63055 oppo: i2c: drop nfc freq to 19.2 MHz

2b1ddbbf5ffe ./Makefile: tell gcc optimizer to never introduce new data races

90ab3ea27e7b Disable -fconserve-stack on ARM v2

acbb2fd039c5 Makefile: Optimize

af29646d3db9 fs/namei.c: fix: warning: 'old_path.*' may be used uninitialized in this function

019801b2182d Makefile: Optimize

da4add16a52f Merge pull request #4 from FSadino/next