Skip to content

Fix settings command on onn 4K pro#88

Merged
zehnm merged 1 commit into
unfoldedcircle:mainfrom
ItsHarper:fix-onn-settings
Sep 18, 2025
Merged

Fix settings command on onn 4K pro#88
zehnm merged 1 commit into
unfoldedcircle:mainfrom
ItsHarper:fix-onn-settings

Conversation

@ItsHarper
Copy link
Copy Markdown
Contributor

I imagine overriding the settings command was needed at one point, but with the latest OS (Android 14, April 2025 security update), the onn 4K Pro now uses the standard KEYCODE_SETTINGS keycode to open settings. Sending a long-pressed home keycode does not work.

OS version tested: Android 14, April 2025 security update
@ItsHarper
Copy link
Copy Markdown
Contributor Author

ItsHarper commented Aug 24, 2025

When I tried to test this, I wasn't even able to access the Settings command at all (it wouldn't show up in the options when configuring buttons for an activity). Maybe that's because I didn't remove the stock integration or something (yes, I did set a custom ID), but I didn't want to lose my existing setup.

@zehnm
Copy link
Copy Markdown
Contributor

zehnm commented Sep 15, 2025

Thanks, I'll test it this week. Just have to find my onn device and update it. Got too many streaming devices...

@zehnm zehnm self-assigned this Sep 15, 2025
@zehnm
Copy link
Copy Markdown
Contributor

zehnm commented Sep 18, 2025

Updating my onn device now from Android 12 to 14.
Settings command was working on the old version. Also using the original remote when long pressing the home button. Let's see what changes...

Copy link
Copy Markdown
Contributor

@zehnm zehnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated my onn. 4k Pro to Android 14, patch level April 1, 2025 and the settings command still works with a long home press!
Same with the original remote after updating it as well: home button long press still opens the settings menu.

But also the settings key code works now.

I'm all for standards: using the official settings key code makes sense.

@zehnm zehnm merged commit c34e43e into unfoldedcircle:main Sep 18, 2025
@ItsHarper ItsHarper deleted the fix-onn-settings branch September 19, 2025 19:14
@ItsHarper
Copy link
Copy Markdown
Contributor Author

Weird, long-pressing home on the original remote does nothing for me. I wonder what the difference is. Anyway, glad this PR works for you as well, thanks for merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants