Fork from https://code.google.com/p/pinkie-live/ with fix for KitKat devices