[Motorola One Zoom (aka Pro) Guides, News, & Discus] ilia3367:
​

So, we have a fully functional TWRP. Now we can install custom firmware. I've been trying to get a working system on the Project Treble firmware for a long time, and found the right a working GSI images!

The firmware was taken as an example for installation Havoc-OS 3.5

Prerequisites - bootloader must be unlocked, clean Stock firmware must be installed.

Installation Instruction

1. Download the Project Treble system image archive without included GAPPs (Vanilla, ARM64-AB). Otherwise the system will not start. Unpack the archive and copy the ROM image to an external SDCard.

Download and copy to external SD Card GAPPs archive (ARM64, Android 10), Magisk Installer https://github.com/topjohnwu/Magisk (latest version for today Magisk v20.4) and Disable_Dm-Verity_ForceEncrypt https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389 (latest version for today Disable_Dm-Verity_ForceEncrypt_03.04.2020 https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip ), Permissiver_v4 (look at the attached files);

2. Install TWRP according to the Instruction, doing everything up to the 6th step.

3. Reboot in TWRP and go to the "Wipe" tab, "Advanced Wipe" and select Dalvik, System, Data, and then go back two steps back and do a "Swipe Factory reset".

4. Install the Project Treble system image. In the "Install" tab in the lower right corner click "Install image" and select ROM Image. A window will open in which you should select partition "System Image" in which the image where to be installed. Swipe for confirm flash.

5. Installing GAPPs. If you try to install the GAPPs archive immediately, the installation will be aborted with an error: 70 (Error 70). This will be eliminated as follows:

- Go to the "Wipe" tab;

- Then select "Advanced Wipe";

- In the menu that opens, select the System partition and click "Repair or change file system";

- A few buttons will appear and click "Resize File System". If the process failed the first time with Error 1, then repeat this action again.

Now you can install the GAPPs archive without any errors.

6. When the installation is complete, go to Wipe and perform a "Swipe Factory reset".

7. Install the Magisk.zip, Disable_Dm-V_ForceEncrypt.zip and Permissiver_v4.zip. Reboot into the system and make the settings, use the Project Treble working system.

The first launch will be a bit long, do not worry.

Important additions

Adaptive brightness - Copy framework-res__auto_generated_rro.apk to /vendor/overlay. Give this application permission 644. Remove the "FrameworkResVendor" folder from /vendor/overlay. Reboot the phone. In "Phone Settings" you will have a new item "Adaptive brightness" and this feature will work in "Quick Settings".

Noticed problems on Havoc-OS 3.5:

- Does not pass SafetyNet check (ctsProfile: false; basicIntegrity: true). On Google Play, your device is not certified, but applications are installed and updated.

- Wired headphones are plugged in. When connected, the Bluetooth headset in the Dialer application works, but when listening to audio, video, YouTube is not.

- Unlocking by fingerprint is implemented for scanners on the back of the phone.

Automatic brightness setting does not work - Fixed!