[WIP][ROM][6.0] Nexus 7 Marshmallow - Android 6.0

Motorhead1991

Senior Member
Jul 6, 2012
403
401
0
It was bound to happen, so here it is. The Grouper running Android 6.0!

What works:
- WiFi
- display
- audio
- Bluetooth (partially)
- Multiwindow
- Auto-rotate

What's broken:
- OTG
- surfaceflinger*

What's untested:
- camera
- NFC

I will not offer a ROM zip at this point due to the fact that the rootfs is inherently insecure for the time being. However, the sources are available below and should be bootable.




Sources:
http://github.com/Grouper-aosp

CREDITS:
@dolorespark - ramdisk fixes, sepolicy fix (3.1 compatible)
@Ziyan - kernel work and device tree
@GtrCraft - device tree help, testing and support
 
Last edited:

dmitrygr

Senior Member
Dec 15, 2010
98
561
0
Having done this already, let me add:

most likely also you have gps broken, and nfc broken
i am guessing selinux is also not doing all it should

:)

also the issue is not with surfaceflinger (that is just the symptom)
 

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
Having done this already, let me add:

most likely also you have gps broken, and nfc broken
i am guessing selinux is also not doing all it should

:)

also the issue is not with surfaceflinger (that is just the symptom)
For NFC, we need to revert this commit - adding it to the device tree is way too problematic, and this shouldn't cause problems for other devices anyways....
For SELinux on 3.1, we need these commits, and we need to remove three recovery-related neverallowed rules from the device tree (not a huge deal really) - these commits are already included in my 3.4 kernel (thanks to the android-3.4 merge), but it's not ready to be shipped... posting a screenshot of M running with 3.4 was a mistake.
For EGL, I use this workaround, which fixes that particular problem without modifying the system libraries - it would be really nice if you knew another, nicer solution, also without modifying the system libraries :)

Right now, GPS, camera and audio is broken (thought audio might be broken because of camera - I experienced similar symptoms while working on 3.4).
 
Last edited:

Kevinjoa

Inactive Recognized Developer
Jan 29, 2013
1,990
2,839
153
Luedenscheid
kevinhoerner.de
Having done this already, let me add:

most likely also you have gps broken, and nfc broken
i am guessing selinux is also not doing all it should

:)

also the issue is not with surfaceflinger (that is just the symptom)
The NFC propably needs the NXP NFC stack which had been dsiabled building by google and can be reverted: https://gerrit.omnirom.org/#/c/14956/
My Optimus G needed relocations for the nfc hardware lib, but I think it might be not needed, anyway this is hacky change to make relocations warnings again: https://gerrit.omnirom.org/#/c/14955/
 

Motorhead1991

Senior Member
Jul 6, 2012
403
401
0
For NFC, we need to revert this commit - adding it to the device tree is way too problematic, and this shouldn't cause problems for other devices anyways....
For SELinux on 3.1, we need these commits, and we need to remove three recovery-related neverallowed rules from the device tree (not a huge deal really) - these commits are already included in my 3.4 kernel (thanks to the android-3.4 merge), but it's not ready to be shipped... posting a screenshot of M running with 3.4 was a mistake.
For EGL, I use this workaround, which fixes that particular problem without modifying the system libraries - it would be really nice if you knew another, nicer solution, also without modifying the system libraries :)

Right now, GPS, camera and audio is broken (thought audio might be broken because of camera - I experienced similar symptoms while working on 3.4).
In hindsight, yeah showcasing 3.4 was jumping the gun a little bit. I just got ahead of myself and wanted to bring hope to people that still use such an "old" device.