[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TeamMex:
Reserved

XX means no date yet

13/05/2020

Merge tag 'LA.UM.7.1.r1-17400-sm8150.0 '

Added rotation degrees (that functionality was added in the beginning and i forget to add the option in menu)

Merge kernel tag 'LA.UM.7.6.r1-07400-89xx.0'-->

msm: camera: jpegdma: Fix uninitialized variable

Merge "msm: camerav2: isp: Removed closing of isp node"

Merge "net: sit: fix memory leak in sit_init_net()"

Merge "asoc: msm-compress: Replace goto with return in case of invalid value"

Merge "asoc: msm-compress: Add missing mutex initialization for pdata"

Merge "msm: vidc: avoid OOB write while accessing memory"

msm: camerav2: isp: Removed closing of isp node

Merge "net-sysfs: Fix mem leak in netdev_register_kobject"

Merge "msm: vidc: remove additional checks in response_handler"

msm: vidc: remove additional checks in response_handler

msm: vidc: avoid OOB write while accessing memory

asoc: msm-compress: Replace goto with return in case of invalid value

asoc: msm-compress: Add missing mutex initialization for pdata

net: sit: fix memory leak in sit_init_net()

xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink

net-sysfs: Fix mem leak in netdev_register_kobject

asoc: msm-compress: Add lock in controls _put() and _get() callback

msm: pcie: Use local variable for manipulation

11/01/2020

Kernel updates

* tag 'LA.UM.7.6.r1-06700-89xx.0':

rmnet: Add support for bridging rmnet_data

dsp: avtimer: validate payload size before memory copy

msm: ipa: add additional checks to prevent use-after free errors

fbdev: msm: Avoid UAF in mdss_dsi_cmd_write

soc: msm-pcm: fix missing mutex unlock while exit

msm: adm: Add error check to avoid memory overread

qseecom : Clear client handle after unmap the resources

PM / devfreq: gpubw_mon: Add null check for governor private data

asoc: msm-routing: Fix array out of bounds issue

ASoC: Fix possible overflow in routing driver

msm: adm: Fix memory overread in adm callback

drm/msm/hdmi-staging: Fix Buffer Overflow

soc: msm-pcm: Add mutex lock to protect prvt data

soc: msm-pcm: Added lock in controls _put() and _get() callback

diag: Validate msg source length to prevent out of bound access

qseecom: check invalid handle for app loaded query request

drm/msm/dsi-staging: Add length check before copying to user space

* tag 'LA.UM.7.6.r1-06400-89xx.0':

msm: kgsl: Make the "scratch" global buffer use a random GPU address

msm: kgsl: Use a bitmap allocator for global addressing

msm: kgsl: Execute user profiling commands in an IB

netlabel: check for IPV4MASK in addrinfo_get

defconfig: msm: Disable EXT2 and EXT3 FS configs for MSM8937/53

msm: kgsl: Verify the offset of the profiling buffer

icnss: Add check on msa region

msm: kgsl: Change data type for GPU ib vote

--Rom changes--

do a vndk-sp copy of libandroid this should fix the camera on android 10 GSI

Add extra vndk v27

03/09/2019

Kernel updates

Merged LA.UM.7.6.r1-05900-89xx.0

Some parts of LA.UM.8.6.r1-01900-89xx.0 (Android Q changes)

Preparations for Q

Rom side

LA.UM.7.1.r1-16900-sm8150.0

15/08/2019

Rebased branch over LA.UM.7.1.r1-15800-sm8150.0

overlay: CarrierConfig: Enable IMS services in Brazil from alberto97

Merged all changes in kernel from alberto 97

the last build until Q arrives (i will try to bring Q)

02/08/2019

add camera firmware from PPK29 deen

update adreno firmware from deen PPKS29.68-16-34-5

Widevine - DRM from deen PPKS29.68-16-34-5

update PERF and iop from deen PPKS29.68-16-34-5

fix moto actions

ship Qcom AT from deen PPKS29.68-16-34-5

: drop whitelisted games

FEATURE_OPENGLES_EXTENSION_PACK support string config file

Fixed Google Drive issue

26/07/2019

MErge tag 'LA.UM.7.6.r1-05500-89xx.0' in to kernel xpe-13.0

wifi: Update WPA3 support overlay config for legacy devices

-- Set WPA3 support overlay config to false for unsupported legacy chipsets.

Migrate to androidx LineageActions

surface hang up when screen on and screen off

frameworks: Add unlinked ringtone and notification volumes

Prevent surfaceflinger gets swapped to zram

Expanded volume bar

Moved to VNDK 28 (Tested some GSI like oxygenOS and works fine without issues )

copy libbinder under VNDK and libcutil under VNDK-sp to satisfy oreo camera blobs

Move some hidl under vendor

Kernel compressed in LZ4 + LZMA ramdisk

xx/07/2019

Merge tag 'LA.UM.7.3.r1-07900-sdm845.0' into xpe-13.0-caf (Jun security patch)

Removed prebuild busybox please install busybox for ndk from Magisk

Merged ASB-2019-06-05_3.18 in kernel

03/07/2019

Implement Yunikon our webview based browser (take as basis Jelly)

Conditionally disable unencrypt for OTA

Add more missing permissions for Google apps :/ again

Created overlay for managed profiles this should fix Android for Work

-- The ManagedProvisioning xml's were moved in Pie.

Also added missing managed_device and managed_user xml's.

This fixes 'Android for Work'.

01/07/2019

Removed libbinder from vndk this make camera crash

Conditionally disable uncrypt for ota

in last build from today i removed a lot of sepolicy cuz that was marked as neverallow but make a lot of issues so i added it again

fixed some services

28-29/06/2019

Tethering issue fixed (AGAIN)

Set HAL3 disabled if you want it enable it using magisk module

Some booting issues

Fixes in black theme

24/06/2019

Add vibration motorola hal to silence MdFmwk crash

add more sepolicy to allow health and others services to rw

A lot of sepolicy remove neverallows

Return Pocket Judge

update sdm and adreno from LA.UM.7.5.r1-03700-8x96.0

addison: move permission set to early-boot

vibrator hal service launched in rootdir/init.rc boot trigger will fail if

given permission have not been set correctly. This CL is to fix such

racing conditions.

addison: set on fs persist/battery permission to give time to read/write the information and not

failed to open

add libc copy to vndk it should help to boot in some GSI's (Please test )

Fix WFD (Wifi display Qcom implementation)

Fixed night light

18/06/2019

Merge "LA.UM.7.6.r1-05300-89xx.0" tag in to kernel/motorola/msm8953

Updated Versioned VNDK

Add libbinder to VNDK-SP-$(BOARD_VNDK_VERSION)

Add libcutils to vndk-sp to silence some warnings in sockets

Per-App Thermal controller configurable from app info

Fixed Backup tool (was broken in the last changes for System as root commits needed by lavender)

Disable Quick Settings on secure lockscreen

Per-APP ThermalControl

One Hand mode

Add three-fingers-swipe to screenshot

Add Flashlight blink on incoming calls (like iOS)

Allow to use 4G icon instead of LTE

Fixed backup tools

VoLTE icon toggle

Import DIRAC framework from MIUI

Added Battery mod reader apk (To read battery mod stats Still working to make it enable the function to activate or deactivate mod like eficiency mode)

add some props for moto mods (Still no lucky xD)

Implement Pixel 3a fingerprint to bypass CTS due to our addison fingerprint is rejected

Extra copy of com.qualcomm.qti.wifidisplayhal@1.0.so to vendor to fix wifidisplay in AOSP roms

Add extra copy of vendor.qti.hardware.wifi.supplicant@2.0 to vndk to fix Wifi issues in AOSP gsi

Add extra copy of vendor.qti.hardware.wifi.hostapd@1.0

13/06/2019

SchedAlessa: Fix CPU overheatting

SchedAlessa: Use idle_calls counter of the remote CPU

For single policies however, the current

code uses the local CPU when trying to determine if the remote sg_cpu entered

idle or is busy. This is incorrect. To remedy this, compare with the nohz tick

idle_calls counter of the remote CPU.

SchedAlessa:Reduce Frequencies Slower

Disable SPI: CRC errors on SPI bus usually means there is something wrong with the

hardware(unstable voltage, wiring, etc).

Disable SPI CRC in favor of improving performance as the cost of

detecting hardware errors are too high, and not all that useful.

Fix Wifi in some GSI's (Like MIUI , AOSP, etc)

Fixed Camera in GSI's now you only need to flash miui fix to get booting the miui GSI

Vibration and sensors hals changes from alberto97

08/06/2019

Fixed Charge_only_mode

updated some blobs for rild

removed qcrild

added android Q battery style

update GPS stack and blobs from LA.UM.7.6.r1-04300-89xx.0

enable some UX optimizations

Updated apn's and sensitive apn

Updated display audio and media hal to LA.UM.7.6.r1-04800-89xx.0

Fix User cannot listen to a VVM that has been saved onto the device via quickoffice

Fix Libcore CTS fail

This CTS issue was introduced by (CR). I inserted 'audio/mp3'

before "audio/mpeg" according to the alphabetical order, but CTS has the hardcode

test that need "audio/mpeg" to be the default mime type of '.mp3' extension.

Solution: Adjust the position of 'audio/mp3' to avoid the CTS issue.

Add a sanity check against the file name because Android hardcoded the file.encoding to UTF-8, thus for any filename other

than that, we have to ignored it since we will have no idea on what the encoding it would be.

Added lockscreen charging animation.

lmkd: ignore the pressure if we still have enough file cache

storaged: ignore the SIGPIPE, or storaged will be crash.

don't kill b-service too early under medium pressure

25/04/2019

Returned to old rild, CNE , GPS

23/04/2019

CPU Overclock 2.2ghz (it can be overclocked to 2.4 ghz but 2.2 is ok)

Gpu overclock to 700mhz

Upstreamed to 3.18.140 [EOL]

increase usleep_range in camera actuator to give more time to power up

Revert some adsp changes some of them are not compatible with ADSP blobs we use (Oreo blobs)

--Revert "ASoC: msm: add support for AVS version check"

--ASoC: revert P qcom changes to keep O ADSP compatibility

--Revert "ASoC: msm: qdsp6v2: add 32bit capture support in dai driver"

--Revert "ASoc: msm: Enable support for 32 bit format and 384Khz"

--Revert "ASoC: msm: qdsp6v2: add support for latest version of media format command"

msm: camera: isp: Fix drop frame due to reg update miss

arm64:check valid low & highmem addr before saving cpu_suspend context.

Merge prima wlan LA.UM.7.6.r1-04800-89xx.0

--ROM

Merge branch LA.UM.7.3.r1-07800-sdm845.0

26/04/2019

Fixed boot (forget to add sensors source my bad)

merged security patch of feb 05 aka LA.UM.7.3.r1-07400-sdm845.0

some fixes

Hotspot fixed

Updated thermal from deen PPK29.68-16-21 (and use prebuilt thermal.msm8953)

Updated ATFWD from deen PPK29.68-16-21

Updated perf from deen PPK29.68-16-21 and OP3 PKQ1.181203.001

Fixed some permissions to qcrild (please test with the new rild again and take some logs with

adb shell logcat -b radio > radio.txt

Build Services-ext

Added support to change font :P from settings->Display->font

I added some fonts i will add more soon

Adjust some perf changes

Download will be pushed tomorrow I hope :P

FROM now user build are really different from my personal builds

12/04/2019

--- Kernel side ---

SchedAlessa 2.1.4 updates:(Backporting changes from SchedUtil from 4.9 kernel instead of modify SchedUtil I preffer to update SchedAlessa)

* - Use >= when aggregating CPU loads in a policy

* - Switch from sprintf to scnprintf

* - Add trace point for get_next_freq

* - Avoid processing certain notifications

* - Return to FIFO

* - track hi_speed and pl from upstream

* - schedalessa:Change to use WALT Load based

* - Add hispeed load tunable

* - cpufreq: Return 0 from ->fast_switch() on errors

* - Hard-code rate-limit thresholds

Merge kernel 3.18 tag LA.UM.7.6.r1-04500-89xx.0

Merge prima wlan LA.UM.7.6.r1-04500-89xx.0

Upstream kernel to 3.18.138

Fix ANDROID: qpnp: fg+smbcharger: implement Linux cycle count we use QPNP_SMBCHARGER_MMI and not QPNP_SMBCHARGER

msm_thermal: ignore sensor 19

--- Rom Side ---

Return battery learned

Reverted to old RIL and GPS (if not works dont ask for Fixes)

Implemented core source from motorola for mods (?)

03/04/2019

add exfat lib

vold: add support for more filesystems for public storage

* Add exfat and ntfs support based off f2fs and ported to use

fuse

* Add support for both along with f2fs and ext4 to PublicVolume

* Also attempt to mount any volume if it's been determined that the kernel supports it

vold: ntfs: Use strlcat

vold: Fix fsck on public volumes

vold: Support internal storage partitions

vold: Honor mount options for ext4/f2fs partitions

vold: Mount ext4/f2fs portable storage with sdcard_posix

vold ext4/f2fs: do not use dirsync if we're mounting adopted storage

Fix the group permissions of the sdcard root.

healthd: make periodic battery status a debug message

Kernel optimizations(big changelog so i will write it later or read it here https://privatebin.net/?8a926e288ddb4507#xLieO9avhqWhjLllpneJh/RW2DM+8gbuxEiVSN7DIzE=).

Update wlan to LA.UM.7.6.2.r1-07400-89xx.0

ipv6: add option to drop unsolicited neighbor advertisements

ipv4: add option to drop gratuitous ARP packets

testing radio props (posted in #761 comment)

addison: performance_profiles: set conservative in power saving profile

addison: add ipa data/vendor permissions

addison: add system property to set AudioFlinger client heap size

Addison: more sepolicy

addison: set battery capacity to the correct value 3510mha (this will fix some issues about battery recognized as 4800mha 4000mha etc)

Backport z3fold from Sony devices (4.4 kernel)

-z3fold, a special purpose allocator for storing

compressed pages. It is designed to store up to three compressed pages

per physical page. It is a ZBUD derivative which allows for higher

compression ratio keeping the simplicity and determinism of its

predecessor.

This patch comes as a follow-up to the discussions at the Embedded Linux

Conference in San-Diego related to the talk [1]. The outcome of these

discussions was that it would be good to have a compressed page

allocator as stable and deterministic as zbud with with higher

compression ratio.

To keep the determinism and simplicity, z3fold, just like zbud, always

stores an integral number of compressed pages per page, but it can store

up to 3 pages unlike zbud which can store at most 2. Therefore the

compression ratio goes to around 2.6x while zbud's one is around 1.7x.

wlan_hdd_cfg80211:use active scan

20/03/2019

Track IPACM LA.UM.7.6.2.r1-07300-89xx.0 (this will help us with tethering still dead)

update ramdisk (ims related services from LA.UM.7.6.2.r1-07300-89xx.0)

addison: Update privapp-permissions-qti from LA.UM.7.6.2.r1-07300-89xx.0

addison: update qti_whitelist from caf tag LA.UM.7.6.2.r1-07300-89xx.0

addison: add some ims props (TESTING)

Update thermal config

updated sepolicy

rever: "addison: force HAL1 for motorola camera"

merge LA.UM.7.6.2.r1-07300-89xx.0 tag in kernel

Motorola HEALTH from BECKHAM_PPW29.131_27_1 (removed)

A lot of sepolicy related to motomods

Regenerate Manifest,xml

Moto mod tile

Updated Mod Manager and ModFmwkProxyService

Set the correct mod platform version

Moto mods are now placed in connected devices

13/03/2019

--Kernel--

ipv6: add option to drop unicast encapsulated in L2 multicast

ipv4: add option to drop unicast encapsulated in L2 multicast

(fix wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory)

Re-Enable RFKILL_INPUT (this fix multiexistence of BT + wifi in the new bring of the kernel i forget to re-enable)

--Device related--

Add Qcom WFD implementation (due to google in android P has removed it from the source)

Updated CNE, QMI (Qualcomm Framework),IMS, Radio, Motorola Ril from P blobs (tissot tissot_sprout:9/PKQ1.180917.001 and Deen PPK29.68-16-3 ) (Please test VoLTE)

Add QC RIL service support

Hostapd sepolicy

addison: force HAL1 for motorola camera

Add legacy wifi paths for GSI (untested)

Props to enable WFD

Update CarrierConfig overlays for P

addison: add hbtp sys perm

addison: Sepolicy for new RIL

addison:libmmosal_proprietary needed by wfd

Addison: Update CNE

Addison: Use tether automatic upstream selection

10/03/2019

Re-Enabled Burning protection

NetworkTraffic updates

Updated XPERIA Launcher

NightFall Launcher added Icon pack support

NightFall: Added grid size and icon size support

fwb:Implement substratum service

sepolicy: Sepolicy for substratum service

fwb:Fix theming issues in substratum

Removed RetroMusic due to a lot Ads

RainbowUnicorn: Implemented Alessa (WIP)

Updater: Updater: Implement auto update check interval preference

Implemented Our notes app :P

Implement Busybox

06/03/2019

Hex-Edited camera libs fix camera on GSI (not tested yet)

Re-Implement EAS

Updated SchedAlessa}

-- schedalessa: Use capacity_orig_of instead of capacity_of in overutilized

-- SchedAlessa: Cache tunables on governor exit

Dynamic Sched boost

Update perf profiles for FK manager and add support for EAS

Optimize EAS scripts.

SchedAlessa: Allow thermal throttling to change cpu freqs

addison: add hostapd config files from CAF LA.UM.7.6.2.r1-07100-89xx.0

A lot of sepolicy

Set Sepolicy Enforced

01/03/2019

Recommended GCAM https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_XCAMBase_F1_v2.apk

or this : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_Potter_v7.1_san1ty.apk both works :)

Added MZPGreenTintFix for GCam Credits to Juniiim for the module and Savitar for the original work (https://xdaforums.com/moto-z-play/themes/magisk-modules-mzpgreentintfix-gcam-t3870280)

HAL 3 enabled by default

Added Sepolicy for offline charger

Merged LA.UM.7.3.r1-06900-sdm845.0 it have Dec 05 security patch

Added Performance profiles (configurables using Franco Kernel Manager)

screenshost:

Hex-edit libmmcamera2_isp_modules for P's mutex restrictions

-- Google has been tightening up mutexes by disallowing calling

pthread_mutex_destroy on an already destroyed mutex in P

-- This normally isn't an issue, but Qualcomm, in their infinite

wisdom, decided to destroy a mutex in a loop in isp_module_stop_session

when they were freeing some related memory allocations

-- This results in a SIGABRT in mm-qcamera-daemon from a

__fortify_fatal call in HandleUsingDestroyedMutex in libc

-- To work around this, phtread_mutex_destroy and phtread_cond_destroy

moved outside of the loop so they only calls 1 time (Credits to [MENTION=8473380]Juniiim[/MENTION] for the modified lib )

*Based on kuntao implementation so credits too to Paul Keith "javelinanddart" )

Added extra copy of android.frameworks.sensorservice@1.0 to vendor libs

Added a extra copy of android.hardware.wifi.supplicant@1.x to vendor due to aosp hals wont work with CAF rom (in this case our vendor is from caf )<(Test Needed)

Dropped Healt@2.0-Addison (Battery learning kanged from marlin. It needs a better implementation and i dont have the time to deal with it)

Removed tetheroffload from manifest (untested) seems to broke hostopt

Pre-OPtimize SystemUI

Update WCNSS_qcom_cfg.ini from deen's PPK29.68-16-8

Fixed UI issues (Related to theming like black icons in dark themes)

Removed TetherOffload from manifest this breaks Tethering (cause reboot of the device)

wifi: Enable Softap ACS and 11ac (Needed by hostpot. (for softap operations))

02-28 15:31:32.842 29060 29060 E hostapd : ACS: Unable to collect survey data
02-28 15:31:32.842 29060 29060 E hostapd : ACS: All study options have failed
02-28 15:31:32.842 29060 29060 E hostapd : Interface initialization failed
02-28 15:31:32.842 29060 29060 I hostapd : wlan0: interface state ACS->DISABLED
02-28 15:31:32.842 29060 29060 I hostapd : wlan0: AP-DISABLED

Implemented AITA and Lunar themes :) (mine themes)

26/02/2019

OnTheSpot support

Moto Mods support (efficiency and battery status still broken)

added sepolicy missing for moto mods

Implement better Screen Zoom levels

Use this for Mod Battery status (https://xdaforums.com/moto-z/themes/app-battery-mod-percentage-t3575753 )

VNDK: Added vendor.qti.hardware.camera.device@1.0 and vendor.nxp.nxpese@1.0 for NFC and camera (in phh's the camera crash due to CANNOT LINK with those files)

VNDK: Add libsensor due to missing symbols in AOSP variant of that lib

Fixed offline charger

05/02/2019

*Rom Things*<

Rebased over SDM845 branch

Merged LA.UM.7.3.r1-06700-sdm845.0

libril: Fix manual network selection with old modem

set flag TARGET_USES_OLD_MNC_FORMAT needed by libril

Drop ipa-cfg-mgr

* Kernel things *

Rebase kernel over alberto's one (Merged all the patches from my kernel)

Dropped EAS support nothing changed anyways

-backport kernel: Add API to mark IRQs and kthreads as performance critical

genirq: Introduce IRQD_AFFINITY_MANAGED flag

genirq: Add IRQ_AFFINITY_MANAGED flag

firmware: qcom: Remove debugfs dependency from tz-log driver

init: Don't force DEBUG_KERNEL in EXPERT mode

Reverted QNovo interface seems to not work properly

Merged LA.UM.7.6.r1-04000-89xx.0 branch in the kernel

Fixed bootloop issues

Seems good now for release please review and send logs :) and some info about "how to reproduce your bug :P "

04/01/2019

Merge LA.UM.7.2.r1-05400-sdm660.0 Branch (It will be rebased over sdm845 branch)

Restart motorola camera service too

Custom Qperformance.jar UxPerformance.jar

Fixed VNDK for treble compatibility (now this can work as expected without patches)

Enabled RRO's for GSI's

Do extra copy of NFC to vendor

Moto mods enabled (Battery is working no efficiency mode only normal mode attach the mod and restart the device battery percent of motomod is not working )

Added some VoLTE changes (Untested here cant be used)

pin the Home application in pinner service

Minimal optimizations

Updated a lot of blobs from deen PPK29.68-16-8

--GPS,SMD,Audio,ADSP,SVCE

added motorola.hardware.healt@1.0 (Battery mod)

Merge speaker changes from alberto's AOSP 9.0

26/11/2018

Merge LA.UM.7.2.r1-05300-sdm660.0 Branch

Merge sepolicy "LA.UM.7.6.r1-03600-89xx.0"

BT: Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback

BT: Run the wakelock JNI callbacks on the JNI thread

Fix "Disable Absolute Volume" Bluetooth developer option

Nightfall Launcher (my launcher based in quickstep)

updated gallery

Addison: Use ro.crypto.state to handle non encrypted devices and restart camera and wifi HALS (to fix some issues)

17/11/2018

Merge LA.UM.7.2.r1-05300-sdm660.0 Branch

Added a lot of sepolicy's to fix a bunch of things

Added Smart Pixels (you can disable some pixels to save battery (under settings->XPerience Settings->Misc->SmartPixels)

IOP/UXE: This change is to enable the IOP and UXE

IOP : Adding support for UXPerf Class

BoostFramework: Clean up code

Fling/Pre-fling Boost: Call perf boost from System Server context

Add Game boost & modify launchboostv2 invocation.

Add QPerformance and UXPerformance

Set ro.vendor.extension_library - To communicate between perfd and thermal-engine

BT: Adding aptX-Adaptive codec entry to Framework

Fix Framework Reboot due to invalid display.

Bluetooth: Check for BLE on state after gatt service up

Wallpaper is half black after rotating quickly

BatteryMeterView: Fix glitch with percents

BatteryMeterView: Fix PowerSave mode percents and use same method for charge

Fix a NPE in BatteryStatsImpl

Prevent NFE in SystemUI when parsing invalid int

base: SystemUI: Allow user to add/remove QS with one click

SettingsLib: Allow Skia Vulkan to be used as HW renderer

Wifi: Check for WiFiService's existence before its access

SystemUI: add navbar layout inversion tuning