FORUMS
Remove All Ads from XDA

[ROM][N4][7.1.1_r6] ★ NeXus4ever ROM ★ R03 ★ Substratum ★ [2016/12/31]

3,106 posts
Thanks Meter: 6,869
 
By spezi77, Recognized Developer / Contributor on 17th October 2016, 12:57 AM
Post Reply Email Thread
The NeXus4ever Project


nexus4ever

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://forum.xda-developers.com/apps...lease-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:


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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20161023-161001.jpg
Views:	11948
Size:	49.9 KB
ID:	3912962   Click image for larger version

Name:	Screenshot_20161023-141227.jpg
Views:	12386
Size:	49.6 KB
ID:	3912963   Click image for larger version

Name:	Screenshot_20161023-141212.png
Views:	12214
Size:	151.4 KB
ID:	3912964   Click image for larger version

Name:	Screenshot_20161023-141204.png
Views:	12064
Size:	63.2 KB
ID:	3912969   Click image for larger version

Name:	Screenshot_20161023-141152.png
Views:	11460
Size:	59.6 KB
ID:	3912970   Click image for larger version

Name:	Screenshot_20161023-141145.png
Views:	11142
Size:	54.9 KB
ID:	3912971   Click image for larger version

Name:	Screenshot_20161023-141140.png
Views:	10770
Size:	19.6 KB
ID:	3912972   Click image for larger version

Name:	Screenshot_20161020-114728.png
Views:	10556
Size:	78.6 KB
ID:	3912973   Click image for larger version

Name:	Screenshot_20161023-141134.png
Views:	10228
Size:	62.4 KB
ID:	3912974   Click image for larger version

Name:	Screenshot_20161023-141128.png
Views:	9922
Size:	47.6 KB
ID:	3912975   Click image for larger version

Name:	Screenshot_20161023-141122.png
Views:	9574
Size:	68.0 KB
ID:	3912976   Click image for larger version

Name:	Screenshot_20161023-141116.png
Views:	9138
Size:	29.4 KB
ID:	3912981   Click image for larger version

Name:	Screenshot_20161023-141111.png
Views:	9000
Size:	50.4 KB
ID:	3912982   Click image for larger version

Name:	Screenshot_20161023-141106.png
Views:	8834
Size:	42.0 KB
ID:	3912983   Click image for larger version

Name:	Screenshot_20161023-141044.png
Views:	8996
Size:	64.8 KB
ID:	3912984  
The Following 48 Users Say Thank You to spezi77 For This Useful Post: [ View ]
 
 
17th October 2016, 12:57 AM |#2  
spezi77's Avatar
OP Recognized Developer / Contributor
Flag /home/xda
Thanks Meter: 6,869
 
Donate to Me
More
About the kernel:
The Kernel is based on the nougat release by zaclimon. I have added a few selected features while keeping mpdecision & thermald fully functional (for those who love it "stock"). Also worth to mention is that the kernel is optimized for power efficiency (longer battery life).
* Latest Security Updates from Oct 2016 (e.g. protected against quadrooter vulnerability)
* Compiled with UBER toolchain gcc5.4.1 (smoothness & battery savings)
* MSM OTG hack for N4
* Kexec-hardboot
* USB force fast charging
* Msm-sleeper v2 (allows to limit screen off max. CPU frequency)
* Wakelock toggles
* Readahead value (512KB)
* Mako_hotplug (updated version from franco's hammerhead kernel)
* Enable hrtick & set HZ to 250 (franciscofranco)
* Backport power oriented workqueues (from Kernel 3.10)
* Simple GPU governor for Adreno xxx GPU series (incl. 27MHz idle freq)
* Optimized KSM values
* Smartmax as alternative CPU gov (for power efficiency)
* Touchscreen: doubletap2wake incl. profiles (Center, Full screen, Bottom half, Top half)
* BFQ I/O Sched gov v7r8
* Custom gamma control (faux123)
The Following 13 Users Say Thank You to spezi77 For This Useful Post: [ View ]
17th October 2016, 12:57 AM |#3  
spezi77's Avatar
OP Recognized Developer / Contributor
Flag /home/xda
Thanks Meter: 6,869
 
Donate to Me
More
FAQ
Q:How to make Android Wear work with this ROM?
A: In Performance Settings use the build.prop editor to set ro.build.type=user, then reboot and you can install Android Wear. Thanks @redandr for figuring it out. Fixed in 7.1.1 build.

Q: What is it that makes your ROM unique?
Quote:

Am I seeing this right? There is basically three times the same ROM now?

A: That is a an oversubtle statement. Actually, it is correct that I have used portions from the initial Pure Nexus code base (Build, Framework and PureSettings) from September to help me get started with creating this custom ROM. I don't have plans to make a derivative of the Pure Nexus ROM by copying every little feature from their code base. As stated in the OP my idea of this ROM is to put a limited set of the nicest features, which I personally miss in stock Android OS.

Q: But why change the phone name to PIXEL L?
A: It is a cheat to make the "Google Assistant" work on a non-Pixel device. In order to enable Google Assistant, you are also required to install the latest Google App (6.5.35.21 or newer).
- In addition, you have to download a language pack to allow Google Assistant to use it for speech recognition. Be aware that the "voice recognition" setup is not working -- but it won't prevent the Google Assistant from working. Just skip the voice recognition" setup.
- In order to make the "Google Assistant" launch by long pressing home button, go to Settings > Apps > Configure Apps > Start-App, and select Pixel Launcher as default app.
Click image for larger version

Name:	Screenshot_20161022-110712.png
Views:	1494
Size:	57.2 KB
ID:	3918904

Q: Is your ROM ready fo daily use?
A: I use this ROM for more than 4 weeks, and I didn't experience any crash, soft reboot or other issues. If you happen to find an issue or something weird, please leave your feedback.

Known issues:
*Video recording with the built-in Snap cam on 1080p produces a flickering video file -- however video playback on Full HD is working nicely.
*Good news! You can make a flawless video recording by using Google Camera 4.1.
*In case that you have dirty flashed a newer version of the ROM, it is very likely that googles apps are FC'ing (e.g.: calendar, maps, notes, google app, etc.) -- the only way to get this fixed is to uninstall and re-install the affected apps
*In rare cases, e.g. while using resource hungry apps like google maps, it could occur that the app hangs up and as a results your touchscreen becomes unresponsive. You will be able to hold down the power button to bring up the power menu, but you are not able to tap on it.
-> WORKAROUND: hold down the power button for a few seconds to forcefully shut down your device. it seems to be a bug in googles nougat code: https://productforums.google.com/for...us/WjTOVNSc69k

Feature Requests:
In case that you are missing a super awesome feature, and you think it could be a great addition to this ROM, then please use the Feature Requests category in the menu bar of this thread to submit your inquiries. Thanks in advance!
The Following 12 Users Say Thank You to spezi77 For This Useful Post: [ View ]
17th October 2016, 01:47 AM |#4  
dragos281993's Avatar
Recognized Contributor
Flag IASI
Thanks Meter: 3,948
 
More
First !!!!! Oh yeah !

Sent from my Nexus 4 using Tapatalk
The Following 4 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
17th October 2016, 03:01 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Nice one.
So you merge PN and Revival kernel ?
17th October 2016, 03:17 AM |#6  
underskyzx's Avatar
Senior Member
Thanks Meter: 332
 
More
Ok so whats the difference between this rom and PN?
17th October 2016, 06:07 AM |#7  
ClaudiuS_'s Avatar
Member
Flag Ploiesti
Thanks Meter: 23
 
More
Thanks for this ROM, when I will be home, I will flash it.

Trimis de pe al meu Nexus 4 folosind Tapatalk
17th October 2016, 06:27 AM |#8  
Senior Member
Flag istanbul
Thanks Meter: 24
 
More
Is that lockscreen lag issue still there like all N roms for Mako? (Sometimes you have to swipe multiole times to unlock the device and at first it doesn't swipe at all, and same for notifications on lockscreen) @spezi77 this is not a bug report just a little question. And thanks for the rom. İt has everything I need. Thanks again for your efforts. And will you merge r14 or another instead of r6?
17th October 2016, 08:27 AM |#9  
syamilsatanick's Avatar
Senior Member
Thanks Meter: 25
 
More
Downloading now!
17th October 2016, 10:04 AM |#10  
dragos281993's Avatar
Recognized Contributor
Flag IASI
Thanks Meter: 3,948
 
More
Some info for everyone to know:
The Google's October patches screwed up the smoothness of the notification panel, like really badly. When you try to expand a set of grouped/bundled notifications, you'll notice a stutter. It gets annoying every time you try to do that. So the conclusion is that the "7.0.0_r14" patches are way worse than "7.0.0_r6" where the same scenario is buttery smooth, or at least close to it. So if you see "7.0.0_r6" in the description, it's because it's for the best.
So to answer the above question: no the stutter in the notification panel is not there because spezi didn't upgrade to r14, which is the best thing cause r6 is better.
The Following 3 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
17th October 2016, 10:38 AM |#11  
haelmchen's Avatar
Senior Member
Thanks Meter: 130
 
More
Am I seeing this right? There is basically three times the same ROM now?
The Following User Says Thank You to haelmchen For This Useful Post: [ View ] Gift haelmchen Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes