binky123 wrote:Another thought is to modify the Xiaomi MiBox to accept a different IR protocol. I usually see NEC1 in the android remote.conf files posted in this forum. NEC1 is probably easier for the MX-500 to learn.
You're probably thinking about modifying the /etc/remote.conf file, which controls the IR receiver on AMLogic boards. I don't think this is possible with the MiBox, even though it uses the same SoC as the cheaper Android STBs and sticks.
First of all, gaining root on MiBox is not that easy. It uses official, certified Android TV (not just a standard Android like the rest of AMLogic devices) and is not pre-rooted. There's no known rooting solution for current versions of firmware.
To get root, you'd need to downgrade the box to a leaked developer firmware version, which is older than any official firmware for the box. It has a userdebug enabled so the root can be gained quite easily using adb.
There's also a leaked Nougat beta build 1028, which also seems to be a userdebug enabled, but I think it has some issues with Youtube. There's also a risk of loosing DRM keys (used by Youtube, Netflix and built-in Chromecast) when downgrading back from Nougat to Marshmallow.
Of course by flashing other firmware version that these two above, you loose any modification you've done using root, so you're stuck with these versions.
Another issue is that most AMLogic devices use a software mode in the remote.conf file and the file then describes the NEC protocol. MiBox uses a hardware more, which probably means that it has additional hardware sitting between the SoC and the receiver, which implements the protocol and passes an already decoded data to the SoC. This would mean that there's probably no way to switch to NEC on this box. On the other hand, having root would probably allow to extend the key mapping with additional keys (still using MiBox protocol).