Advertisement
metalx1000

Android adb shell busybox with history

Apr 8th, 2023 (edited)
1,772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #shell user
  2. adb shell -t 'export HOME="/data/local/tmp";busybox sh'
  3.  
  4. #start as root
  5. adb shell -t 'su -c "export HOME=/data/local/tmp;busybox sh"'
  6.  
  7. #aliases
  8. alias adbsu="adb shell -t 'su -c \"export HOME=/data/local/tmp;busybox sh\"'"        
  9. alias adbshell="adb shell -t 'export HOME=/data/local/tmp;busybox sh'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement