

After this is complete, they set up the cryptographic network protocol, SSH, in order to operate the network services securely over the unsecured network supplied to us by the Android phone.

In order to open up a shell for you to connect to the mounted Linux system, the scripts then change the root directory to the mounted Linux system by calling on chroot. However, you can still utilize Samsung Kies or ODIN to flash a stock ROM, and not flag or trip the KNOX counter as well and, once the device is rooted, you can always ODIN back to stock to claim the warranty, as long as you do not encounter hardware failure before then. From there, the scripts mount the Linux image within the Android filesystem and the SD card within the Linux filesystem.Īlthough more advanced Android devices may include the Samsung KNOX counter (leading to a warranty breach if you root the device), there is actually a way to install Linux on an Android phone without rooting. With a fully functional Linux program in your pocket at all times, you can begin to utilize your phone for various processes including powering a LAMP server and turning the device into a portable network, troubleshooting tool, and pen-testing device.įurthermore, by utilizing LinuxOnAndroid’s shell scripts and Android app, as well as the open source app, Linux Deploy, you can host multiple Linux distros and boost them using the app, as well as install Linux on your rooted android device. As a web developer, being able to run a Linux distro alongside your pre-existing mobile OS on your android phone is a very enticing offer.
