Torch application (from CyanogenMod)