[Nexus 9 Android Development] paulobrien:
MoDaCo Custom ROMs (MCRs) have always been based on the stock ROM for devices. I've recently switched my daily driver phone to a Nexus 6 and my daily driver tablet to a Nexus 9, giving me an opportunity to have a good play with Lollipop, the new Android release.

On the whole, the latest version of Android is fantastic, but as is often the case, I have seen a few opportunities for tweaks and improvements, which once again has started me thinking about MCRs, particularly with the loss of Xposed on Lollipop which had become the de-facto way to apply tweaks.

With this in mind, i've started looking at the best way to create and package modifications, and this modpack for the Nexus 5, 6 and 9 is the first step on that road.

Initially, the changes are purely to SystemUI. Only 2 files are changed, no wipe is needed if you already have an unlocked bootloader (stock certificates are retained). A 'MCR Control' application is included to configure the modifications.

Features (some are only available on specific devices / telephony enabled devices):

'MCR Control' configuration application

A one handed mode which moves the button towards the edge on the navigation bar - press and hold back or recents to toggle

Multiple battery level display options for status bar and lockscreen

Option to enable the stock Lollipop battery percent feature

Option to remove carrier label from lockscreen

Option to reverse order of navigation buttons

Option to retain network type indicators when roaming

Option to disable '4G for LTE' indicator

Option to disable orange colouring of status bar and navigation bar separately on battery saver

Option to hide clock

Option to centre clock

Option to disable icon when alarm is set

Option to ignore priority when determining whether to show heads up notifications

Option to disable heads up notifications altogether

Option to double tap status bar to sleep

Option to double tap navigation bar to sleep

Option to enable double tap to wake (requires root, be sure to auth SuperSU after clicking the box, applies a few seconds after each boot) - NEXUS 6 ONLY

Option to enable red / blue / green charging LED (requires root, be sure to auth SuperSU after clicking the box, applies a few seconds after each boot) - NEXUS 6 ONLY

Options to lock status and navigation bars to black (user request - Nexus 9 blacklight bleed mitigation)

Option to enable rotation in lockscreen

Option for re-boot menu in status bar header

All options are applied in real time

Compatible with both odexed and deodexed stock ROMs

To install:

Ensure your device is running STOCK LRX22C - use on any other ROM version will make bad things happen!

Download the zip file below

Install or boot TWRP using fastboot

Backup your stock system partition (you'll need to restore this to apply OTAs)

Push the modpack zip file to /sdcard

Install the zip file in the usual manner

Download:

r10.1 - DOWNLOAD - MD5: 902591a9c3a098943dbfda545495f826

To revert to stock:

Restore your backup of the system partition!

To revert to stock if you didn't back up:

Download the correct factory image from your device from the Nexus Factory Images page

Extract the files (including the internal images zip)

Locate the system img file, reboot your device to bootloader and 'fastboot flash system system.img'

Boot to recovery and wipe the dalvik-cache

Future releases will add features, but as always MCR will be focused on adding features in a stock style way - you should wonder whether they are mods or whether they were always there. ;)

Enjoy and let me know your thoughts!

P

Credits:

Reboot icon by icons8

Changelog

r10.1

This is purely a bug fix release. The MCR Control app will still show 'r10'.

Resolved issue with hidden clock being restored on status bar expansion

Resolved issue with volume controls corruption in settings

Changed reboot icon (hey, I thought it was funny!)

r10

r11 will be a minor tweak release with a couple of minor improvements to the reboot UI and a re-arranging of the MCR Control app.

Added option for blue LED when charging[/*]

Added new re-boot menu in status bar header[/*]

Resolved issue with the hidden clock reappearing[/*]

r9

Added option for centre clock

Added option to enable rotation in lockscreen

Resolved compatibility issues with the charging LED - leave option unchecked if using Lightflow or a similar app

Improved charging LED - wireless charging now illuminates blue because FUTURISTIC

Added details on how to revert to stock on the topic posts

r8

Added option to enable red / green charging LED (requires root, be sure to auth SuperSU after clicking the box, applies a few seconds after each boot) - NEXUS 6 ONLY

Added option to enable am / pm indicator (two sizes)

r7

Added option to lock status and navigation bars to black (user request - Nexus 9 blacklight bleed mitigation)

Bug fixes to alarm icon hide feature

Nexus 5 is now fully supported

r6

Improvements to MCR Control app - version is now displayed on action bar

Added option to disable heads up notifications

Added icon to disable icon when alarm is set

Added option to double tap status bar to sleep

Added option to double tap navigation bar to sleep

Nexus 5 support is now in testing

r5

Multi device support - the first device to be added is the Nexus 9. Supported from r5 onwards!

Improvements to one-handed mode code

Minor bugfix to reverse button order feature

r4

Added new one handed mode - press and hold back or recents to toggle

Added option to disable orange colouring of status bar and navigation bar separately on battery saver

Added option to hide clock

r3

Improved battery option to always show icon when charging

Added option to retain network type indicators when roaming

Added option to disable '4G for LTE' indicator

Added option to ignore priority when determining whether to show heads up notifications

Added option to enable double tap to wake (requires root, be sure to auth SuperSU after clicking the box, applies a few seconds after each boot)

Mod is now compatible with both odexed and deodexed stock based ROMs

Initial changes to prepare for potential support of other Lollipop devices

r2

Added 'MCR Control' configuration application

Added more battery options

Extended battery setting to also apply to lockscreen

Added option to enable the stock Lollipop battery percent feature

Added option to remove carrier label from lockscreen

Added option to reverse order of navigation buttons

Lots of under the hood changes for future tweaks

r1

Initial Release

​