android_device_samsung_msm8.../recovery/postrecoveryboot.sh
2014-05-18 23:33:07 -04:00

12 lines
248 B
Bash

#!/sbin/sh
# The partition to use is named "PARAM" and can be found by dumping the PIT.
# 0: charge
# 1: direct
# 2: recovery_enter
# 3: recovery_end
# 4: download_end
echo -n -e '\x03\x00\x00\x00' > /dev/block/platform/msm_sdcc.1/by-name/param