yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] umuturunc:
How can I change selinux from enforcing to permissive. Are there any way to set the kernel to permissive, from boot.img or somethin?

I know there are some apps they can do it. But I want to do it without app (Device stuck in bootloop. I need permissive kernel to take last_kmsg)
[Galaxy S 4 Mini Android Development] kamikaze702k:
Most roms now have a built-in selinux changer, just trying to find it could take time but have a look through configs etc
[Galaxy S 4 Mini Android Development] milouk:
There is a command you can use with terminal but i cant remember it..just google it
[Galaxy S 4 Mini Android Development] coldgin_:
Hi,

setenforce 0

:good:
[Galaxy S 4 Mini Android Development] umuturunc:
https://github.com/AdrianDC/kernel_permissive_patcher/tree/master/release

Thanks to this tool, I set my kernel to permissive
[Galaxy S 4 Mini Android Development] ma-ku:
I can't undervolt under 700 any ideas why ? or can someone link me to a previous version where i can undervolt more thank you : )
[Galaxy S 4 Mini Android Development] :
Did undervolting to below 700 work before on your phone? Every phone reacts differently to undervolting, so if someone is able to go to 700 and below with a specific kernel version it's not a certainty it'll work on your phone. The only way to find out is to experiment for yourself.
[Galaxy S 4 Mini Android Development] samplebird:
there is a nice plugin for kernel adiutor
[Galaxy S 4 Mini Android Development] noradtux:
also, 700mV at which frequency? I am at 800mV at 162MHz, which I already consider to be not too bad ...
[Galaxy S 4 Mini Android Development] jake3317:
I'm at 750 for the 162 mhz,no problem. I did a general 100 mV offset
[Galaxy S 4 Mini Android Development] Nachtfalkeaw:
Hi,

ist there any possibility to get BLN Control to work? Looks like it need a special kernel modification - but that's all I read. I am not familar with this. I just tried BLN control and it did not work - unfortunately..

All the apps which use the display to show a nitification use such mauch battery.
[Galaxy S 4 Mini Android Development] supachris:
Use NSTools app to activate BLN.
[Galaxy S 4 Mini Android Development] Anewkine:
NSTools work fine for me..

Thx
[Galaxy S 4 Mini Android Development] XDAWPark:
Code for BLN in Kernel Adiutor

Or, quite a few posts ago, I posted some code to use with kernel adiutor which can enable BLN.

http://xdaforums.com/galaxy-s4-mini/development/kernel-f4ktion-v1-t3316865/post68662788#post68662788
[Galaxy S 4 Mini Android Development] Devhost97:
Any update for new release ?
[Galaxy S 4 Mini Android Development] brickhayabusa:
GPU clock won't work
[Galaxy S 4 Mini Android Development] csendre:
New kernels.

arco68 made a major merge, we are now based on kernel version 3.4.113

New CM-13 Remix kernel version is 2.9.16, download as usual link in OP

New CM-14 kernels are here
[Galaxy S 4 Mini Android Development] lars85destroyer:
Raah just clean flashed this morning, I missed this thing :p
[Galaxy S 4 Mini Android Development] kevinarol93:
Thanks for the update :good:
[Galaxy S 4 Mini Android Development] kevinarol93:
Hi [MENTION=5416372]csendre[/MENTION] I want to report that the camera apps (CM o OpenCamera) stops with the update of remix 2.9.16, I don't have had time to test other things

Serrano3g i9190

CM13 2016-10-27

*Edit: forget it [MENTION=5416372]csendre[/MENTION], its a rom issue (I think) lastnight I reinstalled everything without your kernel and the same problem with camera apps, sorry
[Galaxy S 4 Mini Android Development] heilbron:
Just wanted to report that the new kernel 2.9.16 is working fine with the Bliss v6.4 S4 Mini for GT-I9195 (LTE) (from 2016/10/14) for a few hours now! Keep it up! Thanks!
[Galaxy S 4 Mini Android Development] KevinX8:
Are these patched for dirty cow? It is extremely dangerous to leave unpatched a 100% working exploit has already been created http://androiding.how/dirty-cow-root-android/
[Galaxy S 4 Mini Android Development] milouk:
[MENTION=5416372]csendre[/MENTION] i noticed some other custom kernels have a feature to increase the vibration intensity ...is this possible to be added to remix kernel?
[Galaxy S 4 Mini Android Development] csendre:
Can you post a link to a commit allowing this? Remember I am not a developer just doing whatever I can. If I see a commit maybe I can merge it, otherwise ....
[Galaxy S 4 Mini Android Development] kamikaze702k:
That feature shows up if your ROM supports it, if it's not in the ROM it will not show up in any kernel app.
[Galaxy S 4 Mini Android Development] csendre:
2.9.17 is up; synced with CM sources; few commits added
[Galaxy S 4 Mini Android Development] lars85destroyer:
Will you update CM14 builds too ?
[Galaxy S 4 Mini Android Development] csendre:
14.1 and AOKP Nougat yes, but not now. There are some new camera issues arco is working on and while it is possible to make a working build, it is not the best. I'll wait a little more to see if he manages to sort things out

---------- Post added at 08:38 PM ---------- Previous post was at 07:52 PM ----------

New kernels are uploaded for CM 14 / 14.1 as well

https://www.androidfilehost.com/?w=files&flid=125544
[Galaxy S 4 Mini Android Development] Sarcastic Warrior:
This kernel made my smartphone take a long time to start. Has anyone had a similar problem?
[Galaxy S 4 Mini Android Development] csendre:
Not sure which version are you talking about, I had no issue with the CM14 one
[Galaxy S 4 Mini Android Development] Lucifer.S:
Is this rom work for i9192???
[Galaxy S 4 Mini Android Development] Ahmed Kirkuk:
it's kernel
[Galaxy S 4 Mini Android Development] erkin98:
Its kernel and ds version work gti9192
[Galaxy S 4 Mini Android Development] Sarcastic Warrior:
Nevermind, I've been flashed too much files, at one time. I guess that's what caused.
[Galaxy S 4 Mini Android Development] csendre:
New CM-14 kernels are up, sync with CM sources
[Galaxy S 4 Mini Android Development] shadyasker:
aicp_serrano3gxx_mm-11.0-NIGHTLY-20160221 latest boot.img Aicp 11 for I9190
[Galaxy S 4 Mini Android Development] DarkFrenzy:
i dont need AICP 11 gt-i9195 boot.img i m using AICP11 right now.

IS THE KERNELS IN FIRST POST HAS A WORKING OC 2.0GHZ ?

I M GOING TO UPLOAD THE LATEST BUILDS BUT I THINK THERE IS NO MUCH DIFFERENCES.
[Galaxy S 4 Mini Android Development] milouk:
well buddy since you no longer use CM you might need the latest CM Boot.img...so here it is

View attachment 3655709
[Galaxy S 4 Mini Android Development] savvy1968:
No it wont oc to over the hard limit this time,on reboot it goes back to normal limit.

im getting confused with which is the latest upload based on now?
[Galaxy S 4 Mini Android Development] Death Mask Salesman:
[MENTION=5706443]DarkFrenzy[/MENTION] Quick question: does your CM13 kernel implement native init.d support, or should we rely on third-party workarounds?
[Galaxy S 4 Mini Android Development] DarkFrenzy:
Latest builds are in the OP.

Dont know that. I think init.d is ramdisk related so its should work
[Galaxy S 4 Mini Android Development] KyeWalker:
Keep me posted, if you want pm me alpha builds of cm13 I gladly use my device to help ;) I'm just so grateful your dedicating your time for kernels. S4mini users have never had such a variety as you've given to us. I hope you get recognized as a valuable developer for S4 mini
[Galaxy S 4 Mini Android Development] o0chtm0o:
Hi pal, how are you?

I would like to know if you check the Bliss one I sent you and the changelog in latest compilation [LINK], or don't need to? :confused:

Thanks a lot! :good:
[Galaxy S 4 Mini Android Development] DarkFrenzy:
Oh thats good who is that ? And where is it?
[Galaxy S 4 Mini Android Development] o0chtm0o:
Clic Here --->Bliss 6.1 LTE Kernel, February 20th <--- Clic Here
[Galaxy S 4 Mini Android Development] milouk:
[MENTION=5706443]DarkFrenzy[/MENTION] heey mate..i would like to mention that in the OP CM 13 kernel...FM radio doesn't work again..(live display works fine)

cheers
[Galaxy S 4 Mini Android Development] DarkFrenzy:
I have see that. I mean who made that oh tguod and oc also not working
[Galaxy S 4 Mini Android Development] o0chtm0o:
Ok, I didn't understand you. Yes, [MENTION=6057323]tioguda[/MENTION] is working on porting this awesome rom for us.
[Galaxy S 4 Mini Android Development] DarkFrenzy:
i know that. some something killed FM. you can try the kernel from blisspop
[Galaxy S 4 Mini Android Development] DarkFrenzy:
is FM Radio working the the bliss kernel ?
[Galaxy S 4 Mini Android Development] milouk:
FM doesnt work on Bliss Kernel either..just tried ..
[Galaxy S 4 Mini Android Development] o0chtm0o:
Yes sir. It works

EDIT:

I'm on original Bliss kernel (the one I sent you)
[Galaxy S 4 Mini Android Development] DarkFrenzy:
i m talking about this: http://xdaforums.com/galaxy-s4-mini/development/rom-team-ub-16-1-1-s4-mini-duos-3g-t3304221

by [MENTION=6057323]tioguda[/MENTION]

u can use there boot.img
[Galaxy S 4 Mini Android Development] milouk:
it states that this rom is for 3g and duos not for lte...would that work?
[Galaxy S 4 Mini Android Development] o0chtm0o:
That's not Bliss, that's Team UB. I'm on Bliss Original Kernel (the one I sent you) and FM Radio is working fine.
[Galaxy S 4 Mini Android Development] arvati:
csendre how to use your cm14.1 from with this kernel and format partition as f2fs?

Which partition may I format as f2fs? Just data?
[Galaxy S 4 Mini Android Development] milouk:
There is only point in formatting data partition only as f2fs...and you can do this via TWRP :)
[Galaxy S 4 Mini Android Development] lars85destroyer:
Is it really worth it ?
[Galaxy S 4 Mini Android Development] milouk:
All my partitions are actually ext4 but afaik there are some benefits from formatting data as f2fs such as read/write speed
[Galaxy S 4 Mini Android Development] arvati:
F2FS

I have another device (Asus TF300T) and use it with data formatted as F2FS and the change was really worthy, since the gain is speed is amazing.

But I wonder if the corrected steps to do it with this kernel and cm14.1 rom would be:

1 - swipe everything: data, system, cache, etc

2 - change file system to f2fs at data partition

3 - install cm14.1 rom

4 - install remix kernel

5 - install Gapps

6 - swipe cache again

I am also concerned if rom must be compatible somehow with f2fs or just the kernel compatible matters.
[Galaxy S 4 Mini Android Development] milouk:
Both are compatible with f2fs in our case..you dont have to wipe anything ...i think when you format a partition as f2fs or Ext4 it automatically wipes..so when you format /data as f2fs it will be formatted so backup anything valuable..the rest partitions will remain as they are
[Galaxy S 4 Mini Android Development] Death Mask Salesman:
When you format a partition, it gets wiped. If you format /data, even /data/media (internal storage) is lost. f2fs improves write speed more than read speed.
[Galaxy S 4 Mini Android Development] csendre:
New builds of all kernel versions are up; synced with CM sources
[Galaxy S 4 Mini Android Development] o0chtm0o:
No new update for Android N kernel Dr. C? :confused:
[Galaxy S 4 Mini Android Development] csendre:
We are only behind by 1 commit. I'll update when arco pushes more
[Galaxy S 4 Mini Android Development] Diresh:
I'm on aicp 12.1(11 December build on my gt19195) with the stock kernel USB tethering is working but with latest remix kernel it says error and goes off by itself , I also noticed that tethering works when WiFi is off .Can someone test and confirm?
[Galaxy S 4 Mini Android Development] GioBasi:
same, just noticed it.

error when enabling hotspot .

and can't switch on USB tethering.

aicp 12.1 201612.09 with last remix on gt 9192
[Galaxy S 4 Mini Android Development] csendre:
Are you guys using the CM-14 version?

Update: New CM-14 kernels are uploaded
[Galaxy S 4 Mini Android Development] Anewkine:
Thanks Sir!!?

GT-I9195 / Resurrection Remix 5.8.0
[Galaxy S 4 Mini Android Development] Diresh:
Yes we were using cm14 version. The issue is fixed in latest kernel ,thanks :svetius:
[Galaxy S 4 Mini Android Development] Vtrendzzy:
I flashed this kernel but battery backup seemed poor. Is there anything i can do to fix that problem?
[Galaxy S 4 Mini Android Development] oviradoi:
I am using the CM13 variant of this kernel together with the Exodus ROM to get around a bug in their kernel.

This kernel works great for me, except for one issue: when I turn on mobile data, it takes around 15-20 seconds for it to be activated.

Does anyone else have this problem? Can you suggest a fix?
[Galaxy S 4 Mini Android Development] csendre:
I believe this is normal and provider/cell tower dependent. I have seen this on stock ROM and other operating systems as well. Either way, this is not a kernel issue, more dependent on RIL
[Galaxy S 4 Mini Android Development] pedromms86:
can someone post a good set of configuration for cm14 (AICP), i know its personal settings but i need a basic settings, i not play games or anything else, just to have a response phone with good battery life (my battery life is really a s!@%).

thanks
[Galaxy S 4 Mini Android Development] kevinarol:
With Kerner Adiutor mod i have this settings:

CPU: MaxFreq@1836Mhz

MinFreq@162Mhz

Governor: Alucard

Power Saving: Active

CPU Hotplug: Intelliplug

Maximum Screen Off Frequency: 918Mhz

Thermal: Intellithermal

GPU: Maximun Freq [MENTION=5575194]545[/MENTION]Mhz Ondemand

I/O Scheduler:

Internal Storage bfq - 256kB

External Storage: sioplus - 2048kB (depends on your microsd)

Kernel Samepage Merging

I have it off, when its on my phone puts hotter

LMK: aicp stock

Zram: 300MB

Entropy: Stock remix kernel

Sorry for bad english
[Galaxy S 4 Mini Android Development] pedromms86:
Thanks!! i will try it

i have a SD 32GB - sioplus 2048kB is ok ?
[Galaxy S 4 Mini Android Development] kevinarol:
Yes, its ok
[Galaxy S 4 Mini Android Development] starter_2:
Will it work on new lineage os 14...?
[Galaxy S 4 Mini Android Development] ericlnu:
Latest nightly (20170108) for AICP doesn't 'like' v6 - I get random lockups, and forced art cache rebuilds, and SystemUI lockups. I suspect that the kernel needs a resynchronization with upstream sources. Can we get an update whenever you / the team can? Thank you.

No rush, as always, I have a pretty good idea on how much effort (lots!) that goes into making this possible.

Personal note: I prefer this kernel to what we get in stock cm/lineageos.
[Galaxy S 4 Mini Android Development] GhostMarshmello:
This settings works in RR 5.7.3 (Cm13) ??
[Galaxy S 4 Mini Android Development] kevinarol:
Yes, you can use it
[Galaxy S 4 Mini Android Development] csendre:
Nope, it is up to date, there were no new commits. Works perfectly for me on AOKP
[Galaxy S 4 Mini Android Development] ericlnu:
Ok, just me then. It started functioning again. Thank you good sir.
[Galaxy S 4 Mini Android Development] o0chtm0o:
[MENTION=5416372]csendre[/MENTION] My dear friend... Where can I check if there are new commits instead of coming here asking for updates??

Thanks :o

EDIT: Related to kernel I mean
[Galaxy S 4 Mini Android Development] csendre:
Compare remix source with official kernel source

https://github.com/LineageOS/android_kernel_samsung_msm8930-common/commits/cm-14.1

https://github.com/csendre/android_kernel_samsung_msm8930-common/commits/remix-3
[Galaxy S 4 Mini Android Development] pidi123987:
Hi, thanks for the fantastic kernel, given a new lease of life to my s4 mini.

I'd like to make a request and I'm not sure if this is the right place, but I'm gonna ask anyways.... Could somebody build a version of this kernel with this patch included?

Sorry can't post proper links yet.

*github.com/pelya/android-keyboard-gadget/blob/master/README.md*

I'm using the marshmallow / CM13 version of the kernel.

I would attempt it myself but I don't have access to a PC .

Thanks
[Galaxy S 4 Mini Android Development] rorschach84:
Nice one, lot of governors but even if set on conservative had extreme battery drain, had to reflash cm13 stock kernel :(
[Galaxy S 4 Mini Android Development] csendre:
New CM-14/Lineage kernels are up, arco merged a few commits to address wifi & BT issues
[Galaxy S 4 Mini Android Development] kevinarol:
Thanks [MENTION=5416372]csendre[/MENTION] :highfive:
[Galaxy S 4 Mini Android Development] galaxxian:
thx,

at the moment of connecting to a known wifi-network the wifi does not work if bt is switch on. sometimes my phone kills my router and forces a restart of it. the same problem at the same time to the mobile-network. i must dissable bt on my phone and reset the wifi to establish connection to the router and to the mobile-network.

tell me please, is this fixed in the new kernel?
[Galaxy S 4 Mini Android Development] csendre:
It does fix problems with concurrent wifi and BT connections so it could work for you, try it.

However, I don't see how could a phone possibly interfere with router operation. I would say something is wrong with your router too. Update the firmware of your router, or even better, flash dd-wrt.
[Galaxy S 4 Mini Android Development] rahulllsingh:
Can I Use This Kernel With Resurrection Remix-N-v.5.8.0 [7.1.1]? And Are There Any Knows Bugs In This Kernel?
[Galaxy S 4 Mini Android Development] pidi123987:
Kernel works fine with that ROM, no known bugs been using for ages.
[Galaxy S 4 Mini Android Development] pidi123987:
Would anyone be willing to assist me or build a custom version of this kernel with a patch included?

Thanks
[Galaxy S 4 Mini Android Development] csendre:
New CM-14 kernels are up - synced with LOS. arco merged a bunch of commits
[Galaxy S 4 Mini Android Development] Harvey_Spectar:
After flashing this kernel i am not able to sign into my google account even aftwr restoring the previous kernel.

I am on aokp 08/02/17.
[Galaxy S 4 Mini Android Development] csendre:
Kernel has absolutely nothing to do with Google account functionality
[Galaxy S 4 Mini Android Development] Harvey_Spectar:
Yes but i can't login in my Google account.

I think i have a problem with me.

I'll try again on fresh and clean rom
[Galaxy S 4 Mini Android Development] syednawaz:
i think its the problem from google side. about 2 hours earlier i was not able to log into playstore on stock kitkat. i had to reset the phone but still same problem. i do not want to logout as i may get the problem too.
[Galaxy S 4 Mini Android Development] Matt07211:
Look below.

Go into Google and enable "Logging in from less secure device's" (it should be named similar), I can't remember the location of the setting off the top of my head, but Google the setting name and you should find it. I've needed to enable this to sign in on an old Android Gingerbread phone
[Galaxy S 4 Mini Android Development] csendre:
kernels for double size battery

I see the occasional request for kernels that support double capacity batteries. Since I also happen to have one, I compiled CM-14.1 remix kernels (v.8) for double capacity batteries. I make no promises for updating this, but I think we will not have many updates anyhow

Remix-kernel-CM14-v.8-3G-DS-Double_Size_Battery-20170215

Remix-kernel-CM14-v.8-LTE-Double_Size_Battery-20170215

I have uploaded these to the regular CM-14 kernel folders so will be easy to find later as well
[Galaxy S 4 Mini Android Development] kamikaze702k:
Double sized batteries? Like zerolemon type? Any chance u could make one for an early CM13 build with older commits? I'm on CM12.1 and the early CM13 kernels worked great even the limited ones but after that no luck to boot up...
[Galaxy S 4 Mini Android Development] csendre:
Mine is a no name 5,000 mAh battery from eBay, came with a modified battery cover to accommodate the larger size battery. I am only using it occasionally on longer trips or when out fishing and I know there will be no possibility to charge the phone.

Sorry, I am not building that older kernel, I would have to revert a whole bunch of things in the sources. Move on to 14.1, it is better than 12.1 I never really used 13 either and stayed for quite a while on 12.1 but 14.1 is different
[Galaxy S 4 Mini Android Development] kamikaze702k:
Thanks buddy, I've been keeping an eye on 14.1 and your Rom too, just waiting for xposed really
[Galaxy S 4 Mini Android Development] gervil:
after installing the kernel (dual sim one) , is there anything more I need to do? I had aicp and now it is in bootloop showing the aicp logo. thanks

nevermind, I wrote the rom again and the kernel and it started. Thank you for providing the double battery kernel.
[Galaxy S 4 Mini Android Development] kamikaze702k:
Wil it be possible to make any CM13 double version kernel??
[Galaxy S 4 Mini Android Development] csendre:
I can do the latest. Do you want double or more, what battery do you have? It turns out my battery is 6,200 mAh and had to make a 3.2x version. I am on my third day with average use and still at 55% :)

I can do it on Sunday or Monday, today I am out on the ice.
[Galaxy S 4 Mini Android Development] kamikaze702k:
Dam. What battery you have? I have the zerolemon and its mentioned as 5100mAh,

I appreciate you making it for CM13.

It'll be nice if I could give it tester

Thanks again bro
[Galaxy S 4 Mini Android Development] Mountains788:
I've got the Zerolemon 5100 mAh as well. Some time ago I tried to build a modded kernel from your GitHub but I got errors and am sort of a newbie with Linux. Anyways today I tried the 20170215 3800 mAh kernel for CM14 and it works well but if possible, csende could you make a version of the kernel in which the battery scale is 5100 / 1900 for CM14? (2.68421x) Thanks in advance.
[Galaxy S 4 Mini Android Development] kamikaze702k:
It's much needed cos the S4 mini doesn't recognize the battery capacity and often it'll assume it's a normal battery but when it dies and you power back on you've got about over 50% left still.

Looking forward to trying a CM13 version of this double capacity kernel.

Thanks again for all your work buddy for this device, from ROMS to kernels and your continues contributions on xda, much appreciated, keeping this lovely little phone running
[Galaxy S 4 Mini Android Development] csendre:
Which phone are you using?
[Galaxy S 4 Mini Android Development] Mountains788:
The GT-I9195.
[Galaxy S 4 Mini Android Development] csendre:
New Remix-2 (2.9.19) kernels are up, synced with upstream.

[MENTION=5306994]kamikaze702k[/MENTION] https://www.androidfilehost.com/?fid=817550096634747625 it is in the regular remix-2 LTE folder. People on regular size batteries, DON'T use this.

---------- Post added at 09:45 AM ---------- Previous post was at 09:35 AM ----------

https://www.androidfilehost.com/?fid=529152257862704502
[Galaxy S 4 Mini Android Development] kamikaze702k:
Awesome, thanks bro, CM13 version working on lookup still just missing the alucard gov, settled for smartmax, thanks bro highly, very quickly created.
[Galaxy S 4 Mini Android Development] Mountains788:
http://imgur.com/a/dokC3 - Flashed the kernel but the build date stamp in About device is the same. I'll test it for a few days and will write back. If it drains the whole battery within one charge, holds up a long time and powers on with a low battery warning, it works.
[Galaxy S 4 Mini Android Development] csendre:
I don't understand what you are saying,. The date on the file is 02.19.2017 as I just built it for you today
[Galaxy S 4 Mini Android Development] csendre:
Alucard is there, I am using it The governors are not listed alphabetically, browse through the list
[Galaxy S 4 Mini Android Development] kamikaze702k:
Spot on bro I blindly missed that!! Awesome work, love it, will report back after a full charge cycle
[Galaxy S 4 Mini Android Development] kamikaze702k:
Instagram videos are not playing with the 5100 CM13 kernel...

Also my phone must've told me 4 times its reached 100% but once I power off the battery is still on around 70% . Still waiting for the actual 100% mark... Will report back further once fully charged.
[Galaxy S 4 Mini Android Development] csendre:
And works with regular 2.9.19? I don't see how could this happen, the only difference is scaling factor for battery.

For charging and percentages, don't forget that you also have to calibrate. You are using a completely different animal