yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] Saber:
New kernel build released

Hey everyone,

I've just released a new build for you to download on AFH. Release v1_r2 is mainly a maintenance update, but there are some performance + stability improvements that everyone should be able to benefit from. Most notable change is the depreciation of o3 kernel optimisations. This is to ensure that there are no kernel instabilities in the long term. Another thing is that default read ahead value was increased from 128KB -> 512KB, which is in-line with what the mainline kernel has and will also affect external storage performance.

Kind regards, Saber
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Quick and dirty fix to get cpu input boost working

After looking at my kernel code under a microscope, I found out that cpu input boost has not been configured properly yet even though it was enabled in the kernel configs. The following fix is more of a workaround and will be replaced with a better solution. Until then, this will involve a .json file containing a script I created that will correctly set up input boost and will be managed under KA.

Prerequisites:

- Smartpack Kernel Manager (Don't worry about the name, Download page)

- Root explorer (e.g. Mixplorer)

- Intelliplug 'touch boost' must be disabled

Instructions:

1. Download cpuinputboost.zip

2. In a root file explorer, extract the zip file

3. Launch Smartpack Kernel Manager

4. Go to the Custom Controls section

5. Press the + ("plus") icon then select import

6. In the file selection dialog, select the extracted json file

7. Accept the import and ensure that the slider is on

Regards, Saber

Benefits over intelliplug touchboost:

- No lag

- Better performance and much smoother transitions

Credits:

- Grarak - For kernel adiutor

- CrazyGamerGR - For cpu input boost values

- Sultanxda - For cpu input boost

- Sunilpaulmathew - For Smartpack Kernel Manager and quick json bug fix

This post will be removed once a better solution has been released.

Update: Thanks [MENTION=7060205]sunilpaulmathew[/MENTION] for fixing my json file. Seems that the json file wasn't correct. I can't remove the zip file in the attachments for some reason, probably due to infra problems.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Thank you very much [MENTION=5811506]Saber[/MENTION] for this extremely useful (not only here, but also for my SmartPack-Kernel too) information. However, your specified method somehow does not work properly in my case, in Kernel Auditor as well as my modified app (it says, json malfunctioned?). So, I did some modifications to the json file and now it seems working. Here I'm attaching the same as well as a screenshot. You may check the .json to make sure that it's all fine. By the way, custom control import feature is free in my modified kernel manager app. So, those who are using my app (don't know anyone here) can directly import the json file to get this feature in one click.

Regards

Screenshot
[Galaxy S 5 Android Development (Snapdragon)] Saber:
New kernel build released and farewell

I've just released kernel build v1_r3 on AFH available to both klte and kltespr variants. This build incorporates the changes also found in the latest build of Smartpack. cpu_input_boost will now be enabled by default by the kernel init script so you don't have to use custom values in KA for the same effect.

Also, this is the last release for this kernel. My reasoning is because Nougat development has already ended for our device so the only changes coming from LOS is just for security. If you liked this project, consider building it yourself on github or support the original author of this kernel by jumping over to the Smartpack kernel thread. I will continue to give support as always until I move on to a different device ;)

Farewell and kind regards, Saber :)
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Oh no:crying:, please consider extending your support to LOS-15.1 and other Oreo ROMs. LOS-15.1 seems improved on each release. Hopefully, it become official soon.
[Galaxy S 5 Android Development (Snapdragon)] Saber:
I'll wait to official release first then I'll port my changes over, well, I'll have to see first :)
[Galaxy S 5 Android Development (Snapdragon)] j1gga84:
many thanks for the update :good:

I also hope that this will not be "the end" after that short time..

I was so happy to see you again develop for the Galaxy S5.

I know nad liked your work since Galaxy S2 and Dorimanx Kernel times :good:

Are you sure that Nougat development has already ended for the klte device?

https://www.cmxlog.com/14.1/klte/

There are still nightlies and the changes are not only for security I guess :confused:

For last nightly there were some kernel changes as you can see in the changelog and these changes go on from nightly to

nightly but of course I don't know how relevant these changes are..

Nevertheless, I really hope that official development for LOS 15.1 will start shortly, so that all manpower will be focused on the new OS

and I hope to see you also continue development for the Galaxy S5, after Lord Boeffla will quit development.

I also consider to buy a new device but I did not find any adequate replacement yet and the S5 is still good for daily usage,

especially with original Samsung extended Battery pack with 3500mAh and new backcover ;)

regards
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Thanks for the kind words.

By Nougat development having ended, I mean that the LOS maintainers are devoting most of their resources to LOS 15.1, meanwhile LOS 14.1 has already reached an ideal working state.

I don't think I'll disappear forever from the development world, think of it more like a break :)
[Galaxy S 5 Android Development (Snapdragon)] SolarMaximus:
I am sorry, not sure what's happening here but whenever I change the governor, after some time, the kernel stalls then reboot. At one point the phone remains on while the boot animation runs. A battery pull has to be done here. Once rebooted, it goes back to the default governor, interactive. Did I do something wrong here?
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Which governor did you try to use? Please post your full Kernel Adiutor profile. Also, which ROM are you using?
[Galaxy S 5 Android Development (Snapdragon)] artixerix:
Now, the big question is...will anyone port this bad-ass kernel to LOS 15.1? There are unofficial builds around and all, and I kiiiiinda miss battery life and performance that this kernel gave me on LOS 14.1. If nobody's up for it, I might as well return to 14.1 since damn, it's good.
[Galaxy S 5 Android Development (Snapdragon)] j1gga84:
LOS 15.1 still is in an early stage of development, so I would not expect that battery life and performance you know from LOS 14.1 yet ;)

That is the reason why I remain on Nougat until development stops completely and LOS 15.1 will become solid for a daily driver :good:

regards
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
LOS 15 is brutal on the S5 right now. Even the D2 S3 has better support
[Galaxy S 5 Android Development (Snapdragon)] Saber:
I'll spin a few builds for 15.1 when it's official (but I don't plan on adding new features). 14.1 builds are no more.
[Galaxy S 5 Android Development (Snapdragon)] dancekid:
Hello Community,

just installed this kernel and getting reboots when longpressing on/off instead of reboot menü. any suggestions ?
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Are you using stock kernel settings? Are you able to reproduce this issue?

Regards, Saber
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
He hasn't said his ROM, the LinOS Nightlies are very glitchy right now
[Galaxy S 5 Android Development (Snapdragon)] dancekid:
Good Evening,

reinstalled LineageOS without Xposed and less Apps. looks better now. will report back in a week.

Michael
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Good afternoon XDA,

I have just released build for kltekor and klteduos variants of my kernel. No new features over v1_r3 (final release), just variant support. Next build will be hopefully for LOS 15.1.

Regards, Saber
[Galaxy S 5 Android Development (Snapdragon)] Saber:
New kernel build released

I am pleased to announce build v1_r4!

So it seems that my departure from kernel development can't end too soon as the LOS devs have seemed to continue to provide security updates for Nougat. However, this isn't surprising as LOS 15.1 has not been officially released yet.

This build is quite a relatively large maintenance update. Many minor changes and tweaks to further refine both stability and performance/battery life. Please consult the github changelog page for detailed changes in this build.

Happy flashing, Saber ;)
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
Thank you for this. Now if we could only get someone to build a new RR Nougat.
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
Those who would like a alternative to the broken intellithermal I have a modded thermal-engine config in testing in the smartpack thread. I'm on mobile and can't like it here. Just a heads up it's still experimental
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
How does your kernal differ from Saber's and Sunipaulmathews? Thanks
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
I'm not writing kernels for N, I wrote for MM
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
Do I need to turn off core control under thermal? Thanks
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
Leave it on
[Galaxy S 5 Android Development (Snapdragon)] mickdubs:
This really lagged me down after flashing and i followed steps detailed in the OP for performance in kernel auditor

Ended up flashing lineage to restore original built in kernel and all is well again with performance and battery life.

I'm using a k l t e d v.
[Galaxy S 5 Android Development (Snapdragon)] Drhedphuk:
No problems here, V1 r4

900f

AOKP ROM

Very fast & smooth.
[Galaxy S 5 Android Development (Snapdragon)] Saber:
I'm also using kltedv and suffer no performance issue. Where do these lags occur? Do they occur everywhere or is it just in-game? Maybe there was a lot of CPU/IO usage, but without logs, I can't tell.
[Galaxy S 5 Android Development (Snapdragon)] GeTex:
I had no lag while my S5 still worked :(
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
Using latest kernal with the power saving settings and its working fine.
[Galaxy S 5 Android Development (Snapdragon)] mickdubs:
Interesting.

No gaming just general lag. Ill flash again this weekend and get some logcats
[Galaxy S 5 Android Development (Snapdragon)] drewcu:
Probably don't have the same lag issue as me, but I just solved mine yesterday... Caused by AdAway (crDroid) and Google Play Music.

Been plagued by it for years and didn't know why my S5 would start out fast and then all of a sudden get really slow where only a reboot could solve it. Figured it was just a crappy S5 I was cursed with or just because it's an old phone.

Downloaded Simple System Monitor and looked at Active Processes and noticed GPM would be at 12-15% CPU even after the music stopped. Googled the problem and easily found: https://www.xda-developers.com/psa-...oogle-play-music-may-be-draining-your-battery. Downloaded MatLog and sure enough had the same: GoogleTagManager: Exception sending hit: ConnectException repeatedly. Once I whitelisted *googletagmanager.com* and reloaded the AdAway lists, the CPU drain disappeared!

Can't believe I lived with the CPU drain for so long (and on other devices too) and the solution was so simple! Hope this helps someone else too. :)
[Galaxy S 5 Android Development (Snapdragon)] mickdubs:
Interesting i had blokada enabled
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Test build released

O hai guys,

I've been testing some changes taken from Smartpack kernel for a while now and found them to be stable enough for my usage. Even the builds are of stable quality, I will not release under a new build number (still v1_r4) only because I don't plan on keeping the changes on my repo officially.

Here are the two major changes since v1_r4:

Kernel source updates from LOS15.1

Added back 268MHz CPU clock

There shouldn't be any issues with deep sleep as I merged the required workarounds only for this build.

Pls note that only klte and kltespr kernel test builds will be released to make any debugging or support easy for me.

Kind regards, Saber

Edit: If you are coming from smartpack kernel, pls note that because this kernel uses the anykernel script, there will be compatibility issues flashing from one kernel onto another. Flash procedure is the same as usual for normal builds. If you want, feel free to post battery stats or let me know if battery performance worsens or improves.
[Galaxy S 5 Android Development (Snapdragon)] andrea2004:
is it compatible with 15.1? if you could give me a link to the downolad? and stable for quiotid use? the battery is good? sorry for my inglkese I'm italian!
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
If coming from smart pack kernal and installing yours what is the correct procedure? Thanks for this
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Nope, I plan to make LOS15.1 kernels in the future
[Galaxy S 5 Android Development (Snapdragon)] Saber:
You must restore the original ROM kernel first, then flash LOS-plus kernel.
[Galaxy S 5 Android Development (Snapdragon)] 6seis6:
Perfect for 900f with AOKP Rom

Thanks you very much!
[Galaxy S 5 Android Development (Snapdragon)] BadToThePhone:
Are your updates implemented in the new smart pack kernel? Thanks
[Galaxy S 5 Android Development (Snapdragon)] Saber:
I think almost all of my changes have been implemented into Smartpack kernel. Where my kernel deviates is in the :

- Hotplug driver (Intelliplug for best battery efficiency)

- Lack of Adreno Idler

- Addition of more governors

- Few tweaks on top and enabled kernel features

I plan to redo this kernel for LOS15.1 from scratch meaning I will rewrite the kernel building scripts and manually add needed features.
[Galaxy S 5 Android Development (Snapdragon)] Prime Evil:
I would be really happy if you build the Kernel for LOS15.1.

How far is the development?
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Haven't really had the time to work on my kernel lately. Just been busy with rl commitments.
[Galaxy S 5 Android Development (Snapdragon)] Tech0308:
This is a great kernel that you've developed and I really appreciate your work.

Would it be possible for you to add charging speed changes, something similar to the boeffla kernel implementation as it would allow us for example to set a slower speed at night. My phone heats up badly while charging so this would be useful.

Thanks in advance:fingers-crossed:
[Galaxy S 5 Android Development (Snapdragon)] Saber:
I don't use my S5 anymore, but I could do blind builds which I have mixed opinions on.

A reminder that this kernel is EOL, since 15.1 is now the way to go and also because I switched devices

You can alternative switch to the parent kernel, smartpack which is still actively developed :)
[Galaxy S 5 Android Development (Snapdragon)] jjackok09:
Issues

Hi, im at lineage os 14.1 this whole week and it works smooth. But when i tried to install this custom kernel, im experiencing a lot of lags even when im not in game. Can someone tell me whats wrong?
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Try changing the CPU governor. I recommend ondemandplus since it makes the S5 feel more snappy.
[Galaxy S 5 Android Development (Snapdragon)] RFrancis:
What is/are CRC? OP mentions it.
[Galaxy S 5 Android Development (Snapdragon)] Saber:
Wikipedia page
[OnePlus 5T  Questions & Answers] jccspeed:
I am slightly hearing impaired on my left ear and I need an audio balance it drives me nuts if I can't balance the audio. Is there a way to do so without root for at least YouTube if not systemwide?
[General Questions and Answers] Dermerzel:
I like 8Tracks music player. Since the powers that be here in the US limit things in the name of...!

So, I have unlimited music using the 8Tracks app on my Cell, Samsung Galaxy 5, rooted. No commercials/adds or any interruptions. For some reason.

When I attempt to listen to 8Tracks on my computer via windows app or the web page it says I have used my 1 hour time limit.

Ok, so VPN to Canada and the limit is gone. I read other forums and they say to D/L this hack and reinstall the 8Tracks app.

Risky...

Anyone know how to bypass the one hour limit on the Windows app or webpage. Using Firefox, I do not use Chrome.

Anyone know of an app that does a VPN for just a single app or group of apps?

Thanks

Scott

Ok, Wrong Thread but I don't know how to change it to a correct thread.
[General Questions and Answers] xanthrax:
Using a VPN to bypass network restrictions isn`t "illegal" but if this restriction removal it is a paid feature then , asking for a kinda "hack" to bypass it gets in conflict to our Forum Rules

This is the reason why I will close this thread and recommend you to perform a deeper Google search.

Thanks for understanding !
[Android Q&A, Help & Troubleshooting] 1st.oneplus:
Following the very helpful guide [Guide] Undelete / Data Recovery - Internal Memory -> https://xdaforums.com/showthread.php?t=2143188

I have been able to achieve everything listed except that I don't have a tool to do the role of VhdTool. I need an OS X alternative can anyone help please.?
[OnePlus 5T  Questions & Answers] Hawksronny:
Any setting I'm missing to disable pin lockscreen check mark/enter button so that the phone automatically unlocks when I press the last number correctly in my pin? Every other phone I've owned had the option. Thanks Attaching a screenshot of the option too
[OnePlus 5T  Questions & Answers] digitalstudioinc:
Thanks a lot

:) :) :)
[Galaxy Tab S2 General] NJ_RAMS_FAN:
Hi all. I bought a tab s2 for my step-dad this past Christmas and it keep rebooting once reach like 15-20% battery. One point, it got stuck on Samsung logo. I had to hard reset. I ended up exchanging that tablet with Amazon. Now the exchange tablet is doing the exact same thing. What are the odds of this happening again? Do these suffer from random reboots? I don't want to exchange again and it happens for a third time.

The tablet went to 0% charge. And it didn't turn on since then. It's currently on Samsung logo. I have older samsung tablets. And this never happens.
[Galaxy Tab S2 General] Masteryates:
I've been using my SM-T715 for the last 1.5 years and can't remember a single reboot irrespective of battery level. :cool:

For others to help, consider sharing your model number and firmware being used. :angel:
[Galaxy Tab S2 General] NJ_RAMS_FAN:
Sm-713 model. On nougat. I forgot exact number.
[Galaxy Tab S2 General] Masteryates:
You can find those exact numbers somewhere in settings.
[Galaxy Tab S2 General] NJ_RAMS_FAN:
i know. i dont have the tablet with me at the moment. but i cant check that anyways. since the tablet wont reboot..
[Galaxy Tab S2 General] NJ_RAMS_FAN:
So I sent the tablet in for repair.. they swapped the motherboard.. two days later.. it does the same thing.. so bizarre.. once it reaches zero.. turns off it wont turn back on.. stays on samsung logo screen...
[Galaxy Tab S2 General] droutis:
Exactly same model, exactly same problem, I bought it 3 days ago, brand new.
[Galaxy Tab S2 General] NJ_RAMS_FAN:
I'm taking it to samsung directly tomorrow. theres a repair center around me. They said they replaced the board but I don't think they did.
[Galaxy Tab S2 General] droutis:
I don't think the board is the problem, more likely the battery is the culprit.
[Galaxy Tab S2 General] NJ_RAMS_FAN:
hm.. maybe.. its just weird it charges from 0 to 100% with no problem.. but then it doesnt boot. stays on samsung logo
[Galaxy Tab S2 General] NJ_RAMS_FAN:
Wth is going on with this tablet. I finally got it replaced by Samsung. New one is doing the exact same thing. Tablet is been used lightly. The tablet died to 0%. Now it doesn't want to turn on again. Crap is annoying.
[Galaxy Tab S2 General] NJ_RAMS_FAN:
Going to restore and install one app at a time and see if maybe it's an app that causing it. It has to be.
[Galaxy Tab S2 General] mkdr:
I have the same issue with S2 9.7". It randomly reboots with more chance the lower the battery is. Mostly zero chance above 50% then with around under 30% it happens way more often, especially when you install/update apps. So I guess the entire Tab S2 line has a battery issue, maybe a too low voltage over time, resulting in CPU/flash memory becoming instable of too low voltage. Mine was actually just 2 weeks old after showing the issue. Instead of swapping the battery, the repair service mostly will just swap the motherboard, which will not solve this issue.
[Galaxy Tab S2 General] bobkoure:
Thought I had a fix - but I just got a reboot :(
[Galaxy Tab S2 General] geeman926:
Hey everyone. Just wanted to tell you i got the exact same problem in my T713. It's most certainly a spike on battery usage and the inability of the battery to keep up due to degradation, as this problem presents when I'm trying to do intensive tasks like watching videos on youtube or entering many apps in a short timespan.

My personal fix was to underclock the CPU maximum frequency using smartpack from 1804Mhz down to 1612Mhz. Obviously you need to root your device for this fix. Once i did this the rate of random reboots diminished substantially while minimally impacting performance. I know its not a perfect solution, but if you use your tablets just lightly, this might certainly work. Changing the CPU governor to some conservative mode might also do.

Hope this helps everyone.
[Galaxy Tab S2 General] fmc000:
Seems to work for me too on my T719. For the first time in ages I was able to use my tablet until it shut down itself because the battery was too low, usually it started rebooting at 35-40% of battery.

Thank you.
[Galaxy Tab S2 General] [-andi-]:
Hi,

I'd like to try the underclocking on my T813, could you please explain a bit more what you've done?

Thanks!
[Galaxy Tab S2 General] toasterboy1:
I just installed SmartPack-Kernel Manager (ROOT) from the playstore. Open the app and click the hamburger on the top left. Go to CPU and change the Maximum Frequency. Swipe over the Apply on boot.

I turned mine down to 1382 and I can make it to about 25% before it starts to reboot. We will see if that is good enough for the kids.
[Galaxy Tab S2 General] SvenHee:
Thanks for sharing, will try this too!

I have had the tab sent back under waranty but the problem returned.

At first manifesting itself using a boating navigation (navionics) but this morning opening the play store also rebooted.

After recharging when making a backup AND trying above solution at 40% battery I could at least start navionics, which was hard before.

Edit:

Rebooted below 23%, changed cpu settings but forgot to reboot to apply.

Now at 11% and navigation still working.

Edit2:

For the first time in I think over a year I have been able to use the tablet for hours on end!
[Galaxy Tab S2 General] [-andi-]:
Thanks a lot, it did indeed help. I set the frequencies using Kernel Adiutor and for the first time in weeks I was able to use the tablet below 50% battery. :D
[Galaxy Tab S2 General] SvenHee:
Update several weeks later, tablet is still working as intended, I am soooo happy to be able to use it normally again, thanks for posting the solution!
[Galaxy Tab S2 General] htcdesire24:
I have a question regarding this solution:

Does this underclocking also work if I undo root? Cause I´m using different banking apps that won´t work with root :(
[Galaxy Tab S2 General] fmc000:
AFAIK you have to be root to underclock/overclock a CPU.
[Galaxy Tab S2 General] SvenHee:
If you root with magisk you can use "magisk hide".

I do this and can use my banking apps.
[Galaxy Tab S2 General] htcdesire24:
That sounds great, I´ll try this.

Thank you