yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] xWhiskey:
I'm not sure if this is a kernel issue, but did anyone else notice a bit weird frequency scaling when overclocking up to 2052 MHz? Recently I've been testing if my phone can handle OCing that far, and I've been noticing this trend where the CPU really likes to stay at the stock 1728 step, at some occasions it goes up to 2052 (such as when performing a benchmark) and practically spends no time at the steps in-between.

If I was to run a stress test via apps Stability Test and/or AnTuTu, the phone really tends towards the 1728 step and sometimes even stays there the whole time, basically rendering the tests useless. I don't have this problem when overclocking up to 1944 MHz, where the usage pattern seems to be relatively normal. Eventually, the frequencies above the 1728 step get practically no time in state, and I would at least expect the interactive governor to ramp up to maximum clock whenever the screen is turned on.

How normal is this and what causes it? Too high overclock, too low undervolt? In that case I would presume the device would simply reboot. CPU throttling, perhaps?

EDIT: In this very thread I observe similar behavior: http://xdaforums.com/showpost.php?p=65477095&postcount=2405

Also, in the Undervolting results thread, I see another user having a similar problem when stability testing: http://xdaforums.com/showpost.php?p=62327219&postcount=25

EDIT2: Made some tests with OC to 1944 - and yes, the phone does the same thing there, albeit it stays on max frequency a bit more during stress tests, 25 % of time. This doesn't translate to daily usage, though, where it more or less behaves normally.
[Galaxy S 4 Mini Android Development] sajid0786:
Hi Bro

can I use on s6 mini adityapals rom?
[Galaxy S 4 Mini Android Development] galata_emre_03:
I mean with this the pre kernel befire the cm12 gies to official uploaded f4k the kernel pre pre2 pre3 pre4 kernels it goes to pre6 and I need the first pre kernel pls f4k can you post here the f4k lp for cm12 pre kernel I need this kernel without this kernel I cant do nothing pls f4k
[Galaxy S 4 Mini Android Development] umuturunc:
This is for aosp based roms. Not for touchwiz based roms. So you will get bootloop of if you flash on aditya's rom.

GT-I9190 cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy S 4 Mini Android Development] tioguda:
I understand you want the first versions (or all) for CM12.

If this is just going in the OP that there is a link to CM12, there you click on your model of your device it will take to four versions, just download and test which is most appropriate for you.

If i get it wrong I apologize, but I understand so in the translator.
[Galaxy S 4 Mini Android Development] mike2nl:
Translators can be very funny, so let's hope he can find what he needs...
[Galaxy S 4 Mini Android Development] galata_emre_03:
When I install cm12 I get a bootloop, but when I install the pre kernel its boot but its work only with the pre1 kernel with the other kernel its still in bootloop. I need the f4k lp pre kernel, pre is the pre version kernel I need the first pre kernel for i9195 cm12, pls can some one give me the link for the pre kernel or f4k can u give me the zip data as download here pls. I need this I cant use my phone yet.
[Galaxy S 4 Mini Android Development] mike2nl:
We know what you want, but it ins't anymore there, or sub77 has somewhere a copy.

But don't wait for it...

Before we really can help, can you tell us what your setup is?

- the real phone type (GT-I9195, i537, ?)

- have you installed once the original kernel from sammobile?

- - after you can startup your phone with the original ROM you can use the app Phone INFO ★Samsung★ from play store.

- - export the information (menu item) and upload it here.

- which TWRP or CWM you are using?

- which gapps you are using?

- which ROM you are using?

- describe what your way of install procedure is (step by step)

Please galata_emre_03, provide us with links or precise zip file names so that we can search.

There must be something wrong with your setup or the way you are doing it.

We only can help with correct answers, please understand that ...
[Galaxy S 4 Mini Android Development] galata_emre_03:
- the real phone type (GT-I9195, i537, ?). i have GT-I9195

- have you installed once the original kernel from sammobile? - i´dont install a kernel from sammobile i just install the orginal firmware.

- - after you can startup your phone with the original ROM you can use the app Phone INFO ★Samsung★ from play store. dont know i dont have yet a firmware on my phone

- - export the information (menu item) and upload it here. ?

- which TWRP or CWM you are using? cwm 6.0.5.1

- which gapps you are using? this from cyanogenmod http://opengapps.org/?api=5.0&variant=nano

- which ROM you are using? cm12 official website

- describe what your way of install procedure is (step by step)

first i do a factory wipe first system than data than the cache and than i install cm12 than the gapps

i do a wipe cache
[Galaxy S 4 Mini Android Development] galata_emre_03:
and when i flash cm12 or 13 i get the message ext4 for /dev/block/platform/msm_sdcc.1/by-name/system but it flash the cm12. On cm11 i get the message not.
[Galaxy S 4 Mini Android Development] KyeWalker:
Your twrp version?
[Galaxy S 4 Mini Android Development] mike2nl:
He is using cwm, that is always the issue when I use cwm, or better was. Since more then a year I use twrp and had no more issues.

---------- Post added at 05:24 PM ---------- Previous post was at 05:18 PM ----------

One tip I have, Yoda says...

Start over wit the current twrp because we all use it, I think and hope ;). Possible that solves your issue. Because development for cwm is stopped. I had read it some where here on XDA. Have to search for it again. At android file host which sub77 is using you can find the latest twrp for the type of your phone, or go direct to the webpage of twrp and search under devices for the right one. You Dan find a thread for the way of installation. Use Odin in your case, don't flash it with cwm ... Don't do that please...

It worth to try because nobody had your issue so far I know.
[Galaxy S 4 Mini Android Development] galata_emre_03:
the same problem with twrp :(
[Galaxy S 4 Mini Android Development] tioguda:
This message appears for everyone
[Galaxy S 4 Mini Android Development] galata_emre_03:
i have bootloop since 8am
[Galaxy S 4 Mini Android Development] sajid0786:
which kernel for cm 13
[Galaxy S 4 Mini Android Development] KyeWalker:
This one mate: http://xdaforums.com/galaxy-s4-mini/development/kernel-f4ktion-v1-t3316865

Separate thread my friend and a great active community ;)
[Galaxy S 4 Mini Android Development] Toufinious:
Has anyone tried this kernel with Exodus ROM?

http://xdaforums.com/galaxy-s4-mini/orig-development/rom-exodus-android-6-samsung-s4-mini-t3365718

Thanks
[Galaxy S 4 Mini Android Development] KyeWalker:
This kernel should work on any CM12.1 ROM (pure or custom) for the s4 mini variants. Give it a go and let us know how it is ;)
[Galaxy S 4 Mini Android Development] sajid0786:
FauxClock app says license not received

what i do or there is any other app for this
[Galaxy S 4 Mini Android Development] leo89girl:
can you please post me the link for that kernel?

i need otg support for my stock kk 4.4.2 rom gt-i9192
[Galaxy S 4 Mini Android Development] mike2nl:
You had asked the same in the old thread. Don't do this ...

- because the admins don't like that ...

In that thread you got your answer leo89girl .....
[Galaxy S 4 Mini Android Development] Varrent:
CM 13 compatible?

CM 13 ?? Or can i use cm 12.1 version in cm 13 ???
[Galaxy S 4 Mini Android Development] csendre:
No., this kernel is very old, not updated for ages. Use Remix kernel it was made from the new kernel source with most of f4k's commits added
[Galaxy S 4 Mini Android Development] LegendaryGriefer:
IS this work on samsung s duos cm11 rc3?

or what tweak can i use for fast charging
[Galaxy S 4 Mini Android Development] tysman:
i cant get usb otg support to work i plug a small camera in and it gets detected in my dads S5 Active the power sharing message pops up also but on my S4 mini I257M (I9195 Hardware) wont get detected and no power sharing pop up. Im on CM12.1 with 2.3.1 Kernel

Edit: i have a kernel that would change phone into I9195 then could flash the F4K kernel. Havnt tried that yet
[Galaxy S 4 Mini Android Development] tysman:
how do i backup cm kernel to flash 2.3.1 kernel that way i can go back if i need to
[Galaxy S 4 Mini Android Development] milouk:
Flashify from play store
[Galaxy S 4 Mini Android Development] tysman:
ok thanks
[Galaxy S 4 Mini Android Development] tysman:
will this kernel work on a sgh1257M? i flashed it and can get all features of kernel except for usb otg i made a cable but maybe the resistor i used is wrong wish i knew correct one

Is the SGH I257M the same as GTI9195?
[Galaxy S 4 Mini Android Development] tysman:
i bought a cable and plugged it in and nothing so this kernel doesnt work. the blue light comes on the cable on an S4 no problem. looks like i should buy an s4

I bought an S4 problem solved
[Galaxy S 4 Mini Android Development] thyl_:
Basketbuild is down... Are there any other mirrors ? I need the file f4ktion_lp_2.3.1-eur_lte.zip for trying this kernel under CM12.1
[Galaxy S 4 Mini Android Development] csendre:
Why in the world would you want to flash a kernel which is completely out of date and abandoned???
[Galaxy S 4 Mini Android Development] thyl_:
Ok... I see...

So what kernel you suggest for official latest sable cm12.1? ...

Thx in advice :)
[Galaxy S 4 Mini Android Development] csendre:
Use latest Remix, works just fine with cm 12.1
[Galaxy S 4 Mini Android Development] shadyasker:
What kernel to use on cm 11 date 1/9/2015 snapshot, i tried remix limited 2.13 but it didn't boot
[Galaxy S 4 Mini Android Development] csendre:
Unfortunately it does not, KK is too different. Since the CM11 kernel was not updated in ages anyhow, use the f4k kernel
[Galaxy S 4 Mini Android Development] HackedClint:
Link broken for cm 11 i9195
[Galaxy S 4 Mini Android Development] mni sharma:
otg not detect

i am using custom kernel but this not supported otg
[Galaxy S 4 Mini Android Development] Sureshtuty:
you need a Y USB OTG cable.
[Galaxy S 4 Mini Android Development] vaccaiolo:
Hi all. What kernel I can Install on CM12 (20150320-UNOFFICIAL-serranoltexx) Android 5.0.2?

I try the one linked in the first post but it don't work...
[Galaxy S 4 Mini Android Development] vaccaiolo:
Problem solved.installed LineageOS 14.1 with no problem
[Galaxy S 4 Mini Android Development] Alefello:
Hello

I cannot change the I/O scheduler. I'm using your kernel with CM11 but when I change the scheduler if I close and open the app again it returns always to CFQ. I have this behaviour even if I change the scheduler in CM settings, or in Performance control app or in Mounts2SD app.

Thank you
[Galaxy S 4 Mini Android Development] Funebrero:
Pregunta, ¿Funciona este kernel con lineage 14?

Más precisamente con esta rom: LineageOS 14.1 for S4 Mini by arco68

Es que quiero usar la funcionalidad de soporte otg en mi galaxy S4 mini i9190. A propósito de eso ¿El otg solo se puede usar en modo recovery o corriendo Android también

Pregunto porque quiero usar el otg para pasar un archivo que pesa 50gb de una micro SD a un pendrive.

Probé con este kernel Remix Kernel by DarkFrenzy

pero pero no me anduvo el otg.

Escribo en español, porque en tu perfil ví que sos argentino :)

Agradecido si me podés dar una mano.
[Galaxy S 4 Mini Android Development] wartomato:
No.
[Galaxy S 4 Mini Android Development] Funebrero:
Ayer lo probé con esta ROM https://xdaforums.com/galaxy-s4-mini/development/rom-cyanogenmod-12-0-s4-mini-3g-lte-t2946176 y tampoco me reconoció el otg.

A no ser que solo tenga soporte en modo recovery.

El cable OTG no creo que sea porque en un galaxy S4 i9590 y un Xiaomi redmi 3 pro si me funciona.

A no ser que el S4 mini necesite uno especial.

En fin, voy a hacer un último intento con alguna app, pero no creo que funcione.

Gracias igual, de todas formas la ROM quizás me sirva para conectar mi smartphone a la tv y ver si puedo reproducir videos vía cable USB.

No me voy a rendir :)
[Galaxy S 4 Mini Android Development] wartomato:
Well the kernel development stopped after Lollipop and DarkFrenzy took over the development.

(But you know that already)

So, if OTG does not work, there can be more reasons than the kernel for that. If it works in TWRP, then it is definitely not the kernel.

I do not think much ROMs support the device version you use, so keep looking, if you find a working one.
[Galaxy S 4 Mini Android Development] Funebrero:
Thanks!!!!
[Galaxy S 4 Mini Android Development] VoidRunner:
Hi there,

I am using CM11 with f4ktion_kk_2.0.0 which is Kernel Ver.3.4.0.

Currently I need squashfs.ko, cifs.ko and overlayfs.ko. So what I need is a kernel support for SquashFS with OverlayFS and SMB/CIFS. (overlayfs opens a tons of questions, such as - is it possible to have it as a kernel module, without recompiling the whole kernel?)

Went to github and had a look and the branches.

Currently we've 4 branches - 2 of them are of interests to me:

kk-new

kk-4.4

Which one should I download in order to compile this support as a loadable modules for my kernel version?

I am not able to find anywhere in the branch support for overlayfs. Is it possible at all to have it with this kernel?

The best will be if I am able to find these modules somewhere 'round already compiled and tested. Perhaps someone else had done so?

Thanks in advance

EDIT:

is it possible to download standard Linux Kernel ver.3.4.0 and simply compile these modules against it?

Or it MUST be the f4ktion one?

Here's another one. F4ktion, is it possible for you to provide the headers for your kernel, so that we could compile modules, without recompiling the whole thing? Thanks and Greetings!
[Galaxy S 4 Mini Android Development] VoidRunner:
Patch for SquashFS, NTFS, isofs, overlayfs

Well, after all, didn't had a choice but to compile everything and to boot with the newly compiled kernel !

Everything is working properly so far, sadly that was not the way I expected to happen. There might be a tons of bugs in the new compilation, but nothing appears so far.

The used git branch is kk-new.

Attaching to my post the newly compiled kernel with support for SquashFS, NTFS, isofs, overlayfs (CIFS is in ver.2.1.0 by default).

Flash as usual, and do not forget to insert needed module with insmod /system/lib/module/*

Meanwhile as you might see this is LTE variant.

I might compile others as well, just PM me or write here.

All credits goes to F4ktion!!

Without him and his great job in the git repo, I wouldn't be able to accomplish this.

Thanks, man!
[Galaxy S 4 Mini Android Development] duven87:
someone can attach the f4ktion_lp_2.3.1-eur_lte.zip file please?
[Galaxy S 4 Mini Android Development] gioblecch:
is there any custom kernel for she galaxy s4 mini i9195 with LineageOs 18.1 I took from here

[ROM][I9190/I9192/I9195/L520/R890][Unofficial][11.0.0] LineageOS 18.1 for S4 Mini

The phone that never dies, gets a new Android version yet again. Samsung only gave it Android 4. Lineage gives it Android 11. A whopping amount of 7 newer versions than the last official one it came with. This time I can present a usable build...

xdaforums.com

?

I need to speed up the smartphone thanks!
[Galaxy S 4 Mini Android Development] F4k:
Did you set your min frequency?
[Galaxy S 4 Mini Android Development] DavidSnake:
You're absolutely right, will try it as soon as I'm home from office! I was asking more to manage expectations :cool:
[Galaxy S 4 Mini Android Development] ro11er:
Yes, i had set both min and max frequency and tried various governor/scheduler combinations. SmartsAssV2 with row and sio, as well as SmartAssH3 with row and sio, with the 1.2.5 version phone was laggy and would not wake up. As soon as i reverted back to 1.2.2 using the same governor/scheduler as in 1.2.5 everything was back to normal. on another node on both 1.2.2 and 1.2.5 if max frequency is set to 2052 both smartass are running continously at max frequency. only way to make them drop is to set max to 1998 MHz.
[Galaxy S 4 Mini Android Development] mxxmxxm:
hi, im using 1.2.5 version with cm11 0109, zen/wheatley, min 162mhz, max 1890mhz, all voltages -50mv

its rock stable and battery live and performance is great.

i set the max freq and voltages with your perfomance control, now max freq stays at the correct value even if i run antutu benchmark.

perfomance control shows always 0 at min freq, if i set it to 162 an exit the app it is 0 if i start the app again,

but i can see in the time in state tab that everything is working korrekt.

the only bug i have so far is that smartass h3 sometimes stuck at max freq, but i cant reproduce it

with wheatley everything is working great
[Galaxy S 4 Mini Android Development] Nimdastas:
Could you post links to older versions please? Would like to try older builds and see if it works.

Thanks
[Galaxy S 4 Mini Android Development] Sushi1022:
All links are in plain view in the beginning of the thread. You won't even have to Google it, just open your eyes, man...
[Galaxy S 4 Mini Android Development] jasio2k:
doesn't work for me, stack in sleep never wakeup going back to 1.2.0 :)
[Galaxy S 4 Mini Android Development] ro11er:
Same here was working ok for about 8 hours then problems started. Back to 1.2.2 also.
[Galaxy S 4 Mini Android Development] F4k:
Which min frequency are using as min default?

Probably it's an issue on some low freq step, I'm checking frequency table to fix it.
[Galaxy S 4 Mini Android Development] jasio2k:
Try 168, 386, 486 min (I'm not sure exactly MHz) always same random never wakeup, also fraux kernel app start default @ 486 if you change to 386 after reboot default one back to 486. try to save catalog but last line are empty without any problem raport (no oc,uc,UV,ov)
[Galaxy S 4 Mini Android Development] ro11er:
Was using 168 with your performance control app but on restart this would show 0. Even though in cm performance setting was correct. Now i set it to 324 and after reboot it was showing correctly. But i need to wait a few hours to see if the not waking problem happens again
[Galaxy S 4 Mini Android Development] jasio2k:
I think I found something when my phone going deep sleep after while logcat show thermal sensor alert last log line show CPU temp 57c and if phone wake up from deep sleep one CPU core stack @ 2.05Ghz, second on 256 if not restart phone core running max freq.

---------- Post added at 11:46 AM ---------- Previous post was at 11:45 AM ----------

or hangs in deep sleep mode
[Galaxy S 4 Mini Android Development] mxxmxxm:
i im using latest cm11 and version 1.2.5, everything is working fine but i get many of this log entries:

13:18:40.562 E/MP-Decision( 1364): Error(-19) changing core 1 status to offline
01-12 13:18:40.642 E/MP-Decision( 1364): Error 13 setting online status to 0 forcpu1
01-12 13:18:40.642 E/MP-Decision( 1364): Error(-19) changing core 1 status to offline
01-12 13:18:40.692 E/MP-Decision( 1364): Error 13 setting online status to 0 forcpu1
01-12 13:18:40.692 E/MP-Decision( 1364): Error(-19) changing core 1 status to offline
01-12 13:18:40.753 E/MP-Decision( 1364): Error 13 setting online status to 0 forcpu1
01-12 13:18:40.753 E/MP-Decision( 1364): Error(-19) changing core 1 status to offline

any ideas?
[Galaxy S 4 Mini Android Development] F4k:
Look at CM discussion thread, it's a ROM issue apparently.

It's because you forced with PerformanceControl to go online CPU core 1, you can stop mpdecision through terminal, just do stop mpdecision then start mpdecision.
[Galaxy S 4 Mini Android Development] mxxmxxm:
thx and how did i do that in performance control? :laugh:

i cant find a setting to force a cpu online
[Galaxy S 4 Mini Android Development] radicspeter:
ML1 kernel is working awesome!!

Only bug is when i change cpu gov to interactive i got a soft reboot. And still onedemand again.

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] F4k:
I synced interactive gov with CM source, probably something was not updated correctly.

If you long press on cur freq on CPU core1, you will force mpdecision to activate core1.

EDIT:

Just to be clear to all of you, PerformanceControl doesn't display correctly CPU max/min frequencies, but they works as should.

I'm trying to update CPU code (PerformanceControl) for a fix.
[Galaxy S 4 Mini Android Development] mxxmxxm:
sry to ask again, but this does not seem to work:

if do a long press on the cur freq at cpu 1 nothing happens

if i do it on cpu 2 i get the superuser access message so it seems to work here

if i toogle cpu 2 to always on i will get this two messages in the log:

E/MP-Decision( 1364): Error 13 setting online status to 0 forcpu1
E/MP-Decision( 1364): Error(-19) changing core 1 status to offline

if i toogle it to off i get only this line:

E/MP-Decision( 1364): Error 13 setting online status to 0 forcpu1
[Galaxy S 4 Mini Android Development] F4k:
You should don't play with mpdecision, will affect directly system stability, just stop and start mpdecision (as I say you before) and hopefully will not show those errors.
[Galaxy S 4 Mini Android Development] mxxmxxm:
i dont want to play with it :)

if i stop mpdecision the errors disappear, but they immediatly come again if i start mpdecision

edit: solved it by unchecking set on boot in cpu control tab and reboot the phone
[Galaxy S 4 Mini Android Development] tomogo:
This is the first kernel which works with wifi display on my Samsung All Share Cast dongle.

Kernel: 1.2.5 JB

CM by jamus28: cm-10.2-20140107-UNOFFICIAL-serranoltexx.zip

Thanks a lot!!!

I will test it on others CM versions.
[Galaxy S 4 Mini Android Development] tomogo:
Hi,

after flashing 1.2.5 I have a lot of sporadic reboots. So I've gone back to 1.2.3a and all works fine...

What can be wrong?
[Galaxy S 4 Mini Android Development] marouane80:
i found where is the problem with the SOD when wakelock. it's related to Fauxkernel apk. i removed this app and everything is ok with defaut system kernel settings for cyanogenmod ( performance).
[Galaxy S 4 Mini Android Development] yannickamet:
hi

you have the path for this application?

thanks
[Galaxy S 4 Mini Android Development] F4k:
I use default Performance Settings of CM to set max/min speed and set default I/O sched.

PerformanceControl app to set other things like UV, fsync, etc.

Faux's app could doesn't be compatible in some ways, personally I don't use it.
[Galaxy S 4 Mini Android Development] marouane80:
i used faux app before with your v1.2.0 it was compatible but not with any version up to 1.2.0

now i don't use faux app. it's better and more stable. check this quadrant score :good:
[Galaxy S 4 Mini Android Development] tomogo:
Hi,

what version of CM do you exactly use? I mean official/unofficial CM10.2/11 with date included.
[Galaxy S 4 Mini Android Development] F4k:
I don't use official CM11 build, but my custom unofficial CM11 build, I added native screenrecord of Omni ROM and screen off animations just for now.
[Galaxy S 4 Mini Android Development] jemeljsh:
Wifi does not work on S4 Mini LTE with f4ktion 1.2.5 LTE kernel with CM cm-11-20140115-NIGHTLY-serranoltexx.zip.
[Galaxy S 4 Mini Android Development] sks93:
From arco68

Wifi are not built as module anymore, so third party kernels needs to be updated to reflect that.

And obviously, if they're not updated with the rest of the changes, it will most probably not fix the other previous issues.
[Galaxy S 4 Mini Android Development] F4k:
On nightly 20140115 and after, wifi will not work.

Obviously, new version is comming.
[Galaxy S 4 Mini Android Development] mickael91210:
Is it possible to add usb host in your kernel as for the i9192? For stock Rom too...

Thanks
[Galaxy S 4 Mini Android Development] F4k:
It's on TODO list.
[Galaxy S 4 Mini Android Development] tomogo:
Hi, I have a question.

Is it possible to add MHL support into your kernel? I do not know if this is possible on i9195... but I really want this feature ;)

This is the last thing why I'm wondering about another phone.

Regards Tomogo