LeEco Infrared Fix

Disclaimer:
This module was developed on the LeEco Le Pro 3 (X720). It may or may not work on other phones (although users reported that it works on several other LeEco phones). Use at your own risk.

What's this:
This module allows all 3rd-party Infrared apps to use the IR Blaster hardware on several LeEco phones.

Compatibility:
Users reported that it works on:

  • LeEco Le Pro 3 X720 running EUI 5.8.018S
  • LeEco Le 2 X526 running EUI 5.9.020S
  • LeEco Le Max 2 X820 running EUI 5.9.21s

Background:
The LeEco phones contain not just a standard Infrared blaster (IR LED) but instead a much more capable infrared system-on-a-chip from Universal Electronics which in principle works like one of the physical universal remote controls they sell. It also supports "learning" IR codes from other remotes (something that is not possible with standard Android API).

Problem:
The Blaster works fine with the included app, but unfortunately LeEco did NOT implement the standard Android infrared API. So all other 3rd-party infrared apps don't work.

Solution:
The original Remote app from LeEco makes use of an additional installed service named "UEI Android Services SDK(LeTV)" (QuickSet SDK) which offers an API to apps and forwards the commands to the infrared chip.

This module hooks the standard Android Infrared API, captures all infrared commands on the standard API and forwards them to this QuickSet SDK API (it acts as a"bridge" between the two APIs, thus allowing all standard infrared apps to function). The standard Android Infrared API only supports sending infrared (and not receiving or "learning mode"). This is the reason why 3rd party apps cannot use the "learn-mode".

Compatibility:
Unfortunately LeEco did some customisations on the QuickSet SDK. So it might work or not on other phones and ROM versions. Just try it. I tested this on my personal LePro 3 (LEX720) running EUI 5.8.018S

I wrote this just in my free time, thus I cannot give you much support for other devices.
In case of troubles search for 'LeEco_Infrared_Fix' messages in logcat and the Xposed logfile (can be found in the Xposed installer app). Also, if you are developer or ROM builder feel free to look into my Github repos and adapt the code for your devices (and leave me a short note when doing so :)).

See the XDA-thread for more details.

Author(s): 
Package: 
at.zweng.xposed.lepro3infrared
Version name: 
1.1
Release type: 
Stable (low risk of bugs)
Number of downloads: 
11,771 in total · 1 in the last 24 hours
MD5 checksum: 
e87d26051f23581bd6c53937ef3b9f97
Uploaded on: 
Tuesday, December 6, 2016 - 20:01
Changes: 
  • Renamed app_name to "LeEco Infrared Fix"
  • add IR feature to phones which don't have it
  • this makes the module usable on much more phones
  • sucessfully tested by XDA users on:
  • LeEco Le Pro 3 X720 running EUI 5.8.018S
  • LeEco Le 2 X526 running EUI 5.9.020S
  • LeEco Le Max 2 X820 running EUI 5.9.21s
Version name: 
1.0
Release type: 
Stable (low risk of bugs)
Number of downloads: 
2,588 in total · 0 in the last 24 hours
MD5 checksum: 
872cc95811b2b39fb8b738ce9ebaaa2a
Uploaded on: 
Saturday, December 3, 2016 - 20:15
Changes: 

First version. Tested on LeEco LePro 3 (LEX720), running EUI 5.8.018S.