[ONE Original Android Development] The Dork Knight Rises:
The All-In-One Post

Oh look at the time...it's flashy time already? XD

Screenshots:

View attachment 3857546

(Layers themes work. Use Substratum app)

View attachment 3856677

View attachment 3856678

View attachment 3856679

View attachment 3856680

View attachment 3856681

View attachment 3856682

View attachment 3856683

View attachment 3856689

View attachment 3856684

View attachment 3856686

View attachment 3856690

View attachment 3856688

View attachment 3856687

View attachment 3856734

Guide to flashing this properly (TWRP v3.0.2-0):

(THIS GUIDE IS MAINLY FOR THE FIRST BUILD 20160827. AS I AM RUNNING IT SMOOTHLY, I DO NOT PLAN TO UPDATE TO 20160828, AS IT HAS SOME MINOR FIXES, ALREADY COVERED IN MY GUIDE.

IF HOWEVER, YOU'RE FLASHING 20160828 OR LATER BUILD, HERE'S WHAT YOU SHOULD DO DIFFERENTLY:

-Flashing Google keyboard is not mandatory, as default input mode has been fixed

-adb steps do not need to be performed as the com.qti.dpmserviceapp has been removed

-You probably shouldn't flash the SystemUI Tuner mod zip, as the SystemUI APK from previous build may not be compatible with new build. If you flash it on 28 build and have SystemUI FCs or missing SystemUI, just reflash ROM, and don't flash the mod.

REST OF THE GUIDE REMAINS THE SAME)

(This guide is for flashing as primary ROM without MultiROM. MultiROM guide by [MENTION=6363737]7u5h4r[/MENTION]: http://xdaforums.com/showpost.php?p=68413163&postcount=242)

TL;DR version (that means short version)

http://xdaforums.com/showpost.php?p=68552389&postcount=1172

Download ROM zip from OP and Google Keyboard flashable zip, as well as any of the zips I linked below.

Wipe your device (data, cache, dalvik/ART cache; preferably even system, just to be as "clean" as possible)

(NOTE ABOUT DIRTY FLASHING:

-If you dirty flash this ROM (eg. flashing newer build), you will need to flash GApps again along with the ROM zip as GApps are not preserved

-This ROM actually booted for me even on a dirty flash from an MM custom ROM, and as a result I didn't face a lot of the problems you'd face on clean flash (GApps crashes, continuous qti app FCs, etc)

But a lot of my apps were crashing until I reinstalled them, and in any case, it is not advised to dirty flash when coming from MM)

Flash ROM zip and keyboard zip, optionally any of the following addons (DO NOT FLASH GAPPS YET):

-SuperSU (v2.68+) for root

-Any of the mods I linked below

-Any other mods like Viper4Android etc (AT YOUR OWN RISK)

Boot into the ROM. you'll probably see a lot of crashes, ignore them, and just find a PC for the next step

(Optionally, you could try to enable Developer Options by tapping past the FC dialogs, once you have DevOps enabled, you'll see an option to mute FC notifications till next boot)

Using ADB on your PC, disable the com.qti.dpmserviceapp package by running following commands:

adb devices

You should see a device in the list of devices connected

adb shell
pm disable com.qti.dpmserviceapp

If you get error with permissions, you may need root. If your device is rooted:

su
pm disable com.qti.dpmserviceapp

(SKIP 6, 7 & 8 if you do not need Google services)

Now reboot into recovery and flash a compatible GApps package (USE 7.0 GAPPS ONLY)

Boot into ROM

Go to Settings>Apps

Find Google Play Services, and go to its Permissions. Enable essential permissions. Now Play Services won't keep crashing on you. Also find Google Contact Sync and give it permission to access Contacts.

Go to Settings>Accounts and add your Google account

Profit

Praise DuARTe

Hit Thanks if this helped

Here's some helpful zips for you guys!

My flashable zip to ENABLE Navbar/softkeys (same as the one on the MM thread) https://drive.google.com/open?id=0B2Y1syM7UNuDYVRhM3BTYVA3SXc

Flashable zip to DISABLE HW keys

https://drive.google.com/open?id=0B2Y1syM7UNuDSFZwUHNLQ0RfdXM

Flashable zip to ENABLE HW keys (revert changes made by zip above)

https://drive.google.com/open?id=0B2Y1syM7UNuDalVLVzd0SFdLekk

Flashable stock bootanimation (same as the one in MM thread; since this ROM doesn't really have a bootanimation and uses the basic fallback bootanimation)

https://drive.google.com/open?id=0B2Y1syM7UNuDelFPZVh6dmxSR2c

Flashable zip to ENABLE Hidden SystemUI Tuner Features (thanks to [MENTION=4648515]AL_IRAQI[/MENTION], see his original guide here)

This one was tricky, my first time decompiling an APK. I was getting some crashes at first, but I think this ZIP should work fine (I tested it on a dirty flash, and it works)

https://drive.google.com/open?id=0B2Y1syM7UNuDd0JBV2ViMXl1bnc

Flashable Google Keyboard 5.1

https://drive.google.com/open?id=0B2Y1syM7UNuDbnBmdEtWZlRlNlk

Flashable Nexus Launcher (credits to uploader)

https://www.androidfilehost.com/?fid=24588232905722237

Replace the stock Power Menu with an extended custom power menu (thanks to [MENTION=3108784]nofx161[/MENTION]):

See his post

Link to app

Layers themes are supported, use Substratum app (Play Store link) to apply

(ROOT NEEDED)

NOTE: Themes made only for Substratum will not work (properly) as this ROM doesn't support Substratum (that will need patches to ROM source). Only which support RRO/Layers will work without any issues.