Created
June 19, 2016 09:10
-
-
Save TommyJerryMairo/7601095f4f11457d58debe530d0fa793 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export TRIGGER=FB_RecoveryLauncher/recovery.trigger.new | |
export LAUNCHER=FB_RecoveryLauncher/recovery.launcher | |
export RECOVERY=FB_RecoveryLauncher/recovery.zip | |
export OEMTRIGGER=/system/bin/logcat | |
export OEMCMD=stop_partitioning | |
fastboot flash /tmp/recovery.zip $RECOVERY | |
fastboot flash /tmp/recovery.launcher $LAUNCHER | |
fastboot oem start_partitioning | |
fastboot flash $OEMTRIGGER $TRIGGER | |
fastboot oem $OEMCMD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment