Reverse Engineering USB Protocol (Samsung DeX) – Digitalmunition

Home Forums Reverse Engineering USB Protocol (Samsung DeX)

This topic contains 1 reply, has 2 voices, and was last updated by  DragarX 3 weeks, 1 day ago.

  • Author
  • #312317


    Hello All,
    I am looking for help from the experts. If you own a high end Samsung Phone, you may be familiar with Samsung DeX. Based on my research, Samsung launches DeX on a virtual display on Android when connected to a HDMI dock or when connected to DeX on PC (MacOS/Windows). This virtual display is powered off when not connected to a HDMI dock or when not connected to DeC on PC.

    I would like to try to trick my phone into thinking that a Linux PC is able to run DeX on PC. Where is the best way to start? I just need to figure out how to start the DexUI on display 2, I can already interact with the secondary display. Any ideas?

  • #312318


    Custom roms can force DeX mod through any type of external display.

  • #312319


    Linux and USB support is pretty open and easy to implement and RE. You can create a mock (fake) usb driver that will just act as a MiTM between the physical device and another real usb driver so that it will act as a sniffer.

    As well as use it for injection.

    Obviously you can use wireshark to sniff traffic, I don’t think it can inject/manipulate

You must be logged in to reply to this topic.