Patcher: Fails on (unofficial) Lineage 17.1, Android 10

Note: I'm filing this issue on behalf of a friend who doesn't have a GitLab account, everything below was written by them and I will let them know of any replies given!


Following the news about 22.7 including Patcher support for Android 10, I grabbed a clone of the repository and ran build-package patcher , tried to flash the generated zip file through TWRP and got the following:

...
> preparing environment
> Android 7.0 - 10.0 (SDK 29) detected
> device architecture: arm64

++
++ services.jar status: DEODEX
++

> patching signature spoofing support

>> patching services.jar

!! failed to apply patches

Updater processs ended with ERROR: 1
Error installing zip file '/sdcard/Download/NanoDroid-patcher-22.6.20200407.zip'
Updating partition details...
...done

No further logs are generated (for example, in /data/media/0/nanodroid_logs), I had to write that console output by hand.

I checked serivces.jar and it contains the relevant classes.dex files, so services.jar is deodexed.

Are there any obvious steps I'm missing?

Thank you.

Edited by Christopher Roy Bratusek