Droidian for Moto g7 power (ocean)

Droidian port for Moto g7 Power based on Halium 10

Wifi: works

bluetooth: partial

gps: works

calls: broken

sms: works

mobile data: works

fingerprint reader: unknown

Headset output: works

Speaker: broken

gpu: broken

microphone: works

waydroid: broken

This port has a bug that cause bluebinder causing a kernel panic if it is started at boot. As a workaround, i offer two boot images, one with bluetooth enabled, and other with it disabled. When installing droidian, btnot boot image is required to avoid crashes

Download links

halium-ramdisk.zip fastboot images droidian installer

Installation instructions:

Flash boot, dtbo, system and vendor images using fastboot

Boot into twrp

Change userdata filesystem to ext4 (by default it uses f2fs)

Flash halium-ramdisk.zip

flash droidian rootfs for api 29

flash droidian devtools for api 29

keep your device connected to your computer

reboot

connect to ssh droidian@10.15.19.82

default password is 1234

get root privileges

sudo su

configure required udev rules

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//' > /etc/udev/rules.d/70-ocean.rules

disable bluebinder

systemctl disable bluebinder

reboot and you can unlock phosh session using default password

Bluetooth workaround:

Make sure you disabled bluebinder

Flash boot-btyes.img using fastboot

boot into twrp using fastboot

flash halium-ramdisk.zip

reboot

remember that bluebinder must be started manually after a reboot

sudo systemctl start bluebinder

If you find more bugs, please attach logs (dmesg and logcat)

Kernel source code