I'm trying to find a way to launch Samsung Dex on the phone screen itself, rather than via cable or wirelessly on an external monitor. Phone has root privileges.
On Android 9, tweaking the build.prop file was enough to make the system behaving like a Samsung tablet, hence allowing to launch Samsung Dex on the phone screen. ro.build.characteristics=phone changing "phone" to "tablet"
On Android 10 the same trick does not work.
Is there any shell command (via termux or adb) to force launch a system app like Dex and to be shown on the main phone screen (display -d1) rather than on an external screen (display -d2) Thanks in advance for any input on this!