Revert "Revert "Reverting codec to original state before applying patch.""

This reverts commit 60d3b23e9e66d7b909cc7e2e4186c46a2cdedb48.
Revert "Revert "patch: fix sound for aosp roms""

This reverts commit 7230946eb96ae3baebd7b6d38f24b1e36eb18d49.