yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
Ok, folks! After checking the modifications with [MENTION=4587002]Noxxxious[/MENTION] (thanks man!), here is the patch file for the kernel sources.

To add it to your kernel, just apply it to your local repo:

git apply UniDex.patch
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Many, many thanks!!! :D

Now I don't need to hesitate upgrading to oreo anymore :D
[Samsung Galaxy S8 Guides, News, & Discussion] erclalle:
Awesome guys! Just to be clear, this patch still does break magisk? Should I therefore wait for [MENTION=4587002]Noxxxious[/MENTION] 's v5.7 kernel? My HP LapDock was waiting around for this to happen, thank you so much!
[Samsung Galaxy S8 Guides, News, & Discussion] djb77:
Many thanks. My users will definitely thank you too :)
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
The patch doesn't break Magisk. Only the test kernel I compiled has a small conflict with the Renovate Ice ROM (on SELinux enforcement).

If you feel adventurous, make a twrp backup, flash the patched kernel, test it, and when you need root, just restore the boot partition from TWRP (or reflash Nox-T56).

If you need a stable kernel, wait for Nox v5.7 or TGP. They should be out soon.
[Samsung Galaxy S8 Guides, News, & Discussion] djb77:
Compiling it now...
[Samsung Galaxy S8 Guides, News, & Discussion] tr0teK:
any way i can use this with just an USB-C Hub without the USB-C to HDMI Adapter ?
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
For Dex you need an external screen. So your hub/adapter/dock/whatever has to have a HDMI or Displayport output and a screen connected to be able to use Dex mode.
[Samsung Galaxy S8 Guides, News, & Discussion] tr0teK:
I have a HDMI connection on my USB c hub but when I connect my phone to the hub Dex doesn't show up. There is also no option for Dex anywhere when i am connected to the hub. I have the kernel flashed which was posted for it. I am renovate ice Oreo.
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
You also need a kernel with Universal Dex patch.

The latest testing Nox kernel T57 (available in the Telegram group) has this feature. TGPkernel and Notoriuos will have this, too in their next release.

And one more thing: I read that you need to have a charger attached to the hub, otherwise it's just mirroring mode.
[Samsung Galaxy S8 Guides, News, & Discussion] saurabh.gbp:
Same thing happened with me, I have a 3in1 USB C hub (1 HDMI, 1 USB A, 1 USB C), I also don't get anything when I connect it to my HP monitor using HDMI cable via USB C hub, any help is appreciated.

---------- Post added at 04:52 PM ---------- Previous post was at 04:50 PM ----------

I haven't even got mirroring, nothing happens with or without charger to USB hub.

Info: Light ROM latest

S8+ dual sim

NXT57 downloaded from the telegram group.
[Samsung Galaxy S8 Guides, News, & Discussion] tr0teK:
I already did all of that from the beginning. It doesn't work.
[Samsung Galaxy S8 Guides, News, & Discussion] Kryzyss:
I can't found information. S8/S8+/Note8 work in DEX mode with Motorola Atrix LapDock (100, 500) without root?
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
No. Without root Dex will work only with the official dock or a Dex compatible adapter.

To make it work with any USB-C adapter, you'll need a patched kernel (Nox, Notorious, TGP, etc.) Then, it will work with the Atrix (it was tested)

OTOH, Dex (on Android Nougat) couldn't detect correctly the resolution of the Atrix, and the fallback resolution was way too ugly (the image was very elongated). I don't know if this was solved in Oreo.
[Samsung Galaxy S8 Guides, News, & Discussion] forcedv:
Currently use the Melopow 002 and on Nougat (official).

Just a few questions:

1. Does official Oreo stop the use of third partly adaptors like the 002?

2. Will the S8 get the S9 (use phone as mouse and keyboard) features via future updates?

3. Anyone working to get the S9 dex features through a third party app or hack?
[Samsung Galaxy S8 Guides, News, & Discussion] raffybest94V01:
i'm on renovate r48 and kernel nx test59 everything worked, then once I set all my applications the dex works ONLY if I put it in charge, if I do not put only the screenmirror as ever? how to use whiout a charge ?
[Samsung Galaxy S8 Guides, News, & Discussion] xxaa:
Some unofficial Dex seems to work without charge... Curious what's the hardware difference and how long last the S8 or 9 on battery.

I still try to understand how it work, it's not ARM linux because there is Ubuntu 16.4. right ?

Anyway there is a nice article on ZDNET over software giant stepping in like Microsoft with Office and dex as a "dongle"in the future. Can't provide address as new user.
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
No, they still work.

The S8 has the touchpad feature in Oreo. Didn't test the keyboard.

AFAIK there are no differences between S8 and S9 Dex.
[Samsung Galaxy S8 Guides, News, & Discussion] forcedv:
Thanks for the reply.

Could you please test the keyboard?
[Samsung Galaxy S8 Guides, News, & Discussion] xxaa:
Does Dex could be open on the phone's screen by some way ?Nobody speak about it. It would also need a customization for the sizing, is it open for that at all ? Cause then a small external keyboard with battery pack and voila oled screen for linux.

I'm curious for the dex's keyboard to. I read it's not release yet for the S9 and will be bring to the S8 later.
[Samsung Galaxy S8 Guides, News, & Discussion] gimmily:
I installed the latest Oreo build (not a beta) and I cannot get my Microsoft Display Dock to boot Dex. I have tried it with a mouse and keyboard plugged in, and have tried using both the HDMI port and the DP. Seems Samsung have 'patched' the ability to use 3rd party docks again...

Anyone else running the release build of Oreo and have gotten the MS display dock to work? Do i have to plug it into a Dex dock first to enable it?
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
Please read the last two pages, you'll have the answer to your question!

To use Dex with a third party adapter, you'll need to install a patched kernel, like Nox.
[Samsung Galaxy S8 Guides, News, & Discussion] stanleywinston:
yeah, it only worked on a couple of the beta builds without having to do anything else. then it went back to being useless
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
Oh, c'mon, it isn't useless :)

...well, as long as you root your phone, you'll have Dex with any adapter.
[Samsung Galaxy S8 Guides, News, & Discussion] fylim:
Anyone managed to get Dex running at higher resolution than FHD with Melopower M0002?
[Samsung Galaxy S8 Guides, News, & Discussion] ixs:
HI, and sorry for my questions, but i'm a nube. I can understand resding those pages that the only way for dex with normal usb c HDMI adpter is to install a pached kernel. Can someone post me the page for the most stable one whith how to install it? Is it necessary also to root phone and install a custom rom for doing it? I have just installed the the android 8 on my phone. Thanks many, and sorry..
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
1. I recommend Nox kernel.

2. Yes, you need to root your phone. You can keep the stock ROM (but custom roms are well optimized versions of the stock rom)

To install a custom kernel, you must flash TWRP first. Best way to do this is to follow a video tutorial (WCKD has a good video on youtube).
[Samsung Galaxy S8 Guides, News, & Discussion] ninekaw9:
Guys, you can also use DeX dock as USB-C hub for laptop. everything works.

Realtek ethernet works, HDMI works, USB 3.0 works.

You can even charge laptop by plugging power to dex dock, but I would not recommend that because Samsung charger is just 10 watt.

For the cable, search usb-c female male on shopping website.

You can also get cheap 30 USDish real geniune DeX dock on AliExpress

for example http://s.click.aliexpress.com/e/fMrby7m?fromSns=Messenger
[Samsung Galaxy S8 Guides, News, & Discussion] Coolleon:
Is it possible to launch Dex on a laptop monitor while still being able to use the keyboard and trackpad?
[Samsung Galaxy S8 Guides, News, & Discussion] erclalle:
Haha good to know, but as some have pointed out, other than its very high price and bulk, it just is a downright poor USB-C hub, it does not support gigabit ethernet, the HDMI port isn't 2.0, and it doesn't have high power pass-through, and fewer USB than most cheap adapters!
[Samsung Galaxy S8 Guides, News, & Discussion] kelvingamer:
Hi,

What Oreo ROM do you guys indicate to use Nox Kernel T57?
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
I use Reno 9.1, it works flawlessly. Other Roms were reported to work well with Nox and Dex too.
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
I'm sorry because it is not fully related to dex.. But can you share which renovate version did you flash? Since I've seen many people have wifi problem there.
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
As I said, 9.1. No wifi - or any other - problem.

S8 + Reno rom + Nox kernel + Universal Dex + Bixby remap = perfect phone for me.

Anyway, always do a TWRP backup before flashing a new rom, so you can go back if something's wrong.
[Samsung Galaxy S8 Guides, News, & Discussion] r8dooo:
Sorry if been covered will this modified kernel allow you use a USB C to USB C monitor or hp lapdock
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Personally, it does work on nougat device (I use batman ROM with hp lap dock).

But, somehow it doesn't work with my oreo system... Tried renovate and alexaga ROM with Nox kernel and doesn't work with hp lap dock.
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
What Nox version are you using? The one on XDA (T55) doesn't have the patch. You have to download a more recent version from Telegram (actually T65).

If it worked on Nougat, I see no reason not to work on Oreo.
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
As [MENTION=3194398]kbarni[/MENTION] said, it works now!!

Currently using oreo ROM on my hp elite lap dock with Dex mode on!

My problem was installing the nox kernel provided on xda page, which still haven't got the DeX patch yet...
[Samsung Galaxy S8 Guides, News, & Discussion] Xamadeu:
Is the dex-patch/a kernel also available for s8+ 9550 duos/dual 128gb with snapdragon?
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
As far as I know, snapdragon devices still unable to get unlock bootloader, so it is impossible for now..
[Samsung Galaxy S8 Guides, News, & Discussion] Xamadeu:
Hmm, thanks.
[Samsung Galaxy S8 Guides, News, & Discussion] blakwolf:
Yet another confirmation that the charger is critical to getting Dex mode working. I was able to get it working with the official Note 8 charger, as well as a Lumsing 3 port charger with the quick charge port. Passthrough using a external battery phone case would NOT work, so I had to remove the external battery case first.
[Samsung Galaxy S8 Guides, News, & Discussion] xxaa:
[MENTION=244953]BlackWolf[/MENTION]

Can you stream HDMI out from your battery cover's USB out ? Is it full USB C out ?

Are some unofficial dock not working without power ? How long does it last ?
[Samsung Galaxy S8 Guides, News, & Discussion] dzid_:
Simulate second display

Have anyone tried to launch Dex using Simulate secondary display from Developer menu ?

When I try to launch Dex activity using QuickShortcutMaker, the phone switches to landscape mode., but nothing happens.

What I don't understand is, why can't we launch Dex manually? I thought that's what kernel is doing here - creating second screen output and launching activity(?)
[Samsung Galaxy S8 Guides, News, & Discussion] reggiexp:
hi might be wrong to ask her but anyone has one of those 20$ docks? cant find any reviews on it :(

https://www.ebay.fr/itm/HDMI-Dex-St...e=STRK:MEBIDX:IT&_trksid=p2055119.m1438.l2649

https://www.ebay.fr/itm/Dex-Station...e=STRK:MEBIDX:IT&_trksid=p2055119.m1438.l2649

otherwise i can get 'fake mg950 dock' for 41$ https://www.ebay.fr/itm/EE-MG950-Do...e=STRK:MEBIDX:IT&_trksid=p2055119.m1438.l2649 looks like a original

anyway any one know or has those 20$ one?
[Samsung Galaxy S8 Guides, News, & Discussion] isaakmg:
People that kernel and rom work hdmi adapter for Samsung Dex in s8 exynos Oreo?

In nougat work fine....

Thanks in advance.
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
I use renovate 11 with Nox kernel (from telegram one, not Xda site since it's the latest)
[Samsung Galaxy S8 Guides, News, & Discussion] nearglen:
Anyone selling their Dex enabled rooted s8? Either T-Mobile or unlocked? I have a 950u1, but I just do not know how to root and do the kernal stuff. I got the lap dock when it worked on beta and my phone lost its mind so many times I had to finally update and of course ruined it. Now I miss it.

Let me know, thanks.
[Samsung Galaxy S8 Guides, News, & Discussion] ApprenticeJoker:
Touchpad Dex without dex pad?

Not sure if this is the right place for this but I have managed to get dex working without the dex station, using one of those adapters from china that have the hardware signal or whatever to make the phone think its a dex station. I am now looking to see if there is a way to use the phone as a touchpad, as can be done with the dex pad, or if this will still not work. I have so far avoided using any modifications to the kernel and my phone isn't currently rooted so bonus points if there is a solution that doesn't require this.

Thanks in advance guys :)
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Even using the Chinese dex pad, the phone will automatically show the TouchPad if you don't have mouse input on the PC
[Samsung Galaxy S8 Guides, News, & Discussion] ApprenticeJoker:
Just to clarify, I don't have a chinese dex pad, but more like a standard hdmi to usb-c adapter that activates dex mode. I am guessing from the way you talked about the dex pad that you need a chinese "dex pad" specifically to activate touchpad mode? Is there any way to get touchpad mode on something that thinks its a dex station?
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Yes, I mean the one that activates dex mode...

To get access for TouchPad mode, first of all you need your device to be on Oreo 8.1 (either stock ROM or custom ROM, doesn't matter). The TouchPad will be automatically turns on when it detects the environment you use doesn't have a mouse input. So, if you put a mouse on the hub, the TouchPad is disabled automatically.
[Samsung Galaxy S8 Guides, News, & Discussion] pheemc:
Hi, nice some 3rd party devices are working.

I got a MINIX neo-C usb hub with HDMI (originally its for the MBP) , does anyone know if it will run my s8 in DeX mode?.

I tried every combination of plugging in cables...it only mirrors my device screen. Till now i didnt try the original adaptive fast charge cable that came with the S8. Heard that this could be the issue!?
[Samsung Galaxy S8 Guides, News, & Discussion] kbarni:
As this adapter doesn't spoof the Dex station's vendor/product ID, you need to install a patched kernek (like Nox or Notorious). For that you obviously need a patched phone.

With these kernels, Dex mode will automatically launch if connected. Note that on Oreo you need an external power source, otherwise it will only mirror the screen.

(and IMHO this feature alone is worth to root the S8)
[Samsung Galaxy S8 Guides, News, & Discussion] Zionator:
whats going on ???

title says solved with a link to a youtube video that links back to here but where is the guide to get it done ???
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Sorry, to get what done?

If what you meant is to enable dex mode, here it is:

To enable universal dex mode activation (so you won't need special Dex hub), you need to root your phone and flash a kernel with the DeX mod in it.
[Samsung Galaxy S8 Guides, News, & Discussion] priedaine5:
I installed Tasker, but I'm afraid I'm not as advanced user as I thought to be. Maybe you could help with the guide of how to set up Tasker to change resolution/dpi when monitor is connected and sentio is stated up?
[Samsung Galaxy S8 Guides, News, & Discussion] alan9820:
first you need a rooted device

us tasker shell function

for DPI - wm density 1080 (e.g.)

for resolution - wm size 1080x1920 (e.g.)

you could also search in google or XDA forum for more detail step.
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Sorry, but is it possible to do so without root?

Because, if it not, isn't just flashing a custom kernel and just go dex mode is a lot easier and better?
[Samsung Galaxy S8 Guides, News, & Discussion] alan9820:
Sentio can do so now without root

Try searching Sentio DPI guide in google ^_^
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Woah, just read that Samsung Note 9 will feature dex system without the need of the dock!

That will be pretty awesome!!

Now I hope samsung will also enable the screen to be on as well, like huawei did on their desktop system.
[Samsung Galaxy S8 Guides, News, & Discussion] bchliu:
Nice.. I remember sending them feedback on this exact problem when I was still on their kickstarter program and beta testing their Sentio app (which was really crap at the time). No one wants to run their mobile app on a big 14" screen without changing the DPI ratios. Problem was also with their app running too high level up the stack. It needed to be lower than even a shell replacement in order to turn it into a truly usable desktop alternative.
[Samsung Galaxy S8 Guides, News, & Discussion] UniX1rm:
Check this video out. Working dex without dex. Not a note 9

https://www.youtube.com/watch?v=S63wn5nTa5E
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
Yep, there are some Chinese usb c adapter that is modified so it can be used as a dex adapter.

Also, I heard that note 9 dex system will be implemented on the older galaxy phones as well, so in the future we won't need to root the phone or buy special dongles for it :D
[Samsung Galaxy S8 Guides, News, & Discussion] bernardwu:
Hey, that is great news for a Dockless S8 user like me! Just wondering though, where did you hear that from? Is it legit?
[Samsung Galaxy S8 Guides, News, & Discussion] StardustGeass:
I forgot where I heard that (I think someone said it somewhere on Xda?), so take it with a grain of salt :)
[Samsung Galaxy S8 Guides, News, & Discussion] Tervel:
Is there any way to add the DeX Home apk to a Samsung S8 Active? It's just Ridiculous of Samsung to rob the Active of this awesome feature. I have downloaded multiple versions of the apk but it is my understanding that it needs to be loaded as a system app.

Thanks!
[Samsung Galaxy S8 Guides, News, & Discussion] Wilsonb:
To whom it may concern..

I have a Dex but don't use it.

(I can't use it with this Kernel/Chimera Rom build)

Personally I would rather be untethered anyway and use the touch screen as a mouse and a Bluetooth portable keyboard.

ChromeCast !!! wireless casting then Im using Linux Deploy for various linux Distros

There is also a Dex desktop alternative out there called

Sentio Desktop

______________________

Was going to do this but think it might require Oreo kernel since it only lists Note 9 and S4 Tab ;-(

Linux on DeX beta

is ready to download! In this beta, you will be able to run a Linux environment on your

Note 9 and Tab S4 devices

, and use Samsung DeX to project your development environment onto a desktop environment, complete with a monitor, keyboard, and mouse. With Linux on DeX, you can bring your code with you, wherever you go.

To get started, download the Linux on DeX app on your Note 9 or Tab S4 device. Make sure you are logged in to the Google account you used to register for the beta trial.
[Samsung Galaxy S8 Guides, News, & Discussion] broslav:
Did anyone try to use USB type C to HDMI adapter + "HDMI display emulator" plug to trigger the DeX mode on Note 9 (or S9+ with Pie update)?

I know that if you start chromecast-ing your screen to a Google chromecast, and then trigger DeX mode somehow, you'll get wireless DeX desktop on your TV over chromecast.

I own Google chromecast, a DeX Station and a S9+ and today I have ordered some cheap "HDMI display emulator" over AliExpress but it will take few months to arrive and try out...

I plan to plug it into DeX station to see if I can trigger the DeX mode without HDMI cable and finally ditch the HDMI cable between my DeX station and the TV.

Next year, with the chromecast, Pie update, bluetooth keyboard and mouse and a small Type C to HDMI adapter + HDMI display emulator, I should be able to enjoy both DeX on TV wirelessly, and use my S9+ on the couch.
[Samsung Galaxy S8 Guides, News, & Discussion] SilentMobius:
I posted the below in the other Dex related thread and I thought it might be a good idea to post it here for those that hadn't seen it:

Hi All, I just had a look through the S8 kernel source as I figured that anything in /sys/class would most likely have kernel code to support it, looks like the "Dex check" is as follows:

bool check_dex_support(struct displayport_device *displayport)
{
if (displayport->ven_id == SAMSUNG_VENDOR_ID
&& displayport->prod_id == DEXDOCK_PRODUCT_ID)
return true;

#ifdef CONFIG_DISPLAYPORT_ENG
return true;
#else
return false;
#endif
}

Which is pretty ****ty IMHO. CONFIG_DISPLAYPORT_ENG is a define that isn't set in the release kernel so, it looks like the only way to do this would be to spoof the vend/prod id's on the displayport adapter. I'm not sure id these ID's are displayport native data or USB ID's that then signal the electrical change of using the alt-mode pairs, though it's stored in the "dispayport" struct.

That is assuming that this check echo's out to /sys/class/dp_sec/dex and the dex_home checks it.

That said, for unlocked/rooted users if the samsung source compiles it should be a simple job to compile with CONFIG_DISPLAYPORT_ENG set

EDIT:

the prod/Ven ID's do come from the USB subsystem when a CCIC_NOTIFY_ATTACH is sent:

displayport->ven_id = usb_typec_info.sub2;
displayport->prod_id = usb_typec_info.sub3;

if(check_dex_support(displayport))
displayport_info("Dex mode supported product connected\n");

Also, here are the numbers it's expecting:

/* Samsung Acc VID */
#define SAMSUNG_VENDOR_ID 0x04E8
#define SAMSUNG_MPA_VENDOR_ID 0x04B4
/* Samsung Acc PID */
#define DEXDOCK_PRODUCT_ID 0xA020
#define HDMI_PRODUCT_ID 0xA025
#define MPA_PRODUCT_ID 0x2122
[Samsung Galaxy S8 Guides, News, & Discussion] bogdi1988:
I know Samsung likes to take advantage of magnets for various features.

Example: flip case has a magnet in a specific location. Keyboard add-on has a couple magnets. That's how the device recognizes that the accessories are installed.

Curious if the DeX has a magnet in the base, and the cable plugged + magnet would enable the DeX feature.
[Samsung Galaxy S8 Guides, News, & Discussion] Tricky901:
So i tried the magnet + hdmi and keyboard mouse combo.. It does not work, currently using the sentio app to have the closest thing to a desktop.
[Samsung Galaxy S8 Guides, News, & Discussion] bogdi1988:
So I kinda peeked inside my DeX unit. Couldn't open it all the way but it looked like it might be an NFC chip/antenna in the sliding base?

---------- Post added at 12:06 AM ---------- Previous post was at 12:05 AM ----------

Oh, and that Sentio app screams DeX in the design/UI part!
[Samsung Galaxy S8 Guides, News, & Discussion] Meleor:
Sentio's app is so lame comparing to Dex, Continuum or Oxi OS.

QUESTION NOW IS : How to fake the Samsung ID on a random dock station ?
[Samsung Galaxy S8 Guides, News, & Discussion] fonix232:
There's only a single magnet, used with a hall effect sensor to trigger phone sleep/wake when you close/open the flip case. Actual ID of the device connected is transferred via NFC.

I see that you're trying to crack this from the bottom up, making the kernel recognize anything as a DeX device. How about the other way around, hacking the DeX app itself to run even on unsupported hardware, as a third party app (change package name, change checks for devices)?
[Samsung Galaxy S8 Guides, News, & Discussion] Meleor:
I have contacted Samsung which confirm the presence of an ID in Dock.