r/SamsungDex
•
u/CucumberAccording813
•
11d ago
•
1
News HzUnlock: High Refresh Rate Samsung DeX with No Root
Yesterday I posted DeX running at 240 Hz, but it needed temp root. A lot of you asked if it could work with Shizuku instead. It can, so I turned it into an app.
It's called HzUnlock. You just need Shizuku running (wireless debugging works, no root needed). Open the app, allow it in Shizuku, and turn it on. There's also a slider if you want a lower refresh rate to save battery.
I've tested it on my S24 Ultra and on an S24+, both on One UI 9. My monitor is an Odyssey G40B (1080p 240 Hz) through a USB-C to DisplayPort hub. Other Samsungs should work too. The app has a compatibility page that tells you what your phone supports, and even if it can't do full speed you should still get 120 instead of 60.
To answer some questions from last time: it's only for DeX on the monitor, your phone screen works like normal. It works on Snapdragon, I haven't been able to try Exynos yet. And the code is up on GitHub if you want to look through it.
Download: https://github.com/npfp222/HzUnlock/releases
If you try it, let me know your phone, your monitor, and whether it worked. There's a Copy Report button under Compatibility in the app that helps a lot.
Edit: 1.1.0 is out: It fixes DeX restarting every few minutes, the Reconnect Monitor loop, and a black monitor at very high rates (turning High Refresh off now fully undoes it). It makes unplugging safer, and the slider now offers all of your phone's rates. If something goes wrong, Diagnostics in the app has a report you can share.
Edit 2: 1.2.0 is out. If your monitor or TV is stuck at 60 Hz but can do more, open the app and tap Start at 120 Hz (or whatever it offers), then tap Keep. No root needed (Snapdragon only). If the screen goes black, wait 20 seconds and it switches back.
2
u/audiophile-disorder 10d ago
I have tested with my uhd monitor via hub usc and output video hdmi. Here it only shows 60 hz as available option.
Tested also with portable 144 hz monitor connected directly to usc port of the s25 ultra and the monitor. The app does recognize the monitor and it shows 144 hz as available refresh rate in the slider, but it shows a warning . Unfortunately I can't attach images to this post . Literal warning " The Monitor connected at 60 hz. Reconnect it to reach 144hz" Then a option to click in green says "Reconnect monitor ", if I select it seems it starts to do something but gets caught in a loop, where it just gets back to the same warning.
When I unplugged any monitor after trying this, my s25u completely freezes, I can use any navigation or even go to home, just black screen. Had to hard reboot on both times.
I have managed to get ss, let me know OP if these are any relevant to you. Thanks
2
u/CucumberAccording813 10d ago
v1.1.0 should fix the reconnect loop and makes unplugging safer. If it still freezes, please open an issue with the Diagnostics report from the app: github.com/npfp222/HzUnlock/issues
1
2
u/DeX_Mod DeX 10d ago
standard s25
I tried this connected to a dual mode monitor
this one can do 144hz at 4k, or 288hz at 1080p
at 4k, it would only recognize the monitor as capable of doing 100hz, yet would still only connect at 60hz
flipped monitor to 1080p288 and while hzunlock recognized the monitor at 288, it would only display a black screen (with standard dex trackpad on phone)
the interesting part was I could not scale down the refresh rate
my 3 choices were 288hz, 48hz or 24hz
I couldn't drag the slider down to 144, 120, 100 or even just back to 60
aka, at least on the s25 (snapdragon) it absolutely doesn't work
1
u/CucumberAccording813 10d ago
Updated the app to v1.1.0. Please let me know if the issue is fixed.
2
u/DeX_Mod DeX 10d ago
nope, this introduced new issues
now when I set the monitor to accept 4k144, the phone first attempts 1440p60, then finally 2160p60. the hzunlock app says it can tell the monitor will do 100hz, to reconnect, but the slider itself never shows more than 60hz
when I set monitor to 1080p288, it will BRIEFLY load it, then immediately go to black screen (on monitor) then try again, and black screen, over and over
again, the scaling of the refresh seems messed up, it goes from 288, to 120, then back to 48 and 24
just odd
but again overall, this does NOT work, at all
1
u/CucumberAccording813 10d ago
Thanks for testing again. Could you send me a report? Set the monitor to 1080p 288, turn High Refresh on and let it go black a couple of times. Then in HzUnlock go to Diagnostics > Copy Report and paste it here or on pastebin.
Also, if you drag the slider to 120, does the picture come back, or does it keep going black? And what monitor is it, and is it on a hub or a direct cable?
2
u/DeX_Mod DeX 10d ago edited 10d ago
Its direct usb-c cable
https://uperfect.com/products/umax-27-switches
HzUnlock 1.1.0 (https://github.com/npfp222/HzUnlock) samsung SM-S931W · Android 17 · One UI 9.0 · CP2A.260605.016.S931WVLUDDZJB [x] High-refresh modes [x] Full monitor rate [x] Lower rates [x] Heat protection Timing calls: 0x54/0x55 (verified) Access: ADB shell Settings: rate fastest, Fix Slow Connections off, Cool Down off, High Refresh on (apps at 288 Hz) Monitor: HG670T49 1920x1080 @ 288 Hz (fastest 288 Hz) Rates at 1920x1080: [60, 100, 120, 144, 175, 200, 240, 280, 288] Fastest per resolution: 1920x1080 @ 288, 1680x1050 @ 85, 1400x1050 @ 85, 1600x900 @ 60, 1280x1024 @ 85, 1440x900 @ 85, 1280x960 @ 85, 1366x768 @ 60, 1360x768 @ 60, 1280x800 @ 85, 1152x864 @ 75, 1280x768 @ 85, 1280x720 @ 60, 1024x768 @ 85, 800x600 @ 85, 848x480 @ 60, 640x480 @ 85, 720x400 @ 85, 640x400 @ 85, 640x350 @ 85 Stops: [24, 30, 48, 60, 80, 120, 288] Thats the monitor
1
u/CucumberAccording813 9d ago
The 8 Elite is only rated for 240 Hz @ 1080p, so 288 Hz is past what the phone can send and that's probably why it keeps going black. 1.2.0 drops it to 144 Hz on its own now, and you can also try 175, 200 or 240 in the app to see what holds. In 4K mode it can start at 100 Hz now too. Let me know if that fixed it! If not, tap Report an Issue near the bottom of the app. It saves a log file to your Downloads, so please attach that to the GitHub issue it opens. Thanks!
2
u/DeX_Mod DeX 8d ago
only ever get blackscreen at anything over 60hz on 1080p mode
in 4k, it offers 100hz or 60hz, and at 100hz it just constantly flickers, and never reaches full brightness
1
u/CucumberAccording813 8d ago
Thanks! 4K 100 is right at the phone's limit, so the flicker makes sense. 1080p 120 being black is weird though. Can you attach the report file from Report an Issue to your GitHub issue? It'll really help me diagnose the issue.
→ More replies (5)
2
u/KxrmaJunkie 8d ago
thanks. It got me 100hz. I have temp root too but have not tried that yet. how to use? just grant superuser?
if I'm limited to only getting 100hz with shizuku, does that mean I'll also be limited to only getting 100hz with root too?
2
u/CucumberAccording813 8d ago
Nice! Root won't get you more than Shizuku. The limit is your monitor and cable. If your monitor can do more than 100 Hz, send me a report with Report an Issue in the app.
1
u/KxrmaJunkie 8d ago
Yeh the monitor is 165hz and the cable should be capable of it. I'll try to send a report later. Thanks for app. Incredible either way. I don't think anyone has accomplished this before.
1
1
u/KxrmaJunkie 3d ago
Want to follow up. Got 144hz working on another monitor. (Direct usbc). Great app thanks
5
u/harisansari7 11d ago
broo bro bro....its working.... its not supporting my 165hz display but still 144 is far better than that crappy 60hz....thanks dude...huge love from my side
4
u/Backlundd16 8d ago edited 8d ago
Fanastic work. Version 1.2 works flawlessly; I have a Samsung S23, on OneUI 7.0 (to keep the old, much better DeX) and now finally get 120* Hz on my external 180 Hz 2k monitor. App says I need a newer OneUI version to get the full 180 Hz, but still everything is SO much smoother than 60 Hz. Not only animations, but also mouse movements feel much more snappy (i.e more "Windows/Linux desktop-alike").
*(locked to 100 Hz if you launch DeX with battery saver mode on)
Interestingly, I re-booted the phone, and did NOT have to re-connect Shizuku to Wireless debugging as it was already connected (=instant high refresh rate despite reboot). Not sure if this is due to the older software version running on my device?
EDIT: Works equally well connected directly via USB-C to DisplayPort cable, and with a USB-C DP Alt compatible USB hub in between (for charging the phone at the same time). Also confirmed to work flawlessly with Xreal 1S. Interestingly, UFO FPS test only shows higher refresh rates while physically moving the mouse - perhaps this is related to Samsung's dynamic refresh rate. A feature request would be to, if possible, bypass the dynamic refresh rate, enabling higher Hz continuously.
This is huge - can't thank you enough! Please add a donate-button, I'd happily buy you a coffee (or a beer :))
1
u/Helpful_World8125 1d ago
so we can get highe Refresh rate with USB Hub ? no need for direct cable ??
1
u/Backlundd16 1d ago
Yep, no problem! Tested two types; works equally good via USB-C to HDMI + PD hub (UGREEN) as well as USB-C to USB-C DP Alt + PD hub.
1
u/ivanecek 11d ago
Will this work on my s26 ultra atleast 1080p or 1440p 120hz i don't have hdmi 2.1 hub?
1
u/CucumberAccording813 11d ago
Haven't been able to test an S26 Ultra yet, but it should work. 1080p and 1440p at 120 Hz both fit in HDMI 2.0 bandwidth, so you don't need a 2.1 hub. Install it and check the Compatibility page in the app, and let me know what it says!
1
u/ivanecek 9d ago
I don't have a monitor but on a samsung tv with 120hz it doesn't work. I guess tv doesn't work because it always forces 4k no matter what i do.
1
u/AggressiveMetal7902 11d ago
Hay alguna manera de hacerlo en modo duplicado de pantalla mediante un hub HDMI 120hz ?
1
u/CucumberAccording813 11d ago
Por ahora solo está probado en modo DeX, no en modo duplicado. En DeX con un hub HDMI de 120 Hz debería llegar a 120 Hz si el hub y el monitor lo soportan.
3
u/audiophile-disorder 11d ago
Testing, will inform feedback. Thanks OP
2
u/harisansari7 11d ago
are you guys facing the glitch that after few minutes like 3-4 minutes dex just restart for no reason randomly
1
u/babooBurkhardt 11d ago
It's been... 9min... WHERES MY F***IN UPDATE?! IVE BEEN WANTING THIS FOR YEARS
3
u/aquasucks 7d ago
AI security audit of the code:
Audited the whole codebase (~6k lines) so you don't have to. TL;DR: it's clean.
Only permission requested is INTERNET. No contacts, no location, no file access. The update check sends your app version and nothing else, once a day, and you can turn it off.
Zero analytics, zero crash-reporting SDKs, nothing leaves the phone unless you hit "share." When you do share logs, it redacts emails and long tokens before showing you the report, and you see exactly what gets sent. That's more honesty than apps 100x its size.
The privileged part runs as a Shizuku service and every IPC call verifies the caller's UID. The one exported screen (the toggle shortcut) reads no extras, so there's nothing to inject.
Two dependencies, both from the official Shizuku library. The Gradle wrapper jar's SHA-256 matches gradle.org's official one — I checked. No secrets committed.
Actual risks, for completeness: the real trust boundary is Shizuku itself — whatever APK you install, not this repo, and the release has no published signature hash, so the paranoid move is building from source (takes 10 min). It also writes logs to /data/local/tmp, which any other Shizuku-approved app could tamper with. Minor.
License is source-available, not open source. Fine for personal use, just don't port it to your own project without asking.
Verdict: one of the tidier little apps I've read. Install it.
3
u/Backlundd16 7d ago
I did an audit as well, and found zero cause for concern. Such an impressive project, AFAIK this is indeed the first time the DeX FPS limit can be bypassed reliably.
2
u/aquasucks 7d ago
I pushed back on the internet permission:
INTERNET (android.permission.INTERNET) is Android's most basic permission: it lets an app open network sockets — i.e., make its own outbound connections (HTTPS requests, etc.).
So in the audit context: seeing INTERNET on a utility app is normal, and what matters is what the app does with it — here it's one HTTPS call, no data about you beyond the app version, and a toggle to turn it off entirely.
user
the single, optional daily "check GitHub for a new release" request. That's the only network code in the app (a hardcoded https://api.github.com call). No ads SDK, no analytics
1
u/Lethyzs 10d ago edited 10d ago
First of all, thank you for making this app!
I currently use a S23 with a portable monitor (UPERFECT 144hz - Model M173J18-S)
The 30 and 60 hz slider work (tested with testufo.com) but the 144hz does not unfortunately.
It is succesfully authorised with Shizuku version 13.6, adb.
Here's the report:
HzUnlock 1.0.0 (https://github.com/npfp222/HzUnlock)
samsung SM-S911B · Android 17 · One UI 9.0 · CP2A.260605.016.S911BXXUAGZIF
[x] High-refresh modes
[x] Full monitor rate
[x] Lower rates
[x] Heat protection
Timing calls: 0x54/0x55
Access: ADB shell
Monitor: Display 1920x1080 @ 60 Hz (fastest 144 Hz)
Stops: [30, 60, 144]
1
u/Lethyzs 9d ago
I tried it with my PC monitor (Acer XF240H). It did work there with an HDMI-to-USB-C adapter.
See log:
https://pastebin.com/7YSPELzHI tried it again with my portable UPERFECT 144Hz monitor, but unfortunately, it’s still stuck at 60Hz.
See log:
https://pastebin.com/c2QtLZC92
u/CucumberAccording813 9d ago
Thanks for the logs, they helped a lot. Your monitor always starts at 60 Hz and reconnecting couldn't change that. v1.2.0 should fix this.
2
u/sumantadas73 11d ago
Does it work on screen mirroring mode
1
u/harisansari7 11d ago
yeah i tested and i can confirm that its working in that screen mirroring too
1
1
u/Disturbed_Remains 11d ago
Is it possible to do screen mirroring with no black bars if so how?
3
u/sumantadas73 11d ago
Yes possible.I am using gg mouse pro to resize resolution.You may try other apps.
2
u/Wanano1310 8d ago
working on my s24 ultra latest updates oneui 9.0 with 144hz, however my phone screen looks 60hz to 30hz tho
anyways someone finally made this possible, was wondering why no rooters nor rom makers tried to achieve this
1
2
u/aquasucks 7d ago edited 6d ago
S25 ultra, 1440p 165hz working on my Gigabyte Auros monitor. At first it connects 60hz but clicking "High refresh" restarted it into 165Hz mode.
It sorta detected my 170Hz overclock but 165 Hz is fine for me. My phone got really hot though.
Test UFO showed 165Hz and the monitor HUD also showed 165Hz
Edit: Tested with 120Hz, monitor shows 165Hz but TestUFO goes down to 120Hz as expected.
1
2
u/DroidLife97 5d ago
can you make it work for android 13 and older builds? Parsing error on my S20 FE 5G A13.
2
2
1
u/Lasm998 10d ago edited 10d ago
I dont know it does not work for me, or am doing something wrong, with hdmi and display port, both can work with my computer at 144hz, and i have ugreen revodock which can output 144hz fpr sure but it only shows 60hz?
Edit: my monitor g5 oddysey i thing its called, it has 144 panel, so when i use DP it will see it as 2560x1440 and only gives me 60hz, when i use hdmi on it it shows as 4k not 2k and only lets me do 24hz!
1
u/mfpedroom 10d ago
HzUnlock 1.0.1 (https://github.com/npfp222/HzUnlock)
samsung SM-G990E ( S21 FE exynos) · Android 16 · One UI 8.0 · BP2A.250605.031.A3.G990EXXSOHZH4
[x] High-refresh modes
[ ] Full monitor rate
[x] Lower rates
[x] Heat protection
Timing calls: none
Access: ADB shell
Monitor: LS24D300G 1920x1080 @ 60 Hz (fastest 60 Hz)
Stops: [60]
It's a Samsung Full HD monitor that supports refresh rates of up to 100Hz, and I'm using a UGREEN Revodok Pro 212 hub.
1
1
1
u/Helpful_World8125 1d ago
Device: Samsung Galaxy S23 (SM-S911B, Snapdragon 8 Gen 2) OS: Android 14 · One UI 6.1 (UP1A.231005.007.S911BXXS3CXD2) Access: Root (uid 0)
Compatibility result: Partial
High-refresh modes is unavailable (enableHighResolutionsForExternalDesktop not found on One UI 6.1).
Full monitor rate is unavailable (Timing calls: none).
Lower rates and Heat protection work.
Because hasHighResolutionSwitch() returns false on One UI 6.1, Monitor Mode is disabled even though both /sys/class/dp_sec/dex and vendor.qti.hardware.display.config.IDisplayConfig/default are present on this device:
-rw-rw---- 1 system system /sys/class/dp_sec/dex
Service vendor.qti.hardware.display.config.IDisplayConfig/default: found
Could One UI 6.1's high-resolution switch be supported, or could Monitor Mode (root / IDisplayConfig) be allowed when hasHighResolutionSwitch() is false (especially for Screen Mirroring / 120 Hz)?
Diagnostics report attached.
0
0
u/Lasm998 9d ago
In versions 1.1.0, and the older versions i had problems with my monitor, it would show my monitor as 4k which not true its 2k, but with a diffrient hub it would show as 2k, and in the newer versions tells you it can run 144hz for example at 1080p, i put my dex on 1080p and it does not do it.
0
u/hanjigee 3d ago
This is what I'm waiting for a long time, let me try this first and give my experience!
3
u/Caroloux 10d ago
I can't get this to work. Using the same monitor, USB-C cable, and dock (ROG 65W Charger Dock), I can get 1080p at 120Hz on my laptop (which is the monitor's max resolution and refresh rate). However, on my Galaxy S25, it caps out at 60Hz and gives me this message: "This connection tops out at 60 Hz. The monitor lists 120 Hz, but it came back at 60 Hz after reconnecting. Either the hub or cable can't carry more, or the phone picks the monitor's default mode, which HzUnlock can't change without root. If the monitor's own menu has a high refresh or DisplayPort 1.4 setting, turn it on and plug it in again." Since this exact setup works at 120Hz on my laptop, I know the cable and dock aren't the issue. Also, when I connect my S25 to my TV (which supports 4K 60Hz and 1080p 120Hz), the app detects the 120Hz mode and tells me to switch DeX to 1080p. However, when I change the resolution to 1080p in DeX settings, the slider doesn't update—it stays stuck at 60Hz, and the app still reports that the resolution is 4K. (All of this is using shizuku and temp root)