[ONE Android Development] danieldmm:
Build 09/01/2016

TugaPower ROM G+

Telegram Group: https://telegram.me/joinchat/CX70TgJ2N3NeuAHsR5oQsQ

#TugaPower v23.0 CM13 #OnePlus #Android 6.0.1

Please be sure you are using TWRP 2.8.7.0.5 Materialised or TWRP 2.8.7.0 20160101

Link for recovery: https://www.androidfilehost.com/?w=files&flid=30332

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:

GPS Fixed finnaly, thansk [MENTION=4021423]ketut.kumajaya[/MENTION] for pointing me the right direction

Added SnapDragon Camera

Replaced AudioFX with MaxxAudio

Kernel: Multi ROM Support

Android 6.0.1 in first ROM advised

Kernel: F2FS All partitions Support

Xposed Installer Materialised included thanks [MENTION=5345056]DVDandroid[/MENTION]

You must flash manually the xposed framework if you use Xposed, its a one time step, over my nexts releases it will survive.

You can use the built in install / unnistall of Xposed installer

StockBrowser Removed and added CAF Browser m46 compiled by me and WebRefiner Activated

( Block Ads / Privacy Attacks / Malware ) and Google Sync

Powered by SuperSU 2.63 System Less

Added Kcal Color Control

If you Gapps provider dont supply backup script, you can see in folder /system/addon.d you will need to flash gapps after ROM.

Gapps advised per the CyanogenMod Wiki to CM13 its Open Gapss Nano Package.

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

If you are in other builds, make a factory reset, flash ROM, then flash Gapps. Reboot

Bugs:

Lets find bugs :)

Sync With CM Repo:

art

Art: disable host clang by default

android

android-6.0.1_r3 -> android-6.0.1_r10

packages_providers_ThemesProvider

Guard to prevent inserting a record twice when a new theme is installed

packages_apps_Trebuchet

Trebuchet: Don't crash on widget clicks

Trebuchet: Add Snap to hotseat

Trebuchet: Ensure workspace is invisibile while in all apps view

packages_apps_Settings

BlacklistSettings : Ensure contact picker mirrors edit state

Settings : Disable editing existing entries for blacklist

packages_apps_Contacts

Clean up multi picker activity.

packages_apps_CarrierConfig

Add carrier config for Smartfren for IMS support RENDANG-525

packages_apps_ContactsCommon

Revert "Move info_lookup's LookupHandlerThread into src/"

Revert "Refactor contact info lookup"

Move info_lookup's LookupHandlerThread into src/

Add additional SIM constants

Refactor contact info lookup

packages_apps_Snap

Snap: initial materialization

SnapdragonCamera: Add missing permissions

SnapdragonCamera: Preventing duplicated call of setEnable

SnapdragonCamera: Restart preview in a corner case

SnapdragonCamera: Fix rtl photo menu touch issue

Read camera state from HAL instead of local state variable.

Update camera state immediately after start preview.

Consider fractional value in zoom circle calculation.

Enable extended face detection feature.

SnapdragonCamera: notify focus manager about surface change

SnapdragonCamera: fix screen flash on resuming

SnapdragonCamera: fix screen flash on resuming

SnapdragonCamera: Hide the preview cover when preview has started

PhotoUI: Calling layoutPreview on holdersize become valid

SnapdragonCamera: Improvement in open camera latency

SnapdragonCamera: Make camcorder switcher icon invisible.

SnapdragonCamera: Fix the icons disappeared when start recording failed

Snap: fix typo in PhotoModule

Snap: 100 chars!

Snap: restart preview when shutter-speed gets disabled

tests: fix class name

SnapdragonCamera: Fix incorrect viewfinder ratio for 13.1MP shots

Snap: Fix NPE when switching flash modes

SnapdragonCamera: Add support for high-speed video recording

Snap: add fallback for invalid video qualities

SnapdragonCamera: Query camcorder profiles before usage

Revert "SnapdragonCamera: Filter out unsupported video encoders in app"

SnapdragonCamera: fix messy photo in Panorama mode

SnapdragonCamera: Correct AutoHDR callback data size check

SnapdragonCamera: Make direct shutter callbacks configurable

SnapdragonCamera: Enable the TNR option in camera mode

Snapdragon Camera: fix face blinking during caf scan

SnapdragonCamera: Don't display metadata in paused state

Snapdragon Camera: Call shutter callbacks directly

Camera: Avoid 'takePicture()' in preview ready state

Snapdragon Camera: Unlock AE&AWB before snapshot

Snapdragon Camera: Check mosaic preview dimensions

Snapdragon Camera: Unlock AE&AWB during longshot

Snapdragon Camera: Avoid null pointer exception during shutter focus

frameworks_base

[WindowManagerService] fix starting window issue

Update private copy of Palette

fw: Remove duplicated locales.

SystemUI: fix navbar drawing issues in landscape

SysUI: Use mContext to get colors

SystemUI: Add missing close parenthesis

SystemUI: Expose Add Tiles DetailedView Title and Icon Color

fix setting new encryption password

frameworks_av

Use standard arm assembly syntax.

Fix overflow in amrwbenc

codecs: update for check ifeq ($(TARGET_ARCH),arm)

Use unified syntax to compile with both llvm and gas.

Disable integer sanitization for amrwbenc

cameraservice: Change the error mapping for ERROR_CAMERA_DEVICE.

drm : Give permission to access drm service api from Oma Drm engine

Clean up time zone handling in MtpUtils::parseDateTime.

Fix more potential (benign) AMRWB overflows

Fix more amrwbenc overflows

Tabs -> spaces

ACodec: Fix error handling in OutputPortSettingsChangedState

frameworks_opt_telephony

DcTracker: Fix CDMA NV mode data connection

DCTracker: HACK Fix eHRPD/LTE data connection.

Add dummy SUB record in CDMA NV mode

Revert "telephony: Also override nw mode on creation of phone objects."

telephony: Also override nw mode on creation of phone objects.

frameworks_native

SurfaceFlinger: Move Extended SF classes to same repository

sf: Change log message in layer query method from ALOGE to ALOGW

Revert "gui: only support tertiary display if QTI_BSP is defined"

system_bt

bt: Enable Bluedroid debugging only on eng.

vendor_cm

Update IMS APN based on Smartfren Device Technical document-v1 2

APN: Add Smartfren IMS for Volte support RENDANG-525

hardware_libhardware

hardware/libhw: Add display_defs.h to declare custom enums/flags

Revert "libhardware: Only support tertiary display in QTI_BSP is defined"

hardware_ti_omap4

camera: add Pixel{X,Y}Dimension and Orientation EXIF tags

hardware_qcom_audio

Check if hardware_info has been updated or not.

device_oneplus_bacon

bacon: Add dataservices directory locally

ROM -> https://meocloud.pt/link/1c8429eb-a63c-4abf-b71d-ea76e2f69bca/TugaPowerM23.zip

Mirror MegaUpload -> https://mega.nz/#!AF8SAZ7L!mYNS0gY0dxV451y7ex9oXRbzHSjHaBoWdpAYqbmg4fE

Mirror Android File Host -> https://www.androidfilehost.com/?fid=24352994023709458

Mirror Google Drive -> https://drive.google.com/file/d/0ByxlOYAKcbyTY2lIcEJuMUVrYjA

MD5: 1a73c6f08fe0bc4ea06694944feea722

Happy flashing

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

Meocloud Firmware Download -> https://meocloud.pt/link/d1dd9ff4-cd86-430e-93c1-9ca4579de624/TugaPowerFirmwareCM13.zip

MD5: fa112f1283c0cae9fd9f56943c1f40fc

Source:

CyanogenMOD: https://github.com/CyanogenMod

Kernel source: https://github.com/TugaPowerROM/android_kernel_oneplus_msm8974