yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Exynos)] duki994:
You're wrong about short/long benchmark and heat.

Inside CPU core, temps jump rapidly. Up to 30°C per second. Read some advanced articles on inside core temps.

Exynos 5430 has one of the best thermal designs in chip itself. On my fathers old Galaxy Alpha it could run at max speed for at least several minutes with occasional throttling (very slightly, maybe 100mhz less) down. I have never seen that a SoC can perform that good with that less heating.

Exynos 5422 on the other hands is much more like Snapdragon 801 in heating department. Withing 5 seconds, heavy throttling kicks in. Plus it has lower thresholds tha Exynos 5430.

MX4 Pro uses higher clocked variant of 5430 plus higher clock for Mali T628MP6 which is done also in 20nm tech (which means about 20% faster than our 28nm version on standard clock). And MX4 Pro doesn't have Samsung's DVFS implemented in ROM which contributes to much higher performance.

And I know a lot about Exynos 5430 because i developed a kernel (here in XDA) for G850F Galaxy Alpha.

And you're wrong about only differences being memory speeds and higher vlock speeds.

ISP and other DSPs are completely different with much higher clock speeds and better HW video and image decoders. Look at my git in G850F kernel source and you'll see.

Don't trust those websites to tell you true data. They are paid by companies to fabricate benchmark scores.

When I started developing, and saw what was in code, I stopped reading and believing almost every site that compares phones.
[Galaxy S 5 Android Development (Exynos)] squatch04:
I'm having an issue with high quality YouTube video playback with this kernel.

The video freezes but audio playback continues.

I think it's related to the HMP tuning, too much dependecy on the A7 cores maybe?

Why I'm saying that is because if i turn on HMP little packing (which uses the A15s more compared to default settings) the issue goes away.

Installed 1.3 and of course it no longer has little packing option.

Can anyone else verify this issue?

EDIT: I'm using the YouTube app by the way.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
How to increase main speaker volume?
[Galaxy S 5 Android Development (Exynos)] duki994:
Well...

Never happend to me or my friends device. And we use YT a lot.

That issue is certainly not CPU related. And it's for sure not kernel related. For audio/video, YT app uses HW based decoders. I don't think it can play anything that doesn't have OMX encoder/decoder (userspace binaries).

I suggest you to clear cache and data of YT app, and wipe cache for entire ROM in recovery. Reboot and try again. Also report this to ROM dev that makes custom ROM you use, if you use custom ROM.

If you want, go to HMP tab and lower HMP up threshold to 512 and HMP down threshold to 192 or 128. That'll boost your A15 core usage by some 30% - 50%, but it will burn more battery.

HMP Little packing surely drained more battery than it should have. It is NVIDIA's experimental load balancing algorithm.

But this problem shouldn't be fixed by boosting kernel to use more A15 cores. It's just quick fix for a bigger ROM lib problem.
[Galaxy S 5 Android Development (Exynos)] duki994:
It's obvious really. Why do you ask such obvious questions? :eek:

Go to Synapse->Audio and find "Main speaker gain". Change and eureka. :)
[Galaxy S 5 Android Development (Exynos)] mrjoy:
I already asked this question before you released the 1.3 version with main speaker gain ability ;)
[Galaxy S 5 Android Development (Exynos)] duki994:
Ahh... sorry :)
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Aahhh not at all...its ok sir.
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
for more battery save ?how to set hmp ?
[Galaxy S 5 Android Development (Exynos)] duki994:
Try and see :)
[Galaxy S 5 Android Development (Exynos)] squatch04:
Yeah that definitely helped, slight hickups in between but no longer freezing.

I forgot i was using OGYoutTube app (modded version) so it must be an issue with the app.

Thanks for the help.
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
duki i question of you abot to set hmp for more battery save?
[Galaxy S 5 Android Development (Exynos)] mrjoy:
I have set the led lights at full level but it doesn't bright up the lights, its still same.
[Galaxy S 5 Android Development (Exynos)] duki994:
It's for control for LED notification light, not for touch key LED.

It works for me, but you won't see big difference at day. At night you will see. When you set it brighter you'll see :)
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Main speaker gain works flawlessly and no distortion till 8 fold increase, beyond that I don't think we shud challenge the speaker ;)
[Galaxy S 5 Android Development (Exynos)] duki994:
And I answered you to try and see :eek:

I have no idea what'll work for you. Each user is different. Each phone is different.

If this kernel drains your battery, check ROM. If it's not ROM, change battery.

HMP down threshold 512

HMP up threshold 750

^^^ These settings will make your phone more battery saving if you use it LIGHTLY. If not used LIGHTLY it'll drain much much more.

Play with those settings and see what works for you.

Set HMP thresholds however you want. It's your responsibility to find good settings that match your usage pattern and your device
[Galaxy S 5 Android Development (Exynos)] rhlgamer:
Will this kernel works in aj 1.0 mm rom and please guide me about flashing this kernel and after flashing which su i will use 2.76 or 2.74 ?
[Galaxy S 5 Android Development (Exynos)] mirawong:
[MENTION=6160763]rhlgamer[/MENTION]

1 .you need twrp recovery installed

2. boot into recovery and flash duki994 kernel

3. recommend to wipe dalvik/cache

4. reboot the phone n taraa....

[MENTION=3441913]duki994[/MENTION]

i've flashed your new kernel v1.3, the performance was good and smooth when play little gaming.

i forgot to mention, i used stok rom Kazakhstan cpe6.

must wait and see the battery performance.

thanks duki994... ?
[Galaxy S 5 Android Development (Exynos)] rhlgamer:
Which su i will flash again to get root permision is it 2.74 or 2.76
[Galaxy S 5 Android Development (Exynos)] mirawong:
Flash Su 2.76 and you will get root, but remember i use stock rom (Kazakhstan).
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Yes i talk about led notification but not much effect at night too. Anyway thanx
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
thanks
[Galaxy S 5 Android Development (Exynos)] duki994:
That's LED control chip maximum. I can't give more power than it can output :)
[Galaxy S 5 Android Development (Exynos)] denzildp:
loving the support the g900h is getting recently:) keep up the good work guys. just a random thought.... is there any way to control bluetooth volume the way this kernel allows earpiece, speaker and earphones?
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Can we have hotplug in this kernel?
[Galaxy S 5 Android Development (Exynos)] duki994:
Not possible. It's not like classical hotplugs on quad-core devices.

On 4+ core devices, HMP controls clusters while hotplug just turns on/off cores based on load parameter passed by Sched/HMP and IPA.

Simply said, hotplug just turns on/off cores based on sched load command. Nothing else. No fancy stuff like earlier. Simple algorithm with some small Samsung changes.

Conclusion:

No custom HP's
[Galaxy S 5 Android Development (Exynos)] aminmigo88:
what custom recovery should i install plz
[Galaxy S 5 Android Development (Exynos)] duki994:
Any.

I suggest TWRP 3.0.0.0 from [MENTION=3654774]Fevax[/MENTION]
[Galaxy S 5 Android Development (Exynos)] rhlgamer:
Installled it. working flawlessly . I can see the difference before and after that .battery conspumption insanely low . Doesnt make any changes in the synapse config.

But i have a ques ......

Why after first reboot my sd card unmounted autmatically and why it is not mounted again

But it automatically mounted again when i restart the device any some com .process stopped

But all error automatically fixed after second boot
[Galaxy S 5 Android Development (Exynos)] duki994:
I don't know. But due to filesystem updates, maybe your sdcard was corrupt or it needed to flush unflushed caches.
[Galaxy S 5 Android Development (Exynos)] ponkz:
What ROM are u using sir?
[Galaxy S 5 Android Development (Exynos)] duki994:
Stock CPE6.

Planning on move to Aj's S7E

Sorry [MENTION=4489833]ponkz[/MENTION]

My XDA app bugged. It showed you quoted me :D
[Galaxy S 5 Android Development (Exynos)] rhlgamer:
I m using aj 1.0 mm rom its null with some s7 edge apps because i want to use debloated rom which consume less power i think 70 to 69 in 30 mins its too good in terms of evrything i mean performace wise and battery consuption wise tooooo

Thanks duki for this kernel
[Galaxy S 5 Android Development (Exynos)] sandeepsivia:
best kernel ever

great battery life
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Just simple question. Could you please edit your main title to mention new version & date on your main title ? Because sometime we check the all threads at once for new updates according to mentioned date & version info,with this it saves our time to find new stuff roms, kernel etc.:) just asking.
[Galaxy S 5 Android Development (Exynos)] ponkz:
If u move to AJ, then me too :laugh:
[Galaxy S 5 Android Development (Exynos)] duki994:
Good idea.

Did it now :)
[Galaxy S 5 Android Development (Exynos)] ponkz:
Hello sir, what rom did u use?
[Galaxy S 5 Android Development (Exynos)] rohit9757:
I am on Stock CPE6. Wifi doesnt seem to remember the password and i have to insert password each time.. I tried changing value of ro.securestorage=true to false.. still the problem persists.. and wifi seems to start a little late by 20-30 secs .. is it just me?:confused:

Edit:: problem solved.. The value didn't get changed :D
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Thank u duki you are great. :o
[Galaxy S 5 Android Development (Exynos)] duki994:
I'll try to add automatic replace for that line.

Dorimanx's busybox 1.26.0 has newer version of awesome sed applet.

sed == stream editor

I could try to pull build.prop and do inplace replacement for securestorage prop.

Though I'll think about it as it's not smart move and it could corrupt build.prop for many ROMs.
[Galaxy S 5 Android Development (Exynos)] ak_t_d:
hi, thanks for supporting our devs, going to install your kernel which version works without lags and can increase battery life? And also as I know if I change ro.securestorage=true to false secret mod will not work anymore, how I can flash the kernel safe passwords and not loose my secret mod? thanks
[Galaxy S 5 Android Development (Exynos)] duki994:
You can't. That depends on stock kernel only. Once you flash custom one, goodbye securestoragesupport.
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] sir may i know ur se linux setting? Enforcing or permissive?

Thanks :)
[Galaxy S 5 Android Development (Exynos)] duki994:
Enforcing :)

But you can use permissive. No performance gains/penalties.
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] dear op please check outgoing calls with headset..

Its fine with incoming calls

Thanks :)
[Galaxy S 5 Android Development (Exynos)] duki994:
What's wrong?
[Galaxy S 5 Android Development (Exynos)] ponkz:
Cannot hear anything on outgoing calls.. but with headset off its fine

And my headset fine too with stock or other kernel
[Galaxy S 5 Android Development (Exynos)] duki994:
For now, just enable Main headphone equalizer in Synapse. It'll work.

I think I know where the bug is. I ported some of mixing stuff back from old sound control because I wanted to implement speaker EQ control. I think it clashes with HP EQ control. Our hardware is not so advanced as S6 one. Might need to rethink code or two :)
[Galaxy S 5 Android Development (Exynos)] rohit9757:
[MENTION=560765]duki[/MENTION] amazing battery life on stock ... tks for the kernel man. :good::good:
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.4

Changelog:

* Workaround headset outbound call BUG (thanks to [MENTION=4489833]ponkz[/MENTION] for reporting this nasty bug)

* Clean up some code and correct several descriptions in Synapse.

NOTE to all:

Please read descriptions in Synapse before asking what some control does. Everything is concisely explained in app.

Downloads in downloads folder (check OP).
[Galaxy S 5 Android Development (Exynos)] sandeepsivia:
Note 7 Apps Based MM OS by yash92duster
[Galaxy S 5 Android Development (Exynos)] somadsul:
That is why I am not released my next Kernel version...

You are better then me in kernel build. [emoji4]
[Galaxy S 5 Android Development (Exynos)] duki994:
I'm a guitarist. A musician.

I don't look at anything as better or worse. Just more choices :)

Release your next version. It just gives people more choices. Some like simpler, with less choices and more stability. Some are power users like me :)

It's good to have all bases covered.

I couldn't implement support for systemless root, so I changed SuperSU (modified original Chainfire's script) to install in system mode. It installs correctly, but Samsung made framework workaround to hide Chainfire's app if installed in system partition. It's installed, but hidden and can't be forced to show. That's why users must install supersu app manually each time they install my kernel.

Did you implement systemless root?
[Galaxy S 5 Android Development (Exynos)] somadsul:
I am a Spine surgeon so not getting time to work always with development,

As you know for compile its giving lot's of errors, and for resolving 1 error it took 1 or 2 days for me, that I won't afford, I have to concentrate on my patients not with this [emoji2]

Will work on my kernel when getting time, but your work is great...

Since you released your Kernel i haven't worked on my kernel so I don't know about systemless root.
[Galaxy S 5 Android Development (Exynos)] duki994:
Of course. Health, people and real life always take priority.

I'm actually a student primarily, but I play with a band here :)

I'm glad you enjoy my work.
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] sir got another one.. now wifi is hard to connect.. same wifi and same password :)

-edit

Maybe this usefull.. i had to reboot if i want to connect to my home wifi, using stock rom btw
[Galaxy S 5 Android Development (Exynos)] dragonlofd:
I cant download. can you provide alternate link?
[Galaxy S 5 Android Development (Exynos)] ASHU3003:
My s5 didnt boot after flash 1.4 keep reboot into recovery
[Galaxy S 5 Android Development (Exynos)] duki994:
Sounds like bad upload. I'll reupload.

30+ devices have everything working. WiFi no issues with me.

Post dmesg logs.

ASHU3003 post last_kmsg when you boot from working kernel.

EDIT:

Uploaded zip is good.

For WiFi problems please restart your router. Inly Cisco and several other expensive companies hive routers that don't give wifi problems.

Since 1.1 no WiFi real code changes. So no new bugs
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Kindly edit 1.3 to 1.4. Thanx for the new update, although little update. :)
[Galaxy S 5 Android Development (Exynos)] duki994:
In coming 2 weeks I'll see to upgrade and mod interactive governor + Samsung dm_hotplug to work better. We already have S6 interactive + one pretty good patch.

1.4 update was actually critical for sound. Adapted better to G900H with, I hope, no more bugs.
[Galaxy S 5 Android Development (Exynos)] dvolutions:
Is it possible to add slide2wake or tap2wake in this project?
[Galaxy S 5 Android Development (Exynos)] ponkz:
We really need ur help to dev, thats all i can say sir ????
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Ahh great duki great. Glad to read upcoming work, thats why we all like your kernel. Thanx so much for focusing it to make this kernel much more powerful & better.:good:
[Galaxy S 5 Android Development (Exynos)] mswapnil31@gmail.com:
Is anyone using this kernel with aj's v1.9???

If yes,how's it goin??
[Galaxy S 5 Android Development (Exynos)] mswapnil31@gmail.com:
OK so i flashed the kernel but how do i tweak it..theres no app to do that
[Galaxy S 5 Android Development (Exynos)] duki994:
If you read OP you would have seen where's the configuration app.
[Galaxy S 5 Android Development (Exynos)] duki994:
No. I explained why either in this thread or LP thread. See explanation why wake gestures won't work. It's hardware related.

I'm currently not focusing on making this kernel ultra mega giga updated and backport code from 4.2.x tree. Just focused on speed, features and battery health.

If older code does job better, then I'll use older code. If newer code does job better, then I'll backport and merge newer code while making it compatible with Exynos native code.

Simple as that.

For now, governor tweaking and dm_hotplug optimizing will take precedence.

I plan on working as freelancer and opening my company next year (learning AngularJS 2 now :) ), so I won't focus on Android development too much. But one (maybe two) devices I can support with a little less update release cycle.
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
It's going amazing :) cheers [MENTION=3441913]duki994[/MENTION]
[Galaxy S 5 Android Development (Exynos)] heisenberg17:
Hi, I want to try this kernel but download is not working. I go to the download page on box.com but when I click on "Download" button, nothing happens :confused:
[Galaxy S 5 Android Development (Exynos)] dranubhavnaik:
same here:(
[Galaxy S 5 Android Development (Exynos)] twint14:
anyone can you upload stock kernel

btw headphones volume control is not working

and private mod stopped working

and drains battery a lot
[Galaxy S 5 Android Development (Exynos)] duki994:
This might happen due to some Box's restriction.

I'll provide mirror when I can.

It works. In code it's correct register hook. Check your ROM. If it's not stock CPE6 or CPE6 based then that's why it doesn't work.

It's ROM bug for sure.

Clear cache. And update Xposed if you use it.
[Galaxy S 5 Android Development (Exynos)] twint14:
ok thnx for the reply, can you upload stock kernel
[Galaxy S 5 Android Development (Exynos)] duki994:
Not now. In two days I can. When I extract full stock.

If you don't use stock CPE6 then reflash your custom ROM as ROM dev may have modified ramdisk to include some important boot scripts.
[Galaxy S 5 Android Development (Exynos)] aminmigo88:
synapse problem

i installed your kernel v 1.4 and now when i open synapse a message apperars says : "No UCI support detected"...

---------- Post added at 11:23 AM ---------- Previous post was at 11:16 AM ----------

try to download the entire folder
[Galaxy S 5 Android Development (Exynos)] duki994:
That happens sometimes with Synapse due to config and system changes.

Clear Synapse application data and then open app.

I got my developer request at androidfilehost very fast. I'll share links in next hour or so, and it'll be new main download site, while Box will be mirror.
[Galaxy S 5 Android Development (Exynos)] duki994:
New downloads hosting

New downloads hosting at:

https://www.androidfilehost.com/?w=files&flid=91231

Box will be used as a downloads mirror. Main mirror is now on androidfilehost :)

Plus I've uploaded stock CPE6 flashable kernel

OP has been updated.
[Galaxy S 5 Android Development (Exynos)] heisenberg17:
Thanks. I'm using v1.4 with Aj's v1.7 rom and is good so far. Thank you for your work
[Galaxy S 5 Android Development (Exynos)] ASHU3003:
I dont know why Wifi password forget automatically
[Galaxy S 5 Android Development (Exynos)] duki994:
I have no idea. Probably SELinux or permissions error, so your system can't write to wifi passwords file.

Clear Dalvik/ART cache, reinstall Xposed if you use it, reinstall SuperSU, reboot. Should fix that error.
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.5

Changelog:

* Interactive governor optimizations and tunings from other Exynos kernels and other devs + me (mostly from S6 kernels)

* Interactive governor screen off power save

* MM updates

* MemInfo updated so Android OS can have better memory stats and thus better memory management

* Hardcoded some props like securestorage support and TIMA so that they are false/0/off.

* Power management code updated

Downloads:

Read OP. You can now download from both main download server, and Box mirror. Choose one that works best/faster for you.
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Hey [MENTION=3441913]duki994[/MENTION] after installing 1.5 it's been quite a few hrs, the phone is heating heavily and battery draining pretty fast... Flashed it on the existing ROM with green apple kernel , but did wipe cache n dalvik ...
[Galaxy S 5 Android Development (Exynos)] duki994:
I tested for two days before building again and releasing kernel.

Never got such extreme results like you.

Post all logs. Dmesg + logcat + last_kmsg

I can't be like prophet. Logs say more than words :D

Plus say which ROM. Stock CPE6 no problems for two days for me.
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
I'll post as soon as I get back home
[Galaxy S 5 Android Development (Exynos)] ponkz:
Been using 1.5 since released, cannot complain bout anyhing.. better than 1.4 for sure
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Found the problem... Force GPU rendering was on in developers option... Maybe due to some performance enhancing tweak in the build.prop... After turning it off haven't felt that much heating yet
[Galaxy S 5 Android Development (Exynos)] duki994:
Changelog:

* Reverted some LMK changes and fully implemented ADJ_RBTREE in Samsung's OOM LMK code (this should fix some performace issues (like small lags) while freeing RAM)

* Added several system processes in LMK protected apps (LMK won't kill them unless your system RAM is highly overloaded and on verge of collapse)

EDIT:

There was error in my postboot ramdisk script.

LMK protected apps isn't working. Nothing serious for kernel usage.

I'm reuploading as soon as compiling completes.

Then download and install since this feature needs to work to have benefits from it.

EDIT2:

Re-uploaded with fix :)

Sorry for inconvenience
[Galaxy S 5 Android Development (Exynos)] tyow3ex:
i want to say thank you for your work. you give hope to our beloved g900h devices.

btw, with this kernel optimization, can we beat lte ver battery life?

sory for my bad english
[Galaxy S 5 Android Development (Exynos)] duki994:
I beat G900F battery life even with stock kernel :)

I can pull close enough SoT as on my old G2
[Galaxy S 5 Android Development (Exynos)] ponkz:
Sir did u use any other app? Or xposed module maybe?
[Galaxy S 5 Android Development (Exynos)] kubussz:
I had to kitkat result about 6 hours enabled of the screen while the wifii, H+, chrome, itp.
[Galaxy S 5 Android Development (Exynos)] duki994:
With full stock MM (non-rooted, just stock Odin flashed official) you should get at least 4hr SoT with moderate usage. If not, your battery is wearing out.

Yeah. KitKat is probably most power efficient Android to this date.

New heavy apps just kill battery. Most of them aren't built natively with Android SDK, NDK and Java, but with frameworks that allow web programming (HTML, CSS, JS) to be transpiled and wrapped in Android and/or iOS app.

Most of them are HTML5 apps with JS. JavaScript needs single-thread performance to be top notch, so those apps don't utilize multi thread and kill battery. There are brand new frameworks that fix those issue, but we'll see what future brings. Theay are also not without flaws.

Maybe Android N changes things.
[Galaxy S 5 Android Development (Exynos)] kubussz:
900F longer stand on the battery? 900h has big.little should just work longer
[Galaxy S 5 Android Development (Exynos)] duki994:
Well, in theory yes.

In real world, it's close enough to same. I get maybe 5% longer battery life than on F version
[Galaxy S 5 Android Development (Exynos)] tyow3ex:
If we underclock our cpu and gpu, can the battery live longer?

if yes, and it has significant % , could you enable the feature on your kernel?