Overclock Underclock OnePlus 5 android phone by using custom kernel

Overclock Underclock OnePlus 5

Do you want to squeeze more performance from your OnePlus 5 android phone? Do you want to increase battery life of your OnePlus 5? We have a solution for that. Install custom kernel that will allow you to play around with the clock frequencies and many other things. The kernel that we will be using is Boeffla custom kernel that works like a charm with the OnePlus 5. However, you cannot use any app to control the clock speed – you have to use the Boeffla config app. Before using the app, make sure to disable battery optimization for Boeffla config app in the ROM settings. For that, go into battery -> battery optimization.

Download correct Boeffla-Kernel zip (not the md5 file) and Boeffla-Config app
Enter oneplus 5 custom recovery mode (TWRP recovery suggested)
Flash Boeffla-Kernel zip file
Manually install Boeffla-Config App
Take Boeffla-Config out of battery optimization when on Android L, M or higher
If you have an external SD card and are using adopted storage, make sure the app is on your internal storage. Otherwise you will face issues.
Reboot (if you do not reboot now, you will get an error message in Boeffla-Config)

Support of any kernel concept (only latest kernels) – flash stock kernel before flashing Boeffla
* Full integration with Boeffla-Config V2 (you need at least version 2.4.38 or higher !!!) configuration app to configure all kernel settings
* Dash charging fully supported
* The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
* Additional governors: zzmoove, blu_active, impulse, cultivation
* Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, maple, zen
* Underclocking CPU and GPU supported
* No CPU and GPU overclocking (turned out to be slightly instable)
* No CPU and GPU voltage interfaces (not planned too)
* GPU boost implemented (4 levels)
* CPU core profiles to restrict number of CPU cores being used (the OP5 does not hotplug based on load)
* USB charge rate bumped up to 900 mA
* Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
* Boeffla touchkey LED control (LEDs fully off, LED on screen touch, configurable duration)
* Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
* Boeffla-Sound engine V1 (headphone volume control, earpiece control in calls, microphone gain control in calls)
* Dynamic FSync (activated if screen on, deactived if screen off), configurable
* Input boost frequencies and duration configurable per CPU cluster, input boost switch
* Show CPU frequency usage per CPU and frequency in Boeffla-Config
* Show current CPU core frequencies in realtime (note: other apps than Boeffla-Config will likely display wrong information on offline cores as they are not up-to-date yet)
* Show GPU frequency usage per frequency in Boeffla-Config
* KCal V2 Color control
* Display backlight limits configurable (to avoid display brightness gets too low in some situations)
* Display backlight dimmer
* Swipe2wake gestures
* Boeffla generic wakelock blocker
* Control haptic feedback of gestures (except fingerprint)
* Haptic feedback intensity control (from 0 to 25, with 25 being 100%)
* Swipe2sleep gestures
* SD card read ahead buffer configurable (default increased to 1024 kB)
* Ext4 File system tweaks (default to on, can be disabled)
* Kernel logger (dmesg) configurable
* CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
* NFS read-only support (module)
* NTFS support (module)
* XBox support (module)
* OTG-Ethernet support (module)
* TCP Congestion changed to Westwood
* Many additional TCP congestion algorithms available
* Entropy values configurable
* Hardware touch keys locked as long as screen is in use (touched) for better usability (default, but configurable)
* Swap supported
* Various kernel tweaks
* Doze mode configurable in Boeffla-Config
* Full selinux strict support (switchable to permissive on demand)
* Show speedbin information (PVS level) in Boeffla-Config app
* init.d support (in /system/etc/init.d – set correct permissions!)
* Automatic EFS backup
* Fully supports OOS device encryption, but does not force it
* Integrated full busybox 1.27.2 (own compilation)
* Compatible with systemless root
* Safetynet: verifiedbootstate + additional flags removed
* Kernel initialisation log file (with history of 3 log files)
* Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
* Google gcc 4.9 toolchain (64 bit) used for best stability