Skip to content

Run linux with chroot&unshare/proot on your Android phone,safety and easy

License

Notifications You must be signed in to change notification settings

yfjy/termux-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

May The Force Be With You

(>_×)

Moe-hacker


[简体中文]

 Run Linux with chroot&unshare/proot on your Android phone!
 This is a script that runs a Linux system on your phone.You are free to define this script and make it to be you want.
 In the chroot/proot environment,you can do more things than Android,because it is a real Linux system.You can run a desktop and connect it with Realvnc Viewer,or you can just use the shell for programming or hacking.(But DO NOT against the laws!)

Notes:

Chroot is faster than proot with less limits.But it can only be run with root privileges,and it is a bit dangerous.If you do not want to run programs that must be able to read/write the files in /proc but using a common user,please do not disable SELinux.

Screenshots:

screenshot screenshot

Preparation:

 To run it,you need:

  • An android phone.
  • Enough spare space.
  • Termux.
  • Some knowledge of Linux.

Installation:

git clone https://github.com/Moe-hacker/termux-container
cd termux-container/package
chmod -R 755 DEBIAN
chmod 777 data/data/com.termux/files/usr/bin/container
dpkg -b . ~/termux-container.deb
apt update
apt install ~/termux-container.deb

Enjoy it!

About:

 I used some of the source code in Tmoe-linux to finish this script.
 I'm sorry that my English is not very well.If there are any mistakes in this document,please tell me.
 This is my first repository on Github and this is the start of my dream of being a geek.If you like it,please give me a star,thanks!


Try Everything

About

Run linux with chroot&unshare/proot on your Android phone,safety and easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%