[Nexus 4 Android Development] dragos281993:
The Pure Nexus Project​

Disclaimer:

We are not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.

"This is a user friendly thread. All feature requests will be heard and considered. I am not against anything that doesn't stray too far away from the original idea of the ROM! Helping one another is also encouraged! Please be respectful and you will always be treated the same way, we are all here for a good experience."

About:

The Pure Nexus Project aims to bring stability and features to your Nexus device, while keeping Google's vision in line and not straying too far away from that. If you are looking for a stable ROM with true tested features and minimal bugs, then this is the place to be.

Features:​

[SIZE="2"][COLOR="#1976D2"]-General[/COLOR]
*Based on AOSP Android 7.1.2_r33
*Busybox, and Init.d support
*Googles Pixel sounds and OEM wallpapers from factory images
*Googles Pixel theme and Pixel navbar animation
*Bug fix's and stability improvements
*UI Improvements (fixed a bunch google forgot to materialize)
*Rootless Substratum OMS Theme Engine support
*ADB enhancements (ADB over wifi, Hide ADB icon, colored logcat "abd logcat -C")
*Enabled Developer settings by default
*Enabled Night mode for all devices
*Enabled App ops
*Custom night light brightness options
*Disabled forced encryption
*Disabled tether provision checks
*Made preselectable item clickable in app picker dialog
*Added download speed in notification
*Added Advanced Reboot menu
*Added Advanced screenshot functionality (longpress tile/power menu for selectable screenshot)
*Added back volume adjust sounds and toggle
*Added advanced rotation control and lockscreen rotation toggle
*Added ability to lock app in landscape via rotation tile
*Added advanced charging sound controls
*Added advanced seekbar style animation controls
*Added Quick setting header Longpress actions
*Added ability to see app version when sideloading app
*Added app package name to app info screen
*Added ability to launch app when touching app icon in app info screen
*Added phone info shortcut to about phone/status on top
*Added dynamic vendor image notification
*Added additional battery saver trigger steps
*Added ability to unlink notification volume from ringer volume
*Added Increasing ringtone option
*Added Proximity Speakerphone and dialer lookup
*Added Group support in contacts
*Removed googles SystemUpdate option
*Removed googles legal information

[COLOR="#1976D2"]-PureNexus Settings[/COLOR]
[COLOR="red"]Lock Screen[/COLOR]
*Lockscreen item option(time, date, alarm text toggles & Clock font style)
*Double tap anywhere to sleep
*Long press power for torch
*Option to disable lockscreen media art
*Option to scramble the pin entry layout
*Option to disable the pin ripple background when entering lockscren pin
*Option to disable fingerprint success vibration
[COLOR="red"]Notification Drawer[/COLOR]
*quick settings pulldown (left,right,always)
*smart pulldown (no ongoing, no dismissable, no notifications)
*advanced quick settings easy toggle
*Brightness slider on/off toggle
*Haptic feedback on quick setting on/off toggle
*ability to disable quick settings on secure lockscreen
*ability to disable the quick settings title text
*ability to change number of quick settings columns
*ability to change the amount of rows in quick settings
*ability to set contexual or custom header images
[COLOR="red"]Recent apps[/COLOR]
*immersive recents
*kill all fab
*kill all fab location
[COLOR="red"]Statusbar[/COLOR]
*Battery customization(percentage/icon style)
*sync battery icon with quick settings tile
*Battery bar options(location, color, style, thickness, animation)
*Carrier Label customization(placement, text)
*Clock customization(show clock, show seconds, alignment, ampm, date, date style, date position, date format)
*Network traffic meter options(enable, display units, update interval, hide arrows, auto hide, inactivity threshold)
*Statusbar icon blacklist
*Double tap on statusbar to sleep
*Status bar brightness control
*Status bar notification count
*Status bar bluetooth battery meter toggle
[COLOR="red"]Navigation Bar[/COLOR]
*Navbar toggle and Height/width options
*Navigation bar tuner
*Pixel navbar animation toggle
*Ability to enable one handed mode
*Ability to enabe double tap to sleep
*longpress back to kill
*configurable longpress back to kill timeout
[COLOR="red"]PowerMenu[/COLOR]
*Option to disable on secure lock
*Add/remove (reboot, screenshot, screen-record, torch, airplane mode, user switcher,settings shortcut, search, voice search, lock now, sound panel)
[COLOR="red"]Volume Rocker[/COLOR]
*Volume keys control media volume
*Volume key wake
*Volume key music control
*Volume key orientation swap
*Volume key keyboard cursor control
*Volume up and power action (screen record/selectable screenshot)
*Volume down to enter do not disturb
*Volume up to exit do not disturb
*Do not disturb volume panel switch
*Volume steps customization
[COLOR="red"]Display[/COLOR]
*expanded desktop options
*option to enable/disable wake on plug
*3 finger swipe for screenshot toggle
*Battery and Notification LED controls
[COLOR="red"]Media & Notifications[/COLOR]
*Ability to turn off vibration when double tapping power button for camera
*Power notification controls
*Peeking notification option(on/off, timeout, snooze length)
*low battery notification toggle
[COLOR="red"]Miscellaneous[/COLOR]
*force enable or disable scrolling cache
*ability to enable app icon on toast
*incall vibration options[/SIZE]

Downloads & Changelog:​

Changelog

Rom builds

Gapps:

Mini Gapps

* OpenGapps are a complete mess(no offense to its dev) and they break stuff, so if you decide to flash them regardless of what I just said, then please don't leave comments in the thread complaining about it. :)

SuperSU

Latest TWRP (if you don't already have it installed)

==> The installation instructions are there. Click on "Primary (Recommended)" and you'll see the file there.

Kernel Adiutor Mod

Installation instructions:​

Requirements: ROM, Gapps, SuperSU

*** If you start fresh:

1. Reboot into recovery

2. Go to the "Wipe", tap on "Advanced Wipe" and can check all the boxes except for the "Internal storage" one, then simply "Swipe to Wipe"

3. Flash the ROM

4. Flash the Gapps

5. Flash SuperSU

Then reboot to system and you're done.

*** If you're upgrading / "dirty flashing":

1. Reboot into recovery

2. Go to "Advanced Wipe" and check only "Dalvik cache" and "Cache", then "Swipe to Wipe".

3. Flash the ROM

4. Flash SuperSU

4. Do another Cache + Dalvik cache wipe (OPTIONAL)

Then reboot to system.

*** If you're using a custom kernel:

1. Flash the ROM (clean or dirty flash, depending on your choice)

1' flash the Gapps (only for clean ROM installations)

2. Flash your preferred custom kernel

3. THEN flash SuperSU

And reboot to system

*** Moving between custom kernels:

* After flashing the first custom kernel, if you decide to try another one, you MUST either:

>> dirty flash the ROM before changing the kernel. OR

>> extract the "boot.img" file found inside the "...ROM...zip" and flash it in recovery.

>> Then will you be able to safely move to a different kernel.

You also must flash SuperSU AFTER the kernel, otherwise you'll lose the root previleges.

Kernel tweaking tutorials:​

Tutorial 1

Tutorial 2

Credits & Thanks:​

Lead developers: BeansTown106, Dwitherell, Nathan Chance

The Cheeky Bastards - Bajasur, DaveyAnnihalation, Surge1223!!!

The PureNexus Moderators - MicMars, Kris Nelson

The CyanogenMod Community

Dirty Unicorns

SlimRoms

OmniRom

Euphoria-OS

xWasabi

And all other open source Devs i may have missed!

"Revival-basic" source

Here's a nice review made by [MENTION=8580938]MikeTheTechSavvy[/MENTION]:

https://www.youtube.com/watch?v=aXjBA7xMg8Q&feature=youtu.be

XDA:DevDB Information

Pure Nexus, ROM for the Google Nexus 4

Contributors

dragos281993, spezi77

Source Code: https://github.com/PureNexusProject

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

Based On: AOSP

Version Information

Status: Stable

Created 2016-07-24

Last Updated 2017-08-16