Inspired by https://github.com/realme-mt6785-devs/android_device_realme_RM6785/commit/7e09c7e7191a786b20e7e7da3e81f994c12eb404 and phh GSI