RedditPP Mascot

RedditPP

r/PleX • … • u/svenz

PM4K / AMB6+ finally let me ditch my shield

## Updates

Apr 19 2026: Update to use p3i over avdvplus

## Background

So after I got flamed by the nvidia bots for bitching about my shield (https://www.reddit.com/r/nvidiashield/comments/1qbbeeb/i_am_so_done/), I said F-it, bought the AMB6+ and put coreelec + PM4K on it.

I can say after a week of use, I am blown away by this setup. PM4K is absolutely solid, and I even prefer the interface to the Shield Plex one (hiding spoilers in particular are a killer feature).

It's snappy, supremely customizable, has no crappy android ads/bad android TV UI, 0 stutters ever, perfectly plays all content including DV content, and has a better-than-native-plex interface. I can't believe I didn't switch to this earlier.

The only con really is the setup is kind of involved and not documented very well. So let me try to do that for you.

## Complete setup guide

You're going to want to follow https://www.reddit.com/r/PleX/comments/1ajszn9/remux_lovers_rejoice_the_coreelec_team_has/ for the most part.

Make sure SAMBA and SSH is enabled to do the rest of this setup, so you can access it over network. On a mac, it will be smb://coreelec, on windows CoreELEC. For ssh you access it at root@<ip-address> (can get ip-address from the Kodi system information menu).

## p3i

Grab p3i from https://github.com/pannal/CoreELEC/releases, put it into the Updates folder, reboot device.

This unlocks several DV related features, with the killer one being HD10+->DV conversion (very useful for example if your AVR can't pass through HDR10+ but can DV). It also fixes various video and audio bugs in base CoreELEC. It's maintained by the creator of PM4K, and recommended over avdvplus and others.

## ur02 remote setup

Pair the ur02 by holding Vol+ / Menu buttons, then pair in the Settings->CoreElec menu.

Now we're going to configure the bluetooth buttons (hwdb file) and edit the kodi keymap (gen.xml) - I started with the files at https://discourse.coreelec.org/t/3-in-one-modified-remote-files-for-ugoos-ur02-homatics-box-r-4k-plus-g1-box/52809, you can download those and just modify them or create from scratch what I put below.

Create an UR02.hwdb file and put it into Configfiles/hwdb.d:

evdev:input:b0005v0508p1980* KEYBOARD_KEY_c0041=enter KEYBOARD_KEY_c0030=f7 KEYBOARD_KEY_c00e2=mute KEYBOARD_KEY_c009c=pageup KEYBOARD_KEY_c009d=pagedown KEYBOARD_KEY_c0224=back KEYBOARD_KEY_c0223=homepage KEYBOARD_KEY_c0044=left KEYBOARD_KEY_c0042=up KEYBOARD_KEY_c0043=down KEYBOARD_KEY_c0045=right KEYBOARD_KEY_c00e9=volumeup KEYBOARD_KEY_c00ea=volumedown KEYBOARD_KEY_c0040=f1 KEYBOARD_KEY_c0221=f2 KEYBOARD_KEY_c0196=f3 KEYBOARD_KEY_c00b5=f4 KEYBOARD_KEY_c00b6=f5 KEYBOARD_KEY_c0183=f6 KEYBOARD_KEY_c00cd=playpause

hwdb file is specifically for bluetooth (the remote.conf is for IR only and not needed). c0030 is the power button - I map it to f7 because we want to keep the AMB6+ _always on_.

Then log into the device over ssh and run:

udevadm hwdb --update udevadm trigger -s input

(I'm not sure it's necessary, but it's from the CoreELEC wiki - a reboot might work too).

Now you can set all the binds using the Keymap Editor mod in Kodi, or just use the gen.xml file from the prior link (with modification to make it work in pm4k). The link has a remote guide image for reference on what each button does. Everything has to go inside of <global> for it to work with pm4k.

gen.xml which should get stored in Userdata/keymaps/

<keymap><global><keyboard><key id="61572">activatewindow(osdaudiosettings)</key><key id="61573">activatewindow(osdvideosettings)</key><key id="61589">subtitledelay</key><key id="61448">playerdebug</key><key id="61586">activatewindow(playerprocessinfo)</key><key id="61585">activatewindow(subtitlesearch)</key><key id="61584">activatewindow(osdsubtitlesettings)</key><key id="61586">playerprocessinfo</key><key id="61587">fastforward</key><key id="61588">rewind</key><key id="61584">contextmenu</key><key id="61590">activatescreensaver</key></keyboard></global></keymap>

Restart kodi to reload this. You should be done with a fully functioning remote.

## Seamless turn on / turn off

So the trick with the AMB6+ is to keep it on all the time. Then you just want the power button triggering your TV/AVR to turn on/off.

https://www.reddit.com/r/CoreELEC/comments/1pzwrhm/getting_seamless_sleepwake_functionality_on_the/?share_id=4ltjx0-1JriCcrEVtHhv7 has a pretty good guide, which maps the power button to activate screensaver and uses CEC to trigger the AVR/TV on and off when the screensaver is activated/deactivated. This should make it fully functional similar to an nvidia shield. I followed this guide pretty much except I also mapped my grey power button to my TV IR power-on code as a fail safe.

An alternative, simpler approach, would be to use the learning function of the UR02 to just map the grey power button to your TV's power code (as this is how LG TVs work to turn on as well, even if the remote is RF otherwise). Ensure the Kodi CEC settings prevent the TV/AVR from turning the AMB6+ off or on. Leave the red power button unmapped (or follow the link above to map it to activate screensaver to trigger CEC on/off).

— 0