1
0
Fork
You've already forked Manjaro-Android
0
No description
  • Shell 100%
2025年12月08日 16:24:47 +03:00
Images new line 2025年07月29日 22:44:41 +03:00
manjaro.sh new line 2025年12月08日 16:24:47 +03:00
manjaro_up new line 2025年12月08日 16:24:47 +03:00
README.md new line 2025年08月25日 23:33:51 +03:00
run new line 2025年12月08日 16:24:47 +03:00
startmanjaro new line 2025年12月08日 16:24:47 +03:00

Manjaro Linux on Android


Установка Manjaro в Termux -> Mod by LinuxShef

Скрпировать и вставить в Termux

pkg install -y wget proot pv pulseaudio git ; cd ~/ ; git clone https://codeberg.org/linuxshef/Manjaro-Android.git ; cd Manjaro-Android ; ./run

Автозапуск

cd ~/ ; git clone https://codeberg.org/linuxshef/Manjaro-Android.git ; cd Manjaro-Android ; ./manjaro_up

Внизу старая шапка репозитория


Requirements

  • Android device running arm64 architecture and minimum version of 7.0 Nougat.
  • At least 5GB free storage space
  • Termux
  • A VNC viewer

Install Manjaro cli only and install DE or WM manually

Note: Do not install `tigervnc` and desktop environment like `xfce4`, instead install it manually. 
So, select `None` from Manjaro setup menu `None`, `xfce4`, `LxQt`, `Mate`, `i3`
  1. Install DE or WM

    a) If want to use xfce4 then install it

    pacman -Sy xfce4
    

    b) If want to use openbox then install it

    pacman -Sy openbox
    
  2. Install tigervnc

    wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Pacman/tigervnc-fix.sh
    chmod +x tigervnc-fix.sh
    ./tigervnc-fix.sh
    
    View tigervnc-fix.sh
    pacman -S tar wget sed --noconfirm
    pacman -U https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/tigervnc-1.10.1-1-aarch64.pkg.tar.xz --noconfirm
    curl -s https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/lib.tar.xz -o /usr/lib/a.tar.xz && tar xf /usr/lib/a.tar.xz -C /usr/lib
    sed -i '27i IgnorePkg = tigervnc' /etc/pacman.conf
    
  3. Now run DE or WM

    a) DE

    vncserver
    export DISPLAY=:1
    startxfce4 &
    

    b) WM

    vncserver
    export DISPLAY=:1
    openbox &
    

    A laucher script can be created for running vncserver, export and xfce4 or openbox

  4. Now customize as per requirements

Demo

Disclaimer

The software, code and website links available in this GitHub repo are provided "as is" without warranty of any kind, either express or implied.
Use at your own risk.

Steps to install Manjaro

  1. Install termux and RealVNC from play store
Termux RealVNC
  1. To install Manjaro, copy following and paste it in termux
pkg install wget && wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh && chmod +x manjaro.sh && ./manjaro.sh
  1. It will install missing dependencies. (For audio)
  1. Select "Install the latest rootfs"
  1. Specify the installation directory
  1. Wait for the first installation to finish
  1. Select desktop environment, select as per your requirements

Size

xfce4 lxqt
  1. Select an username
  1. Enter password for the username
  1. Continue to install TigerVNC
  1. Wait for setup to finish
  1. Access it in VNC viewer android app. Run vncserver and Enter new password and confirm password at first run, inside manjaro terminal
vncserver
  1. Open RealVNC app and enter following
Address
localhost:1
Name
manjaro

Enter password for the user to access it.

To run it after termux closed.

  1. Open termux
  2. To run Manjaro
./manjaro.sh

Select Chroot into existing rootfs

  1. May be vncserver not closed successfully, then re-run it.
vncserver -kill :1

Then

vncserver
  1. Now open VNC viewer android app and type name and password and access it.

Install Manjaro Demo

Install Software

If Manjaro installed with desktop environment then continue.

Anki

  1. Run Manjaro
./manjaro.sh
  1. Then in Manjaro, run following.
sudo pacman -S anki

It will install Anki 2.1.15-1

  1. Type anki to run it
anki

Or by selecting it in desktop environment

Demo

Some tips

  1. Change Picture Quality to High in VNC viewer android app
  2. Change to lower resolution inside Manjaro Display Settings for small screen devices
  3. Uninstall unused programs from Manjaro to get more storage space
  4. Hacker Keyboard from Play store can be used

5. vncserver may be re-run to view it in vncviewer
Inside Manjaro console

vncserver -kill :1
vncserver

Then open VNC viewer android app to access it.

6. Add script to .bashrc to run script at startup.
Inside Manjaro terminal

cd ~
nano startup.sh

Add this to startup.sh, To run anki at startup

anki

CTRL + o and CTRL + x to save and exit.

Add this to .bashrc

nano .bashrc 

Add ./startup.sh the end of .bashrc file

Again, CTRL + o and CTRL + x to write and exit.

But opening terminal in Manjaro will again run that script.

Faq?

Black screen on VNC viewer?

There are many solutions for that. But in some cases reinstalling desktop environment may solve the problems.
For example: xfce4, run this to install xfce4.

sudo pacman -S xfce4 xfce4-goodies