modify hooks to resist apk changes and stop the recognition beeps