Magisk module to systemlessly enable Samsung DeX standalone mode by patching floating_feature.xml
, it adds standalone
value to <SEC_FLOATING_FEATURE_COMMON_CONFIG_DEX_MODE>
key.
✅ Enables DeX standalone mode on supported phones.
✅ Compatible with magisk
and kernelsu
.
There are shell .sh
and batch .bat
scripts to use according to your OS, they're basically build and testing scripts.
Build related:
build-create-module.*
- Generates a new distribution ready ZIP module for installation.
build-delete-module.*
- Delete module the current generated ZIP from folder.
build-filelist.txt
- Lists all files and folders to be included in the distribution ready ZIP module.
Testing/debug related:
debug-unmount.sh
- Simple unmount script.
Every boot post-fs-data.log
a new log file is generated with debugging information, existing log file is always overwritten keeping space footprint small. It's usually located inside the modules folder /data/adb/modules/samsung-dex-standalone-mode
.
Check floating_feature.xml
file values by using su
and then cat /system/etc/floating_feature.xml
using your preferred terminal interface.
See Issue 2
See Issue 3
TLDR: Change cutout simulation to double cutout, thanks to @admiralsym
Generic instructions on how to change the display cutout setting
- Enable Developer Options (If Not Already Enabled)
- Go to Settings > About phone.
- Tap Software information.
- Tap Build number seven times until you see "Developer mode has been enabled."
- Open Developer Options
- Go back to Settings.
- Scroll down and select Developer options.
- Change the Display Cutout Setting
- Scroll down and find Simulate display with a cutout.
- Tap it and select Double cutout.
See Issue 4
TLDR: Use termux to manually install zip, thanks to @hzykiss
- Use a terminal emulator like termux.
- Do su to get root privileges.
- Run magisk --install-module full_path_of_the_module.zip to install the module manually.
2024.2
- Build/debug scripts restructured
- Module status bug fix, kept adding onto olders statuses on reboot
2024.1
- Initial release
No warranties whatsoever.
MIT License, check license.md
.