Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
10 of 18 tasks
jash-maester opened this issue May 2, 2021 · 4 comments
Open
10 of 18 tasks

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

jash-maester opened this issue May 2, 2021 · 4 comments

Comments

@jash-maester
Copy link

jash-maester commented May 2, 2021

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.
@jash-maester
Copy link
Author

Audio Via Bluetooth headset works perfectly fine. But Audio through Speakers and/or headphone jack doesn't work yet.

@jash-maester
Copy link
Author

FlashLight works Proximity sensor works. Auto display brightness works (Not as perfectly as Android)

@jash-maester
Copy link
Author

4G LTE Works. SMS Works. Calls go out but can't hear audio due to Audio issue.

@nothingneko
Copy link

Hey does this still work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants