yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah, I'd really like to get synapse setup and working properly,but I think it will take time. If it's too much time I may not,cause like you said Kernel Adiutor works. I just prefer synapse...if I can set it up right [emoji2]
[Galaxy S5 Mini Original Android Development] Oleggluk:
This is the core for our smartphone https://xdaforums.com/galaxy-s5-mini/orig-development/kernel-custom-kernel-t3130662 uses synapse. You can see ideas there, Boeffla sound engine, Voltage Control .. ;) (google translation)
[Galaxy S5 Mini Original Android Development] spookcity138:
Yes, I have and will continue to look at that. The thing is I'm using the anykernel method,where as CurtisMJ is using ramdisk patches. Either way,it will be helpful...and again,big thanks to CurtisMJ!
[Galaxy S5 Mini Original Android Development] Mrdream94:
https://xdaforums.com/galaxy-s5-mini/orig-development/kernel-tweaked-tw-kernel-oc-uv-t3264972

You can look at this too :)
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah,I've looked at his repo as well and it has helped me kernel wise. Won't be help synapse wise,but as I said,I'll continue to mess with synapse and if I get it setup properly great. If not,Kernel Adiutor will always work and I'll just keep the synapse support with my kernel for those wanting to try,but remove the actual app from installing with the kernel.
[Galaxy S5 Mini Original Android Development] spookcity138:
I've been looking a bit into the permission denied errors with the CPU governor. It seems to be related to zzmoove profiles rather than synapse. It seems to be rather common as well. I will look more and see if anyone has managed to solve it.

Edit:

I've also experienced a similar issue in Kernel Adiutor related to zzmoove. Not permission denied,but when you select zzmoove and go to "tune it" sometimes I get a "zzmoove is not tuneable" Even though it obviously is.
[Galaxy S5 Mini Original Android Development] Mrdream94:
With zzmoove i have CPU only on 1400 MHz. Is thay normal? It's a performance governor?
[Galaxy S5 Mini Original Android Development] spookcity138:
Well,there are different profiles for zzmoove. If you use synapse you can see the names. In synapse or Kernel Adiutor you change the profile by entering the profile number. I generally use 2,which is ybat. As far as what all the profiles do I'm unsure. You'll have to do a search for that.
[Galaxy S5 Mini Original Android Development] spookcity138:
New build with minor update. Please test and let me know .

Read about it and download Here
[Galaxy S5 Mini Original Android Development] Knoose:
Hmm this kernel sorta works for me. Although I also have the problem of zzmoove at 1400 all the time. Even with other profiles set. Synapse does not work on my device. I get the following error: no uci support detected. Thanks for your work in our device spookcity!
[Galaxy S5 Mini Original Android Development] spookcity138:
Well,the zzmoove problem is more than likely related to the profile. Perhaps try another? You can do this by inserting the profile number in kernel adiutor or synapse. You are the first to mention the synapse issue. This is strange to me. I have no problem. Perhaps look in /sbin and see if you have uci.

Edit:

Also,you must have root otherwise you will get this message in synapse.
[Galaxy S5 Mini Original Android Development] Mrdream94:
I'll try To flash this evening! Thank you for keeping this update ;)
[Galaxy S5 Mini Original Android Development] Knoose:
Hmmm weird. I do have root, but now you mention it i did not get to grant root permission when synapse is fired up. Gonna check it out this evening but i am going to enjoy the weather first. These kind of days need to br taken advantage of in Holland ;)
[Galaxy S5 Mini Original Android Development] spookcity138:
Haha, from someone who is not originally from Holland I can't agree more! Lovely country,but the weather can be a little difficult for someone who is much more used to days like it is today. [emoji3]

Enjoy!
[Galaxy S5 Mini Original Android Development] Mrdream94:
Can't set min freq lower than 800mhz on zzmoove governor. Synapse seems Crazy when i try to change it. I set To 400 and when confirm, it jumps To 1000 MHz.
[Galaxy S5 Mini Original Android Development] spookcity138:
Very strange. I do not have this problem. I'll try to look into it some.
[Galaxy S5 Mini Original Android Development] Pat750:
How can the original kernel of a ROM be restored?

1 .Flash the boot.img from the ROMs zip and reflash the chosen root method?

2. Flash the original boot.img which Magisk creates and reflash the chosen root method?

3 .Restore the boot partition from a previous TWRP backup?

If any of these work which method is the "best"?

Extracting the kernel myself...is not an option...:cyclops:
[Galaxy S5 Mini Original Android Development] spookcity138:
I would say 1 would work just fine. If not or you need a hand just let me know what ROM you're on and I can create a flashable zip of the boot.img for you.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Number 3 is the safest/quickest way i think
[Galaxy S5 Mini Original Android Development] spookcity138:
New test build up. Download and read about it Here
[Galaxy S5 Mini Original Android Development] Mrdream94:
For me everything is stable and working :D
[Galaxy S5 Mini Original Android Development] bravur:
I might be inappropriate: is it possible to implement USB-OTG in this kernel?
[Galaxy S5 Mini Original Android Development] Pat750:
Please look into your app drawer there is an app called extra settings or something. USB OTG can be activated there.
[Galaxy S5 Mini Original Android Development] bravur:
Thanks, I'm on the way to flash a custom ROM after the warranty is over. Resurrection Remix or Slim Rom.
[Galaxy S5 Mini Original Android Development] spookcity138:
These 2 ROMS are very different,so it depends on what you are looking for. Do you want a ROM with the bare minimum that is not very customizable,but very fast or do you want a very customizable ROM with more features and apps pre-installed? If its the first,then Slim is definitely the way to go. Otherwise you will want RR.
[Galaxy S5 Mini Original Android Development] filip555:
Latest slim 7 says unsupported model while kernel install.
[Galaxy S5 Mini Original Android Development] spookcity138:
That's very interesting as I'm on Slim 7 and flashed it. Perhaps I uploaded the wrong file. What phone G800F,M,orY?
[Galaxy S5 Mini Original Android Development] filip555:
G800F, it worked for me on rr, but not on slim7 and liquid...
[Galaxy S5 Mini Original Android Development] spookcity138:
Really strange. I just checked and it should work. Thanks for letting me know though. I'll look into it.

You can force it to flash by doing the following:

1. Download the zip

2. Open the zip ( don't extract)

3. Find the anykernel.sh file

4. Open it in a text editor and change the line at the top that reads ”do.devicecheck=1” to "do.devicecheck=0"

Then it should flash. If you're unable to do this I can for you, but probably not until tomorrow. If you are able,please let me know the outcome

Edit:

Out of curiosity I just downloaded and flashed on Slim 7. No problem for me,so I'm not really sure why you're having issues. Either way,the method above will work I'd imagine.
[Galaxy S5 Mini Original Android Development] filip555:
It is working now after text editing.
[Galaxy S5 Mini Original Android Development] spookcity138:
Great! Very,very strange. I really have no idea why it works for me on slim 7,but not you. Either way,glad its working.
[Galaxy S5 Mini Original Android Development] Mrdream94:
What features are you planning To add in future? :D
[Galaxy S5 Mini Original Android Development] spookcity138:
I've been looking into a lot of things. The first things I would like to try to get working are OC'ing the CPU (1600,maybe 1700mhz) and enabling voltage control. Then hopefully OC'ing the GPU. Also more CPU governors and I/O schedulers. Lots of little tweaks I've been looking into as well like LZ4 compression for the kernel and ramdisk. I've also been looking into SDcardFS some. I have more ideas than I have time though sadly [emoji20]

Lol
[Galaxy S5 Mini Original Android Development] Mrdream94:
Woooohooo!!! Niceeeee!

1700mhz could be hard To keep stable... But it's possibile, i think. Let's wait :fingers-crossed:
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah,I'm unsure how stable 1700 will be. I know DJ Steve did it and I think it was fairly stable,but I'm not sure. Time will tell.
[Galaxy S5 Mini Original Android Development] Mrdream94:
If i remember good, it was not very stable for me
[Galaxy S5 Mini Original Android Development] spookcity138:
Oh,well 1600 it may be then [emoji2]

I'll try and see what I can do with 1700 though. Who knows.
[Galaxy S5 Mini Original Android Development] Mrdream94:
I believe in you. Let's hope 1700 works too
[Galaxy S5 Mini Original Android Development] spookcity138:
New build with the latest patches and fixes thanks to hennymcc. Please let me know if things are not working properly as merging the new commits proved a bit problematic. Download Here
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
Hi!

I now have the same problem with your new kernel as with hennymcc's kernel:

(https://xdaforums.com/showpost.php?p=72461553&postcount=837)

It got stuck around 30sec into booting an then it automatically reboots.

So I'm reverting back to test6.

You mentioned that test7 has SELinux not enabled so now I'm pretty sure that this seems NOT to be the culprit (at least not solely).
[Galaxy S5 Mini Original Android Development] spookcity138:
Interesting. I'm very unsure what may be causing this. I had no problems. SELinux is not disabled,just set to permissive,which has been the default for our device until just recently. I'll try to think about what's causing your problem and please,if anyone else has the same let me know.
[Galaxy S5 Mini Original Android Development] elhennig:
Same here. I reverted back to Test5 and that works
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
As I mentioned here https://xdaforums.com/showpost.php?p=72459388&postcount=827 I simply started firefox after installing hennymcc's latest ROM with a clean flash and the phone crashed.

I don't think firefox is directly related to the underlying problem here. I also had problems with it while using Magisk to "hide" my root. It uses it's own set of SELinux policies and that prevented firefox from starting. At least it did not crash the whole system. Understandably the first thing I wanted to check was if the SELinux policies now worked for firefox or not. I'm pretty sure if firefox hadn't done it at least the next reboot of the phone would have been fatal.
[Galaxy S5 Mini Original Android Development] spookcity138:
Interesting my SELinux knowledge is lacking as far as setting up device policies,but I will look into it some. Hopefully someone more knowledgeable can fix these problems though.

I just wonder why for some,like myself,there is no problem as far as bootloops etc. with flashing test 7. This is curious and somewhat confusing to me.

Edit:

I created a new branch on github for test 7 that has all if the new commits and patches,so I guess if it is not sorted out the worst case scenario is I just use the old branch for my kernel. Although it will not pass safetynet. The big problem is there were many many patches applied, so it becomes difficult to track down the exact cause.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
I attached the kernellog of the boot sequence with test7.

Logcat was not possible because adb kept loosing the connection during boot. Does anyone know how to enable logcat on the phone so that it outputs to a file during the boot process. Preferably by activating from inside TWRP cause the one method (LiveLog App) I previously tried used init.rc but did not work after changing the kernel.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
I fear that it's connected to replacing a "vital" AOSP component with it's google counterpart during GAPPS setup. Maybe these other apps are not (explicitly) allowed in the SELinux policies. For example I use PixelLauncher instead of the default launcher.

But as I also mentioned in the LOS thread this always worked back in CM even with SELinux enabled.
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for the log. I will take a look.To get a kernel log from TWRP go to the terminal and type "cp /proc/last_kmsg /sdcard/kernellog.txt"

Then you can do "adb pull /sdcard/kernellog.txt ~/kernellog.txt" or flash a booting kernel ans grab the log.

Edit:

Seems to be a kernel oops

"Unable to handle kernel NULL pointer dereference at virtual address 0000080f" and "2331 Internal error: Oops: 5 [#1] PREEMPT SMP ARM"

I now see and am looking through your log. This is not what you were asking,sorry :D
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
I did a quick search on the Oops and most of the results I got, mentioned a power problem in Raspberry Pi. https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=98972

Acording to the changelog https://xdaforums.com/showpost.php?p=72455839&postcount=823 [MENTION=6225744]hennymcc[/MENTION] replaced lpm with healthd.

I would suggest that you revert this change for a quick verification.
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for looking into this. We have been trying to solve this. I will hopefully have some time this afternoon to try some more.I will give a look into the healthd commit.
[Galaxy S5 Mini Original Android Development] Pat750:
Did use Kernel test5 and test6 on AICP for a couple of days last week.

ROM was very smooth with both of the Kernels. New frequencies in test6 are working great.

Didn't change anything with Kernel Adiutor. Interactive is working very good for me and battery is great.

Now I'm on XenonHD and will flash test6 and try to report.

For sure I will use some of the many ROMs on that new Github page.

Thanks very much for all the work that has been put into our device.
[Galaxy S5 Mini Original Android Development] Friedensfurz:
Test 7 Kernel doesn't boot for me on Beanstalk 7 :(. When it's done booting, it ends up in Samsung splashscreen and boots again. I attached the dmesg log if it helps ;) Hope it'll work at some point..
[Galaxy S5 Mini Original Android Development] spookcity138:
So weird. You're not alone in this,but it is very random. I've had no issues. Thanks for the log. I'll have a look.

Edit:

Took a quick look at the log on my phone and didn't see anything really that explains this. I'll have a look on a computer tomorrow as its easier,but as of now I'm a bit stumped.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
Maybe it's this problem too: https://xdaforums.com/showpost.php?p=72505321&postcount=877
[Galaxy S5 Mini Original Android Development] Friedensfurz:
Yeees, that worked. Didn't expect the FP scanner to be the culprit at all! Cheers!?View attachment 4168424
[Galaxy S5 Mini Original Android Development] spookcity138:
Yeah,I found a patch that fixes the Firefox problem and in my testing very possibly the FP scanner problem. I'll release a build tomorrow with this patch for testing.
[Galaxy S5 Mini Original Android Development] filip555:
What is your screen on time while on 4g or wireless?
[Galaxy S5 Mini Original Android Development] Pat750:
Honestly I don't have 4G and don't care much about SOT. Battery was always good with N ROMs. I'm far away from being a heavy user. Sorry if this is not satisfying.
[Galaxy S5 Mini Original Android Development] spookcity138:
I'm with Pat750 on this. While I have 4g,but I'm on WiFi 95+% of the time, my battery life is not a problem for me on any Nougat ROM. I haven't measured SOT,but I'm very happy with my battery life.
[Galaxy S5 Mini Original Android Development] spookcity138:
I have uploaded test8 of my kernel. Read about it and download it Here It has a patch applied which should fix some issues (Firefox,perhaps the FP issue?) I really need feedback on this,so please let me know. Also,its set to permissive. If you want and need safetynet,you will need to change it to enforcing via Kernel Adiutor,synapse,ETC. If I get some feedback and most people would prefer me just to keep it on enforcing I will.
[Galaxy S5 Mini Original Android Development] jaeck:
I installed your new kernel and firefox is working again - just like you promised!! I didn't had the FP-Sensor in use before and with this kernel I was able to add a fingerprint and it works for me.

So again thank you very much for your time and effort!!!
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
It's working here too. I was able to activate SELinux and SafetyNet got a green response. Good job.
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for the feedback guys. I'm glad that's resolved,now onto the new problem that was pointed out to me. Chrome will not load any web pages. This has to do with the toolchain I've used,or more than likely a build flag,because with the stock toolchain and build flags all is good. I'm going to try to look into this some tonight.
[Galaxy S5 Mini Original Android Development] Friedensfurz:
Can also confirm that FP scanner and Firefox work fine. Btw, there isn't even a need to switch SafetyNet to enforcing as Magisk can fake the status to pseudo enforcing. If it doesn't work, you have to disable and reenable Magisk Hide :)
[Galaxy S5 Mini Original Android Development] spookcity138:
I didn't know that. Thanks!
[Galaxy S5 Mini Original Android Development] spookcity138:
I have updated test8 to fix the problem with Chrome. If you use Chrome you will want to reflash the new version. If not,there is probably no need.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
Everything is still working as it should, even Chrome.
[Galaxy S5 Mini Original Android Development] Pat750:
How can SELinux be changed in Kernel Adiutor? Haven't found that option?
[Galaxy S5 Mini Original Android Development] spookcity138:
Hmm,perhaps I should mention that I use a modded version of Kernel Adiutor.

https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

Perhaps its not in the "standard" version. It's under "Misc controls" in the modded version though.

You can also use synapse as I've added synapse support to the kernel. However, many things are still not setup, but setting SELinux will work.
[Galaxy S5 Mini Original Android Development] :
If you're using LiquidROM, you can just go into settings and it will be the first option in the customization tab.
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
I did it using init.d. There is an option for that in Kernel Auditor.

http://www.mobilearmy.net/en/set-selinux-permissive-boot/

("setenforce 1" for enforcing)
[Galaxy S5 Mini Original Android Development] Pat750:
XenonHD also has this option. ATM I'm using AOSGP which doesn't have it.
[Galaxy S5 Mini Original Android Development] spookcity138:
New build available. Download and read about it Here
[Galaxy S5 Mini Original Android Development] a-dead-trousers:
Kernel is working as expected.

However there was a problem during installation. I had to remove magisk (v13 Beta.1301) otherwise I would get an Error 1 in TWRP.
[Galaxy S5 Mini Original Android Development] spookcity138:
Interesting, I'm going to have to assume this has to do with Magisk v13 at this point, as I flashed on a ROM with Magisk v12 without any issues.
[Galaxy S5 Mini Original Android Development] Knoose:
Also on magisk 12. No probs flashing here and kernel is working well
[Galaxy S5 Mini Original Android Development] Pat750:
Kernel test9 also works on AOSGP with Magisk 12.
[Galaxy S5 Mini Original Android Development] spookcity138:
Deleted
[Galaxy S5 Mini Original Android Development] antes533:
Test 14 causes hangup when loading, and test 15-18.Test 13 works well.
[Galaxy S5 Mini Original Android Development] spookcity138:
Thanks for trying and the feedback. It does appear that I am the only one this is going to work for. It makes no sense to me
[Galaxy S5 Mini Original Android Development] p8tgames:
Oh no. Need the Kernel to fix battery issue. Oh *****
[Galaxy S5 Mini Original Android Development] spookcity138:
What? I'm very confused.
[Galaxy S5 Mini Original Android Development] p8tgames:
I messed up kernel. Need to reinstall one. Cant fix using Kernel Adiuater
[Galaxy S5 Mini Original Android Development] spookcity138:
Hmm,well I removed the post a few up due to certain reasons. You can download and use test 13 from

https://github.com/Spookcity/ROMS-G800F/issues/18#issuecomment-308761207
[Galaxy S5 Mini Original Android Development] p8tgames:
Works with Slim Rom 6?

---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------

Got a decent PC . I know needs Linux to build, so I have to install it in Virtual Box. Got Mac.
[Galaxy S5 Mini Original Android Development] spookcity138:
It will not work on slim 6. I now see you're talking about the original kernel that this thread was made for. I will build a marshmallow version tomorrow and post it since I removed the links. Can't do much now though sorry.

As far as your other question if you mean building a kernel,I'm pretty sure this will work on Mac. If you're talking about ROM building I'm pretty sure you need Linux.
[Galaxy S5 Mini Original Android Development] p8tgames:
Thanks. Really hope I'm not borrowing you :laugh:

I built a ROM before, but 50% of it was already made. (Well, Intel chip is widely spread in Android development haha)
[Galaxy S5 Mini Original Android Development] p8tgames:
That doesn't look normal. It just discharges on stock and slim.:(
[Galaxy S5 Mini Original Android Development] spookcity138:
That is certainly not normal! Very weird.

As far as ROM building...If you are familiar with Linux its no too difficult,depending on the ROM. Some are problematic,but thanks to hennymcc and others who have contributed to the device trees,ROM builds can be done by others.

I have uploaded a new build for Marshmallow ROMS. I will no longer be discussing my kernel for Nougat ROMS here as it has become confusing. Just remember this kernel is end of life,so unless the zip just doesn't work (which is possible as its untested) I will not be doing anything else to this.
[Galaxy S5 Mini Original Android Development] Knoose:
I am asking this to be sure ;) does this mean that your kernel development for nougat is EOL or do you have another thread for that?
[Galaxy S5 Mini Original Android Development] elhennig:
I think this only means that the nougat version has its own thread now. see https://xdaforums.com/galaxy-s5-min...el-spookcitykernel-n-7-x-custom-roms-t3626015
[Galaxy S5 Mini Original Android Development] spookcity138:
Yes,as mentioned only the development for this kernel (the Lollipop kernel sources for marshmallow ROMS) is end of life. I am working hard on the nougat kernel still and have created a thread for it.
[Galaxy S5 Mini Original Android Development] ep3636:
Has anyone tested this on LineageOS 15?
[Galaxy S5 Mini Original Android Development] Alefello:
Hello everybody

Is there a version of this kernel that supports 1.6GHz and F2FS?

Thank you
[Galaxy S5 Mini Original Android Development] Pokemetti2:
Why would you do that? This is a MARSHMALLOW kernel, not OREO.
[Galaxy S5 Mini Original Android Development] spookcity138:
I didn't realize killing the media server restored the microphone.This makes sense though.
[Galaxy S5 Mini Original Android Development] Mrdream94:
Hey!! Thx for your work. Hope you can fix the audio problem.. i want this kernel :(
[Galaxy S5 Mini Original Android Development] spookcity138:
I am actually going to start concentrating on this soon. I know I said that awhile ago,but I mean it this time [emoji2]

I haven't used this in awhile as I don't believe it works right with any of the new builds.

About the audio problem.Is this on a newer build? Because even though I put the audio thing as a known problem, after using this for awhile I actually noticed no difference from the stock CM kernel when using the 25-03 build of CM as far as audio.