yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Yes, you can get it from www.sammobile.com

It always replaced the files, even on SuperMan-Rom, SuperStock-Kernel and SuperKernel. You only need to flash the vendor partition in order to get those files back. You can extract the vendor partition and even flash it as .img in twrp, no need for flashing with odin :)
[Samsung Galaxy S9 & S9+ Cross Device Development] jfm91:
From sammobile I cannot download CSC without the complete stock rom?
[Samsung Galaxy S9 & S9+ Cross Device Development] ingalaxyz:
Apologies for the questions but I'm just a simple rooter?

Let's say I want to try this kernel and go back to stock.

I need to pick up the vendor partition folder from the stock firmware zip, extract it, rename it as .IMG, flash it through TWRP and then obviously restore the stock kernel which should be in the nandroid boot backup?
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Nope only full roms sadly

Okay I guess it is easier to backup the vendor partition too before flashing. Backup vendor and boot. In case you want to go back, restore them :)

Sent with my Flash powered SM-G965F
[Samsung Galaxy S9 & S9+ Cross Device Development] ingalaxyz:
I can see in TWRP backup a "vendor image" option.

Is that the one I need or I need to extract it from the stock firmware zip, save it as a .IMG file and then flash it through recovery? Along with BOOT backup that is
[Samsung Galaxy S9 & S9+ Cross Device Development] mahdibassam:
[MENTION=5899304]Tkkg1994[/MENTION] Development for S9 is dead compared to N8 :( i hope you release a rom in the future to rescue this device :(
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Vendor img backup is enough :)

Most people are waiting till the device gets cheaper before buying it. Also many people using the s8/s8+ won't update the device since the changes are too small. I'm sure development will appear in the next few months :)
[Samsung Galaxy S9 & S9+ Cross Device Development] ingalaxyz:
At the end I did a backup of "boot" and "vendor image" in TWRP.

Then I flashed your kernel and magisk, everything worked well but I noticed a bit higher battery use.

So I reverted back to stock after recovering the above two.

The conclusion is that a lot users who said if you flash this kernel then you cannot return to stock or another custom kernel is incorrect.

Just need to flash the vendor image along with the kernel.

Thanks heaps for the help.

A question though, I noticed in Kernel Auditor that the big cluster max frequency is set to 1.7GHz, and when I tried to change it to 2.3 or 2.7Ghz it reverted back to 1.7Ghz.

Does that mean that this 8 core cpu is set as underclocked by default ?
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Hello again [MENTION=5899304]Tkkg1994[/MENTION]! Do CPU frequencies stay put when we underclock the kernel using Kernel Aduitor? (For both the big and little clusters)

Pardon for the noobish question, iirc some hotplugs such as mpdecision prevent frequencies from being set manually by the user

Thank you!
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
hi

i will change governor to interactive

MTweaks and synapse do not work

I can use what

thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] kingwicked:
@Tkkg1994 i generally use a custom kernel . right now im using ur latest kernel 1.1.0.

Since S7 Edge, i have always failed to connect OTG Usb with my Note8 and now S9+ as well.

it is always on powering other usb device. wether i try from developers option or otherway to use MTP

it simply doesnt work.

Dont get me wrong mtp works perfect adb works as well with pc. but i have a no go wit OTG.i tried an app called NTFS mounter but doesnt work

usb in ntfs,or wether exfat simply cant use with original usb otg that came with phone or 3rd party

if you can help or anyone else i would be really thank ful. it is really pissing me off a lot

Edit : Another point to clear connecting mouse or keyboard with OTG adapter works. What i really want that usb storage work
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
The frequency is changed dynamically by samsungs code in cpufreq/hotplug. Due to that the max freq gets reset, it's the default expected behavior :)

I don't know what you mean, but I haven't unlocked additional freqs to underclock the cpu if you mean that

Kernel adiutor works fine :good:

But some user wrote that they have issues that changing governor gives them a bootloop, because they aren't optimized

Hey!

This kernel has no changes made into the usb connections, hence everything is the same as on the stock kernel. Does it work on stock for you? As you write this it sounds like it doesn't even work on stock...
[Samsung Galaxy S9 & S9+ Cross Device Development] kingwicked:
Well i have never tried on stock kernel yet on S9+.

will try that .
[Samsung Galaxy S9 & S9+ Cross Device Development] AloxeCorton:
Dex adaptor with FlashKernel

Hi,

I tried this kernel and it worked well very well for me (the only problem is switching to another kernel requires a vendor format as described earlier).

However the one thing that didn't seem to work is the Dex to HDMI connector. I used my old S8 HDMI connector and this kernel didn't switch to Dex like it did with my modified S8.

One of the kernel feature is "- Enabled dex with any HDMI adapter" : does this turn on automatically or does something need to be switched for this to work? Has anyone else tested this feature?

Thanks

AC
[Samsung Galaxy S9 & S9+ Cross Device Development] jfm91:
is this Kernel-releated?

G965F (Dual-Sim). Wifi-calling and VoLTE dont work when SIM 2 is "data-sim"
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Hey :)

This mod isn't made by me. I have just cherry-picked it from kbarni. And since I can't test it (not owning a cable) I just hoped it works here as well, since it's the same patch which worked on the s8/s8+ and n8 oreo:good:

Okay thanks!

No, you can't use VoLTE on 2 sims. It's hardware related
[Samsung Galaxy S9 & S9+ Cross Device Development] jfm91:
Does that mean that it is impossible in future software?
[Samsung Galaxy S9 & S9+ Cross Device Development] starbucks2010:
[MENTION=5899304]Tkkg1994[/MENTION] do you plan to update this great kernel to ARD4? Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Yes - if hardware related.
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
I can't tell you anything for sure here, since I don't know if samsungs modem is capable of running 2 sims on 4g or not. But my guess would be that only 1 works with 4g, so hardware related and not possible to be enabled via software.

When the source code gets released, of course :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Benny-Danny:
[MENTION=5899304]Tkkg1994[/MENTION] Thanks for the kernel! Will try this with [MENTION=5150393]_alexndr[/MENTION] stock rom.

A little bit of offtopic (and don't get me wrong, I'm not asking for ETA's or something like that)... but on your profile I saw that you have an s9+ (although on your signature you don't have that info...) Should we expect a "super-hero" rom from you? If yes, have you already decided a name? :D

Anyway, thanks for your hard work!
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdfw85:
Thanks for the amazing job. I was able flash your zip file and it works well. I also want to be able to compile your source code and create my own boot.img file. Here are the steps I completed

- I compiled the kernel source and get Image file under arch/arm64/boot

- I dumped the existing boot.img and unpacked it into ramdisk and kernel image.

- I created the dt.img from the dtb files. But my dt.img file is much smaller than the one that is packaged inside the stock boot.img

- Finally I used the same kernel base, board, cmdline and run mkbootimg oon dt.img Image and ramdisk to create the boot.img

What am I missing here? What's the process to create the dt.img, probably that's where my boot.img is having issues. I'd appreciate any help that explains the boot.img creation process for S9s.

Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] Khanhlong123:
nẹp trang tri

oh

I compiled the kernel source and get Image file under arch/arm64/boot

- I dumped the existing boot.img and unpacked it into ramdisk and kernel image.

- I created the dt.img from the dtb files. But my dt.img file is much smaller than the one that is packaged inside the stock boot.img

thank
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Check the link here

If you use my source code, you can simply use the build.sh

It will auto create you a boot.img ready to flash

You don't need to unpack anything there :)
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdfw85:
Thanks! It actually works great. I can get the start2lte boot image file. However, my zip file is not really booting, although your zip file works fine. I tried installing the zip, flashing only the boot.img, but still no boot. What's the toolchain you're using? I don't get any errors while compiling the source, but may be I need to use a newer linaro package? Can you give more details about your compilation environment? Thanks a lot again.
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdfw85:
also where can I find the v1.1.1 zip file?
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
I use a ubuntu 18.04 setup with linaro toolchain (official one provided by linaro)

There is no such zip file to be honest
[Samsung Galaxy S9 & S9+ Cross Device Development] Benny-Danny:
I should have guessed from the image on the first post :D
[Samsung Galaxy S9 & S9+ Cross Device Development] jfm91:
Great news:

https://www.samsungcentral.com/2018...ormance-improvements-with-may-security-patch/

Does this mean that the ROM, CSC or Kernel has to be G965FXXU1BRE5?
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Good news indeed, but I don't think they can enable it for 2 sims at the same time.

Everything has to be on BRE5 base, kernel, rom, modem and so on
[Samsung Galaxy S9 & S9+ Cross Device Development] Bestplayer55:
Hey guys it seems like using EX kernel manager, cpu-settings, hotplug option- disable limits let's the phone use all the high frequency and also to change between freq. I tried to change cpu governor to interactive and others but the phone just restar itself after couple of seconds.
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
New kernel update :)

FlashKernel V1.2.0:

- Rebased on latest BRE5 source code

- Updated to latest BRE5 ramdisk

- Updated linux to latest 4.9.102

- Samsung hasn't released the dts files for BRE5, so I modified it manually (revers engineering). Let's see how many people will kang us :D

- Adjusted some small things

Download:

Via GrifoDev

You have two options on our websit, if you are logged in you will see a "download" button. Gives you full speed without restrictions. There is also a AFH in the post available in case you haven't signed in yet :good:
[Samsung Galaxy S9 & S9+ Cross Device Development] Bestplayer55:
Governors makes the phone to reboot itself everything else besides that seems working good
[Samsung Galaxy S9 & S9+ Cross Device Development] xFirefly93:
Because none of the additional governors are not optimized & adjusted for the Exynos 9810 SOC, that's why it reboots. Samsung have customized the S9(+) with the Exynos 9810 circuits to work ONLY with the default scheduler and CPU governor.

Check the ElementalX kernel thread for [MENTION=4684315]flar2[/MENTION] answer on this subject.

Btw. Why disable the WQ_POWER_SAVING driver?
[Samsung Galaxy S9 & S9+ Cross Device Development] Bestplayer55:
Oh thanks!

The wq_power_saving is disable by default and I dont k ow why it cant be enable. Anyone know how to enable it?
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Power Efficient Work queues is disabled if hotplugging is enabled.
[Samsung Galaxy S9 & S9+ Cross Device Development] hadinz:
After flashing the kernel my camera is no longer working. It opens up but black screen. Anyone has the same issue?
[Samsung Galaxy S9 & S9+ Cross Device Development] Noxxxious:
Recompile the kernel with it enabled.

You most likely need to be on the latest rom base due new fimc drivers
[Samsung Galaxy S9 & S9+ Cross Device Development] jfm91:
I can confirm that VoLTE and VoWiFi works on SIM1 when SIM2 is sett to "mobile-data" after installing official BRE5 (NEE) and FlashKernel 1.2.0

Right after installing official BRE5 (NEE) and TWRP I had the same problem. Installed FlashKernel 1.2.0 and camera was fixed
[Samsung Galaxy S9 & S9+ Cross Device Development] ffaaiissaall:
Where can I download flash kernel v 1.1.0?
[Samsung Galaxy S9 & S9+ Cross Device Development] pepo187:
flashed Soldiers latest rom..then kernel 1.2.0 and camera doesnt work too
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
You guys have to READ. Without updated VENDOR Partition (from BRE5 base) camera doesn't work. Camera Firmware has been updated in BRE5.
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
As I wrote, this kernel is only tested on BRE5 base, so I suggest you all to ONLY use it on the recommend base...

They aren't compatible, I'll remove them in the next release

And a few days later there will be 104 and 105 and so on :D
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Here you can see that you can now even use LTE on both sims, so their SOC was capable of it but not activated yet:

Sammobile
[Samsung Galaxy S9 & S9+ Cross Device Development] muhammadshais:
Great kernel works. Perfect on bre5 base. [MENTION=5899304]Tkkg1994[/MENTION] can we expect your rom for S9 I miss it from s7 days
[Samsung Galaxy S9 & S9+ Cross Device Development] bro2018:
I'm using batman rom 2.0.0 on S8+.

I wanna change android device ID.

With device ID changer from google play store, I failed.

Using terminal emulater ("pm disable com.sec.knox.seandroid" command), I failed also.

I think the reason is Knox.

There is still Knox in batman rom 2.0.0.

We can see Knox at 'system setting - phone info - software info'.

I don't wanna factory reset, because it make a lot of trouble and works.

How can I change device ID?

or

How can I remove Knox in batman rom 2.0.0? (if the reason why we can't change device ID is Knox)

Is there any method for us batman rom 2.0.0 users to change device ID & remove Knox?

Please help me.
[Samsung Galaxy S9 & S9+ Cross Device Development] Benjamin_L:
This is not the s8 forum
[Samsung Galaxy S9 & S9+ Cross Device Development] nestade:
Same. Hope there will be a release soon now that Renovate (the only comparable ROM for now) is EOL (again) - always switched between Superman/BatmanROM and Renovate on the s7 until development for renovate s7 stopped.
[Samsung Galaxy S9 & S9+ Cross Device Development] marquelito:
Yeah me too. Hope for a flashrom release
[Samsung Galaxy S9 & S9+ Cross Device Development] hochocnua:
BRE6 is out and Kernel build latest 4.9.107. Do you see or not ?

You don't want update ?

I am sorry, i am very disappointed what you said about Flash kernel and Flash rom.
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
BRE6 and BRE5 share the same kernel source..

My real life has priority over any android development. I can't get graduated and earn a living with developing. It's a hobby and I do it for fun, not to match expectations
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Dude have some respect, the devs here work for free. It's basic courtesy to not ask for ETAs since not everyone has free time to work on Kernels, ROMs and the like.
[Samsung Galaxy S9 & S9+ Cross Device Development] Ubimo:
[MENTION=5899304]Tkkg1994[/MENTION]

Is there (I did not find) or are you planning a ROM for S9 or S9+? Like SuperMan Rom?

I want to buy a new phone and I chose the phone which is most likley supported by your superior roms. :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
I don't think that I will support any upcoming phone as good as I did with SuperMan. Life gets more serious here and I don't have too much time to spend on android. If I'll do a rom it will be a more basic one (to fit my own needs)
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
shame :crying:

a rom deodex with iris, fingerprint reader at startup, and magisk that works, we have not ...
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
That's what I understand under "a basic rom" :D
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
Lol

one like the renovate but up to date, and I will be happy :)

Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] Chrispearson172512:
BRG6 source code out :good:
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
FlashKernel V1.4.0:

- Source updated to BRG6

- Ramdisk updated to BRG6

- Toolchain changed to latest google 4.9 (due to compatibility and overall performance)

- Linux updated to 4.9.116

- Reverted EAS update from FlashKernel V1.2.1 (people reported freqs being locked)

- Updated AIK to 3.3

Information:

I'm sorry that I skipped several versions on XDA, I completely forgot about the thread here. I released V1.2.1 and V1.3.0 earlier on www.grifodev.ch. However this release now is now the most up-to-date kernel. Only use it on BRG6 based roms!

Download:

Via GrifoDev

You have two options on our website, if you are logged in you will see a "download" button. Gives you full speed without restrictions. There is also a AFH in the post available in case you prefer it over the GrifoDev download :good:
[Samsung Galaxy S9 & S9+ Cross Device Development] hochocnua:
Thanks and donate for your hard work.

freqs 1794mhz stuck fixed.
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
hi all

what are the big core frequencies with 1.4?

thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] Alhaddad:
Camera stopped working for me on build 1.4.0, i went back to build 1.3.0 and it worked again.
[Samsung Galaxy S9 & S9+ Cross Device Development] GeyerA:
Hi, flashed your kernel on top of DevBase 5.9 and all working well so far. Thanks again..
[Samsung Galaxy S9 & S9+ Cross Device Development] scholz123:
Everytime i choose Interactive Governor the Phone is rebooting. Whats wrong?
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
Since the phone is based on a very new 4.9 kernel, only sched based governors are supported. I will disable the unsupported govs in the next update

Thanks :)

This kernel only works on full BRG6 base, not BRF8 for instance

The very same as on stock :)

Sent with my Flash powered SM-G965F
[Samsung Galaxy S9 & S9+ Cross Device Development] dorf18:
Hello [MENTION=5899304]Tkkg1994[/MENTION] will you be doing rom and CSC selection for s9/s9+ ? Made the jump from s7 one of the best developers love your work.
[Samsung Galaxy S9 & S9+ Cross Device Development] ounerkouks:
hi all

please i can have geekbench score with this kernel ?

which application do you use for this kernel ?

Big thanks !
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
Hi,

After flashing the kernel, my camera stopped working. I understand that it's because my ROM is not up to date, but there is no OTA update available, and I can't find the BRG6 files for XEF on sammobile. Is it important that I stick with XEF ?

I've found this :

https://xdaforums.com/galaxy-s9/sam...f-fd-twrp-flashable-firmware-updates-t3770866

But it says "only using DBT/XEU Firmware". Is it safe to flash it ?

Maybe I could flash it and then flash XEF CSC with your selection ? (https://download.grifodev.ch/entry/21-sm-g95xf-fd-n-flashable-csc-selection-final/)

My current base is G965FXXU1BRF5

My current version number is R16NW.G965FXXU1BFR8

Thank you for you work
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
Yes I know, that's why I'm looking for the files to update to BRG6 :)
[Samsung Galaxy S9 & S9+ Cross Device Development] oulouloul:
Yes. Superman rom was amazing on my old S8plus. I wish he could cook a rom for s9/s9+
[Samsung Galaxy S9 & S9+ Cross Device Development] czar22:
after Flashing the kernel the Camera APK FC ??

on SM-965FD

any fix ??
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
I can't tell yet. Previously I had so much time to work on android (around 5-10 hrs per day). Nowadays I'm happy if I can spend 30 mins per week...

To control this kernel use kernel adiutor. The benchmark is very similar to stock, as I haven't added OC or UC

You can do that via sammobile

Yes, by reading before posting :)

Except that I never did a SuperMan for the S8+ :D

Sent with my Flash powered SM-G965F
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
Thank you for your answer, but the reason of my original post is precisely that I can't find the last version for XEF on sammobile

https://www.sammobile.com/firmwares/galaxy-s9-plus/SM-G965F/XEF/

Here is my original post

https://xdaforums.com/showpost.php?p=77238647&postcount=151
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
It's ok tu use this if I'm in France ? I have to say, I don't really understand this CSC thing, why would I need a different software depending on the country I live in
[Samsung Galaxy S9 & S9+ Cross Device Development] oulouloul:
Lol. Sorry I mean batman :)
[Samsung Galaxy S9 & S9+ Cross Device Development] dorf18:
Plz make CSC selection if anything no other rom supports XAC CSC
[Samsung Galaxy S9 & S9+ Cross Device Development] busti:
Hello tkkg,

First of all, big thanks for your work!

I already was a big fan of your superman rom and now where i saw this flash kernel, i just had to install it!

It seems like its working realy smooth and without a problem, except for one:

On my kernel auditor, when i go to cpu and then to the big one and try to set it to 27xx it always gets set back to 17xx nearly instantly.

Im using 1.4.0 of your flashykernel.

Everything else seems to qork just right, and the funniest thing tho is, i did a benchmark before and after the kernel, and it seems like im getting a bit more points than before.

And if i start the overview of the kernel auditor i see it used the 27xx mhz for like about 10-20 seconds while the test, but why cant it be used like all the time while im doing benchmarks/whatever.

Is it a kernel problem or is it just what it is, and cant be changed?

I attach pictures in some minutes to show u the difference.

Greeting and a big thank you.

Edit:

Pictures:

Edit2:

Can't say much about the battery consumtion, gonna try this out today.

Edit3:

It wont show the pictures, here the urls

Httxps://ibb.co/fNRBqe

Httxps://ibb.co/h4NO3z

Httxps://ibb.co/knywOz

Edit4:

Cant post links, pls remove the x in httXps.

Sorry

Edit5:

I tried the performance gov, but it slowd down my phone as f*ck.

It then only used 6xxmhz for all kernels, dunno why.

Edit6:

Usage of big kernel:

httxps://ibb.co/hy3xfe
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
Great, thank you

I downloaded BRG6 firmware for DBT and as you said, it looks like it's multi CSC as it's named CSC_OMC_OXM.

To update, should I flash all 4 files AP BL CP and HOME_CSC ?

Thank you for your help
[Samsung Galaxy S9 & S9+ Cross Device Development] Fardenco:
I followed your guide and everything went flawlessly. Thank you again
[Samsung Galaxy S9 & S9+ Cross Device Development] Tkkg1994:
The cpufreq is controlled by the hotplug mechanism from samsung. Depending on usage and many other factors it decides the max freq on the big / little cores. That behaviour was already the same on the s7/s7e

The behaviour on the stock kernel is the same as well, why you may ask? Yes because this is how samsung programmed it to be :D

I will also disable all 3rd party govs as the only one supported is schedutil.