yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] KyeWalker:
[MENTION=5416372]csendre[/MENTION]

In my opinion test (zRAM) kernel is more stable than the current remix. On test kernel zRAM works fine on settings 100MB to 810MB testing this over 12hrs now. Other features on test work okay apart from the CPU OC, you have to set values manually in root/sys/kernel. Oh I haven't tried FM radio??

On remix I get serious boot loop. Messing around with thermals has soft bricked my phone couple times, CPU get too hot so constant reboots by hardware default and battery drain is as bad as my Galaxy S2 :P
[Galaxy S 4 Mini Android Development] kamikaze702k:
2.7.13 is definitely draining battery, I reinstalled 2.13 for comparison and it's much better on battery. Will soon flash the test kernel and perform zram tests. Thanks again for spoiling us with so many kernel versions.
[Galaxy S 4 Mini Android Development] zokkii:
for me the battery is ok

I tried zram and for now it is ok

aicp 11,remix2.7.13

9195
[Galaxy S 4 Mini Android Development] Ahmed Kirkuk:
Is there different between apply on boot and just enabling?
[Galaxy S 4 Mini Android Development] :
Apply on boot makes sure your settings are enabled after a reboot, survive a reboot so to speak. If you don't apply on boot, your settings won't be enabled after a reboot and instead the default settings are restored.
[Galaxy S 4 Mini Android Development] Ahmed Kirkuk:
OK thanks
[Galaxy S 4 Mini Android Development] ModyCZ:
I think there is a problem with intellithermal. Today I was driving with waze, not charging. Suddenly phone reboots and it took quite some time to boot up, phone was really hot. I'm using intellithermat plus core control, temp set to 65/75C (lower than default). I attached screenshot of the phone temp. I started driving around 10:30, temp was ok, then suddenly raising, overheating and reboot.

I'm on aokp mm, 2.7.13 kernel, no zram.
[Galaxy S 4 Mini Android Development] milouk:
I have also noticed that it started throttling frequnecies BEFORE it reached the max temperature i set at the time...
[Galaxy S 4 Mini Android Development] ModyCZ:
As I see it, it doesn't throttle enough or at all. And thermald can not be disabled using KA, it's always enable after reboot. Suspicious.
[Galaxy S 4 Mini Android Development] milouk:
Have you updated KA..because as far as i can recall this was a known issue and it was fixed couple updates ago...for me Thermald remaind disabled after a reboot
[Galaxy S 4 Mini Android Development] ModyCZ:
I'm using KA mod V15, that is the last version. I think I'll try KA original.
[Galaxy S 4 Mini Android Development] milouk:
I used to use the mod version too..but a couple weeks ago KA original fixed multiple issues..one of them being the thermald not surviving reboot..try it and see yourslef
[Galaxy S 4 Mini Android Development] kamikaze702k:
Guys uninstall KA and try kernel toolkit instead..
[Galaxy S 4 Mini Android Development] csendre:
It did throttle, based on the chart you posted earlier, the CPU never exceeded the temperature you set. Mine overheats heavily on waze as well, but I think heat is generated by battery charging and not cpu. For me waze is consuming so much, I can also run it while the phone is plugged in and I need a 2A charger

---------- Post added at 02:43 PM ---------- Previous post was at 02:40 PM ----------

Is it still that fugly interlace? Did he add back zram control?

---------- Post added at 02:46 PM ---------- Previous post was at 02:43 PM ----------

Kenel Toolkit is nice, I even helped the dev to translate to another language , but many features are only available in paid version.
[Galaxy S 4 Mini Android Development] milouk:
The ui is updated to the one with the graphs and zram is added again
[Galaxy S 4 Mini Android Development] kevinarol93:
I've been testing the las remix 2.7.13 on my i9190 with CM13, previous nandroid, I install it with a zip called hardlimit at 1.8Ghz and the phone starts but pass some time and system process crash followed by Play Services and the other apps does not start, sorry I forget to take some log
[Galaxy S 4 Mini Android Development] heilbron:
hardlimit.zip is not needed anymore

You don't need any hardlimit.zip with the latest Remix kernel: The kernel boots at the speed of the stock kernel and you can increase the speed automatically after booting using an app, e.g. Kernel Adiutor.
[Galaxy S 4 Mini Android Development] kevinarol93:
I'm just trying things ;) without any hardlimit configuration the phone start and reboot immediately :D
[Galaxy S 4 Mini Android Development] kevinarol93:
Hi [MENTION=5416372]csendre[/MENTION] I discovered what was causing me problems, was the new kernel adiutor who makes my phone works bad with tour kernel.

So I delete it and install the mod version and all the problems gone. ;)

I9190 CM13
[Galaxy S 4 Mini Android Development] Anewkine:
Sorry
[Galaxy S 4 Mini Android Development] kamikaze702k:
It's very quite in here, everything ok??
[Galaxy S 4 Mini Android Development] csendre:
Remix 2.8.13

New builds are up

Changelog: ZRAM FIXED!

Guys, this was an insane amount of work done by [MENTION=5706443]DarkFrenzy[/MENTION] If you want to get a feel of how much, go to the source posted in the OP and just browse through the over 6 PAGES worth of commits. We were both looking for a newer zram, zcache and zsmalloc to backport (hence the many tests I asked you guys to help with) and finally he found the right one and managed to port it over to our kernel. Just picking the commits made me crazy. Please push his thanks button a million times!

A few more changes coming soon, maybe tomorrow if I get to it, just wanted to share this. Test zram and report back
[Galaxy S 4 Mini Android Development] milouk:
Ooo guys there are no words to describe how grateful i am and how much i respect you and your work..you really are amazing..thanks a million times
[Galaxy S 4 Mini Android Development] lOtz1009:
shouldn't the version be 2.8.0 then? keeping "c" (versioning a.b.c) on the same count as before seems a bit odd.
[Galaxy S 4 Mini Android Development] ModyCZ:
I have two observations.

1) all my overheating issuies were caused by livedisplay feature; since I turned it off, phone is cool.

2) the best kernel for me is in the AOKP-MM (packaged for us by [MENTION=5416372]csendre[/MENTION], big thanks!); supports OC/UC/UV and lots of other features but it's more friendly to battery. I tried 2.7.13 and 2.8.13 remix but battery goes down faster than with AOKP-MM kernel.
[Galaxy S 4 Mini Android Development] csendre:
The time to discuss this has passed, read a few pages back, you had a chance to speak up then. Explanation on how the new system works is in the OP and also a few pages back from when I asked for feedback

---------- Post added at 08:02 AM ---------- Previous post was at 07:34 AM ----------

It is almost the same as Remix minus a couple of commits that don't build well with inline toolchains (like intellithermal and one more minor optimization) These can't be the reason for different battery consumption. Must be something else.

Btw, next build will include a few battery optimizations found by [MENTION=5706443]DarkFrenzy[/MENTION], who keeps amazing me with how he is finding these. Also, will sync with CM sources. Hopefully will have time to do this today
[Galaxy S 4 Mini Android Development] milouk:
Been using the latest kernel with zram set to 100 mb ..no reboots no freez ..everything works as intended
[Galaxy S 4 Mini Android Development] kevinarol93:
Thanks [MENTION=5416372]csendre[/MENTION] [MENTION=5706443]DarkFrenzy[/MENTION] for this kernel, I resolve my problem deleting the XDA Lab app (I don't know why the app keep both cores at 1.7Ghz) I'm sorry for being annoying sometimes :good:
[Galaxy S 4 Mini Android Development] aki72:
New kernel working well Zram 330mb. No freeze or reboot LTE version latest temasek ROM. Thank you great work.
[Galaxy S 4 Mini Android Development] lars85destroyer:
Thanks for this new version ! Best kernel for s4 mini ????

Can somebody recommend CPU settings (freq, gov and UV) and zRam for a better battery life, without compromising too much performances ?

Thanks :)
[Galaxy S 4 Mini Android Development] kamikaze702k:
http://xdaforums.com/showthread.php?t=3048957
[Galaxy S 4 Mini Android Development] huawei92:
New kernel working well Zram 350mb no freeze. Up to how much I can lift it?
[Galaxy S 4 Mini Android Development] kamikaze702k:
Try and report back?
[Galaxy S 4 Mini Android Development] huawei92:
View attachment 3859917

View attachment 3859918

View attachment 3859919

View attachment 3859920 Very good! up to how much you can lift without problems?
[Galaxy S 4 Mini Android Development] csendre:
Remix 2.9.14

New builds are up.

Changelog:

1. Sync with CM source

2. Battery tweaks; many thanks to [MENTION=5706443]DarkFrenzy[/MENTION] for these finds!

- Disable by default Gentle Fair Sleepers and add interface so it can be manually turned on/off. Those who don't know what these are, you can find info if you google it (I had to). Basically it saves some battery life when this is turned off. It can be turned on (or off) with Kernel Adiutor it shows up under Misc.

- Enable all sleep states. This will increase battery life particularly with screen off.
[Galaxy S 4 Mini Android Development] ModyCZ:
This kernel is the best! Stable, even with zram, no battery drain, no overheating during charging. Love it! Thanks a lot [MENTION=5706443]DarkFrenzy[/MENTION] and [MENTION=5416372]csendre[/MENTION]!
[Galaxy S 4 Mini Android Development] huawei92:
View attachment 3860369 kernel 2.8.13 best! If I go over 510 mb goes snap and I have to overclock to 1944 and increase to 1255 volts to return fluid to the rest goes perfect and I keep it to 470 MB to 1890 clock 1216 mhv it carries the maximum load even with AnTuTu was perfect! 32006 to 30% battery... After i try the 2.9.14
[Galaxy S 4 Mini Android Development] csendre:
I added this link to the OP, very useful guide
[Galaxy S 4 Mini Android Development] kamikaze702k:
That's a good idea, hopefully it'll avoid the same questions, like I say.. There is no "best" settings, all depends on each user and what they aim to get from their device/kernel, this guide explains everything and gives people an idea of what to select for what they want..
[Galaxy S 4 Mini Android Development] Death Mask Salesman:
This is just to thank [MENTION=5416372]csendre[/MENTION] and [MENTION=5706443]DarkFrenzy[/MENTION]. You two allowed me to maintain my f2fs that I made since CM12.1. Big thanks, guys. Really.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Hi!

What about new GPU governors?
[Galaxy S 4 Mini Android Development] csendre:
We are open to work contributions. Send us links to your commits and if works, we will merge.

This invitation is open to anyone willing to work on the kernel. The source is open, up to date and link is posted in the OP. Anyone can fork it, try new implementation of any feature and send us your work for evaluation and merging into Remix.

Remember this is just a hobby for us, community contributions are more than welcome!
[Galaxy S 4 Mini Android Development] ladislav.heller:
Sorry, I am not a kernel developer. Just asking, that there is a plan to add new GPU governors to this great kernel.
[Galaxy S 4 Mini Android Development] csendre:
Never too late to start. I believe [MENTION=5706443]DarkFrenzy[/MENTION] has started recently as well and I didn't even know how to build a ROM before March of this year :)
[Galaxy S 4 Mini Android Development] Anewkine:
The latest Update work fine.

It's a great Kernel

Thnx Dev's

PS: With my SIII I have 34000
[Galaxy S 4 Mini Android Development] csendre:
Test results are not too relevant unless you run comparison of some sort, because the result will be dependent on your settings. I have had a test result of 35861 with this kernel using the default CM settings (see here) and this could be further increased if you OC, OV everything and use the most aggressive hotplugs, governors and schedulers.

Also, sometimes benchmarks do not reflect real life user experience. Right now with my current settings I am getting results around 32000, but my phone feels the best ever, and it is also tuned towards battery conscious settings
[Galaxy S 4 Mini Android Development] filip555:
How about battery life on your settings?
[Galaxy S 4 Mini Android Development] holymoz:
I think there is an issue with video calls, anyone tried to use skype or other apps?

I used skype, imo and the newest duo and when I call the s4 mini from another phone I ear my voice echo very loud (in the other phone)

Pratically every word

I speak returns to me loud and conversation is impossible.

This happens only on videocall and not on phone calls in speaker.

Previous versions of remix had this issue too.

Now I'm on cm13 but I used cm12.1 with this kernel and the problem was present too, but

when on cm12.1 I used the old f4k kernel videocalls were good so I assume is remix kernel related, anyone has the same issue? Thanks
[Galaxy S 4 Mini Android Development] kamikaze702k:
Have u configured the sound options via kernel app? Sound boost gains etc....
[Galaxy S 4 Mini Android Development] csendre:
I never had good battery life on any ROM or kernel, this is why I try to extend what I have. If by night I still have 50% I am happy. I charge the phone every night. When I don't use it too much and mostly sits on my desk it would be OK for days, but that rarely happens.
[Galaxy S 4 Mini Android Development] holymoz:
no, haven't touched that part, can you try yourself with google duo? try videocall your phone from other so we are sure that is kernel or my phone messed up, thanks.
[Galaxy S 4 Mini Android Development] kamikaze702k:
I've never used any of these video apps before, I would've tested it for you but I can't, I don't have any real friends, maybe someone else can test it or why don't you try the sound mod....
[Galaxy S 4 Mini Android Development] holymoz:
tried to modify the speaker sound from adiutor but the problem still there, it's independent from audio level
[Galaxy S 4 Mini Android Development] lars85destroyer:
I have this problem since cm12, no fix found at the moment. Same problem on an other s4 mini and a s3 lte.
[Galaxy S 4 Mini Android Development] Tacio:
The same problem for me with s4 mini 3g...
[Galaxy S 4 Mini Android Development] kamikaze702k:
Is this issue kernel related or generally device related?
[Galaxy S 4 Mini Android Development] lars85destroyer:
Probably cm related
[Galaxy S 4 Mini Android Development] holymoz:
I think kernel, when I used cm12 videocall work fine, issue started after remix kernel.

on cm13 I directly flashed remix so i don't know if videocall wher fine with stock cm13 kernel.
[Galaxy S 4 Mini Android Development] kamikaze702k:
I think it could be a cm issue, I've got no sound issues at all. I'm on AICP10 with latest remix, no distortion or crackles or anything. Unfortunately I can not test video calling.

If setting the sound parameters via kernel app didn't work, has anyone tried v4a ? Viper4Android?
[Galaxy S 4 Mini Android Development] holymoz:
on cm13 and remix speaker works well for all except during videocalls with skype, imo and duo (not tested other videocall apps).

the problem is present only on the phone X that calls the s4 mini. There is an echo of the caller voice. (on phone X)

even on cm12 with remix the problem exist.

without remix on cm12 all ok.

without remix on cm13 not tested

phone X videocalling a phone Y not s4 mini all ok.

so I assume that kernel cause the problem on phone X wich is in videocall with s4 mini.
[Galaxy S 4 Mini Android Development] lman00:
this video calling echo issue is a deal-breaker for me atm. I tried also aokp mm build. It is broken there as well.

Edit: also tried exodus 6 without remix, the echo is still there

Edit2: also present in latest cm13 snapshot without remix
[Galaxy S 4 Mini Android Development] holymoz:
thanks for the report, anyway I used videocalling for long time without issue on cm12 with f4k kernel, don't remember on stock cm12 kernel, maybe the very old f4k kernel fixed the issue in cm12
[Galaxy S 4 Mini Android Development] ModyCZ:
I'm very happy with the latest 2.9.14 kernel, just one feature misbehaves, the KSM. After a while phone gets warm, battery drains, the uksmd process is eating 30-50% CPU constantly. Disabling KSM with KA helps. Anyone seen simillar behaviour?
[Galaxy S 4 Mini Android Development] lman00:
how did you identify uksmd as the culprit?

Edit: ok, I checked in OSMonitor. For me it uses 7-10% Is that still normal?
[Galaxy S 4 Mini Android Development] ModyCZ:
Yes, os monitor. Very handy tool!
[Galaxy S 4 Mini Android Development] aki72:
Yes You are right uksmd process using 20-30% CPU.
[Galaxy S 4 Mini Android Development] kamikaze702k:
KSM is doing what it's supposed to do. It's known to reduce memory usage but increase CPU usage. This is not a bug, it's a KSM feature. Your reports are just confirming it's working as it's supposed to.
[Galaxy S 4 Mini Android Development] ModyCZ:
Is it supposed to be that much CPU intensive, 30-50%? If it is, than I suggest it should be disabled by default.
[Galaxy S 4 Mini Android Development] :
Had that too. But it started when I accidentally changed the max %-setting to 15%. I couldn't remember what the default setting was, but I knew it was quite low so I lowered it. Now it's okay, no heat and no drain.
[Galaxy S 4 Mini Android Development] ModyCZ:
I'll try to lower the settings. Thanks!
[Galaxy S 4 Mini Android Development] erkin98:
working
[Galaxy S 4 Mini Android Development] kamikaze702k:
Hello.... Everybody is happy with the kernel?
[Galaxy S 4 Mini Android Development] heilbron:
Battery drain feels higher. But no scientific comparison since my usage pattern varies a lot...
[Galaxy S 4 Mini Android Development] XDAWPark:
Works really well for me. Now have more control over the kernel then I could ever want. Since I use Kernel Adiutor I've also written a bln control for it which seems to work a treat too.
[Galaxy S 4 Mini Android Development] Sureshtuty:
Don't use Sound option in Kernel Adiutor, that is not working properly. Edit System/etc/snd_soc_msm/snd_soc-msm_2x. Find SectionDevice, Name "Speacker" Edit RX4 Digital Volume -XX%. Then reboot. The default value is 68%. I have edited it to 78% and i am using Viper4Android & eXtremeBeats for best audio quality

:highfive:
[Galaxy S 4 Mini Android Development] kamikaze702k:
does this extreme beats mod have a user interface? are you still using Resurrection Remix LP?
[Galaxy S 4 Mini Android Development] lars85destroyer:
I'm using fauxsound and xtremesound, no kernel adiutor tweaks
[Galaxy S 4 Mini Android Development] kamikaze702k:
That directory does not exist on my device

RR MM latest remix kernel
[Galaxy S 4 Mini Android Development] :
Would you be willing to share the BLN control here?
[Galaxy S 4 Mini Android Development] XDAWPark:
Code for BLN in Kernel Adiutor

Of course (wasn't sure anyone would be interested).

It's very simple.

All it does is echo '0' (for off) or '1' (for on) to "\sys\class\misc\backlightnotification\enabled"

I couldn't attach the code but as it's so short it's simple to copy and paste to a new file.

To add this control,

1. Open Kernel Adiutor

2. go to 'Custom Controls'

3. Click the '+' on the right hand side of the screen.

4. Click 'Import'

5. Find the file you created from the code below

6. Done.

{"version":1,"control":{"apply":"#!\/system\/bin\/sh\n\necho $1 > \/sys\/class\/misc\/backlightnotification\/enabled","enable":"#!\/system\/bin\/sh\n\ncat \/sys\/class\/misc\/backlightnotification\/enabled","title":"enable bln","description":"Turn on backlight notification","id":"switch"}}
[Galaxy S 4 Mini Android Development] jake3317:
How do you name the file? Does it need an extension?
[Galaxy S 4 Mini Android Development] csendre:
Because that is in the old audio HAL which was swappes out not too long ago. Now the settings are in system/etc/mixer_paths.xml
[Galaxy S 4 Mini Android Development] XDAWPark:
The file I created was named

BLN.json

The file name doesn't matter but the extension might.
[Galaxy S 4 Mini Android Development] IndieMate:
GPU Tweaks Don't Work

I don't know if it's my GS4 Mini or the Adiutor or the Kernel, but my GPU frequency does not change and whenever I change the governor, leave the menu and come back, it reverts back to ondemand. Anyone knows anything about this? :confused:
[Galaxy S 4 Mini Android Development] mynameiswht:
DT2W

Does this have double tap to wake?
[Galaxy S 4 Mini Android Development] kamikaze702k:
No, and I personally recommend top avoid it, several versions back it was added but caused problems causing lags and overheating, it's better not to have this feature it's a battery hog too, there's some apps on the play store if u really want it, but it is best not to have it built into the kernel..
[Galaxy S 4 Mini Android Development] huawei92:
View attachment 3874950

View attachment 3874951

View attachment 3874952 cm14 compatible
[Galaxy S 4 Mini Android Development] lm124:
Last version made my phone use only one core of cpu (what made it unusable). I'm using Bliss ROM (latest from august) on LTE version.

Is someone experiencing something similar?
[Galaxy S 4 Mini Android Development] jake3317:
Nope, using ACIP latest version and both cores are active. However, with the Alucard governor, it tries to kill the 2nd core asap to save energy. Works well though!
[Galaxy S 4 Mini Android Development] csendre:
Well, lots of commits missing, CM-14 kernel has many changes. Will make a CM-14 version when I am back from vacation
[Galaxy S 4 Mini Android Development] huawei92:
Meanwhile it goes much better with kernel remix and much more stable
[Galaxy S 4 Mini Android Development] Anewkine:
hello,

I would like to know if there is something to be set in the Kernel for OTG.

I bought an OTG cable but when I connect it to my device with a USB key, I can not find the files that are above...

Sorry for my poor english...

PS: Resurrection Remix 5.7.3 / Kernel Remix 2.9.14

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] supachris:
You have to use an Y cable and provide external power to the USB device as the S4 mini does not have power output on USB.
[Galaxy S 4 Mini Android Development] Anewkine:
OK,

That's why the OTG cable is not working....

it's just a simple OTG cable. an example would you please?

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] flipeicl:
Sometimes when I set alarm for 7:30 am for example, it starts 7:16 am, 7:00 am and others but never 7:30 am, and sometimes when I try to disable alarm notification I need restart the phone, this issue can being caused by Remix Kernel?
[Galaxy S 4 Mini Android Development] kamikaze702k:
No. Not a kernel issue, use another alarm clock app
[Galaxy S 4 Mini Android Development] o0chtm0o:
Well deserved vacations. Thanks God for that, I hope you enjoy it as much as you can, and I hope you can come back fine and well rested.

For me, there is too much overheating since 2.13 and those old versions doesn't works well anymore so, I can't avoid overheating :(
[Galaxy S 4 Mini Android Development] transmuting:
loop Devices

I'm trying to install Debian through Linux Deploy, but my official CM13 Kernel doesn't support Loop Devices. Does this Kernel support Loop Devices?
[Galaxy S 4 Mini Android Development] milouk:
I dont think so
[Galaxy S 4 Mini Android Development] csendre:
Remix 2.9.15 is up, synced with CM sources
[Galaxy S 4 Mini Android Development] shadyasker:
Welcome back
[Galaxy S 4 Mini Android Development] o0chtm0o:
Thank you very much Mr. C. And welcome back to the road! :highfive: I hope you enjoyed your vacations time :good:
[Galaxy S 4 Mini Android Development] csendre:
CM-14 test kernels

Those using CM-14 test builds can try these:

Remix-CM14alpha-3G/DS

Remix-CM14alpha-LTE
[Galaxy S 4 Mini Android Development] kevinarol93:
I tried this kernel with the test build of CM14 and works well, all the options are available, just having issues with the fast draining battery, I think is something with the rom side ::good:

Going back to CM13 :p