yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Tomoms:
Ok, I think I fixed the freezes, in the afternoon I'll release a new kernel that should be stable.
[ONE Android Development] Tomoms:
Here's Argon v6! I need users who faced reboots to flash it and tell me whether they're fixed now, or not (they really should be). Apart from fixing v5's problems, this release includes Sultan's cpu_input_boost driver, that replaces the default cpu_boost that's present in LineageOS's stock kernel, and the charging current interface, that can be accessed at /sys/kernel/charge_levels: the two files charge_level_ac and charge_level_usb can store the maximum charging current, expressed in mAh. The default value of 0 means that the stock charging driver will decide what speed to charge the battery at.

Several other miscellaneous fixes, improvements and updates have been implemented in this new release as well. I'm waiting for feedback :)
[ONE Android Development] __infin1ty:
[MENTION=5727088]Tomoms[/MENTION] no mirrors found while attempting to download kernel
[ONE Android Development] antfior93:
it's true , when I try to download there isn't any mirror to download the file
[ONE Android Development] JJohnson1988:
Try now, everyone. I think AFH was having issues.
[ONE Android Development] Ruvy:
Reverted back to 5.1

v6 makes phone lag a lot on RR Oreo. I don't know if working fine with other ROMs.
[ONE Android Development] Tomoms:
It is working fine at least on LineageOS, I wouldn't have released it if I had found it laggy on my device.
[ONE Android Development] JJohnson1988:
Enjoying v6 so far. I'll continue to use it for the next few days and see if that freezing-up issue is resolved.

Using the conservative CPU governor with undervolting. :)
[ONE Android Development] jmax91:
Extreme lag here too on Idrophecy's LOS 15.1.
[ONE Android Development] Tomoms:
Are you using mpdecision? If so, disable it and enable bricked hotplug. Tell me if this fixes it. [MENTION=5559363]Ruvy[/MENTION] you too can try this.
[ONE Android Development] Ruvy:
So far, so good ? Will report back after using the phone for a day or two.
[ONE Android Development] __infin1ty:
No issues so far and no lag at all (AOSPExtended)
[ONE Android Development] waby38:
First, thanks Tomoms for your work on our good old bacon !!

My feedback on v6 vs v5 after 1 day (on vanilla Lineage 15.1 / September / no root)

v6 is almost laggy... where v5 was fine!

I have a look at CPU core usage on v6: (using Simple System Monitor from PlayStore)

=> core 0 is alway 2.4gHz, and others 1-2-3 cores are *alway* offline.........

I've try to change default policy to "maximum performance", but no change... (1-2-3 cores are still offline)

Launch an app like "Message from Google (SMS) alway take ~4 secondes... (reflesh slowly...)

using v5:

core 0, 1, 2, 3 are working as expected regarding the workload...

1,2,3 offline when nothing to do, and online when it's necessary...

Again, launching "Message from Google (SMS)" is fast ( < 1s )

i can provide logs / video comparison if necessary...

What about other users (using Simple System monitor from Playstore) ?
[ONE Android Development] Tomoms:
What hotplug are you using? Didi you disable mpdecision and enable bricked, as I suggested?

EDIT: sorry, I didn't notice you wrote you aren't rooted. Please stick to v5 and wait for v7, in v7 I'll kill mpdecision for good and bricked will be enabled by default, so even users without root will have a smooth experience.
[ONE Android Development] waby38:
Thx, I can't root due to corporate apps (cat and mouse story)... I just wait for v7 !!

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] Tomoms:
I've released v6.1 which fixes the performance issues: mpdecision is now disabled by default and bricked hotplug is enabled, so even unrooted users can use my kernel. Users of my LineageOS builds won't even see the option to enable mpdecision in Kernel Adiutor, while users of other ROMs will see it: obviously, you must not enable it ever again!

Download here.

Let me know if the problem is solved (I haven't tested the kernel).
[ONE Android Development] waby38:
Just flashed, perfect for me!

Thanks

Update:

No more random reboot (it was ~1 per day) with this V6 vs V5 !! Great!

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] NeikQ:
FYI. This kernel works with bootlegger rom without issues.

Thanks for this great kernel !!!
[ONE Android Development] JJohnson1988:
Well I'm happy to say that I no longer experience that freezing issue, and the new hotplug default seems to work better as well.
[ONE Android Development] jmax91:
I'm totally amazed on 6.1.
[ONE Android Development] eidglfvsgkj:
Overclock has been removed??
[ONE Android Development] Tomoms:
Hello everybody, I've uploaded v7: https://www.androidfilehost.com/?fid=1322778262904023717

This new kernel brings quite a lot of updates and security fixes, a few optimizations and improvements for our msm8974 SoC, a new default hotplug (msm_hotplug: I've switched to this hotplug because I like it more than bricked hotplug, but don't worry if you are a bricked hotplug fan - it's still there and you can enable it whenever you want) and - most importantly - it includes this patch, that seems to fix all problems related to battery charging that many of us have been facing (slow charging rates, charging hiccups etc.). The charging current interface is still there.

Do let me know your opinion on this kernel :)

Enjoy!

It was never added xD

It was present on my previous kernel (Neon) but I still haven't added it in this one. I'll implement it soon.
[ONE Android Development] pippoaacc:
Is there a kernel app supporting your charging interface? Synapse seems broken and Kernel Adiutor doesn't show charging interface.
[ONE Android Development] eidglfvsgkj:
https://xdaforums.com/android/apps-games/approot4-0-ka-mod-reborn-v18-t3714105
[ONE Android Development] pippoaacc:
Thanks! Also, created custom control in official adiutor if anyone needs it.

{"version":1,"control":{"min":"0","max":"2050","apply":"#!\/system\/bin\/sh\n\nprogress=$1\n\necho $progress > \/sys\/kernel\/charge_levels\/charge_level_ac","progress":"#!\/system\/bin\/sh\n\necho 0","id":"seekbar","title":"AC"}}
[ONE Android Development] eidglfvsgkj:
Random reboot when temperature > 85℃

Wish can add temp threshold as thunder kernel
[ONE Android Development] Tomoms:
The log you sent me is not related to the issue. It has to do with a moment when you booted kutep0v's TWRP and did something in there. Keep in mind that in case of a random reboot, you shall grab a copy of /proc/last_kmsg without rebooting (not even to recovery) or shutting down the phone.

Anyway, I don't think the high temperature caused the reboot; rather, a small change I've included in v7 seems to cause a kernel panic every now and then, so I suspect you faced this bug. I'll release a fix within a couple of hours.

EDIT: v7.1 is available.

This is amazing! With your permission, I'd like to add this code to the first post or maybe provide a .json file so other people can import it easily in KA. Can I?
[ONE Android Development] jmax91:
It seems something is broken on 7.1. I just had two reboots in a couple of minutes.
[ONE Android Development] Tomoms:
You're right. v7.1 isn't stable. Let's try v7.2 and hope all issues are fixed.

Download here.
[ONE Android Development] __infin1ty:
Two reboots after I flashed 7.2

View attachment last_kmsg.zip
[ONE Android Development] Tomoms:
Sadly, it looks like you are facing random reboots even when using fully stable kernels. I'd like to hear some more opinions on v7. 2, as it's been working perfectly for me for 3 days.
[ONE Android Development] jmax91:
Zero reboots for me on 7.2. All is working flawlessly.
[ONE Android Development] waby38:
V7.2, Stock lineage, no root:

Unfortunately I got also some random reboots.this generally happened just after a reboot when the system is heavily loaded by applications => System freeze and reboot. If I don't stress system just after reboot then, everything is ok and I generally don't get random reboot after that.... (Only one time...)

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] jmax91:
Three random reboots just now after booting up on 7.2.
[ONE Android Development] Tomoms:
I've uploaded Argon v7.3. I tried to stress the phone immediately after the OS had loaded, and the kernel didn't crash. Fingers crossed, maybe the problems are fixed. I'm waiting for your feedback. Thanks!
[ONE Android Development] waby38:
v7.3 Sound's good for me ! No crash after OS loaded even with heavily big stress!!

Need to be confirmed in few days... ;)

Many thanks for your great job!!

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] jmax91:
Another reboot after booting up on 7.3.
[ONE Android Development] Tomoms:
Please test the new v7.4 and let me know. Thanks.
[ONE Android Development] waby38:
v7.4 Works for me.... :good: (like v7.3 with stock lineage / no root)

=> still ok with big workload just after OS startup!

Again, need to wait for days for full feedback!
[ONE Android Development] jmax91:
Issues still persist on my side. One random reboot with screen turned off and immediately another one after booting up. I only have log for the second since I didn't have enough time to catch the first one.

Thanks for your efforts [MENTION=5727088]Tomoms[/MENTION].
[ONE Android Development] Tomoms:
I faced a reboot this morning as well, so I've made yet another attempt to fix them and uploaded v7.5.

EDIT: quick reminder: the latest fully stable kernel is v6.1. Use that one if you need something reliable.
[ONE Android Development] sayash5:
Tried v7.5 and sometimes a reboot does occur, I will try provide a log if it happens again.

btw do you care if you merged v6.1 with the latest security patch? thanks :fingers-crossed:
[ONE Android Development] Tomoms:
I've released v7.6 which is yet another attempt to provide a stable kernel...

This time, I've rebased the kernel on top of v6.1, so this kernel doesn't contain any of the changes that were included in v7, except for those explicitly listed in the changelog. So, for example, those who used to face charging problems before Argon v7, will experience them again on v7.6. But this is just temporary, my goal is to gradually include all the features of v7 until we discover what's causing the kernel panics.

So here's v7.6, hoping that it is stable.

Download: Argon v7.6.
[ONE Android Development] Tomoms:
v7.6 keeps crashing...

I've prepared a new kernel, let's hope for the best: Argon v7.7.
[ONE Android Development] sayash5:
Flashed it. no random reboot at least for now, will report later :good:
[ONE Android Development] sayash5:
A week passed and all I can say that the random reboot from before does not occur, cheers
[ONE Android Development] Tomoms:
Great, I'll release a new stable update in the next days, then. In the meanwhile, feedback from other users would be very appreciated!
[ONE Android Development] waby38:
Only 2 reboots in one week:

1st during video playback in browser

2nd charging...

Stock lineage, no root

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] portfolio:
no reboots here as well and, maybe no one has tested it yet, I am using v7. 7 as Pie 9.0 kernel, working perfect, even no video problems and good battery life... ?hands up, very good work!
[ONE Android Development] rolarocka:
Loving this Kernel on aospex Oreo. It's fast, fluid and not lagging in games. Big kudos m8 ?
[ONE Android Development] Tomoms:
Thank you for your kind words :)

--

I've released Argon v8!

In the first post I've listed all the changes that were implemented between the release of v6.1 and v8, and there are a lot of them, so make sure you read it carefully!

The new version seems to be stable, no reboots occurred in more than 11 days of testing.

One of the features is listed as "work in progress" in the changelog: it's the automatic UKSM. UKSM, for those who don't know this, is an improved version of KSM (kernel samepage merging) which is tuned for arm embedded devices, and it is capable of freeing some RAM, but it has got a cost in CPU power consumption. Since our OPO has got 3 GB of RAM, which I believe are still more than enough in an average daily usage scenario, I want to implement UKSM in a peculiar way: it should activate itself when the device is charging (and so a small increase in power consumption doesn't cause any harm), and then deactivate itself when the device is not charging anymore. Currently, this isn't working 100% as intended, so UKSM is disabled for now. I plan to fix the issue in the next release.

Download here.
[ONE Android Development] Fatsodonkey:
Thank you very much for v8 kernel. I think it now has everything i wan't from a kernel. Good job man. :)
[ONE Android Development] Milan34119:
Can I use V8 with Android pie?:)
[ONE Android Development] VitorMSA:
I'm using it with TugaPower Pie builds on my One Plus One.

So far all works fine.

Enviado do meu A0001 através do Tapatalk
[ONE Android Development] portfolio:
I am still with v7. 7 on TugaPower Pie, I feel 7.7 more battery friendly on this specific rom than v8. 0, all processes run smooth and fine and no reboots at all
[ONE Android Development] philash_flash:
Does the kernel underclock the CPU?
[ONE Android Development] ConnerJSP:
Yes, to 1958MHz.
[ONE Android Development] philash_flash:
Would you recommend this kernel or Francisco's r56?

r57 has been really buggy.
[ONE Android Development] VitorMSA:
I'm facing some soft reboots...

Enviado do meu A0001 através do Tapatalk
[ONE Android Development] miltonsaha9200:
How to uninstall this kernel?
[ONE Android Development] portfolio:
I prefer v7.7

---------- Post added at 06:49 AM ---------- Previous post was at 06:46 AM ----------

I encountered problems reflashing back to my previous Kernel from v8 and had to restore a previous backup
[ONE Android Development] Tomoms:
The only 100% trouble-free way of uninstalling any kernel on any device is to (dirty-)reflash the ROM you're using. That way, the whole boot partition is erased and the default kernel is then installed. Or you can manually flash the boot.img using fastboot, but you'd lose any other additional bootimage-based mod such as Magisk or SuperSU (that instead are able to survive across ROM flashes).
[ONE Android Development] iPusak Gaoq™:
Technically you don't need to restore previous backup, if you have magisk then flash magisk uninstaller, this will revert boot.img to stock img which included stock kernel...After flashing Magisk uninstaller, you can flash Magisk again (stock boot.img will be backup automatically) then flash any custom kernel you want.
[ONE Android Development] Tomoms:
Hello!

I've released Argon v8.1, which is a minor update, mainly featuring some code improvements and updates, and a few CPU governors (I only wanted "impulse" but they came bundled in a single patch, so I decided to keep them all - someone might find them useful).

Some info on the things I'll focus on in the future: my plan is to backport lots of stuff from newer Linux versions (mainly 3.10 and 3.16). I'll pick the commits from dorimanx's legendary kernel for the LG G2; I've already done the whole process for my other device and it's not particularly difficult, it only takes a lot of time, which I haven't got xD

Another thing I'd like to do is to implement all the improvements Sultan made to his kernel, into mine. I've already added his custom CPU boost driver and his improvements for the headphone jack driver, so I'll try to complete the work by porting his touchscreen & battery drivers. This process might be long and tricky.

Considering that I won't have lots of free time in the upcoming 2 months, don't expect all of this stuff to be ready before February! But I promise that I'll try to do all the things I've mentioned, one step at a time, to improve as much as possible my kernel.
[ONE Android Development] portfolio:
THX! very much appreciated - ?
[ONE Android Development] Tajnymag:
Kudos for such an awesome kernel.

I have a feature request though....

Could you please add Spectrum support? Custom made power profiles for kernel can reduce battery drain by a lot without sacrificing smoothness for all users by default.
[ONE Android Development] Tomoms:
Sure, it's on my to-do list. Expect it to be present in Argon v9.
[ONE Android Development] Tajnymag:
Awesome, thanks :good:
[ONE Android Development] jmax91:
[MENTION=5727088]Tomoms[/MENTION] have you implemented anything related to battery % readings? Since two months or so my battery went crazy and thinks it has 2/3 of it's real capacity. I thought it was a hardware issue, but with stock Lineage kernel everything is OK.
[ONE Android Development] Tomoms:
Hello! I've uploaded Argon v9 :)

Several small improvements + some new features are present. Most notably, L2 frequencies have been bumped and the zzmoove CPU governor has been udpated. There is also a small tweak that might improve battery life a little bit.

Spectrum support has been added!

Nope, I didn't change anything, except for the charging drivers. My battery percentage readings are accurate, as always.
[ONE Android Development] Tajnymag:
Thank you very much. You've done a really good work :):good:

Don't forget to enjoy your holidays though ;)
[ONE Android Development] Zero_Gin:
省电吗？
[ONE Android Development] Fatsodonkey:
Can you adjust thermal limit with Sultans simple thermal driver? Just asking, because every Sultan thermal that i have used throttles so hard that the phone becomes laggy.
[ONE Android Development] Tomoms:
You can, but it's not that easy. I'll write a short how-to on this topic soon. Anyway, FYI my default settings are a bit more relaxed than Sultan's, so the CPUs are throttled less often.
[ONE Android Development] portfolio:
everything works great, only I have one issue with the neely modified zzmoove CPU governor: when phone goes into sleep mode when it is on but not used for several hours, it cannot be recovered/woken up again... I have then to long press the on/off buton for a reset
[ONE Android Development] jmax91:
I'm totally amazed with v9. Zero issues and battery readings as accurate as it used to (maybe it was nothing related to kernel). 100% stable in my opinion. Great work. :good:
[ONE Android Development] pippoaacc:
I am new to spectrum. Does "Balanced" effectively corresponds to the original state of the kernel before selecting any profile (i.e. clean installed)?
[ONE Android Development] Tomoms:
Did you manually apply zzmoove or you selected one of the Spectrum profiles that enable it? Did you tweak the governor's parameters?

No, at the moment there are a few differences. The goal, however, is to tweak the original state of the kernel to match the Balanced profile.
[ONE Android Development] pippoaacc:
I see, well I can tell you that performance and battery are so simultaneously awesome on v9+official Lineage 15.1 clean install that I'd almost love to have Balanced match stock!
[ONE Android Development] portfolio:
I did manually apply zzmoove without any further parameters set.

Another issue is, on my TugaPower v6 pie rom camera is not working with argon9, but argon8. 1 with TP6 is good and argon9 with TP5 is good also
[ONE Android Development] Tomoms:
Oh, thanks for the feedback! I'll take it in consideration in the future.
[ONE Android Development] fabiomcz:
[MENTION=5727088]Tomoms[/MENTION] First of all, thank you for the work done for our bacon. After some good reports on the latest version of your kernel (v9) and seen the addition of the sultanxda thermal controller, I decided to test it. I've even been testing other versions of your kernel before, but let's look forward to it!

I did a clean installation with one of the latest versions of the official lineage (2018/12/20).

I'm two days into using it and have not had any problem freezing or random reboots with the settings that come by default, nor when changing some hotplug settings. Now when I change the governardor to zzmove, it presents the same freezing problems and the need to reboot that some have reported to posts ago.

While fluidity ... I confirm what they said, it maintains what most standard kernels do, however most standard kernels do not perform satisfactorily on battery (SOT).

Speaking of (SOT) I still have not been able to thoroughly test this issue, but my average figures compared to all the roms I've used lately is between 4 and 5 hours, and what I can say so far, simply looking at the graph it should match that average (4 to 5) I have, and that's great.

One of the big problems in 8.1 that made me go back to the 7.1 sultanxda, was the stability he brought, and that made many come back too (remix sultanized), another point and the drop in battery performance, plus the warming in some moments bothers me greatly. And with your kernel I do not have this warming problem. I see using the base of sultanxda kernels is one of the most satisfying things for our device, and bringing the customizations of your work on it will lead to success. I will test your kernel with DU to see how it works and bring more reports about it.

---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------
[ONE Android Development] RedBux:
Flashed Argon kernal v9.0

hoping that charging problem subsided...............
[ONE Android Development] Tomoms:
Hello! I've uploaded Argon v10. This new kernel brings quite a lot of source updates and bug fixes; it is also built using the most recent official ARM toolchain, based on GCC 8. I have disabled some useless debugging drivers/configuration options, as they are not needed and disabling them could slightly reduce overhead, leading to better performance (but most probably the benefit is so small that none of us will notice any difference).

I've used zzmoove for the last 10 days, and didn't face any problem. Try applying it and then set its tunable called "profile_number" to some value (e.g. 2, profile 2 provides a good balance between smoothness and power consumption).

Thanks for the appreciation! Let me know how v10 performs for you :)
[ONE Android Development] portfolio:
ok, great, just flashed v10 and I'll try, thank you very much for your great work!

with profile_number set the governor now works great! thank you for this help
[ONE Android Development] fabiomcz:
We urgently need your work for ROMS Pie, do you have any projection while there?

The battery life is better than Oreo and Nougat as well. With your kernel, it would look even better
[ONE Android Development] ralpyka:
I'm already using this kernel on pie ROMs since at least 2 months ago I think. So it is already compatible with pie.
[ONE Android Development] fabiomcz:
It's not compatible, I just tested, I got bootloop.

ROM: Posp 2.1
[ONE Android Development] ralpyka:
Interesting, I'm pretty sure that I tried with one of the older POSP builds. Since a while I'm using the Tuga pie builds and it's working fine (the only problem is that videos are not playing sometimes in a few apps (e.g. Facebook), but this bug is also present in most of the other kernels). Oh and it's possible that wifi tethering is not working either, this was a problem in the past but I never tried it.
[ONE Android Development] fabiomcz:
I want a lot, but I'm not in oreo anymore. My last SOT in pie was better than the best sots I've had lately from Nougat and Oreo. So I asked earlier if you plan to port it to pie
[ONE Android Development] portfolio:
I also use Argon kernel on pie rom with no problem
[ONE Android Development] VitorMSA:
How can I change profile number for zzzmove governor?

Enviado do meu A0001 através do Tapatalk
[ONE Android Development] Бахрам Байрамза:
Hi! I assembled the kernel in order to use Nethunter in full for my OnePlus One, which is currently running on Android Pie. The fact is that when I assembled the kernel, I forgot to add patches so that the hid attacks work. More precisely: I could not find them. How do I add them?