a guest Sep 6th, 2016 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/system/bin/sh
  2. if ! applypatch -c EMMC:/dev/block/bootdevice/by-name/recovery:9481516:883ae7afd72626e7c88b78059b5740429fd324d7; then
  3.   log -t recovery "Installing new recovery image"
  4.   applypatch -b /system/etc/recovery-resource.dat EMMC:/dev/block/bootdevice/by-name/boot:8641832:cd66a00f7ff89f134e50e2d9f62a526d52d7cd51 EMMC:/dev/block/bootdevice/by-name/recovery 883ae7afd72626e7c88b78059b5740429fd324d7 9481516 cd66a00f7ff89f134e50e2d9f62a526d52d7cd51:/system/recovery-from-boot.p
  5. else
  6.   log -t recovery "Recovery image already installed"
  7. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand