There is another way to prevent the error which would be by preventing the parent if statement from returning true. One variable which is checked is the this.mEndurance
variable.
This variable is set with this line of code: packageManagerService.mIsEndurance = SystemProperties.getBoolean("ro.vendor.tct.endurance", false);
So if we can somehow modify the system property ro.vendor.tct.endurance to return true then we can bypass the check and install the package!
This is where our developer is currently up to, if you have any cool ideas on how to modify this system property without root then by all means let us know!