I managed to compile and install /e/ Android Q on a XZ2C device and wanted to share how I did it.
In order to compile /e/, I followed the steps described on https://doc.e.foundation/how-tos/build-e and Is it possible to make Q builds using Docker?
with the following arguments:
-e “OTA_URL=https://myownserver.example.com” \
The final zip file was called “e-0.14-q-20201228-UNOFFICIAL-xz2c.zip”
The Installation was a bit more tricky and I was confronted with a bit of try and error.
I unlocked the bootloader as written on the LineageOs guide “Unlocking the bootloader” https://wiki.lineageos.org/devices/xz2c/install
WARNING: This will permanently erase some Sony DRM-Keys and permanently unlock the bootloader (and possibly other things).
WARNING: After unlocking the bootloader I installed different versions of LineageOS and of the stock-Android. I can not recall the exact order, so be aware that some TWRP & LineageOS & Android combinations are not compatible (Android 9 vs Android 10 or stock vs sodp): read the package-descriptions!
I installed TWRP recovery from https://forum.xda-developers.com/t/recovery-android-10-stock-sodp-xz2-c-p-3-twrp-3-4-0-0-unofficial.4074305/
I read and applied the first and the second post.
I followed the installation instructions 1-4 in the second post.
Instead of steps 5-6 I installed TWRP with the following command: “fastboot flash boot twrp-apollo.img”
I did not do steps 8-10
I had to go the TWRP-way, because the Lineage Recovery as described in https://wiki.lineageos.org/devices/xz2c/install did not work for my compiled os.
I got this idea from [UNOFFICIAL BUILD] OnePlus 7T Pro(hotdog) eOS - Q (Thank you @vxrdanny)
HINT: Since “fastboot devices” showed no device in the appropriate step for me on Windows, I had to manually install and select the correct driver for the Bootloader.
I followed the “Pre-install instructions” of https://wiki.lineageos.org/devices/xz2c/install and did the partition copy.
By adopting the instructions of “Installing LineageOS from recovery” of https://wiki.lineageos.org/devices/xz2c/install to TWRP, I managed to install e and after a reboot I was saluted by the e-logo
Android changed quite a bit between Nougat-LeEco Le 2 (s2) to the Q-xz2c.
In the few hours I tested it so far, I experienced only minor issues:
- I can make calls and receive SMS
- calendar, contacts, notes synchronization works with my own Nextcloud
- E-Mail access works
- Picture-Quality is better than on the s2 (and the camera works without problems in comparison to the s2)
- App-Installation via /e/-Apps, F-Droid and Aurora made no problems
- The “Files”-App has some dialogues with white text on white background, so some buttons are unreadable (can not say if this is a Q-thing or a xz2c-thing)