add size proof
update config, similar to https://github.com/C3C0/android_device_thl_w8, thanks C3C0