yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Report after first day 0f usage ) kernel is amazing ) battery life is wonderful ) my phone isn't lagging at all)) good job [MENTION=3441913]duki994[/MENTION] ) also thanks to [MENTION=5693847]somadsul[/MENTION] for his green apple Kernel ) keep it up too or duki will understand that he beyond compression and will add features not one by one but half by half as nvidia do now )))))

P.S that was a joke

P.P.S about kernel awesomeness it's not a joke :)

Cheers ))
[Galaxy S 5 Android Development (Exynos)] duki994:
If you really need mre battery saving then replace battery. I'm serious.

I get like 1hr SoT and 80% battery. Just a bit worse than my old G2 with enormous masterpiece, Dorimanx kernel.

Use XTouchWiz and disable DVFS. Everything else sjould work much better.

I can't fully disable DVFS for exynos 5422 in kernel. It's at least 70% userspace and uses ioctl commands.

That's what Samsung did. Disable DVFS via XTouchWiz (via Xposed framework) and you're OK :)

Can't fix that in kernel. And it uses too much battery.

For power saving, undervolt by 25mV all cores (A7 + A15) and use ROW or NOOP sched. But performance will be at leas 10% lower for maybe 30min more SoT. Maybe !!!
[Galaxy S 5 Android Development (Exynos)] squatch04:
Would you recommend using the PE workqueues and HMP little packing options with your kernel?
[Galaxy S 5 Android Development (Exynos)] amtra:
[MENTION=3441913]duki994[/MENTION] Dude im waiting for this.. Great work.. Could u please add insecure ADB and enable ADB debugging default so as to easy to take logs while in bootloop as i was always playing with system files.
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Wow.. v1.7 is avaible download now,thx duki keep update for this amazing kernel.everyday i always check for this version kernel.thx thx thx very very thx guys.
[Galaxy S 5 Android Development (Exynos)] shahram Ali:
my lovely kernel :( it was good for my old s5 good job duki
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Phone just did not heat up even once !!!:svetius:
[Galaxy S 5 Android Development (Exynos)] ponkz:
Very pleased with 1.7 good job [MENTION=3441913]duki994[/MENTION] :good:
[Galaxy S 5 Android Development (Exynos)] rohit9757:
1.6 & 1.7 both best versions till now 4 me.. awesome battery life.. thanks duki :good:

Cheers
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Battery life is very good... After disabling DVFS... THANKS
[Galaxy S 5 Android Development (Exynos)] mrjoy:
Have u stopped the development?
[Galaxy S 5 Android Development (Exynos)] duki994:
No. Why do you think that?

I'm trying to implement mDNIe display color control/tuning. But display registers for g900h are way much more different than on newer Galaxy S phones.
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.8

Changelog:

* Added mDNIe control (display color interface like KCAL for Qualcomm) (thanks to [MENTION=4167023]AndreiLux[/MENTION])

* Interactive governor updated (will stay on min freq and not ramp up when load is <5%)

mDNIe gave me a lot of headache to port and remake for G900H. I even think it would've been easier if I just made it from scratch :D

Plus G900H is sort of odd-guy in code sense. Exynos 5422 code is similiar, but yet enough different from any other Exynos to drive you crazy.

Samsung must've experimented on 5422 for impl. on newer Exynos generations :)

Try this version. Many scenarios for mDNIe and many color channel control :)
[Galaxy S 5 Android Development (Exynos)] ASHU3003:
Flashing right now
[Galaxy S 5 Android Development (Exynos)] sunnyvarma222:
Later 2night. [MENTION=5482089]ASHU3003[/MENTION] plz comment it after u test it for few hours if possible.
[Galaxy S 5 Android Development (Exynos)] duki994:
I've tested it for longer before release and fixed some bugs. Only mDNIe commits in git are newer :)

Everything's working good.

Interactive governor will save more power on low yield workloads (like playing music in background which uses < 5% CPU).
[Galaxy S 5 Android Development (Exynos)] sunnyvarma222:
Sorry. No offence. I do understand you test your work and only then release it. I highly respect your contribution. Honestly i dnt understand n e of the changelog coz i m just a beginner in the world of kernels. So i just asked [MENTION=703796]ashu[/MENTION] expecting a simple ans like it works gr8. Neva doubted your builds. Hope u keep up ur work. # respect
[Galaxy S 5 Android Development (Exynos)] duki994:
Ah. Well...

Interactive is governor that chooses CPU frequency based on load. If load is max (100%) then freq is set to max. If load is below min threshold (5%) then it's min freq.

Between 5% and 100% there are more advanced algorithms that choose CPU freq. If a governor can predict workload better it'll use CPU more efficiently. Easy as that.

mDNIe is same as RGB/Chroma color control on your LCD/Plasma TV :)
[Galaxy S 5 Android Development (Exynos)] sunnyvarma222:
Thanks for explanation. I understand the logic n theory. I know a bit bout rgb after oneplus three gave an update bout srgb. Thanks again for the effort. Keep goin :good:
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
[MENTION=3441913]duki994[/MENTION] can you make kernel for cm 13 of fevax with all posted by Samsung libs , if yes I may test of camera and ets. would work
[Galaxy S 5 Android Development (Exynos)] somadsul:
If He is not trying I will do...
[Galaxy S 5 Android Development (Exynos)] King_Dinoco10:
Yes som ...u try plz thanks
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
I think that if you two [MENTION=3441913]duki994[/MENTION] and [MENTION=5693847]somadsul[/MENTION] can make it together because you two are only guy's who have compiled stable kernel for our device and if you guys would do this and camera bug would be fixed , you two may become a heroes not only exynos galaxy s5 community but also all exynos based phones communities
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
I totally agree with [MENTION=6830132]TheDarkSithLord[/MENTION]
[Galaxy S 5 Android Development (Exynos)] duki994:
I can't support CM13 as I need camera each day.

Though, I can help [MENTION=5693847]somadsul[/MENTION] to make it work.

I worked with Fevax (more as a kernel dev/guide) to build it working with CM13. Problem was mostly newer SELinux for CM13, cgroups and some memory management stuff that couldn't be easily implemented.

Now, when we have official Marshmallow, that SELinux code is taken care of by Samsung.

Compiling stock MM kernel sources with CM13 ramdisk should boot OK though [MENTION=5693847]somadsul[/MENTION]

As for camera problem, it seems like HAL problem. I saw over 100 logs in Fevax test builds.

Takes much time and advanced skill set to write new HAL for Exynos 5422 camera drivers.

Experimenting with stock MM blobs could make it work hopefully.

[MENTION=6830132]TheDarkSithLord[/MENTION]

I'm not a ROM dev, so don't ask me to fix camera as I don't know how.
[Galaxy S 5 Android Development (Exynos)] somadsul:
LOL I am not Hero duki is very good developer...

I will try once, because I love CM ROM, only wanted to ask you what exactly do you require in cm kernel?
[Galaxy S 5 Android Development (Exynos)] squatch04:
Is there any way to disable ipv6 using your kernel?
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Hey [MENTION=3441913]duki994[/MENTION] which is the best tcp congestion control?
[Galaxy S 5 Android Development (Exynos)] duki994:
YeaH tcp for me is best :)
[Galaxy S 5 Android Development (Exynos)] waynesam12:
True AOD support

[MENTION=3441913]duki994[/MENTION], any update on the true AOD feature you working on in the kernel? It would be great to have that feature for our beloved S5
[Galaxy S 5 Android Development (Exynos)] duki994:
No. I'm not a ROM dev, so I couldn't find where AOD is implemented. At least not kernel part.

Until someone finds that, I can't help. My Smali skills are very low. Though I know Java.
[Galaxy S 5 Android Development (Exynos)] Dieexe:
I've using this kernel on LP and it was so good!

Now I'm using on MM since yesterday and it was just as expected, little bit more battery life, incredible smoothness and performance (I was so tired of these randoms lags) and no bugs at all, thanks duki

One question, how many mA is recommended in AC/Mains (battery)? I'm using 1800 and it's so fast
[Galaxy S 5 Android Development (Exynos)] aminmigo88:
3 random reboot in 2 days when lock or unlock the phone, back to 1.7
[Galaxy S 5 Android Development (Exynos)] sunnyvarma222:
I am using it since day of its release. I dnt have n e random/force reboot. M on aj 1.9 rom
[Galaxy S 5 Android Development (Exynos)] duki994:
Samsung set these stock values:

1) 1800mA when screen off and battery is not overheated

2) 1200mA when screen on

3) If battery is hot then it lowers to 800mA or 500mA

I don't know what to recommend. Just don't push over 2000mA.

LG G2 has 3000mAh battery and it's stock charging code allows max 1600mA. That's why it's battery lasts long time. Samsung always sets very high battery charging values.

Read description about charging in Synapse. Everything is written there :)

You should have posted dmesg and last_kmsg after crash for me to see if there is dome error.

Right now your post doesn't tell me anything about what caused crash. It's totally useless for finding bug.

Neither do I on stock :)
[Galaxy S 5 Android Development (Exynos)] aminmigo88:
i'm on stock too , i will reflash 1.8 again and post dmesg and last_kmsg for possibly next crashes
[Galaxy S 5 Android Development (Exynos)] duki994:
Recommendation:

For TCP Congestion control, try TCP YeaH. It's very fast on my device. Even with low WiFi/Data signal :)
[Galaxy S 5 Android Development (Exynos)] duki994:
Run:

sysctl net.ipv6.conf.all.disable_ipv6=1

as root in terminal.

That will disable ipv6 for all interfaces in any kernel.

It won't persist after reboot, though.
[Galaxy S 5 Android Development (Exynos)] duki994:
Version 1.9 - BETA

MEGA UPDATE!!!

Changelog:

* MM updates

* IRQ and ARM GIC (Generic Interrupt Controller) updates

* CPUFREQ critical performance and battery saving updates for big.LITTLE architecture

* ARM arch specific updates and workaround for various bugs from Linaro LSK 3.10.x tree and ARM devs

* EXT4 and FS updates for better performance and less CPU usage. Also some code cleanups.

* NET updates

* Silenced mDNIe dmesg hooks. Not needed now as mDNIe control is working as it should.

* RCU NOCB ALL for better softirq workings in kernel (should provide boost to moderate usage)

Try and see how this one works. It's worth about 80 commits of updates. Quite a lot and some bugs may be lurking.

Though my phone heats much less now, and A7 and A15 cores are now managed as they should while hotplugging. :)
[Galaxy S 5 Android Development (Exynos)] ASHU3003:
Trying
[Galaxy S 5 Android Development (Exynos)] mrjoy.444@gmail.com:
Amazing duki thank u so much. What is meant by MM Updates?
[Galaxy S 5 Android Development (Exynos)] duki994:
MM is short for Memory Management
[Galaxy S 5 Android Development (Exynos)] mrjoy.444@gmail.com:
I was thinking its Marshmallows. ..thats why i asked. Aahh its memory management. Then we will have better ram. Great. Have u started beta versions?
[Galaxy S 5 Android Development (Exynos)] fhLan:
does ex kernel manager compatible with this kernel?
[Galaxy S 5 Android Development (Exynos)] rikusuicide:
G900f not getting uci support .
[Galaxy S 5 Android Development (Exynos)] ponkz:
This kernel for G900H only broh :good:
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] bro could u check auto rotate sensor in v.1.9 beta :)
[Galaxy S 5 Android Development (Exynos)] duki994:
What about it? Works perfectly on my and my friends device.
[Galaxy S 5 Android Development (Exynos)] ponkz:
Im using yosh v4 and green kernel, its broken when using ur kernel?
[Galaxy S 5 Android Development (Exynos)] sunnyvarma222:
Works ok on mine. Aj 1.9 rom duki 1.9 beta kernel
[Galaxy S 5 Android Development (Exynos)] ponkz:
Ok sir, may i know which busybox u are using?
[Galaxy S 5 Android Development (Exynos)] duki994:
Doesn't matter.

My kernel auto installs Dorimanx's 1.26.0 busybox.
[Galaxy S 5 Android Development (Exynos)] ponkz:
Okay thanks sir :good:
[Galaxy S 5 Android Development (Exynos)] duki994:
[MENTION=6974965]aminmigo88[/MENTION]

Please send bugs reports to tgread, not my PM.

My PM is for other issues or for code fixes and code fix suggestions. But only for advanced coding stuff.

I'll post what you sent here so everyone can see what happened.

What you just described is HW issue.

Nothing serious, it's just battery failing. Such drastic difference in battery percentage happens only when battery is dying. It may work for some time, but it'll soon die.

I suggest replacing it immediately if it is swelled. Samsung's batteries are known to explode when swelled too much and you may get hurt with very bad third degree burns (Lithium is very dangerous when exploding).

Logs did not show any errors. Just sudden power loss. And last_kmsg is from when you used CM13, so no kernel errors between then and now ;)

I'll examine logs thoroughly to see if charging chip sent error flag for bad or swelled battery.
[Galaxy S 5 Android Development (Exynos)] aminmigo88:
thank you very much for help
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Duki,can you help me to set lock cpu core 1700mhz?if i play game modern combat 5 in 5 minutes core 5-8 always offline?can you tell me set d voltage cpu/HMP for the best set gaming mode.pleasee..i love this kernel..btw keep spirit to update this amazing kernel.very very thx for amazing kernel
[Galaxy S 5 Android Development (Exynos)] duki994:
You can't do that.

It turns off A15 cores due to thermal throttling and management. Thermal is set to 81 deg to throttle. It's very high temp. I will never raise it higher.

HMP will change nothing.

I tried raising IPA (dofferent kind of thermal/SoC management driver) thermal tripping point from 54 deg to 70 deg and my phone almost died from overheat. God bless exynos-thermal driver that saved it

Plus, MC5 isn't CPU intesive at all. Only GPU intensive.

If you would, hypothetically, lock A15 to 1.7ghz, gpu would throttle down to 266mhz to keep thermal balance. Not good.

Install Xposed and then XTouchWiz module. Tick "Disable DVFS" in XTouchWiz and be happy. It'll disable Samsung's DVFS helper and boost gaming and overall performance and battery life.

This phone is old now and it's GPU is slower than it's competing Adreno 330. You can't force push phone without endangering it or yourself if battery explodes due to high temp.
[Galaxy S 5 Android Development (Exynos)] fhLan:
Duki, if I got sound distortion from my earphones, can I undervolt it to fix this?

Thanks before
[Galaxy S 5 Android Development (Exynos)] duki994:
1) Reset sound control to stock values.

2) Clear any sound mods (Xposed sound mods especially) that you use since they are culprit of such issues.

3) Uninstall and delete V4A if you use it.

4) Clear cache and dalvik and reboot.

5) Then boot into ROM.

If you have dostortion again, lower headphone gain in sound control tab in synapse. If distortion persists reflash ROM and kernel clean. If then persists, you have faulty HW.
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Niceeeeee.....i lock cpu in 1.7ghz and instal xtouchwiz to disable dvfs and now stable smoothing game mc5????? thx for this tips duki.my rom is wanted V4.thx for help and fast respone.

1 more...what you use for the permission sd card?marshmallow sd fix in xposed?sorry for my bad english.i'm from indonesia?
[Galaxy S 5 Android Development (Exynos)] duki994:
No need to lock CPU to 1.7GHz. The problem was DVFS.

SD card fix?

I don't use it. If app wasn't compiled for Android 6.0.x or higher and needs such pernissions, then I won't use it. Simple for me :)

P.S

I'm from Serbia. It's "just" a few continents away :D

The guy (middle aged) from whom I bought my first acoustic guitar lives in Jakarta now with his Indonesian wife :)

I have some idea about how's life there :D
[Galaxy S 5 Android Development (Exynos)] fhLan:
Actually it had happen since before I root. But if I use poweramp, I got no distortion at all. So I thought maybe if I undervolt will fix this :p

I have another weird issue. Since I get the BETA update, if I set my screen to the dimmest level, the screen would flicker and becom yellow/green-ish. I don't know is it the update or my device that actually cause this
[Galaxy S 5 Android Development (Exynos)] King_Dinoco10:
Hey duki is there any other way to disable dvfs aprt from using any xposed module or xposed itself?
[Galaxy S 5 Android Development (Exynos)] duki994:
Not fully. Maybe block GPU part of DVFS via setting read only permissions. But that would screw up CPU scaling badly.

No. You must use Xposed for any real effect without other consequences (bugs).

Sorry, but Samsung really made deep in-ROM and in-kernel implementation that can't be magically switched on/off.

Slang style:

You'll have to do dirty work.

ROM/Kernel and Xposed.
[Galaxy S 5 Android Development (Exynos)] duki994:
That's HW issue.

Due to issues with distortion over headphones and minimum brightness screen flickering and color change I can think of only a single component that may be failing on your phone's motherboard.

It's main voltage/current regulator.

It's commonly called MPU (Main Power Unit or something like that) and it contains many small per voltage rail regulators.

Other options are that your battery has bad contacts, that your battery is failing or that your motherboard electric connections are faulty.

But all these low voltage stuff like screen and headphones point to MPU being guilty, not other things.
[Galaxy S 5 Android Development (Exynos)] fhLan:
So, is it unfixable or I just have to clean the motherboard up? Another weird thing is, if I change earphone, the distortion or crackling sound disapear. Then you would think the earphone at fault right? So I test it using my laptop. And the sound came out perfect. oh, and it only crackle at a very low/high freq or at the very end of a song

btw thank you for your fast respond!
[Galaxy S 5 Android Development (Exynos)] duki994:
Then you just clean up headphone jack on phone :)

And try different headphones. The ones you have may be faulty as you said.

But screen flickering...

That's either battery or MPU.

But if it happens on low brightness it's MPU fault.
[Galaxy S 5 Android Development (Exynos)] Vicky_666:
Wow..I do not think you have time to indonesia.coz distance serbia to Indonesia so far,hehehehe..btw thx for nice work this kernel.everyday i always read this thread,hehehe..
[Galaxy S 5 Android Development (Exynos)] fhLan:
Gladly... It figures, flashing stock firmware fix the flickering display issue.

But I don't know what to do to fix the sound problem. I hope it can be fixed, since the crackle sounds gone when I use poweramp
[Galaxy S 5 Android Development (Exynos)] fhLan:
Can I use UMS enabler if using this kernel?
[Galaxy S 5 Android Development (Exynos)] jashancheema:
Thanks so much bro
[Galaxy S 5 Android Development (Exynos)] duki994:
No. UMS is really screwed up starting from MM kernels.

Full support is dropped. And USB driver is cleaned up from everything related to mass storage.

I tried enabling it, but phone just started rebooting due to UMS "hijacking" storage. It's immediate internal + external storage disconnect and Android panics and reboots.

No way around this. Probably never, unless Google adds it back.

EDIT:

I may have found a way around :)

Will see to add in next version if it works.
[Galaxy S 5 Android Development (Exynos)] fhLan:
WAITING :D
[Galaxy S 5 Android Development (Exynos)] izephyr:
for me synapse says no unc support. how could I enable synapse to work. i am on v1.8
[Galaxy S 5 Android Development (Exynos)] duki994:
That's impossible.

Check your busybox and ROM.

If you installed custom busybox, then uninstall it as my kernel installs latest busybox from dorimanx repo.
[Galaxy S 5 Android Development (Exynos)] izephyr:
I see. I have installed another busybox. Lets see after uninstalling that one. Do I need to reflash kernel aftrr uninstalling custom busybox?
[Galaxy S 5 Android Development (Exynos)] ponkz:
After uninstall another busybox, flash kernel, then download superSU from playstore :good:
[Galaxy S 5 Android Development (Exynos)] duki994:
No need to flash. Just reboot.

Ramdisk scripts automatically install busybox.
[Galaxy S 5 Android Development (Exynos)] fhLan:
Err.. I have new issue. Synapse can't change max cpu freq. I checked my phone with antutu after I changed max a15 frequency to 1800MHz. It said 500-1900. But if change the freq using kernel adiutor (I use the modded one) it works but won't keep the change after boot even after I toggle apply on boot option.
[Galaxy S 5 Android Development (Exynos)] ervanthe:
hi

can we use this on stock mm odex? or this only works on deodex rom?
[Galaxy S 5 Android Development (Exynos)] duki994:
Works for me. Check your ROM.

Kernel Adiutor won't work as it doesn't set values in exynos MP cpufreq
[Galaxy S 5 Android Development (Exynos)] duki994:
Works on odex and deodex.
[Galaxy S 5 Android Development (Exynos)] fhLan:
Hmm. That's weird. I'm using stock rom(really, the odex stock one). What thing should I check?
[Galaxy S 5 Android Development (Exynos)] mirawong:
I use stock ROM CPE6 and synapse can change the cpu max frequency. But however another apps like aida64 or antutu or cpu Z, will still detect that our cpu freq 500 - 1900 mhz, i think maybe the apps detect the hardware capabilities, not the maximum set frequency.

CMIIW :)
[Galaxy S 5 Android Development (Exynos)] duki994:
No. They read from cpufreq register that are made for general CPUFreq (Qulacomm and MTK use it for example). There you can just read min/max from HW.

Everything!

Check root, busybox and everything. You'll soon have issues with everything that are not kernel related.

If some script somehow managed to change environment PATH, then you are in for a lot of trouble.

Instead of trying to save ROM, just reinstall it clean and root it. Then install kernel. No problems after.

USB mounting of SDCard doesn't work even with mass storage gagdet driver enabled.

App has everything it needs from kernel and userspace (USB Mass Storage Gadget driver and FUSE driver + all userspace libs needed).

It just won't mount /dev/block/mmcblk1p1 (address of SD Card). Probably some Android limitation/permission that makes it not work.

Kernel + userspace have everything.

I'll leave mass storage driver enabled in 2.0 when I release it. Maybe someone will find solution for this. It's not on my priority list.
[Galaxy S 5 Android Development (Exynos)] yash92duster:
[MENTION=3441913]duki994[/MENTION]

I added the script as you said and flashed v1.9 Beta Kernel and it works beautifully :)

Thanks man
[Galaxy S 5 Android Development (Exynos)] Asif ibn siraj:
How do I flash this kernel & where can I download it ....
[Galaxy S 5 Android Development (Exynos)] Rockers_BK:
help

Im new to these things..i have installed Green apple kernel from

http://xdaforums.com/galaxy-s5/orig-development/support-dev-s-little-g900h-t3416061

by somudsul to change enforcing to permissive successfully but now problem is its generating unauthorised action probably from smart manager..now he told me to install duki kernal..

your post have two links..which oñe shud i flash

1.https://github.com/duki994/g900h_mm_kernel

or

2.https://github.com/duki994/g900h_mm_ramdisk

Please help
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
None of them but this one

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