yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I can't say that. It is his choice to use everything and anything including this Kernel. and I'm happy if you guys managed to use all those stuffs.

However, as [MENTION=5414005]GeTex[/MENTION] said, it would be better to test the same issue without xposed.

May be clean flash the same ROM + Gapps + restore data (I mean restore only data partition)?

By the way, the best method to set SELinux to premessive in my opinion is to give "setenforce 0" from root shell. Which will be automatically reverted after every reboot (or give "setenforce 1")
[Samsung Galaxy S 5 Unified Development] j1gga84:
I need that because of Xposed and with enforcing I have some issues with V4A sometimes..

I tried to set it to permissive via a file in init.d with setenforce 0 but after a reboot the SELinux mode does not change although I set the rights. So it means the init.d file is not automatically executed after system starts.

When I manually run the file the SELinux mode change to permissive without a problem..

Also editing build.prop does not work.

So right now I am searching a method how it stays permissive even after a reboot without using an app.

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] GeTex:
I have tested and can confirm init.d work, and it's more than likely you are doing it wrong.

Xposed does NOT require SE permissive. Viper no longer requires permissive when set correctly
[Samsung Galaxy S 5 Unified Development] Legitsu:
he needs to be using magisk
[Samsung Galaxy S 5 Unified Development] GeTex:
No he doesn't. I'm using SuperSU and have been on N and it's fine. Magisk lacks support for a PIN for Su requests and that is what made me not like it. Also chainfire has a reputation, Magisk breaks with FX fileexplorer and other things. if your using xposed there is no benifit to magisk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
***Happy NewYear***

Happy new year guys...

Hope you have more ROMs & Kernels in the new year to play with:p
[Samsung Galaxy S 5 Unified Development] Ay-EyE:
Hey do you got a microphone fix for this? G900t resurrection remix with your kernel?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
How's about friends...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Very cool ?
[Samsung Galaxy S 5 Unified Development] Blackburn119:
How did you enable software key?
[Samsung Galaxy S 5 Unified Development] Jason The Greek:
<<Happy-New Year>> my friends! Health-Love-Peace! (and yes!! Oreo is out for our loved S5).
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thank you :)

Add "qemu.hw.mainkeys=0" to "build.prop" and restart.

You too...
[Samsung Galaxy S 5 Unified Development] Ay-EyE:
Microphone help! Please
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Can't fully understand what is your real issue. But probably first question in the FAQ will help you. Please have a look...
[Samsung Galaxy S 5 Unified Development] Ay-EyE:
I knew it had to be something because it worked before when I had this kernel, rrn on same phone. I just didn't know what I did to get it to work. But I wouldn't of figured that out with out your help anytime soon. So busy rn lol thank you again! Keep up the great work!
[Samsung Galaxy S 5 Unified Development] flyingsaucer75:
Happy new year guys. [MENTION=7060205]sunilpaulmathew[/MENTION]

Thanks for your hard work on kernel, which is your daily rom? Lineage-OS (official) 14.1? Or what?

Best Regards

Tony
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi Tony,

Thanks for the appreciation. Until yesterday, I was mostly using LineageOS-14.1. However, I tested LOS-15.1 yesterday night and really like it. I'm seriously thinking to stay with LOS-15.1 (of course, I need to downgrade to LOS-14.1 for testing my Kernels before release).

Anyone else tried LOS-15.1? It is now nearly ready to use as a daily driver (at least for me).
[Samsung Galaxy S 5 Unified Development] Jason The Greek:
Anyone else tried LOS-15.1? It is now nearly ready to use as a daily driver (at least for me).[/QUOTE]

Υes from yesterday i use LOS-15.1 ! and for me daily driver.:)
[Samsung Galaxy S 5 Unified Development] GeTex:
Υes from yesterday i use LOS-15.1 ! and for me daily driver.:)[/QUOTE]

waiting on xposed oreo
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
Υes from yesterday i use LOS-15.1 ! and for me daily driver.:)[/QUOTE]

waiting on xposed oreo[/QUOTE]

Please share link of thread

Regards
[Samsung Galaxy S 5 Unified Development] Jason The Greek:
waiting on xposed oreo[/QUOTE]

Please share link of thread

Regards[/QUOTE]

Here, https://xdaforums.com/galaxy-s5/unified-development/rom-lineageos-15-0-klte-t3680666/page65

Download link https://androidfilehost.com/?fid=889964283620775549

Happy new year and happy flashing!
[Samsung Galaxy S 5 Unified Development] koobie777:
I've tried it and it's really nice but there's no kltedv/kltespr variant so I don't have service lol and I use Xposed and all the features of RR, so for now I'm sticking with 14.1 until perhaps RR goes to 15.1 and Xposed is released. Could be years who knows lol
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
***Announcement***

Guys... There is no change in the kernel source code from LOS side as well as from my side (except some minor changes in Lazyplug). Since our kernels are already up-to-date, I'll skip the regular weekly update this time. You guys can safely use the latest version on any recent ROMs...
[Samsung Galaxy S 5 Unified Development] kenedielh:
Iam using it as daily driver. It is smooth and i have experienced a better battery life
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Here is a useful stuff (not related with Kernel) you guys might probably like...

https://xdaforums.com/showpost.php?p=75083795&postcount=53
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
I was thinking about going back to touchwiz because of S health
[Samsung Galaxy S 5 Unified Development] kemdroid:
Dude check the forum. You can get the s health app on any version of android! :good:
[Samsung Galaxy S 5 Unified Development] GeTex:
my heart rate sensor isn't accessible
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It should work in LineageOS-14.1 (and hopefully in its derivatives) if

---> you strictly follow the guidelines...

---> you properly removed any old existing HealthService (either installed as normal apk or in recovery) and related lib files...

---> you properly configured SHealth (you need to force closed SHealth app, clear data and reconfigure as usual...

So plz try again.... & Good luck... :p
[Samsung Galaxy S 5 Unified Development] GeTex:
the sensor isn't available in a hardware probe, as in the hardware isn't even being detected currently, worked on 6.0
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
It's working for me on RR
[Samsung Galaxy S 5 Unified Development] flyingsaucer75:
I have only an heart sensor it's called [MENTION=7060205]sunilpaulmathew[/MENTION].... always when he pull out a new kernel build for klteduos family and my S5 gain battery pulsing % like my heart :) we all enjoy and heart rate go high this is how S HEALTH works!!! ahahahah ;)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Nice one... Enjoyed a lot...

Thanks...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager-v2.1

Guys, there is an updated version (2.1) of SmartPack-Kernel Manager is now available to download. Download links as well as detailed change-logs can be found in the GitHub release page. Enjoy...

Please note: I made "Import" function in "Custom Control" as a free feature. If you guys can now utilize that feature to import/add some new features that are not available in the app yet. For example, if you like to add an "SELinux switch", download and import this ".json" file from Grarak's official page (here)
[Samsung Galaxy S 5 Unified Development] j1gga84:
Sometimes my camera is not working.

When I open the camera the display is black. It does not FC, I just can't see anything.

After a reboot it works again..

I am on latest official RR..

Possible error in attachment.

What could be the reason for that?

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] BrX91:
Bootloader update should fix that. Or clean flash if you came from previous version by dirty. I am on same version and no issues on klte.

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Samsung Galaxy S 5 Unified Development] GeTex:
That was a problem with the official RR for me
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
ok tried this in RR nougat rom and its laggy as hell why is that? using klte g900f
[Samsung Galaxy S 5 Unified Development] GeTex:
Official or unofficial?
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
official, its my first time using aosp/los roms and i dont know what kernel to use i tested the stock kernel but its draining battery and a little bit laggy on games now i tested this i dont know if games will be laggy but noti and drawer are laggy as hell wish i could test this more
[Samsung Galaxy S 5 Unified Development] GeTex:
Use furrkans unofficial build
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
i dont know what you mean by official and unofficial? is it the rom or kernel?
[Samsung Galaxy S 5 Unified Development] GeTex:
The rom...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, I added USB keyboard & mouse support (testing now in Oreo :p) See attached pic [MENTION=5414005]GeTex[/MENTION] and tell me if it is the right one...
[Samsung Galaxy S 5 Unified Development] GeTex:
Thats it. Let me know how its working
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
You guys can test... Test build for klte (only for klte now) is available in my Dropbox...

https://www.dropbox.com/s/75ftv2i7st64qsg/SmartPack-Kernel-klte-test-20180108.zip?dl=0
[Samsung Galaxy S 5 Unified Development] GeTex:
testing underway, appears to be working
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Introducing SmartPack-Kernel for Android 8.1.0 (Oreo-beta-v1.0)

Hi all,

Big thanks to all of my testers. After internal testing and enough feedbacks (and also some small issues in the main LOS-15.x thread) by the users, I think it is the right time to introduce SmartPack-Kernel for Android 8.1.0. I really hope some of you are already switched/planned to switch to Oreo especially after the release of Xposed. Here you can find the information about the very first beta builds for Oreo.

Please remember that it is just a beta release. So, expect some issues in the worst case. Further, I really want to request a few things to all of you...

1.	Please do not report bugs/post logs in the main LOS thread while using this Kernel (they do not care about your logs if you installed a custom Kernel)

2.	Please do not pollute main LOS thread by making discussions about this kernel. You guys can use this thread instead.​

/* How-to-install */

Please read next post

/* Supported devices */

klte: SM-G900F, SM-G900V, SM-S902L

kltekor: SM-G900K/L/S

kltedv: SM-G900P/I

klteduos: SM-G900FD, SM-G900MD

kltekdi: SCL23​

/* Compatibility */

This version of the kernel is only meant to work on Lineage-OS 15.1 and nothing else. This kernel will NOT work in Lineage-OS 14.1, Samsung Stock and their derivatives.

/* Features */

Build from latest Lineage OS source code.

Build using Linaro 7.2 (gcc-7.2) toolchain.

Anykernel concept for compatibility with maximum devices.

Kernel tweaker app recommend: SmartPack-Kernel Manager, Offical Kernel Auditor.

Almost all the standard features of SmartPack Nougat Kernel including...

CPU voltage control

CPU Freq Gov: INTELLIDEMAND, INTELLIACTIVE, SMARTMAX, LIONHEART, NIGHTMARE, ADAPTIVE, ALUCARD & ZZMOVE.

(for those who want to use zzzmove, I strongly suggest to carefully read this forum post by [MENTION=5811506]Saber[/MENTION])

CPU hotplugs: Lazyplug, Alucard and mako hotplugs.

CPU Input boost

IO schedulers: FIOPS, SIO, VR, ZEN, FIFO, TRIPNDROID.

TCP congestion algorithms: Westwood, reno, cubic etc.

Fastcharge

Sound Control

Intelli thermal v2.0

Adreno_Idler

USB Gadget (keyboard & mouse) support

FRandom

Dynamic sync control 2.0

Powersuspend

268 MHz CPU underclocked frequency cycle

Additional 27 MHz gpu frequency step (idle frequency)

KCAL v2

a lot more...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
How-to-Install

Since it is more like beta testing, I restrict the access of this version of Kernel to only Auto Kernel Updater app. Of course, I’ll provide direct links once LOS become more stable. More information about Auto Kernel Updater app can be found here.

To receive this Kernel, you guys need to do the following things…

1. Download and install Auto Kernel Updater (either apk or Magisk module) from here.

2. Go to app settings and give permission to access “Storage” manually (necessary to download Kernel zip files).

3. Open the app and allow "root" permissions.

4. The app will now prompt you to select “ROM Base” (AOSP/TW) and “API” (android versions 6.0.1/7.1.2/8.1.0). You should select "AOSP" and "8.1.0" in-order to receive this Kernel.

5. Tick “Experimental builds” in the “Settings” to receive this build.

6. Swipe to refresh and wait until the new releases (if any) appears on your app screen.

7. Click “Change-logs” to see the changes.

8. Click “Download” and follow the on-screen instructions to flash the new Kernel.

9. Enjoy your new Kernel.​
[Samsung Galaxy S 5 Unified Development] GeTex:
Plan to switch in the coming week, waiting for [MENTION=4419114]rovo89[/MENTION] to workout the bugs :)
[Samsung Galaxy S 5 Unified Development] Henrea4:
Can't jump ship until gps is up and running in LOS Oreo. It's critical for me.
[Samsung Galaxy S 5 Unified Development] robertut:
Dear sunilpaulmathew, thanks for the good kernel. I am using on my klteduos.

Can you please include a small kernel patch to allow applications (like DriveDroid) to switch between USB and CD-mode?

DriveDroid is a nice app that allows to mount ISO files through USB towards a computer and boot the computer from it (from the ISO file hosted on the phone). It's a great tool for system administrators.

Thread:

https://xdaforums.com/showthread.php?t=2196707

Patch direct link (taken from OP bottom):

https://github.com/CyanogenMod/andr...mmit/46bd47757a9f34c1d95dd2620414893212fb0526

Many thanks

Robert
[Samsung Galaxy S 5 Unified Development] Saber:
I just had a look at the links you gave and it seems that there needs to be work done to get it fully working on Nougat. Selinux policies conflict with the feature.
[Samsung Galaxy S 5 Unified Development] vos6434:
Anyone got good profiles for 15.1 that make my battery last super long?

I don't care about the performance on my phone.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
The mentioned commit has already been a part of LOS kernel (and consequently this kernel) for a long (see this). If it doesn't work, it may be because of some reasons mentioned by Saber.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New (v11_r7) builds for Nougat

New kernel version (Stable release: v11_r7) for Nougat is now available to download.

For change-logs, plz visit here...

Since AFH is not working properly (at least in Korea), I temporarily add new builds (which also includes another test build for kltekdi) to the xda's native download page, which can be found below...

Cheers...

https://xdaforums.com/devdb/project/?id=19591#downloads

[B][COLOR="Red"]Please note: because of the same (AFH) issue, auto-update of Kernel in my app will not work this time.[/COLOR][/B]
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

many thanks for the update to nougat kernel :good:

some people from german android forum complain that Resurrection Remix (unofficial and official) are running much slower with

smartpack kernel compared to stock kernel.. any idea what could be the reason for that? :confused:

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi, thanks for the information. However, as I'm not using RR (and never used unless for testing), I really do not have any idea. The only thing I can *blindly* suggest is to tweak the kernel in all the possible ways so that you will probably find some good configuration.
[Samsung Galaxy S 5 Unified Development] GeTex:
I'm the one testing for RR

I don't have worse performance except when an issue arises via alarm manager having a major malfunction and spewing errors in logcat, all the CPU's max out and performance suffers, at random system server(including system UI0 while hard reset, i believe its a RR issue upstream or part of nougat's power management for suspending background apps and setting alarms to rewake them when timed events occur
[Samsung Galaxy S 5 Unified Development] j1gga84:
Most of the kernels are customized for the "pure" LOS, I can understand that.

However, a german user told me that on his klte device only 2 working cores are recognized with geekbench quite often (the app shows 2x 2,5GHz and 2x 0GHz :confused:) which shows itself in a negative way in multicore perfomance.

regards
[Samsung Galaxy S 5 Unified Development] GeTex:
It's not possible to suddenly have only 2 of the 4 cores, it doesn't work like that, I assume an app bug big time
[Samsung Galaxy S 5 Unified Development] GeTex:
In further news I've been testing and finding with Zram at defaults the system behaves better with vfs cache pressure at 130 and swappiness at 30. Continuing to test but my performance bottlenecks have decreased and my screen on battery life is 4hr10min with RR. I'd say that's really good

On a side note GPU govenor simple ondemand is broken, it is fixable, I fixed it in my kernel before, I'll look for a commit
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=5414005]GeTex[/MENTION]

I don't know if it is a helpful information but the optimized boeffla kernel by [MENTION=516058]fbs[/MENTION] seems to run as good as the stock kernel.

maybe this kernel has other settings which are orientated to stock kernel and so there are no slow downs with it.

regards
[Samsung Galaxy S 5 Unified Development] Saber:
I think you are referring to this commit (or related): https://github.com/andip71/boeffla-kernel-cm-s5/commit/86c17b6d56846acb5c8a2122818c3588bf0e2937

---------- Post added at 05:15 AM ---------- Previous post was at 05:07 AM ----------

There could be many things that could affect the performance. With default configs, I do find that the phone does lag quite a lot. I'm running my own fork of Smartpack kernel mainly to try out new governors where I'm currently running Ondemandplus (as seen in boeffla). Everything seems buttery smooth after some initial testing.

I'll be working closely with [MENTION=7060205]sunilpaulmathew[/MENTION] on this matter.

Edit: BTW, I'm also using RR as daily driver.
[Samsung Galaxy S 5 Unified Development] GeTex:
[MENTION=5811506]Saber[/MENTION] I also am dd'ing RR and have been tweaking the kernel as well, i find intelliactive to be MUCH more responsive. also changing a few virtual memory values
[Samsung Galaxy S 5 Unified Development] saif hussain:
Hi dev

Can you plz add kali Linux support in ur kernel coz ur kernel is better than official kali kernel for me.

Plz add kali patch in kernel
[Samsung Galaxy S 5 Unified Development] saif hussain:
Unable to flash

My device is klteduas g900fd
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Saber, is that commit really working? Have you tried?

To be honest, I do not know how to do that. Can you provide some details. I have no issues to do that if it doesn't break other things...
[Samsung Galaxy S 5 Unified Development] saif hussain:
https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel

---------- Post added at 11:52 AM ---------- Previous post was at 11:50 AM ----------

Here all information about nethunter patch

https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
[Samsung Galaxy S 5 Unified Development] Saber:
Yep :) Am using simple ondemand without any problems here. There's also a change needed in devfreq.c to get it working correctly (see my git for reference).
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Last (stable-v11_r7) version is now also added into the regular AFH folder as well.

PS: Auto-update via Auto Kernel updater app should work now... Enjoy....

/* Downloads */

kltekor

klte

klteduos

kltespr

kltekdi (test-builds)

[B][COLOR="Red"]Please make sure to download the latest build dated 20180111[/COLOR][/B]

Thanks [MENTION=5811506]Saber[/MENTION], I'll took your commits soon... :)
[Samsung Galaxy S 5 Unified Development] GeTex:
Change logs would be nice!

I'm up for testing certain functions if you need them, or testing configurations. I also can continue to dig up commits if I find them

I really want to find out why I'm getting these slowdowns sometimes, and whats the root cause, because I believe it's the Alarm Manager

Out of curiosity, how do you handle the RTC in the kernel, because suddenly in the logs i get tons of Alarm Manager RTC NULL errors, and not just a few, i spams a couple hundred lines a second and during that time is the slowdown, all errors
[Samsung Galaxy S 5 Unified Development] kicker63:
Where can I find the Oreo kernel for the G900f.

Can anyone point me to the download link. Thanks.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi, this build is exactly same as that of the one I added to xda's native download place last day. This time I simply added to the usual download place (that is my AFH folder) as it is linked into the op. So, the changes are same. Further, you can always find chang-logs from here. This will be updated this page with each release. Further, I do not have much idea about RTC, so it should be in stock settings.

Read this plz...

https://xdaforums.com/showpost.php?p=75145527&postcount=1117
[Samsung Galaxy S 5 Unified Development] GeTex:
Might need to look into it then, I think there's a problem with the way LOS handles it too
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
You guys might be interested in this useful stuff by [MENTION=5811506]Saber[/MENTION]

https://xdaforums.com/galaxy-s5/development/kernel-los-plus-lineageos-14-1-t3734383
[Samsung Galaxy S 5 Unified Development] GeTex:
Work with saber to merge some changes :)
[Samsung Galaxy S 5 Unified Development] j1gga84:
Very much appreciated.

Let's make our device great again [emoji14]

After MM battery lifetime gets worse.

Hopefully it will be improved again with Oreo.

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] GeTex:
my battery improved with 7.0 massively, MM was the second hardest on battery for me, Lollipop was the worst offender
[Samsung Galaxy S 5 Unified Development] j1gga84:
Strange, on my side it is/was different.

I had a much better battery lifetime with RR 5.7.4

But LP was the worst, I agree ;)

On 5.7.4 I had 6-8 hours of SOT, but I am using original Samsung 3000mah battery.

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] GeTex:
Original Samsung battery is 2800mah

I'm using a replacement 2800mah, still adjusting stuff, battery life is climbing for me
[Samsung Galaxy S 5 Unified Development] j1gga84:
It was my fault, I am using the Samsung extended battery pack with 3500mah battery and a new backcover but it is not available anymore, only in white color if you have luck or used on ebay..

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sure, we are maintaining regular communication for a while to deal various issues. Will definitely pick some of his useful commits soon... :p

That's what I'm also felt. The battery in MM was little more better than MM especially in idle. Luckily, OreO showing some improvements in that side.
[Samsung Galaxy S 5 Unified Development] GeTex:
I'd help but I'm currently building the Index thread for the GS5 in the general forum. I'm linking both kernels, and ROMs and stuff. I need contributors