Partial Samsung Open Source Update JB2
This patch is substantially different from the original one