yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Original Android Development] spookcity138:
***WARNING***
-READ CAREFULLY!!

YOU FLASH THIS KERNEL AT YOUR OWN RISK.I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT MAY OCCUR DUE TO THE FLASHING OF THIS IMAGE.
I WILL NOT BE RESPONSIBLE FOR LOST DATA,BRICKED PHONE,OR ANYTHING OF THE SUCH.(PHONE EXPOLDES,OVERHEATS ETC)
THIS KERNEL IS ONLY FOR THE S5 MINI SM-G8OOF (Exynos) DO NOT FLASH THIS ON ANY OTHER DEVICE!

EOL (End of Life) ​

I will be creating a new thread for my N kernel - Stay tuned!​

UPDATED Linux kernel to 3.4.113 on 27-10-2016​

UPDATED to v2.5 on 13-10-2016​

Changes in version 2.5
*Unlocked CPU frequencies 1500,300 and 200MHZ
*Switched to self built Linaro/Sabermod toolchain
*Added many more optimization flags
*Added DriveDroid support

Features

Known Issues

Installation

Sources

CHANGELOG
[U]18-06-2017[/U]
-Switched to anykernel2

[U]31-10-2016[/U]
-Added zip for Bliss Rom

[U]13-10-2016[/U]
-Unlocked CPU freq 1500,200,300MHZ
-Switched to my self built toolchain
-Added many more optimization flags to the build
-Added DriveDroid support
-Added zip for Zephyr-OS

[U]24-07-2016[/U]
- Added zips to support more custom ROMS

[U]V2 - 23-07-2016[/U]
-Fixed RAMDISK to make it compatible and actually work with newer builds of CM13
-Changed SELinux from disabled to permissive to be in line with the "stock" CM kernel

-Added I/O schedulers
-fiops
-tripndroid
-vr

-Added CPU governors
-pegasusq

[U]V1 - Initial Release[/U]

Thanks to

I hope you enjoy and please say thanks if you find this at all useful :o

XDA:DevDB Information

Spookcity_Kernel, Kernel for the Samsung Galaxy S5 Mini

Contributors

spookcity138

Kernel Special Features:

Version Information

Status: Beta

Created 2016-05-26

Last Updated 2017-06-18
[Galaxy S5 Mini Original Android Development] zaworka:
Nice, finally some new development for our phone =)

I will test the kernel right away...

One thing that I would really love would be if you have the time to look into adding DT2W :angel:

Thanks for your work so far :good:

*edit*

booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM ;)

log
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for trying out the kernel. That's weird about the WiFi. I have never had that happen in the bunch of times I have flashed it. I will def look into it.I'll have a look at the log, although at this point I'm also not that great at interpreting those, so it may not help. I'll see what I can do though :D
[Galaxy S5 Mini Original Android Development] br3acker:
can you tell me someone what is kernel?
[Galaxy S5 Mini Original Android Development] spookcity138:
http://www.makeuseof.com/tag/linux-kernel-explanation-laymans-terms/
[Galaxy S5 Mini Original Android Development] spookcity138:
OK,well after looking at the log and trying to decipher it and then thinking a bit I have only come up with one possibility.Maybe somehow your wpa_supplicant.conf file located in /data/misc/wifi/wpa_supplicant.conf has the wrong permissions for some reason.If you want you could try to check and possibly change the permissions.If you decide to try this I would backup the file because you never know.

The permissions should be: Owner - wifi Group - wifi...

Owner read and write/Group read and write/ others none.

If your permissions are correct on that file the only other thing I could possibly think of to do if you wanted would be to delete that file,wpa_supplicant.conf.Only after you back it up it though because you will lose all of your passwords,and reboot.It should recreate it.Do that at your own risk though.This is all I have come up with because I have never had that problem,so it's a bit difficult.
[Galaxy S5 Mini Original Android Development] zaworka:
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.

Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.

I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
[Galaxy S5 Mini Original Android Development] spookcity138:
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
[Galaxy S5 Mini Original Android Development] zaworka:
Nice, that worked! Thanks for the effort ;) :good:

Will test it over the next few days :fingers-crossed:
[Galaxy S5 Mini Original Android Development] spookcity138:
Good,I'm glad that worked.You thoughts and feedback are most welcomed.
[Galaxy S5 Mini Original Android Development] sasukesama:
Any chance this kernel hits the G800H for cm 13 too ?

I can be your tester :)
[Galaxy S5 Mini Original Android Development] spookcity138:
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
[Galaxy S5 Mini Original Android Development] sasukesama:
Sounds good

I think you can do the same (using the cm13 kernel and DJ_Steve kernel stuff) as he has a G800H version of his kernel
[Galaxy S5 Mini Original Android Development] Abde77:
I use your kernel , you can repair the wifi ?
[Galaxy S5 Mini Original Android Development] spookcity138:
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]

I give up on that for now though.It's giving me a headache.

I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.

I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
I kinda remember this issue as well.Good to know about the ramdisk.

Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
[Galaxy S5 Mini Original Android Development] Oleggluk:
Robot voice I have never had. And mute has the same problem that error camera. If you kill the mediaserver, the microphone performance is restored. You can use the long-known app Mediaserver Killer. (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
Currently I'm fighting a few Linux update patches that are causing problems. Hopefully I'll sort that out soon and start tweaking/adding things to the kernel. It will still be some time though as I'm a bit busy lately.
[Galaxy S5 Mini Original Android Development] Sunn76:
Any progress on the project?

I am about to flash this kernel again.

Would be nice to test it out to if needed

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Original Android Development] spookcity138:
Not really. I got the Linux kernel patches all applied though. I will try to get the MM kernel source in sync with this build soon though and we can see if there are any problems.

I was actually planning on messing with this a bit, but then I spent like 30 minutes updating the Slimrom thread. I went to save and XDA gave me an error, so I wasted time there. I still can't edit the original post for whatever reason. Guess I'll try again tomorrow as I'm just annoyed by the whole matter now [emoji35]

Lol
[Galaxy S5 Mini Original Android Development] Oleggluk:
Hey. The core of the СM13 suitable to LineageOS 13.0 ? (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
I would assume so yes, but I can't say with 100℅ certainty. I will look into this soon.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Already I checked. Special problems are not present, only if reboot is not a mobile network, helping flight mode. Then something changed. I went back, waiting for the correction. (Google Translate)
[Galaxy S5 Mini Original Android Development] spookcity138:
OK, thanks for testing. I will look into this when I have some time.
[Galaxy S5 Mini Original Android Development] spookcity138:
I just flashed the CM13 kernel on LineageOS. It all works good for me. No problems here.
[Galaxy S5 Mini Original Android Development] KyeWalker:
Hey I'm upgrading my s4mini to the s5mini in a week or so...... I like the features you have in your kernel, I would also like to try the new Lineage OS but struggling finding reliable post/ROM

Would you be kind enough to share the link/ROM you are using for S5mini please??

Many thanks ?
[Galaxy S5 Mini Original Android Development] Friedensfurz:
https://xdaforums.com/showthread.php?t=3545642
[Galaxy S5 Mini Original Android Development] pre_:
Hi! Is there a chance that this could work for LineageOS 14.1?
[Galaxy S5 Mini Original Android Development] spookcity138:
At some point I will make a kernel for LineageOS 14.1. I'm really waiting until I start messing more with nougat,which will be soon hopefully.

To answer your question though, it's unlikely that the CM kernel on the main post would work for LineageOS 14.1. It's possible though. Only try if you understand the consequences and know how to get your system back if it fails though.
[Galaxy S5 Mini Original Android Development] pre_:
Thanks for the answer! I have tested it. It seems to get stuck in the boot animation. I was able to roll back to the original LineageOS 14.1...
[Galaxy S5 Mini Original Android Development] aelfinn:
Also, a version for RR5.8.x would be much appreciated! :)
[Galaxy S5 Mini Original Android Development] spookcity138:
I have completely neglected this project. I really will try to get back to it soon. I have not givin up on it. I've just been busy with other things.
[Galaxy S5 Mini Original Android Development] Mrdream94:
No problem, we can wait as this is the most stable custom kernel for g800f.

I want To suggest for adding more features:

- fading LED (Shold be already present in your next build :D )

- GPU overclocking

- Voltage control for CPU and GPU

I hope you consider those features!! :)
[Galaxy S5 Mini Original Android Development] spookcity138:
I will indeed consider and try to implement these features. I'm nearly done with my "ROM building phase" [emoji2] Then I very much promise to get back to this!
[Galaxy S5 Mini Original Android Development] Oleggluk:
Are there any news for 14.1 ?
[Galaxy S5 Mini Original Android Development] spookcity138:
Not yet,sorry. Hopefully I'll have some time soon. I just don't know exactly when. I've just been really busy lately.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Yesterday did experiments. I took the core of Spookcity_Kernel_RR-v2.5 and the original kernel [G800F / M / Y] [7.1.1] RESURRECTION REMIX N 5.8.2, used the kernel repacker.exe program. I installed RESURRECTION REMIX N 5.8.2 on a clean phone. And I installed the resulting kernel. The phone was loaded, the main part is working, Wifi is working, the mobile network is working (there is no mobile Internet). Applications are started, but everyone has a problem, there is no access to memory., There is no way to save a photo or screenshot. And there is no possibility to install applications. The file manager does not work. If you fix access to memory and mobile Internet, you can get a working kernel., Unfortunately, I do not understand anything about this. (Google Translate)
[Galaxy S5 Mini Original Android Development] spookcity138:
I'm not real sure why this is off of the top of my head. I've been trying to build a kernel that would pass safteynet without luck. Safetynet is a bit of a mess. I'm nearly ready to give up on that. I will focus on this soon.
[Galaxy S5 Mini Original Android Development] Mrdream94:
I hope soon, without safetynet too, it's not so important :angel:
[Galaxy S5 Mini Original Android Development] Oleggluk:
I'm ready to test any changes for RR :) (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
If interested in testing a very early version of a new kernel with no features added at this point (lots of optimization flags,updated Linux kernel and compiled with UberTC though) check Here
[Galaxy S5 Mini Original Android Development] Oleggluk:
[G800F/M/Y][7.1.1]RESURRECTION REMIX N 5.8.2

No problems so far. I'll be testing on. Thanks. (Google Translate)
[Galaxy S5 Mini Original Android Development] Mrdream94:
Testing on BeanStalk ROM and EVERYTHING seems working perfectly. Amazing work! Thank you Rick :highfive:

If you want, I can test the kernel with all features! Wowww!!!
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks guys! I will be adding things to this when I have time. Hopefully soon. Stay tuned!
[Galaxy S5 Mini Original Android Development] Mrdream94:
I noticed more fluidity on app launch and general things
[Galaxy S5 Mini Original Android Development] spookcity138:
Good! Hopefully using Uber toolchain along with all of the build flags does add at least a little performance gain without creating problems. Thanks for the feedback!
[Galaxy S5 Mini Original Android Development] Mrdream94:
I have problems on recording audio... From yesterday To 30 minutes ago it was working... But now it is not working anymore. It records a distorted sound like an interference.. Tried wiping cache/dalvik but it's still not working...

:crying:
[Galaxy S5 Mini Original Android Development] spookcity138:
Hmm,interesting. This is something I'll have to look into. I'm not sure what would cause this, especially since it had been working for you. I'll look into it.

Edit:

Any chance you can grab a log of the problem? If not no problem. I'll try to test it out at some point.

Edit II:

Nevermind on the log. I have distorted recorded audio as well,so I can grab one. I'm going to try to start disabling some build flags. Maybe try another toolchain and see if the problem is still there. If it is it's due to one of the 50+ Linux patches I applied. That will be just my luck lol
[Galaxy S5 Mini Original Android Development] Mrdream94:
Hey sorry, i'm reading it only now. Anyway, i had another little problem, i think related To this new kernel... That's the situation: i restored the old stock kernel of BeanStalk in twrp and after this I noticed my battery was charging VERY slow...Like double of the usually time needed And this night it wasn't charging at all. So this morning I found my phone shutted down and charging at 27% :confused: So i made a clean flash and all is working now.

(I hope my english is clear and undestandable :silly:)
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah,completely understandable. I'm not sure if this is kernel related though. I have this occasionally as well,with all ROMS for our device. I just need to unplug and re-plug the charger and it generally works as normal after that. I'm not sure what causes this.

Edit:

That said,ANY issues that you expect may be related to the kernel I certainly appreciate hearing as it should be a lot easier to track down the cause at this early stage.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Mmm i'll pay more attention if i have this issue again and I'll let you know :)
[Galaxy S5 Mini Original Android Development] antes533:
I noticed a strange thing in the audio, if you restart the phone the audio recording does not work but if you turn it off and then turn on the recording it works fine.
[Galaxy S5 Mini Original Android Development] spookcity138:
Interesting, thanks for letting me know. Hopefully it's related to the distorted audio issue,so if I can figure out what's causing that it will fix this issue as well.
[Galaxy S5 Mini Original Android Development] spookcity138:
I have built a new version. The only change is I have reverted the last few Linux patches (to 3.4.105) as I think the last few may be causing the distorted recorded audio and other audio related problems. Please let me know as I would like to start adding features to this,but will not until I can get it working properly with just the Linux patches.,custom toolchain and optimization flags. Thanks!

Download Here
[Galaxy S5 Mini Original Android Development] Mrdream94:
Flashed! First thing I noticed is CPU working between 90% and 100% on 1400MHz :crying:

Edit: after a reboot it seems working better now. Deep sleep works too :laugh:
[Galaxy S5 Mini Original Android Development] Andi46:
audio issues gone...

As already said via GitHub, with the 3.4.105 kernel the recorded audio issue seems to be solved, compared to my GFs with kernel 3.4.39 ... :good:
[Galaxy S5 Mini Original Android Development] Mrdream94:
Yeah, for me is working too!

:highfive:
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks! This is good news. I can now just look through a few patches to try to fix it,as opposed to a whole bunch.
[Galaxy S5 Mini Original Android Development] spookcity138:
New version...Back to Linux 3.4.113. Hopefully with fixed audio. Please let me know as I really want to start adding things to this. Things to look for are distorted recorded audio or anything similar and headphone detection. Obviously anything else as well,but these were the issues reported so far. Thanks!

Download Test 3 Here

Also,switched to self built UBERTC 7.0 for the toolchain.
[Galaxy S5 Mini Original Android Development] Mrdream94:
I made some tests and audio is working well. I'll continue to test it, thank you! :cool:
[Galaxy S5 Mini Original Android Development] Andi46:
+1 - well done [MENTION=7065337]spookcity138[/MENTION] ! ;:good:;) (that's a BIG step forward for an OFFICIAL LOS 14.1 build :good::good:)
[Galaxy S5 Mini Original Android Development] Knoose:
Still working well on my end :)
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for the feedback guys! It seems good to me too. Let me know if there are any other issues anyone notices and hopefully I'll start trying to add and tweak some things very soon.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
Hi!

Is it already useable with LOS 14.1?

wkr ADT
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah,I've used anykernel2,so it's compatible with all nougat ROMS. No features yet,just custom toolchain,build flags and Linux kernel patches.
[Galaxy S5 Mini Original Android Development] Andi46:
yes it is... :good:
[MENTION=7065337]spookcity138[/MENTION] - BIG THX for your endurance ;)
[Galaxy S5 Mini Original Android Development] elhennig:
For me the Test3 kernel seems to produce far less warm restarts compared to the stock kernel of RR 5.8.2

So in terms of stability this is a real improvement.
[Galaxy S5 Mini Original Android Development] spookcity138:
Great! And thanks for the feedback. There should be some improvements. Besides the custom toolchain and build flags. I have applied nearly 75 Linux kernel update patches to go from 3.4.39 -> 3.4.113 (the latest) Each patches multiple files. Sometimes 50+. These are fixes,improvements etc. In total 1,000's of files have been patched/fixed/improved. So hopefully there are at least some minor improvements from the 3.4.39 kernel.
[Galaxy S5 Mini Original Android Development] bravur:
Sorry for this question, does this kernel included in any of the custom ROMs?
[Galaxy S5 Mini Original Android Development] spookcity138:
Not at this point. I may include it in one of my ROM builds once I decide on the ROM I plan to stick with. It can be flashed over any nougat custom ROM though without problem.
[Galaxy S5 Mini Original Android Development] Mrdream94:
After 3 days of usage i can confirm EVERYTHING working. Waiting for the kernel with features :D
[Galaxy S5 Mini Original Android Development] spookcity138:
Great! Thank you very much. Hopefully I will have some time over the weekend to start tweaking and adding.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Updated To latest beanstalk, flashed kernel and the 1400mhz issue is back. I have CPU locked working 100% on idle. Rebooted, pulled out battery but nothing changed

EDIT: te issue is ROM/Gapps related. Stock kernel have same bug
[Galaxy S5 Mini Original Android Development] spookcity138:
Weird, I don't think I've experienced this before,but if its the same with the stock kernel then yeah. Perhaps I can tweak something to avoid this. I'm unsure. I'll look into it.
[Galaxy S5 Mini Original Android Development] Mrdream94:
I think is beanstalk related
[Galaxy S5 Mini Original Android Development] spookcity138:
OK,thanks for the info!

Edit:

But it does sort itself out right?

Is beanstalk running OK for you?

I'm running it now and it is for me. Just curious.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Ok, that seems be the problem: when i dirty flash beanstalk (just for updating) when boot o have google ay services and calendar keep crashing. I think that's the problem. Im going to made a clean install right now
[Galaxy S5 Mini Original Android Development] Oleggluk:
There is an interesting topic. https://xdaforums.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542 . Maybe you should try adding to the kernel? (Google Translate)
[Galaxy S5 Mini Original Android Development] elhennig:
Why? This is just another kernel config app, or did I miss anything?

You can also use Kernel Adiutor (see https://xdaforums.com/android/apps-games/app-kernel-adiutor-t2986129) or other similar apps.
[Galaxy S5 Mini Original Android Development] spookcity138:
I'm not sure as I've not looked into that link very hard. I plan to later when I'm at home. However, I'm currently working on getting synapse going​ on my kernel as I do really like it. Setting up a working backend is going to be a little difficult I think, so it's just a matter of how much time I want to spend on that.
[Galaxy S5 Mini Original Android Development] elhennig:
Kernel Adiutor works just fine with your kernel.
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah, I know and I like Kernel Adiutor, but synapse is a bit different. You just need to setup a backend that works properly. There are many possibilities with synapse. It's all controlled by the setup of the backend, so it can be very customized and what not by whoever sets it up.
[Galaxy S5 Mini Original Android Development] filip555:
Will you make 1500 MHz kernel with zzmoove etc?
[Galaxy S5 Mini Original Android Development] spookcity138:
Yes, this is all in my plans
[Galaxy S5 Mini Original Android Development] spookcity138:
New test build up. Go Here to download and read full info
[Galaxy S5 Mini Original Android Development] Oleggluk:
The smartphone turned on. Synapse works. I will test. XenonHD 7.1. Thank you! (Google Translate)
[Galaxy S5 Mini Original Android Development] Mrdream94:
Everything works here too!! Thank you

Beanstalk 7.1.2
[Galaxy S5 Mini Original Android Development] Oleggluk:
Several times Governor changed and an error appeared (Google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
Uhg,I thought I had fixed that. I guess not. I haven't had that happen recently though. Synapse has proven a bit difficult for me to set up. Thanks for letting me know about the issue. I will try to fix up synapse some for the next build.
[Galaxy S5 Mini Original Android Development] Oleggluk:
Through Kernel Adiutor works well :D (Google translation)