yashsingh1/xdaforums huggingface dataset:
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
This is a work in progress guide to getting great battery life

Note: This guide is meant to be used on my kernel, there's several optimizations that I've left out of this guide because I enabled them by default in my kernel

1. Underclock the big cores to 1900mhz

2. Set the GPU governor to simple_ondemand

3. Set the vibration strength to zero (or close to zero) in the misc section

4. Set the default I/O scheduler to noop

5. Go to developer options and turn off the logger buffer sizes (you will have to turn this back on in order to get a logcat for bug reports, and to pass safety net)

6. Use greenify to enable aggressive doze and doze on the go, and use it to limit background apps

7. If you underclock the big cores even more in kernel adiutor you'll get much better battery life, you'll also get much better battery life if you underclock the little cores to 1440MHz

8. Turn off all animations in developer options

9. In kernel adiutor set the low memory killer values to the aggressive setting

10. Disable fsync (risky, you could lose data if the system crashes)

==================================================================================================================================================================================================================

This is a work in progress guide to getting great performance at the expense of battery life

Note: This guide is meant to be used on my kernel, there's several optimizations that I've left out of this guide because I enabled them by default in my kernel

1. Go to developer options and turn off the logger buffer sizes (you will have to turn this back on in order to get a logcat for bug reports)

2. Use greenify to enable aggressive doze and doze on the go, and use it to limit background apps

3. Turn off all animations in developer options

4. Overclock the little cores to 2188mhz, and the big cores to 2342mhz

5. Disable fsync (risky, you could lose data if the system crashes)

6. Enable ksm, and use zram for more free ram, good for gaming

7. Set the CPU governor to wheatley
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] sva260:
Good job ,

Now I'm on omni , work without any problem

If u can make one for eui this will be great :)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] pgravili:
Thanks! This thread will be useful for all of us!
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] N1m0Y:
Good job? Thanks??

BlackScreen-eas_4-23-17 on RR f2fs OK

BlackScreen_4-23-17 on RR f2fs OK (liveDisplsy Ok)

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] benjmiester:
Very nice. Which one would you recommend for Ground Zero's Tipsy ROM, which is based on Slim?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] venezolano69:
I used both and didn't work, but previous version, I have to try these new versions
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Maxcyber:
Just flashed it with lineage actual release. Many many thanks. Its finally usable!

Great work. Please keep it up.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] FallenPantsu:
Performance/Battery is amazing

So Yesterday i flashed BlackScreen_4-23-17 (Los14.1), today i wanted to test Game performance = Battery usage

and i must say that the Result are Really nice so let me start off by saying thank you for this amazing kernel, it made it possible to play games on Los 14.1 without stuttering.

I roughly played 4 hours and still have 46% this includes Chrome,games,Youtube and benchmarks etc. but see it for yourself i did some screenshots of System monitor and BetterBatteryStats i dont know if you can read the BetterBatteryStats.txt but i figured i add it aswell.

I also followed your guide on Reaching better Performance if that helps.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
It's already included in tipsy...
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Seppitux:
hello, what is settings by default without root and no use Kernel auditor ?

thx thx
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] toanau:
I made a mistake. I flash the image of the kernel onto the image twrp recovery. Now I have no recovery and no root. How do I put twrp in into recovery without a computer
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] pshrey:
But into fastboot mode and then install the twrp Img again using adb tools on your computer
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] N1m0Y:
Hi mosimchah☺️ first of all congratulations for the great work you are carrying on. I'm currently testing the regular kernel and noticed the new up_threshold and down_thresold settings on the CPU board. I tried in op but did not find anything about it. If I understand that the use of these new parameters should serve to turn on and off the second small cluster core in relation to the load of the root core. right? I think with this new implementation you will have a good battery saver. You could better explain how this feature works and how to configure it best. Thanks for the great work??

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Not sure what you're referring too, can you screenshot it
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Overstew:
Thanks for sharing this! Do you have any idea if Double Tap to Wake can be added?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Yes it will be added soon, the lineage team is working on an implementation of it.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] N1m0Y:
Up_threshold and down_thresold???

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] balander:
leeco le pro 3 + lineageOS + blackscreen - antutu score 75000 ...
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Yes, I'm working on it, no eta, you don't want an OC rushed ;)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Sony make.believe:
EAS or regular kernel?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] balander:
regular kernel.. Re-run it and now it's 150.000 (seems ok)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Sony make.believe:
Nice, I will try it with LineageOS 14
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] zapinho:
After some time with version 2.1 the back button does not work, the keyboard fails, it does not appear (google and swiftey) .. after cleaning dalvik cache both come back working, but soon they show faults again
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
I highly doubt this is kernel related, which ROM are you on? I'm not having any issues with the back button on aicp
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] FallenPantsu:
I don't have any issues whatsoever / latest black screen + los14
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] TheDethEgineer:
I had the issue with the back button like 5 times with stock rom, it stopped with Lineage14.1 but then it happened again last week with AICP. I think it is a hardware issue.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] 4K2K:
Much Thank you for kcal. Now I can try roms that do not support LiveDisplay. I always wanted it but did not think it would be possible. Now it is here and it is awesome.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
You're welcome, glad you like it:)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] pgravili:
I use kernel adiutor but I/O scheduler turns, after every reboot, on deadline from noop. Why?

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Did you enable apply on boot?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] pgravili:
Yes

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
################################################################

BlackScreen 2.2​

################################################################

Changes:

1. Up to date with omni, (some improvement for the eas build, added the ir fix from rr, and more improvements)

2. Made maple the default IO scheduler

3. Improved performance, battery life, and stability

4. Improved the impulse cpu governor (for battery life)

As always there's more info on the kernel features (cpu, and gpu governors, hotplug driver, IO schedulers, tcp algorithms, and way more) in the third post, and fourth post

by the way, the omni build includes all the selinux updates from darkobas' lastest eas build

Regular build: https://www.androidfilehost.com/?fid=961840155545568882

Omni build: https://www.androidfilehost.com/?fid=889764386195903117

eas build: https://www.androidfilehost.com/?fid=817550096634773088

don't forget to flash supersu or magisk afterwords if you don't want to lose root ;)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gllark:
Thanks so much, version 1.7 was already good, but 2.2 is absolutely fantastic. I´m using it with RR and it´s getting me already 4,5 hours SOT and I have still almost 50 % battery left. This is awesome!
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gaetanolip:
Hi

4,5 hours with what kind o use?4g or WiFi?gaming? Sync ,GPS,Bluetooth, web browsing,what brightness?

Can you explain please?

Thank you

Inviato dal mio ASUS_Z00A utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] testreaper:
Hello mos, while the kernels which i have always tried on both aicp and other roms are pretty much smooth i cant but just express a heavy issue i am facing a long time now.

Facebook always stutters and this is really frustrating atleast for me. I dont know whats wrong but with stock rom its pretty much smooth without any kind of stutter.

I appreciate your work and i really dont know if this can be resolved but i would be glad if there was a solution to this. Thanks man.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Ace42:
Facebook Lite works fine, whereas Facebook alpha has somewhat choppy scrolling for me. I mainly use lite since it's...lightweight. But I'm using conservative settings, so the big cores aren't on often with Facebook.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] testreaper:
I will be damned i have been trying to get logcat for facebook but i cant get any info about it to show on logs because there isnt any app crash or something like that. I do not know if there is a specific way to get logs for a particular app.

BUT

I just started tempering again on 2.2 with cpu governors and some settings and guess what? Bioshock did the trick. Unbelievable. I will have to see if sot is the same but this governor seems pretty dope for now.

Another question, i am on RR, can i convert data and cache to f2fs with blackscreen kernel? I am rather curious to see if there will be any other significant difference regarding speed.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gllark:
Mostly wifi inhouse, but I have 6 emailaccounts with pushmail, whatsapp, sms and did a lot of webbrowsing. 50 % brightness. No bt and gps at this time.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gaetanolip:
Thank you.

Can you try under 4g and auto brightness?

Inviato dal mio ASUS_Z00A utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] FallenPantsu:
Facebook is just a bad app, you would think a demanding game would have any troubles staying smooth but nope compared to Facebook anything is better.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gllark:
No, sorry. Have to work and need my wifi cause there is no good mobile data connection here. And I have already auto brightness.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Beibybul:
Facebook lite is okay though. Still I don't see the need of installing FB app when we can just open Firefox/Chrome and browse FB without problem.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Ace42:
A browser probably uses more battery than FB lite, and there's a setting in lite to reduce data usage.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] testreaper:
I have to agree but i thought i was going crazy so i went back to stock to test again and its fine asides the typical preload stutter which happens to all devices.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] sweetboy02125:
I'm sure this question already ask. I'm using LineageOS 14.1 official but the battery is not great. Can I flash this kernel on top of LineageOS to set for better battery life? Thank you
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] sweetboy02125:
Thank you. Flashed. WHere can i find kernel editor?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] saraprobe:
Hi [MENTION=6227169]mosimchah[/MENTION]

I am having issues with adaway

Ads are showing up with magisk is there any solution.

I have both systemless hosts and busybox enabled
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
AdAway works fine for me on aicp, which ROM are you on? Audio don't use magisk busybox, it can make you lose root
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] saraprobe:
Coz ads showed up I have just enabled busybox in magisk same result

ROM is RR
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] sweetboy02125:
Do I need to "Apply on boot" all these setting below in the Kernel Audiutor app??

1. In kernel adiutor, in the CPU section, disable the input interval, CPU boost, and touch boost in the main

2. change the cpu governor to impulse

3. Go to the governor tunables

4. Set the go_hispeed_load to 101

5. Set the hispeed_freq to 307200

6. set the powersave_bias to 1

7. Underclock the big cores to 1900mhz

8. Set the GPU governor to simple_ondemand and underclock it to 624mhz

9. Set the vibration strength to zero (or close to zero) in the misc section

10. Set the default I/O scheduler to noop

11. Go to developer options and turn off the logger buffer sizes (you will have to turn this back on in order to get a logcat for bug reports)

12 Use greenify to enable aggressive doze and doze on the go, and use it to limit background apps

13. If you underclock the big cores even more in kernel adiutor you'll get much better battery life, you'll also get much better battery life if you underclock the little cores to 1440MHz

14. Turn off all animations in developer options

15. In kernel adiutor set the low memory killer values to the aggressive setting

16. Disable fsync (risky, you could lose data if the system crashes)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Yes, and I recommend leaving impulse as is if you don't want major lags
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Might be an issue with RR, all I know for sure is that adaway works just fine on aicp
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] sweetboy02125:
other questions: The LineageOS 14.1 update weekly. This Kernel is permanent??? DO i have to reflash the Kernel image everytimes i update?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
It's not permanent, you have to reflash it every time you flash a ROM that doesn't include this kernel
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Ace42:
It's not permanent, kernel will be replaced with the one included with the ROM. This kernel is updated roughly every week or two, so by the time Lineage updates there will probably be a new version of blackscreen.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] kdlake:
Are you installing AdAway with the app, or by doing systemless ads in Magisk?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] saraprobe:
APK

I got another one, magisk module for adblock its awersome
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] unif3d3:
Hey [MENTION=6227169]mosimchah[/MENTION]! I love Blackscreen, but camera doesn't work anymore on latest omni. Are you already working on it?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] trizex:
Can confirm the same.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
I'm aware, it'll be fixed on the next build, just been busy these last few days
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] testreaper:
I cant boot to latest RR(RR-N-v5.8.3-20170610) update with BS 2.2. It also doesnt boot to RR logo which makes it impossible to get logs.

Hopefully you can have a look given your free time, thanks.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] crazy1990:
Just decided to give this a kernel a try. However, I flashed this on Purity rom and it got stuck on boot up. I did follow the instruction in the OP. I try to flash it for the second time, same error.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
I'm about to release 2.3 as soon as the Omni build finishes, so try that one in probably a few minutes

edit, try the new build https://xdaforums.com/showpost.php?p=72649910&postcount=231
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
################################################################

BlackScreen 2.3​

################################################################

Changes:

1. Up to date with omni, (some improvements for the eas build)

2. Improved performance, battery life, and stability a bit

3. (not for the omni build) Fixed several selinux denials, Netflix now shows up in the playstore

Let me know if Netflix doesn't show up in the playstore on omni

Also, this is mainly a maintenance update to fix bootloops, (let me know if rr and lineage still bootloop) and the camera on omni

As always there's more info on the kernel features (cpu, and gpu governors, hotplug driver, IO schedulers, tcp algorithms, and way more) in the third post, and fourth post

Regular build: https://www.androidfilehost.com/?fid=817550096634777403

Omni build: https://www.androidfilehost.com/?fid=817550096634777406

eas build: https://www.androidfilehost.com/?fid=961840155545573192

don't forget to flash supersu or magisk afterwords if you don't want to lose root ;)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] crazy1990:
I flashed this latest build and it boot up, but at purity loading screen. It has been sitting there and kept loading for ten minutes.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
It's probably not compatible with it then, I would need to see the device tree
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] FallenPantsu:
Lineage no longer in bootloop thanks for the update you Rock ! :good:
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] Ace42:
Netflix is still in the store and the camera works for me on omni. Thanks!
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] infrag:
[MENTION=6227169]mosimchah[/MENTION] I assume you havent finished testing you test kernel branch yet? Use msm-thermal-simple driver etc?

It seems interesting and I'm wondering what your findings are with those commits so far? :)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Yeah, it's not ready yet, it's not throttling properly, VillarLeg and I are currently​ trying to fix it and fix the new power hal from sultanxda
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] infrag:
Thanks for the info.

I've missed the whole selinux / netflix not showing up in playstore fix/solution.

Can you enlighten me please? :)

Cheers
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] gllark:
Works fine again with latest RR. Thanks for bringing my favorite kernel back!
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Pick this, or at least just take the DRM parts https://github.com/AICP/device_leeco_msm8996-common/commit/719257c0cc56abc7b6237372861bf154fb87313f

Also make sure you're using my vendor or just pick these:

Although it might with the lineage vendor, I just haven't tested it with it

https://github.com/AICP/proprietary_vendor_leeco/commit/b5c577d02c6cb42c9766fed710fcd32b32e99385

https://github.com/AICP/proprietary_vendor_leeco/commit/277e81d54d2508761392346559a7ea508376ccca

https://github.com/AICP/proprietary_vendor_leeco/commit/9fd05c160282a6eacdb0584908b7df03f75e0a60

https://github.com/AICP/proprietary_vendor_leeco/commit/1676126c870c2ad40ff9fb12099714bcfae37c30
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] infrag:
Thanks for this.

So with these changes selinux needs to be set to enforcing for netflix to show?

Also does your ROM pass safteynet checks with root installed and no magisk su hider ?

Edit:

Nevermind I did some more reading and found out what I need to know. Google keeps updating safteynet so its going to be continuous fun. Thanks for your help.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Selinux can be on permissive for Netflix, and my builds used to pass safety net until Google updated it...
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] infrag:
I still cant get safteynet to pass.

Might be something to do with have user builds instead of official.

However I've fixed up DRM using LOS blobs. It seems I stuffed mine somewhere along the line.

Now drm is back to security level 1.

Since thats back again netflix shows in the playstore (or so it seems) even though safteynet check fails.
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] N1m0Y:
Not works for me.

CR 5.1 - BS 2.2

Inviato dal mio LEX720 utilizzando Tapatalk
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
Used magisk 12.0 and make sure you're using magisk hide
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] DalePrinceton:
I believe the new linegage is back in bootloop :(
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
I'll try to update the Kernel tommorow
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] FallenPantsu:
I'm using the latest version of both and have no boot loop maybe you did something wrong?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
################################################################

BlackScreen 2.4​

################################################################

Changes:

1. Up to date with omni, (latest caf tag, lots, and lots of improvements)

2. Improved performance, battery life, and stability a bit

3. (not for the omni build) Fixed more selinux denials

4. Set selinux to enforcing (was already on enforcing for the omni build)

5. Improved zram (credit to lineage)

6. Added a backlight dimmer feature (go to the screen settings in kernel adiutor)

7. added support for usb keyboards with this app https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

8. Fixed snap on lineage (the next official lineage build will include my fix)

As always there's more info on the kernel features (cpu, and gpu governors, hotplug driver, IO schedulers, tcp algorithms, and way more) in the third post, and fourth post

Regular build: https://www.androidfilehost.com/?fid=889764386195910839

Omni build: https://www.androidfilehost.com/?fid=961840155545576754

eas build: https://www.androidfilehost.com/?fid=961840155545576753

don't forget to flash supersu or magisk afterwords if you don't want to lose root ;)
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] trizex:
Thank you very much :laugh:
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] NMir01:
Does somebody know the specific OC values?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
It's not OC'd yet
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] NMir01:
On your second post in this thread you wrote something about overclocking the little cluster to 2.2 Ghz. That's the max value?

And how should I enable doze on the go in Greenify if it requires Xposed framework?
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] mosimchah:
1. Yes

2. Greenify doesn't require Xposed, it simply offers more features with Xposed, doze on the go is one of the features that doesn't need Xposed
[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] DalePrinceton:
I see I flashed a different kernel I believe :) did wrong it worked now

Wait no its not working hmmm