XE6
Modified to run on Nexus 7