[E 2015 Android Development] impreza233:
ATTENTION:

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, the expulsion of some contestant at the Spanish version of Got Talent,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

THIS WILL WIPE ENTIRELY YOUR DEVICE. YOU WILL NEED TO CHANGE THE FILE SYSTEM OF /DATA TO EXT4 FROM F2FS IN TWRP BEFORE ANYTHING ELSE. AND, IT IS A MUST REQUIREMENT DOING A NANDROID OF YOUR CURRENT ROM WITH TWRP: TWRP Home >> Wipe >> Advanced Wipe >> tick data >> Repair or Change File System >> Change File System >> EXT4 >> Swipe to change.

UPDATE 22/07/2021: It has been discovered that some American surnia units (with model code XT1526 and XT1527, sold on Sprint and AT&T carriers) have different partition table than the European or Global versions (XT1521 and XT 1524). Sprint and AT&T surnia models are NOT COMPATIBLE with UBPorts, and trying to do this steps will cause a bootloop (easily fixable with a reflashing of LineageOS/stock ROM).

Hello. I'm a developer from Spain and I'm doing a porting work on my Moto E 2015 in Halium and Ubuntu Touch, and I'm looking for testers with surnia (CAUTION: ONLY surnia is allowed in this, NOT otus, sorry for this, I don't have otus) for testing this compilated version of Halium and Ubuntu Touch, because I'm having trouble with the port (rootfs not flashing on /data properly). I have some instructions to test this, and files to download and test on a real device.

-INSTRUCTIONS (only with Ubuntu Linux):

1-Download halium-boot (https://mega.nz/file/6TRRgAAa#YjtJ35nXxIMS_tVyaURRHuJfvjx3mxLFY1H6WWzD_Z4). Boot in Recovery Mode and flash with:

fastboot flash boot /path-to the image of halium-boot/halium-boot.img

2-Download system.img and halium-install.zip

https://mega.nz/file/GXBVAQyA#w68fYNKZ3He4Zg69QC9bkvQI8702ZAho4M4TVmKdfxg

https://github.com/JBBgameich/halium-install/archive/master.zip

Uncompress halium-install.zip and get into the folder via Terminal.

3-Download the latest rootfs from UBPorts:

https://ci.ubports.com/job/xenial-r.../out/ubports-touch.rootfs-xenial-armhf.tar.gz

4-Boot into TWRP recovery (or your recovery with BusyBox) and run this command (in the folder halium-install):

halium-install.sh -p ut -v path/to/rootfs.tar.gz path/to/system.img

Put a password that you can remember when prompted.

Wait, and it should flash all succesfully, if all goes well. I do not guarantee the success in this (my device has a problem with /data partition), so I need all the feedback possible in this (Terminal logs, for example, would be useful to me).

5-Reboot. Now, it should be the phone on Bootloader screen, but if you text in a terminal

ssh phablet@10.15.19.82

It should ask for a password and load the rootfs successfully.

After that, with this settings:

sudo mount -o remount,rw /

and

sudo -i # And enter your password
cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^/dev///'|awk '{printf "ACTION=="add", KERNEL=="%s", OWNER="%s", GROUP="%s", MODE="%s"n",$1,$3,$4,$2}' | sed -e 's/r//' >/usr/lib/lxc-android-config/70-[codename].rules

and, finally, rebooting the phone, it should boot Ubuntu Touch. The lock password is the same than the password you made before in the install.

I need feedback to do this well. Any comments on this will be welcomed.

Logo of the project licensed by UBPorts by Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License.

XDA:DevDB Information

Ubuntu Touch Porting: Motorola Moto E 2015 4G/LTE, ROM for the Moto E 2015

Contributors

impreza233, bartbart2003

Source Code: https://github.com/Halium/projectmanagement/issues/97

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Unlocked bootloader, latest TWRP or custom recovery with BusyBox installed

Version Information

Status: Alpha

Created 2018-09-29

Last Updated 2020-09-20