yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
Normal throttle is at 90°C, boost at 100°C.

Placebo, I didn't touch charging logic yet.

I disabled ZRam for the time being because I was seeing some odd page cache failures. I'll put it back in when I sort things out.

If you screw up your undervolt settings, put the phone into recovery, run ADB from your PC, and do:

echo CONTROLSWITCH_CPU=off > /data/.perseus/override.profile

It will reset the set on boot flag on the next boot and not apply the undervolting.
[Galaxy S 4 i9500 Original Android Development] jaidev.s:
I too have the same problem, may be its because I flashed over Adam kernel with out wipe,
[Galaxy S 4 i9500 Original Android Development] johnsin:
This is a long waited Kernel to accomodate the heat problem. I UV to 1000mV for 1600mhz, ran Antutu 3 times, and the phone is at least not hot like before yet still achieved 28142 on Antutu. Thanks a lot.

Edit: No crash on Antutu but reboot upon started Camera due to too much UV.
[Galaxy S 4 i9500 Original Android Development] bala_gamer:
yes exactly :) . Is there any possibilities of undervolting the rest of the hardware(wherever possible) other than cpu?
[Galaxy S 4 i9500 Original Android Development] Xphoid:
hmm i guess the problem is my rom installs busybox to /system/xbin, and kernel does the same to /system/bin...

and if i re install busybox to /system/xbin again with Clean Mode with busybox pro apk... than only one busybox remains but S-Tweaks gives error... reboot solves everything with multiple busyboxes...

shall i remove rooting processes from the rom?! in the upcoming upgrades?
[Galaxy S 4 i9500 Original Android Development] MrPhilo:
I seem to have a lucky SoC, i'm able to undervolt -100mV on the A15 & A7's without getting a reboot so far. I have tested Antutu twice and Camera app doesn't reboot.
[Galaxy S 4 i9500 Original Android Development] skivnit:
can you give me your full uv table via pm please?( dont wanna clutter the thread) my phone got stock at 75mv uv
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
for example 1000000mV and i UV it -75000mV ... am i doing it correctly ? im confused about this numbers :( -75mV ? and here in Stweaks the numbers are in million/thousands
[Galaxy S 4 i9500 Original Android Development] omvir:
You're doing it right. :)

Sent from my GT-I9500
[Galaxy S 4 i9500 Original Android Development] e30power:
Very good kernel :) i like it much,

I love to overclock and undervolt my device thats the stuff i waiting for :)

thx
[Galaxy S 4 i9500 Original Android Development] so_ony:
[MENTION=4167023]AndreiLux[/MENTION]

Very nice Kernel mate ! You did a very good job!

i am on Omega V4.0 Rom and with your new release of your kernel Perseus Alpha 1.0 and undervolting each step by -100mV the phone is running smooth and stable ! Camera Tests and Benchmark tests succeeded without any reboot!
[Galaxy S 4 i9500 Original Android Development] Slimer777:
I took some measurements of the S4 screen today just to see what we need to tweak when the parameters are available. I took two sets of measurements at two different brightness just for reference; 1 set @ 50% brightness and the other set @80% brightness. At 50% brightness my screen measures 115 cd/m2 , at 80% it is at 180 cd/m2 and 100% at 265 cd/m2.

All done in 'Movie' mode because that is as close as we get for now!:good:

Chromaticity @ 50% brightness

Chromaticity @ 80% brightness

Gamma @ 50% brightness

Gamma @ 80% brightness

Greyscale @ 50% brightness

Greyscale @ 80% brightness

The good thing about this display is that it seems quite linear at different brightness levels which means we can calibrate at a fixed brightness and it can cover say +/- 15% and won't be too far off.

The chromaticity charts remind me of the N2 and S3 that I calibrated earlier, same kind of distribution and tint but seems much nicer to be calibrated. As you can see that the secondaries are not oversaturated, just tinted. I suspect we can almost get it right just by calibrating the primaries! I did not go inside the gamut yet, will do when controls are available.

Gamma is way better than expected. I knew it is a little on the high side and my guess was somewhere in the 2.4 to 2.45 area but what do I know. It settles very nicely at an average of 2.3 The only thing that we need to tweakon this is to lower gamma below 10% brightness and we are pretty much done.

We may need to do the final calibration with custom APL patterns but I doubt if that is needed ..... we will see.

I hope this is development related since I don't see any other kernel that is capable of correcting the above ...... or I will have to move it to the General section.
[Galaxy S 4 i9500 Original Android Development] mtimmy:
I have a 9502 which is the duo some version of the 9500

I like your kernel alot, i been using it on my note 2 for a long time

do you think your current release will work with the 9502 ?
[Galaxy S 4 i9500 Original Android Development] REVERSiN:
NO!! if you flash this you might brick its only for the exynos version you can check the I9505 form its full of Kernel releases...
[Galaxy S 4 i9500 Original Android Development] sorg:
Hi, Andrei

I've posted the fix for touchscreen in issues of your repository.

Thanks for your work, by the way!
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
Screen controls are now live. Same basics as on the S3 and Note 2, minus some minor differences (removed some things).

I eye-balled a sort-of calibration for the master profile from the get-go by doing a 1:1 comparison with my S3. It should provide a better starting point than the Samsung presets.

I also didn't include the gamma curve controls in STweaks, I guess you can manually edit the lower bound settings, can't you? (/sys/class/misc/mdnie/hook_control/cc_xxx)

The rest I leave to you.

PS: I can add brightness up to 400cd, but I have to see how to do that because that's a special backlight mode.

You're particualarly keen in reading are you? The 9502 has nothing in common with the 9505. Nevertheless [MENTION=318541]mtimmy[/MENTION], no it won't work. I might add support for it in the future, but not now.

Your contribution is appreciated, I wish more of this would happen on XDA and in general. I trust the patch works correctly, I didn't see any regression on my phone so it should be fine.
[Galaxy S 4 i9500 Original Android Development] mw86:
Hi Andrei reporting and sorry if any previous posts of mine were off topic and cause for thread close.

Kernel running awesome using stweaks and trickster for gkv adjustments etc.

I run into the above noted issue to. I set boost mode to 1 to enable and its working in quadrant but when i run antutu the max stays 1.4 and i was low 70c for a few secs in a row it started at 1.4 but confirmed in quadrant it throttled at a higher temp the 2nd 100c range as designed up from the 90c as directed.

Is there a call to some file that antutu is ran and is locking to 1.4 despite boost mode setting and before hitting even the stock 90c? I cannot get it to hit above while under that temp for any amount of time.

Amazing work Andrei since this is the first Ive seen at this level I must post for you my bench results even if numbers matter less.

1.9ghz Quadrant

You are unbelievable Andrei this is magnificent :) my highest before was 14,100+~

Thank you for developing for GT-i9500

A stock max comparison
[Galaxy S 4 i9500 Original Android Development] Xphoid:
And i wished somebody somehow give me an answer...
[Galaxy S 4 i9500 Original Android Development] zorbakun:
Hi Andrei,

I Installed your new kernel Perseus alpha2 and i immediately lost sound on my phone, I tried to reboot, power off and on and even did a full wipe but still didn't work. I'm on Omega 4.0 and thanks a lot for your work and efforts :)
[Galaxy S 4 i9500 Original Android Development] so_ony:
Same on me but i have the Solution install kernel reboot then reboot into recovery again and fix permissions reboot done

Gesendet von meinem GT-I9500 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] Ogy77:
You must wipe dalvik cache and cache then flash new kernel.
[Galaxy S 4 i9500 Original Android Development] zorbakun:
But i did a full wipe of rom, install Rom again then flash kernel and I also tried to wipe cache but still didnt work
[Galaxy S 4 i9500 Original Android Development] so_ony:
I already mentioned just fixing permissions. .

Gesendet von meinem GT-I9500 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] zorbakun:
ok that worked :good: thanks
[Galaxy S 4 i9500 Original Android Development] so_ony:
Andrei

I dont know if it is kernel relating but i noticed when i plugged in my phone for charging and handling with the phone the charger us pieping making some noice when i am scrolling in browser or just swipe over the display.dont know if it is kernel / voltage relating . Just wanted to tell you :)

Gesendet von meinem GT-I9500 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] so_ony:
And for some reason i lose my sound if i reboot my phone. Fixing permissions solves it always but dunno why losing sound is happening

Gesendet von meinem GT-I9500 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] zoule HCo:
Yes it happen to me once after flash the new update. But nothing worries.. just shut down your phone and Switch ON it should be back to normal. Don't know what it cause.

Just realize with this kernel i have more free ram previously it take out around 1.1GB after clearing the memory, but with the new update after clearing the memory, usage only around 874MB.. nice update..
[Galaxy S 4 i9500 Original Android Development] hamdogg:
Don't think so. With a new boot of a custom ROM its normal to have 1.1Gb free of ram. After services have had a chance to sit in the background you'll have about 800-900mb free. (after swiping away all applications)

But remember that this isn't windows. Linux is made to use available RAM to keep apps and services in the background. So clearing your cache regularly isn't making the best of how your device is supposed to work.
[Galaxy S 4 i9500 Original Android Development] cmd512:
Confirmed: The weird "non-responsive touchscreen upon boot but goes away after screen off-on cycle" bug is officially gone in alpha2. I flashed directly from alpha1 to alpha2 as well, no sound issues.
[Galaxy S 4 i9500 Original Android Development] zoule HCo:
yes man i know what you mean.. Linux and widows are different platform.. I've monitor this since day one and the previous kernel unable clear the memory at that point.. (not so sure why either its only happen to me or bcoz i've plenty of app running background) as we all know linux manage its memory differently.. Just do it for benchmark purpose.. nothing more..
[Galaxy S 4 i9500 Original Android Development] ivanchin99:
-100mV UV across the board, so far so good. 27524 on my latest Antutu. Thanks for the great kernel.
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
AndreiLux which rom are using ? has better compatibility with some?

i confirm here no bug in lockscreen!
[Galaxy S 4 i9500 Original Android Development] bala_gamer:
yes, i can confirm the same
[Galaxy S 4 i9500 Original Android Development] sachinaik:
With alpha1 i faced random reboots when the phone is in switched off state with stock voltages.... It happened again when phone is in switched on state..

Went back to Alpha0...

Gonna try alpha2 now...
[Galaxy S 4 i9500 Original Android Development] REVERSiN:
Sorry was written in a hurry i saw he wrote the exynos octa model but dual sim version i meant 2 but endedup writting 5 XD

thanks anyway Andrie...

still when the device has a different model its not the same software eventually it won't work not every samsung is similar to the other some of them have OCable chips and others can't handle it
[Galaxy S 4 i9500 Original Android Development] mw86:
Same on Doc's rom, it is allowing me to unlock right at boot also instead of needing to cycle screen on and off which I had also observed on last alpha.
[Galaxy S 4 i9500 Original Android Development] Slimer777:
I just flashed alpha2 without permission fix or wiping cache and it works just fine.:good:

Is the 'Takeover point' new in the S4? They probably implemented it just that the low-end 4% blacks don't get crushed as much because as you can see from the measurement, the gamma at the low 5% is already crushed out of the factory! If getting the full gamma control is too much, can you just bring back the low end gamma control from 0 to 25 instead of 0-255? People should already noticed that all the low-end details are missing because they are crushed to BLACK.

Played with the controls a bit and it seems to be working. Would you prefer to start a calibration from 'RAW' or stack on top of your eyeballed values which it currently has? Awaits your reply before going for a full calibration.

This display has a lot of potential, I know a couple guys who bought S4 simply because they want to experience what full HD OLED looks like!

* as a side note, I don't know if anybody has experienced this but while tweaking the controls somehow the display color changed and seems to have a white haze over it without applying any settings. Resetting within STweaks did not do it but after rebooting the colors come back to normal.

I very much appreciate your work.
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
a noob question.. any how to fix the smearing issue using alpha2 ?
[Galaxy S 4 i9500 Original Android Development] Slimer777:
It doesn't do it, just yet. Not sure if it is a kernal or driver level thing. Andrei?
[Galaxy S 4 i9500 Original Android Development] Nasty_z:
It'll be fixed in the next update by Samsung, it is fixed in the new firmware for I9505 and we'll be getting that update soon :)
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
i really hope this awesome kernel can fix it.. the new update can edit RGB color thingy but im not an expert about it so i just ask here.. anyone ?
[Galaxy S 4 i9500 Original Android Development] jlevy73:
I got the same white haze you mentioned but rebooting did the trick.
[Galaxy S 4 i9500 Original Android Development] raw235:
Here too! thank you. i flashed from adam 1.2 to alpha0 to adam 1.3.2 to alpha1 to adam 1.3.2 to alpha2, got the sound but only once, but cant remember which kernel it was. alpha2 working nice so far.

also did -100mV for all frequencies, no problems do far. i can allow my prone to go up to 1800Mhz, Antutu benchmark gives 28158 score. 1900/2000Mhz just instant freezes. are those frequencies working for someone?

Thank you for the kernel, keep it up.
[Galaxy S 4 i9500 Original Android Development] skivnit:
Can you shoot up your uv table via PM ? Thnx. Anyone tested battery life yet? I kept flashing and tweaking so a lot of rebooting
[Galaxy S 4 i9500 Original Android Development] GSeeker:
Battery life is fantastic for me, 8.5 hours idle only 3% drop.:good:

P.S. I UV -75mV.
[Galaxy S 4 i9500 Original Android Development] zanzida:
Finally!

Good works Andrei, been using your kernels since S3.

Installing now.
[Galaxy S 4 i9500 Original Android Development] avetny:
Good to see you here :good:

Alpha0

-Scrolling/windows animation very smooth. No interruption.
[Galaxy S 4 i9500 Original Android Development] bala_gamer:
Just ran a few benchies with this kernel, great results so far, can wait to see more features

《posted from octa cored s4》
[Galaxy S 4 i9500 Original Android Development] wanam:
Nice to see you here Andrei.

Thanks again for the exFAT support.
[Galaxy S 4 i9500 Original Android Development] skivnit:
Not bad
[Galaxy S 4 i9500 Original Android Development] rexisrex:
just flash this from wanam rom?

Guys iam on wanam lite 1.0. Can I just go to recovery and flash the kernel? Andre post says rootable kernal.so just checking if I should root again after flashing kernal or just flashing the cwm.zip is good? Kindly help me as iam itching to flash this baby...

thanks a lot andre for your kernel...:fingers-crossed:
[Galaxy S 4 i9500 Original Android Development] skivnit:
Just flash the kernel zip in Cwm
[Galaxy S 4 i9500 Original Android Development] rexisrex:
Thanks mate. Had downloaded and was waiting...thanks...here I go with flashing and put in my 64gig...
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
People, posting benchmarks is useless, I didn't yet change a single thing which would affect performance.
[Galaxy S 4 i9500 Original Android Development] rexisrex:
but you know it is awesome...

Andrei...am sure it is placebo...if you say so...no one better to know abt your kernal... having said which...everything seems snappier..

animations are smooth...and webpage loads feels faster too...All this in less than 5 mins of me flashing....but you know what. ..placebo or not, one thing for sure has got a lot better...wanam, you entering the s4 scene...exciting times ahead...
[Galaxy S 4 i9500 Original Android Development] skivnit:
On stock first day I got 28k now 29k7 something had changed somehow. Anyway can't wait where you take us with the kernel
[Galaxy S 4 i9500 Original Android Development] cabloomi:
YAY.more s4 kernels. NOW all we need is a aosp/cyangenmod kernel

this is stable for daily use right, Welcome to the s4 =D
[Galaxy S 4 i9500 Original Android Development] ama3654:
My camera is broken, might be something i installed, can someone verify. And i don't think its placebo, twitter and web browser is smoother. Thanks Andrei
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
this is a dificult choise, adam or perseus, but perseus have greater scores in benchs
[Galaxy S 4 i9500 Original Android Development] razer1224:
Hey Andrei,

Actually the Exynos Version can have Upto 96KHz sampling rate and 24Bit PCM if the Kernel supports it

Wolfson DAC Is More powerful

《Razer LTS Phone》
[Galaxy S 4 i9500 Original Android Development] avetny:
Oh so that's why it's so smooth.
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
maybe no change, but gives me better scores, in antutu(best 30200), quadrant and 3d mark, already test adam kernel 1.1 and stock
[Galaxy S 4 i9500 Original Android Development] avetny:
Camera is good here
[Galaxy S 4 i9500 Original Android Development] zizon65:
Hi wanam,

Thanks for a all your wotrk mate, but just one question to ask: i rooted my SG4 with adam's kernel, but as I need the Exfat support, can I flash andrei's kernel over adam's one? I am running stock rom UBUAMDK on a rooted phone.

Best regards.
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
adam kernel 1.1 support exfat, but you can do that, my too is UBUAMDK and testing both kernels here
[Galaxy S 4 i9500 Original Android Development] skivnit:
So what's the lowest on the big and small cores? So I can go up from there. Last time I uv 100 phone hung
[Galaxy S 4 i9500 Original Android Development] Slimer777:
is that right? where do we get a screen shot of that?

---------- Post added at 03:27 PM ---------- Previous post was at 03:26 PM ----------

I am glad that I am not the only one! :p
[Galaxy S 4 i9500 Original Android Development] GSeeker:
ALL cores -75mV, -100mV hung for me too.
[Galaxy S 4 i9500 Original Android Development] skivnit:
Thanks. Now does the kernel root the latest update? Anyone tried?
[Galaxy S 4 i9500 Original Android Development] SaNTi285:
Hi guys

Will the kernel work with the new XXUBMEA?
[Galaxy S 4 i9500 Original Android Development] jlevy73:
Has not been added yet. Flash CF-auto root then this kernel.

---------- Post added at 10:34 AM ---------- Previous post was at 10:33 AM ----------

Yes, works fine.
[Galaxy S 4 i9500 Original Android Development] venorme:
You have to try it yourself .
[Galaxy S 4 i9500 Original Android Development] Xphoid:
Are you sure, cause it installs busybox to /system/bin? that's what i try to learn but nobody answered...
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
i just observe using alpha2 battery goes down faster than alpha0.1

is it just me or anyone having the same observation ?
[Galaxy S 4 i9500 Original Android Development] jlevy73:
Yes, obtained root no problem root explorer obtains root. Flashed this kernel and everything works ok thus far.
[Galaxy S 4 i9500 Original Android Development] sorg:
Regarding spontaneous reboots while in sleep:

Probably i've found the problem. I've posted probable fix in issues of repository.
[Galaxy S 4 i9500 Original Android Development] Al Gore:
How was it fixed there? I'd rather keep perfect black with unnoticeable smearing than have pixels always turned on.

Now a question about the kernel - I'm using Adam kernel atm, can I just flash this one? Won't their settings/stweaks/other things clash? Any suggestions?

Also undervolting should improve battery life right?
[Galaxy S 4 i9500 Original Android Development] LOSTLOGIC89:
I get random reboots with the new update

A fix please.
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
The gamma crush is something that's happening on the AMOLED controller itself. If Samsung changes some parameters in the MEA sources at least I'll know which ones to poke around with so I can edit them.

Here's a kernel with the gamma controls (ignore the mis-labeled titles). I doubt you'll be able to do anything with it though. It's not the same as on the S3/N2, changing the bottom gammas doesn't even have any effect because it's getting blocked on another hardware layer.

There's no point to start from raw, so just use the base values on the master profile right now. It should help you anyway get near good start values. I'll deduct the coordinates based on that.
[Galaxy S 4 i9500 Original Android Development] mtimmy:
9502 is a exynos cpu
[Galaxy S 4 i9500 Original Android Development] Slimer777:
Thanks, Andrei.

I will see what I do in a few hours. :D
[Galaxy S 4 i9500 Original Android Development] Slimer777:
[MENTION=346281]Andrei[/MENTION],

Just finished a few tests on the gamma and you are correct that there are more layers at work than one would think.

1. Your Gamma control WORKS at the lowest level but it works kind of like a trigger. You will have to raise it to a certain level for it to kick-in but the gamma level down at the bottom is obviously not linear and maybe that is why Samsung figures they might as well crush it. Still, we are now able to see all shadow details down there.

2. Auto Brightness seems to have dynamic gamma! At a very low light level, AutoBrightness will lower the bottom end gamma by itself where manual brightness does not do.

3. There is also a point at brightness which seems to kick-in on the lower end gamma and are able to reveal shadow details in manual brightness mode.

To sum it up, I would adjust gamma at the kick-in level of brightness such that no matter which mode you use to adjust brightness you will still be able to see a full detailed image. Before these controls are available, the bottom 1.5% (darkest) of all images are crushed to black! :good:

More to come later.
[Galaxy S 4 i9500 Original Android Development] GSeeker:
Camera failed to start after flashing alpha 2 over the latest XXUBMEA firmware.:crying:
[Galaxy S 4 i9500 Original Android Development] bala_gamer:
use wake lock detector or some other apps and corner the culprit app

---------- Post added at 05:36 PM ---------- Previous post was at 05:35 PM ----------

while updating to mbea did your camera firmware auto upgraded to the newer one?
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
while using the alpha0.1 got very good battery life 8hrs+ deep sleep 2-3% battery but now 4-6% battery... and while using it i.e SMS .. 30-40mins 2-4% battery on alpha2 but in alpha0.1 it is just 1-2% battery thats my observation
[Galaxy S 4 i9500 Original Android Development] GSeeker:
No, no update showed up.
[Galaxy S 4 i9500 Original Android Development] Faye Reagan:
I've got random restart when set maximum clock at 2Ghz sir.

How do i make a log to show it to you sir?