a guest Jan 2nd, 2011 2,526 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Written By Brandon Golway (brando56894)
- echo "This will build and flash the recovery image"
- echo "Then your phone will reboot into recovery"
- echo "Make sure you have your build environment setup correctly"
- echo "And your phone connected via USB with debugging enabled"
- read -p "Press Enter to continue."
- cd ~/android/system/
- make -j`grep 'processor' /proc/cpuinfo | wc -l`recoveryimage
- adb push ~/android/system/out/target/product/sholes/recovery.img /sdcard/
- adb shell flash_image recovery /sdcard/recovery.img
- adb reboot recovery
RAW Paste Data