{"id":15645734,"url":"https://github.com/krmanik/manjaro-linux-on-android","last_synced_at":"2025-04-15T11:53:00.953Z","repository":{"id":58411970,"uuid":"284208241","full_name":"krmanik/Manjaro-Linux-on-Android","owner":"krmanik","description":"Install Manjaro on Android","archived":false,"fork":false,"pushed_at":"2023-01-09T09:55:43.000Z","size":10646,"stargazers_count":75,"open_issues_count":16,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T19:45:01.333Z","etag":null,"topics":["manjaro","manjaro-on-android","proot","proot-android","proot-distro","termux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krmanik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-01T07:11:11.000Z","updated_at":"2025-01-25T10:59:59.000Z","dependencies_parsed_at":"2023-02-08T09:46:31.444Z","dependency_job_id":null,"html_url":"https://github.com/krmanik/Manjaro-Linux-on-Android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FManjaro-Linux-on-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FManjaro-Linux-on-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FManjaro-Linux-on-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krmanik%2FManjaro-Linux-on-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krmanik","download_url":"https://codeload.github.com/krmanik/Manjaro-Linux-on-Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067758,"owners_count":21207395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["manjaro","manjaro-on-android","proot","proot-android","proot-distro","termux"],"created_at":"2024-10-03T12:09:30.946Z","updated_at":"2025-04-15T11:53:00.934Z","avatar_url":"https://github.com/krmanik.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Manjaro Linux on Android\nInstall Manjaro on Android using Termux\n\n## Get preinstalled xfce4 and vncserver Manjaro rootfs\nJust download and proot into rootfs using Termux\n\nView [manjaro-rootfs-arm64](https://github.com/krmanik/manjaro-fs-arm64)\n\n\n## Note: Tigervnc 1.11.0 have issues running vncserver.\nIt is recommended to downgrade Tigervnc to 1.10.1. [View this for more](https://github.com/krmanik/Manjaro-Linux-on-Android/issues/5)\n\n\n## Requirements\n- Android device running arm64 architecture and minimum version of 7.0 Nougat.\n- At least 5GB free storage space\n- Termux\n- A VNC viewer\n\n## Quick Start\nCopy this and paste it in termux and follow steps to install\n\n```\npkg install -y wget proot pv pulseaudio \u0026\u0026 wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh \u0026\u0026 chmod +x manjaro.sh \u0026\u0026 ./manjaro.sh\n```\n\n\n## Install Manjaro cli only and install DE or WM manually\n\n1. Install wget and get `manjaro.sh` script\n    ```\n    pkg install -y wget proot pv pulseaudio\n    wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh\n    chmod +x manjaro.sh\n    ./manjaro.sh\n    ```\n\n    Note: Do not install `tigervnc` and desktop environment like `xfce4`, instead install it manually. \n    \n    So, select `None` from Manjaro setup menu `None`, `xfce4`, `LxQt`, `Mate`, `i3`\n\n2. Install DE or WM\n\n    a) If want to use xfce4 then install it\n    ```\n    pacman -Sy xfce4\n    ```\n    b) If want to use openbox then install it\n    ```\n    pacman -Sy openbox\n    ```\n\n3. Install tigervnc\n    ```\n    wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Pacman/tigervnc-fix.sh\n    chmod +x tigervnc-fix.sh\n    ./tigervnc-fix.sh\n    ```\n\n    \u003cdetails\u003e\n    \u003csummary\u003eView tigervnc-fix.sh\u003c/summary\u003e\n\n    ```\n    pacman -S tar wget sed --noconfirm\n    pacman -U https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/tigervnc-1.10.1-1-aarch64.pkg.tar.xz --noconfirm\n    curl -s https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/lib.tar.xz -o /usr/lib/a.tar.xz \u0026\u0026 tar xf /usr/lib/a.tar.xz -C /usr/lib\n    sed -i '27i IgnorePkg = tigervnc' /etc/pacman.conf\n    ```\n\n    \u003c/details\u003e\n\n4. Now run DE or WM\n\n    a) DE\n    ```\n    vncserver\n    export DISPLAY=:1\n    startxfce4 \u0026\n    ```\n\n    b) WM\n    ```\n    vncserver\n    export DISPLAY=:1\n    openbox \u0026\n    ```\n\n    A laucher script can be created for running vncserver, export and xfce4 or openbox\n\n5. Now customize as per requirements\n\n\n## Demo\n\n\u003cimg src=\"Images/manjaro_anki_demo.gif\" height=\"335\" width=\"600\"\u003e\u003c/img\u003e\n\n## Disclaimer\n\nThe software, code and website links available in this GitHub repo are provided \"as is\" without warranty of any kind, either express or implied. \u003cbr/\u003e**Use at your own risk.**\n\n# Steps to install Manjaro\n1. Install [termux](https://play.google.com/store/apps/details?id=com.termux) and [RealVNC](https://play.google.com/store/apps/details?id=com.realvnc.viewer.android) from play store\n\n| Termux | RealVNC |\n|----------|:-------------:|\n| \u003cimg src=\"Images/install_termux_img.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e |  \u003cimg src=\"Images/realvnc.jpg\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e |\n\n2. To install Manjaro, copy following and paste it in termux\n```\npkg install wget \u0026\u0026 wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh \u0026\u0026 chmod +x manjaro.sh \u0026\u0026 ./manjaro.sh\n```\n\u003cimg src=\"Images/wget_manjaro.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n3. It will install missing dependencies. (For audio)\n\n\u003cimg src=\"Images/missing_packages_2.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n4. Select \"Install the latest rootfs\"\n\n\u003cimg src=\"Images/select_chroot.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n5. Specify the installation directory\n\n\u003cimg src=\"Images/select_dir.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n6. Wait for the first installation to finish\n\n\u003cimg src=\"Images/first_install.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n7. Select desktop environment, select as per your requirements\n\n\u003cimg src=\"Images/select_DE.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n**Size**\n\n| xfce4   |      lxqt      |  \n|----------|:-------------:|\n| \u003cimg src=\"Images/xfce4.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e |  \u003cimg src=\"Images/lxqt.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e |\n\n8. Select an username\n\n \u003cimg src=\"Images/username_1.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e  \u003cimg src=\"Images/username_2.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e \n\n9. Enter password for the username\n\n\u003cimg src=\"Images/password_1.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e \u003cimg src=\"Images/password_2.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n10. Continue to install TigerVNC\n\n\u003cimg src=\"Images/VNC.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n11. Wait for setup to finish \n\n\u003cimg src=\"Images/install_finish.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n12. Access it in VNC viewer android app. Run vncserver and ```Enter new password and confirm password``` at first run, inside manjaro terminal\n```\nvncserver\n```\n\u003cimg src=\"Images/vncserver.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n13. Open RealVNC app and enter following\n```\nAddress\nlocalhost:1\n\nName\nmanjaro\n```\nEnter password for the user to access it.\n\n\u003cimg src=\"Images/vnc_2.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n# To run it after termux closed. \n1. Open termux\n2. To run Manjaro \n```\n./manjaro.sh\n```\nSelect ```Chroot into existing rootfs```\n\n\u003cimg src=\"Images/select_existing.png\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n3. May be ```vncserver``` not closed successfully, then re-run it.\n```\nvncserver -kill :1\n```\nThen\n```\nvncserver\n```\n4. Now open VNC viewer android app and type name and password and access it.\n\n# Install Manjaro Demo\n\n\u003cimg src=\"Images/install_manjaro.gif\" height=\"528\" width=\"265\"\u003e\u003c/img\u003e\n\n# Install Software\nIf Manjaro installed with desktop environment then continue.\n## Anki\n1. Run Manjaro\n```\n./manjaro.sh\n``` \n2. Then in Manjaro, run following.\n```\nsudo pacman -S anki\n```\nIt will install Anki 2.1.15-1\n\n3. Type anki to run it\n```\nanki\n```\nOr by selecting it in desktop environment\n\n### Demo\n\n\u003cimg src=\"Images/install_anki.gif\" height=\"528\" width=\"260\"\u003e\u003c/img\u003e\n\n# Some tips\n1. Change ```Picture Quality``` to ```High``` in VNC viewer android app\n2. Change to lower resolution inside ```Manjaro Display Settings``` for small screen devices\n3. Uninstall unused programs from Manjaro to get more storage space\n4. Hacker Keyboard from Play store can be used\u003cbr/\u003e\n\n**5. ```vncserver``` may be re-run to view it in vncviewer**\u003cbr/\u003e\nInside Manjaro console\n```\nvncserver -kill :1\n``` \n```\nvncserver\n```\nThen open VNC viewer android app to access it.\u003cbr/\u003e\n\n**6. Add script to ```.bashrc``` to run script at startup.** \n\u003cbr/\u003eInside Manjaro terminal\n\n```\ncd ~\n```\n\n```\nnano startup.sh\n```\nAdd this to ```startup.sh```, To run anki at startup\n```\nanki\n```\n```CTRL + o``` and ```CTRL + x ``` to save and exit.\n\nAdd this to ```.bashrc```\n\n```\nnano .bashrc \n```\nAdd ``` ./startup.sh ``` the end of ```.bashrc``` file\n\nAgain, ```CTRL + o``` and ```CTRL + x``` to write and exit.\n\n*But opening terminal in Manjaro will again run that script.*\n\n# Faq?\n### Black screen on VNC viewer?\nThere are many solutions for that. But in some cases reinstalling desktop environment may solve the problems.\u003cbr/\u003e\nFor example: xfce4, run this to install xfce4.\n```\nsudo pacman -S xfce4 xfce4-goodies\n```\n# Credits\nItsMeKuroro\u003cbr\u003e\n[https://forum.manjaro.org](https://forum.manjaro.org/t/how-to-run-the-official-manjaro-arm-edition-on-android-with-chroot-environment/151429)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrmanik%2Fmanjaro-linux-on-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrmanik%2Fmanjaro-linux-on-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrmanik%2Fmanjaro-linux-on-android/lists"}