Raspberry Pi OS on Android | No Root

 




Hello friends,
In this blog we will see how we can install Raspberry Pi OS on Android without Root.

RaspberryPi OS is build for Raspberry Pi but can install it on Android also via Termux (Android Terminal Emulator). It supports only 32 bit so if your device has 64 bit arch (like mine) then follow this method to change it to 32 bit.





Prerequisite:

Termux


Installation:

First we need to install proot-distro (official utility to install Linux in Termux)

 

pkg update -y && pkg install proot-distro -y


Now add RaspberryPi in proot-distro,

 

nano $PREFIX/etc/proot-distro/raspberrypi.sh


Paste following in it and save it

 

DISTRO_NAME="RaspberryPi"

TARBALL_URL['arm']="http://downloads.raspberrypi.org/raspbian_lite/archive/2018-04-19-15:24/root.tar.xz"
TARBALL_SHA256['arm']="c64cb0b6543dbaaae38539e574ad3ef1ecab25285208751dac57d1a852b4fa98"



Install RaspberryPi

 

proot-distro install raspberrypi


Login to it

 

proot-distro login --user pi raspberrypi


Now first update and upgrade it fully

 

sudo apt update && sudo apt upgrade


Install GUI and vncserver

 

sudo apt install raspberrypi-ui-mods tightvncserver


Setup VNC

 

vncserver && vncserver -kill :1 && echo "startlxde-pi" >> .vnc/xstartup


Start VNCserver

 

vncserver


Now go to VNC Viewer and create a connection with localhost:1 and enjoy Raspberry Pi desktop.


To stop VNCserver execute following

 

vncserver -kill :1






Post a Comment (0)
Previous Post Next Post