[KERNEL] [EOL] [OnePlus3T] [OOS 5, 4, 3] Boeffla-Kernel (16-01-2019)

Status
Not open for further replies.
Search This thread

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
It works !! I did not test everything yet, but phone is recognized, and music is working.
I will test later when I have more time with navigation, phone and AA Mirror.

Thanks for your dedication and "customer" support, you're great !
Ok, but this means: more work [emoji3]

I did 3 changes, we need the one causing it.

So if you allow, I would provide 3 more test kernel for you, in each is only one of the 3 changes reverted. Then we will find the culprit.

Ready to go that way with me?

Thanks
Andi
 

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
Try1 : fail
Try2 : OK
Try3: fail

So now, what are the features making Android Auto fail ? And would it be annoying for users to remove them ?

It is the USB keyboard thing (where you can connect your phone to a PC via USB and use the phone as keyboard for it), which causes the conflict.

I am not sure how many people really use that, but I always said: If something breaks stock functionality, I will not do it.

Was not aware, Android Auto has an issue with this USB keyboard extension, so I will remove it in next update.

Andi
 

uaiclout

Senior Member
May 21, 2015
258
69
It is the USB keyboard thing (where you can connect your phone to a PC via USB and use the phone as keyboard for it), which causes the conflict.

I am not sure how many people really use that, but I always said: If something breaks stock functionality, I will not do it.

Was not aware, Android Auto has an issue with this USB keyboard extension, so I will remove it in next update.

Andi
Noooo!

That's sad :(
I really love this feature for auto typing passwords on different computers :mad:
 

nagi_007pk

Senior Member
Aug 23, 2012
238
76
OnePlus 7T
Thermal throttling

Hey Andi

Long time Boeffla user since the S3. Rocking it on my 3T as well. I was wondering if there's thermal control embedded inside your kernel because I've been playing games like PUBG and Real Racing and initially the game seems to work fine on stock clocks but then after a few mins it starts lagging for some reason. The device is slightly warm but not a whole lot so I think the throttle engages way too early or is it my device? I don't know. Some assistance in this regard would be appreciated!
 

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
Hey Andi

Long time Boeffla user since the S3. Rocking it on my 3T as well. I was wondering if there's thermal control embedded inside your kernel because I've been playing games like PUBG and Real Racing and initially the game seems to work fine on stock clocks but then after a few mins it starts lagging for some reason. The device is slightly warm but not a whole lot so I think the throttle engages way too early or is it my device? I don't know. Some assistance in this regard would be appreciated!

Hi,

the honest answer is: I never had any need to play with thermal engine settings on the OP3 or OP3T (neither on 5 and 5T btw), as I am personally not playing games.

From all what I read so far, there is not a lot you can do apart from removing the thermal-engine binary (which is in /system/vendor/bin) completely, so it does not get loaded. Would I do that? Definitely not. And I have no idea whether you can tweak the configuration yourself by putting some data into /system/vendor/etc/thermal-engine.conf, this was possible on the OP2, but no idea on the OP3.

Maybe a good post/thread for you:
https://forum.xda-developers.com/showpost.php?p=76693990&postcount=20

I have no plans to incorporate any changes on kernel level for this, as it is not controlled by the kernel but a binary which is closed source.

Andi
 
  • Like
Reactions: 30adi

cukierkas

Senior Member
May 26, 2010
2,161
683
Xiaomi Mi A1
OnePlus Nord 2 5G
Hello dear Lord, just migrated to stock oos 5.0.3 from la14.1. Maybe I was scared by your eol thoughts:D
Anyway, I'm happy with stock version, happy with your kernel, especially with battery extreme governor profile. A little bit choppy, but nice battery output.
Question: does your kernel messes with background apps quantity, or does it uses stock values? Should I use f.e. 60? What are thoughts regarding ram filling?
Regards, happy user.
 

MartinMo

Senior Member
Mar 10, 2011
66
16
Question: does your kernel messes with background apps quantity, or does it uses stock values? Should I use f.e. 60?
Regards, happy user.
You should look at the settings you can see in my screenshot. There you can make settings which determine the behaviour you're interested in. I activated this only to make the stock values - which are activated - better readable. FYI: LMK is the abbreviation for Low Memory Killer. That should help with further own searches.
 

Attachments

  • Screenshot_20180627-155009.jpg
    Screenshot_20180627-155009.jpg
    130 KB · Views: 162
Last edited:
  • Like
Reactions: cukierkas

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
Question: does your kernel messes with background apps quantity, or does it uses stock values? Should I use f.e. 60? What are thoughts regarding ram filling?
Regards, happy user.

Default settings in my kernel are stock LMK settings.
But you can play with it and try to improve for your usage scenario in Misc 1 screen of Boeffla-Config.

Andi
 
  • Like
Reactions: cukierkas

cukierkas

Senior Member
May 26, 2010
2,161
683
Xiaomi Mi A1
OnePlus Nord 2 5G
Danke for the answers,I'm as light user,was expected kernel adiutor interface,with options to choose, like aggressive,light,very light,etc.
Another part of my question was quantity of background apps. By default it's 32, at Franko kernel it's raised till 60. Same did and I, expecting more apps by the hand.

https://ibb.co/bE4GvT
 
Last edited:

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
Danke for the answers,I'm as light user,was expected kernel adiutor interface,with options to choose, like aggressive,light,very light,etc.
Another part of my question was quantity of background apps. By default it's 32, at Franko kernel it's raised till 60. Same did and I, expecting more apps by the hand.

https://ibb.co/bE4GvT
Let us know how it works for you with the increased value.

Andi
 
  • Like
Reactions: Pablo.x

cukierkas

Senior Member
May 26, 2010
2,161
683
Xiaomi Mi A1
OnePlus Nord 2 5G
Let us know how it works for you with the increased value.

Andi
Gutten morgen. There are issues with apps killing I don't like, like sudden clearing up, nor normal app clearing is opted in, but I'm more happy, that about 50 apps now's sits still in memory without putting the lock at recents.
The best part I'm happiest about - inbuilt wakelocks blocker. BBS (better battery stats) is now showing results I do like.

Guys,short question from other opera. Is there a way to make flashlight turn off automatically or in certain time span, like on lineage? Really miss this feature, which stock is missing. Yesterday night I have left torch turned on, so whole night led was enlighten:)


Edit:
Updating after some time of testing.
Changed lkm values to really ridiculous values, multitasking is really better, no reloads at all. All 6GB nearly are filled. As I'm not a gamer, I'm happy with result.
https://ibb.co/hFah4o

Some other app tweaks. Big cluster left at extreme battery, little at interactive-battery. Max cpu frequency reduced to 1.4GHz. Hotplug at big core reduced 1.
Boost reduced to 844MHz.
Not snappiest device in the world, but usable as a daily driver for sure. Would like to reach 7-8hrs of sot, will see if its possible. What can be done to squeeze more for battery sake, having still a fast device? Not gaming for sure.
Regards.
 
Last edited:

Blackz Afiqz

Senior Member
Jul 11, 2015
56
18
What do you mean by 3rd party apps overwrite exactly? Do you have an example?

Andi


I compiled your kernel by myself to enable ttl module. However, I can't change the CPU frequency because it will revert back to 1.4ghz. I found out that in your config app, there are some setting that restrict 3rd party apps to overwrite min/max freq overwrite , so how can I disable this restrictions?
 

andip71

Recognized Developer
Apr 22, 2008
17,099
67,647
Potsdam
I compiled your kernel by myself to enable ttl module. However, I can't change the CPU frequency because it will revert back to 1.4ghz. I found out that in your config app, there are some setting that restrict 3rd party apps to overwrite min/max freq overwrite , so how can I disable this restrictions?

You do not need to disable that on kernel side, default is to allow overwrites.

However, if you have Boeffla-Config app installed, it triggers the lock down. To allow overwrites while Boeffla-Config is installed, just go into app settings and in the Allow-Overwrites section there, tick what you want to allow overwriting.

Without app, there should not be any lock (but of course not recommended to not use BC app).

If you want to revert it from kernel, you need to revert the commit which is called something like "hard limit frequencies" etc. It might require some fiddling as I think there are follow-up commits leading to some merge conflicts naturally. But it is doable of course.

Andi
 

Blackz Afiqz

Senior Member
Jul 11, 2015
56
18
You do not need to disable that on kernel side, default is to allow overwrites.

However, if you have Boeffla-Config app installed, it triggers the lock down. To allow overwrites while Boeffla-Config is installed, just go into app settings and in the Allow-Overwrites section there, tick what you want to allow overwriting.

Without app, there should not be any lock (but of course not recommended to not use BC app).

If you want to revert it from kernel, you need to revert the commit which is called something like "hard limit frequencies" etc. It might require some fiddling as I think there are follow-up commits leading to some merge conflicts naturally. But it is doable of course.

Andi


ouh nice, but can you make bc app functional on another kernel? i really love your apps!
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 94
    *** This kernel is now end-of-life, not supported and developed anymore !!! ***

    Hi all,

    some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3, 2, one and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)

    Please note:
    I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).

    Compatibility

    Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
    So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
    I could not care less about it !!

    To add: An open beta (aka community build) is NOT an official build supported here. If you use a community build and have issues, don't complain or even report. I am not merging any kernel changes from open betas into my kernels !!


    Important notes

    When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !

    This kernel is ONLY compatible to OxygenOs stock, nothing else !!!

    If you are using a custom rom that bases on OxygenOs, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is OxygenOs stock.

    It is not supposed to be compatible to CM, HydrogenOS etc.

    Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.


    Installation

    Read the install instructions in the support section on the Boeffla Site.


    Support


    First read the FAQ section on the Homepage !!!

    Click here to learn about all possible kernel settings in the config app (outdated at the moment).
    Click here to learn about using the config app (outdated at the moment).

    I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.

    I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.

    I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.

    Otherwise, you can get in touch with me via the support e-mail address: [email protected]

    Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.


    Change logs

    (you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")

    Change log for OxygenOS 4.x.x kernel - Click here
    Change log for OxygenOS 3.x.x kernel - Click here

    Known issues

    • none

    Features

    • Note: This kernel only runs on OOS 3.x.x for the OnePlus 3T - nothing else !!!
    • Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
    • Full integration with Boeffla-Config V2 (you need at least version 2.4.21 or higher !!!) configuration app (get it from http://www.boeffla.de) 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: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
    • Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
    • No CPU overclocking and voltage interface, no GPU overclocking and voltage interface
    • 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)
    • CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
    • Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
    • Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
    • 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 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
    • Control haptic feedback of gestures (except fingerprint)
    • Haptic feedback intensity control
    • Swipe2sleep gestures
    • Boeffla generic wakelock blocker V1.1.0 (documentation)
    • SD card read ahead buffer configurable (default increased to 1024 kB)
    • Ext4 File system tweaks (only when data volume is formated with ext4, stock default is f2fs)
    • 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 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 are locked as long as screen is in use (touched) for better usability
    • Swap supported
    • Doze mode switchable
    • Verifiedbootstage flag remove to avoid triggering safetynet
    • Various minor 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!)
    • Entropies configurable
    • Automatic EFS backup
    • Integrated full busybox 1.27.2 (own compilation)
    • Kernel initialisation log file (with history of 3 log files)
    • Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
    • Security patches included, which are not in the official repo
    • Google gcc 4.9 toolchain (64 bit) used for best stability
    • Always based on latest OOS kernel sources (https://github.com/OnePlusOSS/androi...neplus_msm8996)

    Download


    For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
    www.boeffla.de


    History and design targets

    Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.

    Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.

    The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
    It aims more for a good mix of all, not sacrificing stability and functionality in the end.
    And - most important: It aims to stay quite close to stock !!!

    These design targets are also valid for the OnePlus kernel here!!!

    This said, I will definitely NEVER implement:

    • things I do personally not need
    • things I do not like
    • things that are in any way dangerous
    • anything which is highly experimental
    • a CAF based kernel
    • anything that requires upstreaming of kernel parts to a higher kernel major version
    So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.

    And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
    I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...


    Compatibility

    To reiterate it again: Flash the kernel only if you are running a compatible rom !!!


    Configuration of the kernel

    To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.

    You need at least version 2.4.21 or higher for the OnePlus 3T Boeffla Kernels.

    Donation

    If you like my work, feel free to donate: Donation-Link

    If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.


    Source code

    All sources can be found in my Github repository: http://github.com/andip71


    Credits to developers

    Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:

    * ZaneZam
    * Grarak
    * Yank555
    * Hardcore
    * Chainfire
    * AndreiLux
    * Netarchy
    * Gokhanmoral
    * Simone201
    * Mialwe
    * Entropy512
    * Faux
    * Harunjo
    * FranciscoFranco
    * Ak
    * Osm0sis

    ... I just hope I did not forget someone. If so, please let me know and I will add you of course.
    Thanks to all of you for your great work !!!


    Disclaimer

    *** As always - Flash on our own risk! ***

    Make sure you flash the correct version depending on your firmware version!

    I can and will not take any responsibility for bricked phones or lost data.

    It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.


    Cheers and enjoy
    Andi
    27
    Hi all,

    important maintenance update for the OOS4 kernel is out.

    OnePlus just released a source code update (an hour ago) to correct wrong voltages for a regulator. So I decided to put that immediately in an updated Boeffla kernel.

    Version 2.0-beta3
    06.02.2017

    • Change: Update with latest OnePlus code drop as of 06.02.2017
      (correction of voltages on a regulator)
    Enjoy
    Andi
    26
    Guys, I have seen it :)
    I was amongst the first ones that noticed (i.e. I noticed 9 minutes after the push was done)

    I understand you are all excited, so am I. But now it will take time first, I am not having a lot these days.

    Andi
    25
    OP3/T OOS4 users... now it is going fast. Kernel reached my internal alpha state for both devices now.

    Smoke testing starts...
    23
    Final stable release

    Hi all,

    it seems, OOS 5 is now pretty solid and I do not expect major updates anymore.
    And as there will be no OOS 6 support by me anymore, I want to finally close my development part on OOS for the OnePlus3/3T.

    Therefore, the last stable and final kernel for OOS 5 is now released.

    Please note, this kernel is automatically end-of-life now, will not be developed and supported anymore.

    Version 3.0 stable - final
    16.01.2019

    • Note: This kernel version is only for Android Oreo OOS 5.0.4 or higher
    • Change: Internal kernel busybox updated to latest version 1.29.3 (self-compiled from sources, www.busybox.net)
    • Change: USB fast charging with 900mA (on by default in Boeffla-Kernel) can be disabled by advanced users in case of issues with a shell command in Boeffla-Config scripting screens or any scripting app (echo 0 > /sys/kernel/charge_levels/enable_usb_fastcharge)
    It was a great ride with you guys for this phone and I enjoyed the time a lot.
    But now on to new and different things in my life. Have a great time and maybe see you again on day somewhere.

    Thread gets closed now too.

    Cheers
    Andi