yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Tomoms:
I'm sorry, I tried to debug the issue a little with the help of [MENTION=3234292]jmax91[/MENTION] but then stopped working on it due to lack of time. Unfortunately, I'm

not

facing the issue myself, so it'll be tricky to understand its causes. Do you confirm that you only face the issue on Argon v13? I mean, if you go back to v12, do the frequencies behave normally again?

Do you remember what was the first version of the kernel you faced this problem on?
[ONE Android Development] ralpyka:
I tried all of your kernels at least from v8 (didn't tried v13 yet), and I think with all of them I had this problem (most of the time used TugaPower pie rom). There were clean installs in the meantime, so I think you would also face this issue if you would try another rom (I'm not using any magical "optimization" thingies). Maybe I will try your ROM if this issue doesn't occurs there :) (I used your oreo ROMs, from pie I only tried your first build but I wasn't very satisfied with it).

If I can help you with anything I will install v13 and then I can provide logs or anything else that you need.
[ONE Android Development] jmax91:
[MENTION=5727088]Tomoms[/MENTION] I noticed it for first time on January 29th, so probably it was v11 or v10.x, I'm not sure. Thanks for your efforts.
[ONE Android Development] dudas89:
I've been using v12 and older versions, yes. On these older versions, the maximum CPU clock didn't stick as well, but only at the first time I set it, or when I changed CPU governor or Hotplug. I had to go back there and set it to my desired value, and then it was set forever. No problems anymore.

In the current v13 that is not the case. I set everything like I always do and when I go back to the CPU tab, the maximum frequency is at 2880 Mhz again. No matter how many times I change it to 1.9 Ghz, sooner or later I re-open the app and I see 2880 Mhz. It just doesn't stick.
[ONE Android Development] Milan34119:
I think it's not kernel related. I am on lineage 16 and my max frequency sticks at 1.9 just fine. Which Kernel Adiutor Version du you guys use?
[ONE Android Development] jmax91:
[MENTION=7021833]Milan34119[/MENTION] I use official Kernel Adiutor from Play Store, and I don't touch anything but kcal calibration in screen settings. When the CPU gets a bit stressed the maximum frequency changes automatically to 2880 MHz, no matter what I try.
[ONE Android Development] Milan34119:
Delete your version and try the one attached
[ONE Android Development] mrhamed:
I have boot loop on POSP 2.2 Pie, Magisk & Elderxposed. any idea??
[ONE Android Development] ralpyka:
AOSP based ROMs are not supported, only LOS based
[ONE Android Development] dudas89:
Kernel Adiutor Mod Reborn V18 ;)
[ONE Android Development] Milan34119:
I had problems with the reborn version too. That's why I use a version provided in the dirty unicorn telegram group.

With this version I successfully underclocked the CPU.
[ONE Android Development] dudas89:
Manu thanks! Where can I find it? Do you have a link?
[ONE Android Development] Milan34119:
I attached the version in a previous post. Otherwise you can join

https://t.me/DirtyBacon
[ONE Android Development] mrhamed:
where you pick the AEX 5.7 for bacon? does it official release?
[ONE Android Development] dudas89:
https://www.aospextended.com

Download link: https://api.aospextended.com/downlo...74687242779228ef556c5d108c7925c7e2f4a4c0bff0c
[ONE Android Development] Tomoms:
Hello :)

I've uploaded a new release! This new kernel includes some tweaks for the random number generator driver, improvements for memory management and power consumption (dynamic dirty page writeback interval), and it's a bit lighter: I've disabled some useless drivers and according to another developer, this can free up a few megabytes of RAM. Also, IRQ threading is enabled by default now. I'm not even 100% sure what this means, but Con Kolivas (legendary Linux kernel dev) says that turning it on can benefit a desktop computer and any other system where the minimization of latencies is important.
[ONE Android Development] VitorMSA:
Good news. Any governor suggested?

Enviado do meu A0001 através do Tapatalk
[ONE Android Development] Tomoms:
I personally like impulse.
[ONE Android Development] PrinceOfDarkness:
Great, thank you for the hard work for this kernel and be the kernel exist and updated :)
[ONE Android Development] Fraining:
CPU frequency is locked, unable to play games

First of all, thank you for the author's work,

there has been a very troublesome problem, LOS15.1 final official version

I Flash the V11 version of the kernel, and tested a number of kernel management tools, will lock the CPU frequency up to 1.5GHZ-1.7GHZ, manually modify the highest frequency 2.4GHZ, will automatically jump back to 1.5GHZ after a while. The game drop frame is very serious, now ask how to solve this problem
[ONE Android Development] vigneshvikky:
[MENTION=5727088]Tomoms[/MENTION] Please Provide USB HID Support
[ONE Android Development] @pranit:
Graphics takes forever to load whenever I play PUBG Mobile using this Kernel on Stock LineageOS kernel it loads faster .. Please fix this I want to use this Kernel
[ONE Android Development] Tomoms:
I assume you're talking about the patch that allows to use the phone as an USB keyboard/mouse. This patch should be already included in my kernel, if you tested it and it's not working properly, I'll check what's wrong with it.

Logs please, or I cannot solve the problem!
[ONE Android Development] PrinceOfDarkness:
Where can I find the logs?
[ONE Android Development] Fraining:
Initially determined that the kernel locks the CPU frequency of 1.5-1.9GHZ, causing fps to fall when playing the game, abnormally stuck, if you want to play the game, do not brush into the kernel, because it is not suitable, use the official kernel, The power mode can be changed to performance, it is very smooth, but the charging speed is slower.
[ONE Android Development] PrinceOfDarkness:
I have sometimes it's even under 1,5Ghz like 1 - 1,4Ghz and that make my videocall lagy and than the min CPU freq is also higher set than 700Mhz - 1,1Ghz and can change that?
[ONE Android Development] Fraining:
Can't change, this kind of preset even Alipay, QR code scanning software, and camera startup are very slow, let alone video calls, don't use this kernel, use the official ROm, just charge a little slower However, other functions do not need it at all.
[ONE Android Development] Tomoms:
What ROM are you using?
[ONE Android Development] PrinceOfDarkness:
Official LineageOs 16
[ONE Android Development] PrinceOfDarkness:
Hello [MENTION=1526953]tomtoms[/MENTION] I do like this kernel but still is there an issue on official lineage OS 16 with CPU do you think it can be fixed or are you willing to try?
[ONE Android Development] Tomoms:
I'd love to know what's wrong with official LineageOS, because if my kernel works on my ROM (which is very very similar to official LineageOS), it should work properly on the official LineageOS as well. However, I'm very busy at the moment and anyway, flashing LineageOS 16 just to debug this problem is not feasible for me. If you want to help me, dump your boot partition and send me the resulting img file. Open a terminal on your phone and type:

su -c 'dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img'

and then upload here the boot.img file you'll find in your internal storage.
[ONE Android Development] PrinceOfDarkness:
I have done that here is the ''Boot.img File'' https://mega.nz/#!s1gRlQDD!h5ylXSAocMKaQe8ptKoy-N0Wnb75IvoKUAzj9Oygals

File is to big to upload so I use Mega.nz.

I have did flash stock kernel, I had an issue that my phone whas so slow I cant use it even on stock kernel, after restart.

I have sent some screenshots with my CPU Freq, the min and max Freq are changing every second I think this not supposed to be? I cant change that.
[ONE Android Development] N34S:
I think instead that he refers to the fact of being able to connect mouse and keyboard to the phone via OTG USB connection. I'm also interested in having usb hid support for this kernel, especially now that i particularly need it since my display is broken, but i'd also like to make a desktop use of the phone as i've done prior to this kernel. This is the only reason that's keeping me from using your kernel at the moment. The only thing that works is the standby key on the keyboard, nothing else. Would it be asking too much to implement this otg feature? Thank you very much
[ONE Android Development] Fraining:
you can use the LOS version, just charge slowly,The kernel itself is to limit CPU frequency, which is impossible unless it is open.
[ONE Android Development] kakawait:
Just installed v14 over LOS 16 20190523 with magisk 19.2.

But get reboot loop after 1+ logo.

Is there any file I could check to help me understand what's happen?

Just rollback to built in LOS kernel

PS: i don't have Infinite reboot loop with Franco or Fz kernel
[ONE Android Development] PrinceOfDarkness:
What I do is open recovery by press the volume down while its reboot and than go I go in TWRP reboot or shutdown and restart it again and fixed it, sometimes I have to repeat it.
[ONE Android Development] Tomoms:
Hey guys, I'm seriously considering the idea of stopping to release Argon kernel in this thread and only ship it with my LineageOS builds. Users like you are facing way too many strange problems I've never experienced, and I don't know how to fix them, nor do I have time to investigate their causes.

What do you think? Is there anyone here that is using this kernel and is facing no issues at all, just like those who use it in my ROM & me?
[ONE Android Development] PrinceOfDarkness:
Well I whas considering to try your rom with Agron kernel, Because I think the offiicial lineage OS 16 is not stable at all.

But I have alot of data that I need to backup to change rom. I will do that when I have the time.
[ONE Android Development] KaszasM:
i flashed your kernel a few times now with exkernel manager working here on every official update either

Tapatalkkal küldve az én A0001 eszközömről
[ONE Android Development] :
For anyone interested, I adapted [MENTION=5683095]styloking[/MENTION] 's lightning kernel profile v5 to [MENTION=5727088]Tomoms[/MENTION] ' latest Argon Kernel. Pics are just of what was changed. Everything else left stock. Using the classic deprecated kernel audiutor-mod because the new one is broken with our chip.

I get about 4 hours SOT with my original opo battery

I recommend using /data and /cache as f2fs for better app loading performance

https://imgur.com/a/Ed7tpCe
[ONE Android Development] Tajnymag:
[MENTION=5727088]Tomoms[/MENTION], I have absolutely zero problems with your kernel. I'm running the official Lineageos 16 nightlies and Magisk.
[ONE Android Development] Tomoms:
I'm looking for testers to help me with installing and testing new builds during the summer. I want to rebuild the whole kernel from scratch, because there are a few issues here and there, and it's time for me to iron them out.

The new builds will focus on implementing old & new stuff in this descending order of importance:

basic compiler & architecture/SoC optimizations

small patches to improve responsiveness/IO throughput/latencies etc.

backports of big portions of code from newer Linux releases

all other features (governors, hotplugs...)

In the meanwhile, if you're using this kernel and you're facing some issues, I suggest you to uninstall it by dirty-flashing your ROM and try Fz kernel. It's still at the beginning of its life but it looks promising!

A note for the users of my ROM: since there is no way for you to uninstall Argon kernel, I advise you against flashing Fz on top of it. Bad things could happen (maybe). Anyway, a dirty flash of my latest build will restore everything to the previous state.
[ONE Android Development] Fatsodonkey:
One wish for rebuild. Franco thermal instead of Sultans. Thank you for your work. Still using this as my daily.
[ONE Android Development] Tomoms:
Let's give it a shot. Are you interested in testing my new private builds? I've already implemented Franco's thermal driver in them :)
[ONE Android Development] mrhamed:
is it possible to release kernel based 3.7.x version?
[ONE Android Development] Fatsodonkey:
I had water damage happen to my OPO so sadly it could be a while till i get it working. I can test the kernel, but it could have some problems that are the fault of water damage so im unsure if it's helpful.
[ONE Android Development] Traace:
Thanks for your work Tomoms

The kernel works fine with a stock 9.X LOS install.

Then I tried ti instal Magisk 19.3 but the phone reboots after a minute. Getting Magisk compatibility is already difficult because it patches boot image. Nothing to blame here :) But maybe we can sort the issue out together. I wonder what makes it struggle.
[ONE Android Development] Tomoms:
I'm using Magisk with my kernel and I've been using it for months without a single issue.
[ONE Android Development] grinimark:
Hello

I am using this kernel with Tuga Power ROM - always the latest available version.

Currently

Tuga Power V 21

Argon kernel V14

Magisk 19.4 (19305)

Everything runs really smooth for quite some time and I don't have any problems at all.

I use the phone every day but I rarely play games with this phone. So I don't know about issues for game play.

Thanks to the dev for his efforts and his continous try to update.

Mark
[ONE Android Development] ralpyka:
Hello, I would try your new kernel. What is the status of it?
[ONE Android Development] PercevalSA:
Hello,

Thank you for your work :)

I tried Snapdragon Camera and Sultan's camera but none of them seems to work.

Which Camera app do you suggest to use and where can I find them ?

Perceval
[ONE Android Development] Tomoms:
Hello! Sorry for not having replied to your posts! Thanks for the kind words, I have some news about a new build which I'll post soon, so you'll hear from me soon!
[ONE Android Development] Tomoms:
Hello everybody!

I've prepared and released Argon v16 - finally!

v15 was skipped since I planned to release it some time ago, but then I added more and more things to it and decided to increase the version number by 1 again, since more than 1 month has passed since the moment I announced the imminent release of v15 (which never happened)!

So, what's new in this release?

First of all, I've synced the kernel code base with LineageOS, then implemented some useful updates & fixes (mainly from other devices' LineageOS kernels), enabled the sdfat driver (which replaces both vfat and exfat), implemented some backports for f2fs, and finally added some device-specific tweaks and fixes. Let me know your opinion on this new kernel :)

The download link is in the 1st post!
[ONE Android Development] :
[MENTION=5727088]Tomoms[/MENTION] is there any support in the kernel drivers for OTG-Y cables? I've searched your LineageOS 16 thread and this one, but can't find any discussion about it. It was achieved on sultan's earlier cm13 kernel builds. Thank you for your time
[ONE Android Development] Tomoms:
If what you need is this, I think it's easy to add to my kernel. Let me know :)
[ONE Android Development] :
Yes yes that is exactly what I need. Very much appreciated! ?
[ONE Android Development] Tomoms:
I'll include it in the next kernel, then :)
[ONE Android Development] larrougos:
+1 for me also for this patch!
[ONE Android Development] :
????????(Tomoms)????????
[ONE Android Development] Zflash:
I just can't get the CPU Freq. up. I used a 2 Kernel managers (franco and Simone's), but after I set the freq, it just stays at 1.4ghz. Also the minimum stays at 1190. On the FZ kernel, this issue hasn't occured. Any clues? I'm on LineageOs Nightly aug. 8.
[ONE Android Development] Tomoms:
The patch is included in Argon kernel v16.1! I hope it works properly :)

Please uninstall both kernel managers, and reboot your phone, but make sure the phone is not hot (let it cool down if it is). Then install Kernel Adiutor and read the min and max frequencies from there (you have to open the "CPU" tab). Let me know what are your findings.
[ONE Android Development] Zflash:
Basicly the same. As soon as I select 2880mhz as max speed in Kernel Adiutor, it instantly drops down to 1728 or lower. CPU temps ar 50C or lower, so it's not throttling or anything like that. Very weird.

Edit: after reboot it's briefly using the 2880mhz state. When I use the phone it's not boosting above 1.4 no matter what I do. The phone feels extremely sluggish with this kernel and that;s a shame. With the original kernel or the FZ kernel on LineageOS 16 I have no issues. with this.
[ONE Android Development] Tomoms:
The thermal driver starts throttling the CPU and limiting its max freq. at 1728 MHz at 43°C. The more the phone heats up, the lower becomes the maximum allowed frequency. If you think this thermal driver is too aggressive, we can discuss it. I can raise the temperature thresholds.
[ONE Android Development] Zflash:
Well, what do other people experience? Am I the only one who finds this weird and am I the only one who is having the issue? 43C for 1728 feels a bit low, but then again I'm not skilled in the Snapdragon thermals.
[ONE Android Development] Tomoms:
I gave a quick look at Franco's thermal driver and it appears to be much more conservative. It starts throttling the CPU at 70°C! So I can rise the threshold a bit in my kernel, to see if the user experience is improved.
[ONE Android Development] Syaani:
I'm not using the current version of the kernel but I would like to remind you that our hardware is getting old and so high temperatures are not necessarily good for it.

I understand that some may play with their phones or otherwise want the best performance from their device, but I wouldn't want to burn my circuit with a heat. Even though lowering the frequency and throttling would slightly reduce performance.
[ONE Android Development] :
Woah that was fast! I need to order a y cable real quick on Amazon haha ? I'll report back when I get it!
[ONE Android Development] eidglfvsgkj:
Is it possible to add gpu overclocking in the future??
[ONE Android Development] flug32:
I couldn't figure out why I couldn't raise the max frequency beyond 1728 and then I remembered this discussion. Per Kernel Adiutor, the CPU temp is about 50-52, so it makes sense.

It does indeed keep the phone very cool, and there is something to be said for that. I'd be inclined to raise it to maybe 55 degrees or so myself, but I don't known anything special about what temperatures are best.

I might be nice to have the value user-settable--at least the threshold where the frequency starts to get lowered.

---------- Post added at 04:41 PM ---------- Previous post was at 04:37 PM ----------

So far the kernel seems really nice. I've had a crash or two but I'm pretty sure that was because I was undervolting the CPU. So just a reminder, if you're having crashes, check the CPU undervolt settings.

On that note, does anyone know what the default voltages are? Presumably if you just un-check "apply on boot" to the CPU voltages page, when you reboot it will revert to the defaults?
[ONE Android Development] Tomoms:
All throttling thresholds can be modified by the user. You can read how here. However, the changes won't survive a reboot.

Disabling the "Apply on boot" option is enough to disable undervolting.
[ONE Android Development] eiwarmer:
Hi Mate, MEGA is giving me a MEGA hard time downloading the zip. It fails every time. Could you upload the latest version to AFH too? Or could someone DM me the file? Thx :)
[ONE Android Development] Tomoms:
Here you go: https://www.androidfilehost.com/?fid=1899786940962576951
[ONE Android Development] eiwarmer:
Thx man <3
[ONE Android Development] flug32:
So I couldn't resist trying this.

I put together a moderate upgrade, notching up the temperatures by about 10 degrees and the cpus freqs a couple of notches.

Honestly, I couldn't tell much if any difference in responsiveness.

I've attached a .zip file with the original thermals, this moderately higher temp/performance scheme, and a "high performance" scheme, so others can try them if they like.

Read the Readme.txt file included.

WARNING! Messing with your thermal protection can melt your CPUs or your entire device, and these settings have NOT been thoroughly tested at all. So use at your own risk and watch CPU temperature closely.

UPDATE: I upgraded this "thermals patch" .zip to include a .sh file that you can set to run on boot, so that your preferred thermal settings run all the time.

Read the Readme.txt file enclosed for instructions.

SECOND UPDATE: I updated the "thermals patch" .zip with better-tested thermal settings and also improved the .sh file that allows you to auto-install the settings on boot.

The explanation and the thermal settings download files are here.

Since the thermal settings files attached to this message are now out of date, I've removed them.

THIRD UPDATE: I put the thermal settings/experiment files into a Github repository, to make a little more easy & permanent access. Github repository here.
[ONE Android Development] flug32:
Regarding the cool temp CPU throttle in 16.1, I wonder if it really isn't a bit of genius--I don't know if 100% intentional on your part, Tomoms, or if you were just thinking 'Cooler is better'.

So for one thing, cooler is better in two senses: #1. Overheated electronics die faster. #2. Heat=battery usage, so a system that makes the battery last longer will almost certainly be cool.

Related, I read this interesting page:

https://xdaforums.com/showpost.php?p=58880422&postcount=2

The writer's main point is the you're generally better off, battery wise (and no worse, performance-wise, or maybe only a fraction worse) if instead of loading up one CPU to (say) 3000Mhz, you instead have two CPUS loaded to 1500Mhz.

So at least on my phone, that is definitely the overall outcome of installing the Argon kernel. Because of the thermal restrictions, the highest available CPU freq is generally 1700Mhz-ish, or even a bit less.

So under load, I tend to see a lot of 3 or 4 cpus running at 1000-1400Mhz rather than one at 2500Mhz and the others off.

Looking at Kernel Adiutor's frequency distribution table, I see a lot of moderate and low frequencies and just a few high. 268/466Mzh are the used frequencies altogether and 1190Mhz is the most frequently used "high" frequency. Basically no frequencies used over 2000Mhz because of the max CPU freq that is set in the tables.

After I tuned the CPU & hotplug governors a little more in this direction, it became even more pronounced.

So that might be one reason the kernel seems to run pretty nice and be both pretty responsive and yet also relatively nice on battery usage.
[ONE Android Development] flug32:
The custom controls in the OP for using Kernel Adiutor to control charge speed settings don't work, because they include comments starting with #, which is not allowed in JSON files.

I fixed the issue by moving the comments into a "_comment" JSON field and now the files load just fine in KA Custom Controls. Updated files attached--feel free to use anyway you like as far as I'm concerned (I didn't really do anything substantive to them).