yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Charging and Thermals...

Charging:

Okay lets break it down for yall.

Every kernel on every device has WARM_TEMP and HOT_TEMP values which are usually always 45 and 50 respectively.

When device reaches 40-42C charging rate will decrease more and more until it reaches about 45C where device will stop charging even if its plugged in for safety reasons. Battery must not charge when they are this hot.

Battery thermal removal: this will prevent throttling before battery reaches about WARM_TEMP. Once battery reaches about 45C there is nothing in the world you can do. So yea battery thermal removal is still safe, just a matter of preference because if charging throttles before reaching 45C it will heat less then continue charging but if charging doesnt throttle yea it will charge charge faster under 45C but may heat more so you may hit 45C faster. So as in every other tweaks it depends on user.

As per my tests I would get about those but that may vary for you:

Battery temp (°C) - Charging rate (mA) tuples

46-1800

45-1800

44-2000

43-2600

42-2800

What else? oh yea here are some tips for you to lower temps (cause yes some of you charge while playing pubg..)

Tips for lowering temps:

-Turn off NGK thermals from NGK APP

Right you all need to understand thermals first.. A lot of users are just asking best thermals, best this, best that.. there is no universal bests..

Thermals will throttle performance depending on heat generated.. so yes there is a gain in performance when using NGK thermals because performance will throttle at higher temperatures. Why do I say it depends? Well someone living in a hot place and is getting high temps and throttling will use NGK thermals so he gets more performance for the same temperature point but there is always throttling else a phone would heat too much in the end and be really unsecure and all. That being said, if your device throttle with stock thermals then you go ngk thermals it will throttle at higher temps but in the end may still throttle and if you hit too high temps it will throttle even harder to keep temps low. For those people using normal thermals would be best since yea performance will throttle but it will prevent the phone from getting higher temps which could lead to more intense throttling. (Can also read about charging above you may want more aggressive thermals that will throttling performance to reduce heat so you can charge phone)

So next tip:

-Reduce Big cluster max frequency as this cluster is a hest generator

-Use another profile than Gaming! (Performance for me is best because its less aggressive, some people prefer balance for gaming)

All in all, try stuffs by yourself I think I did my part guiding you through all this, the best things you can do is the best things for yourself not necessarily the best for others.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] hyborian:
Big thanks for such a comprehensive answer ...

I use NGK thermals, but I don't have such heating issues others are talking about, probably as all my CPUs are reduced ...
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
I use NGK Thermals and Performance profile everyday here and that is what's best for me as I cant reach high temps even while playing due to my low ambient temps. But again that is "best for me"

Glad it helps:cool:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
Which NVT touch divers it's using in latest version and is kernel still permissive ?

I went though OP again and i think NVT drivers are 11.0.4 and Yes Kernel is still permissive.

Well I'll wait till you make it Enforcing by default. I'm on stock MIUI 11.0.6 so i think enforcing shouldn't have any problem on it

I tried your kernel a long ago while it was just released and it seemed promising as it was simple with nice performance gain, just the way i like being stock user, but over time you were adding support for a lot of things & roms (which is a Good Thing) but kernel seemed bloated for someone like me (no offence) so i switch back to stock kernel.

Anyway i though i would give it a go once again but i'll wait for you to get it work on enforcing or may be some "lite/simple" version with enforcing if it's not possible to support so many things & roms with it.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] tmkmch:
Problem confirmed.

Problem confirmed.

Fresh installation on two roms: Havoc 3.4 and PE+

1) ROM Installation in TWRP

2) GAPPS installation for Havoc 3.4 than reboot.

3) Encryption in setup wizard.

3) Magisk 20.4 installation than reboot.

4) Kernel 1.5 installation than reboot.

After entering PIN encryption screen starts flickering. System cannot boot. System boots up when I plug USB-C cabel. Profiles and tweaks are not applied after boot. Fingerprints takes about 1 to 2 seconds to unblock the phone.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] imaadgamer627:
Controller support?? Please remove it from the change logs if it doesn't work or give fix
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Well seems I fixed it for wireless only..
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
For slow fingerprint use schedutil governor it will fix it.

Your other issues are due to encryption, people with encryption needed to format internal data to fix their issues.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] 5licko:
I can confirm that changing governor make it less worse, but sluggishness do not disappears entirely..and when you leave it for hour or more, it can take up to 5 sec untill telephone start!

Please Pieere, look at this problem, this is the best kernel for our loved Poco, lets stay that way!

And again, thanks for Your work!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] whrynox:
Dirty flash rom so you can gain back your stock kernel. Upon boot, remove your screen lock and make another one. While setting up new screen lock, make sure you say NO to Secure Boot so you wont have to enter your PIN everytime your phone boots. Then finally you flash NGK without running to this kind of problem.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sztunt1:
I have the same problem with charging in 1.4 and 1.5.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
You have another problem then.. thats not normal, fingerprint is blazing fast on schedutil
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Logs? I never face this and my testers neither
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sztunt1:
Ok here.

26331.292296] init: Untracked pid 22904 exited with status 0

[26331.539824] healthd: Unknown power supply type 'Parallel'

[26331.539960] healthd: Unknown power supply type 'BMS'

[26331.540000] healthd: Unknown power supply type 'Main'

[26331.540164] healthd: battery l=94 v=4198 t=31.0 h=2 st=3 c=-311 fc=3589000 cc=36 chg=

[26331.544298] healthd: Unknown power supply type 'Parallel'

[26331.544358] healthd: Unknown power supply type 'BMS'

[26331.544409] healthd: Unknown power supply type 'Main'

[26331.544575] healthd: battery l=94 v=4198 t=31.0 h=2 st=3 c=-311 fc=3589000 cc=36 chg=

[26332.068803] FG: fg_battery_soc_smooth_tracking: soc:94, last_soc:94, raw_soc:94, soc_changed:1.

[26332.068810] FG: soc_monitor_work: soc:94, raw_soc:94, c:311034, s:2
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] tmkmch:
Ok. Thanks a lot. I will try during weekend. Now I'm staying with current rom and kernel.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] michele72:
I too switched to Schedutil to allow the fingerprint sensor to react faster. However, blu-schedutil is part of the presets, so at every reboot the governor is set back to blu-schedutil. So a possible feature request would be to introduce a different "apply on boot" checkbox for the CPU page, but I realise that the presets are already someway optimised accordingly to the specific governor, therefore some combinations of presets would not make sense with some governors. Maybe, even simpler, revert to use the Schedutil governor in the presets? What were the benefits of blu-schedutil vs Schedutil that made it default in this version?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] hyborian:
I like and use blu-schedutil on all my phones, and I don't have slow Poco fingerprint issues in stock latest MIUI, using Battery profile, linear Blu-Schedutil, NGK thermals.

I did not flash totally clean, just restored stock boot image and flashed.

Others are having a problem with fingerprint, just curious to know why. Is it because of ROM, or have set something different, or did not flash clean ?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Hmm unknown charger, that's not poco default right?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Next ngk update will be on sched
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Pretty sure ROM does something into it as I didnt face it either hence why I used blu as default.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sztunt1:
Original POCO charger , the same log on any others.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] hyborian:
Maybe ROM or some optimizer app issue ? I don't even use stock charger (Xiaomi 18w bought online, Huawei 18w charger from my Huawei phone, Apple chargers) and all good as it should be.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Weird I never had any charging issues and my testers neither, but I will have a look thanks for the logs
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] :
I'm amazed by the issues some people are facing because I've been using this kernel for a long time and have had no issues whatsoever...I guess it has to be their device or something with the installation process.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sasukesama:
Could you please add cou boost and AdrenoBoost v2.2
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Cpu boost is already there.. i wont add adreno boost its trash on the pocophone and probably many other recent devices
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sasukesama:
not really ive been using sphinx which has adreno boost for two months now its the only reason im using that kernel

it very useful in games and emulators its also makes the ui super smooth on heavy workload you could give that kernel a try and see yourself

also it can be disabled with any kernel manager so you could added it and disable it by default so those who wanta it can activate it
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Tested it already in first ngk version, it introduced more gpu latency so removed it in second release
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sasukesama:
hmm thats weird

it works perfectly fine here im using miui 1.0.6 btw

the reason why i love it is because it adjust the gpu frequency dynamically based on the current load

this can be very noticeable in games and emulators

for some reason some games and emulators especially those that are not from the google play store stuck at the lowest gpu frequency even if the gpu load is over 80% then i have to go and manually adjust the frequency untill i get the best performance

adreno boost handle that automatically and perfectly based on the current load
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] imaadgamer627:
Sphinx kernel worked **** for me, i got like 24fps everytime and i was always number 4 in pubg
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sasukesama:
The latest version works very well here on miui 1.0.6

it wasn't updated for awhile now tho and it doesn't have OC thats why im interested in no gravity but adreno boost keeps me going back to sphinx
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Akshat1295:
your kernel doesn't support Canary magisk ?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] krzylew:
Ok, I know there are instructions how to clean flash this kernel but I'm on version 1.3 and I don't want to clean flash the entire ROM (and from the instructions it seems to me it will do that).

I also have Magisk with modules like Viper, Dolby Digital, ICESound and would really like to keep those. How do I go about this?

Just flash the 1.5 kernel over 1.3 and that's it? Or do I have to flash Magisk afterwards? Sry for stupid question but I'm a noob and I don't want to mess up my phone....

Thanks in advance!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jackiass:
I think it worked until 20401 and then John wu made some changes. I think you should view it the other way around. Canary builds of magisk is pre beta and is supposed to not work with everything hence the canary state. Use Magisk beta or stable and you are good to go.

---------- Post added at 06:22 PM ---------- Previous post was at 06:04 PM ----------

You don't need to wipe /data to clean flash the kernel so you won't lose your setup. You have to flash magisk before booting to system.

That being said I think you can just dirty flash without issues but ask dev about that. Or do a nandroid backup and try it out.

From the telegram channel:

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!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] krzylew:
ok, I was afraid that wiping System partition will restore my OS to default, but it didn't like you said, everything worked like a charm

there is a delay with fingerprint sensor so I'll try changing the governor
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
No kernel does because latest magisk canary cant load tweaks & profiles on boot (due to android r changes). Kernel will still work but profiles wont and ny tweaks wont apply. This is only on latest canary 20402+.

Next ngk update will fix this.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Actually games that dont need gpu wont rise it up for nothing (like pubg). Also adrenoboost shouldnt be used with overclock it causes stutters
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Divvay2002:
Has anyone experienced this before? I'm using this kernel and evo X rom and whenever I record my screen using the default screen recorder, my screen starts blacking out and coming back continuosly and it doesn't stop until I restart my phone.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jackiass:
Is it the same with stock kernel?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] hyborian:
I just tried it, default xiaomi screen recorder, MIUI Rom, no problem.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jscheah:
Are you using OP screen recorder? If yes, try to use another inbuilt screen recorder which can be found in qs panel (edit qs tiles -> screenrecord)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] LKHJason:
Hi. I'm using this kernel together with stock MIUI. I'm also having the battery not charging issue. Every time after my phone restarts. I will have to go into the kernel app to turn the thermal settings on then it will start charging.

Any idea why the settings won't stay after rebooting?

Only the thermal suspend API remains on. The other turn will be turned off even though it says by default it's all on.

Profile always reboots to balanced even with apply to boot setting.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jscheah:
On MIUI, you should enable autostart permission for nogravity app (app info -> autostart), so apply on boot will do the job after doing a reboot.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Advanced07:
Hello, your NGK app is really good but i have some suggestions. The fps counter updates really slow, you should let us customize how fast it updates the fps.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] imaadgamer627:
Talking about the latest verision......as you said it's not overclocked...but it's underclocked! It's clearly designed for better battery, with ngk you can do both using the app
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] LKHJason:
It worked! Thanks for the help, didn't realise it was something that simple.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
You dont want the refresh rate to be too fast that it hogs the cpu neither, will see
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] timbuctoo:
Kernel for the OnePlus One?

@Pierre2324, how about some kernel love for the OnePlus One (A0001) as well? :)

Thanks for your work on the Poco F1.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Advanced07:
1. I doubt it because i did that with gltools and it didn't slow my game down.

2. Also could you make that fps counter a separate app that works with all kernels? There aren't any FPS counters that actually work (except gltools but that is outdated af).
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jackiass:
Why would he spend time making an app for the competition?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Advanced07:
Competition? Are you high? There is literally NO fps counter app that actually works. If he makes a separate app and puts it on the play store he would have thousands of downloads at least.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] mralam92:
Hi just flash this kernel on Android 10 Havos OS 3.4, is every this is fine? It showing very high temperature
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] mralam92:
See screenshot its after fresh reboot
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Arjun1817:
I am having a problem while playing pubg. It keeps on going to home screen during the middle of the game. Is the the kernel problem? Or pubg glitch? And how it can be solved?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jackiass:
Not very kernel development related. He is doing some amazing stuff with this kernel combined with his app. Unique even. Spending time making an app that gives away those features that makes him stand out seems counter intuitive. There's enough kanging of NGK going on without the dev taking active part in it himself.

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

Not kernel related. Google. A million guides how to fix this. Basically pubg blocked rooted devices.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] amn1987:
The latest update of FKM added the ability to display FPS in an overlay. Maybe check if that works for you.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
You need kernel side implementation, it wont work on older devices (Hence why its not on my oneplus 2 kernel) and the ones that dont have the implementation for it neither. Since I added that, ROMs started adding it so you can find it in ROMs if you don't want ngk.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
Give it some time to settle. Phone will boot at max frequencies to run all bootup tasks and apps. It will settle afterwards fine just like this:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] luceris:
I have two suggestions for the app: Make it quicker to open, it takes quite some time; and implement a landscape mode, so one can change settings while playing a game easily.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
I don't have the oneplus one, else I would most probably since its a nice phone. Its kinda old now so useless to work on a phone I dont have that is this old. Sorry.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] timbuctoo:
Porting the kernel to the OnePlus One

Thanks for the quick response [MENTION=7031006]Pierre2324[/MENTION].

Can I port your kernel to the OnePlus One? Of course, with all credit to you.

Am a Linux developer and have built kernels in the past, but am a newbie with Android. Would you be able to help?

Also, can I PM you instead, since am going off-topic on this thread meant for the Poco-F1?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] luceris:
The forum glitched and i posted twice.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
App will most likely change later on. It wasn't meant to have many features at first, but that will take time
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
You can PM
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Advanced07:
Wow thanks this is perfect!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] KB971033Z29:
unable to download app and package :crying::crying::crying::crying::crying::crying::crying:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] tejjoshii:
sourceforge down? Can't download
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] chocowilliam:
After installing 1.5, I can't play Final Fantasy 9 anymore. Its just a black screen upon opening the app. Can I downgrade to 1.4?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jackiass:
Yes you can but I recommend a clean flash. See notes at OP. That being said it sounds weird that the kernel would be the cause of the issue you are having.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] amn1987:
Check alternate servers. Even I couldn't download from the default one yesterday.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Pierre2324:
That is weird make sure you follow clean flashing note under OP & changelogs. Make sure its not due to gpu overclock.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Infamous0122:
Great kernel

fixed all my fps drop issues in codmobile

everything's dope

---------- Post added at 12:47 AM ---------- Previous post was at 12:46 AM ----------

Great kernel

fixed all my fps drop issues in codmobile

everything's dope
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] spheraprod:
After I tested them all custom rom's with all kernel's, miui 10, 11, 12 ( port mi 8 ), the winner is .......... :

xiaomi.eu v11.0.5.0 11/9 Pie with No Gravity Kernel for pie, performance profile.

Works very smooth and very fast.

Warp maximum :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] topbasework:
Eu 11.0.5 with ngk 1.5?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Hirsch2k:
I am stuck in boot after running art compile in NGK app and then restarting. Gets to the point where it asks for PIN for data partition and then screen turns off. Wiping dalvik cache in recovery doesn´t help. Reflashing the current official LOS 17.1 helps. I am running the latest 11.060 Global firmware.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jscheah:
Your issue was due to encryption. Backup everything and decrypt your device by doing a data format and make sure flash dfe everytime you update/flash new roms.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] timbuctoo:
Thanks. Sent a PM; do let me know. Hope to carry on the legacy for the OnePlus One.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Divvay2002:
I'm already using the screen recorder you just said. Also, I've tried this with some other screen recorders as well but the issue hasn't been resolved. Another thing I wanna add is that even after closing the screen recorder, the screen flicker continues to happen for some time and only gets fixed if I restart my phone.

---------- Post added at 01:20 PM ---------- Previous post was at 01:19 PM ----------

Didn't try yet

---------- Post added at 01:22 PM ---------- Previous post was at 01:20 PM ----------

I was using the screen recorder from evo X only and now I've also tried it with several other screen recorders but the issue is still there. Also I wanna add that the screen continues to flicker after I close the recorder. The only way of fixing it is to restart the device
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] bamz1117:
Using Corvus 5.0 +NGK kernel i dont have any issues on inbuilt screen recorder works like awesome..

Pls .do a cleanflash bro and try it again.:)