From b61c359c0a4c086fa08f156b497543757fe33429 Mon Sep 17 00:00:00 2001 From: mauronofrio Date: Thu, 30 May 2019 21:08:12 +0200 Subject: [PATCH] Fix H2OS stock rom flashing --- recovery/root/init.recovery.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recovery/root/init.recovery.qcom.rc b/recovery/root/init.recovery.qcom.rc index 0cc1e9c..ed18801 100644 --- a/recovery/root/init.recovery.qcom.rc +++ b/recovery/root/init.recovery.qcom.rc @@ -32,6 +32,12 @@ on fs symlink /dev/block/bootdevice/by-name/oem_stanvbk /dev/block/bootdevice/by-name/oem_stanvbk_b symlink /dev/block/bootdevice/by-name/oem_dycnvbk /dev/block/bootdevice/by-name/oem_dycnvbk_a symlink /dev/block/bootdevice/by-name/oem_dycnvbk /dev/block/bootdevice/by-name/oem_dycnvbk_b + + # this is not good way for Hydrogen payload reserve + write /dev/block/bootdevice/by-name/reserve 0 + symlink /dev/block/bootdevice/by-name/reserve /dev/block/bootdevice/by-name/reserve_a + symlink /dev/block/bootdevice/by-name/reserve /dev/block/bootdevice/by-name/reserve_b + chmod 0660 /dev/qseecom chown system drmrpc /dev/qseecom chmod 0664 /dev/ion -- 2.20.1