Welcome to my Blog, in today's Article, I'm gonna write on how to install RaspberryPi Os On Android, though the system is built to function on only Raspberry PI but we found a way to install it on Android using a Terminal Emulator Called termux and a Linux package called proot-distro.
NOTE: this version of Raspberrypi supports 32bit devices only, if your device is 64-bit then learn how to change your termux Prefix to 32-bit by reading this article before proceeding with this installation.
Prerequisites:
Procedures:
Launch Termux And update your packages, you can do that with the command;
pkg update
After update we're gonna install the Linux package that enables us run linux Os Using Our android devices, to do that, use the command.
pkg install proot-distro -y
Now let's edit the script we're going to use to install RaspberryPi, use the command;
nano $PREFIX/etc/proot-distro/raspberrypi.sh
Now paste the script below in the nano editor;
# This is a default distribution plug-in.
# Do not modify this file as your changes will be overwritten on next update.
# If you want customize installation, please make a copy.
DISTRO_NAME="RaspberryPi"
TARBALL_URL['arm']="http://downloads.raspberrypi.org/raspbian_lite/archive/2020-02-14-13:49/root.tar.xz"
TARBALL_SHA256['arm']="7ba8560dc023fc0131be5ee9b996a311e4b08fd527a04739c0f9cdcbc66c7a3d"
Save the script by typing Ctrl+o and Ctrl+x
Now we install RaspberryPi with the command;
proot-distro install raspberrypi
It's gonna take a while to finish installing give it time and let it do it's thing. Once the installation is complete, you can login with the command;
proot-distro login raspberrypi
And you can login to the raspberrypi user account using the command;
proot-distro login --user pi raspberrypi
Update your RaspberryPi repository with the command;
sudo apt update && sudo apt upgrade
Enjoy your terminal experience!!!
Watch the video here:
Tags
android
ethical hacking
Linux
Linux terminal
Linux tutorial
raspberry
raspberry os
Raspberry pi
raspberrypi
raspberrypi os
termux
termux android
termux tutorial