This is a port of the Android M developer preview from the emulator SDK image to the Nexus 7 (2012).
This ROM is pretty useless. Wi-Fi doesn't work, it's insecure, and there's no point in running it unless you really want to play with some of the new features of Android M. You have been warned.
Currently, this is only tested with the Nexus 7 Wi-Fi (grouper) as a secondary ROM in MultiROM with the main partition formatted as ext4: other configurations probably won't work.
Since this is based on the emulator image from the SDK, no Gapps are included.
What doesn't work:
Wi-Fi - Unfortunately, the SDK image did not include wpa_supplicant, which is required for Wi-Fi. I tried copying it from 5.1.1, but the 5.1.1 version is compiled against OpenSSL, while Android M uses BoringSSL instead. If anyone has a solution for this, I'll really appreciate it!
GPS (again, /system/bin/glgps uses OpenSSL, not BoringSSL)
Screenshot function over adb
SELinux - this port runs in permissive mode; it will not run in enforcing mode as I have not adjusted the SELinux policies
Security - this is a port from an emulator image, which is signed with test-keys; thus, a malicious application can impersonate system apps. In addition, the image is rooted, but does not have a superuser management app - all superuser requests are allowed. Please don't use this ROM if you're going to store important data on it.
adb on Ubuntu - if you're getting a "Permission denied" error while trying to use ADB with this ROM on Ubuntu, make sure to tap "USB for charging" in the notification tray and select "Transfer files". ADB will start working.
The bundled kernel is "Kernel w/ kexec-hardboot patch (Stock 5.1 and 5.1.1)" from MultiROM, which can be found at http://forum.xda-developers.com/show....php?t=2011403
The recommended way to install this ROM is through the MultiROM custom recovery.
First, install MultiROM from http://forum.xda-developers.com/show....php?t=2011403
Then, boot into recovery, and select Advanced -> MultiROM -> Add ROM
Choose the ROM, and then swipe to install.
Google Drive: https://drive.google.com/file/d/0B9Y...ew?usp=sharing
I'll be uploading the files and tools used to build this ROM to https://github.com/zhuowei/unnamedL
Thanks to everyone who contributed to the unnamedL ROM last year: http://forum.xda-developers.com/show....php?t=2799011
v1: initial release (05/29/2015)