[OnePlus 3 & 3T Cross Device Development] danieldmm:
Build 2017/04/14 #OP3 #OP3T

TugaPower ROM G+

Telegram Group: https://telegram.me/TugaPowerRomOP3T

#TugaPower N 20.0 LineageOS #laos #OnePlus #Android 7.1.2 #OMS7 #SubstratumRootLess

If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower

Relative to gapps, testing open gapps 7.1 nano package, working without issues

http://opengapps.org/?api=7.1&variant=nano

Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )

Replaced audiofx with Viper4Arise Deutereonomy 2.4 ( https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709 )

Gello removed and replaced by latest TugaBrowser beta v55.x Stable ( built in OTA for the Browser ) ( blocks ads and protect privacy)

TugaBrowser -> http://xdaforums.com/android/apps-games/app-tugabrowser-t3472457

Call Record

Kernel permissive

Support out of the box to microG GmsCore ( http://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )

No more need to make microG system app

PoGO: Gonna catch then all

Partial screenshot ( activate screenshot on power menu button and long press there to activate partial screenshot )

Full support to Substratum OMS7 RootLess:)

Powered by Magisk root and Magisk Manager

What does not works:

Check second post for bugs and solutions.

Change log:

Added APTX support

Attempt to fix some data mobile issue not working like it should

Project name: android_device_oneplus_oneplus3

op3: Doze: Refactor

op3: Doze: Perform operations as current user

oneplus3: Fix touchscreen and keypad firmware update process

oneplus3: Set restart level to related for all subsystems

Project name: android_kernel_oneplus_msm8996

input: synaptics: fw_update: Fix various memory leaks

BACKPORT: tcp: avoid infinite loop in tcp_splice_read()

BACKPORT: posix_acl: Clear SGID bit when setting file permissions

UPSTREAM: udp: properly support MSG_PEEK with truncated buffers

shmem: fix shm fallocate() list corruption

UPSTREAM: USB: mct_u232: add sanity checking in probe

UPSTREAM: USB: cypress_m8: add endpoint sanity check

UPSTREAM: USB: iowarrior: fix oops with malicious USB descriptors

UPSTREAM: USB: usb_driver_claim_interface: add sanity checking

UPSTREAM: ppp: defer netns reference release for ppp channel

synaptics_driver: Fix transposed memset() arguments

blk-mq: update hardware and software queues for sleeping alloc

drivers: video: Add bounds checking in fb_cmap_to_user

diag: dci: avoid out of bounds memory access

arm64: lib: improve copy_page to deal with 128 bytes at a time

qcacld-2.0: Remove obsolete set/reset ssid hotlist

removing msm calls to trace_printk

power: oneplus_fastcg: Silence log spam

mdss: livedisplay: Fix memory leaks in mdss_livedisplay_update()

op3: Remove CONFIG_TIMER_STATS

misc: fpc1020: Increase fingerprintd nice value when screen is off

input: synaptics: s3320: Don't run baseline after first touch

input: synaptics: s1302: Clean up PM routines and move them into worker

input: synaptics: s3320: Make interrupt handling more robust

ARM: dts: 15801: Configure ramoops memory

fs/pstore: fix compilation warning

pstore: Fix the ramoops module parameters update

fs/pstore: initialize pmsg from device tree

fs:pstore:ramoops: config mem from dt

input: synaptics_s3320: Support all gestures

input: synaptics_s3320: Clean up gesture handling

input: synaptics_s3320: Commonize gesture flags

ARM: dts: 15811: Target different GPU firmware image name

op3: Preserve memory on restart

power: reset: Allow device to preserve memory on restart

FROMLIST: pstore: drop pmsg bounce buffer

op3: Update defconfig

misc: fpc1020: Wait for uevent to send before exiting IRQ handler

misc: fpc1020: Simplify proximity shut-off

misc: fpc1020: Honor proximity state

usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs

power: oneplus_fastcg: Remove project_info dependency

misc: fpc1020: Clean up interrupt handler

misc: fpc1020: Set fingerprintd priority to max when screen is off

misc: fpc1020: Report key input when interrupt is fired with screen off

misc: fpc1020: Clean up PM routines and move them into dedicated worker

input: synaptics: s3320: Silence log spam

input: synaptics: s3320: Clean up PM routines and move them into worker

input: synaptics: s3320: Don't run baseline on resume

msm: qpnp-haptic: Process haptics asynchronously

power: bq27541: Silence log spam

power: bq27541: Don't queue work onto a specific CPU

op3: CONFIG_HZ_300

asoc/msm: Disable unwanted modules in arch config

Silences WLAN, PCIe, and CPU suspend state kernel messages

asoc/msm: Reduce min capture size

arm64: crypto: reduce priority of core AES cipher

arm64/crypto: use crypto instructions to generate AES key schedule

arm64: crypto: increase AES interleave to 4x

arm64/crypto: issue aese/aesmc instructions in pairs

arm64: crypto: Change priority of arm64 aes cipher.

crypto: arm64/crc32 - bring in line with generic CRC32

crypto: crc32 - Add ARM64 CRC32 hw accelerated module

ARM: dts: 15801: Adjust display power settings for s6e3fa5 panel

op3: Adjust display power settings

asoc: msm: Add async ops for SLIMBUS_6 backend

ARM: dts: 15801: Fix and optimize SRGB commands for s6e3fa5 panel

op3: Fix and optimize SRGB commands

ARM: dts: 15801: Enable SRGB for s6e3fa5 panel

mdss: livedisplay: Add commands to enable SRGB mode

qpnp-haptic: Dejank the haptics

input: synaptics_s3320: Report nanosecond timestamps to improve accuracy

input: add new input event code to pass timestamp to userspace

op3: Enable partial update mode for Samsung display

op3: Fix display brightness

video: mdss: LiveDisplay driver

cpuset: Make cpusets restore on hotplug

cpuset: Add allow_attach hook for cpusets on android.

block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.18.0

block, bfq: add Early Queue Merge (EQM) to BFQ-v7r7 for 3.18.0

block: introduce the BFQ-v7r7 I/O sched for 3.18

block: cgroups, kconfig, build bits for BFQ-v7r7-3.18

msm: qpnp-haptic: set up sysfs interface for common cmhw implementation

qpnp-haptic: Add sysfs interface to control intensity

input: tri-state-key: Get it ready for CM

input: synpatics_s3320: Get gestures ready for CM

input: synaptics_s3320: Clean up oneplus' logic

op3: Adjust LEDs configuration slightly

ARM: dts: 15801: Add add synchronized RGB blink params

leds: leds-qpnp: add synchronized rgb control

pwm: qpnp-pwm: add api for synchronous enable of pwms

ARM: dts: 15801: Correct MPP4 behaviour

staging: Import LA.UM.5.5.r1-04000-8x96.0 qcacld-2.0 driver

op3: Add initial lineageos defconfig

misc: Import OnePlus 7.1 kernel release

Revert "msm: camera: isp: Handle standby mode for B+M"

Revert "msm: isp: Add support for VFE resolution limit"

msm: camera: sensor: Fix memory leaks when sensor probe fails

cpufreq: stats: Fix memory leaks when updating stats table

msm: camera: isp: Fix memory leaks in vfe probe

msm: mdss: Don't cache the address of a stack variable in timings init

soc: qcom: glink: Fix memory leak in driver probe

net: ipc_router: Fix memory leaks when releasing a remote port

time: Remove CONFIG_TIMER_STATS

sctp: deny peeloff operation on asocs with threads sleeping on it

irda: Fix lockdep annotations in hashbin_delete().

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

sctp: avoid BUG_ON on sctp_wait_for_sndbuf

perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race

ipc/shm: Fix shmat mmap nil-page protection

ext4: validate s_first_meta_bg at mount time

dccp: fix freeing skb too early for IPV6_RECVPKTINFO

tmpfs: clear S_ISGID when setting posix ACLs

ANDROID: video: adf: Avoid directly referencing user pointers

ANDROID: trace: net: use %pK for kernel pointers

sched: Fix integer overflow in sched_update_nr_prod()

ion: blacklist %p kptr_restrict

USB: cdc-acm: more sanity checking

usbnet: cleanup after bind() in probe()

Input: aiptek - fix crash on detecting device without endpoints

ALSA: hrtimer: Fix stall by hrtimer_cancel()

ALSA: pcm : Call kill_fasync() in stream lock

netlink: Fix dump skb leak/double free

netfilter: x_tables: check for size overflow

net: llc: use correct size for sysctl timeout entries

sg_write()/bsg_write() is not fit to be called under KERNEL_DS

ANDROID: ext4 crypto: Disables zeroing on truncation when there's no key

ext4 crypto: fix bugs in ext4_encrypted_zeroout()

ext4 crypto: replace some BUG_ON()'s with error checks

ext4 crypto: ext4_page_crypto() doesn't need a encryption context

ext4: optimize ext4_writepage() for attempted 4k delalloc writes

ext4 crypto: fix memory leak in ext4_bio_write_page()

ext4: disable zeroout optimization when encryption is enabled

ext4 crypto: remove duplicate header file

ext4 crypto: fix spelling typo in comment

ext4 crypto: exit cleanly if ext4_derive_key_aes() fails

ext4 crypto: check for too-short encrypted file names

ext4 crypto: use a jbd2 transaction when adding a crypto policy

ext4 crypto: fail the mount if blocksize != pagesize

ext4 crypto: fix sparse warnings in fs/ext4/ioctl.c

ext4 crypto: fix ext4_get_crypto_ctx()'s calling convention in ext4_decrypt_one

ext4 crypto: allocate bounce pages using GFP_NOWAIT

ext4 crypto: release crypto resource on module exit

ext4 crypto: handle unexpected lack of encryption keys

ext4 crypto: allocate the right amount of memory for the on-disk symlink

ext4 crypto: clean up error handling in ext4_fname_setup_filename

ext4 crypto: policies may only be set on directories

ext4 crypto: enforce crypto policy restrictions on cross-renames

ext4 crypto: encrypt tmpfile located in encryption protected directory

ext4 crypto: make sure the encryption info is initialized on opendir(2)

ext4 crypto: set up encryption info for new inodes in ext4_inherit_context()

ext4 crypto: fix memory leaks in ext4_encrypted_zeroout

ext4 crypto: use per-inode tfm structure

ext4 crypto: require CONFIG_CRYPTO_CTR if ext4 encryption is enabled

ext4 crypto: shrink size of the ext4_crypto_ctx structure

ext4 crypto: get rid of ci_mode from struct ext4_crypt_info

ext4 crypto: use slab caches

ext4: clean up superblock encryption mode fields

ext4 crypto: reorganize how we store keys in the inode

ext4 crypto: separate kernel and userspace structure for the key

ext4 crypto: don't allocate a page when encrypting/decrypting file names

ext4 crypto: optimize filename encryption

ext4 crypto: Do not select from EXT4_FS_ENCRYPTION

ext4 crypto: add padding to filenames before encrypting

ext4 crypto: simplify and speed up filename encryption

ext4 crypto: enable encryption feature flag

ext4 crypto: Add symlink encryption

ext4 crypto: enable filename encryption

ext4 crypto: filename encryption modifications

ext4 crypto: partial update to namei.c for fname crypto

ext4 crypto: insert encrypted filenames into a leaf directory block

ext4 crypto: teach ext4_htree_store_dirent() to store decrypted filenames

ext4 crypto: filename encryption facilities

ext4 crypto: implement the ext4 decryption read path

ext4 crypto: implement the ext4 encryption write path

ext4 crypto: inherit encryption policies on inode and directory create

ext4 crypto: enforce context consistency

ext4 crypto: add encryption key management facilities

ext4 crypto: add ext4 encryption facilities

ext4 crypto: add encryption policy and password salt support

ext4 crypto: add encryption xattr support

ext4 crypto: export ext4_empty_dir()

ext4 crypto: add ext4 encryption Kconfig

ext4 crypto: reserve codepoints used by the ext4 encryption feature

ext4 crypto: add ext4_mpage_readpages()

ANDROID: mnt: remount should propagate to slaves of slaves

ANDROID: sdcardfs: support direct-IO (DIO) operations

ANDROID: sdcardfs: implement vm_ops->page_mkwrite

ANDROID: sdcardfs: Don't bother deleting freelist

ANDROID: sdcardfs: Add missing path_put

ANDROID: sdcardfs: Fix incorrect hash

ANDROID: sdcardfs: Switch strcasecmp for internal call

ANDROID: sdcardfs: switch to full_name_hash and qstr

ANDROID: sdcardfs: Add GID Derivation to sdcardfs

ANDROID: sdcardfs: Remove redundant operation

ANDROID: sdcardfs: add support for user permission isolation

ANDROID: sdcardfs: Refactor configfs interface

ANDROID: sdcardfs: Allow non-owners to touch

vfs: Add setattr2 for filesystems with per mount permissions

vfs: Allow filesystems to access their private mount data

mnt: Add filesystem private data to mount points

vfs: Add permission2 for filesystems with per mount permissions

ANDROID: sdcardfs: Fix locking issue with permision fix up

sdcardfs: Use per mount permissions

sdcardfs: Add gid and mask to private mount data

sdcardfs: User new permission2 functions

sdcardfs: Move directory unlock before touch

sdcardfs: fix external storage exporting incorrect uid

sdcardfs: Added top to sdcardfs_inode_info

sdcardfs: Switch package list to RCU

sdcardfs: Fix locking for permission fix up

sdcardfs: Check for other cases on path lookup

sdcardfs: override umask on mkdir and create

ANDROID: sdcardfs: fix itnull.cocci warnings

sdcardfs: Truncate packages_gid.list on overflow

vfs: change d_canonical_path to take two paths

Revert "BACKPORT: f2fs: add a max block check for get_data_block_bmap"

Revert "mm: vmscan: Add a debug file for shrinkers"

msm: mdss: Add lock to avoid release of active session in rotator

msm: mdss: fix race condition in mdp debugfs

msm: mdss: Validate cursor image size

msm: mdss: Install sync fences after user copy

Project name: android

manifest: android-7.1.1_r25 -> android-7.1.2_r2

Revert "cm: Remove ahbottomnavigation library"

Project name: android_system_bt

Revert "Update Interop datatbase to prevent preferred conn updates"

Project name: android_system_core

adb: Look for bu in /sbin when in recovery mode

Project name: android_hardware_qcom_display

hwcomposer: Fix regression in hwc_sync

Project name: android_hardware_qcom_media

mm-video-v4l2: vdec: add safety checks for freeing buffers

mm-video-v4l2: venc: add safety checks for freeing buffers

Project name: android_hardware_qcom_audio

audio: Fix flac offload not working

policy_hal: Line up default features with rest of HAL

Project name: android_vendor_cm

kernel: Fix broken C_INCLUDE_PATH for Darwin

kernel: Include openssl headers and dylibs on darwin

Revert "YOLO"

Revert "Br0Zip"

build: Update smali and baksmali to 2.2.0

charger: updates for 7.1.2 minui

roomservice: handle devices with underscores

Br0Zip

YOLO

Fix APNs for Cyprus

extract_utils: support extracting directly from an ota zip

cm: remove special access to unused cmfm

cm: allow apps to find profile manager service

Project name: cm_platform_sdk

PerformanceManager: Don't override the user preference

PerformanceManager: Don't force powersave mode with powersave profile

Project name: android_device_oppo_common

oppo-common: ConfigPanel: Use cmsdk FileUtils wherever it suits

Oppo -> OPPO

Project name: android_frameworks_native

sensorservice: Register orientation sensor if HAL doesn't provide it

Project name: android_frameworks_base

Various fixes and cleanups after 7.1.2 merge

Zygote: Fix GL preload property evaluation

systemui: Fix DE translation for navbar buttons

Show lockscreen wallpaper when blur effect is enabled

Revert "SystemUI: Add SlotId for MultiSim"

PowerManager: Bring back the compatibility with AOSP

Fix permission description string for DE.

Hotspot Tile: longclick should open Tethering settings

Fix Hotspot tile is shown on Guest user

SettingsProvider: Update icon.

Revert "[1/2] base: support separate encryption/lockscreen passwords"

DocumentsUI: make shapes great again

Project name: android_frameworks_av

stagefright: Fix SurfaceMediaSource buffer search condition when buffer return

stagefright: Remove the HAL3 limitation from the video reference clock selection

Revert "Revert "mediacodec: minijail: Enable exporting of policy files""

Project name: android_build

build: allow to disable recovery-two-step.img generation

Project name: android_bionic

libc: memcpy_base: Disable opt for certain targets

linker: Restore optional platform text relocations use

Project name: android_packages_providers_CalendarProvider

New Material icon

Project name: android_packages_providers_MediaProvider

New Material icon

Project name: android_packages_providers_TelephonyProvider

TelephonyProvider: Update icon to Material

Project name: android_packages_services_Mms

Add Material icon & app label

Project name: android_packages_services_Telephony

VoicemailSettingsActivity: Fix NPE

telephony: fix crash when missing simcard

Revert "Add support to launch call barring"

Revert "CallFeatureSettings: Only show call barring option if QTI package installed"

Project name: android_packages_apps_CellBroadcastReceiver

CellBroadcastReceiver: fix channel 50 not disabling

Project name: android_packages_apps_DeskClock

AlarmService : Change stopSelf into stopSelfResult

DeskClock: fix ringtones stored on /sdcard/Alarms

Project name: android_packages_apps_Nfc

Nfc: Include android-support-v4 for the NXP stack

Project name: android_packages_apps_Trebuchet

Moving a few testing classes to a separate package

Trebuchet: Remove ambient SDK leftover

Project name: android_packages_apps_CarrierConfig

Consider O2 and E-Plus as non-roaming

Consider Q-TELECOM Greece as non-roaming

Project name: android_packages_apps_Snap

CameraControls: Toggle the status of disabled views

Never remove unsupported controls

WideAnglePanoramaUI: Correctly position the progressbar

Snap: CaptureModule: set switcher index on resume

Snap: CaptureUI: fix ModuleSwitcher being invisible

CaptureUI: fix crash on setOrientation

Snap: Fix effect and picture program overlay buttons

Always apply frame size reduction to panorama pictures

Never ignore finger swipes in gallery mode

Fix record time sometimes not seen

Project name: android_packages_apps_CustomTiles

WakelockService: Refactor

Caffeine: Stop service if not enabled

CaffeineTile: Use 'off' icon by default

AdbOverNetworkTile: Use 'off' icon by default

WakelockService: Don't check if wakelock is held twice

WakelockService: reference the wakelock

CaffeineTile: Start service connection as current user

Project name: interfacer

restartService --> forceStopService

Polish copyright

Fix failed authorization toast on restartService

JobService: Fix inital font application

JobService: fix initial theme dir creation

Project name: android_packages_apps_Settings

Revert "[2/2] settings: support setting a separate encryption password"

Settings: Fix AOSP WiFi AP translations

Settings: Fix german string

Project name: android_packages_apps_CMParts

PerfProfileSettings: Update slider on powersave mode change

CMParts: Update quick QS pull-down summary for translation

Fix reorientation of volume buttons on portrait tablets

Project name: android_packages_apps_Bluetooth

Revert "Bluetooth: handle opening incoming APK files"

Project name: android_packages_apps_Gallery2

Gallery2: support the newly added media file types in MTP mode

Gallery2: Fix use of uninitialized stack variables

Gallery2: Remove unused renderscript class

Fix spelling error

Project name: android_packages_resources_devicesettings

Add strings for fingerprint pocketmode

Project name: android_packages_wallpapers_LivePicker

New Material icon

Thanks all for the support.

Download links:

Android File Host: https://www.androidfilehost.com/?fid=457095661767153853

MD5: bf08fb8de9bed17f89cd41089bdbd08b

Please dont mirror for now the roms zips, thanks

Sources :

Rom:- https://github.com/LineageOS

Kernel:- https://github.com/LineageOS/android_kernel_oneplus_msm8996