I had the exact same problem. Unfortunately the IR codes on the android box and tv have some the exact same codes.
I got a 2.4gHZ keyboard that I plugged in to the USB port on the android box and used that as a remote instead. Only solution I could find or think of. it's actually better...