[Galaxy Tab 10.1 Android Development] decatf:
Build 20150815

Please read below before installing!

Update to android-5.1.1_r9

telephony.db will be deleted when installing the 20150814 ROM. You will lose whatever cellular/3G settings or data that was in this database file.

The reason is android-5.1.1_r5 was only for some specific T-Mobile device. I switched to r9 because it's for the general line of Nexus devices. The telephony.db is not compatible between r5 and r9. So it must be deleted when moving to r9.

Deleting it has no effect on p4wifi tablets.

The file is located at /data/data/com.android.providers.telephony/databases/telephony.db

Copy it some where safe if you wish to before installing this build.
​

Update f2fs

For F2FS partitions you must use TWRP-2870-20150814 with the 20150814 ROM.

The reason is that F2FS now has extent_cache enabled by default. I have experienced some issues with F2FS if recovery is not using extent cache. So you must use the most recent recovery with the updated F2FS.​

Fix for stagefright vulnerability CVE-2015-3864

Workaround for black recents windows

Change log:

project bionic/
ba3ba89 Replace Cortex A15 strlen implementation with cortex-strings
606eca6 Import memchr implementation from cortex-strings for Cortex A15
b95b9b7 libc: tegra2: Use a15 strlen and string copy
b553cd8 libc: Update non-neon cortex a9 makefile
4a07afa bionic/libm pow optimizations for arm64
c35e587 Sync libm with upstream.
f9ad8a8 Get new coshl, sinhl, and tanhl implementations from upstream.
87d2724 Fix our <complex.h> support.
976604d libm: arm: Add arm specific floor() optimization
7f1159a Add aarch64 instructions wherever possible
e91b015 libm: Fix makefiles

project build/
44da9a4 "LMY48H"
d278554 "LMY48I"

project device/samsung/p4-common/
2d30b54 p4-common: switch back to cortex-a9 bionic

project external/libavc/
2eaba5e Encoder: Fixed an issue in handling FPS greater than 60

project frameworks/av/
efbf145 audiopolicy: Make sense of concurrency properties
e47a66b libmedia: AudioTrack offload only for STREAM_MUSIC
aa31cfa libmedia: Enable TrackOffload for more usecases
086daa6 libstagefright: use SW AAC encoder for HE-AAC format
e914a34 httplive: Check for bandwidth switch only for variant playlists
5bdf394 httplive: Check for NULL playlist in postPrepared
09fade8 httplive: Adjust seek time to last video IDR time
a588850 audiopolicy: Fix for isStateInCall() do not return proper status
49a2379 libstagefright: Fix crash in convertMetaDataToMessage
56c7950 nuplayer: Fix incorrect state handling while shutting down a decoder
3676897 Guard against codecinfo overflow
93d306a MPEG4Extractor: still more NULL dereference fixes
ba0017c SampleTable: fix integer overflow checks.
beaf7af AudioOutput: Always open AudioTrack with a flag
bdd042d audiopolicy: use deep_buffer as default output for music stream
fc5ee4b audiopolicy: fix for voice call to work on USB headset during concurrency
4b48487 audiopolicy: fix playback of multichannel pcm clips via low latency output
c773ab2 libeffects: validate channel mask in downmixer configure
bb5a485 Fix multiple division-by-zero conditions in MPEG4 parsing
8da57d7 Fix null-pointer-dereferences accessing the SampleTable
f5024f6 MPEG4Extractor.cpp: Add check for size == SIZE_MAX
574e49d Detect allocation failures and bail gracefully
744a392 libstagefright: Remove nBitPerSample CHECK
cc68933 Fix global-buffer-overflow in voAWB_Copy.
8dbd7ff Check allocation
62c0231 Fix new[] vs delete mismatch.
ce0ebe4 The preview frame data is broken when sending via Binder
1610dca Validation of Number of Channels on WAV files
72323a4 libstagefright: fix output buffer is not released by Writer when stopping
bbc6668 libstagefright: Fix incorrect duration calculation
6a2289e Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes
636050c Add some sanity checks
aae1058 HDCP: buffer over flow check -- DO NOT MERGE
8d2c4b3 IOMX: Add buffer range check to emptyBuffer
523b5c5 libstagefright: Scale up bitrate for HSR videos
c69b0a3 video: Disable resync markers
51dde7a AudioMixer: fill 0s at right place when no more buffers available
35460e9 MPEG4Extractor.cpp: handle chunk_size > SIZE_MAX
7c7f1e1 Fatal error while playing certain mkv files.
38c26d7 stagefright: Don't crash on invalid / null AVCC atoms in MKV

project frameworks/base/
18fd2dc Barrier only messages shouldn't prevent the idle handlers from running

project frameworks/native/
cadfa27 Fix mistake using width instead of height.
63503fe Workaround for black screenshots due to z-order change

project kernel/samsung/p4/
caa6dae ARM: 7403/1: tls: remove covert channel via TPIDRURW
dc508fd ARM: 7587/1: implement optimized percpu variable access
ff15b70 ARM: 7735/2: Preserve the user r/w register TPIDRURW on context switch and fork
3dfe7a0 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
5ec7979 crc32: optimize inner loop
a1f50af ARM: bitops: prefetch the destination word for write prior to strex
6069ae6 video: tegra: nvmap: Set PAGELIST_VMALLOC_MIN size correct
f7cbb13 mm for fs: add truncate_pagecache_range()
45196f8 Update f2fs from Jaegeuk's linux-3.4 branch
8a6aa31 f2fs: support for kernel 3.1

project packages/apps/CMFileManager/
f328e4f [CMFileManager] Fix can't copy after disconnect with pc.
7b09bb0 Made NavigationView reliant on FileObserver to keep up to date.
6e633d8 Automatic translation import
cb05075 Revert "Made NavigationView reliant on FileObserver to keep up to date."
ddb22bb Fixed ANR associated with SecureStorage
c740f92 Fixed search to actually open the clicked folder
6f6094d Fixed ANR & Memory Leak Associated with 3GP
13879c7 Fix don't pop up "Actions" menu when long pressing on a file/folder after open and close "Use swipe gesture".
eb58bd8 Automatic translation import
602f3de RTL: move buttons to proper spot in nav drawer
b5c78a6 Automatic translation import
bd79d58 Improve copy/move performance with nio and reintroduce cancel.

project system/core/
2eb6642 - Revert "fs_mgr: let fsck.f2fs actually attempt a fix"