[ONE Android Development] jgcaap:
Flashing instructions:

1) Firmware (I'll keep updated always when necessary.)

2) ROM

3) Slim Gapps (don't flash any other)

4) Let me know how it go.

Notes:

1) keep new modem which is on the op, also compatible with oxygen modem (I'll upload)

2) flash rom after rebooting recovery

3) kernel development will be 3.60 and upward.

Toubleshooting:

I'm not responsible for any damage caused to the device.

There is a bug which drains battery over ambient display, if you have drains, is a CM/google bug (problably a feature i'll deprecrate in case i'm not able to improve it).

You'll get great performance and stuff working if you use exatly what i've shared.

Mods/kernels/scripts not provided by me, i won't give any support.

Problem: After flashing firmware appear no SIM

Solution: There is a known problem with TWRP ofiicial. Download the custom version from katinatez which is 2.8.6.0 or 2.8.7.5 and flash again

Description: TWRP messed up

Problem: Appears wrong binary when flashing new ROM, even by flashing firmware

Solution: flash new firmware, reboot recovery, flash rom.

Changelog :

22/02/2016

cm-13.0 9b2ae3b] Fix for launching App from Recent Apps on first click

Author: Narendra <nagarw@codeaurora.org>

Date: Mon Feb 1 16:23:00 2016 +0530

1 file changed, 8 insertions(+), 1 deletion(-)

[cm-13.0 9fa1b87] Fix NullPointerException in DhcpPacket.getTransactionId()

Author: Damien Vagner <damienx.vagner@intel.com>

Date: Tue Jan 26 16:41:51 2016 +0100

1 file changed, 2 insertions(+)

[cm-13.0 8e92512] BatteryStats: fix wrong calculation of battery voltage

Author: yangxiaoxing <yangxiaoxing@xiaomi.com>

Date: Mon Feb 15 20:18:49 2016 +0800

1 file changed, 4 insertions(+), 4 deletions(-)

[cm-13.0 2aa17a5] Use clang for libhwui

Author: Chris Craik <ccraik@google.com>

Date: Tue Nov 3 10:33:34 2015 -0800

1 file changed, 3 insertions(+)

[cm-13.0 19bde4a] Avoid unregistering client while stopping LE Scan

Author: Om Prakash Sahoo <om.p.sahoo@intel.com>

Date: Thu Mar 19 11:23:31 2015 +0100

1 file changed, 1 insertion(+), 3 deletions(-)

[cm-13.0 fd1596b] When the applicantion is removed, reset network permission of this uid.

Author: zhangshuxiao <zhangshuxiao@xiaomi.com>

Date: Wed Feb 3 21:28:25 2016 +0800

1 file changed, 34 insertions(+), 1 deletion(-)

[cm-13.0 68870f2] Camera2: Fix getInternalFormatSizes for depth

Author: Chien-Yu Chen <cychen@google.com>

Date: Tue Feb 16 14:28:50 2016 -0800

1 file changed, 4 insertions(+), 2 deletions(-)

[cm-13.0 8bd72fa] ImageReader: override the flexible YUV compatible formats

Author: Zhijun He <zhijunhe@google.com>

Date: Wed Feb 17 17:24:04 2016 -0800

1 file changed, 8 insertions(+)

[cm-13.0 cb55b48] The value returned by mNotificationList.size() is out of synchronize

Author: guoyin.chen <guoyin.chen@freescale.com>

Date: Wed Feb 17 15:21:53 2016 +0800

1 file changed, 3 insertions(+), 2 deletions(-)

[cm-13.0 5c534d6] Framework changes for disabling per app metered network usage

Author: Kamaljeet Maini <kmaini@cyngn.com>

Date: Fri Jan 8 14:17:41 2016 -0800

2 files changed, 15 insertions(+), 2 deletions(-)

[cm-13.0 a770f26] Return only if both playback and capture not present

Author: Sumit Bhattacharya <sumitb@nvidia.com>

Date: Mon Sep 28 15:13:28 2015 +0530

1 file changed, 10 insertions(+), 2 deletions(-)

[cm-13.0 ea55b93] Fix bugs : when user designate print range, NumberFormatException is occured.

Author: hyoyeon.hwang <hyoyeon.hwang@lge.com>

Date: Thu Feb 11 19:18:01 2016 +0900

1 file changed, 8 insertions(+), 2 deletions(-)

[cm-13.0 600a94e] Sometimes property service is slow to respond.

Author: Gao,KunX <kunx.gao@intel.com>

Date: Mon Oct 21 16:16:00 2013 +0800

1 file changed, 1 insertion(+)

[cm-13.0 0fbe527] Don't apply clang flag to gcc builds.

Author: Dan Albert <danalbert@google.com>

Date: Thu Nov 5 00:59:09 2015 -0800

1 file changed, 1 insertion(+), 1 deletion(-)

[cm-13.0 45e55ba] UsbdeviceManager: Avoid sending extra USB_STATE broadcast intent

Author: Maunik Shah <mshah@codeaurora.org>

Date: Sat Dec 12 15:28:51 2015 +0530

1 file changed, 1 deletion(-)

[cm-13.0 d516638] Fix to NullPointerException when activity is relaunched

Author: Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com>

Date: Tue Apr 30 11:50:16 2013 +0200

1 file changed, 8 insertions(+)

[cm-13.0 f0506b2] ChooseTypeAndAccountActivity: Fix the NullPointerException

Author: kaiyiz <kaiyiz@codeaurora.org>

Date: Fri Jul 26 15:27:39 2013 +0800

1 file changed, 1 insertion(+), 1 deletion(-)

[cm-13.0 49a0b89] Performance Optimization: Align texture dirty rect

Author: ywen <ywen@codeaurora.org>

Date: Mon Feb 15 16:09:40 2016 +0800

1 file changed, 10 insertions(+), 4 deletions(-)

[cm-13.0 b0493ba] Avoid duplicate call to onLoadFinished()

Author: Romain Vimont (®om) <rom@rom1v.com>

Date: Thu Dec 5 11:08:10 2013 +0100

1 file changed, 1 insertion(+), 1 deletion(-)

07/01/2016

ART:

Fix bogus logging statement. …

Fix 030-bad-finalizer & 059-finalizer-throw. …

Partially fix 046-reflect. …

Fix 137-cfi. …

Fix 055-enum-performance. …

Fix bug with test 964.

Frameworks:

System crash fixed when turn off MagnificationGesture …

Allow faster app switching …

SwipeHelper: Let's cut Max Excape Animation in Half too …

Reduce risk of memory corruption due to finalization. …

NullPointerException when starting VoiceInteractionManagerService …

Added:

Network monitor

bacon configs:

updated WCNSS

Synced with hammer configs

updated camera configs

kernel:

synced with CM

built kernel 2.53 with a new touch driver, let me know if is better.

misc:

updated SuperSU 2.66

05/01/2016

Changelog:

Added CAF task manager

Add Snapdragon Camera

frameworks/base

Scroll: modified velocitytracker …

Reduce synchronized region when checking idle states. …

handle timeout of requestNetwork …

Skip duplicated appop checking of ContentProvider. …

SettingsProvider: Update icon. …

ConcurrentModificationException in SyncManager …

Restart persistent process if start timeout. …

Reduce sscanf times for optimization …

Make 'Restrict Background Data' notification swipeable …

PackageManager: allow build-time disabling of components …

base: Allow certian browsers to log-in …

Trace SQLite operations …

Forward Port: Smoother Upload and Download Animation …

Fix On Tap Home button …

ART:

rebased ART with caf stuff and CM (undertest)

Disabled clang for now.

Kernel:

Disabled cortex-a15 as there is evidence for causing battery drains.

26/12/2015

on rom level was added:

compiler-rt latest available

openssh latest available

jpeg latest available

libhevc latest available

lzma latest available

sqlite 3.9.2

Random reboots fix

Code synced with CM

New toolchain GCC 4.9 optimized for our device for ROM and Kernel

Added boring SSL

Hopefully killed the graphics random anoying whatever we call it.

On art:

Remove unused WorkStealing thread pool

ART: Abort if malloc() fails in SwapAllocator::allocate().

ART: Include zero-padding in String::SizeOf().

ART: Fix destruction order in Runtime.

ART: Fix bug in DeadPhiHandling

ART: (Partially) fix lock aliasing

base: Fix an infinite loop in HashSet::Insert

ART: Fix potential integer overflow in JNI.

Delegate long-to-float type conversions to the runtime on ARM.

Fix race condition for method root marking in VisitNativeRoots

Fix hash set memory leaks

ART: Improve Indenter performance.

ART: Update run-test 100

ART: Fix PACKED size of tls_ptr_size.

Updated kernel:

Very summarised to what was done on kernel:

full rebased where was removed all commits not related to Krait but cortex-A15

Reverted back to CAF cpu boost

changed intereactive configuration to be more battery friendly

Using only aligned access for best performance and stability, as unalignment has it's own bad costs. Read more here: http://www.alexonlinux.com/aligned-vs-unaligned-memory-access

Added stable ondemand governor from CAF

Updated to latest wifidriver

Optimize kernel cfbfillrect function

Use of ALIGNED_STRUCT_PAGE

02/10/2015

Frameworks base:

Fix filedescriptor leakage in MediaMetadataRetriever

fix bug about view cache in RemoteViews

Fix NativeDaemonConnectorException issue accessing null object

Fix problem with BootAnimation exit

Correct the first index for drain.

Properly handle null URIs.

Reduce log verbosity: Don't spam logcat

Increase Touch Sensitivity

Turn off debugging

[ActivityManager] Fix IndexOutOfBoundsException

bionic:

Import memchr implementation from cortex-strings for Cortex A15

libc: Import optimized string routines from Apple

Update webview to 46.0.2490.76

Synced with CM

18/10/2015

Readded Qualcom Bionic Optimization

Synced with CM 18/10/2015

17/10/2015

Rebased the whole rom and removed many commits unecessary and creating incompabilities.

Update to SQLite 3.8.11.1

Synced with CM 17/10/2015

16/10/2015

bionic:

Rebased:

Use ARM/Aarch64 assembly for fabs/fabsf … new

libc: arm: add optimized memchr implementation …

bionic: libc: arm: Update libgcc_compat. … new

libc: arm: a15: add optimized memcpy implementation …

Catch up on upstream's round/roundf/roundl. … new

Remove __ARM_HAVE_HALFWORD_MULTIPLY. …

Remove __ARM_HAVE_LDREXD. …

Sync libm with upstream. …

Properly align init/fini_arrays for crtend.o …

bionic: libc: arm: Remvoe a couple extra '.text's. …

bionic: libc: arm: Optimized strrchr, courtesy NetBSD. …

bionic: libc: arm: Optimized strchr, courtesy NetBSD. …

Speed-up ARM memcmp by leveraging NEON. …

bionic: benchmarks: Add more benchmarks. …

cortex-a9: Fix reference to __memcpy_base_aligned. …

av:

Prevent integer underflows in ID3::Iterator …

Fix potential double close in IMediaMetadataRetriever::setDataSource …

camera2: fix various BpCameraDeviceUser methods to return correct res… …

base:

IndexOutOfBoundsException on addPreference in PreferenceGroup …

Reset the setOnKeyListener callback when view is destroyed …

Text size for empty view shall be styled according to theme …

Remove hard-coded DrawSelectorOnTop on ListFragment's default ListView. …

Frameworks/base: Fix AdapterViewAnimator.createOrReuseLayoutParams …

Safely handle interrupts during Thread.join() …

Retry if interrupted before mMessageThread has joined …

Implement finalizer for RS contexts. …

Make accessing mInputMethodTarget thread-safe …

native:

Avoid overwriting EGL14.EGL_NO_SURFACE …

libgui: Only allow one return from useFenceSync …

SurfaceFlinger: Fix null pointer exception …

Eliminate multiple benign overflow conditions. …

Eliminate benign overflow condition triggered upon loop termination i… …

Enable multiple benign overflow conditions. …

Benign unsigned integer overflow in Parcel …