Raspian Os Installation On Android Device • Works On All Android phone.

Welcome to My Blog, In This Article, I'm gonna show you how to install Raspbian OS Ok Your Android phone, though I have previously wrote an Article On This, but that Article Supported Only 32-bit CPU Architectures, but In this Article Raspberry PI Os Will be installed On Not Just the 32-bit Operating Systems, But Also the 64-bit operating systems, so make sure you read the Article till the end and guide yourself with the video tutorial below so that you don't miss out on any part of the Article.

Prerequisites:

Termux

Nethunter Kex  

Installation Procedures :

After installing Termux, update your repository with the command below.

apt update 

After that, install proot-distro with the command below. proot-distro is a package that allows us to 

pkg install proot-distro 

After installing proot-distro, now we need to manually edit an installation script for raspberry PI. do that with the Command below.

nano ~/../usr/etc/proot-distro/raspian.sh

A nano text editor window is going to open in the directory we just specified, now paste the script below in that window.

# 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="Raspberry PI"


TARBALL_URL['aarch64']="http://downloads.raspberrypi.org/raspios_lite_arm64/archive/2022-04-07-12:02/root.tar.xz"

TARBALL_SHA256['aarch64']="08eebea07a8a3587593d5cf8f86810d23994df15f03c36f3f1c5a1484f1637c1"

TARBALL_URL['arm']="http://downloads.raspberrypi.org/raspios_lite_armhf/archive/2022-04-07-11:57/root.tar.xz" 

TARBALL_SHA256['arm']="958755c39e01eb9432eaf8e07bd9090804b2ebd81f51469e7f7b7c928cd60161"

 Save the script by clicking on Ctrl+x on your keyboard.

After this, install raspberrypi with the command below.

proot-distro install raspian

The command above should Install Raspberry PI successfully on your Android phone. But remember for this to work, you have to be using a phone with 32-bit CPU Architecture.

After proot-distro has been installed, login to raspberry PI CLI with the command below.

proot-distro login raspian

Now that you're logged in to raspberry pi CLI, you can update your repository with the command below. 

apt update

After updating your repo, install the XFCE4 GUI interface and it's dependency packages with the command below.

apt install xfce4 xfce4-whiskermenu-plugin dbus-x11 firefox-esr gnome-terminal tigervnc-standalone-server neofetch  

After installing this, gvfs Daemons is going to interrupt your Terminal, remove it and hold udisks2 with the command below.

 apt purge gvfs-daemons gvfs; rm /var/lib/dpkg/info/udisks2.postinst;echo >> /var/lib/dpkg/info/udisks2.postinst;sudo apt-mark hold udisks2

 Now that this is done, let's download and setup professional wallpapers that I arranged myself, do that with the command below.

apt install git ;cd /usr/share/backgrounds;git clone https://github.com/birdsintech/Raspberrypi-Wallpaper-;cd Raspberrypi-Wallpaper-;tar -xf Birdwallpapers.tar.gz;mv Birdwallpapers ..;cd ..;cd ~

 after this, you can now create a shortcut command to connect to VNC server, do that with the command below.

echo " vncserver -xstartup /usr/bin/xfce4-session" > /usr/local/bin/server ; chmod +x /usr/local/bin/server

 Now start Vncserver with the command below:

server

 Now That VNC has been started, you can now launch your Nethunter Kex Application, and set your connection settings to the localhost 1, then enter your VNC password in the appropriate place and click on connect.

Welcome To Raspberry PI GUI Interface, you can now enjoy your Raspberry PI Desktop Experience Right On your Android phone With Rooting it. 

Post a Comment

Previous Post Next Post