[Nexus 4 Android Development] spezi77:
[ROM][N4][7.1.1_r6] &#9733; NeXus4ever ROM &#9733; R03 &#9733; Substratum &#9733; [2016/12/31]

The NeXus4ever Project​

[IMG="nexus4ever"]https://avatars3.githubusercontent.com/u/21245572?v=3[/IMG]​

Declaimer:

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 answered. However, there is no obligation that feature requests are considered in the future development. 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 NeXus4ever Project aims to bring stability, smoothness and a limited set of the nicest features, which I personally miss in stock Android OS, especially to my Nexus device and also to yours, while keeping Google's vision in line. If you are looking for a stable and pixel flavoured ROM with a selection of true pixel only features, then this is the place to be.

Features:​

-General

*All stock nexus features working (incl. video recording. Thanks to @zaclimon!)

*Based on AOSP Android codebase and portions from the official Pure Nexus and Nitrogen ROM

*Busybox, Init.d, Addon.d support

*Googles sounds from the factory images not the horrible AOSP ones

*Bug fix's and stability improvements

*UI Improvements (fixed a bunch google forgot to materialize)

*ADB enhancements (ADB over wifi, Hide ADB icon, colored logcat "abd logcat -C")

*Enabled Developer settings by default

*Terminal

*Disabled forced encryption

*Disabled tether provision checks

*Added back volume adjust sounds and toggle

*Added Quick setting header Longpress actions

*Added app package name to app info screen

*Added ability to launch app when touching app icon in app info screen

*Removed Googles SystemUpdate and Demo option

*Removed Googles legal information

*Quicksettings Tiles: NFC, Caffeine, Show Volume Panel, Sound profile (ring, vibrate, silent), Screenshot, USB thethering, ADB over network, Music, Sync data, NightLight, Reboot, LTE, ImmersiveMode, ...

*CellularTile: One click - enable mobile data (if enabled disable it and open detail), long click - mobile settings

*Enabled VoLTE (depends on carrier provisioning, availability etc.)

*Quick unlock (will only work only for 4 digit PIN)

-Personalization

Only in 7.0: Display

*Wake up on charge

*LED controls (Notification light, Battery light)

Statusbar

*Network traffic meter options (enable, display units, update interval, hide arrows, inactivity threshold)

*Battery display control

*Statusbar items blacklist (allows to hide specific statusbar icons, e.g. alarm clock, network symbols)

*New in 7.1: Statusbar brightness control

Quick Settings

*Quick pulldown from right edge of the status bar (right, left, always)

*Smart pulldown (no dismissable, no ongoing, no notifications)

*Tile animation options (Vibrate on/off, animation style/duration/interpolator)

*Disable on secure lock screen

Buttons

*Volume keys control media volume

*Volume key wake

*Volume key music control

*Volume key orientation swap

*Volume down to enter do not disturb

*Volume up to exit do not disturb

*Do not disturb volume panel switch

*Volume key keyboard cursor control

*7.0-only: Back button (kill app back button incl. timeout option)

Gestures

*Double tap to sleep on the status bar

*Double tap to sleep on the lock screen

*Double tap to sleep on navigation bar

Lock Screen

*Show weather panel

Power menu

*Enhanced Power/reboot menu

*Power menu animations

*Preference to disable on secure lock screen

New in 7.1: Notifications

*Heads up settings (Time out, Snooze timer, Whitelist)

*Battery light settings

*Notification light settings

Miscellaneous

*cLock widget settings

*Allow signature spoofing

*New in 7.1: Wakelock blocker

*Preference to en-/disable scrolling cache

*New in 7.1: Screenshot type (Full/Partial)

-App ops

*App ops gives the system the ability to revoke permissions for any app. The App ops settings will let you simply toggle off individual permissions for location, personal, messaging, media, device and bootup.

-Superuser (new in 7.1: built-in)

*Built-in Superuser Mod by phh (thanks koush, phhusso and everyone else who has contributed).

-Performance Settings

*My personal build of Kernel Adiutor Mod which offers a lots of tweaks and options depending on the kernel you have installed

-Extra features

*Pixel Bootanimation, Launcher, Round launcher icons (new in 7.1) and Wallpapers

*Enabled for using Google Assistant (Product name. Pixel XL)

*Snap Camera

Downloads & Changelog:​

Change log:

r01

- Initial release (NRD90U) incl. Security patch level of September

r02

- Update to 7.0.0_r14 (NBD90Z) incl. October Security updates and many stability fixes

- Successfully tested Snap Cam (built-in) and Google Camera 2.7 with photo and video recording

- Fix battery charging LED

- PowerHAL: touch_boost: Killed logspam

- USB-OTG: Fix for built-in kernel

- Allow faster app switching

- Speed up statusbar

- Scroll: modified velocitytracker

- Improve scrolling cache

- Add a preference to disable scrolling cache

- Smooth Spinners: Makes the loading "spinner" animation smoother

- Optimize ROM size and performance by turning off some debugs and removing unnecessary stuffs (drawables, icons etc.)

- Statusbar customizations: clock & date customization (date format, position support, am/pm styles), Battery styles (w/o percentage; show/hide statusbar symbols)

- New "Display" category below NeXus4ever Settings (migrated "Wake up on charge" toggle)

- Customizable battery and notification LED (incl. app specific configuration)

- Add support for signature spoofing (pre-requisite for installing microG GmsCore framework to allow applications designed for Google Play Services to run on systems, where Play Services is not available.)

- Add flashlight notification reminder

- Enable VoLTE (depends on carrier provisioning, availability etc.)

- Enable non-market apps install by default, disable verifier

- Add background app limit tunable (system property "ro.sys.fw.bg_apps_limit")

- Enhanced cLock widget (new weather icons, translation updates)

- Add animations and interpolators to quick settings tiles

- Add a preference to disable quick settings on secure lockscreen

- Toast Animations

- Power menu Animations

- Allow to un-/hide specific power menu buttons

- Update Pixel WallpaperPicker to 1.0.0.135171601

- Update Pixel Launcher to 7.1.1-3359438

- Add official Pixel Bootanimation

Also included the following features from PN codebase:

- Add Dialer lookup

- Add Proximity speaker

- Add support for split screen button behavior

- Allow to use "split screen" by long-pressing recents navbar button

- Add increasing ring feature

- Conditionally display a "SuperSU/Superuser" category below ROM Control Settings category

- Don't allow enable/disable of tuner on lockscreen

- Add a preference to disable power menu on secure lockscreen

- Quick Settings Tiles: Add Haptic Feedback

- Quick Settings: Add Longpress action to user avatar/settings button

- Add a bunch of new Quick Settings Tiles: Screenshot, USB thethering, ADB over network, Music, Sync data, Nightmode

r03

Fixes:

- Fixed: Cannot send SMS (Update APN)

- Fixed: On some devices the navbar button is not working in portrait mode (Remove minimal dead zone at navigation bar)

- Fixed: Snapchat can't log in (Switch SELinux to enforcing in kernel)

- Fixed: R02: Clicking on Status Bar->Statusbar items leads to Settings FC

- Fixed BT support: Enable SAP profile support / Set Qualcomm Bluetooth SOC ID Qualcomm devices need now to set SOC to enable bluetooth (thanks StephanMc)

- Fixed cLock from no longer receiving updates (Revert "Update timeout for force update")

- A few fixes in AOSP keyboard, e.g. getting FC on AOSP Keyboard when trying to gesture type

Features/improvements:

- Replaced Gallery app with a materialized version (thanks nitrogen project)

- Enhanced Power-Menu: screenshot, flashlight, sound panel, user switcher, settings, lockdown, voice assist, assist

- Use optimizations by UBER devs (enable strict aliasing, clang O3, krait tunings)

r04

Fixes:

- Muted logcat spam: E PowerHAL: touch_boost: failed to send: No such file or directory

- Fixed a crash with Google Camera 4.1 when switching over into camcorder mode. Now it works as with @dragos281993 PN ROM for 1080p recording without stuttering. Thanks @ZLocus for making me aware and being ready to test the new build.

Features/improvements:

- Statusbar customizations: clock & date customization (date format, position support, am/pm styles)

Android 7.1.0-R01 (NDE63P)

- Android security patch level: November 5, 2016

- Everything works as expected, despite of video recording (WIP..)

- You can find a detailed changelog under Settings > About phone or here.

Android 7.1.1-R02 (NMF26Q)

- Android security patch level: December 5, 2016

- Everything works as expected, despite of video recording in 720p/1080p ("flickering")

- You can find a detailed changelog under Settings > About phone or here.

Android 7.1.1-R03 (NMF26Q)

- Compiled with UBER optimizations (Strict-Aliasing, Krait tunings, CLANG O3)

- Kernel compiled with UBERTC-6.x

- Fixed FC in Settings > Network > more

- Many performance improvements

- NightLight: automatic brightness options

- Add On-The-Go Mode (Powermenu)

- Add SnapdragonGallery (CAF replacement for AOSP Gallery2)

- Not working: Screenrecording, Video rec. in HD (WIP)

ROM Builds:

https://www.androidfilehost.com/?w=files&flid=122998

Gapps:

Recommended:

Open GApps for Android 7.0 (pico or nano): http://opengapps.org/

Open GApps for Android 7.1 (pico or nano): http://opengapps.org/

SuperSU for Android 7.0 ONLY:

http://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703

In the Android 7.1 version of this ROM there is no need to flash SuperSU!

Latest TWRP:

(if you don't already have it installed) ***the installation instructions are there***: https://twrp.me/devices/lgnexus4.html (Click on "Primary (Recommended)" and you'll see the file there)

Installation instructions:​

Requirements: ROM, Gapps<br />

*** If you start fresh:

1. Reboot into recovery

2. Go to the "Wipe" section and do a "Factory reset" (or go to "Advanced Wipe" where you 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. On Android 7.0 ONLY: Flash SuperSU)

Then reboot to system and you're done.

*** If you plan to upgrade from Android 7.0 to 7.1 you should do a clean installation!

*** If you upgrade or "dirty flash":

1. Reboot into recovery

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

3. Flash the ROM

4. Flash the Gapps

(5. On Android 7.0 ONLY: Flash SuperSU)

Then reboot to system.

Kernel tweaking tutorials:​

http://xdaforums.com/general/genera...overnors-o-t3048957/post59289777#post59289777

http://androidmodguide.blogspot.ro/p/blog-page.html

Credits & Thanks:​

@zaclimon for mako device tree, kernel base and camera/camcorder patches

@dragos281993 for being a companion in deving and building Android Nougat with me and discussing about strategic stuff

@nitin.chobhe for his support in getting the 7.1 release shippable

Yoinx/David 617 for Kernel Adiutor Mod

Koush/phhusson for Superuser (also many thanks to frap129 and mydongistiny)

PureNexus Project

Nitrogen OS Project

CyanogenMod Community

Dirty Unicorns

SlimRoms

OmniRom

UBER devs (Cl3Kener, DespairFactor, ...)

And all other open source devs I may have missed to mention!

XDA:DevDB Information

NeXus4ever, ROM for the Google Nexus 4

Contributors

spezi77, dragos281993, nitin.chobhe

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

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: R03

Stable Release Date: 2016-12-31

Created 2016-10-17

Last Updated 2016-12-31