yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Exynos)] hrishi420:
Delete
[Galaxy S 5 Android Development (Exynos)] justinirul:
Duki dont have this device bro...he stop the development this kernel :)
[Galaxy S 5 Android Development (Exynos)] abhishek jadav:
Can i use kernel adiutor to control for this kernel
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
[MENTION=3441913]duki994[/MENTION] hey bro I want to use your awesome kernel on a8 a7 a5 a3 port roms. What should I do? Do I need linux computer? And can you release a new version to add magisksu instead of supersu?
[Galaxy S 5 Android Development (Exynos)] Abodi_1:
hey man

i notice a huge performance increase if locked A7 min clock speed at 800 MHZ with 900mV

this give the phone 20% overall performance also running very smoothly and huge increase in GPU performance ( clearly noticable in snapchat and instagram camera filters )

and beats S5 snapdragon version in all benchmark apps and even it beats S6 in some other apps :D

all that with just "10% or less" battery draining and 0% heat thorttling notice

i can send screenshots
[Galaxy S 5 Android Development (Exynos)] kunarbale:
screenshots or nah :confused:
[Galaxy S 5 Android Development (Exynos)] Abodi_1:
XDA developers wont let me post link for the pics :/

i did also benchmarks on Antutu and 3dmark all of them shows positive results

the only issue it remain is the RAM manegment.. 2GB in 2017 - 2018 not enough to handle new apps anymore

anyway lts wait answers from advanced developers to make sure everything is ok about my cpu tune
[Galaxy S 5 Android Development (Exynos)] nard347:
Can you share yours cpu undervolt settings?
[Galaxy S 5 Android Development (Exynos)] Abodi_1:
Its all stay at the default voltage as they set in dukii kernel unless A7 800 MHZ i down clock it to 900mV and lock the processor on this clock as the min speed
[Galaxy S 5 Android Development (Exynos)] duki994:
You can try undervolting and setting A7 to 800MHz. Newer phones with A53 cores have about 400-600mhz min freq with very low voltage.

A7 at higher freq isn't really that drainy. Maybe more battery drain for simple tasks such as music listening. For Instagram and snapchat maybe GPU clock up may help with GPU undervolt. I see that many G900H have good undervolting characteristics. Try higher GPU min clock and gradually undervolt. You can try -100mV as hardcore undervolt for gpu :)
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
[MENTION=3441913]duki994[/MENTION] good to see you here bro. Can you edit your kernel to replace SuperSU with MagiskSU?
[Galaxy S 5 Android Development (Exynos)] waynesam12:
Double tap to wake feature

[MENTION=3441913]duki994[/MENTION] Could you please include the double tap to wake feature from the LG G series if possible in this kernel. It would be great to have that on our beloved S5:o
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
when i rebbot my phone in synapse every things reset !
[Galaxy S 5 Android Development (Exynos)] duki994:
I'll see to add this :)

I also play with system config and files :)

I tried to do that on LP kernel. Many days/hours went to implement wake gesture but I didn't succeed. I forced Synaptics touch chip to remain powered always in source code, but it always turns off when screen turns off.

That means that screen and touch are connected to same voltage rail coming out of MPU. Turning power to that line would turn screen on (no lights, but screen only). That would have tremendous battery drain (drain in less than 3hr in standby!).

Not kernel problem. It's Synapse app problem. Reinstall Synapse. Sometimes this happens when Synapse app config is corrupted.

And check your settings. If there were instabilities (sudden reboot in 2 minutes after boot), or you rebooted manually in 2 minutes after boot, Synapse reverted settings to stock !!!

You can disable this setting in Synapse->Settings->Stability check.

That's very good app safe check feature. Don't disable it unless it makes you headache :)
[Galaxy S 5 Android Development (Exynos)] waynesam12:
Thanks bro. no probs. [MENTION=3441913]duki994[/MENTION]
[Galaxy S 5 Android Development (Exynos)] ponkz:
Dude double tap to wake consume much power.. dont really need that :laugh:
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
I needed to make battery to %0 then recharge niw i had good battery life and less heating even i didnt see any bug :cool: thanks bro

---------- Post added at 01:19 PM ---------- Previous post was at 01:17 PM ----------

And change from testing to stable lol
[Galaxy S 5 Android Development (Exynos)] duki994:
Thanks for heads-up :)

Changed :)

You can also use battery reset gauge button in Synapse Battery tab and wait a bit for gauge chip to stabilize reading again :)
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Sir in your kernel, How to adjust screen off freq voltage? Because im getting sleep of death(SOD) issue in my device on wake up the device.
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
youre awesome :cool:
[Galaxy S 5 Android Development (Exynos)] duki994:
You can't. It's stock min limit. 800MHz min for A15 when they are on (it's 800MHz min only when they are turned off. When A7 turns on, A15 mostly goes off, except in very high load situation (almost never happens)).

Post last_kmsg here. You have button to save it to internal storage in Synapse->Misc tab :)
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
After a day of use i am amazed at the battery life , the phone feels snappier and thankfully seLinux is permissive so i can run viper4android... thanks bro
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.1

Changelog:

* Added GPU voltage control

* Fixed some ramdisk scripts

* Optimized compiler flags for GPU code

* ro.secure=0 and ro.adb.secure=0 so ADB is now like unchained beast for those who like to play with ROMs and system files and have bootloops :)

Downloads are in same link as before. Read OP and you'll find it :)

EDIT:

Don't be scared by crazy voltages in GPU tab. Samsung made it that way.

I don't know why, but it's wrong.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Sir i attched the log file
[Galaxy S 5 Android Development (Exynos)] duki994:
Did you use headphones?

Clear your 3.5mm port. Some problem with arizona driver jack detection. Seems like too much on/off connections. Usually happens when 3.5mm port has dust.

And disable PE Workqueues if you used them.

Post dmesg too

EDIT: Found it

<6>[ 36.232239] [c5] muic-max77804k:max77804k_muic_shutdown -
<6>[ 36.232523] [c5] max77804_charger_shutdown: MAX77804 Charger driver shutdown
<6>[ 36.232882] [c5] func:max77804_charger_shutdown
<6>[ 36.232917] [c5] s2m-rtc s2m-rtc: s2m_rtc_disable_wtsr_smpl: disable WTSR
<6>[ 36.233324] [c5] vfsspi_shutdown
<3>[ 36.233344] [c5] [SSP] ssp_shutdown, data->fw_dl_state[5]*******************!
<3>[ 36.233352] [c5] [SSP] lpm 0 recovery
<6>[ 36.233361] [c5] [SSP]: ssp_shutdown
<6>[ 36.239587] [c5] [SSP]: ssp_send_cmd - command 0xd0 0
<6>[ 36.239597] [c5] [SSP] ssp_enable, enable = 0, old enable = 0
<6>[ 36.239609] [c5] wake disabled for irq 719
<6>[ 36.240014] [c5] [SSP] remove_mobeam
<6>[ 36.467409] [c4] [SSP]: ssp_sensorhub_thread - kthread_stop()
[SSP]: ssp_sensorhub_remove - DONE<6>[ 36.568412] [SSP] ssp_shutdown done
<6>[ 36.568529] [c5] mif: xmm6262_off:
<6>[ 36.568861] [c5] s5p-decon-display 14400000.fimd_fb: +s5p_mipi_dsi_disable
<6>[ 36.568873] [c5] lcd panel: + s6e3fa2_power_off
<6>[ 36.568885] [c5] lcd panel: + s6e3fa2_ldi_disable
<6>[ 36.569000] [c5] lcd panel: DISPLAY_OFF
<6>[ 36.707189] [c5] lcd panel: - s6e3fa2_ldi_disable
<6>[ 36.707200] [c5] lcd panel: - s6e3fa2_power_off
<6>[ 36.720115] [c5] s5p-decon-display 14400000.fimd_fb: -s5p_mipi_dsi_disable
<6>[ 36.721366] [c5] dwmmc_exynos 12220000.dwmmc2: vmmc off, vqmmc off.
<0>[ 36.727794] [c0] Restarting system with command ''.
<0>[ 36.727828] [c0] sec_reboot (104, )

3.5mm jack didn't reboot your phone. It was big error, but kernel recovered fast.

Something from ROM sent legitimate reboot command and kernel obeyed. This is not error. It's same as if you power off on button.

Probably some bogus app or script. Check them.
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
Will install and test tomorrow reporting :)
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
duki plz avilable set minimum a7 and a15 clock speed

when lock device cpu working by 500mhz stock clock speed . plz change to 200mhz minimum clock speed in both a7 and a15 !

thanks your hard work
[Galaxy S 5 Android Development (Exynos)] duki994:
Lower than that will lead to SoD (screen of death). I'm somewhat heavy user and I can pull over 5h SoT with mixed Data/WiFi plus music.

Load is dynamically distributed via HMP algorithm. 500MHz and 200MHz are nonnoticeable in terms of power requirement.

If you want it. Go to my git, clone repo, extract prebuilt toolchain to android-toolchain folder and run my build script. Everything easy. Change freq limits. Two clicks and out :)
[Galaxy S 5 Android Development (Exynos)] Asura24:
After 2 days with the 1.0 I can give my report, everything working really well battery is even better, and overall performance is better most of the time but i did experience some random slow down here and there other than that all good, now I will try the new version.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Yes i disabled PE Workqueues but got 1 SOD again in whole day.

And at point of 3.5 jack as u told that there are many on/off connection but i am not getting any problem in 3.5 jack, its working good. Is it must to clean the dust from jack though? I've attached another file too. If you have found any culprit of SOD then please tell me. Thank you so much
[Galaxy S 5 Android Development (Exynos)] duki994:
I found it now. You used wakelock control feature to disable l2_hsic wakelock.

I will remove all critical wakelocks from next kernel version. I wrote description in Synapse that disabling/skipping l2_hsic wakelock may lead to reboots.

And it will lead to reboots for sure. I may even remove wakelock control.

I researched a bit and found out that it's critical communication bus between modem and SoC.
[Galaxy S 5 Android Development (Exynos)] Apirahman:
Can i install to my custom rom?

S5 EXYNOS MM ROM RR
[Galaxy S 5 Android Development (Exynos)] yoahmad1995:
Possible update to support magisk?
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
How lock the minimum freq of gpu? And cpu?
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
Undervolt
[Galaxy S 5 Android Development (Exynos)] Karangalaxys5s6s7:
Can i use magisk root with this kernel . I dont want to use superSU after it being sold to another firm.
[Galaxy S 5 Android Development (Exynos)] somadsul:
This kernel is already have root with SuperSU if you want magisk then remove ramdisk from kernel and use ramdisk from stock using boot img tools
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Deleted
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
[MENTION=5693847]somadsul[/MENTION] [MENTION=8393497]Griffin98[/MENTION] [MENTION=3441913]duki994[/MENTION] Brothers sorry if im disturbing you, I searched on google but I have questions. Really there is no answer for these questions on google so I wanted to ask you as the masters :)

1- As u know duki kernel has some features with synapse support. And as I understood, features of kernel are in ramdisk. Then if I change duki ramdisk with stock kernel ramdisk, I will lose all the features like synapse support. Did I understand true?

2- If yes, how to do this, I want to change only supersu to magisk without break synapse againg with the error (no uci support) ?

3- Or how to add uci support after flashing magisk over duki kernel?
[Galaxy S 5 Android Development (Exynos)] ʝօղმէհმղϟEcuador:
The Best

How can I configure sypnase there is not much information or videos to guide me
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
[MENTION=3441913]duki994[/MENTION] Hi sir. Can you port your kernel to kitkat stock kernel? I love your kernel and I need its fast charge on kitkat
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Im not sure that l2_hsic wakelock leads to SOD, beacuse when i was using stock rom with stock kernel without synapse & i didn't disabled any l2_hsic wakelock then i was getting SOD issue ,thats why i wonder if its not Related to l2_hsic wakelock, overall u know better than me.
[Galaxy S 5 Android Development (Exynos)] duki994:
Disabling l2_hsic wakelock is leading to SoD. I'll remove it in next version.

HSIC is internal bus and protocol for communicating between baseband/modem and Exynos processor.

If you disable this wakelock modem and exynos cant communicate and crash phone momentarily.
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
i am back :D a small bug the phone sometimes freeze and after 4 second it back it is not happening too much maybe in day 5 times but v1.0 was fine :p
[Galaxy S 5 Android Development (Exynos)] mrjoy:
But i flashed this kernel 1st time on custom rom, before when i was using stock rom then i never play with disabled l2_hsic wakelock on stock kernel, then why SOD issue happened on stock rom too(with stock kernel) ?
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Can i remove thermal.conf? Where is the location thermal.conf guys?
[Galaxy S 5 Android Development (Exynos)] duki994:
I have no idea. I think that only Qualcomm devices have it.

Exynos thermal does everything from DTB. It's configuration is fully in DTB in kernel, not ROM.

ROM doesn't control Exynos thermal at all.

This is kernel thread. Don't ask such questions here. I will ask moderators to clean ROM related questions in future.

Everything that is not in /sys/ directory is ROM based (/system /data and such are ROM based). Don't touch /sys directory. You have been warned.
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
Duki duki a question i edit cpu settings what is cpu limit i mean 900mhz or 800? :/
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Ok sorry for my ask duki,i'm newbie.but thx for amazing kernel.many many many thx.every day i wait for kernel MM,thx for great created this kernel. I'm check DVFS disable in Xtouchiz your instruction and AMAZINGG ENJOY PLAY HEAVY GAMES WITOUTH LAG.thx thx thx???
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
[MENTION=3441913]duki994[/MENTION] any updates ??
[Galaxy S 5 Android Development (Exynos)] duki994:
Stock limits go like this. And they are the best. Read post after OP that talks about power consumption :)

Minimums:

800MHz for A15

500MHz for A7

Maximums:

1900MHz for A15

1300MHz for A7

Wait. I can't release new version of kernel every day :S

You have ALL the features that other world wide know kernels have (like ones from faux, franco, arter97, dorimanx) and probably one of the best power balancing code and tuning kernel. I do it all for free.

Asking for updates/ETA is against the rules of XDA.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
After increasing battery AC Currunt to 2200 mah, mobile still shows 1800 mah currunt. Could you please tell me why?
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
Duki you're kernel with aj 1.7 was awesome but with 1.9 phone getting warm and battery drain .. anyway i always love your kernel waiting new update for niw i am moving to another kernel anyway thanks bro
[Galaxy S 5 Android Development (Exynos)] rais.asif786:
Wolfson audio not working properly... else everything is just awesome thank you so much for this dev .keep it up
[Galaxy S 5 Android Development (Exynos)] duki994:
Beacuse of current protection. Some circuit may have overheated, or your phone can't stand that current. Go up to 2000mAh maximum. 2200 is for extreme situations and can and will damage your phone. It's same as OnePlus 3 fast charge current. Even stock 1800mAh is too much for our battery. That's why they deteriorate so much

I added new sound control for v1.2

See git :)
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.2

* Added IPA thermal trigger temp control

* Removed some battery saving features that were actually DRAINING BATTERY

----> HMP little packing, PE workqueues removed

* Removed Wakelock Control because it causes SoD's when user disables important wakelock!

* Added new 8-band EQ Sound control made for S6 that work awesome (god bless [MENTION=4167023]AndreiLux[/MENTION])

----> it has even per channel 8-band EQ's

* Made some compatibility improvements

Downloads are in downloads folder (read OP).
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Kindly add more governors.
[Galaxy S 5 Android Development (Exynos)] duki994:
I can't.

All other are written for Qualcomm using qualcomm cpufreq and devfreq frameworks in kernel.

Ondemand and others bundled for Exynos are way to battery draining.

That's why all exynos devs use interactive. It's best for Samsung (for real).
[Galaxy S 5 Android Development (Exynos)] duki994:
Actually, you can change governors via Kernel Adiutor.

I have userspace, conservative, ondemand, performance and interactive.

I may add controls for gov change, but I won't take any bug reports and won't acknowledge complaining if any governor other than interactive is set.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
No sir there is no conservative & ondemand governor..
[Galaxy S 5 Android Development (Exynos)] Erfan S5:
plz add set minimum freq for deep sleep .... thanks
[Galaxy S 5 Android Development (Exynos)] mirawong:
[MENTION=3441913]duki994[/MENTION]

Thanks for your kernel, i've flashed and get some battery drain. :crying: but thats ok.

i've a question, if i want to revert back to stock kernel, i've to flash stock rom or can you make stock kernel flashable zip?

* sorry i'm just noob who want to try mod....
[Galaxy S 5 Android Development (Exynos)] kubussz:
hi,

question for experts!

Why Meizu MX4 pro (exynos) (http://mobiltelefon.ru/post_1416458206.html) in the test ice storm unlimited extract 18000, agalaxy s5 (exynos) only 14000 ???

They have the same processor and gpu.
[Galaxy S 5 Android Development (Exynos)] duki994:
I have some old stock flashable zip. I'll upload it.

First of all, wait for AT LEAST one charge cycle before reporting battery usage :)

Kernel and new ROM need at least one day to adapt to each other.

Look at my batt usage

And I've had H+ Data connection for 5hrs on last night. Browsed for about half hour and forgot to turn data when I locked phone.
[Galaxy S 5 Android Development (Exynos)] duki994:
S5 uses Exynos 5422. Clocks are 1.9GHz and 1.3 GHz max. Exynos 5422 is built on 28nm technology.

Galaxy Alpha uses Exynos 5430 that is 90% same as 5422 but is built on 20nm technology and has clocks 1.8GHz max (A15) and 1.3GHz max (A7).

Meizu MX4 Pro uses same processor as Galaxy Alpha, not like S5. MX4 Pro is using Exynos 5430 clocked higher (2.0 GHz and 1.5 GHz). That's why it has mre bench point. But don't look benchmarks. They're mostly set up.

Only real benchmarks I saw by now are PCMark and 3DMark for Android.
[Galaxy S 5 Android Development (Exynos)] kubussz:
i.e. this advantage due to the higher clock speeds of the cores?
[Galaxy S 5 Android Development (Exynos)] duki994:
Please read more about how SoC's work before posting such questions anywhere.

It's not all in clock speed!

Sometimes it's in other components like GPU, modem, better interconnections.

First, Exynos 5430 is 20nm, which means that even on 1.8GHz max it's gonna outperform Exynos 5422 on 1.9GHz max (Exynos 5422 is 28nm I think). Plus it heats less and is physically smaller due to 20nm.

So please read about fabricating process before jumping blindly to conclusions.

Second, with advantage I described above plus less heating it's bound to have much more performance.

And last, READ SOC VERSION.

G900H has 5422 and MX4 Pro has 5430.

Don't post things not relevant to development here.

Moderators, please clean up thread when you can. I'll open separate Q & A thread for this kernel to not clutter this thread with stuff not related to development.

Thanks in advance! :D
[Galaxy S 5 Android Development (Exynos)] duki994:
Yeah. My bad :)

BUT:

I won't add any more governors. All other Exynos devs had very bad experience and weird bugs of getting stuck.

Exynos framework in kernel is different. I can't really just add governors like on Qualcomm devices.

On qualcomm, you just add governor, add it to makefile and it just works with minor code adjustments.

If you think I'm stupid or don't want to add those governors on purpose, then you must know that arter97 and AndreiLux didn't add any other governors.

Because of people demanding close to impossible things for free and insulting him, AndreiLux got off XDA development. Now only those who know how to develop may read his code from GitHub.

His code and low-level development is top-notch world class.

And his embedded devices register manipulation techniques for any chip is even better.

And his code is quite readable (although quite advanced with a lot of bit manipulations and advanced pointer techniques).

arter97 has a lot of experience in every area of kernel development and he did not add any new governors due to quite different architecture of Exynos.

I'm about a year into kernel development, but others that are much longer than me didn't add new governors. Conclude something from that mrjoy :)

It's for users best experience. Not for us devs :)
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.2.1

Changelog:

* Correctly calibrated equalizer frequencies in sound control (thanks to AndreiLux for tip)

* Updated interactive governor

Interactive should be working better now in all cases :)

Downloads are in downloads folder.
[Galaxy S 5 Android Development (Exynos)] mswapnil31@gmail.com:
i'm on aj's v1.9 rom,can i flash this kernel????
[Galaxy S 5 Android Development (Exynos)] rais.asif786:
Main speaker gain support??? I want it back
[Galaxy S 5 Android Development (Exynos)] duki994:
I don't know. You can. It should work.

New sound control code is from S6. It doesn't have main speaker gain support. I may add it when I find time.

But I won't add speaker EQ.
[Galaxy S 5 Android Development (Exynos)] mswapnil31@gmail.com:
If the kernel doesnt work in aj's v1.9...where can i find the stock kernel???
[Galaxy S 5 Android Development (Exynos)] kubussz:
It's strange, because galaxy a8 (exynos 5430) in the test ice storm ultimited is just as galaxy s5 only 14,000.

I think that the problem is in kernel.

I understand that the technological process is much (less heat), but it is important for long work and not during the short benchmark. So much difference should not be.

The only difference is in process technology (20nm) and higher clock speeds and faster memories.

Unless Meizu uses some modified software.

And please do not tell me you do not know the differences between exynos 5422 and 5430.
[Galaxy S 5 Android Development (Exynos)] mrjoy:
In 1.2.1 version what is mean to "Updated interactive governor"? Sorry for the question.
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] dude 1.2.1 really rocks.. better battery for sure, thank u for bring life to G900H :good:
[Galaxy S 5 Android Development (Exynos)] mrjoy:
What about heating?
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
[MENTION=3441913]duki994[/MENTION] version 1.2.1 seems to heat less will report about battery tomm
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.3

Changelog:

* Made "Main speaker gain" control for new Clearwater based Arizona-class sound control

Downloads are in downloads folder
[Galaxy S 5 Android Development (Exynos)] duki994:
This commit

https://github.com/duki994/g900h_mm_kernel/commit/a2988494a60cbda7d2060661e9770db66f54b1ae

Yeah. For me too. I may use some more updates to interactive that won't make Exynos code go all crazy :)

Heats less for me too :)