yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] ro11er:
Works good but smartass if max frequency is set to any value over 1998 will only drop to 1994 mhz.

---------- Post added at 10:04 PM ---------- Previous post was at 10:02 PM ----------

1944 sorry will only drop to 1944 mhz
[Galaxy S 4 Mini Android Development] mxxmxxm:
max frequency

hi,

im using your kernel 1.2.2 everything is working great.

just one question: my cpu max freq is at default, but if i start antutu benchmark it will overclock the cpu to the max available frequency

is there any way to prevent overclocking through apps?
[Galaxy S 4 Mini Android Development] marouane80:
Ok thank you for adding fsync but i still have SOD on lockscreen after booting. please use v1.2.0 as a base for compiling. it's more stable for me.

i can't see any file or folder on /sys/kerne/ to verify fsync is loaded or not.

please don't change /sys/kernel/sound_control to sound_control_3.

thank you for your great kernel. may be if you can use albinoman887 kernel source it will help you a lot to implement fsync and gpu overclock and many features

see here please : https://github.com/Team-Hydra/android_kernel_samsung_jf
[Galaxy S 4 Mini Android Development] Kopaxi:
1.2.3a working great with the UC values, battery drain is much better, but is it possible, the SD Card disappeared with this new kernel ? Anyone have same issue ?

---------- Post added at 08:25 AM ---------- Previous post was at 08:16 AM ----------

Sorry sdcard mounting work, just had to wait for a while. Anyway 1.2.3a works awesome, battery drain is much lower, and the speed is the same. Great work f4ktion!!!
[Galaxy S 4 Mini Android Development] GNUDroid:
for me the 1.2.3a version is rock stable. everything works great here: speed, battery, no crashes (cm11. 24.12.2013)!

thank you f4k!

p.s. by the way did you know, that we might get some good helping hand here for our s4 mini development?! ;)
[Galaxy S 4 Mini Android Development] Sanj3k:
Of course we know it already :D

It's dorimanx ;)
[Galaxy S 4 Mini Android Development] GNUDroid:
Oh I had the wrong information. Seems Dori will get himself a S4 not a S4 mini. ... So if he will start kernel development, his kernel will not be compatible. :(

Nevertheless chip-sets are different, I think his work will also give good code patches for f4k and his kernel and our devices!? - That's the great think in this OSS community: everyone can share and the often missing code by the manufactures can be developed by talented dev's together. - At least dori always publishes his sources. :)

our mini:

Chipset	Qualcomm MSM8930 Snapdragon 400

CPU	Dual-core 1.7 GHz Krait

GPU	Adreno 305

s4:

Chipset	Qualcomm MSM8974 Snapdragon 800

CPU	Quad-core 2.3 GHz Krait 400

GPU	Adreno 330

so I suggest great times come also to our s4 mini!
[Galaxy S 4 Mini Android Development] F4k:
Sorry guys, big storm here let me without electrical network about 16 hours.

With Performance Profiles I'm still looking what it's wrong, but I think profiles it's useless, you can do the same by selecting conservative as default governor, when you select powersave for example.
[Galaxy S 4 Mini Android Development] radicspeter:
Sorry for disturbing you F4k, i hope the weather is better in your town now.

The problem is when i set max frequency to 1728 Mhz and i put the phone to sleep, the next time when i use the phone it's again 2106 Mhz!

How can i set it to fix frequency?

I hope you can fix this issue.

CM 11- 01.01.

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] F4k:
What are you using to set max freq? And what governor?
[Galaxy S 4 Mini Android Development] radicspeter:
Settings-performance

Ondemand

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] F4k:
Are you using as CPU profile, performance? Or I misunderstood something?
[Galaxy S 4 Mini Android Development] FaulFels:
What works for me is to dismark and again mark "set on boot" after selecting the desired frequency.
[Galaxy S 4 Mini Android Development] radicspeter:
I'm using balace.

Tapatalk-kal küldve az én GT-I9195-el

---------- Post added at 02:23 PM ---------- Previous post was at 02:21 PM ----------

I tried too but it not fix it.

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] F4k:
Only happens with ondemand governor?
[Galaxy S 4 Mini Android Development] radicspeter:
Strange, now it's still 1,7 Ghz so it's ok. (I'm writing it after 10 minutes deep sleep)

I'm testing it other governor and i will report...

On the other hands, F4k i know that it's test kernel and i'm really patient to your new version ;)

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] Grobie13:
I use trickster mod for the settings. In trickster is an option to lock frequencies. For the testkernel sometimes this option seems not to work properly. For 1.2.2 it does correct. An other thing I realized is the battery life is not as good as it was with 1.2.2 Btw. in the donation version of trickster you can activate the bln feature too.

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Android Development] dwane3:
Test on JB dev version,smartassh3/sio,battery life no good,back on 1.2.2.
[Galaxy S 4 Mini Android Development] radicspeter:
Other governors i have the same problem too.

On cm 11 the battery is good with your test kernel, the best so far.

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] F4k:
This is not normal behavior, may be something running in background it's making "noise"?
[Galaxy S 4 Mini Android Development] F4k:
For me, on OnePlus One, Google Play Services was preventing that my phone goes into deep sleep.
[Galaxy S 4 Mini Android Development] coldgin_:
Hi F !

Yes, this is a HUGE BUG in google play services 7.x . So. people who received or installed the update are s.crewed up !! :(

The culprit is one Service in G.Play Services: SystemUpdateService

It's (or at least it was) a useless service, but it's causing the "no deep sleep" issue in every ROM / device nowadays. It's not related to the Kernel nor to te Rom.

The workaround for now is:

Using some tool like "My android tools" you must search inside the Services of Google Play Services for SystemUpdateService.

The SystemUpdateService should appear disabled. Just enable it, wait for about 5 seconds, and disable it again.

The wakelock issue will dissapear until next reboot. So this is not a permanent solution because you will have to do this every single time you reboot your device. ... but it works :)

Of course you can automate this job using some tool like Tasker, or via an init.d script

Hope it helps !
[Galaxy S 4 Mini Android Development] F4k:
Yes, I found a more easy solution, you've to open Google Settings just a few seconds, and then close it, and close it from recent apps too, this should do the trick too.
[Galaxy S 4 Mini Android Development] timbohenry:
Workaround confirmed! Huge bug indeed.
[Galaxy S 4 Mini Android Development] F4k:
Updated KitKat variant to 2.1.0, this is

the latest build

for CM11 based ROMs :)
[Galaxy S 4 Mini Android Development] Oijkn:
Well a little feedback after some hours of use.

Now with new kernel v.2.1.0 i can set the frequency + governor + I/O in the app Kernel Tweaker with

apply at boot

but if i set some tricks with

apply at boot

in the app Device Control and reboot my device it freeze again so i

don't tick the option to apply on boot

in Device control. I can live with that ^^

The problem is the Deep Sleep, is still here, my device is not going in this state. So i checked with the app WLD and the wakelock dreammanagerservice was the cause ! It's correspond to ambient display, so i

disable

it in the settings menu (with kernel v2.0.5 that was not the case) but after that my phone don't go in Deep Sleep mode. I attached a screenshot of WLD.

Your last kernel is better than the previous but is not really operational. I very appreciate your work F4k and use all your stuff since the beginning and i hope you will fix it in the future with new ROM or Kernel.

Best regards.
[Galaxy S 4 Mini Android Development] F4k:
Since I don't have issues when applying kernel settings using any kernel tool, like Kernel Adiutor, Device Control, Kernel Tweaker, PerformanceControl I've nothing to fix really.

But I suggested you to use Kernel Adiutor in the past.

Check and read this latest page about phone not going into deep sleep, probably is because ****ty GooglePlay Services.
[Galaxy S 4 Mini Android Development] bassie1988:
I have latest official cm12 nightly, latest F4k kernel and latest modem and I do not have any problems with deep sleep.. Only had that a few nightly's before, last few days werd fine! Deep sleep is around 80-85% at work and around 60-65% when I go to sleep at night. End of the day I still have around 40% of battery, really great!??
[Galaxy S 4 Mini Android Development] Oijkn:
As always thank you for your advice and good experience. I disable it from the startup and close the process, now my phone go in deep sleep mode ! Great :)

F*** this Google Service !

Édit: The app Kernel Auditor it's just prefect ! F4k what settings do you use for CPU Hotplug ? Perhaps can you post all your settings of this app please ;) ?

Best regards.

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] spixy:
2.1.0 on latest Carbon KK i9195 - while ondemandplus guvernor is active, CPU always runs at min. frequency (162MHz for me)

I just switched to smartmax. Is smartass already fixed?

anyway, thanks :)
[Galaxy S 4 Mini Android Development] zarolio:
Just flashed 2.1 Kernel on CM11 (last snapshot) and went in bootloop. Possibly because of Performance Control running on startup.

Anyone else had the same problem?

Tried flashing back to version 2.0 but the problem remains. Restored a previous backup.
[Galaxy S 4 Mini Android Development] coldgin_:
Yes, it also happens to me, in my i9190 but with the previous build of Carbon-KK. So I changed to smartmax too, and it works perfectly but I believe that ondemandplus has a better balance between performance and battery life. I will install latest Carbon and then experiment with some tweaks over ondemandplus (changing a pair of parameters made the governor to behave better, but far of its normal performance). -> So maybe it needs to be "recalibrated", there is a lot of info about this governor to do this job.

I also tried for several hours the new Impulse governor, but I didn't like the violent way it jumps to max freq and stays there just to downscale to min again almost without stop on intermediate freqs. Needs some changes here too to get better behavior, I'll play with it if I get bored during the weekend :)

Regards!

edit: never used smartass so idk about this one .
[Galaxy S 4 Mini Android Development] skillz95:
MSM Hotplug and Intelliplug

Guys what MSM hotplug and intelliplug do ? Do you think it's better to tun it On or Off ?

Ty in advance.
[Galaxy S 4 Mini Android Development] TiTAN-O-One:
Guys, i faced jitteryness in UI for some reason. Its not smooth, its just stutterish and u can clearly see its not water fluid smooth. Is it the kernel or RR ROM im using?

Sent from my Lol-ed S4 Mini :D
[Galaxy S 4 Mini Android Development] alkingshefo:
need some help

im using s4 mini gt-i9195 with custom lollipop cm12 download the Kenal for my device 2.1 and with xda member method I put into my Otg cable male USB cable and got a power supply for USB drivers I know I can't charge my device im not using real y cable need resistor anyway I tried USB flash 2 USB and 3 USB works well and mouses but when I tried to plug wireless logitech my phone don't recognize it any idea why? Notice it's working on my s4 with the same cable without putting on charge sorry for my bad language
[Galaxy S 4 Mini Android Development] chacox:
Msn hotplug and intelliplug are alternatives for mp-decision, if you choose one of them you have to disable the others.

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] cojocar.andrei:
You can adopt a more permanent solution with play services: look what version you're using, uninstall the updates for it, go and download your version (32 or 34). Last play services working without wakelocks is 7.0.96. After instalation go to /data/app and create a file com.android.gms-2.apk or something like this -name similar to the one gps have except the number... This will prevent gps to self update to a version with problems util a fix...
[Galaxy S 4 Mini Android Development] Oijkn:
Hi, can you provide me a good tuto or link please ? Your solution interest me.

Best regards.

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] cojocar.andrei:
Yeah, I lost the link to the solution and unfortunate it does not work. I just seen today that the apk has just updated itself... I'll try patching the gps apk and see if this works...
[Galaxy S 4 Mini Android Development] mooon3:
Hi there,

Still impossible for me to tweak frequencies with f4ktion kernel on the brand new f4k CM12.1 rom (even last 3/31 update). Clean install as always. If I tweak it, at best it go back to standart values (384/1728) or at worst it seems to not be able to communicate with kernel anymore. Values just disapear and nothing can be modify anymore. Used native control panel, device control, kernel tweaker... If someone had this and found a way to tweak frequencies... I listen !
[Galaxy S 4 Mini Android Development] ericlnu:
I've been dirty updating for weeks now and no issues *crosses fingers*.
[Galaxy S 4 Mini Android Development] zarolio:
In CM11 you needed to flash the hardlimit files (http://xdaforums.com/showpost.php?p=50056854&postcount=2) and use a tool that supports hardlimit, like Performance Control (with which i have bitter experience) or Kernel Adiutor (from google play).

Have you done these or are they no longer necessary?
[Galaxy S 4 Mini Android Development] zarolio:
In CM11 you needed to flash the hardlimit files (http://xdaforums.com/show...54&postcount=2) and use a tool that supports hardlimit, like Performance Control (with which i have bitter experience) or Kernel Adiutor (from google play).

Have you done these or are they no longer necessary?
[Galaxy S 4 Mini Android Development] spixy:
installed your CM12.1 - with original kernel it worked great :)

but today I flashed kernel 2.1.0 and I had bootloops

just now I flashed 2.0.5, still bootloops...

//edit: its my fault, it seems that both kernels are not compatible with A5.1 / CM12.1

i9195 LTE
[Galaxy S 4 Mini Android Development] aceclift:
you need to install this kernel with cm12.1

https://basketbuild.com/filedl/devs...p/eur_lte/lp-5.1/f4ktion_lp_2.1.6-eur_lte.zip
[Galaxy S 4 Mini Android Development] cenovita:
Guys, I cannot install the kernel using the cyanogen recovery from CM 12.

Can you point me in the right direction please?

Thanks!

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] sasank360:
Flash another recovery. Do not use cm recovery, it is useless.
[Galaxy S 4 Mini Android Development] cenovita:
Thank you, it is done.

Which is the best combination of CPU and I/O governors?

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] Tigerman82:
Recently I flashed a custom ROM (official CM12) to my S4 Mini LTE (Int.) and saw major improvements in speed, smoothness and battery life when compared to stock ROM. I've read good things about this particular kernel and wanted to try it out as people were raving about in the CM12 thread. I flashed it with TWRP (running the 0403 nightly) and based on the first fifteen minutes of use I do have to say that battery life is not as great as with CM kernel. I do know that you have let the phone settle after a flashing job but still... Just by keeping the screen on and checking the menus, the battery level went down 1-2% in less than two minutes. I never experienced that with the CM kernel. Hopefully just kernel turns out to be as good as its reputation as I flashed it even though I thought CM12 without any custom kernels was just amazing.

Oh, and USB OTG does not work (nor has it work with any of the CM12). When I connect a Transcend JetFLash USB OTG drive to my phone, it doesn't appear in any of my file explorers. It's formatted FAT32 and there are files inside.
[Galaxy S 4 Mini Android Development] F4k:
f4ktion kernel 2.1.7 only for CM12.1

Changelog:

Sinced with CM source

Ramdisks updated

These new versions should fix random reboots on CM12.1, only for CM12.1

GT-I9190

GT-I9192

GT-I9195
[Galaxy S 4 Mini Android Development] atego:
Thank you F4K for this new kernel.

Is it possible to use "faux kernel" on it ?

Nico.
[Galaxy S 4 Mini Android Development] F4k:
Yep, you can.
[Galaxy S 4 Mini Android Development] kabelgleichung:
I installed that version and added the lockfile (additionaly disabled data connections to be sure I don't get an update to .99), but my device does not go to deep sleep. Deep sleep works in 4.3.25, but that's quiet outdated and a lot of stuff does not work. Can anyone confirm a working version of gms?
[Galaxy S 4 Mini Android Development] cojocar.andrei:
I made a patched google services 7.0.99 that removes the lock amd tries to prevent updating the package

... So far it's working well in my phone. I'll post it somewhere...
[Galaxy S 4 Mini Android Development] llapao:
Please do share ;) I have the same issue...
[Galaxy S 4 Mini Android Development] cojocar.andrei:
Try this link guys: http://www52.zippyshare.com/v/e651T077/file.html
[Galaxy S 4 Mini Android Development] llapao:
Problem solved! Already have deep sleep in stats!

Now let's see how long my battery will last hihi

Thanks for sharing!
[Galaxy S 4 Mini Android Development] hawaianas:
My device can't boot with the last CM nightly and F4k kernel. Am I the only one? Thanks in advance.
[Galaxy S 4 Mini Android Development] bassie1988:
No, you are not! Screen is black, backlight is on, but thats it..
[Galaxy S 4 Mini Android Development] ericlnu:
Screen is black, logcat spits out INVALID_ARGUMENT on the fb (framebuffer) stuff. I think CM folks did some video changes again. Using CM kernel doesn't work either.
[Galaxy S 4 Mini Android Development] kabelgleichung:
What did you change? I disabled "wake up" and "keep awake" for google play services in settings->privacy->privacy guard. I do not have the wakelock-issue with 7.0.99 anymore and do not see any disadvantages when using the phone.
[Galaxy S 4 Mini Android Development] jeozme:
It's not for 12.1 right?
[Galaxy S 4 Mini Android Development] cojocar.andrei:
I removed the lock for serviceupdate service and did some changes, which I don't know if they work, to prevent self update...
[Galaxy S 4 Mini Android Development] llapao:
The question was more on "HOW" did you removed the wakelock and what changes have you made...
[Galaxy S 4 Mini Android Development] F4k:
f4ktion kernel 2.2.0 CM12 & CM12.1

Changelog

Synced with CM source

Updated ramdisks
[Galaxy S 4 Mini Android Development] Loulou-13:
HI ! ;) Just this post to thank you again and again for your all your work all the time ... :angel: ;)

a

simple

question by

simple curiosity

: do you have a project to build a Carbon-Lollipop ,or an another Lollipop of others teams ? :p
[Galaxy S 4 Mini Android Development] F4k:
Maybe... :)
[Galaxy S 4 Mini Android Development] Loulou-13:
;)

or "maybe" your own personalized rom ?! :D

[ROM][5.0.x][official]F4K-Rom ... :cool:
[Galaxy S 4 Mini Android Development] jeozme:
Can't click the download link ?
[Galaxy S 4 Mini Android Development] cojocar.andrei:
Edit smali code... You can do the comparison between unmodified code and this one...
[Galaxy S 4 Mini Android Development] lars85destroyer:
Doesn't boot with AICP Lollipop 5.1
[Galaxy S 4 Mini Android Development] Miccia:
For me no problem
[Galaxy S 4 Mini Android Development] lars85destroyer:
Phone boot, but after Galaxy S4 mini screen I have a black screen and it doesn't go further
[Galaxy S 4 Mini Android Development] Miccia:
I9195?
[Galaxy S 4 Mini Android Development] lars85destroyer:
Yes
[Galaxy S 4 Mini Android Development] Miccia:
My latest build has f4k kernel.. I will upload a new one tomorrow morning
[Galaxy S 4 Mini Android Development] lars85destroyer:
Thanks a lot :)
[Galaxy S 4 Mini Android Development] CR_Franklin:
I talked to the people at carbon rom, they said that they ARE still working on the lollipop rom, but there's fewer people working on it, hence the reason it's taking so long.
[Galaxy S 4 Mini Android Development] llapao:
Thank you very much, Captain Obvious... :)

Don't get me wrong, or you are not the change author or you have an issue in sharing knowledge, specially in a place like XDA ;)

I understand that one should not be given the fish, but the fishing rod and the line, but I even sent you a PM asking for "details", an educated request since I genuinely would like to learn a little more.

But I did learn something, reflashing the GAPPS, clean cache and dalvik, now no wakelocks. Thanks for your APK anyway, I used it for a couple of days with no issues.
[Galaxy S 4 Mini Android Development] Loulou-13:
ho ok ,thank !

it's strange that Carbon Team is less and less active ...the beginning of the end ???!!! :eek:

sorry fo out-thread ...
[Galaxy S 4 Mini Android Development] zorglub!:
clarifications please

Hi all

I'm kinda confused...

Which F4k kernel works with cm 12.1 Rom

I've tried F4k 2.2.0-eur-lte on my S4 mini with latest 5.1 TU Rom....true disater...
[Galaxy S 4 Mini Android Development] chacox:
Hi there

Can anyone help me? I am trying to build a kernel version from f4k's source

I am using /proc/config.gz to compile

when I compile I get no errors, everything seems to be ok. I have zImage and modules compiled.

I have extracted initramfs.cpio.gz from the lastest f4k kernel 2.2.0 with "./umkbootimg bootf4k.img". I get no errors.

then I repack everything like this "./mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x80200000 --cmdline 'console = null androidboot.hardware=qcom user_debug=23 androidboot.bootdevice=msm_sdcc.1 androidboot.selinux=permissive' -o boot.img". Once again I get no errors.

I put boot.img and modules inside the flashable zip and I proceed to flash. It does not appear any error when flashing but my s4 mini never boots! it gets stuck in Samsung S4 mini screen for a few seconds and it reboots itself.

what can I be doing wrong? I am using lastest f4k kernel 2.2.0 right now and cm12-20150411
[Galaxy S 4 Mini Android Development] llapao:
F4k 2.2.0-eur-lte works very well indeed with F4K rom from HERE
[Galaxy S 4 Mini Android Development] racht:
GPU Overclock

According to first page, there're possible GPU freqs over 500mhz, on my device it shows 480MHZ, how can I overclock the GPU? Any recommended utility or command line ?

Thanks.

P.S. its a really smooth and fast kernel, on CM12 I get 27000+ on Antutu with Wheatly and ZEN settings.
[Galaxy S 4 Mini Android Development] tostep:
You can try Kernel Adiutor.
[Galaxy S 4 Mini Android Development] saintetienne:
I had been using 2.2.0 and it was excellent until 20150414 cm12 update , then u/s.
[Galaxy S 4 Mini Android Development] llapao:
What were the issues?
[Galaxy S 4 Mini Android Development] saintetienne:
Install , phone boots normally , as soon as you open screen lock it loops again and again, atm I am running 15/4 cm12 without 2.2.0 kernel .
[Galaxy S 4 Mini Android Development] llapao:
Ok, I have CM12.1, 2.2.0 kernel and everything works flawlessly. But not before I did a factory reset :D I quit dirty flashing!
[Galaxy S 4 Mini Android Development] saintetienne:
I see , I may try that , If I do a clockworkmod backup can I use it afer a reset and clean flash ? I haven't got the inclination to reinstall everything !
[Galaxy S 4 Mini Android Development] llapao:
Well it depends on your recovery, since TWRP backups are not compatible with CM based recoveries... Nevertheless I lost 30m after the factory reset and I got a faster, more stable, better battery [gained 1 day] with CM12.1 and [MENTION=3261191]F4k[/MENTION] kernel
[Galaxy S 4 Mini Android Development] saintetienne:
I will have a go , cheers

Just tried clean install and exactly the same issues as soon as kernel is flashed. :(