[MAGISK][MOD+APP] ButterLimits for OOS 11/OB ~ [Its always buttery but never compromises with battery] - OnePlus 7T Pro (Reg. & McLaren) Themes, Apps, Mods

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ButterLimits​ButterLimits - Its A Magisk Module with many features that some you can see and some you can only feel by your device usage.
Its A Magisk ROM or Magisk MOD, we can call it anything. But, I am just releasing it in MOD section because I think its a right place for it because Full ROM is a complete ROM with all system files [Big size] and a small part with custom settings and patches or with some apk files can only be mod or a theme.​Why its name is ButterLimits?​Many of you already heard "ButterSmooth" in Android Developing, but why?, Because of its smooth functions, smooth touch responses and fast working device.
But many times ButterSmooth experience can eat a lot of battery that our device not supposed to. So, when we add some limits to it for a perfect balance between performance and battery backup.....
Then here comes A ButterLimits for OOS11 Stable/OpenBeta​Features:​-UI Tweaks-​Blur effect in background when pull down notification panel and in some more places.
-------​-Basic Level tweaks-​RAM Tweak
Faster Boot tweak (Not noticeable)
Improved Audio/Video Recording Tweaks
Improved Gaming Tweaks
Improved Signal Tweaks
Internet Speed Tweaks
Makes Streaming videos Stream Faster Tweak
Graphics Enhancement Tweaks
Scroll and Touch Responsive Teak
Disabled some background logging and data sending
Small Power Saving Tweaks
Dialing/Calling fast Tweaks
Some Dalvik Tweaks
-------​-System-Level Tweaks-​Filesystem Mount Tweak
Optimized Media Servers and GMS to save battery
UGMS Doze to save battery
Extra GMS Doze
GMS Blocker
Some more Doze Tweaks for better battery backup
Disabled some Google Wakelocks (Will not harm anything) - will give just better battery backup
-------​-Kernel and CPU Level Tweaks-​Customized CPU Active Settings for different situations
Some CPU Frequency Tweaks
Forcibly switched off some kernel logging
Some Optimization Tweaks for Improved userspace experience
Small Entropy Tweaks for a good balance between performance and battery
Some kernel tweaks to remove wasted CPU cycles
Disabled some kernel Console
Optimized CPU bandwidth
Some more CPU level Miscellaneous Tweaks
Some kernel-level network Tweaks to reduce battery eating
Virtual memory Tweaks for a good balance between performance and battery
Turned off some kernel debuggers to improve performance and battery life
Disabled Debugging logs to reduce power usage
Disabled GPU Frequency-based throttling
Kernel level tweak for better Idle Battery Life
Some more kernel-level Miscellaneous Tweaks
Some kernel-level Dalvik Cache Tweak
Some kernel-level Deep Sleep Tweak
Some non-useful ****s Removed (Cycles timely)
fstrim Tweak
-------
ZRAM Tweaks
-------​Now ButterLimits comes with 3 modes and The ButterLimits App​Details in 3rd Post - Please read that
-------​Requirements to use ButterLimits:​-Device in a working state with Latest Magisk at its place
- OnePlus 7P/7TP/7/7T with OOS 11 Stable/openBeta
-I am recommending not to use the same mode to Branded Phones and devices comes with EU versions.
Many EU and Branded smartphone user's mentioned serious issues after installing this mod. Even after Uninstall.
-------​-Flash Instructions-​- Download Latest ButterLimits
- Do not flash just after rom install. Make sure your device is already have working magisk and Phone is fully settled when installed new/updated rom
- Flash ButterLimits in Magisk Manager only and reboot
- After boot when your device is on lockscreen or homescreen, please wait for atleast 2 minutes to make all processes done.
-------​-Uninstall-​You should Uninstall it with ButterLimits App only
-------​CREDITS:​A BIG THANK YOU to A Developer @topjohnwu - the founder of Magisk.
Magisk is like A God to all Android Modding world right now and the main features is System-Less (It defines itself). On the other side it comes with a lot of features...
@fOmey
@iglitch
@ lAlKenDi
@gloeyisk
@Chainfire
@Zackptg5
@osm0sis
All member of Team- Magisk and more...
If you Like my works or like ButterLimits
- You can donate me by buy me a coffee of your choice
Or
- You can Donate me here - Playstore Link
​

Downloads-​
Before Download please remember some points below:
Developer of ButterLimits will not be responsible for any harm to your device
ButterLimits is not developed to harm any device, but to give your device better
Precautions are in your hands.
Click to expand...
Click to collapse
1. ButterLimits is heavily based on Stock Kernel
2. Some VM Tweaks may or may not conflict while using any custom kernel (can or cannot create some issues)
3. ButterLimits on each boot force kernel to use Schedutil Governor.
4. ButterLimits uses CPU/Governor Tweaks for and on Schedutil Governor only.
5. If you change settings from any kernel tweaking app or just change governor, Then assume it that many CPU/Kernel Tweaks (from ButterLimits) are not in use anymore and conflicting.
6. With ButterLimits, If you use any other mod also that contains Kernel/CPU/GPU tweaks that can heavily create issues.
7. ButterLimits Does it's best with Stock Kernel when it's alone.
8. But obviously you can try ButterLimits with different kernels. (But in that can if you get some issues, it will be difficult or impossible for me to solve it)
9. If you have any sound mode then I recommend trying ButterLimits without any sound mod first to experience actual ButterLimits Sound Enhancement, And then later you can do experiments with other mods.
Conclusion:
Don't expect any support if you are on a custom kernel or sound mod.
However, I may help if possible but don't expect it.
But you can get help from other users in a thread.
Click to expand...
Click to collapse
ButterLimits for OOS 11 Universal​> You can get latest updates from here <
For any OOS 11 version Stable and OpenBeta

Changelogs-​
> Changelogs and everything you can find here <​

Thanks! I am happy for u Works very well for now (last 2 hours) on OOS 11.0.1.1

Maybe manual turn off blur effect in background when pull down notification panel in the future?

Shyciii said:
Maybe manual turn off blur effect in background when pull down notification panel in the future?
Click to expand...
Click to collapse
Check in Developer settings
Enable Blurs, you can turn that off/on.
Remember: That option can be seen if you have ButterLimits, when you remove ButterLimits that option will also disappear.
Regards
Mohitash

Can I use a custom kernel with the Magisk Mod, or would it just ruin it instead?

Mohitash said:
Check in Developer settings
Enable Blurs, you can turn that off/on.
Remember: That option can be seen if you have ButterLimits, when you remove ButterLimits that option will also disappear.
Regards
Mohitash
Click to expand...
Click to collapse
Ohh, I see, thank u

I Have other sound mods, any ideas about how to turn off any sound tweaks?

Testing

Can I use this I debloat Dolby installed Dolby full equalizer APK and using kirisakura Kernel?

[email protected] said:
Can I use this I debloat Dolby installed Dolby full equalizer APK and using kirisakura Kernel?
Click to expand...
Click to collapse
Sure. Please check my latest post down there.
Regards

OmarKhalifa said:
I Have other sound mods, any ideas about how to turn off any sound tweaks?
Click to expand...
Click to collapse
Other sound mods like??

Friends,
You can get latest updates from OnePlus 7 Pro Forum. It works same on 7T Pro and 7 Pro. There latest version is v3.8
From v3.8, ButterLimits should work for 7T Pro and 7 Pro same.
You can get latest updates from OnePlus 7 Pro Forum.
[MAGISK][MOD+APP] Butters Extended v11.0.0 Final | For OP7Pro/7TPro OOS11 Experimental for Non-Pro Devices
Further Development for this project is stopped as it got expanded to a new mod here- Oxygen Expansions - OxyMods+ Supports all OnePlus 7 Series Please use this new version instead of ButtersExtended It's A Magisk Module with many features that...
forum.xda-developers.com
If you have v3.6 for 7T Pro already installed, please disable and remove it first.
Regards
Mohitash

New update...​v4.0​Performance
-Optimized touch UI tweaks - improves smoothness in systemUI
-Optimized Apps' Launch
-Optimized Database data
Battery
-Some Battery optimizations
Net
-Optimized Net Buffer Tweaks
Sound
-Optimized incall volume boost
-Introducing Dolby Bass+ v3 with ButterLimits v4.0
-Enhanced by Sony Sound
-Optimized Noise Cancellation in Headphones
Other
-Now Tweaks will run every 24 hours automatically
-On each reboot also Tweaks will run and then every 24 hours.
Some RECOMMENDATION with this update: ​If you have any sound mode then I recommend trying ButterLimits without any sound mod first to experience actual ButterLimits Sound Enhancement, And then later you can do experiments with other mods.
Regards
Mohitash

v5.0 is Out​
Changelogs-​
v.5.0​-Now comes with ButterLimits App - Details can be found in this post and on first-page third post.
-New Battery Mode, now ButterLimits have 3 mods - ButterLimits/Extreme/Battery
-Optimized More Power to Extreme Mode
-Many options available for a user to select
-Added custom Fingerprint Animations that can be used with Substratum Theme Manager
-Fixed many unstable things withing script
-Fixed MIC/Sound/Voice Issues
-Fixed many many things
-Mod can be uninstalled completely with ButterLimits App.
ButterLimits App​
With ButterLimits App, you have some options to test with according to user's need
ButterLimits App only works with an Internet Connection. This will not use any noticeable data.
What does it do with Internet Connection?- Scripts included in App are server-based, so updating the script will fetch the selected option's latest script that is available on the server.
Without Internet Connect, app will not work.
There are 3 steps that a user has to follow-
1. Select - User has to select what he/she wants
2. Update - The user needs to update the latest script from this option
3. Run - User needs to Run this to complete the process, device will reboot after completion.
Available Options and Details:
1-ButterLimits (original) (balanced) - This option will change the script back to the normal/balanced mod that ButterLimits comes with. This will not interfere with any Sound Mod changes.
2 BLBattery Mode - This will give the best battery backup from ButterLimits on the account of some performance. This will not interfere with any Sound Mod changes.
3. BLExtreme Mode - This give you the best Performance/Smooth UI from ButterLimits on the account of some battery backup. This will not interfere with any Sound Mod changes.
4. Remove Enhanced Sound - This will remove sound mode from ButterLimits
5. ReApply Enhanced Sound - This will re-install the sound mod that comes with ButterLimits.
6. Install Custom FP Animations - This will install Custom Fingerprint Animations Substratum Theme packaged by ButterLimits developer, that can be used with Substratum Theme Manager.
7. Remove Complete Doze by ButterLimits - This will remove all Doze tweaks that come with ButterLimits, ButterLimits comes with a lot of Doze work other than just UGMS Doze.
[IMPORTANT- If you have removed the complete doze already then don't run it again otherwise this will remove maximum tweaks from the script and your device can behave as not expected. You can only run this again after reverting all changes from the 8th option]
8. Revert All Changes - This reverts all changes you have made and you will be back on original ButterLimits with everything that comes with ButterLimits by default.
9. Uninstall ButterLimits completely - This will Remove ButterLimits from your device completely including log files.
NOTE: If you have done any changes and need to check or verify what changes you have made since installed, then you can find a file "YourBLchanges.log" in your phone's internal storage.
Click to expand...
Click to collapse
​The same info can be found on first page in third post​
Regards
Mohitash

I'm on OnePlus 7t Pro McLaren edition, oos 11 open beta 5. When I have butterlimits installed my settings app stops working, it simply crashes on launch. Is this a known bug / is there a fix?

Lare354 said:
I'm on OnePlus 7t Pro McLaren edition, oos 11 open beta 5. When I have butterlimits installed my settings app stops working, it simply crashes on launch. Is this a known bug / is there a fix?
Click to expand...
Click to collapse
Any 7t Pro user doesn't mentioned this issue yet and for McLaren edition, it's not officially released in McLaren section, so no idea for McLaren edition.
You are the one who is coming with a feedback for McLaren Edition.
Regards
Mohitash

Mohitash said:
View attachment 5323995
ButterLimits​ButterLimits - Its A Magisk Module with many features that some you can see and some you can only feel by your device usage.
Its A Magisk ROM or Magisk MOD, we can call it anything. But, I am just releasing it in MOD section because I think its a right place for it because Full ROM is a complete ROM with all system files [Big size] and a small part with custom settings and patches or with some apk files can only be mod or a theme.​Why its name is ButterLimits?​Many of you already heard "ButterSmooth" in Android Developing, but why?, Because of its smooth functions, smooth touch responses and fast working device.
But many times ButterSmooth experience can eat a lot of battery that our device not supposed to. So, when we add some limits to it for a perfect balance between performance and battery backup.....
Then here comes A ButterLimits for OOS11 Stable/OpenBeta​Features:​-UI Tweaks-​Blur effect in background when pull down notification panel and in some more places.
View attachment 5323997
-------​-Basic Level tweaks-​RAM Tweak
Faster Boot tweak (Not noticeable)
Improved Audio/Video Recording Tweaks
Improved Gaming Tweaks
Improved Signal Tweaks
Internet Speed Tweaks
Makes Streaming videos Stream Faster Tweak
Graphics Enhancement Tweaks
Scroll and Touch Responsive Teak
Disabled some background logging and data sending
Small Power Saving Tweaks
Dialing/Calling fast Tweaks
Some Dalvik Tweaks
-------​-System-Level Tweaks-​Filesystem Mount Tweak
Optimized Media Servers and GMS to save battery
UGMS Doze to save battery
Extra GMS Doze
GMS Blocker
Some more Doze Tweaks for better battery backup
Disabled some Google Wakelocks (Will not harm anything) - will give just better battery backup
-------​-Kernel and CPU Level Tweaks-​Customized CPU Active Settings for different situations
Some CPU Frequency Tweaks
Forcibly switched off some kernel logging
Some Optimization Tweaks for Improved userspace experience
Small Entropy Tweaks for a good balance between performance and battery
Some kernel tweaks to remove wasted CPU cycles
Disabled some kernel Console
Optimized CPU bandwidth
Some more CPU level Miscellaneous Tweaks
Some kernel-level network Tweaks to reduce battery eating
Virtual memory Tweaks for a good balance between performance and battery
Turned off some kernel debuggers to improve performance and battery life
Disabled Debugging logs to reduce power usage
Disabled GPU Frequency-based throttling
Kernel level tweak for better Idle Battery Life
Some more kernel-level Miscellaneous Tweaks
Some kernel-level Dalvik Cache Tweak
Some kernel-level Deep Sleep Tweak
Some non-useful ****s Removed (Cycles timely)
fstrim Tweak
-------
ZRAM Tweaks
-------​Now ButterLimits comes with 3 modes and The ButterLimits App​Details in 3rd Post - Please read that
-------​Requirements to use ButterLimits:​-Device in a working state with Latest Magisk at its place
- OnePlus 7P/7TP/7/7T with OOS 11 Stable/openBeta
-I am recommending not to use the same mode to Branded Phones and devices comes with EU versions.
Many EU and Branded smartphone user's mentioned serious issues after installing this mod. Even after Uninstall.
-------​-Flash Instructions-​- Download Latest ButterLimits
- Do not flash just after rom install. Make sure your device is already have working magisk and Phone is fully settled when installed new/updated rom
- Flash ButterLimits in Magisk Manager only and reboot
- After boot when your device is on lockscreen or homescreen, please wait for atleast 2 minutes to make all processes done.
-------​-Uninstall-​You should Uninstall it with ButterLimits App only
-------​CREDITS:​A BIG THANK YOU to A Developer @topjohnwu - the founder of Magisk.
Magisk is like A God to all Android Modding world right now and the main features is System-Less (It defines itself). On the other side it comes with a lot of features...
@fOmey
@iglitch
@ lAlKenDi
@gloeyisk
@Chainfire
@Zackptg5
@osm0sis
All member of Team- Magisk and more...
If you Like my works or like ButterLimits
- You can donate me by buy me a coffee of your choice
Or
- You can Donate me here - Playstore Link
​
Click to expand...
Click to collapse
Hello will there be a Butter Limits build for EU phones in the future? I own a OnePlus 7T Pro HD1910 non branded but is EU I would like to use your build. Thanks

Related

[rom][6.0.1] aokp mm [jfltetmo][unofficial]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To God be the glory, my AOKP project finally works!
This is not a dirty unicorn. This is the original unicorn, the AOKP. Now made out of a marshmallow! That's right, all of the AOKP stuff you love, plus CyanogenMod's theme engine, plus Paranoid Android's Pie, and more! All wrapped up into one! With tons of settings from status bar tweaks to home button remaps, it's all here and ready to rumble!
**** This is an UNOFFICIAL ROM. Install at your own risk! ****
Downloads:
Rom Download link:
http://www.mediafire.com/download/y669np9yxsahxdn/aokp-jf-mm-20160913.zip
Gapps link:
http://opengapps.org/
-Which I personally tested Pico and Nano. Be sure to choose "Arm" and "6.0".
Old Rom Download:
http://www.mediafire.com/download/2g225ob9ga5a34b/aokp-jf-mm-20160830.zip
This Rom has been very stable for me. Be sure to follow these installation steps very carefully, as they may be different then what you are used to.
Installation instructions:
-Download ROM and gapps, and put them on your phone or external storage.
-Reboot into recovery mode - TWRP (I personally installed this using 3.0.2-0).
-Backup what you had. (Just to be safe.)
-Wipe. (I personally wipe everything prior to flashing new roms, but at least do the basic wipe.)
-Install Rom.
-Wipe Cache and Davlik.
-Install Gapps. - Optional
-Reboot to system and enjoy!
Code:
What works:
So far everything that I have tried works, such as
- Camera for pictures and video!
- Phone calls/receiving
- Data 2g/3g/LTE
- Bluetooth
- WiFi -First boot WiFi does not work, but reboot and it will work just fine after that.
- MTP
- GPS
etc....
What doesn't:
- None that I know of, but if you find one, please let me know so we can try to fix it!
- Post #2 will be updated with notes.
This AOKP MM ROM was built for the JFLTETMO, the T-Mobile Samsung Galaxy S 4. I have not tried this on any other device, but you are welcome to try it AT YOUR OWN RISK. See post #3 for successful tests on other devices.
A huge thanks to the Android Open Kang Project team!
Disclaimer: AOKP is not responsible for any damages to your device.
All of my work is completely available for any who wish to use or modify it. I didn't make AOKP, the device trees, or vendor blobs. I simply used and edited existing material. A huge thanks should go to those who actually created this stuff.
AOKP XDA Forum: http://forum.xda-developers.com/aokp
Source Code: https://github.com/AOKP
Official website: http://aokp.co/
ROM OS Version: 6.0.1 Marshmallow
ROM Kernel: Linux 3.4.112
Based On: Overall AOSP and some CyanogenMod.
My device tree: https://github.com/alaskalinuxuser/
Features the AKLU kernel:
http://forum.xda-developers.com/gal.../kernel-marshmallow-lollipop-kernels-t3411543
Created 2016-06-03
Last Updated 2016-12-20
Change log:
Code:
20160913
-Now built with openjdk-8-jdk - Java 8!
-Sync with AOKP source.
-Security patch updates to September 6th, 2016.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160830
-Now built with openjdk-8-jdk - Java 8!
-Sync with AOKP source.
-Old school boot animation from the AOKP team.
-Updated AudioFX app.
-Security patch updates to August 5th, 2016.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160801
-Sync with AOKP source
-Security patch updates to July 5th, 2016. - Important Qualcomm security updates for our phone.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160720
-Added GPU Overclock - use with Kernel Adiutor
-Edited updater script so that it may be flashed on any JFLTE phone.
20160718
-Set SELinux to permissive.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160716
-Fixed video recording, now works properly! (Praise God!)
-Dropped Android browser and added CM13's Gello browser.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160710
-Synced with AOKP source
-PA Pie added!
-Lots of great updates and fixes!
-Removed NFCPU in favor of Kernel Adiutor app
-Edited updater script so that it may be flashed on any JFLTE phone.
20160707
-Added Kernel Adiutor app
-Added Fast Charge commits to the kernel.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160623:
-Added Lionheart and Smartmax kernel governors
-First boot WiFi does not work, but reboot and it will work just fine after that.
20160619:
-Synced with AOKP source
-Edited default background
-Added "No Frills CPU" app to build
-Fixed mGerrit app
20160603:
-First build release.
Here are some screenshots:
Let me know what you guys think!
Noteworthy features:
Code:
-CyanogenMod Theme Engine (CMTE)
-Kernel Aduitor App
-Rom Control
+ Wakelock blocker
+ Slim Recents
+ PA Pie
+ Lockscreen DT2S
+ Status Bar AOKP logo
+ Breathing missed calls
+ Status Bar icon control
+ Status Bar network traffic
+ Smart Pulldown
+ Hardware key settings
+ Power menu screenshots and screen record
+ Volume step adjustments
+ Gesture Anywhere
+ Toast Animations changer
+ App Circle Bar
And more!
I highly recommend setting your LCD density to 320 to get the most from this screen.
Bluetooth work around:
Okay, so I finally got a cheap Bluetooth speaker so I could better understand the Bluetooth problems, and I too received the call of death.
However, I realized what darazor has been trying to tell everyone all along, and now I want to expound on that to help others.
When using Bluetooth, if you pair with an audio device (speakers, car, headset, etc.) And you have not adjusted any settings, the default for each audio device is phone and media. This will cause the COD if you get a phone call while playing music or other media.
So, if you want to use Bluetooth devices to play music:
Go to settings, Bluetooth, and click on the gear (settings) icon next to your paired speakers, and choose media, and unchecked phone. (See picture.) Now, when playing music, my phone vibrates and the screen comes on to tell me I have a call. Then, I can answer it, and the music stops. All is well.
If you want to use your hands free headset, choose phone and unchecked media. (See picture for reference.) And it should work for calls.
I now understand what everyone was talking about, and will do my best to look into it. Thanks @darazor for pointing this out, hopefully this lengthy explanation makes it clearer.
Governors:
Code:
If you want to save battery life, I recommend that you use the Kernel Aduitor app, and set your Governor to SmartMax, and your I/O scheduler to Noop. This may affect performance slightly, but will save on some battery power.
If you want to increase performance, I recommend that you use the Kernel Aduitor app, and set your Governor to Lionheart, and your I/O scheduler to CFQ. This will boost performance slightly, but will have a negative impact on battery power.
The governor is currently set to Interactive, which is a good balance.
Fast Charge:
To use Fast Charge, you must enable it in the Kernel Adiutor app. If you want to set custom settings, you will need to get another app from the Play Store, such as Device Manager or other apps that allow you to control the fast charge settings. Note that some fast charge settings apps do not change the appropriate values to function. The lockscreen may still say "slow charge" as the rom itself does not natively support fast charge, even though the kernel does.
Thanks @khaoticking for sharing that this rom works on jflteaio!
Thanks @alesu69 for sharing that this rom works on jfltexx (i9505)!
Thanks @darazor for testing and finding that Xposed modules work on this rom!
Standard bluetooth issues?
.
Thanks for the hard work!!
Sent from my SGH-M919V using XDA-Developers mobile app
always cool to have more ROMs for our phones! Many thanks, and yes also wondering about BT stability.
kazzxtrismus said:
Standard bluetooth issues?
.
Thanks for the hard work!!
Sent from my SGH-M919V using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks.
As for the Bluetooth, I do not have any devices to test with, so I test it by sending and receiving a file to and from someone else's phone, which works great. However, I would think the standard Marshmallow Bluetooth issues would apply here as well.
I took the base of the device tree from the SlimLP build, in which the Bluetooth was great, but I had to use vendor blobs from Marshmallow ROMs to make it work, so it will probably have the same Bluetooth issues as the other CM Marshmallow ROMs.
Sent from my SGH-M919 using XDA-Developers mobile app
EDIT: The Bluetooth does work, but you need to adjust a setting. For working Bluetooth see post #3 "Bluetooth Workaround".
For what it is worth, here was the benchmark result:
Not bad, but not as good as the benchmark from the SlimLP ROM.
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
For what it is worth, here was the benchmark result:
Not bad, but not as good as the benchmark from the SlimLP ROM.
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I found your marks to be pretty accurate even with AdAway, Task Killer, lookout and nova launcher running I got just under 39900.
darazor said:
I found your marks to be pretty accurate even with AdAway, Task Killer, lookout and nova launcher running I got just under 39900.
Click to expand...
Click to collapse
Thanks, I am glad that the ROM is measuring up!
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
Thanks, I am glad that the ROM is measuring up!
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I can report that Bluetooth seems to work fine. Connected to my Garmin Nuvi and was able to make calls from same. While not a definitive test it is very promising.
Great Rom
So far in a week of using this rom, it works pretty damn good. very stable only a couple of issues...
Contacts list disappears randomly.
Takes about 2 -3 minutes to reboot.
Waze app force closes.
The bluetooth works without problems.
Overall, I'm pretty happy with the results.
cirrus97 said:
So far in a week of using this rom, it works pretty damn good. very stable only a couple of issues...
Contacts list disappears randomly.
Takes about 2 -3 minutes to reboot.
Waze app force closes.
The bluetooth works without problems.
Overall, I'm pretty happy with the results.
Click to expand...
Click to collapse
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I have not encountered this either. Using open gapps nano date 20160604. Contacts version 6.0.1
Bluetooth issues slightly
(works great but may experience a Sim disconnected, Bluetooth share stops responding and some other issues that dont effect to much)
Bluetooth audio / call works tested both on speaker and car
Have not used default music app
Notice that audio effects makes the audio alot lower (bluetooth)
Battery life is great compared to last rom I was running just ate all my battery in a hour with screen off
Superuser enabled/disabled for quick settings (for those who use snapchat an ect)
------------
Just some ideas about status bar/notification center
Anyone want a challenge? Notification drawer quick settings (make it like Samsung quick settings which is a single row with scroll)
Wish they made different notification drawers would be a lot nicer then current. Or at least a way to replace parts. Or even a horizontal status bar/notifications.
Hi
I'm new to relatively new xda. I have tried this custom rom on my s4 m919 and it works great. The only problem i have is that my battery dies really fast, Any suggestions or kernels that i can try?
Thanks
djrddragon said:
Hi
I'm new to relatively new xda. I have tried this custom rom on my s4 m919 and it works great. The only problem i have is that my battery dies really fast, Any suggestions or kernels that i can try?
Thanks
Click to expand...
Click to collapse
I'm actually getting better battery life than on my lollipop rom. Some thoughts:. Gapps nano so that you only use what you need. I use advanced Task Killer Free (by ReChild) . Also use Disable Service, AdAway, and Net Guard No Root Fire wall. You can read more about each one and see if they help. There are olther settings in the rom that will help reduce battery drain as well. If You don't use an app uninstall it. Good Luck.
Better battery life options: kernel tweaks.
When I put this together, I figured most AOKP users would be more on the power user scale, so I set the kernel for Performance and IO scheduler for BFQ. Pretty standard for average to heavier loads. However, if you want better battery life, you can download this free app on the play store. No-frills CPU Control found here (there are other apps, but I can vouch for this one working):
https://play.google.com/store/apps/details?id=it.sineo.android.noFrillsCPU
With this, you can set your kernel governor and io scheduler to anything you want. From a battery only perspective, you can set it for:
Powersave
Noop
But that is a bit extreme. You will notice "stuttering" when doing any task. A good alternative is to set your system for:
Conservative
Noop
Which can give moderate gains while not sacrificing too much performance.
Conversely, if you want more speed, use this:
Performance
CFQ
Which will just eat through your battery, but will really give your phone some "pep in it's step".
Many will argue facts and fiction, but the general community accepted power saving to performance chart looks like this:
I/O scheduler: Noop > BFQ > CFQ
(Row is Read over write, so it is really smooth for video playback, but very slow on writing to disk, which makes it hard to judge power saving vs performance.)
Governor: Powersave > Conservative > Interactive > Ondemand > Performance
(Userspace governor lets the app tell the kernel what speed it requires, this is unusual for a phone, usually used on servers. Most apps do not know how to use this function. I like to include it though, as a power user may have a use for it.)
Hope that helps.
L-Speed from the Store is also a good tool for some simple tweaking
Fixed
OK fixed the contacts & waze issue, cleared the cache & family, imported the contacts & reinstalled wake. Works great now! the battery life seems to be excellent and really good memory management. Like I mentioned the only issue is the long boot time. Keep up the great work.
AlaskaLinuxUser said:
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Click to expand...
Click to collapse
does this rom support my device , See below details
sprint galaxy s4 L720T
baseband : OH1
Please help guys !!!!

[PnP&Thermals tweak] Custom profiles for battery saving and/or better performance-v24

Addon was originally only available on Venom HUB but i decided to release it for everyone to use.Here is copy paste of description and changelogs from the HUB.I will update thread as i update it on HUB.
Also big thanks to @hamdir for testing my performance profile on various games, he will also post later hes review, pictures and comparisons to stock.
This addon is designed to save some extra battery, and reduce heat.Magic is done in 2 files:
1:Thermal-engine is tweaked in order to provide much better sustained performance and cooler phone, without big impact on performance.
2np file is another key component, its HTCs CPU/GPU/EMMC/MODEM and many more control engine.Here many tweaks where done, but gonna quickly list some of the important ones:
-Per app control, automatically suspends 2 BIG cores, and runs on 2 low power ones, it also limits the GPU speed to lowest.This will do only for some most commonly used apps, like Sense Prism, Nova launcher, Apex, other HTC apps, various chat programs(hangouts, facebook, messanger, whatsap etc), YouTube and some more.. as those apps dont require a lot power.
-Screen off is set to 2 low power cores for nice standby times
-Power saver is tweaked to actually save some power and not just lower screen brightness
-Extreme powersaver is also tweaked down to save even more power
-Input boost frequencies are also lowered (CPU ramps up moment you touch screen)
-And alot of other minor tweakups..
Also its recommended not to change anything CPU/GPU related in any other apps, like EX and just let this files do the job for you.
If for some reason you dont like this mod or have any problems with it, installer includes revert to stock option
Click to expand...
Click to collapse
Read more info in changelogs below.
List of battery optimised apps (feel free to post your suggestions):
Code:
com.ninefolders.hd3
com.applisto.appcloner
com.livae.apphunt.app
com.fillobotto.mp3tagger
org.polaric.cluttr
com.rgiskard.fairnote
com.glextor.appmanager.free
com.catchingnow.undo
kik.android
de.onyxbits.listmyapps
org.zloy.android.downloader
com.slaughter.look.of.disapproval
gaurav.lookup
cn.wq.myandroidtoolspro
com.embermitre.pixolor.app
de.toastcode.screener
de.munichsdorfer.screenittrial
com.glitch.stitchandshare
com.stumbleupon.android.app
org.de_studio.recentappswitcher.pro
com.happening.studios.swipeforfacebookfree
com.laurencedawson.reddit_sync
com.fifthelement.trimmer
com.camel.corp.universalcopy
com.google.android.apps.inbox
com.riversoft.android.mysword
com.taxis99
com.tbig.playerpro
com.tomtom.gplay.navapp
com.xda.labs.play
com.google.android.apps.translate
com.safeincloud
com.mobisystems.msdict.embedded.wireless.collins.p ortuguese.full
com.mobisystems.msdict.embedded.wireless.oxford.es sentialportuguese
com.accuweather.paid.android
com.mobilesrepublic.appy
com.pandora.android
com.slingmedia.slingPlayer
com.bumble.app
com.tinder
com.klinker.android.twitter_l
com.nam.fbwrapper.pro
com.timehop
jp.naver.line.android
com.linkbubble.playstore
kr.co.vcnc.android.couple
com.joshua.jptt
com.noinnion.android.greader.reader
com.netbiscuits.kicker
com.redictandcgdstudios.projectslenderonline
com.teotlstudios.slenderrisingfree
com.dvloper.slendermanriseagainfree
com.RexetStudio.SlenderTheRoad
air.com.sticksports.sticktennis
com.sticksports.sticktennistour
com.bauermedia.tvmovie
de.wetteronline.wetterapppro
com.redictstudios.projectslender
se.feomedia.quizkampen.de.premium
com.quoord.tapatalkHD
com.droid27.transparentclockweather
com.speedsoftware.rootexplorer
pl.solidexplorer2
com.appseleration.android.selfcare
com.google.android.apps.chromecast.app
rpkandrodev.yaata
com.andrewshu.android.reddit
com.xodo.pdf.reader
com.microsoft.office.word
com.microsoft.office.excel
com.kmobile.cb
com.nianticlabs.pokemongo
com.google.android.apps.maps
com.htc.laputa
com.papago
com.mapbar.android.mapbarmap
com.autonavi.cmccmap
com.baidu.BaiduMap
com.pdager
com.kingwaytek.naviking
com.htc.lockscreen
com.htc.fingerprint
com.xda.labs
org.mozilla.firefox
org.mozilla.firefox_beta
com.emoji.keyboard.touchpal.oem
com.nitrodesk.honey.nitroid
com.android.calculator2
com.estrongs.android.pop
com.tbig.playerpro
org.telegram.messenger
com.instagram.android
org.wordpress.android
com.touchtype.swiftkey.beta
com.gsamlabs.bbm
com.htc.android.worldclock
com.quoord.tapatalkpro.activity
com.anddoes.launcher
com.google.android.gms
android.uid.systemui
com.android.systemui
com.chrome.beta
com.android.chrome
com.chrome.dev
com.teslacoilsw.launcher
com.spotify.music
com.quoord.tapatalkxdapre.activity
com.google.android.apps.plus
com.twitter.android
com.htc.AutoMotive
com.google.android.talk
com.viber.voip
com.ninegag.android.app
com.android.settings
com.devhd.feedly
com.htc.weather
com.google.android.phone
com.htc.sense.mms
com.htc.contacts
com.htc.htcdialer
com.htc.music
com.maxmpz.audioplayer
com.google.android.apps.photos
com.htc.launcher
com.htc.sense.news
com.whatsapp
com.facebook.katana
com.facebook.orca
com.m0narx.hub
com.ice.tweaks
com.m0narx.tweaks
com.google.android.youtube
com.google.android.videos
Compatibility:
All 1,8x, 1.9x and 2.x based roms bases and kernels(even stock roms/kernel's).
Not compatible with 1.5 or below bases (will cause random crashes), use Version v8 for older 1.5x and 1.2x bases.
Download:
Version v24
Download link flashable ZIP - AFH
Older versions:
Version v23
Download link flashable ZIP - AFH
Version v22
Download link flashable ZIP - AFH
Download:
Version v21
Download link flashable ZIP - AFH
Version v19
Download link flashable ZIP - AFH
Version v18
Download link flashable ZIP - AFH
Version v17
Download link flashable ZIP - AFH
Version v16
Download link flashable ZIP - AFH
Version v15
Download link flashable ZIP - AFH
Version v14
Download link flashable ZIP - AFH
Version v13
Download link flashable ZIP - AFH
Version v12
Download link flashable ZIP - AFH
Version v11
Download link flashable ZIP - AFH
Version v10
Download link flashable ZIP - AFH
Version v9 TEST
Download link flashable ZIP - AFH
Version v8
Download link flashable ZIP - AFH
Version v8 for older 1.5x and 1.2x bases
Download link flashable ZIP - AFH
Changelog:
Code:
24.04.2017
v24:Fixed remove 50 -> 60 fps boost on touch on performance profile(60fps locked now)
- MaxPowerSaving profile optimizations to get even more battery life.
27.03.2017
v23:Added more user requested apps(30) for battery optimised profiles
- Attempt to smoothen Facebook app scrolling (App still lags while loading items on any phone)
- Increased touch input boost speed for MaxPowerSaving profile(smoother scrolling)
16.01.2017
v22:Viper Magisk compatible
- Merged with 2.41 base changes
- Added a lot more apps for battery optimised profiles
- Added new MaxPowerSaving profile:
Limits CPU to 1.3/1.78GHz(LC/BC), GPU 510MHz
Launching apps bypasses above limit for fast app starting/switching
Still uses balanced mode per app profiles which saves even more power
- Cleaned installer from unnecessary files (smaller zip size)
9.12.2016
v21:Lowered input boost, touch boost, long duration touch boost, app launch and per app frequencies for even more battery savings(N is still very smooth)
-Cleaning of code and some other fine tuning
24.11.2016
v20:Merged with Android 7.0.0 changes
-Also backwards compatible with 1.5x + bases
26.09.2016
v19:Fixed CPU doesnt drop to lowest speed for some users/kernels
- Merged v18 balanced changes into performance profile
22.09.2016
v18:(Balanced changes only)
- Adjusted CPU scheduler load distributions and frequencies in order to fix some stutters,
but also to save power while phone is idle with screen ON (drops to lower frequencies faster)
- Fixed weird HTC bug where task migration gets stuck in loop and cause phone to heat up for no reason
- (thermal file)Make it a bit cooler on higher loads
- Minor fine tuning here and there..
29.08.2016
v17:Prevent cores going offline if running Android auto (fixes lag on screen off)
- (Balanced)Tweaked 15+ various governor and boost settings for even more power savings
- (Balanced)Added more appps for CPU limiting profiles
- Allow 4 threads for oat proces if PlayStore in focus(faster app install)
23.08.2016
v16:Merged latest HTCs changes realted to PokemonGo thermals
- Removed 50 -> 60 fps boost on touch on performance profile(60fps locked now)
- Forced 60 fps for YouTube and Google videos on balanced profile
- Tweaked thermal file on balanced profile for better performance
07.08.2016
v15:Balanced and Performance profile update
- Fine tuned values
- Big cores go offline during screen off for Performance profile
- Tweaked low memory killer values on both profiles,
prevents often app reloading, which is waste of time and battery.
04.08.2016
v14:Balanced and Performance profile update
- Implemented dynamic swappiness
- Default swappiness reduced from 60 to 30 (less writes to nand)
- During app launch or touching screen event swappiness is reduced to 0
- During screen off swappiness is set to default 60 so it can do its job when we are not using phone
- Increased dirty_ratio to reduce even more writing to nand
- Overall goal is to reduce I/O on NAND while using phone and in that way improve performance,
but also improve battery by better utilizing the 4gb RAM that this device has.
- Added more apps for CPU limiting profiles(balanced only)
v13:
-Merged with changes from 1.9x base
(Mostly fine tuning battery saving for various video chat programs)
v12:Balanced profile changes
- Added more commonly used apps for lower power CPU profiles
- More fine tuning
v11:
- Fine tuned balanced profile to prefer a bit more battery life
- Cleaned up aroma installer (wont create unnecessary Venom folders for non-Venom users)
v10:Balanced profile rebuild
- Merged and fine tuned/adjusted thermal configuration from performance profile
- Should improve responsiveness and fix stuttering on some apps that happend before
- changed around 100+ lines of code, lazy to write full changelog :p
v9:TEST balanced profile update
- Big cores will now go fully offline during screen off and while in Extreme powersaver
- Lowered screen refresh rate while in Extreme powersaver(even more saving)
- Max GPU speed limited to 214MHZ while in Extreme powersaver
- Max GPU speed limited to 510MHZ while in powersaver
- Reduced app launch boost MIN frequencies speeds to 1.3gz for all cores.
v8: complete rebuild of performance profile
- Added extra 560mhz frequency step between 630 and 510 for GPU throttling
- Added 5 additional throttling steps for each CPU cluster per temperature
- Prevent big cores dropping to 1.3ghz too soon which drops FPS in games.
- Prevent killing one big CPU core too soon, instead 2 will run at half migration performance.
- Everything fine tuned and balanced, 10+ FPS boost in most games compared to stock
v7
- 1.8x base compatibility update
v6
-Removed battery saving profile as balanced does such good job, both smoothness and performance! :)
v5
-Many changes to balanced profile
-Lowered app launch Max CPU speed locking to more reasonable levels(Still ramps up to max if load demands)
-Reduced input boost duration a bit
-Governor will now drop CPU to lower speeds faster
-Added more apps to lower CPU speed profiles.
v4
-Aroma installer fixes
-BatterySaving profile fine tuning
v3:
-2 new more options
*MaxPerfomance
*BatterySaving
-Tweaked is now called Balanced
v2:
-fixed YouTube 2k+ videos lag
This is example of battery life i get with Balanced profile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XDA:DevDB Information
PnP&Thermals tweak, Tool/Utility for the HTC 10
Contributors
ivicask, hamdir
Version Information
Status: Stable
Current Stable Version: v24
Stable Release Date: 2016-06-23
Current Beta Version: v9
Created 2016-07-06
Last Updated 2017-04-24
Performance Profile
I've worked with @ivicask on optimizing gaming performance for the 1.80 base via the performance profile for this mod, in this post i will explain the gaming problem on stock HTC 10 and how this mod/performance profile solves it
by default HTC aggressively cripples the Snapdragon 820, not for the sake of thermals but for the sake of extending battery life, what happens is the following:
Stock CPU behavior on HTC ten (up to 1.80 base):
Starting with 33c battery temp CPU tasks will gradually migrate out of the big cluster, around 38c one of the two big Kryo cores (which enjoy higher clocks and bigger hardware cache) will be completely disabled, HTC smartly hides it in task migration rather than physically shutting down a big core
This means in CPU intensives games like Dead Effect 2 you will notice a sharp drop in performance/smoothness once the fourth core is killed, the game will drop from the 60fps range to 30fps, this behavior is noticeable in many games, if you are on complete stock you can only game at the full s820 speed if you are starting from a cool idle battery temp like 30c but then in about 5 minutes things will go downhill, considering that the HTC 10 idle state in average use is around 35c anyway you can see how most people probably start gaming on the 10 within the crippled state
Previously the only way to fix was to flash EX kernel with CPU migration hacked and already set by default to 60% limit, meaning EX kernel will refuse to let HTC 10 migrate tasks out of the fourth core under 40%, this is a good solution but you are forced to use EX kernel and not the stock kernel plus wait for the kernel source so that EX is updated whenever an OTA is rolled out, this mod will allow you to fix gaming on HTC 10 without touching the kernel plus it's thermally safe as its not a hack and will still gradually slow down the 10 to cool down, but it does so in a sane way
The performance profile in this mod was thoughtfully optimized by profiling the CPU usage in Dead Effect 2 (currently one of the heaviest games on the playstore) from 30c up to 45c, giving you enough time to actually enjoy this game at its full speed up to 30 minutes
The following tests will show you how the HTC 10 behaves in gaming when warm vs the performance profile, profiled using @ivicask tools and game benched in short sessions, the exact same level played from the same starting point to the same end at the same length of time, this level called "return to space gardens" is one of the heaviest sections in Dead Effect 2, at the end of this test you can see how performance drops to the ground because it meets a very dense and tough section in the game.
Stock kernel / PNP / thermals, Dead Effect 2 at 39c
The fourth big core is completely killed, GPU goes to 510mhz, small cluster drops to 1.3ghz, big cluster drops to 1.5ghz
As you can see on pure stock 1.80 base by 39c the games loses one of the big s820 cores and performance drops from 45fps range in this level to 30fps (which happens way too fast) also as seen in the yellow graph how performance stability is terrible, after 40c it will get even worse
here are the results from the same level using the performance profile of this mod
Performance Profile, Dead Effect 2 at 34c to 38c
full tasks are still running on all cores, GPU at 624mhz, small cluster still at 1.5ghz, big cluster drops to 1.5ghz
Performance Profile, Dead Effect 2 at 39c to 41c
both big cores drops to 80% task migration, GPU drops to 560mhz, small cluster still at 1.5ghz, big cluster still at 1.5ghz
Performance Profile, Dead Effect 2 at 42c to 43c
one big core sticks to 80% task migration the other big core drops further to 60%, GPU drops to 510mhz, small cluster still at 1.5ghz, big cluster still at 1.5ghz
Once the device gets warmer after 43c CPU migration will drop to 60% on both big cores with further reduction in GPU speed etc, but at this stage the HTC 10 will no longer heat up as fast and as you can see up to this point it was maintaining almost the same performance in this game; while keeping fairly high GPU clocks too; this is a much more subtle well thought performance degradation than HTC's stock blind brute crippling of the s820 which happens way too fast on low temps
This profile is so good actually HTC should probably copy it and imitate how it deals with default CPU migration, otherwise why are we buying an s820?
ivicask said:
Addon was originally only available on Venom HUB but i decided to release it for everyone to use.Here is copy paste of description and changelogs from the HUB.I will update thread as i update it on HUB.
Also big thanks to @hamdir for testing my performance profile on various games, he will also post later hes review, pictures and comparisons to stock.
Click to expand...
Click to collapse
@ivicask
does it work differently from butterfly v11?
or say does it conflict with butterflyv11 if you have already loaded that profile and flash this zip?
thanks for another tweak made possible for Perfume devices
SacredDeviL666 said:
does it work differently from butterfly v11?
Click to expand...
Click to collapse
Completely different, it uses HTCs native engines to control everything, u can basically flash this on stock un-rooted phone
And doesn't require custom kernel, it should work immediately as new bases come out etc..
ivicask said:
Completely different, it uses HTCs native engines to control everything, u can basically flash this on stock un-rooted phone
And doesn't require custom kernel, it should work immediately as new bases come out etc..
Click to expand...
Click to collapse
aah okay cool...does it conflict if i have already enabled butterflyv11 which disables pnq or its safe to flash while using that script
SacredDeviL666 said:
aah okay cool...does it conflict if i have already enabled butterflyv11 which disables pnq or its safe to flash while using that script
Click to expand...
Click to collapse
Half of this mod runs in PnP, if you disable it, your making this mod almost pointless.
Also, as i stated, this mod runs best standalone, its best not to use any other mods, or apps which change anything CPU /GPU related.
You can still flash EX kernel for example, i just dont recommend messing with any CPU/GPU related settings in it.
ivicask said:
Half of this mod runs in PnP, if you disable it, your making this mod almost pointless.
Also, as i stated, this mod runs best standalone, its best not to use any other mods, or apps which change anything CPU /GPU related.
You can still flash EX kernel for example, i just dont recommend messing with any CPU/GPU related settings in it.
Click to expand...
Click to collapse
cool so this would conflict as butterflyv11 disables the pnp
would try this and see :highfive:
hey
great to see you released this for all on xda!
I have a question. since you wrote on the ex kernel thread that pnp config file is encrypted how come you can edit it?
or can you englighten me how i can just disable all Input and touch boosts from pnpmgr while keeping pnpmgr?
i think that would be the best for my script but i wasn´t able to do so.
i found no other way to stop the touchboost other than disabling pnpmgr completely.
maybe we can integrate my interactive values with your mod? if you are okay with this of course!
thanks
Freak07 said:
hey
great to see you released this for all on xda!
I have a question. since you wrote on the ex kernel thread that pnp config file is encrypted how come you can edit it?
or can you englighten me how i can just disable all Input and touch boosts from pnpmgr while keeping pnpmgr?
i think that would be the best for my script but i wasn´t able to do so.
i found no other way to stop the touchboost other than disabling pnpmgr completely.
maybe we can integrate my interactive values with your mod? if you are okay with this of course!
thanks
Click to expand...
Click to collapse
I cant give you much details on how i edit them, theres reason HTC encrypted them, if we spill it out, HTC would change encryption and everything very soon i suspect, so hope you understand why i wont share that part.
I can disable input boost for you, but im still not sure how your mod works along with PnP, as PnP constantly changes values dynamically, if you chmod values, than PnP constantly tries to change freqs and fails(may cause some problems).
What i can also do, is incorporate your changes directly into my mod, and make "ghostpeper" profile which would work directly in PnP, and people can choose and test which one works better for them and their daily usage.
EDIT:You could simple disable input boost by echoing 0(maybe chmod remove write permission after that so it cant change it) to
/sys/power/pnpmgr/touch_boost
/sys/power/pnpmgr/long_duration_touch_boost
ivicask said:
I cant give you much details on how i edit them, theres reason HTC encrypted them, if we spill it out, HTC would change encryption and everything very soon i suspect, so hope you understand why i wont share that part.
I can disable input boost for you, but im still not sure how your mod works along with PnP, as PnP constantly changes values dynamically, if you chmod values, than PnP constantly tries to change freqs and fails(may cause some problems).
What i can also do, is incorporate your changes directly into my mod, and make "ghostpeper" profile which would work directly in PnP, and people can choose and test which one works better for them and their daily usage.
EDIT:You could simple disable input boost by echoing 0(maybe chmod remove write permission after that so it cant change it) to
/sys/power/pnpmgr/touch_boost
/sys/power/pnpmgr/long_duration_touch_boost
Click to expand...
Click to collapse
yep i totally understand this. it would be however great if you could disable Input boost for me directly in the pnp binary.
i already tried to edit the files you mentioned in sys/power/pnpmgr. when i did this I got heavy lags. really heavy. i think something is conflicting there.
yeah the chmod trick worked before base 1.80. i would simply chmod the min freqs for big and Little Cluster and touchboost from pnpmgr disappeared magically. this trick is no longer working with the new base. that´s why i was forced to disable pnpmgr.
if you want to you can incorporate the Butterfly values for the interactive governor in your mod. I think Butterfly works far better on our 10, that´s why i just updated Butterfly for base 1.80.
does pnpmgr also edit the values for the interactive gov dynamically?
if you could make a pnpmgr config where touch/Input boost, Setting min/max freqs is disabled i´d be quite happy.
---------- Post added at 11:17 AM ---------- Previous post was at 11:10 AM ----------
SacredDeviL666 said:
cool so this would conflict as butterflyv11 disables the pnp
would try this and see :highfive:
Click to expand...
Click to collapse
you may also just edit my script and comment out with a # or delete the line "stop pnpmgr" then the pnpmgr conflicting part will at least be removed.
Noice. Thanks for sharing
Freak07 said:
yep i totally understand this. it would be however great if you could disable Input boost for me directly in the pnp binary.
i already tried to edit the files you mentioned in sys/power/pnpmgr. when i did this I got heavy lags. really heavy. i think something is conflicting there.
yeah the chmod trick worked before base 1.80. i would simply chmod the min freqs for big and Little Cluster and touchboost from pnpmgr disappeared magically. this trick is no longer working with the new base. that´s why i was forced to disable pnpmgr.
if you want to you can incorporate the Butterfly values for the interactive governor in your mod. I think Butterfly works far better on our 10, that´s why i just updated Butterfly for base 1.80.
does pnpmgr also edit the values for the interactive gov dynamically?
if you could make a pnpmgr config where touch/Input boost, Setting min/max freqs is disabled i´d be quite happy.
---------- Post added at 11:17 AM ---------- Previous post was at 11:10 AM ----------
you may also just edit my script and comment out with a # or delete the line "stop pnpmgr" then the pnpmgr conflicting part will at least be removed.
Click to expand...
Click to collapse
PnP controls everything u mentioned, all your butterfly/ghost scripts has, and about 10x times even more
I checked your script, you just echo to disable input boost, try chmod it after you disable it with denial permission so it cant be changed..
Should work, if not i can mode PnP for you, but above would be better solution for you..
Maybe others might ask too, sometimes I'm using it too for a systemless mod: do you plan to add it in as a systemless mod, if it is possible?
tbalden said:
Maybe others might ask too, sometimes I'm using it too for a systemless mod: do you plan to add it in as a systemless mod, if it is possible?
Click to expand...
Click to collapse
There is no need for that, it wont affect android pay or similar, why exactly you ask?
ivicask said:
There is no need for that, it wont affect android pay or similar, why exactly you ask?
Click to expand...
Click to collapse
well, just related to OTAs, but that might be unimportant as you can flash back to original files, or restore no-RW mounted system image backups.
Or am i lagging behind, it's working to have a RW mounted system and do OTA updates? I don't follow that part much, my bad
tbalden said:
well, just related to OTAs, but that might be unimportant as you can flash back to original files, or restore no-RW mounted system image backups.
Or am i lagging behind, it's working to have a RW mounted system and do OTA updates? I don't follow that part much, my bad
Click to expand...
Click to collapse
Its so much easier just to restore original image, i think wont do it systemless, as they are key system parts, dont want some weird things to happen..
ivicask said:
Its so much easier just to restore original image, i think wont do it systemless, as they are key system parts, dont want some weird things to happen..
Click to expand...
Click to collapse
OK.
I'm testing balanced option at the moment.
Also, i know I'm off topic, but in the end what's the recipe: what does and what doesn't affect androidPay. (I'm lagging behind again in this topic, just avoid modifying system partition in my kernel as it seemed to affect it at that time... as i don't use androidPay I didn't follow what exactly makes it unworking).
ivicask said:
PnP controls everything u mentioned, all your butterfly/ghost scripts has, and about 10x times even more
I checked your script, you just echo to disable input boost, try chmod it after you disable it with denial permission so it cant be changed..
Should work, if not i can mode PnP for you, but above would be better solution for you..
Click to expand...
Click to collapse
Thanks I will try this and come back at you
tbalden said:
OK.
I'm testing balanced option at the moment.
Also, i know I'm off topic, but in the end what's the recipe: what does and what doesn't affect androidPay. (I'm lagging behind again in this topic, just avoid modifying system partition in my kernel as it seemed to affect it at that time... as i don't use androidPay I didn't follow what exactly makes it unworking).
Click to expand...
Click to collapse
It checks alot of things, and its constantly updated, its simple must be done for security reasons..
Okay so I tried it with 444 permissions and it still lags. Should I try 000?
Would be great if you could make me a file with touchboost disabled and frequency changing disabled.

[MOD] Pixel 2 (XL) Unified Kernel(s) Tuning Script (v1.1a)

Introduction:
Hello everyone!
The idea to this 'project' did blossom after having an conversation with @pkgnex about the general idea of creating something else that follows what he started with his PK's Tuning Script but with a twist, mainly as a complement to his own thread that you can find here, but also with a completely different vision and focus on what the script itself should achieve (and deliver) for kind of results for myself and for all of you personally, of course, that wants to try it out and use it as a "daily driver".
Shortly explained.
This script is created with the goal of improving both the battery life and performance of our Pixel 2 (XL) devices, and after a whole range of configurations and various set-ups, I've come up with something that, in my eyes, is worth sharing with you so that you can try it out yourself and judge on your own, with constructive feedback on what can be improved or added in future releases - if desired. My philosophy is, and will always be, this:
If something can be improved or altered in a positive way so the average user can feel and see a difference, then go for it. Non stop.
Latest releases can be found here:
Major release
Minor release
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Note: This script is not recommended to be modified or customized by the user.
Features:
Reduced battery consumption
Enabled, and configured, Boeffla generic kernel wakelock blocker
Disabled a lot of stuff at both kernel and system level (Improves battery life and performance)
Schedtune tweaks (Improves system responsivness)
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Latest Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move 01tweaks to the following location;
/sbin/.core/img/.core/service.d and give it the following permissions (0755)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
5) Enjoy!
Credits:
@nathanchance for his contributions with his Flash Kernel
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory.
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
To-Do list:
Port this project to all of my additional devices
Include kernel specific scripts for every released P2(XL) custom kernel Done
- Even for stock kernel with SafetyNet patch by @iissmart Done
Optimize and properly tune things even further for best balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2018-09-18
Last updated: 2018-09-19
Changelog:
v1.2a (Minor release)
- Disabled OOM_Kill_Allocating_Task for all kernels.
- Cleaned up the scripts on a couple of useless lines (results in a smaller ZIP package)
- Reverted icmp_echo_ignore_all back to stock setting (Needs more private testing before I am including it again)
- Disabled IOWait Boost in a attempt to fix the idle frequency scaling issue that some have reported about
(Public release only, it's still included & enabled in the maintainer release)
v1.2 (Major release)
- Altered a few tweaks (that should improve battery life even further along the road)
- Added a couple of networks tweaks that should improve network performance & reduce battery drain when being on a wifi connection.
- Added updated scripts for Sultan, Kiriskura and stock kernel (with SafetyNet patch)
- Added two versions into the ZIP file (Public & Maintainer release, see information below)
- Updated version numbering and configuration descriptions
- Reverted schedtune tweaks in a attempt to fix the bouncing CPU frequency scaling issues that some have experienced
Descriptions (now and for further releases);
Public release: Public release contains scripts for each Pixel 2 (XL) kernel, and which is closer to Google's (and the respective developer's) own kernel (with my own carefully selected modifications, of course, applied and running on top of that).
Maintainer release: This is the scripts that I am using on my Pixel 2. Literally. Use this one of did not have any CPU frequency scaling issues on the previous versions, or just want to use exactly what I am using as a daily driver.
v1.1b (Minor release)
Note:
- This version only adding fixes to my script, mainly for Flash Kernel and ElementalX.
- Enabled performance daemon back online again (should fix reported issues with CPU frequency scaling on LITTLE cluster)
- Lowered schedtune values (less battery drain w/o any real performance regressions + should fix how often the CPU scales to max frequency)
- Added back my wide IO block tuning script for Elementalx (this was not the cause for the CPU bouncing issue)
- Enabled OOM_Kill_Allocating_Task for ElementalX (Disabled for Flashkernel)
v1.1a (First minor release)
Note:
- This release is including an enhanced release of v1.1, suitable for Flashkernel.
- Changed some parameters for a slight performance and UI smoothness boost
- Disabled OOM_Kill_Allocating_Task (Better to let the OOM killer select a random task to kill for freeing up memory when needed
- Disabled Backlight dimmer (If you want it back, tell me and I will upload a userspecific release with it enabled & configured)
- Some additional lag reducing enhancements
v1.1 (First major release)
- Initial releases for every released custom Pixel 2 kernel.
- Added a few additional settings for further battery life, as well as, performance improvements.
- Shortened a few lines which explains what the parameters changes does.
- Packed everything into a single ZIP file with specific names for each kernel tuning script.
- See attached ZIP in the OP
v1.0 (Initial testing & feedback release)
- Initial release.
- Note: This version is only tuned for Flash kernel. Next release/update will contain more scripts, specially tuned for each one of the released kernels across the whole Pixel 2 line-up.
Short note
If you have any kind of specific wishes or suggestions on changes and/or tweaks, either kernel specific or universal across the whole released kernel line-up for Pixel 2 (XL), that the pretty soon up-coming v1.1 should include (can be something that you have read about somewhere else or it is maybe something that I've missed) - send me a personal message asap and I'll take a deep look into it and see what's possible to do and achieve.
Or leave a comment here in the thread about it, if you prefer it that way.
Update!
v1.1 First major release
- Initial releases for every released custom Pixel 2 kernel.
- Added a few additional settings for further battery life, as well as, performance improvements.
- Shortened a few lines which explains what the parameters changes does.
- Packed everything into a single ZIP file with specific names for each kernel tuning script.
- See attached script below (and in the OP)
Enjoy!
Update!
v1.1a (Minor enhanced release)
Note:
- This release is including an enhanced release of v1.1, suitable for Flashkernel.
- Changed some parameters for a slight performance and UI smoothness boost
- Disabled OOM_Kill_Allocating_Task (Better to let the OOM killer select a random task to kill for freeing up memory when needed)
- Disabled Backlight dimmer (If you want it back, tell me and I will upload a userspecific release with it enabled & configured)
- Some additional lag reducing enhancements
Enjoy!
Update!
Note #1: I am moving all update posts and what not to my Pixel 2 XL thread instead. This one will just be used as an "notification updater" thread from now on, because jumping between and making sure both topics gets the same posts is a little bit.. timewasting.
Keep an eye on this topic from now on!
And enjoy!

[Kernel][Overclocked] No Gravity [Android-11,10,9...][2020-09-27][ProtonClang]

NoGravityKernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No Gravity Kernel 2.0 + 4.0 App Trailer
Why is it called NoGravity kernel?
Hey, NoGravity Kernel dev coming from the Pocophone F1. Goal of this kernel is to provide of course solid performance when needed while keeping a solid battery life throughout the day, but main NGK objective is to make every device #SmoothAF.
The Kernel will boot using stock (Mi 8) GPU frequencies that correspond to the Balance Profile. Overclocked frequencies can be selected in my app. Other profiles for battery, performance and gaming can also be switched to in my app.
To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance and Gaming). My app offers some features that usually cant be found in other kernel tweaking apps. You can find them lower in the thread.)
-No Gravity app! support
-Android R (11) ready
-Rebased to full Q CAF (LOS Staging)
-OxygenOS Ports support Please read compatibility section
-9.1.24 & 10.3.7 Novatech Touchscreen Firmware
-Updated, Cleaned up & Optimized NVT/FTS Touchscreen drivers for latency and responsiveness and reduced touch issues
-The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors
-Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)
-CPU Next frequency selection tunable (linear/expnential)
-GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)
-GPU Underclocked to 160 MHz on idle
-Using Evaluation Thermals
-Own Thermal Suspend API
-Own Thermal Locking Mecanism (Mostly for using NGK thermals on MIUI)
-NAP power saving state for Adreno 630 GPU
-Dynamic Stune Boost
-Devfreq boost and Cpu Boosting drivers
-Moved from ZRAM to ZSWAP+VNSWAP (Still disabled by default)
-FSync Control (ON/OFF)
-Faster Applications Opening speed
-Slimbus Overclock
-Added Fingerprint boost
-Added WakeBoost module
-Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
-Added Maple, SIO, FIOPS, BFQ, ANXIETY I/O Scheduler
-Westwood(Default) & BBR TCP Algorithms
-DTS Headphone X Software Drivers
-Sound Control support
-Vibration Control
-Charging throttling removed
-Maximum charge rate over USB 3.0
-WireGuard support
-USB Ethernet support
-Controller support
-DriveDroid support
-HDR Video Playback support
-KCAL support
-K-Lapse 5.0 support
-Network Guru app support
-Blocked and tweaked wakelocks (Boeffla & more)
-Fingerprint improvements
-Caches optimisations
-Compilation optimisations
-Debloated
-F2FS Support with GC
-Compile with Proton Clang + Polly + Thin LTO
-Latest CAF Tags merged in
-Always upstreamed to latest! (4.9.237)
-And many more under the hood changes...
-Kernel & App update checker (Direct install of kernel and app on Pocophone) + Selection between touch firmware versions
-Balance(Default),Performance,Battery,Gaming & Gaming+ Profiles (QSTile available)
-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)
-Precise CPU temperature for both Clusters separately
-CPU Page with following tunables:
-CPU Governor
-CPU Frequency Selection Algorithm (Linear/Exponential)
-CPU Min/Max Frequencies
-NGK Stats Page showing last gaming session FPS+ Chart, battery drain, avg CPU temps & avg Battery temps, toggle for enabling NGK Stats Overlay displaying FPS and following optional features:
-CPU Temps/Freqs
-GPU Temps/Freqs
-Battery Temps/Percentage
-Kernel Page to let you control:
-App optimization (ART) Button
-Thermals:
NoGravity (NGK’s default) || Battery || Stock one
-Battery Thermal Throttling Removal:
ON (NGK’s default) || OFF
-PUBG HDR+Extreme config unlocker
-GPU Page:
-GPU Stats
-Max GPU Freq Selector
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
-Proximity Gestures Switch to pulse ambient dispay on Hand Wave
-Pick-Up Gesture Switch to pulse ambient display when device is taken
-Pixel 3 Flip to Shhh feature
-DTS Eagle (Sound) Info Page
-More will be added...
-More features...
-Let me know what you want and those may be added!
This kernel should work on any ROM/Ports! Since I love OnePlus and I'm myself a OnePlus 2 user, I will do my best to fully support OOS ports.
Reported to work on: OnePlus 6 Holi Edition, OnePlus 7 OB8 & OB8 Quince, Quarantine Edition. OxygenOS devs do not support custom kernels so if you face any issues with NGK don't post in their groups, post here instead.
-I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.
- I recommend to use my app, franco app or EX Kernel Manager if you need to tweak the kernel further
-CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed
-Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)
-(Optional) - Clear cache and Dalvik => if you do so, Use App Optimization button in NGK App.
Download No gravity Kernel / Download No Gravity App
Donate me! / Telegram Group /
No Gravity App Changelog / No Gravity Kernel Changelog
-The android community and to all my testers for using my kernel and your precious feedbacks and ideas!.
-thanasxda for his experience/knowledge on the Pocophone
- @[COLOR="#00b5d3"]_undead[/COLOR] & @[COLOR="#00b5d3"]Wmbruckner[/COLOR] for the crowdfunding
-Followings for their donations!
@[COLOR="#00b5d3"]Wmbruckner[/COLOR]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
​
Contributors
Pierre2324
Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sdm845
Version Information
Status: Stable
Current Version: 2.0
Created: 16-11-2019
Last Updated: 27-09-2020
Changelog
​
Previous Changelogs:
3.5 App Changelog
​
NoGravity Kernel App v3.4.2:
General:
Changelog/Update page is now scrollable in case of big changelogs to see download buttons
App now checks for update when app is resumed also (not just when app is launched)
Pocophone F1-Mi8:
Fixed an issue where frequencies were shown over CPU and GPU labels when turning off respective temps in NGK Stats Overlay
OnePlus 2:
Nothing specific to OP2 added
NoGravity Kernel App v3.4.1:
General:
Changed text of update checker button 'View changelog' to 'Download!' when an update is present
Other small fixes
Pocophone F1-Mi8:
Updated NGK Stats Overlay UI
NGK Stats Overlay doesn't block input touches anymore
Better FPS Idling algorithm to prevent bad user's FPS stats when display isn't refreshed (e.g just looking at launcher)
Last session average FPS now updates right after toggling off the switch when in NGK app
OnePlus 2:
Nothing specific to OP2 added
1.4 Build:
NoGravity Kernel App v3.4:
General:
Updated Profiles
New App & Kernel Update checker
Small fixes
Pocophone-Mi8:
Modified NGK Thermals to fit NGK thermal locking mecanism
DT2W Toggle added to Kernel Page (mainly for OOS)
Updated Backlight Dimmer
New NGK stats page
-Shows last session average FPS
-NGK overlay service toggle to show FPS,CPU & GPU stats in real time on screen
OnePlus 2:
nothing specific for oneplus 2 has been added
Kernel 1.4:
NoGravity Thermal locking mecanism
Add DT2W node for OxygenOS and enabled by default
Input boost driver cleanup
Touch drivers tweaks
GPU max stable overclock dropped to 800MHz (835MHz still available)
Updated profiles
Brought back updated Wireguard
Added back HDR playback feature
Removed old CPU governors
Network GURU app can now be opened
Merged latest CAF tag
Updated to latest Anykernel
Always upstreamed to latest (4.9.215)
And many more under the hood changes/optimisations
Notes:
Kernel and app updates will now show up when they are released on main page of NoGravityKernel App along with device specific changelog and download buttons
NGK Thermal Locking Mecanism prevents ROMs from overriding a thermal selection (Mainly MIUI) (when NGK Thermals are ON only, when they're OFF, ROM will have it's default behavior)
1.3.1 Build:
Kernel 1.3.1:
Rebased Techpack audio driver entirely to fix sound on some ROMs
1.3 Build: Welcome to Mi 8!
NoGravity Kernel App v3.3:
General:
Updated Profiles
Lowered Magisk Toast Messages*
Max GPU Freq Selector
Added an option to refresh GPU Stats
Updated descriptions
Pocophone-Mi8:
New GPU Page:
-GPU Stats
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
OnePlus 2:
DDR Input Boost Toggle
Kernel 1.3:
Fixed Screen Freezes
Updated Profiles
GPU min 160MHz, GPU max 835MHz
GPU optimisations (Governor, Latency)
Better CPU idling
Optimised Schedutil Governor
Changes to EAS Energy model
Updated schedtune,devfreq boosts
Better app opening speed
Exposed a Dynamic Stune Boost Duration tunable to userspace (Now independent to input boost duration) -Small changes to input boost
Sched cleanup
Added FIOPS,BFQ,ANXIETY I/O Schedulers
Updated thermals
Brought back RCU 4.14 backport
Vibration Control
Compiled with DragonTC
Huge compilation optimisations for performance
POLLY Optimisations
Debloated even more
Now Permissive by default, Android 10 Q blobs don't seem ready yet
Always upstreamed to latest! (4.9.212)
And many more under the hood changes...
Notes:
Max GPU frequency of 835MHz is only reachable manually as I don't consider it fully stable. On the other side, 820MHz Overclock is stable and is used in my profiles.
I wanted to use relatively longer dynamic schedtune boost duration compared to input boosts so made them separate in terms of length.
I would recommend turning off No Gravity app toast notifications from Magisk Manager app.
1.2 Build:
NoGravity Kernel App v3.2:
General:
Updated Profiles
Auto-dismiss Apply on boot notification
Updated descriptions
Pocophone:
New Kernel Page to let you control:
-Thermals:
Stock one || Evaluation (NGK’s default)
-Thermal Suspend API:
OFF || ON (NGK's default)
-Battery Thermal Throttling Removal:
OFF || ON (NGK’s default)
-SELinux Switch:
Enforcing (NGK’s default) || Permissive
New DTS Eagle (Sound) Page
OnePlus 2:
Fixed App opening on AGK
Fixed EAS Dynamic Schedtune Bug
Kernel 1.2:
Updated to latest Touch Firmware
Updated with Xiaomi Q Kernel Source (Touch,Sound,PSU,WLAN,GPU,etc)
Silver cluster will now ramp all the way down to 300MHz for better idle drain
Removed some GPU latency
Underclocked GPU on idle to 170MHz (from 180MHz)
820MHz GPU frequncy step added between 710MHz & 835MHz
New Thermal Suspend API
FSync Control (ON/OFF)
DTS Eagle Software Driver
Bluetooth changes
Optimisations, Removed some bloat
Bluetooth Fixed
Wifi Speed Meter Fixed
Random Reboot Fixed
Blackscreen issue Fixed
SmartPack/Kernel Adiutor issue Fixed
Camera Fix for MIUI Q and ROMs with Q-Blobs (see separate build)
Updated AnyKernel3 changes (No Need to flash magisk after updating!)
Always upstreamed to latest! (4.9.210)
And many more under the hood changes...
Notes:
Thermal Suspend API : This is a small API I’ve written in the kernel directly (to make sure no background services are running for it) that unsets NGK thermals when screen turns off and enables them back when screen is turned back on. (This fixes some issues on some specific ROMs where screen wouldn’t turn on or phone would random reboot while device sleeps or is charging)
There is now a camera fix version to fix camera on ROMs with Q-Blobs like MIUI Q, so if your camera isn't working flash this one.
Kernel 1.1 Pie Edition:
NoGravity Kernel v1.1 now working on Pie ROMs
Using v1.0 Base
Notes:
This kernel uses v1.0 base so will work on both Android Pie and Q ROMs/Ports/MIUI
From now on releases will be separate in 2 builds: [9] and [10]. People on Android 10 should use [10] builds since it is rebased to Full Q CAF sources even tho [9] build would still work.
1.1 Build: Welcome to No Gravity Kernel App for Pocophone!
NoGravity Kernel App v3.1:
Pocophone F1 support added
Balance(Default),Performance,Battery & Gaming Profiles*
Precise CPU temperature for both Clusters separately
Kernel 1.1:
Rebased completely to full Q CAF (LineageOS Staging)
Removed CPU overclock*
Removed charging throttling*
Many Optimisations
F2FS updated with GC and changes
Debloated the Kernel
Westwood(Default) & BBR TCP Algorithms added
Using 2048kb read ahead
Fixed ZEN I/O Scheduler initialisation
Picked port of RCU's taken from 4.14
Updated SDFAT to EXFAT
Removed a CPU boosting driver that could conflict with another
Battery oriented tweaks
Tried to fix random reboots and other issues some people were getting
Always upstreamed to latest! (4.9.206)
And many more under the hood changes...
Notes:
Profiles also have a QSTile for fast switching
If you didn’t already know it was only placebo/performance wouldn’t change, but don’t worry there are other ways to make performance better
If you want charging throttling, you can set it back on here by setting the value to N instead of Y: sys/modules//sys/module/smb_lib/parameters/skip_thermal
MIUI ROM/Port variants may have some issues but I didn't have much testers on those so please send logs if you have issues
1.0 Build: Welcome to Android 10 & Pocophone!
Kernel:
Overclocked CPU (Silver 1.76->2.0Ghz, Gold 2.8-> 3.0Ghz) (Will boot with stock clocks)
Energy model modifications to fit NGK overclocked frequencies
GPU Overclocked to 835 MHz
GPU Underclocked to 180 MHz on idle
Using Evaluation Thermals (For now..)
NAP power saving state for Adreno 630 GPU
Added Adreno Idler
AdrenoBoost
Dynamic Stune Boost
Devfreq boost and Cpu Boosting drivers
Disabled ZRAM
Faster Applications Opening speed
Slimbus Overclock
Added Fingerprint boost
Added WakeBoost module
Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
Added Maple, SIO and FIOPS I/O Scheduler
Power Efficient Workqueues
Sound Control support
Maximum charge rate over USB 3.0
WireGuard Support
KCAL Support
K-Lapse 5.0 Support
Blocked wakelock (Boeffla & more)
Fingerprint improvements
Caches optimisations
Compilation optimisations
Novatek touch firmware from 10.3.7.0
Always upstreamed to latest! (4.9.201)
Using Anykernel3
And many more under the hood changes...
Useful Stuffs
Useful stuffs
Clean flashing a kernel:
1. Boot into recovery
2. Wipe dalvik/art cache, cache, system and vendor(if recovery have this option)
3. Reboot into recovery (only needed on some recoveries)
4. Flash latest ROM zip
(Optional) Flash other zips like GApps, DFE, etc depending on ROM and your preference
5. Flash latest Magisk zip
6. Reboot into system (yes boot with stock kernel first)
7. Reboot into recovery
8. Flash latest NGK Kernel zip
9. Reboot and enjoy
Not to be confused with a ROM clean flash!
Do not wipe data or internal storage!
Taking logs
Screen Freezes:
-Connect phone to PC
-Run following commands in terminal:
[*]adb shell
[*]dmesg
Random Reboots:
-When the random reboot occurs press the TWRP button combo to got straight into TWRP
-Send the pstore folder as a .zip file located in /sys/fs/
Any runtime kernel/app related crashes that doesnt make the device reboot or freeze:
-Use Matlog app on play store
-Start recording before the issue
-Stop recording after the issue
-Send the .zip file created
Kernel + App Update
Good news !
NGK 1.3 and 3.3 app are up with some good additions! Mi 8 is now supported. Make sure you read the changelog...
Thanks to everyone who donated until now, that's really appreciated. I don't want to force anyone to do so, but we are almost there as you can see here: Crowdfunding
thanks again
Back to work
camera disconnected on ion Os 10.0
thanks for ur great job.
-------------
edit
I try other version with P Blobs and works fine thx.
megaxp said:
camera disconnected on ion Os 10.0
thanks for ur great job.
-------------
edit
I try other version with P Blobs and works fine thx.
Click to expand...
Click to collapse
Thanks glad you like it ?
Looking forward to testing this bad boy
there is no sound on last miroom beta rom with this kernel
Thanks for this man, the only thing I'm jealous of the poco community is the amount of roms and kernels they get haha.
I'll try this when I get home!
Me too, no sound on Revolution rom 20.1.31
Murik01 said:
there is no sound on last miroom beta rom with this kernel
Click to expand...
Click to collapse
chickyboy001 said:
Me too, no sound on Revolution rom 20.1.31
Click to expand...
Click to collapse
There are P blobs and Q blobs versions, try both, one should work. (this is not for Android P and Android Q versions, it's for blobs, blobs are a different thing, google if you want to get technical).
If not working with any version then it's indeed a bug.
Sorry but I don't understand it. Can you give more detailed instructions?
Where I can find P blobs and Q blobs versions?
chickyboy001 said:
Sorry but I don't understand it. Can you give more detailed instructions?
Where I can find P blobs and Q blobs versions?
Click to expand...
Click to collapse
Here.
Read the first posts more thoroughly next time before flashing stuff.
Another One...Thanks to our humble and awesome DEV!!!!
Boots and seems to work, camera does too on latest los 17 build.
Unfortunately there's no audio at all.
Let me know if I can provide logs, help, or test.
Thanks!
I try P blobs and Q blobs versions. But it still has no sound
Okay, so a looooot of people asked for a telegram group..
Here it is:
NoGravity Development Telegram Group
https://t.me/nogravity_dev
Notes:
-I wont be posting test builds there
-This is for discussion related to my projects
-I won't be able to handle the spam and don't tag me for nothing, I have a life too so I won't be reading everything. I will read everything that is here on XDA only. If you tag me there I will most probably read it but dont expect me to be super active there.
See yall there
Noted for sound, I will have a look. Yall can try sending logs
Pierre2324 said:
Noted for sound, I will have a look. Yall can try sending logs
Click to expand...
Click to collapse
Great, will do once I get the chance!
Pierre2324 said:
Noted for sound, I will have a look. Yall can try sending logs
Click to expand...
Click to collapse
I think dts eangle is the problem.

Themes / Apps / Mods [MAGISK][MOD+APP] ButterLimits v6.1 for OP9P/9R/9 OOS 11/OB ~ [Its always buttery but never compromises with battery]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ButterLimits​ButterLimits - Its A Magisk Module with many features that some you can see and some you can only feel by your device usage.
Its A Magisk ROM or Magisk MOD, we can call it anything. But, I am just releasing it in MOD section because I think its a right place for it because Full ROM is a complete ROM with all system files [Big size] and a small part with custom settings and patches or with some apk files can only be mod or a theme.​Why its name is ButterLimits?​Many of you already heard "ButterSmooth" in Android Developing, but why?, Because of its smooth functions, smooth touch responses and fast working device.
But many times ButterSmooth experience can eat a lot of battery that our device not supposed to. So, when we add some limits to it for a perfect balance between performance and battery backup.....
Then here comes A ButterLimits and yes its for OOS 11 only right now. But if we remove and edit some files then it should also work as A Universal Mod but not all the features that come for OOS 11 and Open Beta​Features:​-UI Tweaks-​Blur effect in background when pull down notification panel and in some more places.
-------​-Basic Level tweaks-​RAM Tweak
Faster Boot tweak (Not noticable)
Improved Audio/Video Recording Tweaks
Improved Gaming Tweaks
Improved Signal Tweaks
Internet Speed Tweaks
Makes Streaming videos Stream Faster Tweak
Graphics Enhancement Tweaks
Scroll and Touch Responsive Teak
Disabled some background logging and data sending
Small Power Saving Tweaks
Dialing/Calling fast Tweaks
Some Dalvik Tweaks
-------​-System Level Tweaks-​Filesystem mount Tweaks
Optimized Media Servers and GMS to save battery
UGMS Doze to save battery
Some more Doze Tweaks for better battery backup
Disabled some Google Wakelocks (Will not harm anything) - will give just better battery backup​-Kernel and CPU Level Tweaks-​Customized CPU Active Settings for different situations
Some CPU Frequency Tweaks
Forcibly switched off some kernel logging
Some Optimization Tweaks for Improved userspace experience
Small Entropy Tweaks for good balance between performance and battery
Some kernel tweaks to remove wasted CPU cycles
Disabled some kernel Console
Optimized CPU bandwidth
Some more CPU level Miscellaneous Tweaks
Some kernel level network Tweaks to reduce battery eating
Virtual memory Tweaks for good balance between performance and battery
Turned off some kernel debuggers to improve performance and battery life
Disabled Debugging logs to reduce power usage
Disabled GPU Frequency based throttling
Kernel level tweak for better Idle Battery Life
Some more kernel level Miscellaneous Tweaks
Some kernel level Dalvik Cache Tweak
Some kernel level Deep Sleep Tweak
Some non-useful ****s Removed (Cycles timely)
Fstrim Tweak
-------
ZRAM Tweaks
-------​Now ButterLimits comes with 3 modes and The ButterLimits App​Details in 3rd Post - Please read that
-------​Requirements to use ButterLimits:​-Device in a working state with Latest Magisk at its place
- OnePlu 9P/9R/9 with OOS 11 Stable/openBeta
----​-Flash Instructions-​- Download compatible version (Stable or OpenBeta)
- Do not flash just after rom install. Make sure your device is already have working magisk and Phone is fully settled when installed new/updated rom
- Flash ButterLimits in Magisk Manager only and reboot
- After boot when your device is on lockscreen or homescreen, please wait for atleast 2 minutes to make all processes done.
-------​-Update Instructions-​-Before updating to latest OOS update please remove it first
-After updating to latest OOS and then install ButterLimits again​-Uninstall-​You should uninstall ButterLimits with ButterLimits App only
-------​Telegram Channel​
Link removed - development no longer active on Xda​-------
Telegram Group​Link removed - development no longer active on Xda
-------​
CREDITS:​A BIG THANK YOU to A Developer @topjohnwu - the founder of Magisk.
Magisk is like A God to all Android Modding world right now and the main features is System-Less (It defines itself). On the other side it comes with a lot of features...
@fOmey
@iglitch
@ lAlKenDi
@gloeyisk
@Chainfire
@Zackptg5
@osm0sis
All member of Team- Magisk and more...​
If you Like my works or like ButterLimits
- You can donate me by buy me a coffee of your choice
Or
- You can Donate me here - Playstore Link
Downloads-​Please don't make mirrors
Before Download please remember some points below:
ButterLimits works well only on Global/India Softwares. EU not recommended
Developer of ButterLimits will not be responsible for any harm to your device
ButterLimits is not developed to harm any device, but to give your device better
Precautions are in your hands.
Click to expand...
Click to collapse
1. ButterLimits is heavily based on Stock Kernel
2. Some VM Tweaks may or may not conflict while using any custom kernel (can or cannot create some issues)
3. ButterLimits on each boot force kernel to use Schedutil Governor.
4. ButterLimits uses CPU/Governor Tweaks for and on Schedutil Governor only.
5. If you change settings from any kernel tweaking app or just change governor, Then assume it that many CPU/Kernel Tweaks (from ButterLimits) are not in use anymore and conflicting.
6. With ButterLimits, If you use any other mod also that contains Kernel/CPU/GPU tweaks that can heavily create issues.
7. ButterLimits Does it's best with Stock Kernel when it's alone.
8. But obviously you can try ButterLimits with different kernels. (But in that can if you get some issues, it will be difficult or impossible for me to solve it)
9. If you have any sound mode then I recommend trying ButterLimits without any sound mod first to experience actual ButterLimits Sound Enhancement, And then later you can do experiments with other mods.
Conclusion:
Don't expect any support if you are on a custom kernel or sound mod.
However, I may help if possible but don't expect it.
But you can get help from other users in a thread.
Click to expand...
Click to collapse
-----
Please don't make mirrors
Download ButterLimits v6.1 Universal​> Android File Host < [OP9P/9R/9]​
For any OOS 11 version or OOS 11 OpenBeta version
Changelogs/Infos​
ButterLimits App​
With ButterLimits App, you have some options to test with according to user's need
ButterLimits App only works with an Internet Connection and App needs Root Permissions to run the scripts.. This will not use any noticeable data.
What does it do with Internet Connection?- Scripts included in App are server-based, so updating the script will fetch the selected option's latest script that is available on the server.
Without Internet Connect, app will not work.
There are 3 steps that a user has to follow-
1. Select - User has to select what he/she wants
2. Update - The user needs to update the latest script from this option
3. Run - User needs to Run this to complete the process, device will reboot after completion.
Available Options and Details:
1-ButterLimits (original) (balanced) - This option will change the script back to the normal/balanced mod that ButterLimits comes with. This will not interfere with any Sound Mod changes.
2 BLBattery Mode - This will give the best battery backup from ButterLimits on the account of some performance. This will not interfere with any Sound Mod changes.
3. BLExtreme Mode - This give you the best Performance/Smooth UI from ButterLimits on the account of some battery backup. This will not interfere with any Sound Mod changes.
4. EU Compatible Mode - If you are on EU Device/Software or any Branded/Carrier OP7 device and you encountered some issues using this then you can turn this on. [After this, you can still use first 3 options, i.e balance, Battery and Extreme. They will run as EU Compatible mode]
5. Disable EU Compatible Mode - This will disable EU Compatible Mode and you will be back on normal ButterLimits.
6. Uninstall ButterLimits completely - This will Remove ButterLimits from your device completely including log files.
NOTE: If you have done any changes and need to check or verify what changes you have made since installed, then you can find a file "YourBLchanges.log" in your phone's internal storage.
Click to expand...
Click to collapse
Changelogs-​
v.6.1​-Removed Sound Mode Completely
-Back to neat/clean and better tweaks
-Removed FP Animation Substratum
-Removed Disable Complete Doze Option [As the script has been modified]
-Fixed many tweaks within all 3 modes [Scripts]
-Small changes in Extreme mode to give better performance
-2 options added - Enable EU Compatible Mode and DIsable EU Compatible Mode - EU Compatible Mode is especially for those who are with EU Device/Software or any Branded/Carrier device and having some issues and also for others who are having similar issues. [Anyone can try this]. All 3 profiles, Balanced, Battery, and Extreme will work in any mode depending on the mode selected.
-Fixed some scripts that were partially working
-Redefined many tweaks
-ZRAM Tweaks Added as follows- In ButterLimits or Battery Profile, ZRAM is completely disabled. And in Extreme Profile ZRAM is enabled with tweaks.
​
Spoiler: Previous Versions' Changes
v.5.0​-Now comes with ButterLimits App - Details can be found in this post above
-New Battery Mode, now ButterLimits have 3 mods - ButterLimits/Extreme/Battery
-Optimized More Power to Extreme Mode
-Many options are available for a user to select
-Added custom Fingerprint Animations that can be used with Substratum Theme Manager
-- To use Custom Fingerprint Animations by ButterLimits, Open ButterLimits App, and Install custom Fingerprint Animations, After reboot open Substratum and open This theme, then follow steps.
-Fixed many unstable things withing script
-Fixed Sound/Voice issues
-Fixed many many things
-Mod can be uninstalled completely with ButterLimits App.
​v4.0​Performance
-Optimized touch UI tweaks - improves smoothness in systemUI
-Optimized Apps' Launch
-Optimized Database data
Battery
-Some Battery optimizations
Net
-Optimized Net Buffer Tweaks
Sound
-Optimized incall volume boost
-Introducing Dolby Bass+ v3 with ButterLimits v4.0
-Enhanced by Sony Sound
-Optimized Noice Cancellation in Headphones
Other
-Now Tweaks will run every 24 hours automatically
-On each reboot also Tweaks will run and then every 24 hours.
​v3.8​-Optimized Filesystem mount system
-Added sync function for more stability
-Added and modified some lines to make it more Kernel friendly
-Optimized some performance tweak
-Fixed SMS/MMS delay
-Fixed extreme mode
-Fixed distortion sound all over
-Now more better Clear Bass and normal loud
-Some more modifications
-You may experience better performance than previous version without compromising battery backup
​v3.6​-Installing this will remove any old version of Butterlimits from your device automatically
-ButterLimits for OP8Pro is now OOS 11 Universal
--For any OOS 11 version or OOS 11 OpenBeta version
--But its safe to remove it before updating OOS and then install it again
-Framework tweaks removed
-Some Battery Optimizations
-Small Fixes
-Added Extreme Mode
-1. Normal Mode (Original ButterLimits)
-2. Extreme Mode (Gives some boost to ButterLimits - can eat small battery backup)
v3.1​-Busybox not in Requirements anymore
-Rewritten Inside script
---This took a big time to get a perfect output
-Fixed some lag
-Fixed incoming call display delay
-More Touch Responsive
-More Idle battery +
-Disabled Debugging logs to reduce power usage
-UGMS Doze - Now completely based on v1.8.2
-Optimized UGMS Doze
-Optimized other GMS Doze
---ButterLimits comes with more doze feature than UGMS Doze
-Optimized GMS Blocker
-Optimized CPU Frequency Tweaks for a good balance for all CPUs
-Optimized GPU Tweaks
-Changed the values for GPU Throttling in several cases
-Optimized tweaks for Scheduler
-Optimized tweaks for Fast Sensivity in Game
-CPU/GPU Boost control for several cases
What is extreme mode, and how does it differ from normal mode?
Ty @Mohitash for such news. Welcome onboard of the O+9 Series wagon. Since two weeks mods, roms, kzrnels and really good stuff from devs like you bring amazing scene to our belove device.
You confirm this mod is OnePlus 9/9pro Optimised (as I can see some OnePlus 8 references in the describtion)?
As it seems heavily stock kernel optimized, would you recommand to uninstall custom kernel and revert back to stock before using this ?
Onz more time ty !!
phr0zen said:
What is extreme mode, and how does it differ from normal mode?
Click to expand...
Click to collapse
Extreme mode will give some boost to performance in exchange of some battery backup
Fre$h said:
Ty @Mohitash for such news. Welcome onboard of the O+9 Series wagon. Since two weeks mods, roms, kzrnels and really good stuff from devs like you bring amazing scene to our belove device.
You confirm this mod is OnePlus 9/9pro Optimised (as I can see some OnePlus 8 references in the describtion)?
As it seems heavily stock kernel optimized, would you recommand to uninstall custom kernel and revert back to stock before using this ?
Onz more time ty !!
Click to expand...
Click to collapse
OP updated...
You can experiment with custom kernels but as mentioned above you "can or cannot" get issues. Or even you may get some better stuff.
But ButterLimits do its's best with the stock kernel as it's based on it
Other Important points are already mentioned in post 2 as you know.
Regards
Mohitash
Ok.... I was fully expecting this to be a gimmick. Like XXX no limits. Up until recently I didn't think Magisk ROMs did much of anything, and we just b.s.
Boy was I wrong. This actually does do exactly what you claim, so far. The touch response improvements are amazing. I have extreme mode on right now -- and holy smokes, it's ridiculously fast.
Are there any plans to open source?
Nice to see you here now on 9 Pro.
If anyone getting sound issues,​Please Try this and please report that audio issues is solved or not + how is sound now. Should be better​
EDIT: Attachment removed. The same is updated in Download section
Regards
Mohitash
I'm in omega kernal right now, can I flash this?
I dont hear andy Sound difference. Will test now the fix.
Edit: With the fix also no difference. Sound is always the same.
Hot-Proton said:
I dont hear andy Sound difference. Will test now the fix.
Edit: With the fix also no difference. Sound is always the same.
Click to expand...
Click to collapse
Tried with good headphones?
In Speaker mod, you can hear a slightly loud sound
In Good headphones, you can feel the difference.
In Poor or local headphones - You can't compare.
I only have test with internal Speaker. Dont have Earphone. But nice Mod and battery is much better. Download Link not work.
Hot-Proton said:
I only have test with internal Speaker. Dont have Earphone. But nice Mod and battery is much better. Download Link not work.
Click to expand...
Click to collapse
Link Updated.
Thanks
It sounds worth trying but can you use it on every update ? Like 11.2.5.5 or do you always need the latest update i couldn't find it in the post that's why I'm asking. I'm using 11.2.5.5 because the heavy battery drain in 11.2.6.6 is to much i needed to charge my phone 3 times a day
HessNL said:
It sounds worth trying but can you use it on every update ? Like 11.2.5.5 or do you always need the latest update i couldn't find it in the post that's why I'm asking. I'm using 11.2.5.5 because the heavy battery drain in 11.2.6.6 is to much i needed to charge my phone 3 times a day
Click to expand...
Click to collapse
#1 says "OnePlu 9P/9R/9 with OOS 11 Stable/openBeta".
where's the sound fix?
Flying Fox said:
#1 says "OnePlu 9P/9R/9 with OOS 11 Stable/openBeta".
Click to expand...
Click to collapse
Oh thank you i didn't see that i will give it a try then but will it work with viper4android and the stuff you needed to get it working? Or do I need to delete those ?

Categories

Resources