FORUMS
Remove All Ads from XDA

[ROM][Unofficial][AOSP] Android 6.0.1 Marshmallow

643 posts
Thanks Meter: 2,605
 
By decatf, Senior Member on 8th December 2015, 07:58 PM
Post Reply Email Thread
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:
  1. Backup all data
  2. Install TWRP 2.8.7.0 or newer
  3. Wipe cache, dalvik cache, system, data
  4. Install the ROM
  5. Optional step:
    - Install gapps pico
    - Install Supersu 2.52
  6. Boot the ROM
  7. 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.
[I]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

Code:
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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20151202-025041.png
Views:	51684
Size:	40.1 KB
ID:	3569561  
The Following 118 Users Say Thank You to decatf For This Useful Post: [ View ] Gift decatf Ad-Free
 
 
8th December 2015, 07:58 PM |#2  
OP Senior Member
Thanks Meter: 2,605
 
Donate to Me
More
Problem reporting steps:
Got an error? Is something not working for you?

I cannot see what your problem is from here. Save and upload the system logs from your device so that I can see what happening on your device.

How to save system logs:
  1. Root the device by installing SuperSU.
  2. Install SysLog.
  3. Reboot the system.
  4. Reproduce the problem.
  5. Open Syslog app and save the Kernel Log and Main Log.
  6. Send me the log files stored in /sdcard/Syslog.
    Share the files on Dropbox or another similar site.
    Then PM me a link to the files. Please describe exactly what the issue is.
The Following 25 Users Say Thank You to decatf For This Useful Post: [ View ] Gift decatf Ad-Free
8th December 2015, 08:01 PM |#3  
OP Senior Member
Thanks Meter: 2,605
 
Donate to Me
More
Some comments to start off.

The ICS audio HAL is not working right in Marshmallow and I think I'd rather try another run at getting the rest of the stuff in the open souce HAL working rather than keep trying to find hacks to keep the old blob alive. Recall that only voice calls and dock audio are not working with the open source audio HAL.
- Voice calls are just passing off audio to the Samsung cellular blobs so I don't think it's that much of a stretch to get working. But this will have to wait until cellular stuff is working in the first place.
- I found some patch for Samsung dock audio. It looks like it might apply to this device as well seeing as it seems to have a similar dock implementation. The patch is in the ROM already so that needs testing.

Cellular probably won't work for at least the first few builds. Other devices on M with a similar cellular radio needed a few new patches to get it working on M. I have put in the patches from L but we will have to trial and error what is needed for M based on other devices as a reference.
The Following 21 Users Say Thank You to decatf For This Useful Post: [ View ] Gift decatf Ad-Free
8th December 2015, 08:40 PM |#4  
fz798's Avatar
Senior Member
Thanks Meter: 522
 
More
Thank you!
8th December 2015, 09:56 PM |#5  
sflesch's Avatar
Senior Member
Flag Rochester, NY
Thanks Meter: 8
 
Donate to Me
More
I know it's early on, but do you have any expectations as to how well it will run compared to previous Android version?

I appreciate all you've done, but mine never ran that great on the newest roms. It is passable and I appreciate it though.

Sent from my XT1094 using XDA Free mobile app
The Following User Says Thank You to sflesch For This Useful Post: [ View ] Gift sflesch Ad-Free
8th December 2015, 10:29 PM |#6  
Senior Member
Thanks Meter: 170
 
More
thank you very much for betting on this tablet , and download and I'll try ... I'm sure you will be able to tune it as we did with lp...
8th December 2015, 11:27 PM |#7  
OP Senior Member
Thanks Meter: 2,605
 
Donate to Me
More
Quote:
Originally Posted by sflesch

I know it's early on, but do you have any expectations as to how well it will run compared to previous Android version?

I appreciate all you've done, but mine never ran that great on the newest roms. It is passable and I appreciate it though.

Sent from my XT1094 using XDA Free mobile app

The OS appears to perform the same as Lollipop. It's a four year old device. There is nothing that will make it run as well as a modern Android device. You could try setting animation times to zero and set ro.config.low_ram=true.

For Marshmallow I have added L2 cache improvements in the kernel that improves RAM speed benchmarks. That's around 1k score in Antutu.
The Following 8 Users Say Thank You to decatf For This Useful Post: [ View ] Gift decatf Ad-Free
9th December 2015, 12:27 AM |#8  
sflesch's Avatar
Senior Member
Flag Rochester, NY
Thanks Meter: 8
 
Donate to Me
More
I understand that. And again I appreciate it. I was just curious what the performance level was. I expected at best it might be similar, but more likely it would, as is typical, use more resources.

I never expected much from my Tab. Finding your ROM was an unexpected surprise. I will try those tweaks. From all of the posts I read, I got the impression that many other tablets ran better than mine. I know fully well that each tablet is different and I don't blame you or the ROM, just my tablet.

Sent from my XT1094 using XDA Free mobile app
The Following User Says Thank You to sflesch For This Useful Post: [ View ] Gift sflesch Ad-Free
9th December 2015, 01:57 AM |#9  
Senior Member
Flag Oil- and Cowtown, AB
Thanks Meter: 65
 
More
Quote:
Originally Posted by decatf

The OS appears to perform the same as Lollipop. It's a four year old device. There is nothing that will make it run as well as a modern Android device. You could try setting animation times to zero and set ro.config.low_ram=true.

For Marshmallow I have added L2 cache improvements in the kernel that improves RAM speed benchmarks. That's around 1k score in Antutu.

Thank you for keeping this Mastodont alive. I will be doing the switch soon enough... I have been following and installing your Lollipop releases for quite a while now and appreciate very much all the time and effort you have put into these projects...

Sent from my p4wifi using XDA Free mobile app
9th December 2015, 11:28 AM |#10  
eushaun99's Avatar
Senior Member
Flag Subang Jaya
Thanks Meter: 974
 
More
Definitely wasn't expecting this tbh. You're doing a damn great job at keeping this tab alive decatf. Thank you for that.
The Following 3 Users Say Thank You to eushaun99 For This Useful Post: [ View ] Gift eushaun99 Ad-Free
9th December 2015, 01:56 PM |#11  
Senior Member
Thanks Meter: 179
 
More
Mmmh, I just did the following steps (coming from your version of 5.1.1) :

1) Installed TWRP-2710 from previously installed TWRP-2610
2) Rebooted into 2710 Recovery
3) Full Wipe
4) Install Android 6.0 ROM
5) Install OpenGapps (nano)
6) Install SuperSU 2.52
7) Reboot

Now the P4 is stuck at the Samsung boot logo, so it does not boot up.

Any ideas what I did wrong?

Regards, mistersixt.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes