yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] KnifeHead:
Well, if you cant said, then how about stop release it? :D

Or maybe, you can try to change selinux to permissive first?
[Galaxy S 4 i9500 Android Development] yuzgen:
Stop non-constructive comments. He clearly stated his phone doesn't have TW, so he can't test. He's developing a rare kernel for S4, you're commenting non-sense. Stop.
[Galaxy S 4 i9500 Android Development] KnifeHead:
non-constructive "comment with s" ? Have u?

Commenting non-sense? Seriuosly?

Shame you :D
[Galaxy S 4 i9500 Android Development] ameshiya:
Stop Ya Bulls>hits< Or Stick WiTh STock Ones ;)
[Galaxy S 4 i9500 Android Development] maxsam4:
My overclock frequencies are unlocked but are never used.

Can somebody help?
[Galaxy S 4 i9500 Android Development] anderson79:
can someone tell me which version of kernel you can install the pacman preferably be via cwm

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 i9500 Android Development] maxsam4:
Try the latest 12b5
[Galaxy S 4 i9500 Android Development] anderson79:
if you install the same reason but not because I run out wifi

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 i9500 Android Development] maxsam4:
Try the lite version.

Lite version should work fine.
[Galaxy S 4 i9500 Android Development] anderson79:
if not too much hassle could you tell me what is the lite version please

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 i9500 Android Development] maxsam4:
It is mainly stock with some additions and is not re-compiled from scratch.
[Galaxy S 4 i9500 Android Development] rhaspody:
12v4 and 12v5 gives videos a bluish tint on touchwhiz 4.4.2 rom (omega rom v19)
[Galaxy S 4 i9500 Android Development] casaque89:
overclock concern.

I have the international GT-I9500, with custom TW ROM and running KitKat 4.4.2 (official). I flashed the: kernel-i9500-kk-v11tc.tar.md5 and I was expecting to have better results in a Quadrant Benchmark... It didn´t happen, actually the results were lower this time with this new kernel. I downloaded the STweaks app and it shows that the CPU is overclocked to 2.0 GHz. :confused:

I am going to attach the screenshots, I may receive a good answer :cowboy:

Sorry, my question is; Why I am getting a lower score is this benchmark? I thought I could get better performance with a tweaked kernel.

Please feel free to correct me if I am mistaken. :eek:

Developer, great job and thanks in advance :highfive:
[Galaxy S 4 i9500 Android Development] maxfu:
Well the benchmark result may be lower cause these softwares make the CPU run on high load. This will cause the temperature raise quickly. When the temperature reach the limit, the CPU will cut all high frequencies and run on low frequencies to cool down. This heating-up procedure could extremely fast while the cool-down procedure is usually slow. So doring the benchmark, the CPU could go up to 2000MHz for 1 or several seconds and then the CPU will probably run on 600 for the rest 95% of the benchmark time. Otherwise, if you use 1600MHz, the situation may be the 75% time on 1600MHz and 25% time on 600MHz. So do the math, which one will have better result?
[Galaxy S 4 i9500 Android Development] maxfu:
I have the script to set selinux to permissive.
[Galaxy S 4 i9500 Android Development] maxfu:
Time to start over.

From v1 to v12, the source tree became a mess. So I decided to start over build the source tree, cut out some features. Hope to find a cure to the unsolved problem. After that, may be one or two releases, if the problems such as video problem exist, then I think it is the time I say good bye, cause I tired of this blackbox work.
[Galaxy S 4 i9500 Android Development] yuzgen:
Then overclocking is not a good idea if you will use the CPU on high load for a long time, eg. gaming?
[Galaxy S 4 i9500 Android Development] maxfu:
Of course it is not a good idea. That's why I decided to cut out oc from next version.
[Galaxy S 4 i9500 Android Development] KnifeHead:
With setenforce 0? Its not work.

Same with wanam repacked stock kernel, said its permissive but still enforcing.

Maybe you should take a look at omega stock kernel, its pure stock but permissive one.

Just work for TW version.

You make your own kernel graveyard by tried to port for aosp.

Just back to why this kernel former name was AdaMax.
[Galaxy S 4 i9500 Android Development] maxfu:
May be you are right.
[Galaxy S 4 i9500 Android Development] maxsam4:
Nope nope nope

Please don't stop supporting aosp :)

You may leave tw if you want :p

Have a poll in the thread if you want to see how many of us use aosp.
[Galaxy S 4 i9500 Android Development] saurabhp75:
+1
[Galaxy S 4 i9500 Android Development] yuzgen:
You can check SourceForge page to see download counts.

Edit: This doesn't mean I want a good kernel for AOSP. Maybe after going stable, it could be ported. I mean, instead of developing for two platforms, finishing one then porting it could be practical. Then AOSP could be considered primary though, because while AOSP users are less, they give more and better feedback. You can check this thread.
[Galaxy S 4 i9500 Android Development] maxsam4:
The latest version

Aosp : 10

Tw : 8

And the aosp are going to get a major boost any time soon when stable cm 11 releases would be rolled out.

---------- Post added at 08:08 PM ---------- Previous post was at 08:08 PM ----------

@maxfu i really don't think that you should work on jb anymore. Just focus on kk
[Galaxy S 4 i9500 Android Development] zetlaw:
Stats from SF

TW : 150

AOSP : 56
[Galaxy S 4 i9500 Android Development] maxsam4:
Which version are you talking about??

The latest version (12) has more downloads of aosp than tw
[Galaxy S 4 i9500 Android Development] yuzgen:
I totally agree with the KK part. Also AOSP ofc. I personally hate TW. I'd never never buy Samsung but don't have the money to buy an expensive phone myself. Always using sister's and mom's "old" (old as in months old) phones.

Anyway, one can use a Google and Samsung free phone by getting APK's elsewhere and using AOSP. This is total software freedom and if I were a dev, I'd go AOSP. This is why we are struggling with low benchmark scores, low call quality, low battery life, instability etc. Freedom. I believe we'll get real stable releases soon with the help of great devs and feedbacks at XDA. :thumbsup:

Sorry for off-topic [MENTION=3805586]maxfu[/MENTION]. IMHO focusing on any of TW / AOSP and KK only will help you breath. You're doing a great job. Even if you decide to quit, you already came a long way. Maybe longer release cycles can also help you breath. Last but not least, when you upload a new release, just let us know by posting here. More people will test in less time. Thanks.

Edit: I installed the latest AOSP v12 over CM nightly 140425. No lite, no overclock. Normal. Yellow tint vanished right away. I don't think I need to install STweaks anymore, because the only thing I did in STweaks was getting rid of that yellow tint. Mass USB Storage while connecting to computer wasn't working last time I looked. That sure could be useful getting rid of Kies software. I will test and report.
[Galaxy S 4 i9500 Android Development] casaque89:
Thanks for your quick response! So, does a custom kernel increase the performance of my phone? Besides performance, is there any reason why I should download a custom kernel? Of course I dont mean to be rude :) it´s just that I am not a developer and I just root my phone for fun :good: and thank you very much for your assistance and dedication! thumbs up
[Galaxy S 4 i9500 Android Development] toryonway:
[MENTION=3805586]maxfu[/MENTION]

why my camera when open is lag and slow i want to know this problem it

who have problem same me i use Omega V.20
[Galaxy S 4 i9500 Android Development] CrazyBytesVE:
Greetings. Comments about version 12b4. Works PERFECT, THANKS. . And further I think I discovered the reason for the failure of post crash had mentioned before. The failure began in the time that I did UNDERVOLT GPU (50mV). Returning to the original GPU voltage disappeared again failure. The CPU UNDERVOLT not cause any problems. Only the GPU.

Saludos. Comentarios acerca de la versión 12b4. Funciona PERFECTO, GRACIAS. . Y adicionalmente creo que descubrí el motivo de la falla de cuelgue que había mencionado post antes. La falla comenzó en el momento en el que hize undervolt en la GPU (50mV). Al volver al voltaje original en GPU volvió a desaparecer la falla. El undervolt en CPU no causa ningún problema. Solo el del GPU.

Enviado desde I9500 usando Tapatalk en Android CM11. Uso traductor OnLine para inglés.
[Galaxy S 4 i9500 Android Development] ice.modding:
Witch version? I'm on Omega and doesn't work.

ice tapatalk
[Galaxy S 4 i9500 Android Development] ameshiya:
Hii [MENTION=3805586]maxfu[/MENTION]

I flash Ur LaTesT V12 for Touchwiz KiTkaT BuT The Inverted Video Color Still ExisT

Hope U Can Take A Look To Source Code And U Fix iT

Have A Nice DaY :)
[Galaxy S 4 i9500 Android Development] Slinked:
No inverted video color on the latest v12 lite for TouchWiz
[Galaxy S 4 i9500 Android Development] yuzgen:
Using hardware decoding in MXPlayer fixes. You can also watch 1080P then. Software decoder is slow.
[Galaxy S 4 i9500 Android Development] KnifeHead:
Hi [MENTION=3805586]maxfu[/MENTION], like always, wanna report :D

boot-i9500-touchwiz-kk442-v12-lite:

- selinux still enforcing

- stweaks still no kernel support

- Most values still default samsung stock kernel.

- forgot to check if wolfson control folder exist :cyclops:

- Take a look at your script at /sbin/maxfour.sh

# Set seLinux to Permissive before everything
/sbin/busybox echo "0" /sys/fs/selinux/enforce --- [COLOR="Red"]value still 1, maybe coz you forgot ">" sign[/COLOR]
# Some optimization from Perseus
/sbin/busybox echo 2 > /sys/devices/system/cpu/sched_mc_power_savings --- [COLOR="Red"]there is no such file named "sched_mc_power_savings"[/COLOR]
# Pre-config wolfson sound control if on GT-I9500 --- [COLOR="Red"]no wolfson_control folder[/COLOR]
# STweaks support --- [COLOR="Red"]not working[/COLOR]
# Workaround on siop currents which by default is too high
/sbin/busybox echo 1200 > /sys/devices/platform/sec-battery/siop_input_limit --- [COLOR="Red"]there is no such file[/COLOR]
/sbin/busybox echo 1000 > /sys/devices/platform/sec-battery/siop_charge_limit --- [COLOR="Red"]there is no such file[/COLOR]
# Process runtime_dependency flag
/sbin/busybox echo "0 0" > /proc/sys/kernel/runtime_dependency --- [COLOR="Red"]there is no such file[/COLOR]
# Enable I/O Queue Extension
/sbin/busybox echo 1000 > /proc/sys/vm/dirty_expire_centisecs --- [COLOR="Red"]this values overwriten by this tweak:[/COLOR]
# Apply sysctl optimizations (testing)
/sbin/busybox sysctl -w vm.dirty_expire_centisecs=250

Again, maybe you should try to make this kernel permissive first, then your script will working.

And for boot-i9500-touchwiz-kk442-v12

- stweaks battery section gone, why?

- you use script in /sbin/maxfour.sh as same as lite version, is it necessary?

I think all (or mostly maybe) the tweaks is there as default in kernel. Like no need to set permissive again, set default oom, sysctl tweaks maybe, etc.

CMIIW :o
[Galaxy S 4 i9500 Android Development] invincible authority:
Guys I am not able to understand which files to flash, boot___.zip or recovery___.zip. Any help ??
[Galaxy S 4 i9500 Android Development] anderson79:
i would like to meet him, the kernel ROM can be hassam installed this and what is the recommended the ROM is base stock I await answer thanks

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 i9500 Android Development] Air-真心为你:
哥们刷了你这个软解码播放视频会出现黄色变蓝色的现象，就跟原生ROM里面的那样.

After flashed this kernel I got inverted color in mxplayer. Omega V20.
[Galaxy S 4 i9500 Android Development] invincible authority:
I tried to flash "Kernel I9500 KK V11.zip" via CWM, I got (Status 1) Installation aborted error. Please help I am currently on BAT Rom.
[Galaxy S 4 i9500 Android Development] maxsam4:
Install v12
[Galaxy S 4 i9500 Android Development] CrazyBytesVE:
In Version 12, the video recording fails, is recorded with inverted colors.

Enviado desde I9500 usando Tapatalk en Android CM11. Uso traductor OnLine para inglés.
[Galaxy S 4 i9500 Android Development] KnifeHead:
My man, for your problem, from page 1 to last page, the solution is so simple: flash touchwiz based custom rom :D

No offence ;)
[Galaxy S 4 i9500 Android Development] ice.modding:
I've the same problem v11, v12 too :/

ice tapatalk
[Galaxy S 4 i9500 Android Development] maxsam4:
I had the problem with version 11 but version 12 is working fine for me
[Galaxy S 4 i9500 Android Development] golastic:
I was also having the same lagging andslow problem with all the camera app I had on my phone and beside I was having overheating problem and my battery was really drain very fast so I decided to flash back to stock kernel.All is working good now until I see some changes in to that...
[Galaxy S 4 i9500 Android Development] xuserx0895:
So what's the differences between chn / open / aosp ? Does ' open ' option means for ' aokp ' roms or what ? And aosp is most likely for roms like pacman & nightlies eh ?

Tell me if i'm wrong . I'm asking here :D
[Galaxy S 4 i9500 Android Development] robertostorm:
chn= i9500 from china with different hardware

open=normal i9500 with touchwiz

aosp=cm, aokp, pac, carbon, pa..
[Galaxy S 4 i9500 Android Development] asad007:
Is miui supported?
[Galaxy S 4 i9500 Android Development] Droidcore:
Not supported
[Galaxy S 4 i9500 Android Development] sjadhav252:
Which version is stable with stock rom
[Galaxy S 4 i9500 Android Development] deviil:
Unable to access the tweaks provided in the Kernel

I have installed the kernel across two different ROMs. Each time the installation was successful, however I am not getting the option to access the control when I use my phone.

Dont know if I am missing any steps. I have tried the following file

Home / Kernel / MaxFour / v12 / GT-I9500 / touchwiz-kk442 - recovery--i9500-touchwiz-kk442-v12.zip: CWM/TWRP flashable zip package of single recovery image.

The ROM's where I have tested this Kernel are:

1. [ROM][4.4.2][S5 Apps] BAT ROM > V2

2. Thunder Universe 6.0

Please guide.

Thanks:confused:
[Galaxy S 4 i9500 Android Development] nagpalkapil:
[MENTION=3805586]maxfu[/MENTION] Sir I hv been using this kernel since launch and successfully used it across various Roms CM, Aokp etc. I recently tried it with pac man, though I was able to boot after installing but I do not get my phone radio signal after boot. Is there anything I can do to change in kernel so that problem is resolved or if it cannot be done by we user may I request u to pls if possible spare some time to fix it. Pac man is an awesome rom in terms of features but its still incomplete for me if I am not able to use this kernel. Best Regards

Please don't say Thanks but press Thanks Button if someone has helped you.

Sent from I9500 using Tapatalk pro.
[Galaxy S 4 i9500 Android Development] nagpalkapil:
Edit: Same is the case with official PA Rom. Pls look into Ramdisk when possible and I am sure they both would b solved together. Kernel works well on CM and Aokp based Rom but needs changes for PA based to a like official PA or pac man. Thanks in advance.
[Galaxy S 4 i9500 Android Development] KnifeHead:
Install Stweaks from Playstore
[Galaxy S 4 i9500 Android Development] deviil:
Tried it but it says that there is no kernel support. :confused:
[Galaxy S 4 i9500 Android Development] sjadhav252:
Volume issue with loudspeaker sometimes go high and sometimes go low setting with stweaks
[Galaxy S 4 i9500 Android Development] ice.modding:
I have concluded that my S4 is different from the others: P tried all possible ways:

* Installing via zip, odin, the tc, the normal, the lite. not start

* Wipe cache, dalvik cache, does not start

* Full wipe and format, not start

* Installing 0: firmware with pit - then custom rom

* Installing 0: firmware without pit - then custom rom

* Installed cyanogenmod11, pac-rom, beanstalk, AOKP, paranoidandroid, etc ...

* Activated with art

* Off with art

I only work the touchwiz version. With AOSP version i couldn´t: ( just i don´t know why. :P
[Galaxy S 4 i9500 Android Development] bolleyjara:
Camera is not working properly :(

Enviado desde mi GT-I9500 usando XDA Premium HD app

---------- Post added at 03:12 AM ---------- Previous post was at 03:08 AM ----------

Could you please provide me with a zip for flashing stock kernel? I am having the same problem with the camera. Thanks

Enviado desde mi GT-I9500 usando XDA Premium HD app
[Galaxy S 4 i9500 Android Development] robix1999:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

MaxFu

I updated the kernel Perseus alpha19.1 and problems do not exist :laugh:

any problems, restarts - only not charging the smartphone off

something with your kernels is wrong
[Galaxy S 4 i9500 Android Development] rhaspody:
has anybody fixed the video color issue on v12

---------- Post added at 08:24 PM ---------- Previous post was at 08:03 PM ----------

has anyone found a fix for video color issue in v12
[Galaxy S 4 i9500 Android Development] ice.modding:
noup
[Galaxy S 4 i9500 Android Development] maxfu:
I have a question for you guys. When does the camers lag problem came? v11 v12? I met it with v12, can't remember if it existed in v11.

For the video color, I found a hack patch from CM source, hope it will help.
[Galaxy S 4 i9500 Android Development] KnifeHead:
Didnt found that on v11 TW.

Good luck to satisfy them ;)
[Galaxy S 4 i9500 Android Development] ameshiya:
The Cam Became Lagy Since V12b1
[Galaxy S 4 i9500 Android Development] bobdoblo:
Just tried flashing 11tc.zip but said something about error updater binary installation aborted. On stock Russian KK ROM.

Tried twice, it has changed from CWM to TWRP though.

Edit, "cannot mount efs_gsm"

Got a feeling it is something to do with this messing my files up. https://play.google.com/store/apps/details?id=com.devasque.fmount

Battery Guide
[Galaxy S 4 i9500 Android Development] maxfu:
v11 zip will report error. However the kernel is already flashed before the error.

来自我的 GT-I9502 上的 Tapatalk
[Galaxy S 4 i9500 Android Development] KnifeHead:
Then your feeling is not good enaugh :p

I9500 not have efs_gsm block, only efs block, so...how come cwm/twrp can mount something that not exist? :cyclops:

And btw, kernel already flashed.
[Galaxy S 4 i9500 Android Development] bobdoblo:
Thankyou guys:):thumbup:

Edit, ok got another issue, i've set CPU to 200mhz - 2GHz but its not going any higher than stock 1.6GHz but it is going down to 200MHz.:confused:

Using SetCPU.

Edit2, Used STweaks but same issue. Also when opening STweaks a notification flashes up saying "unexpected error"

Battery Guide
[Galaxy S 4 i9500 Android Development] maxfu:
Sorry to be absent.

I am sorry to be absent for such a long times, three weeks I guess.

I've been busy rebuilding the source to find the reasons for various issues including the camera lag, aosp video issue, random reboots etc.

Now I think it is time to make a report.

1. For the camera lag, which is reported exist after v11. I found it is due to some improper use of some legacy optimizations in the post-init scripts. At the beginning of the investigation, I tried to rebuild the entire source tree with these optimization in the ramdisk, the camera kept lag. Today, after dismissing the reason of the source tree, I made change to the ramdisk. Then the miracle just came, the camera became normal. Meanwhile, the speed of the screen-on after press the power button seemed to be faster.

2. For the aosp video issue, I applied the hack patch I found from CM source, which revert the CHROMA_ORDER_CBCR to CHROMA_ORDER_CRCB. Then the video color on my touchwiz rom became abnormal, all people look like from Pandora, with blue face. This meas I found the location of the problem. I made a workaround on this, hope it can fix the video issue.

3. Random reboots, I don't know. I reverted a lot of patches, fixes, enhancements. So I really don't know.

So when I put v13b1 on the sourceforge, please refresh me with your feedback. Thanks.

EDIT #1:

I also investigated on the oc issue. There are several reports claim that the oc version does not actually use those unlocked higher frequencies. What I found is that these frequencies are used for just seconds. It is because of the temperature. The cpu got hot before it got to use these frequencies, when these frequencies are used for some little time, the cpu is hot enough to be cut and run on low frequencies. This means these oc clocks are useless, unless we use a huge radiator like the ones on PCs. Since it is useless, I think I just cut it.

EDIT #2:

I just found that I got the LPM mode back. LPM is the mode to charge the phone with the power off. After I upgraded the source code to KK source, this mode was just gone. Now thanks to CM, it is back.
[Galaxy S 4 i9500 Android Development] rgshah3:
If i want to flash this on stock touchwiz, which one should I download? Kernel, boot or recovery?
[Galaxy S 4 i9500 Android Development] Droidcore:
Boot :)
[Galaxy S 4 i9500 Android Development] nagpalkapil:
Baseband issue is still there. U do not get phone signal after flashing kernel. Ramdisk needs to be updated. Pls update is once so that we may b able to use kernel and try and report on other issues.
[Galaxy S 4 i9500 Android Development] Air-真心为你:
加油哥们儿！

来自我的 GT-I9500 上的 Tapatalk
[Galaxy S 4 i9500 Android Development] rgshah3:
This issue is for touchwiz or Aosp?
[Galaxy S 4 i9500 Android Development] maxfu:
English please. Although I am a Chinese.
[Galaxy S 4 i9500 Android Development] ameshiya:
1 : Video Color Is Fine Now

2 : Camera Is STill LaGs And I GoT Random RebooTs After Using iT

3 : Random FasT Reboots AfTer PLaYing Videos With Stock Video App And Quick Pic ....ETC

4 : The Phone Become HoT After A NormaL Use
[Galaxy S 4 i9500 Android Development] aakashdahake:
[MENTION=3805586]maxfu[/MENTION] - can u tweak governor to run the processor at high temperature for higher frequencies, is it possible ?
[Galaxy S 4 i9500 Android Development] maxfu:
I think it is possible. But why? You wanna burn you phone.
[Galaxy S 4 i9500 Android Development] aakashdahake:
I m just thinking that our phone should reach upto 1.8Ghz as that of Korean version, so any custom governor u know ?
[Galaxy S 4 i9500 Android Development] Droidcore:
Battery life effect if you oc :eek:
[Galaxy S 4 i9500 Android Development] maxfu:
Due to my test, when the cpu goes to a high frequency, the temperature goes high quickly. When the temperature reach the threshold, the frequency will be limited to a low level. It is not the kernel make the temperature go high, it the cpu hardware it self, its internal resistance, inductance electric capacity and other electrical parameters make it. You keep running on 1.8G, it will for sure go to for example 90 degree Celsius, not even 89. You want lower temperature, use lower frequency. So if you want to use high frequency for longer time, enable boost mode in STweaks, and it might bring you more rocking time, but this can not be guaranteed and the difference will be exactly only several seconds.

EDIT:

If you just want better benchmark. My tests may bring another unacceptable results: oc sometimes bring poorer scores. Why? Like I told you, the cpu will only run on top frequency for just several seconds. For most of the two or three minute testing, the cpu go on average frequency. OC will make the cpu run on low frequency for longer time, this will drag down the average frequency, and drag down the final score.
[Galaxy S 4 i9500 Android Development] iprabhsingh:
Is this compatible with touch wiz 4.4.2 ?
[Galaxy S 4 i9500 Android Development] maxfu:
I pushed up several v13 betas.

v13b1 fixed camera lag, aosp video issue, busybox was old

v13b2 upgraded busybox, reapplied some optimizations and these made the camera lag again

v13b3 fixed camera lag again

v13b4 added workqueue optimization, so far so good, camera is good sometimes

I am currently testing between b3 and b4 to investigate the camera lag.
[Galaxy S 4 i9500 Android Development] maxfu:
Please, read the OP.