Skip to content

[device-port] [halium-9] [albus] Moto Z2 Play #250

@jash-maester

Description

@jash-maester

Tree:

I will post further updates as I make further progress.

Fixup Mountpoints:

    "albus")
        sed -i \
            -e 's /dev/block/bootdevice/by-name/fsg /dev/block/mmcblk0p29 ' \
            -e 's /dev/block/bootdevice/by-name/modem /dev/block/mmcblk0p19 ' \
            -e 's /dev/block/bootdevice/by-name/dsp /dev/block/mmcblk0p22 ' \
            -e 's /dev/block/bootdevice/by-name/persist /dev/block/mmcblk0p30 ' \
            -e 's /dev/block/bootdevice/by-name/cache /dev/block/mmcblk0p52 ' \
            -e 's /dev/block/bootdevice/by-name/userdata /dev/block/mmcblk0p54 ' \
            "$@"
        ;;

Procedure:

  • Using lineage-16.0-20201209-UNOFFICIAL-albus.zip as the base system. (Downloaded from XDA Developers)
  • Format data -> Factory Reset -> Reboot back to TWRP Recovery
  • Flash the Lineage 16.0 zip via TWRP -> Format Data -> Reboot Back to TWRP Recovery.
  • Flash the halium-boot.img on the boot partition from TWRP Install -> Install Image.
  • Flash the Latest Ubports Ubuntu-Touch GSI (As of today V10 from https://mirrors.lolinet.com/firmware/halium/GSI/ )
  • Reboot system while phone is connected via USB to PC.
  • Check dmesg sudo dmesg -w for rndis .
  • ssh into your phone ssh [email protected].
  • DEFAULT Password is phablet.
  • The system should boot in a minute with Ubuntu loading screen.

If anything goes wrong:

  • Try Telnet into the Phone while its connected via USB to PC. telnet 192.168.2.15
  • Try ssh-ing into the device by connecting it to PC via USB cable the ssh [email protected]
  • Check the dmesg from inside the phone from the ssh terminal.
  • Very long dmesg sometimes result in crash of ssh environment so use sudo dmesg > dmesg.log then less dmesg.log
  • If lxc-container is not booting up, then check with sudo lxc-info -n android.
  • Root partition will be mounted as Read-Only as per security and safety reasons. If any modification in the root partition is required, it needs to be mounted as Read-Write Partition with sudo mount -o remount,rw /
  • You can't install any application using apt-get on the system by default, at least not outside Libertine container. And you shouldn't install using apt or apt-get.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions