• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.

[ROM]-[23.07.20]-Havoc-OS-3.7-[10.0.0_r40]-[Official]

Cristiano da silva

New member
Oct 19, 2016
22
2
0
##### Havoc-OS v2.0 Official Build #####

OnePlus 3/3T Update 16-10-2018

Changelog:

* Fixed VoLTE
(No more sim popups on boot)
* Fixed Encryption
(Need to encrypt from Settings)
* Added Sim Disable toggle
* Added Now Playing (Ambient Play)
* Added Now Playing QS tile
* Added New accent picker and more accents
* Added Theme QS tile
* Added Material design toasts
* Added Option to switch to Oreo style recents
* Added Immersive Recents
* Added Option to show clock in immersive recents
* Added Option to show date in immersive recents
* Added Membar in recents
* Added Recents Styles
* Added App Circle sidebar
* Added Pixel navbar animation toggle
* Added Volume key sounds
* Added SystemUI restart on theme change
* Added Hide notch toggle
* Added Proximity check on wake
* Added Option to hide indicator text on lockscreen
* Added Option to hide lock icon on lockscreen
* Added Option to hide bottom shortcuts on lockscreen
* Added Long press actions on QS tiles to open their settings
* Fixed Long press actions on all QS tiles
* Added CPU info improvements
* Added Equalizer
* Added Turbo
* Added Fixes
* Added Optimizations
* Added Scrolling improvements
* Fixed Battery settings FC
* Fixed Lockscreen rotation
* Fixed Wallpaper based theming
* Display power reduction
* Assisted GPS toggle
* Switched back to interactive
* Updated the kernel to HDK v0.2.0 Thanks to @HolyAngel
* And some more stuff...

Encryption is now supported.
The encrypted users coming from Oreo need to first decrypt and then encrypt via settings in Pie.
VoLTE has been fixed for good. No extra zips needed.
Clean flash highly recommended. This time for real.
Installation instructions remain the same as second post.
Disable Rounded Corners Subs Theme:https://goo.gl/CcEMzi

ROM:Havoc-OS-v2.0-20181015-oneplus3-Official.zip
GApps:eek:fficial Open GApps
Good morning how would I add in an upcoming update to the extended screenshot? Kind to what has in oneplus 3 oxygenOs?
 
Last edited:

Pbotelho

New member
Mar 4, 2016
41
85
0
Alright guys, here goes my guide on obtaining ULTIMATE BATTERY LIFE on our devices using this ROM.

I've attached two screenshots of my Battery Settings to this post. These were my results using the 09/27 Build, but I've since done a Clean Flash and re-implemented all of the following on the 10/15 Build so that I could account for each change I've made as I made them. Henceforth, the following instructions are done from the perspective of what to change after a clean flash. If I haven't mentioned changing something after doing a Clean Flash, that likely means I left it at default settings when I went through these steps. The possibility that I made a human error also exists in listing out these steps, so I invite questions if someone notices a mistake (so that I can fix them), but please keep the bolded sentence in mind before asking any questions that may already be answered.

NOTE: THESE SETTINGS ARE NOT FOR THE FAINT OF HEART.

Also, this is sort of my first time writing a guide on something, so the formatting is rather rudimentary, but I'll do my best to edit it over time for presentation purposes.

I'm going to cover the following areas:

1) TWRP
2) Initial Boot
3) Install & Uninstall Apps
4) General Settings
5) Havoc Settings
6) Kernel Aduitor Settings
7) Build Prop Settings
8) Greenify Settings
9) Naptime Settings
10) Servicely Settings
11) Theme Settings
12) Nova Launcher Settings
13) Havoc Settings Extended - Alarms and Wakelocks




1) TWRP

• Wipe>Advanced Wipe>Dalvik, Cache, Data, System
• Flashed 5.0.6 Firmware and Modem, Havoc OS ROM, Gapps Nano (Nano selected because I use face unlock), Magisk 17.1
• Reboot System


2) Initial Boot

• Don’t copy device data on initial wizard.
• Google Services Screen
o Turn off all of the following options and proceed forward: Back-up to Google Drive, Free up space, Use location (and thus, Allow scanning), send usage and diagnostic data
• No thanks to Voice Match, Fingerprint added later. Done.


3) Install & Uninstall Apps (This is my baseline for a new clean install, yours may be different)

• Install from Play Store: Messenger Lite, Google Pay, Torchie – Volume Button Torch, Servicely, Banking apps, Naptime, Google Home (for use with Chromecast), Pitchblack Substratum Theme, substratum theme engine, Calendar Widget: Month, Nova Launcher, Kernel Aduitor, Messages (SMS app by Google), Google Keep, VLC, Hangouts Dialer, Hangouts, Gmail, Maps, Chrome, Drive, Netflix, Duolingo, Instagram, Whatsapp, Netflix, Greenify, System app remover (root), Google Calendar, BlackPlayer EX.

• Install Magisk Manager APK and the following modules from Magisk Download Section:
 Greenify4Magisk
 ViPER4Android FX (v2.6.0.x)
 Youtube Vanced black themed (disable auto-update in Play Store for Youtube app after reboot)

o Install following modules from XDA:
 Wifi 2.4GHZ Bonding (jamal2367)
 Dual Speaker Mod + Low In-Call Fix (jaml2367)

• Uninstall the following apps using System App Remover (called Uninstall in drawer)
o System: Google, Messaging (after making Messages default SMS app), Omniswitch (cleaning up app drawer), Pixel Launcher, Wallpapers (cleaning up app drawer)
o Be sure to go to Recycle bin section, select all, and delete; or apps may sometimes auto restore on boot.



Reboot after completing up to this point. System App Remover can now be uninstalled



4) Configure General Settings

o Enable Developer Options>Turn off Window, Transition, and Animator Duration scales

o Wifi Preferences: Turn off both options (turn on wifi automatically and open network notification)

o Connected Devices: Turn off NFC

o Apps & Notifications: See all apps>find and click on app in list>Battery>Background restriction
 Do this for the following apps: Camera, Google Play Store, Android Keyboard, Instagram, Banking apps, Duolingo, Drive, Chrome, Maps, Netflix, Youtube (vanced), Messenger Lite.
 This will affect notifications for these apps while preventing them from running in the background.
 Note: These are the apps that popped up in the Battery section of settings as they consumed a percentage of my power. You can restrict them much easier in Battery Manager, but you have to wait until they populate in Battery Manager first. This is an alternative method that bypasses the wait time for the data population but takes a little longer to perform as its done on an app-by-app basis individually.

o Battery: Battery saver set to turn on at 25%

o Display: Night Light turned on from 8pm to 8am, Adaptive Brightness off

o Security & Location: Set up Smart Lock (face unlock) and fingerprints (thumbs and indexes, one pinky)

o Accounts: Disable Google Fit, People details, and Play Games sync for all accounts.

o System: Languages & Input>Virtual Keyboard>Android Keyboard>Preferences: Disable vibrate on keypress

o Search for Picture-in-Picture: Disable all

o Search for Notification Access: Allow for Nova Launcher

o Search for Unrestricted data: turn off Google Play Services

o Search for Battery Optimization: Select Not optimized. Only the following should be listed:
• Download Manager, Google Play Services, Messages, Mobile Broadcasts, Naptime, Phone, Servicely, Shell


5) Configure Havoc Settings

o Status Bar: Quick pulldown on right side, Clock in center with seconds (AM/PM Hidden), Battery Style is circle with hidden percentage, Network traffic hidden

o QS: Columns in Portrait set to 4, 8 small tiles, Brightness slider moved to bottom with auto brightness icon shown

o Interface: Background color set to black

o Ambient Display: No changes. New notifications should be the only thing turned on

o Screen: No changes

o Buttons:

 Volume Rockers: Music Control

 Power button:
• Power Menu Advanced Reboot
• Screen off power button torch

 Back Button:
• Long press = Select Application, Applications, Phone
• Double tap = Custom Action, QS Panel

 Home Button:
• Long press = Select Application, Sleep and Hibernate
• Double tap = Select Application, Applications, Camera

These button settings offer a lot of capacitive functions:
• Greenify's auto-hibernation doesn't need to be enabled, long pressing the Home button to shut off the screen offers a convenient manual hibernation
• Double tapping the screen when its off to wake it, and again on the lockscreen to be able to turn the screen off, while being able to lock and unlock the phone using the Home button, and glide typing; effectively allows you to use the phone while its sitting on a desk. No need to pick it up.
• QS Panel can be brought up easier when using the phone with one hand by double clicking back, no need to slide down from the top
• Holding power when the screen is off activates the Torch
• With Torchie installed, clicking both volume buttons at the same when the screen is on activates the torch
• Holding one of the volume buttons at a time when the screen is off changes soundtracks
• Holding back brings up your Dialer


o Navigation Bar: No Changes

o Gestures: Jump to camera turned on, all else off

o Lockscreen:
 Double tap to sleep turned on, media cover art turned off, face auto unlock turned on

 Lockscreen Shortcuts
• Left Shortcut: Launch calculator
• Right Shortcut: New reminder ,Calendar app

o Recents:
 Stock Recents Style: Oreo
 Show Memory Bar

o Notifications:
 Disable FC Notifications

o Weather:
 Weather Service>Cancel>Custom Location>Enter yours
 Lockscreen Weather and Custom Location are my only enabled items, Yahoo set as the weather provider

o Animations: Disable transition animations

o System:
App Ops:
• Need to do. This is a new edition since the 27th version of this ROM


o Device:
 Off screen gestures: Only Proximity check and Tap to wake enabled

o IME Settings: No changes

o Battery Saving: See final section of this guide


o Miscellaneous: No changes


6) Kernel Aduitor Settings

o Enable dark theme in settings, disable data sharing

o CPU
 Big Max Frequency: 1632 MHz
 Big Governor: darkness
 Little Max Frequency: 1036 MHz
 Little Governor: darkness
 Input Boost Frequency Core 1, 2, 3, & 4: Disabled for all
 Touch Boost: Disabled
 Apply on boot

o Thermal
 Enable Intellithermal, disable Core Control
 Apply on boot

o GPU
 Max Frequency: 133 MHz
 Apply on boot



7) Build Prop Settings:

o Disabling Fast Dormancy. Create the following two rules using a Build Prop Editor (can be done in Kernel Aduitor)
 Name: ro.ril.fast.dormancy.rule Value: 0
 Name: ro.fast.dormancy Value: 0



8) Greenify Settings:


o Grant Permission for Smart Hibernation (select allow under Greenify)

o Working Mode = Root + Privileged

o Smart Hibernation = enabled

o Aggressive Doze = enabled
 Done on the Go = enabled

o Always ignore background-free = enabled

o Alternative Screen Off Mode = enabled

o Hit plus sign, show all, and don’t add the following app types to be Greenified:
 Calendar apps, dialer apps, sms apps, Build Prop apps, music players, email apps, Kernel apps, Magisk Manager, Launcher apps, or anything else you want to work while the screen is off.



9) Naptime Settings:


o Turn ads off = enabled
o Aggressive Doze = enabled
o Re-apply Doze after wakeups = enabled
o A persistent notification will now exist for Naptime, so head over to its Notification settings in Settings>Apps and disable Show notifications



10) Servicely:


o Turn ads off
o Turn on main switch at top right
o Turn off Force App Standby
o Switch to middle section, allow permission (select allow under Servicely)
o Force app sleep on same apps in Greenify list plus:
 Calculator, Camera, Files, Gallery, Google Play Store, and Settings
o Disable wakelock permission for social media apps
o Persistent notification for this app as well, same elimination process as before with Naptime



11) Theme Settings (apply Pitchblack theme in substratum)


o Follow the instructions in substratum, pick a Pitchblack theme from the list. Once applied, the entire phone (nearly all apps) will be in black mode with your choice of colour accent.
 Enable dark mode in Messages

o Wallpapers:
 Home screen is Pitch Black wallpaper
 Lock screen is an AMOLED wallpaper


12) Nova Launcher Settings


o Disable Persistent search bar
o Look and Feel>Scroll and Animation speeds>Faster than light
o App & widget drawers>Background>Select black and 100% transparency
o Dock>Dock Background>Select black and 100% transparency

See the additional screenshots I have posted of my home screens and Quicksettings tiles.
• The weather tile is toggleable, so weather will only update when you want it to
• Add Event gives you a quick way to add to your calendar
• Sync gives you more control, allowing you a master switch
• I have three home screens. The one on the left has a Month and Music widget, the center has a daily Schedule widget with common apps, and the one on the right is a Google Keep widget that contains task lists, note, reminders, etc.



13) Havoc Settings Extended - Alarms and Wakelocks



Use the phone as normal for a few days before continuing to this next step. These items won't be listed immediately, they take time to populate.

The items I have listed in this section are taken in combination from the "Extreme Battery Life xda" and "0.0% idle battery drain xda" threads that can be found on Google using those search terms. This portion of the guide that I'm writing, as far as I know, should be the most relevant in terms of managing alarms and wakelocks in Pie.

You should note that the 0.0% thread has the most relevant warnings in terms of what not to limit. Ctrl+f "DANGEROUS" in that thread and you'll find them very easily.

The alarms and wakelocks I have implemented don't break my android experience, but you should know that your blacklist of apps won't be running at all until you open them. This means that you'll save ridiculous amounts of battery life at the expense of immediate notifications. You'll likely have to have an app open for it to function without limits, like being able to only pay with Google Pay when Google Pay is open in the foreground, for example.

My general rule is to limit any processes that have the following terms in their name: facebook, instagram, analytics, location.


• Havoc Settings>Battery Saving>Alarm Blocker

o CONTEXT_MANAGER_ALARM_WAKEUP
o KeepaliveManager.ACTION_BACKUP_ALARM.FBNS.com.instagram.android
o KeepaliveManager.ACTION_BACKUP_ALARM.MqttSimpleClient.com.instagram.android
o KeepaliveManager.ACTION_INEXACT_ALARM.FBNS.com.instagram.android
o KeepaliveManager.ACTION_INEXACT_ALARM.MqttSimpleClient.com.instagram.android
o X. 1p0.ACTION_ALARM.FBNS.com.instagram.android
o X. 1p0.ACTION_ALARM.MqttSimpleClient.com.instagram.android

o android.appwidget.action.APPWIDGET_UPDATE (This will prevent your widgets from updating. My widgets aren't updated very often by nature of their function, and when I do need them to update due to a new entry, I simply delete the widget and reapply it if need be.)

o com.android.internal.telephony.data-reconnect.default
o com.facebook.liblite.mqttnano_android.heartbeat
o com.facebook.liblite.mqttnano_android.mqtt_connect
o com.facebook.rti.fbns.intent.REGISTER_RETRY
o com.google.android.apps.messaging/.shared.analytics.AnalyticsAlarmReceiver
o com.google.android.gms.analytics.ANALYTICS_DISPATCH
o com.google.android.gms.reminders.notification.ACTION_REFRESH_ALIAS_LOCATION_REMINDERS
o com.google.android.gms/.nearby.messages.service.NearbyMessagesService
o com.google.android.gms/com.google.android.contextmanager.service.ContextManagerService
o com.google.android.gms/com.google.android.location.internal.AnalyticsSamplerReceiver
o com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
o com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
o com.google.android.gms/com.google.android.location.places.service.PlaceDetectionAsyncService
o com.google.android.location.ALARM_WAKEUP_ACTIVITY_DETECTION
o com.google.android.location.ALARM_WAKEUP_CACHE_UPDATER
o com.google.android.location.ALARM_WAKEUP_CALIBRATION_COLLECTER
o com.google.android.location.ALARM_WAKEUP_IN_OUT_DOOR_COLLECTOR
o com.google.android.location.ALARM_WAKEUP_LOCATOR
o com.google.android.location.ALARM_WAKEUP_SENSOR_COLLECTOR
o com.google.android.location.ALARM_WAKEUP_SENSOR_UPLOADER
o com.google.android.location.ALARM_WAKEUP_VEHICLE_EXIT_DETECTOR


• Havoc Settings>Battery Saving>Wakelock Blocker

o *job*/com.facebook.mlite/.jobscheduler.LiteJobSchedulerJobSchedulerService
o *job*/com.facebook.mlite/.push.MLitePushCompat.JobService
o *job*/com.facebook.analytics2.logger.LollipopUploadService
o *job*/com.facebook.mlite/com.facebook.pushlite.PushLiteLollipopJobService
o *job*/com.google.android.location.reporting/com.google/[email protected]:android
o *job*/com.instagram.android/com.facebook.browser.lite.BrowserLiteIntentService
o *job*com.instagram.android/com.facebook.fbreact.autoupdater.ighttp.IgHttpUpdateServiceCompat
o *job*/com.instagram.android/com.instagram.arlink.util.ArLinkModelDownloadService
o *job*/com.instagram.android/com.instagram.notifications.push.IgPushRegistrationService
o *job*/com.instagram.android/com.instagram.util.offline.BackgroundWifiPrefetcherJobService
o *net_scheduler*
o *sync*/com.google.android.location.reporting/com.google/[email protected]
o AlarmService#updateNtp
o ConnectivityService
o GCoreFlp
o GnssLocationProvider
o NetworkStats
o NfcService:mRoutingWakeLock
o NlpCollectorWakeLock
o NlpWakelock
o Wakeful StateMachine: GeofencerStateMachine
o WakefulIntentService[GcmReceiverService]
o wake:com.facebook.mlite/com.facebook.pushlite.tokenprovider.gcm.PushLiteGcmListenerService
 
Last edited:

stuntman2128

New member
Feb 9, 2013
22
3
0
Alright guys, here goes my guide on obtaining ULTIMATE BATTERY LIFE on our devices using this ROM.

I've attached two screenshots of my Battery Settings to this post. These were my results using the 09/27 Build, but I've since done a Clean Flash and re-implemented all of the following on the 10/15 Build so that I could account for each change I've made as I made them. Henceforth, the following instructions are done from the perspective of what to change after a clean flash. If I haven't mentioned changing something after doing a Clean Flash, that likely means I left it at default settings when I went through these steps. The possibility that I made a human error also exists in listing out these steps, so I invite questions if someone notices a mistake (so that I can fix them), but please keep the bolded sentence in mind before asking any questions that may already be answered.

NOTE: THESE SETTINGS ARE NOT FOR THE FAINT OF HEART.

Also, this is sort of my first time writing a guide on something, so the formatting is rather rudimentary, but I'll do my best to edit it over time for presentation purposes.

I'm going to cover the following areas:

1) TWRP
2) Initial Boot
3) Install & Uninstall Apps
4) General Settings
5) Havoc Settings
6) Kernel Aduitor Settings
7) Build Prop Settings
8) Greenify Settings
9) Naptime Settings
10) Servicely Settings
11) Theme Settings
12) Nova Launcher Settings
13) Havoc Settings Extended - Alarms and Wakelocks




1) TWRP

• Wipe>Advanced Wipe>Dalvik, Cache, Data, System
• Flashed 5.0.6 Firmware and Modem, Havoc OS ROM, Gapps Nano (Nano selected because I use face unlock), Magisk 17.1
• Reboot System


2) Initial Boot

• Don’t copy device data on initial wizard.
• Google Services Screen
o Turn off all of the following options and proceed forward: Back-up to Google Drive, Free up space, Use location (and thus, Allow scanning), send usage and diagnostic data
• No thanks to Voice Match, Fingerprint added later. Done.


3) Install & Uninstall Apps (This is my baseline for a new clean install, yours may be different)

• Install from Play Store: Messenger Lite, Google Pay, Torchie – Volume Button Torch, Servicely, Banking apps, Naptime, Google Home (for use with Chromecast), Pitchblack Substratum Theme, substratum theme engine, Calendar Widget: Month, Nova Launcher, Kernel Aduitor, Messages (SMS app by Google), Google Keep, VLC, Hangouts Dialer, Hangouts, Gmail, Maps, Chrome, Drive, Netflix, Duolingo, Instagram, Whatsapp, Netflix, Greenify, System app remover (root), Google Calendar, BlackPlayer EX.

• Install Magisk Manager APK and the following modules from Magisk Download Section:
 Greenify4Magisk
 ViPER4Android FX (v2.6.0.x)
 Youtube Vanced black themed (disable auto-update in Play Store for Youtube app after reboot)

o Install following modules from XDA:
 Wifi 2.4GHZ Bonding (jamal2367)
 Dual Speaker Mod + Low In-Call Fix (jaml2367)

• Uninstall the following apps using System App Remover (called Uninstall in drawer)
o System: Google, Messaging (after making Messages default SMS app), Omniswitch (cleaning up app drawer), Pixel Launcher, Wallpapers (cleaning up app drawer)
o Be sure to go to Recycle bin section, select all, and delete; or apps may sometimes auto restore on boot.



Reboot after completing up to this point. System App Remover can now be uninstalled



4) Configure General Settings

o Enable Developer Options>Turn off Window, Transition, and Animator Duration scales

o Wifi Preferences: Turn off both options (turn on wifi automatically and open network notification)

o Connected Devices: Turn off NFC

o Apps & Notifications: See all apps>find and click on app in list>Battery>Background restriction
 Do this for the following apps: Camera, Google Play Store, Android Keyboard, Instagram, Banking apps, Duolingo, Drive, Chrome, Maps, Netflix, Youtube (vanced), Messenger Lite.
 This will affect notifications for these apps while preventing them from running in the background.
 Note: These are the apps that popped up in the Battery section of settings as they consumed a percentage of my power. You can restrict them much easier in Battery Manager, but you have to wait until they populate in Battery Manager first. This is an alternative method that bypasses the wait time for the data population but takes a little longer to perform as its done on an app-by-app basis individually.

o Battery: Battery saver set to turn on at 25%

o Display: Night Light turned on from 8pm to 8am, Adaptive Brightness off

o Security & Location: Set up Smart Lock (face unlock) and fingerprints (thumbs and indexes, one pinky)

o Accounts: Disable Google Fit, People details, and Play Games sync for all accounts.

o System: Languages & Input>Virtual Keyboard>Android Keyboard>Preferences: Disable vibrate on keypress

o Search for Picture-in-Picture: Disable all

o Search for Notification Access: Allow for Nova Launcher

o Search for Unrestricted data: turn off Google Play Services

o Search for Battery Optimization: Select Not optimized. Only the following should be listed:
• Download Manager, Google Play Services, Messages, Mobile Broadcasts, Naptime, Phone, Servicely, Shell


5) Configure Havoc Settings

o Status Bar: Quick pulldown on right side, Clock in center with seconds (AM/PM Hidden), Battery Style is circle with hidden percentage, Network traffic hidden

o QS: Columns in Portrait set to 4, 8 small tiles, Brightness slider moved to bottom with auto brightness icon shown

o Interface: Background color set to black

o Ambient Display: No changes. New notifications should be the only thing turned on

o Screen: No changes

o Buttons:

 Volume Rockers: Music Control

 Power button:
• Power Menu Advanced Reboot
• Screen off power button torch

 Back Button:
• Long press = Select Application, Applications, Phone
• Double tap = Custom Action, QS Panel

 Home Button:
• Long press = Select Application, Sleep and Hibernate
• Double tap = Select Application, Applications, Camera

These button settings offer a lot of capacitive functions:
• Greenify's auto-hibernation doesn't need to be enabled, long pressing the Home button to shut off the screen offers a convenient manual hibernation
• Double tapping the screen when its off to wake it, and again on the lockscreen to be able to turn the screen off, while being able to lock and unlock the phone using the Home button, and glide typing; effectively allows you to use the phone while its sitting on a desk. No need to pick it up.
• QS Panel can be brought up easier when using the phone with one hand by double clicking back, no need to slide down from the top
• Holding power when the screen is off activates the Torch
• With Torchie installed, clicking both volume buttons at the same when the screen is on activates the torch
• Holding one of the volume buttons at a time when the screen is off changes soundtracks
• Holding back brings up your Dialer


o Navigation Bar: No Changes

o Gestures: Jump to camera turned on, all else off

o Lockscreen:
 Double tap to sleep turned on, media cover art turned off, face auto unlock turned on

 Lockscreen Shortcuts
• Left Shortcut: Launch calculator
• Right Shortcut: New reminder ,Calendar app

o Recents:
 Stock Recents Style: Oreo
 Show Memory Bar

o Notifications:
 Disable FC Notifications

o Weather:
 Weather Service>Cancel>Custom Location>Enter yours
 Lockscreen Weather and Custom Location are my only enabled items, Yahoo set as the weather provider

o Animations: Disable transition animations

o System:
App Ops:
• Need to do. This is a new edition since the 27th version of this ROM


o Device:
 Off screen gestures: Only Proximity check and Tap to wake enabled

o IME Settings: No changes

o Battery Saving: See final section of this guide


o Miscellaneous: No changes


6) Kernel Aduitor Settings

o Enable dark theme in settings, disable data sharing

o CPU
 Big Max Frequency: 1632 MHz
 Big Governor: darkness
 Little Max Frequency: 1036 MHz
 Little Governor: darkness
 Input Boost Frequency Core 1, 2, 3, & 4: Disabled for all
 Touch Boost: Disabled
 Apply on boot

o Thermal
 Enable Intellithermal, disable Core Control
 Apply on boot

o GPU
 Max Frequency: 133 MHz
 Apply on boot



7) Build Prop Settings:

o Disabling Fast Dormancy. Create the following two rules using a Build Prop Editor (can be done in Kernel Aduitor)
 Name: ro.ril.fast.dormancy.rule Value: 0
 Name: ro.fast.dormancy Value: 0



8) Greenify Settings:


o Grant Permission for Smart Hibernation (select allow under Greenify)

o Working Mode = Root + Privileged

o Smart Hibernation = enabled

o Aggressive Doze = enabled
 Done on the Go = enabled

o Always ignore background-free = enabled

o Alternative Screen Off Mode = enabled

o Hit plus sign, show all, and don’t add the following app types to be Greenified:
 Calendar apps, dialer apps, sms apps, Build Prop apps, music players, email apps, Kernel apps, Magisk Manager, Launcher apps, or anything else you want to work while the screen is off.



9) Naptime Settings:


o Turn ads off = enabled
o Aggressive Doze = enabled
o Re-apply Doze after wakeups = enabled
o A persistent notification will now exist for Naptime, so head over to its Notification settings in Settings>Apps and disable Show notifications



10) Servicely:


o Turn ads off
o Turn on main switch at top right
o Turn off Force App Standby
o Switch to middle section, allow permission (select allow under Servicely)
o Force app sleep on same apps in Greenify list plus:
 Calculator, Camera, Files, Gallery, Google Play Store, and Settings
o Disable wakelock permission for social media apps
o Persistent notification for this app as well, same elimination process as before with Naptime



11) Theme Settings (apply Pitchblack theme in substratum)


o Follow the instructions in substratum, pick a Pitchblack theme from the list. Once applied, the entire phone (nearly all apps) will be in black mode with your choice of colour accent.
 Enable dark mode in Messages

o Wallpapers:
 Home screen is Pitch Black wallpaper
 Lock screen is an AMOLED wallpaper


12) Nova Launcher Settings


o Disable Persistent search bar
o Look and Feel>Scroll and Animation speeds>Faster than light
o App & widget drawers>Background>Select black and 100% transparency
o Dock>Dock Background>Select black and 100% transparency

See the additional screenshots I have posted of my home screens and Quicksettings tiles.
• The weather tile is toggleable, so weather will only update when you want it to
• Add Event gives you a quick way to add to your calendar
• Sync gives you more control, allowing you a master switch
• I have three home screens. The one on the left has a Month and Music widget, the center has a daily Schedule widget with common apps, and the one on the right is a Google Keep widget that contains task lists, note, reminders, etc.



13) Havoc Settings Extended - Alarms and Wakelocks



Use the phone as normal for a few days before continuing to this next step. These items won't be listed immediately, they take time to populate.

The items I have listed in this section are taken in combination from the "Extreme Battery Life xda" and "0.0% idle battery drain xda" threads that can be found on Google using those search terms. This portion of the guide that I'm writing, as far as I know, should be the most relevant in terms of managing alarms and wakelocks in Pie.

You should note that the 0.0% thread has the most relevant warnings in terms of what not to limit. Ctrl+f "DANGEROUS" in that thread and you'll find them very easily.

The alarms and wakelocks I have implemented don't break my android experience, but you should know that your blacklist of apps won't be running at all until you open them. This means that you'll save ridiculous amounts of battery life at the expense of immediate notifications. You'll likely have to have an app open for it to function without limits, like being able to only pay with Google Pay when Google Pay is open in the foreground, for example.

My general rule is to limit any processes that have the following terms in their name: facebook, instagram, analytics, location.


• Havoc Settings>Battery Saving>Alarm Blocker

o CONTEXT_MANAGER_ALARM_WAKEUP
o KeepaliveManager.ACTION_BACKUP_ALARM.FBNS.com.instagram.android
o KeepaliveManager.ACTION_BACKUP_ALARM.MqttSimpleClient.com.instagram.android
o KeepaliveManager.ACTION_INEXACT_ALARM.FBNS.com.instagram.android
o KeepaliveManager.ACTION_INEXACT_ALARM.MqttSimpleClient.com.instagram.android
o X. 1p0.ACTION_ALARM.FBNS.com.instagram.android
o X. 1p0.ACTION_ALARM.MqttSimpleClient.com.instagram.android

o android.appwidget.action.APPWIDGET_UPDATE (This will prevent your widgets from updating. My widgets aren't updated very often by nature of their function, and when I do need them to update due to a new entry, I simply delete the widget and reapply it if need be.)

o com.android.internal.telephony.data-reconnect.default
o com.facebook.liblite.mqttnano_android.heartbeat
o com.facebook.liblite.mqttnano_android.mqtt_connect
o com.facebook.rti.fbns.intent.REGISTER_RETRY
o com.google.android.apps.messaging/.shared.analytics.AnalyticsAlarmReceiver
o com.google.android.gms.analytics.ANALYTICS_DISPATCH
o com.google.android.gms.reminders.notification.ACTION_REFRESH_ALIAS_LOCATION_REMINDERS
o com.google.android.gms/.nearby.messages.service.NearbyMessagesService
o com.google.android.gms/com.google.android.contextmanager.service.ContextManagerService
o com.google.android.gms/com.google.android.location.internal.AnalyticsSamplerReceiver
o com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
o com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
o com.google.android.gms/com.google.android.location.places.service.PlaceDetectionAsyncService
o com.google.android.location.ALARM_WAKEUP_ACTIVITY_DETECTION
o com.google.android.location.ALARM_WAKEUP_CACHE_UPDATER
o com.google.android.location.ALARM_WAKEUP_CALIBRATION_COLLECTER
o com.google.android.location.ALARM_WAKEUP_IN_OUT_DOOR_COLLECTOR
o com.google.android.location.ALARM_WAKEUP_LOCATOR
o com.google.android.location.ALARM_WAKEUP_SENSOR_COLLECTOR
o com.google.android.location.ALARM_WAKEUP_SENSOR_UPLOADER
o com.google.android.location.ALARM_WAKEUP_VEHICLE_EXIT_DETECTOR


• Havoc Settings>Battery Saving>Wakelock Blocker

o *job*/com.facebook.mlite/.jobscheduler.LiteJobSchedulerJobSchedulerService
o *job*/com.facebook.mlite/.push.MLitePushCompat.JobService
o *job*/com.facebook.analytics2.logger.LollipopUploadService
o *job*/com.facebook.mlite/com.facebook.pushlite.PushLiteLollipopJobService
o *job*/com.google.android.location.reporting/com.google/[email protected]:android
o *job*/com.instagram.android/com.facebook.browser.lite.BrowserLiteIntentService
o *job*com.instagram.android/com.facebook.fbreact.autoupdater.ighttp.IgHttpUpdateServiceCompat
o *job*/com.instagram.android/com.instagram.arlink.util.ArLinkModelDownloadService
o *job*/com.instagram.android/com.instagram.notifications.push.IgPushRegistrationService
o *job*/com.instagram.android/com.instagram.util.offline.BackgroundWifiPrefetcherJobService
o *net_scheduler*
o *sync*/com.google.android.location.reporting/com.google/[email protected]
o AlarmService#updateNtp
o ConnectivityService
o GCoreFlp
o GnssLocationProvider
o NetworkStats
o NfcService:mRoutingWakeLock
o NlpCollectorWakeLock
o NlpWakelock
o Wakeful StateMachine: GeofencerStateMachine
o WakefulIntentService[GcmReceiverService]
o wake:com.facebook.mlite/com.facebook.pushlite.tokenprovider.gcm.PushLiteGcmListenerService
you did all that to barely get 4 hours of SOT? The biggest problem that I have (and seems like you have too from the battery graph) is idle drain. no matter what i try to do my idle drain is always around 3% which is crazy bad. seems like you have idle drain too since i see no straight horizontal lines in the graph. My battery dies within afternoon because of the drain and i have no idea what to do :(

EDIT: attached some pics of BBS if anyone cares to help





 
Last edited:
  • Like
Reactions: killerdude

Pbotelho

New member
Mar 4, 2016
41
85
0
you did all that to barely get 4 hours of SOT? The biggest problem that I have (and seems like you have too from the battery graph) is idle drain. no matter what i try to do my idle drain is always around 3% which is crazy bad. seems like you have idle drain too since i see no straight horizontal lines in the graph. My battery dies within afternoon because of the drain and i have no idea what to do :(

EDIT: attached some pics of BBS if anyone cares to help





I got 4 hours of SOT after 41 hours of being unplugged. You can go through my previous posts on this thread to see my other results. 8 hours of SOT gave me about 35 hours of unplugged time, 6 hours of SOT gave about 39 hours of unplugged time (more or less, check my previous screenshots in those posts).

Considering that my phone lasts 35-42 hours after being unplugged from a full charge, I would say that my idle drain isn't that bad. Check the graphs in my previous posts for some reassurance.

I'll post new graphs with the latest build of this ROM that I just installed and configured yesterday once I have them.
 

stuntman2128

New member
Feb 9, 2013
22
3
0
I got 4 hours of SOT after 41 hours of being unplugged. You can go through my previous posts on this thread to see my other results. 8 hours of SOT gave me about 35 hours of unplugged time, 6 hours of SOT gave about 39 hours of unplugged time (more or less, check my previous screenshots in those posts).

Considering that my phone lasts 35-42 hours after being unplugged from a full charge, I would say that my idle drain isn't that bad. Check the graphs in my previous posts for some reassurance.

I'll post new graphs with the latest build of this ROM that I just installed and configured yesterday once I have them.
ahhh ok my bad i'll go ahead and give this a try
 

Pbotelho

New member
Mar 4, 2016
41
85
0
ahhh ok my bad i'll go ahead and give this a try
Let me know how it goes. Disabling fast dormancy seems to get rid of that idle drain you're talking about. I spoke of it in a previous post, but basically, I noticed that the Little cluster wasn't going into a Deep Sleep state as it should have been. This issue with CPU states was resolved after disabling fast dormancy and idle drain was significantly minimized.

I went to sleep last night with 72% battery life, left wifi on as I normally do, and woke up in the morning with 69% remaining.
 
  • Like
Reactions: iAmWiz and DKett

Blamz

New member
Sep 3, 2017
62
14
0
23
Lisboa
Is there any way that I can for example change the kernel auditor settings to default if I want to game and them put them again without doing it all again?
 

topet2k12001

New member
Apr 22, 2013
588
593
0
Metro Manila
Is there any way that I can for example change the kernel auditor settings to default if I want to game and them put them again without doing it all again?
Hello,

I believe so, though I haven't tried since I don't game on my phone. Go to "Tools" and then find "User Settings." I think that's where you can "create" your own "profiles" that you can switch between as per your needs.

---------- Post added at 11:53 AM ---------- Previous post was at 11:26 AM ----------

5. This error usually appears when opening full-screen applications. The workaround is to just open something in full screen and close.
—————————
Hey, guys, am I the only one with a lagging interface? Especially noticeable when you hide the notification bar. Fell back to 02.10.2018, everything here smoothly.
(I made full wipes and don't use any mods)
I'm having doubts to perform another clean flash. Too many reports of low gaming performance, lags and what not. Will wait for another update and maybe this time the performance eating bug has been squashed. Nevertheless thanks for the update
The lagging is due to tweaked interactive to save some juice, install EX KERNEL and change the current governor profile with default profile from build 10/10.
I'm really happy with 05-10 release

Interactive gov on both big and little .
No stutter
Dark theme for google now page in launcher not working..
Tried different launchers
Lawnchair
Lawnchair v2
Lean launcher
Ruthless
No luck.....

Also ruthless launcher is lagging....
Any suggestions to get back the dark google now feed? It was working on 02-10 build

---------- Post added at 03:34 AM ---------- Previous post was at 03:22 AM ----------

New build has introduced to stutterness... And phone is heating up on normal use....
I did a clean flash... It should not have happened
Try caesium or try cpu little gov to alucard and big to darkness.
Wich profile is that? I noticed the lagging too.
It's Alucard as you can see here
https://m.imgur.com/wWePrVx
Much better again. Little cluster didn't make any difference here. Only big cluster.
It's fine for a while, but later it's time for lag. I think you have to wait for the update.
Also here too much lag
Hello,

Just consolidating the recent posts relating to October 16th build so that readers can easily find the solution.

Basically, as per one of the comments above, change the CPU governor. :)

In my case, I changed both clusters (Big, and Small) to Alucard. I don't know if it has benefits or if I should just be leaving one of the clusters on default "Interactive" but I guess the CPU governor you choose will also depend on how you use your device.

Explanation/Reference/Guide on CPU Governors here (not mine): https://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
 
  • Like
Reactions: Pbotelho and Sam998
Our Apps
Get our official app! (coming soon)
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone