theme: override: footer: style: template center: "Enable Linux Power with Android" right: "{current_slide} / {total_slides}"


Outline

  • termux - an Android terminal emulator and Linux environment app
  • scrcpy - "screen copy" mirrors Android devices
    • scrcpy desktop

Android is Linux-based

  • Android 啟動過程 - init 進程 https://hackmd.io/pJpAeKAeRea0VIW3oI-mXw?view
    • https://hackmd.io/@AlienHackMd/BkvyAzNf9
  • The Generic Kernel Image (GKI) project
    • kernel module interface (KMI)
  • bionic libc (native part) - ndk
    • BSD license / Small size / Speed
  • android runtime (java part) - sdk
  • adb (android debug bridge) shell

termux application (main parts)

  • native (bionic libc)
  • single user

termux packages

  • native (bionic libc)
  • termux file system layout
    • https://github.com/termux/termux-packages/wiki/Termux-file-system-layout

proot


supprot distros


other repos

  • tut
  • termux-root
  • termux-x11

termux api

  • termux-sms-send

other plugins

  • Termux:API
  • Termux:Boot
  • Termux:Float
  • Termux:Tasker

build app in termux

https://sdrausty.github.io/docsBuildAPKs/ https://gist.github.com/tmatz/817bf03433e059bf89c63dc33f286ccb

termux-setup-storage

termux- services / runit

  pkg install termux-services

ssh

https://blog.csdn.net/Billhe_zju/article/details/122706171

termux-docker