[ONE Android Development] danieldmm:
Build 7/11/2015

TugaPower ROM G+

#TugaPower v2.0 CM13 #OnePlus #Android 6.0

Change log:

Dont forget, you must flash Gapps after ROM

Restored the old style im rom zip ( maybe better for multi rom flash )

bacon: Tweak the thermal config

Don't allow the device to heat up so much during normal use

Gapps fixed, for the time being dont use open gapps, but you must still flash gapps after ROM flash.

If you reboot phone without flashing gapps, prepare to make a factory reset.

So if you use the OTA to download dont install by OTA, manually install to flash then gapps.

Several fixes relative to camera ( Check kernel changelog )

SuperSU removed from app drawer and moved to Settings.

ROM version also moved to Settings ROOT

Kernel Patched Multi-ROM ( Advice, install as primary ROM )

Kernel build with gcc-4.9

Theme Engine ( Take extreme caution with this, nandroid advice before starting applying themes )

Gestures ( not yet working, initial port )

----- Bugs -----

Power Saver Mode will give reboot when activating, so dont use.

Settings FC when changing lock screen security

ROM script its improved, if you dont meet the firmware requisites ROM will not flash, you can find Firmware zip in the botton of post

----- Change log from CM Sync ----

android_kernel_oneplus_msm8974

soc: qcom: rq_stats: Always show idle time left

soc: qcom: rq_stats: Pass correct cpu id to update_average_load function

prima: Update to release LA.BF.1.1.3-00210-8x74.0

ARM: 7877/1: use built-in byte swap function

ARM: optimize memset_io()/memcpy_fromio()/memcpy_toio()

ARM: 8165/1: alignment: don't break misaligned NEON load/store

ARM: alignment: correctly decode instructions in BE8 mode

Revert "Revert "(SQUASHED) Revert recent kernel-common changes""

msm: camera2: cpp: Append frame buffers to the list

msm: cpp: Validate frame message before manipulating it

msm: cpp: Add dynamic clock setup

msm: camera2: cpp: Add support to enable turbo mode dynamically

camera: isp: create debug fs entry to log vfe overflows

msm: camera: fix update frame drop pattern

msm-camera: Dividing unified buffer in proportion to the image size

msm: camera: check buffer validity in isp buf mgr

msm: camera: Maintain buffer queue in isp buf manager

msm: camera: Error prints added in during camera open

msm: isp: Fix includes

msm: camera: sensor: sanitizing user space pointer

msm: camera: Reset HALT reg after the halt

msm: isp: Fix bus halt acknowledgement

msm:camera:isp: Fix array index bound checks

ARM: prefetch: remove redundant "cc" clobber

ARM: 7867/1: include: asm: use 'int' instead of 'unsigned long' for 'oldval' in atomic_cmpxchg()

ARM: 7866/1: include: asm: use 'long long' instead of 'u64' within atomic.h

ARM: atomic64: fix endian-ness in atomic.h

msm: camera: validate user space parameter for max and min value

msm: camera: Don't return error code if array size is zero

msm: camera: isp: protect driver from using invalid bufq

msm: camera: fix write sensor settings issue

msm: camera: check size of allocated buffer to prevent overflow

msm: isp: handle duplicate frameid

msm: camera: isp: Reset frame id for new stream

msm: camera: Set same timestamp for all streams

msm: camera2: cpp: Enhance timeout handler for multi-frame processing

msm: cpp: Ignore hardware interrupt when timer expires

msm:pproc: CPP freed pointer in error case

msm: camera: isp: fix for avtimer power collapse

msm: camera: isp: Add support for AV time stamp for VT call

msm-camera:isp: Handle interrupts with zero values

msm: isp: Fix stats mask upon VFE reset

msm:isp: avoid race condition in stop axi stream

msm:camera: Bus overflow recovery mechanism

msm-camera: Fixed MIPI raw snaspshot issue 8x10

android_packages_apps_Settings

Don't show MIDI USB option if not supported

Settings: Add Advanced reboot (1 of 2)

android_build

build: Add option to disable block-based ota

build: Fix extra userdata generation

Change the cache partition size check into warnings

cm_platform_sdk

CMSettings: Add migrate step for NAV_BUTTONS

android_frameworks_base

Text size for empty view shall be styled according to theme

Avoid a double decrease of reference counter for unstable provider

Clean up the uncrypted OTA package on bootup

We should notify the foreground activity changes immediately

Avoid deadlock during device boot up

IndexOutOfBoundsException on addPreference in PreferenceGroup

Reset the setOnKeyListener callback when view is destroyed

Stop feeding restore engine if it's already in failed state and exit

Don't unregister Fonts from renderer at destruction

force to remove window for BinderDied case

[ActivityManager] Bring up Service if not schedule to restart

Fix system watchdog timeout when reading too many usage events

Skip ANR for processes that have been killed

Fix wrong focused stack if there are finishing tasks

[ActivityManager] Use the original activity to launch

Avoid ANR by previous dead receiver

Improve handling of accessing dying provider

Frequently used OpenGL ES methods whitelisted for fast JNI path

Fix system_server crash issue

Fix deadlock between ActivityManager and BackupManager under some race conditions

The process PrintSpooler:renderer crashes in libpdfium.so

Stop thread before deleting object reference

Ensure the occlude state of keyguard is correct

Re-use orientation from windows if screen is freezing by apps

Make accessing mInputMethodTarget thread-safe

To call TypedArray.recycle() when we are done with the array

Initialize mGlobalSystemUiVisibility

Built-in mic is not used when USB mic is disconnected

[ActivityManager] Fix NullPointerException in startNextMatchingActivity

[ActivityManager] Fix IndexOutOfBoundsException

Ensure state transition of paused activity

Disassociate system windows from apps

Fix resumeHomeStackTask can't resume home if activity is finishing

RRO: idmap: fix sorting of overlays.list

RRO: idmap: allow flock(2) to block

DatabaseHelper: Add back ro.telephony.default_network

clean up path for DROIDDOC_HTML

SystemUI : Fix left/center clock visibility

fw: Remove NAV_BUTTON setting

SystemUI: Add cm's WRITE_SETTINGS permission

android_packages_services_Telecomm

Telecom : Ensure null is returned for no dialer package

android_external_ant-wireless_ant_native

ant_native: use project pathmap

android_frameworks_av

Stop thread before deleting object reference

audio: Change the default init value for StreamDescriptor

MatroskaExtractor: don't use new buffer unless necessary

AudioPolicyService: Synchronize access to AudioPolicyManager

libcameraservice: Fix nullptr crash when no client

Play timed text even after 35.79 minutes

Remove possible div by zero in WavExtractor

libstagefright: add NULL check in MediaCodecSource's puller

camera: Allow devices to load custom CameraParameter code

libstagefright: Make it possible to skip OMX buffer reallocation

libstagefright: add missing TI color format case

Fix benign unsigned overflow in AuidoTrackShared

Refactor setPlaybackRate to avoid benign unsigned integer overflow

libstagefright : fix the bug of wrong value setting for slice-height

Don't send OnCompletion events when looping

nuplayer: don't resume if player is reseting

Fixed comparison so that both operands are treated as 64 bit

Fixed benign overflows triggered by tests CVE-2015-1538-1 and

Fix benign overflow in SampleIterator

Fix benign overflow in OMXNodeInstance

Fix benign unsigned overflow in OggExtractor

Fix benign overflow in getTimeUsOfGranule

Fix offset adjustment when skipping off-spec meta chunk

Add include guard into SampleIterator.h

Benign integer overflow in PlaylistFetcher

Fix benign unsigned integer overflow

Fix benign overflows in ACodec

android_packages_apps_TvSettings

Ues more descriptive strings for add accessory page

AddAccessory: Add a public constructor for AddAccessoryContentFragment

About: Add SELinux status

About: Add CyanogenMod Updates

Merge "About: Show the kernel version" into cm-13.0

Merge "Add build date (ro.build.date from build.prop) to About screen

Merge "One does not simply become a Developer" into cm-13.0

Merge "Add CyanogenMod version to the About screen" into cm-13.0

android_system_extras

ext4_utils: ifdef socket loop

android_art

dex2oat: Increase timeout to allow slow CPUs to finish compilation

ART: Disable Clang for arm

android_hardware_qcom_audio

audio: move inclusion outside of feature check

android_frameworks_native

surfaceflinger: Set max acquired buffer count

android_bionic

libc: ARM64: add assembly strrchr

libc: ARM64: improve performance in strlen

libc: ARM64: optimize memset

libc: ARM64: Optimize memcpy

libc: ARM64: optimize memmove

libc: ARM64: remove bcopy from memset

libc: remove bcopy from memmove on 64-bit architectures

Fix arm64 fenv warnings, and make warnings errors

Sync with upstream FreeBSD libm

Revert "Revert "Use compiler builtins for fabs.""

Use __builtin_* in <math.h>

linker: Add support for dynamic "shim" libs

android_external_ntfs-3g

ntfs-3g: Fix compilation issues on M

Revert "include: define __BYTE_ORDER"

android_device_oppo_common

ConfigPanel: Remove unneeded Vibration permission

ROM -> https://goo.gl/9oAo11

Mirror MegaUpload -> https://goo.gl/E0TcD7

Mirror Android File Host -> https://goo.gl/J1QLlw

MD5: 9dc8b3bb1ba9c9ffe36941364a45b505

Gapps -> Use Slim Gapps Zero / DeltaDroid tested and working

Use another? It Works? Report then to test and add to the list

Happy flashing

Firmware parts Recommended for better function over TugaPower ROM, flash this if ROM Flash gives firmware error.

If error its modem you must use TWRP 2.8.6.0 to flash the firmware zip properly.

Meocloud Firmware Download -> https://goo.gl/NV6OeM

Mirror Mega Download -> https://goo.gl/5PZFMU

MD5: 09411ce520b4916e2ce007dfa4af7e53

Source:

CyanogenMOD https://github.com/CyanogenMod