Turn Your Android phone Into A Raspberry PI Without Rooting It

Welcome to My Blog, This is A precise Article on How To Install Raspberry PI On Your Android Phone Without Rooting it.

Read this Article from beginning till the end and use all commands as shown and follow the guides, one step after the other to avoid mistakes.

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/raspberrypi.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="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 clicking on Ctrl+x  on your keyboard.

After this, install raspberrypi with the command below.

proot-distro install raspberrypi 

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 raspberrypi 

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