convert to AOSP pt 2

Signed-off-by: ayysir <dresadd09691@gmail.com>