FORUMS
Remove All Ads from XDA

[ROM][N4][7.1.1_r26]★ Pure Nexus ★ Substratum ★[04/04/17]

2,493 posts
Thanks Meter: 3,279
 
By dragos281993, Recognized Contributor on 24th July 2016, 09:44 PM
Post Reply Email Thread
Announcement from dragos281993: Join Our Google Plus Community - https://plus.google.com/communities/103055954354785266764

The Pure Nexus Project


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 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:
Code:
-General
*Based on AOSP Android 7.1.1_r26
*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
*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
*Removed googles SystemUpdate option
*Removed googles legal information

-PureNexus Settings
Lock Screen
*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 lockscreen pin
*Option to disable fingerprint success vibration
Notification Drawer
*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 contextual or custom header images
Recent apps
*immersive recents
*kill all fab
*kill all fab location
Statusbar
*Battery customisation(percentage/icon style)
*sync battery icon with quick settings tile
*Battery bar options(location, color, style, thickness, animation)
*Carrier Label customisation​(placement, text)
*Clock customisation(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
Navigation Bar
*Navbar toggle and Height/width options
*Navigation bar tuner
*Pixel navbar animation toggle
*Ability to enable one handed mode
*Ability to enable double tap to sleep
*longpress back to kill
*configurable longpress back to kill timeout
Volume Rocker
*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
*Volume up and power action (screen record/selectable screenshot)
*Volume steps customisation
Display
*3 finger swipe for screenshot toggle
*expanded desktop options
*option to enable/disable wake on plug
*Battery and Notification LED controls
Media & Notifications
*Ability to turn off camera shutter sound
*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
Miscellaneous
*force enable or disable scrolling cache
*ability to enable app icon on toast

*incall vibration options

Downloads & Changelog:

Changelog

Rom builds

Gapps:
Dynamic PN 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 - Stable
SuperSU - Beta

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:


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

XDA:DevDB Information
[ROM][N4][7.1.1_r26]★ Pure Nexus ★ Substratum ★[04/04/17], 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-04-04
The Following 105 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
 
 
24th July 2016, 09:44 PM |#2  
dragos281993's Avatar
OP Recognized Contributor
Flag IASI
Thanks Meter: 3,279
 
More
Mako exclusive changelog:
--> 17. feb. 2017:
Restructure no.2
- kernel cleanup
- device tree cleanup
- "battery saver" on-off sequence that made the phone reboot ---> fixed
- battery led fixed and tweaked a bit
- battery "charging slowly" status on the lockscreen ---> fixed
- the automatic brightness for "night light" has been removed because it wasn't working
- other small visual fixes that are not yet present in the official PN builds

Changelog for older builds

--> 1. feb. 2017:
- Complete restructure (but the base is the same, obviously)

- Added some apps:
*--> Camera
*--> Gallery
*--> Clock (deskclock)

- System performance improvements
- Kernel compiled with ubertc 5.4.1 cause 6.x was causing issues.
- Added back "Mpdecision" cause now there are improvements done to have it work nicely and I set it as the default "hotplug" (the standby time is fantastic with it)
- "Smartmax" gone, cause it caused system shutdowns when the phone entered deepsleep mode.
- Other kernel tweaks and improvements which give you a nice experience.
- CAMERA FIXED (Yaaay !!!)

The new restructuring thingy broke the thing that was fixed in the previous build, and that's the native "screen recording" feature.
* Use "Screen Recorder - Free No Ads" by Kimcy929, from the PlayStore and you'll have no issue.

--> 7. jan. 2017:
- Enable "NIght light" (which is fantastic when you're tired and your eyes hurt)
- Add "double-tap-to-sleep on the navbar" (couldn't wait for Nate to add it, so I added it myself)
- Native "Screen record" fixed thanks to our beloved @spezi77 (you can add an option to the Power menu for fast access)
- Maximum fling velocity reduced (there's too much stuff that has to be loaded on the screen with a single swipe, and the CPU is struggling to do that. Fewer things to load when swiping means lower impact on the CPU and a better UX fluidity)
- "Lights with screen on" feature removed (I don't see its purpose so I remove it)
- "Font size" and "Display size" removed from Settings/Accessibility as they're already in "Display" (so bye bye duplicate ! thanks to KreAch3R)
- device tree cleaned up a bit
- kernel compiled with UberTC6.x (gcc 6.1.1)
- some other kernel tweaks and improvements

* Camera WIP
* I pinpointed the led erratic behaviour source. It's caused by the "battery light" (which I didn't remove, for the time being). Turn it off if the rainbow-led-colours bother you.

--> 16. dec. 2016:
- Remove "force expanded notifications" and "smart pulldown" (because they were causing too much stutter in the notification panel)
- Remove power connect/disconnect notification support
- Disable safe headset volume
- Reduce the delay during headset removal
- Add support to manually pause/resume download
- Add download speed, remaining time, and percentage in notification
- Set "interactive" as default governor
- Tune TCP performance (based on CAF values
- Enforcing the minimum delay between notification sounds of an app
- Disable ADB authentication

Next build: -camera fix and other stuff.
The Following 31 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
24th July 2016, 09:44 PM |#3  
dragos281993's Avatar
OP Recognized Contributor
Flag IASI
Thanks Meter: 3,279
 
More
NOTE:

* "Revival kernel" is now the default kernel for this ROM cause it offers a decent amount of features without the need of flashing a different kernel. Those who don't feel like doing much tweaking can simply use it as is.

* The stock values in Revival have been set to offer a balance between performance and battery life and this aspect is even more favoured by the fact that it's been compiled with UBERTC-5.4.

* The kernel behaves exactly like all the other stock kernels when it comes to moving between custom kernels. That means you can flash whichever custom kernel you prefer without any problems.

* If you're not satisfied with "Revival", you can easily flash a different kernel. Everyone has a choice.

It's recommended to use Kernel Adiutor Mod for tweaking. You can find it in the Downloads & Changelog" section in the first post.
The Following 19 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
24th July 2016, 09:47 PM |#4  
dragos281993's Avatar
OP Recognized Contributor
Flag IASI
Thanks Meter: 3,279
 
More
Some differences between Marshmallow and Nougat:

The difference is not that big but the are a few changes.
There's the new visual improvements, like the new notification panel, the way the Settings look or the "Recents panel". When it comes to actual performance, "dose" has been improved and it now works not only when the device is sitting on your table for a long period of time. Also, there's no more "app optimisation" process at boot up, after you wipe the cache partition or clean install a ROM, and that makes things considerably faster, a breeze compared to the previous version of Android. And not to forget, Nougat has a new compiler and you'll see that the apps install a little bit faster. Some apps that used to install in over a minute, now do it in half the time.

From Google developers' page:
*****> In Android 7.0, we've added a Just in Time (JIT) compiler with code profiling to ART, which lets it constantly improve the performance of Android apps as they run. The JIT compiler complements ART's current Ahead of Time (AOT) compiler and helps improve runtime performance, save storage space, and speed up app updates and system updates <*****

FAQ not needed because all the problems can be addressed directly in the thread (I'm very active as you'll see)
The Following 10 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
24th July 2016, 10:08 PM |#5  
Pac-Man's Avatar
Senior Member
Flag Madrid
Thanks Meter: 70
 
More
Downloading!

Thank you so much!
The Following User Says Thank You to Pac-Man For This Useful Post: [ View ] Gift Pac-Man Ad-Free
24th July 2016, 10:31 PM |#6  
spezi77's Avatar
Recognized Contributor
Flag /home/xda
Thanks Meter: 4,925
 
Donate to Me
More
Awesome, you did it. Thanks for continuing the development of this great ROM. All the best!
The Following 9 Users Say Thank You to spezi77 For This Useful Post: [ View ] Gift spezi77 Ad-Free
24th July 2016, 10:31 PM |#7  
The Flash's Avatar
Forum Moderator
Flag Mesa, AZ
Thanks Meter: 27,658
 
More
Glad you were able to get it working, enjoy the building process!
The Following User Says Thank You to The Flash For This Useful Post: [ View ] Gift The Flash Ad-Free
24th July 2016, 11:22 PM |#8  
TheArt.'s Avatar
Senior Member
Flag Milan, at the moment
Thanks Meter: 272
 
More
Quote:
Originally Posted by spezi77

Awesome, you did it. Thanks for continuing the development of this great ROM. All the best!

I agree, our Nexus ? is gonna live for a looong time. Btw @spezy77 I was using your HellSpawn with PN for some time and then switched to Revival (clean flashed&wiped everything) as I wanted less tweaks and better stability.

But 3 days ago I had a few reboots and the phone lags too often with no apparent reason, I'm going to clean flash dragos' ROM in these days and will try Revival again hoping that it was a PN problem, or a -75uV issue. If the reboot happens again I'll try to save some logs as soon as the phone boots again and post them in your thread.

Random reboots and lag in general are concerned with the kernel used and not the ROM, right? So I will not post here for these problems.


Thank you @spezy77 and @dragos281993 again!
24th July 2016, 11:28 PM |#9  
dragos281993's Avatar
OP Recognized Contributor
Flag IASI
Thanks Meter: 3,279
 
More
Quote:
Originally Posted by TheArt.

I agree, our Nexus ? is gonna live for a looong time. Btw @spezy77 I was using your HellSpawn with PN for some time and then switched to Revival (clean flashed&wiped everything) as I wanted less tweaks and better stability.

But 3 days ago I had a few reboots and the phone lags too often with no apparent reason, I'm going to clean flash dragos' ROM in these days and will try Revival again hoping that it was a PN problem, or a -75uV issue. If the reboot happens again I'll try to save some logs as soon as the phone boots again and post them in your thread.

Random reboots and lag in general are concerned with the kernel used and not the ROM, right? So I will not post here for these problems.


Thank you @spezy77 and @dragos281993 again!

Revival is the stock kernel for PN from now on as it offers great features and stability from the start. I'm still editing this thread so I'll add info regarding that matter. Clean flash the build and use it for a while as is, or try it without UV. Revival will behave exactly like a stock kernel and you'll have to either dirty flash the ROM to flash the "boot.img" file found inside the ROM.zip, before trying a different custom kernel.
The Following 2 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
25th July 2016, 01:14 AM |#10  
dragos281993's Avatar
OP Recognized Contributor
Flag IASI
Thanks Meter: 3,279
 
More
Quote:
Originally Posted by spezi77

Awesome, you did it. Thanks for continuing the development of this great ROM. All the best!

"WE" did it, my friend.
The Following 4 Users Say Thank You to dragos281993 For This Useful Post: [ View ] Gift dragos281993 Ad-Free
25th July 2016, 02:13 AM |#11  
chaostrodamis's Avatar
Senior Member
Thanks Meter: 65
 
More
Just wondering, what version of revival is this rom running. Also great work and thanks for continuing development. People like you guys are the reason our outdated phone is still relevant.
The Following User Says Thank You to chaostrodamis For This Useful Post: [ View ] Gift chaostrodamis 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