-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Tree:
- Create manifest Add Motorola Moto Z2 Play [Albus] Manifest halium-devices#302
- Boot image and system image build successfully
- Fixup Mountpoints fixup-mountpoints: Add Moto Z2 Play (Albus) hybris-boot#94
- Device boots into rootfs,
usb: Manufacturer: GNU/Linux Deviceappears indmesgon host. - LXC container starts and does not crash
- Apparmor
- libhybris tests
- test_gps
- test_hwcomposer
- test_lights
- test_vibrator
- test_wifi
- test_sensors
- test_audio
- test_camera
- test_input
- test_nfc
- test_recorder
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.zipas 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 -wforrndis. - ssh into your phone
ssh [email protected]. - DEFAULT Password is
phablet. - The system should boot in a minute with
Ubuntuloading 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.logthenless 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-geton the system by default, at least not outside Libertine container. And you shouldn't install using apt or apt-get.
jash-maester, rishabharidas and leonelsrijiki16, rishabharidas and leonelsr
Metadata
Metadata
Assignees
Labels
No labels