[Galaxy Tab 10.1 Android Development] decatf:
Android Open Source Project 6.0

Marshmallow

for

Samsung Galaxy Tab 10.1

(P7510, P7500, SGH-T859)

(p4wifi, p4, p4tmo)

​

Customizations:

busybox

init.d scripts

CMFileManager

Kernel features:

CPU overclock (1.2Ghz - 1.6Ghz)

CPU voltage control

CPU temperature readings

GPU overclock (400Mhz)

L2 cache optimization

F2FS

SELinux

Voodoo Sound

USB Charging

Updated WIFI driver

ZRAM backports

sdcardfs

Working:

Video

Audio

WIFI

Cellular

GPS

Bluetooth

- Audio playback: working

- File transfer: working

Encryption

Not working / buggy / needs testing:

Camera

- Pictures: working

- Video recording: (not working)

Dock audio

Keyboard dock (untested)

- Likely the same status as Lollipop

Tethering

- USB tethering: working with WIFI

- Bluetooth tethering: (not working)

- WIFI tethering: (untested)

Wireless Display / Miracast

- No compatibility with the outdated video blobs

Installation:

Backup all data

Install TWRP 2.8.7.0 or newer

Wipe cache, dalvik cache, system, data

Install the ROM

Optional step:

- Install gapps pico

- Install Supersu 2.52

Boot the ROM

Enable on screen keyboard by toggling "Show input method"

Downloads:

p4wifi (GT-P7510): WIFI only tablet.

aosp-6.0-p4wifi-20160806.zip

p4 (GT-P7500): Cellular / 3G tablet.

aosp-6.0-p4-20160809.zip

p4tmo (SGH-T859): T-Mobile tablet.

p4wifi and p4 users do NOT install this.

aosp-6.0-p4tmo-20160809.zip

mirror: AndroidFileHost

GApps

http://opengapps.org/

root: SuperSU

BETA SuperSU v.2.52

Mirrors:

Android File Host

​

Changelog

August 9, 2016
decatf/android_kernel_samsung_p4
e602201 defconfig: Fix typo while enabling CONFIGFS_FS

August 6, 2016
Update to android-6.0.1_r59

decatf/android_kernel_samsung_p4
2c421f2 fuse: O_DIRECT support for files
3bb1d41 fuse: remove the second argument of k[un]map_atomic()
acf44b5 fuse: verify all ioctl retry iov elements
1b17d75 fuse: postpone end_page_writeback() in fuse_writepage_locked()
d88af9d fuse: break infinite loop in fuse_fill_write_pages()
33c337c fuse: support ioctl on directories
37bb785 FUSE: Notifying the kernel of deletion.
f7c8478 fuse: Add support for shortcircuited read/write for files
d5c6ade Revert "fuse: Add support for shortcircuited read/write for files"
04ed83b fuse: Add support for shortcircuited read/write for files
ab0b217 fs: fuse: Ensure update of fuse inode attributes in shortcircuit
b653a54 fuse: Use iocb->ki_pos instead of pos for shortcircuit writes
b79cfba fuse: Use BUG_ON to check pos validity in fuse_aio_write
786913d fs: fuse: Disable shortcircuit when mmap is called on a file
bfc19a7 vfs: add d_canonical_path for stacked filesystem support
fb6bb3e inotify: Fix erroneous update of bit count
8bae312 Initial port of sdcardfs
568217e get rid of kern_path_parent()
7233db3 sdcardfs: Port to 3.4
a5d5845 sdcardfs: Port to 3.1.10
4cede1c sdcardfs: Changed type-cast in packagelist management
3f69353 sdcardfs: Bring up to date with Android M permissions:
dfc2ff3 sdcardfs: Add support for d_canonicalize
1f80a89 sdcardfs: remove effectless config option
dd5eccf sdcardfs: Remove unused code
1b8979a sdcardfs: remove unneeded __init and __exit
1c16f89 sdcardfs: Truncate packages_gid.list on overflow
560043c ANDROID: sdcardfs: fix itnull.cocci warnings
d3e1021 vfs: change d_canonical_path to take two paths
e587970 fuse: Add support for d_canonical_path
434e90b defconfig: Enable sdcardfs
e7b5ee2 BACKPORT: perf tools: Document the perf sysctls
90bd458 FROMLIST: security,perf: Allow further restriction of perf_event_open
1ccaa78 defconfig: restrict access to perf events

android_device_samsung_p4-common
8404df3 p4-common: Enable sdcardfs
913957d p4-common: Disable EGL_WORKAROUND_BUG_10194508
5f67070 p4-common: sepolicy: Allow kernel to rw wifi efs file

android_vendor_decatf
6bbd9c6 sepolicy: remove BOARD_SEPOLICY_UNION
91f8dc2 sepolicy: Add rule to allow sdcardfs to read package list
8209b59 sepolicy: Fix MTP for sdcardfs

android_bionic
546aae2 bionic: Sort and cache hosts file data for fast lookup

platform_frameworks_base
0454407 mountservice: Shut down volumes before restarting framework
9baa27d mountservice: Don't nuke all volumes when decrypting

android_frameworks_opt_net_wifi
d21014b Revert "Revert "wifi: Set the mode at native layer""

platform_system_core
a052e68 sdcard : Use the fuse shortcircuit option
86faebc sdcard: Allow fuse shortcircuit for all platforms
e06eb06 sdcard: Add support for sdcardfs!
d3a24ca sdcard: Fix sdcardFS check
6ff0e73 sdcard: Pass the umask to sdcardfs correctly

android_external_sepolicy
5d57d80 sepolicy: Add policy for sdcardfs and configfs

July 8, 2016
Update to android-6.0.1_r50
Restore previous WIFI driver

June 15, 2016
TRIM is now merged into this ROM. You don't need to install the TRIM kernel from the other thread.

Update to android-6.0.1_r46
74f7de9 p4-common: TCP buffer settings
93ca209 p4-common: Wifi is no longer built as a module
2133d24 p4-common: Enable dlmalloc
b6808c6 p4-common: Remove unused flags
4692beb tcp: drop SYN+FIN messages
cf415a5 misc: uidstat: avoid create_stat() race and blockage.
3f791c1 usb: gadget: f_fs: Fix enumeration in fullspeed mode
0469e56 usb: gadget: accessory: Fix section mismatch (again)
30fbe2f USB: remove duplicate out endpoint creation in MTP mode
c607c37 pipe: limit the per-user amount of pages allocated in pipes
8e01cbe power: max17042: Reduce logspam
5565950 Revert "Staging: android: binder: Allow using highmem for binder buffers"
bf9b28a Reduce logger size
9c3a8ec mmc: fix integer assignments to pointer
d7bfd4c mmc: sdio: Workaround for dev with broken CMD53
74032a4 mmc: sdio: Fix to support any block size optimally
3f9da59 mmc: sdio: Use multiple scatter/gather list
ed4849d genirq: Always force thread affinity
b1bb34f genirq: Avoid deadlock in spurious handling
c4cb3ae genirq: Fix can_request_irq() for IRQs without an action
aeaeb4de mmc: Restore MMC_CAP_ERASE
fd6a17d mmc: Add sdio_ctrl_power
8bd4f0d arm: tegra: p4: Allocate static dhd info buffer (section 7)
ec9b234 arm: tegra: p4: Built-in wifi
cfb0ab2 arm: tegra: p4: Set wifi chip id to 0x4330
ce80b1b arm: tegra: Conditionalize builtin wifi
2477c3b Revert "net: wireless: Sync with grouper android-5.1.0_r0.4"
e32e74d arm: tegra: p4: Fix build when not builtin wifi
a0d37af net: wireless: Import CFG80211_REG_NOT_UPDATED from klte kernel
62151e1 defconfig: disable loadable modules
a5cf304 net: Backport wireless stack from Galaxy S5 kernel
88d16a6 net: Fix net/wireless backport for 3.1.10
7dbf92b bcmdhd: G900FXXU1CPD7
abf9e8c bcmdhd: fixup for p4
e3c843a bcmdhd: Restore tegra specific irq wake
aa99d0d defconfig: bcmdhd builtin
716bd9c defconfig: Enable CONFIG_CFG80211_ALLOW_RECONNECT
946d13f mmc: tegra: Don't set MMC_PM_KEEP_POWER by default
9a40b65 mmc: host: sdhci: abort suspend if host suspend fails.
8d5d16f mmc: host: sdhci: Don't set MMC_PM_KEEP_POWER when suspending
6f689f2 mmc: Remove Samsung WIFI hacks

April 28, 2016
Fix headphone detection

April 14, 2016
Update to android-6.0.1_r30

March 26, 2016
project art/
20c3c84 Revert "Optimize double/float immediate loading on arm."
8037a8d Re-enable VFPv3-D16 register definitions
d53de19 Disable clang for art compiler on target
project device/samsung/p4-common/
f19dec3 p4-common: Use dalvik.vm.dex2oat-flags to specify backend
0cc66dc p4-common: Remove unused flag
84f022f p4-common: Tweak ksm settings
project frameworks/av/
111a9b9 Revert "mediaplayer: remove use-awesomeplayer developer option"
project frameworks/native/
f1b88cd Configure tablet dalvik heap for 1GB mdpi device
project kernel/samsung/p4/
2b12c4b pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic
16a60d8 Squash revert Android timerfd support
24bcc61 Android alarm-dev from android-3.4
f519a62 defconfig: enable android-3.4 alarm-dev
4ab42f7 p4_battery: Fix timer slack
7dbdfb5 ARM: 7006/1: Migrate to asm-generic wrapper support
f2b70ff ARM: 7493/1: use generic unaligned.h
33e4372 asm-generic: allow generic unaligned access if the arch supports it
a998f78 Revert "Revert "video: tegra: remove free memory check""
project packages/apps/Settings/
98144ac Revert "developer settings: remove "Use deprecated AwesomePlayer" settings"
project system/core/
6b5492a healthd: increase healthd fast timer to 10mins instead of 1min

March 14, 2016
Fix WIFI driver

March 10, 2016
Update to android-6.0.1_r17
ca6770d Align machine_kexec restart sequence with soft_restart()
b4c0a36 ARM: 7476/1: vfp: only clear vfp state for current cpu in vfp_pm_suspend
f847946 cfq-iosched: fix the setting of IOPS mode on SSDs
a74f780 arm: tegra: Restore tegra2 core/cpu voltage relationship
868ba34 Revert "bound cpu cores to same speed"
c4877ab include/linux/poison.h: fix LIST_POISON{1,2} offset
9c3f030 pagemap: do not leak physical addresses to non-privileged userspace

February 7, 2016
Update to android-6.0.1_r10

February 1, 2016
Add init.modem.rc for p4 and p4tmo

January 31, 2016
hwrotation for Galaxy Tab 8.9

January 28, 2016
Update to android-6.0.1r7
Switch to ICS audio wrapper HAL
Update to latest f2fs-stable

Frequently Asked Questions and Other notes:

Can I upgrade / dirty-flash from Lollipop to Marshmallow?

- You cannot. It must be a clean install.

Can I dirty flash over a previous Marshmallow build?

- Yes.

I thought you said Marshmallow wouldn't work.

- The problem with ART is not solved. The Optimizing compiler backend is producing binaries that crash on the Tegra 2. The Optimizing backend is the new default dex2oat compiler in Marshmallow. The Quick compiler is default backend in Lollipop. It is still in the Marshmallow source so this ROM is using the Quick compiler backend.

SELinux enforcing mode

- The default SELinux mode is permissive mode. The Set_SELinux_enforcing.zip will not work with Marshmallow. That script was setting a system property to toggle SELinux early on in boot. Google has removed the use of this system prop so that method won't work anymore.

- For now you can find some app on F-Droid to set the SELinux mode after boot. It's not ideal but it will do until some better solution arises.

Doze

- This device does not meet the hardware requirement to support Doze.

Themes

- Marshmallow supports RRO (Layers) themes. I will not add CM-12 themes, CM-13 themes, or any other theme engine.

HD video playback issues and Camera issues.

- The video and camera stack are proprietary NVidia software. This means there is no chance of fixing bugs within.

Browser crash when downloading files

- Settings > Apps > Browser > Permissions > Enable Storage permission

Google App force close

- Install GApps Pico.

- Google App now uses the NEON instruction set which the CPU on this device does not support. The pico package does not include the parts of GApps which use the NEON instruction set.

- reference post

Non-NEON Google Apps

Chrome 49.0.x

​

Donate:

Via Paypal

XDA:DevDB Information

Android 6.0 Marshmallow, ROM for the Samsung Galaxy Tab 10.1

Contributors

decatf

Source Code: https://github.com/decatf

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.1.x

Based On: AOSP

Version Information

Status: Alpha

Created 2015-12-08

Last Updated 2016-12-19