yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] o0chtm0o:
Check this up my friend. This is what is happening in this kernel with this gov.

Link

Thanks for your help and support. You're doing awesome :good:

EDIT:

By the way, I love SmartMax but, there is something that is not totally convincing me, and I would like to try this gov to compare and establish my own criteria ;)

"The SmartassH3 governor is designed for battery saving and not pushing the phones performance, since doing that drains battery and that's the one thing people keep asking for more of. Based on SmartassV2.

In other words, It has been tuned to have more efficient frequency scaling (not ramping too high when not needed) which this could potentially result in better battery life."
[Galaxy S 4 Mini Android Development] DarkFrenzy:
One more question

Is that gov was working well on cm12.1 with f4k kernel?
[Galaxy S 4 Mini Android Development] o0chtm0o:
Emmm... :confused: I don't know. I did not use this with 5.1.1

I'm sorry, I can't answer that. Anyone knows that please???
[Galaxy S 4 Mini Android Development] DarkFrenzy:
If it was same in original kernel made by f4k then its not possible for me to fix that but I will try

Have u ever used a kernel that has a perfect smartassh3 governer in any device

---------- Post added at 07:35 PM ---------- Previous post was at 07:22 PM ----------

I got a solution.

In kernel auditor in CPU hotplug it says under mpDecision " if enabled u will have difficulties in changing frequencies" so I disabled it and changed the governer to smartassH3 and now its working fine.

Can u disable mpdecision and select smartassh3 and check and report back

EDIT: [MENTION=3709617]o0chtm0o[/MENTION] its not like that also. u just need to toggle mp Decision PLUS u need to change from smartassh3 to other governe then again change back it to smartassh3 to get smartassH3 work and i found that after letting the phone sleep for few minutes than check back the cpu frequency , it stays at highest freq, again i have to toggle mpdecision and change the governer to other and again change it to smartassh3. thats so weird LOL LOL LOL
[Galaxy S 4 Mini Android Development] o0chtm0o:
LLLOOOOLLL

What a mess!! Well, it's not working fine... That's a shame, I wanted to try it and see how the phone goes with it.

So, thanks again :)
[Galaxy S 4 Mini Android Development] DarkFrenzy:
THis for LTE GT-I9195 CM13 AND AICP11 ROM plz test

does it boot?
[Galaxy S 4 Mini Android Development] xtspot:
It's ok.

I can undervolt at 600 mV.

I test with performance control, but this program is not able to undervolt under 600 mV. I will have to chose another one.
[Galaxy S 4 Mini Android Development] savvy1968:
Is this the kernel that's installed?
[Galaxy S 4 Mini Android Development] DarkFrenzy:
thanks now i can build it for other models.

You can use Kernel Auditor

is there any lags ?
[Galaxy S 4 Mini Android Development] xtspot:
No, it seems to work without any probleem. But I didn't test everythink. I just start a stability test during 15 minutes and it didn't hang.

---------- Post added at 03:07 PM ---------- Previous post was at 03:06 PM ----------

Yes, I have the same date of compilation

---------- Post added at 03:35 PM ---------- Previous post was at 03:07 PM ----------

Could you send your Voltage value per frequency below 700 mV ?
[Galaxy S 4 Mini Android Development] DarkFrenzy:
How? I did not get what u mean.

I can undervolt to 400 using kernel auditor
[Galaxy S 4 Mini Android Development] milouk:
duuude i cant say how much i thank you..just tested..everything till now works flawlessly..screencast/snapchat/video recording work

awesome work...(i currently run an antutu benchmark i will report results in a couple of minutes).

thanks you agaain

edit: check this result....:eek: :eek:
[Galaxy S 4 Mini Android Development] xtspot:
It is a table with the mv that is configure per frequence like this :

168 Mhz -> 400 mv

270 Mhz -> 450 mv

378 Mhz -> 500 mv

384 Mhz -> 550 mv

486 Mhz -> 600 mv

594 Mhz -> 650 mv

702 Mhz -> 675 mv

810 Mhz -> 700 mv

It is only an example.

Higher is not interresting.

But by these wau, we can know wich is the lowest voltage per frequency.
[Galaxy S 4 Mini Android Development] o0chtm0o:
My friend, can you share the "fixed/improved version" with me please (screencast, video recording, etc)? I'm the one using Bliss 6.0.1.

Thank you very much!
[Galaxy S 4 Mini Android Development] milouk:
check page 238 ;)
[Galaxy S 4 Mini Android Development] DarkFrenzy:
is that good or bad ?
[Galaxy S 4 Mini Android Development] milouk:
hahahah are you kidding mee...its 10.000 more thank cm 13 stock kernel....you mate NAILED it hahaah

of course thats good :P
[Galaxy S 4 Mini Android Development] F4k:
Changelog

1.2.5 (09/01/2014)

- Synced with CM source

- Updated ramdisk of JB variants

- Random entropy tweaks

- Regenerated SAV2 and SAH3

- Update fastcharge code, using Faux123's one

- Added ARM LoUIS cache API

- Core scheduler optimizations

- Added Dynamic Fsync

- Added extra low CPU clocks for better battery performance (hopefully)

- Added Dynamic management of dirty page writebacks

- Added Asynchronous Fsync

- Removed some compiling warnings

For fastcharge voltage configuration use this through terminal or console or you can use FauxClock app.

For USB 2.0 use 500mA as MAX
echo 500 > /sys/kernel/fast_charge/fast_charge_level

For USB 3.0 use 900mA as MAX
echo 900 > /sys/kernel/fast_charge/fast_charge_level

For wallcharger use from 900mA up to charger Maximum (1500mA as top)

Warning: incorrect use of voltage could damage your phone or USB ports

For use mm Dynamic management of dirty page writebacks or Dynamic Fsync you can use PerformanceControl app compiled by myself, credits to h0rn3t
[Galaxy S 4 Mini Android Development] F4k:
Also, I spent hours and hours and here attached a stock variant of f4ktion kernel for I9195 ML1 ROMs

1.2.0 has almost all features as KK variant.

It's a test version, so please report any issues and I'll try to fix it.
[Galaxy S 4 Mini Android Development] radicspeter:
unbelievable!! +100 ;)

I think you shoul open a new topic for your new samsung kernel.

Thx,thx,thx!!
[Galaxy S 4 Mini Android Development] F4k:
Yes I'll, but first need some feedback about this first release.
[Galaxy S 4 Mini Android Development] Nimdastas:
Hi,

Thanks for the new version. I still get freezes, on latest nightly (09). :(

Just flashed the ROM, booted up then flashed your kernel > freezes. Had to reflash ROM again.
[Galaxy S 4 Mini Android Development] Miccia:
Form me works well!! Only selinux is not permessive but application!!!
[Galaxy S 4 Mini Android Development] mickael91210:
Hello and thanks a lot.

For me Kernel seems to work well with ML1 as ask in PM. Thanks a lot for your hard and great work.

I'm using TricksterMod as on my Note8 to adjust kernel and it's ok.

Bravo...
[Galaxy S 4 Mini Android Development] Darktitor:
What settings do you use with Trickster Mod?

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] mickael91210:
Hello,

I modified

- the governor : SmartassV2

- the 'Ordonnanceur" : sio

- the min - max frequency : 162000 / 1944000
[Galaxy S 4 Mini Android Development] marouane80:
Ok no more SOD. Great job
[Galaxy S 4 Mini Android Development] yannickamet:
hello

the new version 1.2.5 works fine with 4.4.2 rom BAM, no problem

Very good job

thank you very much
[Galaxy S 4 Mini Android Development] ro11er:
Using 09/01 nightly with 1.2.5 kernel. Phone goes into deep sleep and won't wake up unless power button and home button are pressed multiple times.
[Galaxy S 4 Mini Android Development] radicspeter:
Using the same version of cm and no problem here yet.
[Galaxy S 4 Mini Android Development] ro11er:
What governor and scheduler arr you running?
[Galaxy S 4 Mini Android Development] xuleca:
+1 testing.

There are a application to control kernel like Semaphore?
[Galaxy S 4 Mini Android Development] mav744:
is it possible to implement the adjust of the vibration? sometimes I don't feel the vibration, because it is to soft. when I have the phone in my jacket or on the table, I miss notifications and calls when the phone is in vibration mode

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Android Development] DavidSnake:
+1 on this one, would be really helpfull.

Regarding the kernel, I'm still on last CM10.2, if I flash this kernel will I notive better battery stats? Because battery drain is crazy, I get like 3-4% every hour on idle, so bat does not evenlast a day..
[Galaxy S 4 Mini Android Development] F4k:
You won't know if you don't try it.

Configure your max and min freq and choose an governor.
[Galaxy S 4 Mini Android Development] Sanj3k:
Especially whatsapp has very short vibration, I manually set it to long to recognize it vibrates or not.... I would love to have vibration control...
[Galaxy S 4 Mini Android Development] ro11er:
Had to switch back to 1.2.2 and not waking up problem gone. With 1.2.5 version phone would not wake up and experienced serious lag. 1.2.2 is fine. 09/01 nightly.
[Galaxy S 4 Mini Android Development] o0chtm0o:
It's clearly for CM13 and AICP11, not for Bliss 6.0.1, even Bliss is based on CM13 doesn't work.

Last time [MENTION=5706443]DarkFrenzy[/MENTION] asked me to send him the boot.img and had to adapt it for make it work.
[Galaxy S 4 Mini Android Development] milouk:
aaa right..didnt notice ..sorry :P
[Galaxy S 4 Mini Android Development] DarkFrenzy:
here is two screenshots of my tab3, first one modified with undervolt and second one with the default values
[Galaxy S 4 Mini Android Development] KyeWalker:
Dude, please make your own thread!! It would be easier to follow your work, whether its based on other peoples stuff or not. Its all open sourced. Just make sure you give credits where it is needed.

Great work pal.

For the record, I've been using F4k kernel since CM12. SmartAssH3 has never been stable and there's never been a popular demand to fix.

Does OTG work using the Y-Cable?
[Galaxy S 4 Mini Android Development] xtspot:
Here are my value, I am made a Stability Test during 10 minutes, on the low voltage :

Freq	Voltage

162	mhz	-	400	mv

270	mhz	-	400	mv

378	mhz	-	400	mv

384	mhz	-	500	mv

486	mhz	-	550	mv

594	mhz	-	550	mv

702	mhz	-	550	mv

810	mhz	-	600	mv

918	mhz	-	750	mv

1026	mhz	-	800	mv

1134	mhz	-	850	mv

1242	mhz	-	900	mv

1350	mhz	-	900	mv

1458	mhz	-	925	mv

1566	mhz	-	950	mv

1674	mhz	-	1000mv

1728	mhz	-	1025	mv

1836	mhz	-	1050	mv

1890	mhz	-	1100	mv

1944	mhz	-	1100	mv

1998	mhz	-	1125	mv

2052 mhz-	1150	mv
[Galaxy S 4 Mini Android Development] savvy1968:
Thankyou DarkFrenzy for all your hardwork its all running fine here bud.

---------- Post added at 09:05 PM ---------- Previous post was at 08:36 PM ----------

I cant overclock with K.Aduitor it jumps back to 1728 mhz
[Galaxy S 4 Mini Android Development] piskor:
Use hardlimit files from this post http://xdaforums.com/showpost.php?p=50056854&postcount=2
[Galaxy S 4 Mini Android Development] savvy1968:
Thanks piskor.
[Galaxy S 4 Mini Android Development] milouk:
guys does FM Radio or LiveDisplay work for you?
[Galaxy S 4 Mini Android Development] savvy1968:
i dont know how you can get away with undervolting by that much because i used your settings and i kept getting reboots when it was doing anything like Geekbench or even when going into deepsleep.
[Galaxy S 4 Mini Android Development] coldgin_:
Wow, I'm really impressed that this is actually working in our hardware.

Thanks for sharing!
[Galaxy S 4 Mini Android Development] coldgin_:
+1 [MENTION=781404] DarkFrenzy[/MENTION]

BTW, f4k used to compile his kernel version with Linaro Gcc 4.9+ with several optimization flags. I'd like to know how is your version being compiled.

And... I don't want to seem rude.. but you should publish every commit you applied over the original kernel, or a bit better, please create your own branch in Github and post the url here or in your own new thread.

Finally, as a programmer myself , I really think your are doing a great, terrific job.

Let me congratulate and thank you on behalf of our community.

Regards!

Edit : just saw your own new thread. Thank you !!
[Galaxy S 4 Mini Android Development] DarkFrenzy:
i have already created a new thread. i compiled with latest linaro gcc 4.9+ but i don't remember using any optimizations flags and i m new to these things.
[Galaxy S 4 Mini Android Development] savvy1968:
Darkfrenzy. This is performing brilliant.
[Galaxy S 4 Mini Android Development] DarkFrenzy:
Which build
[Galaxy S 4 Mini Android Development] savvy1968:
The one you sent me to test this morning through pm
[Galaxy S 4 Mini Android Development] flapane:
It's useless, it means that every frequency will be tested a few seconds each.

Try at least (4*number of frequency steps) minutes (way over 1 hour, in your case) or trust me, you'll phone will reboot right when you REALLY need it, so to obey Murphy's law. :)
[Galaxy S 4 Mini Android Development] xtspot:
Yes I deed it for more than one hour. But when I wriite this message I wanted to answer as fast as possible.

And I am using it every day without any unwanted reboot linked to this configuration :D.
[Galaxy S 4 Mini Android Development] flapane:
Oh then it's ok, lucky you to have obtained rock solid stability with such quite low voltages.
[Galaxy S 4 Mini Android Development] RomanSkyline:
For RR MM rom?

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] wartomato:
Should be CM based...so, yes.

Just try it out. If it doesn't work for you, just dirty install RR over.
[Galaxy S 4 Mini Android Development] savvy1968:
I finally found a problem with the kernel it was oc and UV great but my zoopers couldn't find my I location even if typed it in it wouldn't find it so the zooper widgets were useless,I wiped the phone for a clean Install and kept to the ROMs kernel and Zooper is fine again
[Galaxy S 4 Mini Android Development] RomanSkyline:
For RR MM rom works better AICP11 kernel than CM13 kernel

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] wartomato:
I cannot imagine that this should habe been a kernel problem...
[Galaxy S 4 Mini Android Development] savvy1968:
i thought the same but its the only thing that i had changed.
[Galaxy S 4 Mini Android Development] pilatus.root:
Awesome kernel works like a charm with CM 12.1 undervolted with 100mV rock stable on s4 min 3g! big THX:good:
[Galaxy S 4 Mini Android Development] supachris:
I use the kernel now with CM13 Snapshot. It works very well but I miss BLN support. Is it possible to add?
[Galaxy S 4 Mini Android Development] milouk:
To enable BLN download an app called NSTools from playstore ;)
[Galaxy S 4 Mini Android Development] supachris:
I will try. Until 12.1 I used BLN Control, but it says, bln is not supported by this kernel.
[Galaxy S 4 Mini Android Development] milouk:
I know it is due to the swap from busybox to toybox...use the app i told ya ;)
[Galaxy S 4 Mini Android Development] supachris:
Ah, OK, it works, even with BLN Control, although it is telling me not working. Strange...
[Galaxy S 4 Mini Android Development] bangdes:
I'm using l9190 with cm 10.2, but cannot pairing with bluetooth headset. Are this kernel can solve my problem?
[Galaxy S 4 Mini Android Development] leo89girl:
i need help please

hi, my phone s4 mini duos 4.4.2 kk rooted

when i install this kernel (with wiping cache and devilak cache)

then rebooting system, the phone dont boot, samsung logo and a messeage of

(set warranty bit: kernel) above appear for few seconds then screen goes black

im not expert but i really need this kernel modifications

anyone can help please?
[Galaxy S 4 Mini Android Development] niklus101:
this is for cm based roms. not for touchwiz. try reflashing stock firmware.
[Galaxy S 4 Mini Android Development] KyeWalker:
F4k has a kernel for stock. To use Over clock you will need either a hardlimit.zip which can be found on xda and use any kernel tweaking app of your choice or use performance control apk, this apk already has this hard limit feature that let's you OverClock. This too can be found on XDA. If all else fails, Google what I mentioned, ie Google search "F4k OC stock kernel" then "performance control apk XDA"
[Galaxy S 4 Mini Android Development] galata_emre_03:
Hey Guys,

I Need the f4ktion_lp_pre-eur lte kernel for 5.0.2 pls send me the download link
[Galaxy S 4 Mini Android Development] vlanellhemd:
CM13 - not booting

Hi,

I tried to install the Kernel on my S4 mini LTE with CM13. Kernel is not working, the phone is not booting. It starts but stops at the CM logo... waited nearly half an hour.

Do you have another Kernel working with CM13 that I can overclock?

Thanks
[Galaxy S 4 Mini Android Development] holymoz:
this kernel it's for max cm12.1, for cm13 there is this but with no overclock, latest 04.14 have a bug so install previous or wait next.
[Galaxy S 4 Mini Android Development] denyo81:
Can we expect a kernel for CM13?
[Galaxy S 4 Mini Android Development] KyeWalker:
http://xdaforums.com/galaxy-s4-mini/development/kernel-f4ktion-v1-t3316865

CM13 kernel thread mate ;)
[Galaxy S 4 Mini Android Development] xWhiskey:
Hey, people. I seem to have had the same problem mentioned in some of the older posts, where CPU changes don't stick at all, while GPU changes stick just fine. I used the latest kernel together with CM 12.1 from an unofficial source. Neither Performance Control nor Kernel Adiutor seemed to do the trick.

The problem was solved by flashing the hardlimit .zip provided somewhere in the thread, even though it was mentioned that this step was not necessary (as it is already provided for in Performance Control). Also, this didn't work immediately because the .zip containing the frequency I was looking for (1944000) in fact had 1728000 as the echo value. You can easily change this by simply replacing the correct frequency and repacking the file, but you can also easily miss this.

Just a small heads up for the people with the same problem :good:
[Galaxy S 4 Mini Android Development] KyeWalker:
I've never ever flashed the hardlimt zip and been using F4k kernel and performance control since CM12 and still don't need it on CM13

What version of performance control you using. Latest is 2.6 I believe.

Great work on your findings though ;)
[Galaxy S 4 Mini Android Development] xWhiskey:
2.2.6. Flashed the first one on the .apk list.
[Galaxy S 4 Mini Android Development] KyeWalker:
2.2.6 that's the one! I have no idea why some have come across this issue but most have not. Busybox version maybe? I'm assuming you've downloaded a kernel on here. Was it from the OP or another user in this thread?

I also think that if you change the echo file it will revert back to original values. It did on CM13 when we was all testing kernels and couldn't get OC CPU to stick.
[Galaxy S 4 Mini Android Development] xWhiskey:
No idea, but I stopped looking into it as experience taught me not to change what works :) I downloaded the 12.1 kernel from the OP. I tried two more ROMs before settling for this - full wiping every time, if that's of any relevance.

Performance Control shows that every CPU step is used, up to 1944 MHz, so I'm sure it works properly now. Might be a coincidence, might be that hardlimit flashing sometimes is necessary? I hope you get something out of this.
[Galaxy S 4 Mini Android Development] KyeWalker:
Try this kernel I've attached, credits go to [MENTION=5706443]DarkFrenzy[/MENTION] it's for CM13 but someone reports its working on AICP10 (CM12.1 based) you need to manually change the file to limit 2052

Go to /root/sys/kernel/cpufreq open hardlimit file with editor change value to 2052000

When you click save it will say error and are you sure you want to leave without saving. Just follow message and the file will be changed. Only thing is you would have to do this on every reboot.

One is for LTE, the other is for 3G/DUOS

Let me know if you require any help ;)
[Galaxy S 4 Mini Android Development] Garfield1970:
Hi Guys

I have installed CM12.1 ( cm-12.1-20151005-UNOFFICIAL-serranodsxx.zip )from F4K's thread on my GT-I9192 some time ago , immediately followed by this kernel , because I wanted to have OTG , Frequency control and undervolting :)

Seemed to work great , but i later noticed that some apps were crashing on start ( TomTom Go was one of them )

So , today , I tried to flash CM12.1 ( same zip ) again over the existing install to go back to the original Kernel included in that release , and now TomTom is working perfectly , as is the rest of the phone :) , but ...... I lost Undervolting, Overclocking and OTG of course

Is there a way to get one / all of those working on the stock Kernel maybe , or would the adb log and tombstones I have help to find what's going wrong when this kernel is installed ?

Cheers and big Thanks for your work .... My S4Mini feels like a new phone with CM12.1 on it !
[Galaxy S 4 Mini Android Development] mike2nl:
About your post what i have read today in the morning...

Yesterday i had read this thread from DarkFranzy.

I had read about hardlimit files and i remembered that i had that files on my server.

The original one ;), but before i use external files i open it and read, and read.

By that action it comes up that the values in the files are not correct, can happen ...

Next remember situation was that i had uploaded the files round a year ago, jesus

find something what is old like that files, also with the search function from XDA

i could not find these files back...

Decision was to upload them again in the older thread from F4K, because DarkFranzy

linked to that thread.

The files can be found here in the 1.3.0 thread from F4K, jesus they are old ;).

These files are the correted one and they working well. I hope that helps out someone ...
[Galaxy S 4 Mini Android Development] mike2nl:
What du you mean with pre-eur?

There are only eur kernels here in the 1st posting...

Or you use the amazing search function here on XDA, then you had found your answer in this post here. But that file is no longer there (404 on page). Instead use the f4ktion_lp_2.3.1-eur_lte kernel from the 1st posting. That works ...

BTW:

you had open'd a thread here too, right? Don't do this twice because the admins don't like it when they see this. And think about to give a Thanks in your thread, because you had your 1st answer to the right thread ...
[Galaxy S 4 Mini Android Development] xWhiskey:
Thank you for the upload! Hopefully that would resolve these things.
[Galaxy S 4 Mini Android Development] mike2nl:
On my site it's working without any issue, but that is depending on ROM and android version.