Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/sbin/sh
- # Restart with root hacked adbd
- echo msc_adb > /dev/usb_device_mode
- touch /tmp/recovery.log
- sync
- NEEDS_ADBD=$(ps | grep adbd | grep -v grep)
- if [ -z "$NEEDS_ADBD" ]
- then
- /sbin/adbd recovery &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement