This should work on J120F and similar devices. Tested on a J120W8
Your warranty is now void. I am not responsible for bricked devices, data loss, or any other adverse effects caused by this rom. Install at your own risk.
This port is in a very early state! Many features don't work, and audio can be unreliable. See the devices.ubuntu-touch.io page for more details.
The EFS partition MUST be backed up, as it contains critical phone information!
You should make an image backup of the EFS partition, as TWRP does not backup hidden files in this partition (including the important .nv_data.bak
). You can do this in TWRP with the command dd if=/dev/block/bootdevice/by-name/EFS of=/external_sd/efs.img
(or wherever you want the backup).
BACKUP YOUR DATA, ESPECIALLY EFS, BEFORE CONTINUING!
You will need a MicroSD card to install Ubuntu Touch on this device, as it's system and userdata partitions are too small.
This guide assumes a linux computer. Steps may not be the same on Windows or MacOS.
adb shell
tune2fs -L userdata /dev/block/mmcblk1p1
mount /dev/block/mmcblk1p1 /data/
exit
path/to/halium-install -p ut -s path/to/rootfs.tar.gz path/to/system.img
. This will ask for a password which will be used to unlock your phone.heimdall flash --BOOT path/to/halium-boot.img
If you were using release v0.2.1 or earlier, please revert to stock first!
adb shell mount /dev/block/mmcblk1p1 /data/
path/to/halium-install -p ut -s path/to/rootfs.tar.gz path/to/system.img
heimdall flash --BOOT path/to/halium-boot.img
nmcli c modify "YOUR WIFI SSID HERE" "802-11-wireless.mac-address" ""
on the device.umount external_sd
e2fsck -fy /dev/block/mmcblk1p1
mount /dev/block/mmcblk1p1 external_sd
e2fsck -fy external_sd/rootfs.img
e2fsck -fy external_sd/android-rootfs.img
These instructions are intended for developers, and may not be perfect. Precompiled files can be downloaded from the releases page.
~/samsung-j1xlte/halium
). This will be BUILDDIR in the following commands.repo init -u https://github.com/j1xlte-gtelwifiue/halium -b halium-10.0 --depth=1
repo sync -c -j 16
./halium/devices/setup j1xlte
BUILDDIR/hybris-patches/external/v8/0001-blueprints-Allow-building-on-both-Linux-and-macOS.patch
(it is already applied)./hybris-patches/apply-patches.sh --mb
./device/samsung/j1xlte/update-initramfs.sh
source build/envsetup.sh
breakfast j1xlte
export LANG=C USE_HOST_LEX=yes TEMPORARY_DISABLE_PATH_RESTRICTIONS=true
mka mkbootimg
mka halium-boot
mka e2fsdroid
mkdir -p out/target/product/j1xlte/recovery/root/system/etc
mka systemimage
BUILDDIR/out/target/product/j1xlte/halium-boot.img and system.img
You can download the premade rootfs from the releases page. These instructions assume you have a basic knowledge of linux commands.
/efs/
to /android/efs/
to the rootfs/etc/gbinder.conf
ofono.deb
from here and install it on the phone. You will need to run sudo mount -o remount,rw /
before using apt
or dpkg
Thank you to the following contributors who worked on the unofficial LineageOS version this Ubuntu Touch port is based off of
Thanks also to everyone who has contributions on Exynos3475 Nougat.
Special thanks to
and all of the 5433/7580 AOSP developers/contributors.
You must include this contributor list in any projects created from these sources.