Fast0n

TimBoxAsLinux

Jan 2nd, 2022 (edited)
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. - Opz. Svilupp. > ADB attraverso la rete (Di conseguenza ci darĂ  IP)
  2. - `adb connect <IP>` acconsentire l'accesso
  3. - wget -O termux.apk https://f-droid.org/repo/com.termux_117.apk; adb install termux.apk; rm -rf termux.apk
  4. - `adb shell am start -n com.termux/.HomeActivity`
  5. ---
  6. - adb shell input keyboard text "apt\ update\ \&\&\ apt\ upgrade\ -y"; adb shell input keyevent 66
  7. - adb shell input keyboard text "pkg\ install\ termux-auth\ -y"; adb shell input keyevent 66
  8. - adb shell input keyboard text "pkg\ install\ openssh\ -y"; adb shell input keyevent 66
  9. - adb shell input keyboard text "passwd"; adb shell input keyevent 66
  10. - X2 adb shell input keyboard text "<PWD>"; adb shell input keyevent 66
  11.  
  12. - adb shell input keyboard text "sshd"; adb shell input keyevent 66
  13. ---
  14. - `ssh -p 8022 <IP>`
  15. - https://github.com/MFDGaming/ubuntu-in-termux
  16. - echo "clear; ./ubuntu-in-termux/startubuntu.sh" > ~/.bashrc
  17. ---
  18. - apt-get update && apt-get upgrade -y; apt-get install -y tzdata
Add Comment
Please, Sign In to add comment