/UbuntuOnAndroid

Install Ubuntu 18.04.4 LTS near Android(5.x-9.x) on any ARM64 devices. Root and BusyBox requied.

Primary LanguageShellThe UnlicenseUnlicense

Installation

  • Download archive
  • Unpack archive (/sdcard/UbuntuOnAndroid-master)
cd /sdcard/UbuntuOnAndroid-master/
sh install.sh
ubstart

Note: After chrooting in Ubuntu run bash ./post-setup.sh for fix internet and update system

Removing Ubuntu

  • Restart your device for unmount all resources
mount -o rw,remount /system
rm /system/bin/ubstart
rm -rf /data/local/ubuntu

Other Ubuntu rootfs architectures

  • Download rootfs for your CPU architecture on Ubuntu Rootfs Repository
  • Put downloaded archive to directory "/sdcard/UbuntuOnAndroid-master/rootfs"
  • Rename archive from "ubuntu-base-*.tar.gz" to "ubuntu-rootfs.tar.gz"

Android 10(Q) issuse

  • /system path in android 10 is READ-ONLY
  • Use ubstart script (without copying to /system/bin) in UbuntuOnAndroid-master/scripts/
sh /sdcard/UbuntuOnAndroid-master/scripts/ubstart