Announcement from BeansTown106: Join Our Google Plus Community - https://plus.google.com/communities/103055954354785266764
The Pure Nexus Project
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."
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.
*All stock Nexus features working!!(WiFi calling, Project Fi, VoLte)
*Based on AOSP Android 7.1.1_r21
*Busybox, Init.d, Addon.d support
*Googles Pixel sounds from the factory images not the horrible AOSP ones
*Googles 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)
*Full 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 PureAmbient display options
*Added Special keys to all keyboard keys
*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 Dialer Lookup, Proximity speakerphone, Incall vibration options
*Removed googles SystemUpdate option
*Removed googles legal information
*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
*quick settings pulldown (left,right,always)
*smart pulldown (no ongoing, no dismissable, no notifications)
*Force Expanded Notifications
*Brightness slider on/off toggle
*Haptic feedback on quick setting on/off toggle
*ability to change quick settings columns (3/4/5)
*ability to change the amount of rows in quick settings
*ability to disable the quick settings title text
*ability to disable quick settings on secure lockscreen
*ability to enable bluetooth,data,wifi easy toggle
*ability to set contexual or custom header images
*kill all fab
*kill all fab location
*Battery customization(percentage/icon style)
*sync battery icon with quick settings tile
*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, inactivity threshold)
*Statusbar icon blacklist
*Battery percentage/icon options
*Battery bar options
*Double tap on statusbar to sleep
*Status bar brightness control
*Status bar notification count
*Status bar bluetooth battery meter toggle
*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
*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)
*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 customization
*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
*force enable or disable scrolling cache
*ability to enable app icon on toast
*incall vibration options
The Cheeky Bastards - Bajasur, Dwitherell, DaveyAnnihalation, Surge1223!!!
The PureNexus Moderators - MicMars, Kris Nelson, Nathan Chance
The PureNexus Beta and Themer groups
The CyanogenMod Community
And all other open source Devs/Teams i may have missed!
XDA:DevDB Information [ROM][6P][7.1.1_r21]★ Pure Nexus ★ Substratum | Fi | WiFi Calling ★[02/15/17], ROM for the Huawei Nexus 6P
Pre-requisites: An unlocked bootloader and custom recovery installed. Use this guide if you need assistance with this (just read the beginning of the guide, follow sections 1 and 2, then come here).
Which path do I choose? Clean install or dirty flash?
Dirty flash: If you are already on Pure Nexus AND NOT flashing across Android versions (6.x.x to 7.x.x). Please check the update post linked about though. This keeps your apps and their data intact. Clean install: When you have problems with dirty flashing, when coming from another custom ROM or stock Android, OR when required (check the update post).
Always do a clean install before reporting issues
How to dirty flash:
Download the latest Pure Nexus zip, your choice of root zip (optional), and your custom kernel (optional) onto your phone.
Boot into TWRP and make a backup (remove any lock screen security before this, optional but HIGHLY recommended).
A note about Open GApps (valid only for older versions):
If you want to flash Open GApps, you MUST omit the Google Package Installer; otherwise, your permissions requests will be elongated and unpressable. To do this, follow the below process before step 3 above:
Download the appropriate Open GApps zip and place it in the location of your choice.
In the same location as the GApps zip, make a file named ".gapps-config".
In that file, simply type "PackageInstallerGoogle".
Save the file and continue on in your process.
To read more on this, visit Open GApps' wiki. This process is NOT necessary with Dynamic GApps.
Got a feature request? 1. Check Github to see if it has been implemented since the last build. Most things happen in the frameworks_base repository, click the commits tab at the top to see a detailed changelog. 2. If it hasn't, go into the Google+ community and view the requests section. If it has already been requested recently, Beans will get around to it when he gets a chance (he reads back fairly far on the requests); requesting twice won't make it happen faster. It would probably be a better idea to drop a comment or +1 on the previous post so that Beans knows it is a popular request. 3. If it hasn't been posted about, create a new post in the requests section so Beans can keep track of it easier. You are free to post it in the XDA thread but it is very possible it will get glossed over.
Issues with a third party mod?
Remember, as part of the bug reporting process below, we require that all third party mods (ARISE, V4A, kernels, etc) be uninstalled (preferably via a clean install). Furthermore, please take third party discussion to their appropriate thread per this post.
1. Current issues 1.1 Q: Why does OK Google not work even though it said it was fixed? 1.1 A: Currently, the only GApps that are 100% verified to work with the fix are Dynamic GApps; clean flash with those and you should be fine.
1.2 Q: Why does the reboot dialog come up when I try to power off my device? 1.2 A: This is fixed in the 01/13 build. Update using the installation guide above.
1.3 Q: (SHAMU ONLY) Why do I not have any sound after flashing the latest update? 1.3 A: You flashed a kernel that was not updated for the January security update. Either flash the Pure Nexus boot.img or flash a kernel that is updated.
1.4 Q: Does the ROM support OMS? 1.4 A: Yes, the latest version of Pure Nexus brings in OMS7 support, which includes fixed splash screens and quicker application.
1.5 Q: Do I need to clean install from 7.0 to 7.1.1? 1.5 A: Yes, we will not accept any bug reports or give assistance to dirty flashers.
1.6 Q: How do I upgrade to PN Nougat properly? 1.6 A: See the following posts for your device: Nexus 6, Nexus 5X, and Nexus 6P.
1.7 Q: What GApps do I use? 1.7 A:Dynamic GApps are always recommended as they are what Beans tests with; however, if you want a beefier package, Open GApps should be fine (linked in the installation posts above).
1.10 Q: My favorite feature is missing, what gives? 1.10 A: If it isn't back yet, feel free to make a feature request in the Google+ community. Bringing up a whole new version of Android takes time, please have patience.
2. Theme questions 2.1 Q: How do I theme on Pure Nexus? 2.1 A: Pure Nexus currently uses the Substratum system (Layers will no longer work here). You will need to download the Substratum app from the Play Store to theme and reference this post in this thread with all of the information you need to know include compatible themes and how-to's.
2.2 Q: Is there a native dark theme? What theme is best? How do I find good themes? 2.2 A: There is no native dark theme. However, you can theme your device with Substratum compatible themes. There is no "best" theme, as each person's preference is different. To find some good themes, either browse XDA's themes forum or search the Play Store for Substratum themes. Below are some nice dark/black themes that I have personally used/tested.
3.2 Q: How do I enable double tap to wake? 3.2 A: Double tap to wake has been moved from Settings > Display to the kernel; use an app like Kernel Adiutor or EX Kernel Manager to enable it under their gestures section.
3.3 Q: Can I install Xposed on Pure Nexus? 3.3 A: Xposed is known to cause issues with custom AOSP ROMs when using certain modules since Xposed modifies the framework, which the ROM developer changes as well, introducing the possibility of conflicts. Some people don't have any problems at all, others have to uninstall the whole framework to fix their problems. It is "compatible" in the sense that you will be able to install it and use it but I cannot say whether or not it will be issue free. You are free to experiment because it is your device but if you are having ANY problems with Xposed installed, do not bother reporting any bugs until you have uninstalled all of your modules and uninstalled the framework itself.
3.4 Q: I am not receiving Hangouts messages until I open the app 3.4 A: Go into Settings > Apps > Hangouts > Storage and clear the app data.
3.5 Q: My build number is different from the factory images, what gives? 3.5 A: Since this ROM compiles from source, Beans is free to pick whichever branch he wants to compile from (usually the latest one), which may have a different build number from the factory images. All of the binaries and drivers that run your device will come from the factory images so you don't need to worry about it. For 5X and 6P users, I have listed which vendor image you need to flash in addition to the ROM at the top of the post.
3.6 Q: I can't sign into my Google account after a clean flash. 3.6 A: Either restore from a previous backup or just flash Pure Nexus without the GApps then go into Settings > Developer Options and make sure OEM Unlocking is turned on. After this, wipe and do another clean flash.
3.7 Q: What is the vendor.img/vendor.zip? (5X and 6P only) 3.7 A: The vendor partition is new to Nexus phones with the 5X and 6P. Previous devices had the vendor files (proprietary binaries and drivers) within the system partition (/system/vendor); on these devices, they now have it in their own partition (/vendor). If this is not up to date, you will get an error message and need to flash the latest one so your phone continues to work properly. To ease confusion, I have directly linked to the vendor image you need for the current build of Pure Nexus at the top of this post.
3.8 Q: How do I update my vendor image? I am getting a message about it being out of date (5X and 6P only) 3.8 A:How to update your vendor.img (the current image needed is linked at the top of this thread).
3.9 Q: Can I flash the bootloader and radio through TWRP? 3.9 A: No, TWRP only supports flashing the system, boot, recovery, and vendor images currently. Bootloader and radio must be flashed through fastboot.
3.10 Q: Why do I have two dialers? 3.10 A: Ultimately, it is because you have the AOSP (default) dialer and the Google dialer installed on your phone. This could happen because you restored a previous phone that had it installed when setting up the device, you flashed the FiFix dialer from the OP, or you deliberately installed it.
If you don't care about the Google dialer, uninstall the phone that has the package name "com.google.android.dialer".
If you want the Google dialer and not the AOSP one:
Either use Titanium Backup OR Settings > Apps > Show system to disable the two instances of the AOSP dialer (com.android.phone).
Install the dialer if you haven't already.
Go into Settings > Apps and click on the gear in the righthand corner.
Choose default apps and select the Google phone app (there should be only one at this point).
Call your voicemail to verify that it is working
3.11 Q: What is the best kernel for battery life/performance? 3.11 A: There is no such thing. There is not a "best kernel", it is like asking what car is best or what color is best; it is all personal choice. At this point, the stock/default kernel does well in terms of performance and battery life. Custom kernels have the potential to increase your battery life because they can regulate the physical aspects of your phone but if you are having poor battery life, it is more appropriate to look at the user space (using the process below) to figure out what is causing that (like rogue apps). Kernels rarely produce drastically significant gains in battery life and performance, most people use them for the custom features such as wake gestures, wakelock blocking, or other optimizations.
3.12 Q: I'm having some battery life issues, please fix them. 3.12 A: Rarely, if at all, does a ROM impact your battery life. If you are having issues with your battery life, download BetterBatteryStats and follow this process and post your results; we can help and see what is going on. Think of a ROM as a car and the battery life is your MPG. Obviously the car has limitations about how much MPGs it can get; however, if you are flooring the car all the time, you cannot be surprised when the MPG is garbage. Same thing with a ROM. Android has a LOT of processes that run in the background which can affect battery life. Unless there are continuous posts about battery life in the thread (again, there rarely are), it is a user space issue, not a ROM issue. Repeatedly dirty flashing can cause some poor battery life occasionally, it may be necessary to clean flash to achieve the results that you want.
3.13 Q: How do I change DPI? 3.13 A: There are many ways which include:
Settings > Display > Display size (my personal choice)
A terminal emulator (type these commands with ### being the DPI value you want).
wm density ###
4. Installation questions 4.1 Q: How do I install Pure Nexus? 4.1 A: To install Pure Nexus, you will need an unlocked bootloader and TWRP installed. After that, you will need to do a clean install, which is starting completely fresh (losing all of your apps and data). A clean flash consists of backing up your important data, booting into TWRP, wiping system, data, cache, and dalvik cache, then flashing the ROM and the recommended GApps. You will not lose your files (photos, music, other media) as long as it is in your internal storage folder (/sdcard, /data/media, or /storage/emulated/0). This process is expanded upon in the installation guides located at the top of this post.
4.2 Q: How can I update Pure Nexus? 4.2 A: If it is not a major Android update (like from Lollipop to Marshmallow or Marshmallow to Nougat) or another major reason to clean flash, you should be okay to dirty flash (flash just the ROM zip without wiping anything). Always find the latest installation post (linked at the top of this post) and read to see if there were any reasons to clean flash (like a rebase or major change). Furthermore, I keep my installation guides at the top of this post up to date with the latest info. ALWAYS MAKE A BACKUP AND PLEASE CLEAN FLASH BEFORE REPORTING MAJOR ISSUES.
4.3 Q: When will Pure Nexus get an update (for the new security patch, etc)? 4.3 A: This shouldn't even be a question you are asking on XDA as ETAs are forbidden due to the free nature of the work provided. However, Beans aims to have the update merged as quickly as possible (consult Github to see) and then released relatively soon. Keep in mind releasing for three devices is not a trivial task.
5. Archived issues
This section is for issues which were relevant on previous builds. If you are on a build other than the current one, these may help you avoid issues.
5.1 Q: Why are my app permission dialogs enlarged/unclickable? 5.1 A: You did not follow the installation guide properly. You need to exclude Google's Package Installer when flashing Open GApps. Wipe your system partition after following the gapps-config step and reflash the ROM and GApps zips. This should be fixed in more recent Open GApps packages.
5.2 Q: I get the following when I flash the ROM in TWRP:
E: unknown command [log]
E: unknown command [log]
5.2 A: This is not an issue, the ROM will still flash successfully and the phone will boot. Either upgrade your TWRP or update to the latest version of Pure Nexus, where this will no longer be a problem.
6. Troubleshooting process
Use this section if you are having some unexpected behavior and want to properly report it. Also documented here.
1. If an app is crashing and you have a theme installed, remove it.
2. If you dirty flashed, clean install (wipe system, data, cache, and dalvik cache in TWRP then flash ROM + recommended GApps) and DO NOT install anything else (kernel, Xposed, other mods).
3. Make sure you are on the latest bootloader and radio. To check, download the latest factory image here, unzip it, and compare your bootloader and radio version to it (see these in the bootloader). If they are different, flash the latest via fastboot using these commands:
Additionally, Beans uploads the individual parts to his AndroidFileHost if you can't spare the bandwidth, look at the dates to see which one is the latest.
4. (5X and 6P ONLY) Make sure you are on the vendor.img.
5. If you are still having problems with an app or crashes, grab a logcat.
If you are having random reboots, get the last kernel message (the files located in /sys/fs/pstore). If you are on a custom kernel, give this to your kernel developer in their thread (they will thank you).
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?