yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Exynos)] duki994:
Yeah. That took care of booting up :)

I still can't figure out why kernel doesn't boot with systemless SU.

I think it's failing at loopback mounting of su.img within ramdisk implementation.

If you can't read OP, don't ask and don't flash. Really. Less hassle for me (that I make OP) and other users that actually read OP and post helpful stuff.

In OP, there are very orange colored letters that will help you if you read them.

That's everything I'm gonna say. Read OP, and you'll download it in 2 second.

GitHub is used for code sources :)

It's for tracking changes when programming stuff :)

For downloads, use link that [MENTION=6830132]TheDarkSithLord[/MENTION] mentioned below.
[Galaxy S 5 Android Development (Exynos)] Rockers_BK:
which one there are many

duki994-Kernel-G900H-MM-V1.9-beta.zip

or

stock_flashable_mm_CPE6.zip

from the link you mentioned [MENTION=6830132]TheDarkSithLord[/MENTION] [MENTION=3441913]duki994[/MENTION]
[Galaxy S 5 Android Development (Exynos)] yash92duster:
Check attachment

Read this thread title for latest version number

And check download link for v1.9
[Galaxy S 5 Android Development (Exynos)] Rockers_BK:
No happy

Oh wow again SE for android is back to enforcing plus root removed plus wifi paswords gone:crying:

i just want to permissive SE without error
[Galaxy S 5 Android Development (Exynos)] yash92duster:
For wifi password fix

In build prop

Change

ro.securestorage.support=true

To

ro.securestorage.support=false

Its already mentioned in OP.

Use build.prop app from playstore or root explorer
[Galaxy S 5 Android Development (Exynos)] duki994:
Read OP thoroughly!!!

All your doubts and questions are answered there.

Sorry, but don't post already answered question and potential bug fixes. Just read f***ing OP!

It's not needed anymore :)

But sode effect is that if you use custom kernel that can change/delete KNOX and change SELinux status, you lose securestoragesupport where WiFi passwords are saved. But after, saving works as it should.
[Galaxy S 5 Android Development (Exynos)] yash92duster:
[MENTION=3441913]duki994[/MENTION]

Ok

I did not know that :good:
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Stay calm bro and don't spend your nervs for guys who even can't read op thoroughly ))) We need you in good health to make our phone more smoother and faster ))) take your time bro ))) and just don't pay attention to these kind of guys I'll take care of them instead of you ))) cheers
[Galaxy S 5 Android Development (Exynos)] Asif ibn siraj:
Clearly speaking, I couldn't understand OP am not a dev or a Pro, I didn't find the download link of the Flashable zip, so asked about it, sorry if I caused any trouble
[Galaxy S 5 Android Development (Exynos)] duki994:
Yeah. But when you make ROMs you probably set securestoragesupport to false :)

When securestoragesupport is true, then phone saves wifi passwords somewhere in /system/etc/secure_storage folder.

When false it saves wifi passwords in /data/misc/wifi/wpa_supplicant.conf file.

I always backip that file and transfer it from phone to phone after rooting first :D :D

I still have some passwords saved from time when I had my old Xperia Mini :D

I don't spend my nerves. It's kinda hobby for me to make this kernels :)

I just wrote that so they would understand better :)
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
See you man keep doing your hobby because it's really useful hobby ))) my hobby is watching videos with puppies and ******* ( I mean cats guys )))))

---------- Post added at 06:22 PM ---------- Previous post was at 06:21 PM ----------

And actually this was a joke ))))
[Galaxy S 5 Android Development (Exynos)] MOS1981:
[MENTION=3441913]duki994[/MENTION]

Can you include this patch for CD-ROM USB Emulation :confused:

http://xdaforums.com/showthread.php?t=2196707

Thanks;)
[Galaxy S 5 Android Development (Exynos)] fhLan:
Whoa whoa. What kind of non related kernel issue that I might found? Root and busybox are working fine. Only synapse that still can't change cpu max frequency. Others like audio and tcp congestion are working just fine

Edit: now I'm using unmodded kernel adiutor, and changing big cluster max freq during boot is working just fine.

Also can I add audio control in kernel adiutor by using custom control feature?
[Galaxy S 5 Android Development (Exynos)] sandeepsivia:
It freezes the phone
[Galaxy S 5 Android Development (Exynos)] rohit9757:
[MENTION=560765]duki[/MENTION]

Device switched off and when tried to switch ON it gets stuck on Samsung boot screen. Is it just me or anybody else facing such issue?
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Clean inistall will help you ) and if you are on lollipop use lollipop kernel it's in other thread read op thoroughly
[Galaxy S 5 Android Development (Exynos)] rohit9757:
Come on man.. I have been using this kernel since it's first release & never had such issue.. happened twice on v1.9..
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Well I can't help you because v 1.9 works fine for me with wanted rom 5.1 , xposed.
[Galaxy S 5 Android Development (Exynos)] budsixz:
Awesome kernel dev

On stock kernel score was 42k

On this kernel 52k ^^
[Galaxy S 5 Android Development (Exynos)] duki994:
I don't trust Antutu. Many of scores fo Qualcomm are much higher than needed to. They probably paid Antutu. Also S820's and Exyns 8890's real life performance is much lower than what benchmarks say.

Better use PCMark. It is real life benchmark.

No devices from each category get too much difference. But you can see which one will work smoother. Much better results and no OEM hacks for it :)
[Galaxy S 5 Android Development (Exynos)] budsixz:
Still usage wise this kernel feels real nice and smooth

Haven't tested out battery life fully (tho my battery isn't best condition I think it started to puff a little )
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] Tested on CPH5, had some freeze but not to often.

Have u test it?
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
This lags are due to firmware new modofications which made in CPH5 firmware and on which [MENTION=6377149]yash92duster[/MENTION] come across when he was making new wanted rom 6.0 base ) hope [MENTION=3441913]duki994[/MENTION] will soon make new version of kernel with CPH5 opensourse ofcourse if it is already released)))

---------- Post added at 07:54 AM ---------- Previous post was at 07:50 AM ----------

No I have cheked and CPH5 opensourse doesn't released yet so will wait (
[Galaxy S 5 Android Development (Exynos)] duki994:
I won't add CPH5. Nothing really changed, just SELinux security patch which is useless with custom kernels because we use patched sepolicy to be able to boot normally and run scripts and root.

Maybe something in ramdisk, but I'll see how stable it is first.
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Talk to yash92duster he knows what has been changed in CPH5 he said that samsung added some framework res or jar files but I think that it don't show any problem for kernel only for roms))
[Galaxy S 5 Android Development (Exynos)] yash92duster:
When and where did I say like that bro:confused::confused:

I said I had some lib file bugs in building v6 Rom.

I did not mention anything about New cph5 kernel
[Galaxy S 5 Android Development (Exynos)] duki994:
Even if it makes any problem with kernel, I can't fix it. It's not C lang. source code problem. Probably just ramdisk.

If they changed something in ramdisk, I can update it, but then compatibility with CPE6 and other users would suffer.
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
Auh in that case I may misunderstand you bro sorry (

---------- Post added at 04:15 AM ---------- Previous post was at 04:14 AM ----------

I know that bro you are a kernel master))
[Galaxy S 5 Android Development (Exynos)] erfan_sezar:
hi...you dont want update your kernel?are you leave it?
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
He will probably update it when opensource will be released
[Galaxy S 5 Android Development (Exynos)] duki994:
I don't update because there is nothing worth to update. It's got all features plus it's stable and compatible with all ROMs.

Not really. My dev enviroment will be native Linux now. Not just from VM like I had for now. It will take some time because I need cash and real life takes precedence.

I'm also learning some Web Development, Android and AngularJS 2 framework.

I also have internship in our national state electrodistribution company (I study power engineering) so I have to get up each day at 6:50AM so I could get to the company by 7:30AM.

Don't expect updates until november. I may update some stuff for ROM compatibility soon.
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
See you bro good luck to you , you had done a lot for exynos galaxy s5 so I hope all it good will back to you and you will succeed in your life ! Thank you bro wish you all the best
[Galaxy S 5 Android Development (Exynos)] fhLan:
[MENTION=3441913]duki994[/MENTION] I think I've found something. If I change a15 max freq using synapse, what it change is /sys/devices/system/cpu/cpufreq/mp-cpufreq/cpu_max_freq but doesn't change /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq and doesn't affect antutu cpu info. But when I change a15 max freq using kernel adiutor, it does the opposite and does affect antutu cpu info.
[Galaxy S 5 Android Development (Exynos)] duki994:
MP cpufreq is Exynos's CPUFreq driver. It's driver used for scaling. Others have no effect.

Qualcomm uses the other one ( /cpu4/cpufreq/scaling_max_freq and so on).

Most apps read just scaling_max_freq because they were designed for Qualcomm devices and show that as info. Well, it's wrong for Exynos.

I don't have tome to explain in depth how does MP Cpufreq work. Just accept that MP cpufreq is boss and it's main scaling driver for Exynos 5422.
[Galaxy S 5 Android Development (Exynos)] fhLan:
So that's the reason you said that kernel adiutor won't do anything to cpu freq? What app that can read/check exynos cpu? Thanks
[Galaxy S 5 Android Development (Exynos)] iDouvie:
[MENTION=3441913]duki994[/MENTION] Bit of a noob here so please excuse the silly question but is there any (safe) way to keep the SElinux set to permissive, private mode in the new AJ rom v2.2 works when only in permissive, i do change it in the synapse app but it keeps reverting back, please explain when you can :)
[Galaxy S 5 Android Development (Exynos)] duki994:
Nothing should change SELinux.

Try typing this in terminal as root user:

setprop persist.security.ams.enforcing 0

This is first thing that pops in my mind and it's set in code to 0 in my ramdisk default.prop and can't be overriden. Maybe something bugged.

Then change SELinux to whatever you wish and see if something changes ;)
[Galaxy S 5 Android Development (Exynos)] iDouvie:
I just did this and i get an error reading "setprop: failed to set property 'setprop persist.security.ams.enforcing' to '0'

Not too sure on what to do next :/

Edit: Just tried it one more time and it worked i think, got no error now to wait and see whether the SELinux changes on a reboot :)

Thanks Duki!
[Galaxy S 5 Android Development (Exynos)] MOS1981:
[MENTION=3441913]duki994[/MENTION]

Could you Please include this patch for CD-ROM USB Emulation.

http://xdaforums.com/showthread.php?t=2196707

Thanks In Advance
[Galaxy S 5 Android Development (Exynos)] duki994:
Only when I find time. For now my build environment, my studies and earning cash will take priority. I'll see to release another release till mid November.
[Galaxy S 5 Android Development (Exynos)] duki994:
We actually have something like this in kernel.

For now I can't build or boot kernel since SaberMod discontinued toolchains and others don't work good for now.
[Galaxy S 5 Android Development (Exynos)] Ben4x4:
Hi, duki! I want to say "thanks" for you realy amazing kernel. So, i have a little bug in synaps. I can't change the I/o sheduler. I set it to "row", "flops", "cfq" etc. But it still remains "noop" after Synaps restart :( What's wrong?
[Galaxy S 5 Android Development (Exynos)] duki994:
Best is to leave zen. It's fastest.

Check if sched you set is in brackets in "Current I/O sched" live view below list.

If that doesn't work check root and root permissions for Synapse.
[Galaxy S 5 Android Development (Exynos)] killerBRs:
Can make a G900M ver And others?

(Like Kt-SGS5 Kernel, But Don't Have a Marshmallow Version)
[Galaxy S 5 Android Development (Exynos)] TheDarkSithLord:
No its only for sm-g900h exynos s5 version

---------- Post added at 04:42 AM ---------- Previous post was at 04:41 AM ----------

And to support other models he need other phone ))
[Galaxy S 5 Android Development (Exynos)] duki994:
Did someone maybe download or save sources of my kernel on his PC?

GitHub bugged heavily and many sources from many devs are corrupt. I relied heavily on GitHub, but now entire work is unbuildable.

I'd like for someone to upload and share my sources if he accidentally (in this universe) saved them :)

It's just too much job to start new. I won't have that much time in at least a year.
[Galaxy S 5 Android Development (Exynos)] somadsul:
I have your source of before a week

I don't know this will work for you or not but tomorrow I will zip it & send it to you.

sent from my Tencent OS G900H
[Galaxy S 5 Android Development (Exynos)] duki994:
Thank you friend :)
[Galaxy S 5 Android Development (Exynos)] Mirza_Husnain:
Help

[MENTION=3441913]duki994[/MENTION]

I loved your kernal. It seems awesome.

Please tell me setting for optimal battery.
[Galaxy S 5 Android Development (Exynos)] fhLan:
[MENTION=3441913]duki994[/MENTION] why v4a won't work with dorimanx's busybox on enforcing selinux? It can only work with stericson's if want to use enforcing but your kernel keep reinstalling the dorimanx one. But is it okay if I keep using permissive selinux?
[Galaxy S 5 Android Development (Exynos)] duki994:
Then stericsson one doesn't enforce. It may install script or run temporarily that disables SELinux.

Dorimanx one is pure busybox build from their git repository. Stable, clean, fast, full-packed for Android.

It's your problem if it doesn't work. For me it works even on enforcing on dorimanx busybox.
[Galaxy S 5 Android Development (Exynos)] fhLan:
How did you make it work? Do you have any v4a supolicy that works on dorimanx? Thanks
[Galaxy S 5 Android Development (Exynos)] duki994:
No. Everything works out of box.
[Galaxy S 5 Android Development (Exynos)] fhLan:
Even without flashing supolicy sh file to /system/su.d? Also why if I update SuperSU through recovery I can't even go to boot animation and it reboots back to recovery? Sorry for asking this many questions
[Galaxy S 5 Android Development (Exynos)] fhLan:
It's really weird. If I use dorimanx's busybox with stock kernel, v4a works on enforcing. But when I change back to [MENTION=3441913]duki994[/MENTION] kernel, it's stop working. It's really frustrating. I even try redownload the zip. Should I provide a log to you? I think the problem is with supersu not the busybox
[Galaxy S 5 Android Development (Exynos)] Mirza_Husnain:
I think duki99 isn't permissive at boot.

Bcoz i made it permissive and install V4A it doesn't installed.

But when i tried it on GreenApple which is permissive by default, it works good.

Please help [MENTION=3441913]duki994[/MENTION]
[Galaxy S 5 Android Development (Exynos)] kubussz:
My galaxy s5 in geekbench 4 he got 808 in single core and 2440 in multicore. Is not bad scores :)
[Galaxy S 5 Android Development (Exynos)] boleguc:
Is there tap 2 wake in this kernel? Thanks :)
[Galaxy S 5 Android Development (Exynos)] ponkz:
[MENTION=3441913]duki994[/MENTION] hey bro long time no see, anw amtra is making a new great room, i wonder if u can make ur kernel support his

Because imo ur room have better performance and battery life compare to others

Thanks in advance
[Galaxy S 5 Android Development (Exynos)] duki994:
Development stopped. I don't have device anymore​

I got LG G5 now.
[Galaxy S 5 Android Development (Exynos)] sonisamanvaya:
Congrats for the new phone n thanks a lot for what u have done for our device ...
[Galaxy S 5 Android Development (Exynos)] yash92duster:
Wow

Thanks for Support Man:D
[Galaxy S 5 Android Development (Exynos)] fhLan:
D`:
[Galaxy S 5 Android Development (Exynos)] touki?:
Thats a shame. I do love this kernel.

Thanks for your work though.

Sent from my SM-N930F
[Galaxy S 5 Android Development (Exynos)] nalas:
Guys - this kernel has KSM or UKSM support? (kernel same-page merging)?

thx
[Galaxy S 5 Android Development (Exynos)] Hitsouka:
Thanks for your support for our device... :D Congrats for the new phone... Your kernel is the best :)
[Galaxy S 5 Android Development (Exynos)] duki994:
It had. But it drained battery too much as it wasn't made for 8 core Exynos 5422.

5422 has a different code and that's a problem to KSM and UKSM.

But it has zswap :)
[Galaxy S 5 Android Development (Exynos)] nalas:
Aha thx a lot

WysÅ‚ane z mojego SM-N930F przy uÅ¼yciu Tapatalka
[Galaxy S 5 Android Development (Exynos)] redhead77:
KIND HELP

[MENTION=3441913]duki994[/MENTION]

Could you please share a version with KSM

Warm Regards,

RD
[Galaxy S 5 Android Development (Exynos)] duki994:
No, since source was corrupted by GitHub (and many others, not me). Maybe GitHub changed this now, as many errors were fixed on their servers.

And I won't enable any *SM as they will drain your battery in 4hr's plus will lead to random reboots as it can't work on 5422.

And I don't develop this anymore to be able to adapt KSM.

Everyone else is welcome to use my source freely :)

Both kernel and ramdisk :)

Feel free to use it :)
[Galaxy S 5 Android Development (Exynos)] nalas:
[MENTION=3441913]duki994[/MENTION]

Can You send my PM kernel with KSM or UKSM - Yours - if You can ?

Please - I care about KSM

[EDIT]

aha oki so no question about KSM.

Thx You so much.

Regards
[Galaxy S 5 Android Development (Exynos)] redhead77:
Could you please throw some light on why would they cause RAndom Reboots, am curious to know as I don't have much knowledge on kernel development:)

Warm Regards

RD
[Galaxy S 5 Android Development (Exynos)] duki994:
In throws processes on cores that are sleeping as KSM uses original CPUFreq framework, not Exynos specific which is a lot different. But that throws only errors as there are checks for this.

Sometimes that framework splits workload on 2 or more cores, and KSM needs single stream on single core for compression stuff. It can be more streams if configured so.

Shouldn't be too hard to fix, but I have a policy:

No device, no development.
[Galaxy S 5 Android Development (Exynos)] nalas:
[MENTION=3441913]duki994[/MENTION]

I have s7 too and ksm works well on exynoss cpu octa - maybe Yo can copy from source ksm module?
[Galaxy S 5 Android Development (Exynos)] duki994:
No device == no support. I don't develop this anymore since last year
[Galaxy S 5 Android Development (Exynos)] nalas:
aha.. oki - sorry

Thx :)
[Galaxy S 5 Android Development (Exynos)] jashancheema:
What is this?
[Galaxy S 5 Android Development (Exynos)] nalas:
Better menagment of RAM
[Galaxy S 5 Android Development (Exynos)] sagaracipta:
Up up up...
[Galaxy S 5 Android Development (Exynos)] MrMutlu:
I flash it on my nemessis rom v4.0 and my phone stay on boot logo how I can fix it ? thanks for help

sorry for my bad english
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Need to use modified kernel to boot n7 rom
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Extract it and flash the boot.img and SuperSU
[Galaxy S 5 Android Development (Exynos)] an-_-dro:
I have some questions:

1. I have full TWRP backup of my ROM (stock), if something wrong with my rom, can i

revert back to flash kernel only

from my backup?

2. I have MM latest firmware (Baseband CPC6 - build number G900HXXS1CQB5) withsecurity patch level February 1, 2017. Still compatible with this kernel?

Thanks in advance.
[Galaxy S 5 Android Development (Exynos)] Chinhai:
It depends on things you've been modified. If you altered system and things gone wrong, you must fully restore the whole of your system.
[Galaxy S 5 Android Development (Exynos)] an-_-dro:
thanks btw..yes i know if i modified system/files etc..i will resore my full backup. my questions was to reflash stock kernel from TWRP backup. which one i should choose? (not the whole system, just kernel).

so..is it will be okay if i flash this kernel?considering my build is latest. (This 2017)

one more thing, how to control wolfson feature in this kernel?
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Yes you can just restore only stock kernel and don't forget to flash SuperSu zip. I recommend to use stock kernel as OP stopped working on this project so this kernel has old source code. I don't know about wolfson.
[Galaxy S 5 Android Development (Exynos)] suraj koparde:
query

can i directly install it from twrp3.0?

i have already installed n7 rom...

does it work if i install kernel only, or shall i install rom with the kernel again??

please guide me... big bro
[Galaxy S 5 Android Development (Exynos)] Chinhai:
You can if you installed it on stock or S7 rom however you need to edit the kernel to boot n7 rom
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Try this
[Galaxy S 5 Android Development (Exynos)] ci0s:
I'm reinstall suprersu, but root not working :(
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Download SuperSu from play store
[Galaxy S 5 Android Development (Exynos)] justinirul:
Anyone have Duki Kernel for port A5?
[Galaxy S 5 Android Development (Exynos)] ci0s:
Not working. Reinstall superssu twrp.
[Galaxy S 5 Android Development (Exynos)] Chinhai:
Use the zip file of N7 port rom kernel its the same

Yes try this latest build

Don't forget to hit thanks button :good:
[Galaxy S 5 Android Development (Exynos)] suraj koparde:
thank u big bro

thanks bro... waiting for s8 port.... hope u will upload soon
[Galaxy S 5 Android Development (Exynos)] rohit9757:
Dafaq dude?
[Galaxy S 5 Android Development (Exynos)] yash92duster:
Lol:eek::eek::eek:

This is kernel thread

Not rom thread
[Galaxy S 5 Android Development (Exynos)] keyboardhouse:
i've installed Duki Kernel for N7 port in Dream UX Port (https://xdaforums.com/galaxy-s5/galaxy-s-5-android-development-exynos/rom-dream-ux-port-t3581145) and Grace UX Reloaded v7 (https://xdaforums.com/galaxy-s5/gal...nt-exynos/rom-grace-ux-reloaded-v1-0-t3532350) but i got reboot loop problem, my phone just reboot all the time in Dream UX Port and in Grace UX Realoaded v7 its stuck on green screen optimize app then reboot. sometimes its last long and then when i run some heavy programs and it goes reboot. i have no idea what is going on, so would you or anybody give me some advice to fix that..... thx
[Galaxy S 5 Android Development (Exynos)] duki994:
Ask [MENTION=5087738]asheesh131[/MENTION] and [MENTION=3811709]yashd[/MENTION]uster92 to modify their ramdisks to load my scripts from my ramdisk then repack my kernel :)

Should be 20min of work maximum.
[Galaxy S 5 Android Development (Exynos)] an-_-dro:
that's weird..currently i'm on dreamUX rom and duki kernel for N7 port everything's fine. there's must be conflict or something or you have made some changes to rom.
[MENTION=3441913]duki994[/MENTION] sir..about gpu voltage. why the default power consumption @266MHz suddenly high? i usually set this to 750 :D

please take a look at attachment.
[Galaxy S 5 Android Development (Exynos)] duki994:
That GPU voltage is in stock tree. Why? I have no idea. Either Samsung's typo/bug or deliberate obfuscation of released source code that can't be checked .

750 should be just fine :)
[Galaxy S 5 Android Development (Exynos)] adahkennedy:
Duki pls can u add more options to the kernel and also ur kernel don't work on graceUX ports

Any fix?

Great work dude
[Galaxy S 5 Android Development (Exynos)] yash92duster:
Read old chats

Read 1st post too
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Hey bro and [MENTION=3441913]duki994[/MENTION] can you make "duki kernel" or "duki kernel for n7 port" available for dream ux v2 (based on a5) rom ?