g2: make omni compatible

Change-Id: I1b5bb51f3b1b15dd01752c118de556d0bfa49976
Add TWRP support

Signed-off-by: dr87 <nb00870@gmail.com>
Fix TWRP build
g2: fix camera / camcorder preview

Change-Id: Ic1ba575d2a2d61172b640a214bddceb9e3c49734