yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] joemossjr:
Magisk works if you want to be unencrypted and not have access to data
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ski21:
Does rooting lose android pay, or samsung pay if u have a samsung watch?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
Yep. I can't add my debit card to Android Pay
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
Not sure If I need to ask here or the root thread. But I got a notification this morning from Motorola that a system update is available. Can I take this update with this? In most of my past experiences system updates were a big no-no.. Most of the time you would loose root or even worse.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] WeUseLord-:
I attempted it and it will just fail but you'll have that constant notification of it saying it's available which is very annoying
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
You could freeze the Moto updater.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] HcVcarreras:
please help

install the twrp and root with magisk until there everything great. but when I want to uninstall system applications or move user applications to system I get the error

*((error could not remount / system))

if anyone knows any solution I would greatly appreciate your help
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, so I got my nash hardware replaced enough to at least test this (the replacement speaker they sent me is defective sigh as I can see the speaker rattling in the housing, so will be waiting on a replacement one of those before applying the double-sided adhesive strips to hold it all together)... and oddly enough? The TWRP installer zip gives me decryption fail messages asking for the password again... but data is totally decrypted as I can see all the files lol. :silly:

Using the TWRP .img file decrypts properly without any error messages as expected... so I guess the TWRP installer zip is bugged somehow???

Anyways, I've asked bigbiff if he can push a new prod build of TWRP 3.3.1-0 official for nash with just the .img version and not the installer zip as it is bugged for us.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Type44Q:
Trying to replace Lineage recovery with TWRP...

Hi, I hope this is the right thread (if not, apologies!). While trying to install Lineage, I ended up installing Lineage Recovery instead of TWRP and now I can't install Gapps without getting zip errors (LineageOS and SuperSU installed okay but without Gapps, I'm dead in the water) . I've had no success using Linux Mint (udev errors that I don't grasp) and no luck using Windows (I might be f'ing up the "slot A vs B" thing). Does anyone know of an updated TWRP/Nash install guide?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Type44Q:
update: got TWRP installed but...

Update: got TWRP installed (just had to sudo those fastboot commands) but OpenGAPPS still won't install. I downloaded both Pico and Nano of v9.0 on ARM64 and I'm getting the same errors in TWRP that I got with Lineage Recovery (LineageOS and SuperSU are still installing okay, although Lineage fails if I enable zip verification - I suspect that's normal, at least).

Does anyone have any thoughts, by any chance? :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=5560381]Type44Q[/MENTION] , for LineageOS please stick to Lineage Recovery and follow the instructions exactly as shown on the LineageOS Wiki for nash.

https://wiki.lineageos.org/devices/nash/install
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
...it's

nice

to see that after SOME YEARS the official development of TWRP for our phone has been done exactly as I ever said: bootable IMG + flashable ZIP... :cool:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] abense:
If I've got my phone setup with latest lineage 16, magisk, etc, etc. -- But the one that I forget to do was 'permanently' install TWRP ---

can I do this:

fastboot boot twrp-3.3.1-0-nash.img

enter my pin to decrypt

install twrp-installer-3.3.1-0-nash.zip from within TWRP, wait for it to finish, and then....

install Magisk-v20.3.zip

Then reboot, and have all work out fine?

Edit: Yes, I can :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Rabid-Cabbit:
Model XT1789-01 ?

I had the Sprint-locked version of this phone, and all of Joe's excellence worked great on it! I've finally left sprint and moved to Verizon, but instead of buying the same phone through Verizon, I bought a brand new Unlocked version from Ebay. Claims to be the Model XT1789-01. Will I need to do anything special to make this work on my incoming new phone? I'm assuming if it IS locked, I can simply use the motorola website to request unlock, just like I did with my sprint version? Any guidance is appreciated. I loved this model so much, especially with Joe's efforts put into it, that I upgraded to a note 10, immediately cried, and decided to go back to this lovable brick. :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] bogante:
can you upload this? i have the same problem "no booteable A/B slot"
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, a new test build of TWRP is going up! twrp-for-nash twrp-3.3.1-1-nash-UNOFFICIAL-20200402 contains a pie kernel by erfanoabdi to fix adb not working when coming from fastboot, source-built update_engine_sideload since it's fixed so we can get rid of our older prebuilt one we had, a fix for timezone data, updated decryption blobs for Android 10 and some commits that should allow us to decrypt Android 9 and maybe even old Android versions as well.

Please note! My nash is broken so I can't even test any of this stuff, so I would recommend only using fastboot boot to first test it before flashing it over your existing recovery.

https://osdn.net/projects/twrp-for-nash/releases/72690

If you wish to see the commit history, here is the repo I have it uploaded to for meow

https://github.com/themard/android_device_motorola_nash-twrp

Any issues please submit logs (Settings > Copy Log > Include Kernel > swipe > logs will be in /sdcard/)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ldmondini:
Hi, thanks for your efforts in developing this device:good:. I've tried your latest build, it doesn't boot on my z2 retail (06), it remains stuck on the first blue motorola screen and I don't how to send you a log at this stage. I have latest lineage 17.1.

Curiosly the older version 3.3.1-0 is working fine. I booted it, decripted the SD and installed the Magisk zip.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ph03n!x:
Hi there mate!! Been great seeing after my time with the Le Max 2 :)

I tried fastboot boot this version of TWRP, but no luck - am stuck at the M logo. I can adb into the device though, but all folders are empty - thought I can pull logs from /cache but no go.

I could see the mount points, but except for /dev, /proc, /sys, all other folders are empty - the /mnt folder only had vendor listed. Here are the mount points in case it helps.

127|nash:/ # mount
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)

Let me know if there is something else I can help with :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Ok, that last test build might have been bad because I updated a bunch of blobs to Android 10 and our TWRP based on 9 didn't like that. :silly: so test build twrp-3.3.1-2-nash-UNOFFICIAL-20200405 will have twrp-3.3.1-1-nash-UNOFFICIAL-20200402 contains a pie kernel by erfanoabdi to fix adb not working when coming from fastboot, source-built update_engine_sideload since it's fixed so we can get rid of our older prebuilt one we had, a fix for timezone data and some commits that should allow us to decrypt Android 9 and maybe even old Android versions as well... but no blob updates to Android 10 as I want to see if that's the cause. If so? My next test build would include only the Android 10 decryption blobs so that they match the ones that are used on LineageOS 17.1 for maximum compatibility.

Just as a note like the last build, my nash is broken so please test with fastboot boot and ensure it works before flashing it.

https://osdn.net/projects/twrp-for-nash/releases/72704

Special thanks to [MENTION=6496189]ldmondini[/MENTION] and [MENTION=3339433]ph03n!x[/MENTION] for testing that last build. :good:

It's the same GitHub repo as last time just minus that Android 10 blob update commit

https://github.com/themard/android_device_motorola_nash-twrp
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ph03n!x:
Okay, I buggered up a little bit - LOS17.1 update from 5th April was rebooting to recovery the moment any Magisk module was loaded, and as a part of my "troubleshooting" I ended up locking the bootloader before flashing it again, and then reverted to LOS16. So I'll have to back things up and unlock the bootloader again before testing this :D

Will probably do that tomorrow!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ldmondini:
Hi, I tried latest version -2 with installed Lineage 17.1. it seemed to me to work fine, decription worked fine and moving in the recovery everithing seemed right. Attached the log. If I can make something more please ask.

Thanks again for your efforts
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ph03n!x:
After messing around with LOS17.1 and LOS16, I went back to stock - yes, I booted the twrp-3.3.1-2 release, works fine. Decrypts both LOS17.1 and stock Moto (9) /data. [MENTION=6235294]ThE_MarD[/MENTION] - is there anything else I can play with? My system is a new install, I can mess with it quite a bit until I set it up like I want it :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=6496189]ldmondini[/MENTION] and [MENTION=3339433]ph03n!x[/MENTION], thanks for testing it out! Glad to hear this one boots. It must have been the boot blobs from LOS 17.1 that weren't compatible with TWRP based on Android 9 pie then. Good to see the pie blobs can still decrypt LOS 17.1, but it would be best if we had matching blobs for this, so I'll attempt to update blobs to the ones used on LOS 17.1 so that they match.

Have you guys tried flashing LineageOS 17.1 or other ROMs to see if they flash and boot ok? Another thing to test would be making a TWRP backup and restore too.

Thanks again guys! :good:

UPDATE:

New test build is going up! twrp-3.3.1-3-nash-UNOFFICIAL-20200407 contains the same updates as the last build including decryption related blobs for Android 10, so that they match the blobs used on LineageOS 17.1. :)

edit: build taken down as it was reported broken...

My GitHub repo with the changes is here:

https://github.com/ThEMarD/android_device_motorola_nash-twrp

I uploaded the last few changes on that booting 3.3.1-2 test build to TWRP Gerrit as well:

https://gerrit.twrp.me/q/project:android_device_motorola_nash
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ph03n!x:
While I did flash LOS17.1 and GApps - recovery is fine, the ROM boots. But something is wrong with LOS - the last couple of pages in that thread says it all (including mine). I have switched back to stock for now :eek:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3339433]ph03n!x[/MENTION], yeah unfortunately I haven't been able to help with nash for LineageOS 17.1 bringup as mine is broken... so I can't help with the connectivity and/or camera issues there... the best I can do is get TWRP up to snuff. :silly:

If you could please also test TWRP backup and restore that would be greatly appreciated. Thanks again bud!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, another new test build with more adjusted decryption blobs for Android 10. For build twrp-3.3.1-test4-nash-UNOFFICIAL-20200410 it seems I can't upgrade any of the HALs and just the blobs which is fine since TWRP is still Pie based but we can use Android 10 decryption blobs with it.

https://osdn.net/projects/twrp-for-nash/releases/72738

Source has been pushed to here:

https://github.com/ThEMarD/android_device_motorola_nash-twrp/commits/android-9.0
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ldmondini:
Tried your latest build 04, it doesn't boot:(

So I booted your last working version (02) and installed Magisk: everything has worked fine. Here attached the log.

Sorry I can't try to flash more as a complete firmware but I'm using the Z2 as my daily driver and I don't want to brick it. I hope it will be usefull anyway.

Thanks for your time
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ph03n!x:
I concur - this build too does not boot, but can be accessed through ADB.

Test v3.3.1-2 can decrypt Android P /data from the stock ROM. I tried a backup and restore too, and seems to have gone well.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=6496189]ldmondini[/MENTION] and [MENTION=3339433]ph03n!x[/MENTION], Thanks guys. Yeah I took down that test4 build. The keymaster HAL was crashing with the same blobs we have on LineageOS 17.1... but if the blobs from pie decrypt Android 10? I'll consider that good enough then. :silly:

Ok, new pre-official TWRP test build! Please test decryption, installing ROMs and also TWRP backup and restore.

https://build.twrp.me/twrp-3.3.1-0-nash.img

Here's also the TWRP installer, but tbh I have no idea if decryption will work with it, so I would recommend checking with the img first.

https://build.twrp.me/twrp-installer-3.3.1-0-nash.zip
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ldmondini:
I tested this build, only the image, not the zip. I'm always on Lineage 17.1: I've installed Magisk (updating Lineage I have lost it:confused: and made a full backup, everything seems to work fine. Here you can find the log: https://drive.google.com/open?id=1bN-K75U5lWODk-61WTM_-noVZR7XjqaO
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=6496189]ldmondini[/MENTION] can you please try attaching that log again? I think it didn't work the first time as your post doesn't have a log.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=6496189]ldmondini[/MENTION] thanks for attaching the log, but can you also please try to flash a ROM as well please to ensure that works fine too?

edit: I guess the interest in updating TWRP for nash has subsided. I won't be updating TWRP for nash until I get responses... :(
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new test build is going up! twrp-3.4.0-test6 switches to persist images for backup/restore as TWRP seems to have broken persist data backup/restore (same issue on my x2, Z01R and also reported on max_plus, zl0 and zl1 so no idea if it even works on any device :silly: ).

As always, please test ALL functionality.

https://osdn.net/projects/twrp-for-nash/releases/73646
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ilia3367:
I don't want to offend you, but already on 11.09.20 was published absolutely working TWRP-3.4.0 :highfive:

Your TWRP is not loaded with the command: fastboot boot
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=667335]ilia3367[/MENTION], official TWRP 3.4.0-0 was taken down due to defective update_engine_sideload, but we haven't bothered to get a new official build up yet and tbh that's the only version of TWRP I care about.

As mentioned, this build is to mainly test TWRP Persist Image backup/restore since the regular TWRP Persist data backup/restore is bugged.

It isn't loaded? Do you mean it fails to boot to TWRP?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ilia3367:
I know. That's why need TWRP which can be loaded with the "fastboot boot" command and not installed into the boot partition with the "fastboot flash boot" command.

Yes. Your TWRP cannot be loaded with the "fastboot boot" command. Mine can.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] leaveitatthedoor:
So in testing the different twrp images on here just trying to get a temporary boot to TWRP, all of them get stuck on sending boot.img and once I unplug it states that it fails due to Status Read Failed(too many links)

My main reason for rooting this device is to try the wireless android auto and use this Sprint Moto Z2 Force as the slave device as I could not get it working with the Z2 unrooted. Could anybody lend a hand?

---------- Post added at 03:45 PM ---------- Previous post was at 03:45 PM ----------

So in testing the different twrp images on here just trying to get a temporary boot to TWRP, all of them get stuck on sending boot.img and once I unplug it states that it fails due to Status Read Failed(too many links)

My main reason for rooting this device is to try the wireless android auto and use this Sprint Moto Z2 Force as the slave device as I could not get it working with the Z2 unrooted. Could anybody lend a hand?

Meant to reply to this instead of double posting, my bad.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ilia3367:
I still do not understand what you need. TWRP & Root? Try this TWRP
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] leaveitatthedoor:
Tried this and it still gave me the same issue when trying to fastboot the img. It just hangs on sending the boot.img
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] WeUseLord-:
I forgot about that (facepalm)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
LOL we all have our days. Yesterday I couldn't get the TWRP to flash and got so frustrated. I was forgetting the quotation marks. :rolleyes:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] LGtMgG2t:
Awesome job! Can't wait for my phone to come in and get this flashed on over. Many thanks for all of your efforts!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
Has anyone tried out slot A yet? Just curious if it went ok.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] logikism:
Slot a

Mine is using slot a. Don't know how it switched (I did a lot of things) but it did. All is well
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
Ok. Well I guess that answers that. LOL
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
slot a?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
Yeah mine defaulted to slot b. Is yours slot a also?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
i know not of these slots of which you speak
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Our phone has a dual boot partition. Essentially, we have two bootable operating systems. This is used for on the fly updates. Normally, by default the phone will boot to "slot a" after an update, it will boot to slot B, after a third, it would go back to slot a, etc.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
[IMG="https://image.ibb.co/eesGmR/20171019_185824.jpg"]https://image.ibb.co/eesGmR/20171019_185824.jpg[/IMG]
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
ahhh ok, the partitions, got it, mine is on slot B as well. what happens when you hit the other slot on the screen?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
Idk I haven't tried it yet LOL
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
do it, i dare ya, i triple dog dare ya :D
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
:laugh: LMAO Maybe tomorrow when I have time to fix it if something bad happens

Who knows what will happen. It could shoot my eye out or something! :laugh: :laugh: :laugh:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
I hit the other slot! :victory:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
Pics or it didn't happen

Lol what did it do?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] X_man.:
LOL Pretty much just gave some info about the partition then i hit the back button.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] TheKnux:
Guys nothing will happen if you change slots. If you change slots it still boots to system. Before we had twrp I had the June security update on B and August on A and I could switch between the two. The OS is installed on both partitions.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
how did you do that and how did you switch between the two? could this be used like a dual boot? different OS on each partition?

EDIT---yeah now i know, i just looked up the a/b partition scheme to see how it works, knowledge is power :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Pizzuto:
Cannot get RW mount on /system in TWRP, flashing fails error code 1. Any ideas.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DsturbD:
What are you flashing? SuperSU?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Pizzuto:
Pixel 2 launcher, xposed, sound mods, really anything fails with same error!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
try flashing this in fastboot if you have T-Mobile

Try flashing this in fastboot if you have T-Mobile. You will notice the kernel is latest T-Mobile stock, the recovery is this thread's REV2 TWRP, and the boot image is rooted /sbin with SuperSu. Maybe RW, seems to work.

https://www.dropbox.com/s/hhj1db5h4bpwdij/boot.img?dl=0

Older SuperSu zips were failing /sbin install for me, but SR5-SuperSU-v2.82-SR5-20171001224502.zip worked. The above linked boot.img is pre-rooted /sbin, but the beta for SuperSu is posted in https://xdaforums.com/apps/supersu SR5 and SU Hide 1.09 are attached, but another beta and another SU Hide would soon be released.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] tinydynamite00:
Adaway installed as a systemless app was failing for me and when trying to create a symlink from /data/data/<em>hosts</em> to /system/etc/hosts in TWRP, as well. What ended up working was creating the symlink to /system/system/etc/hosts where the hosts file appears in REV2 of this recovery image.

After that, I was able to install and update Adaway in systemless mode until a subsequent update failed, as though the symlink had been overwritten. In the end, I settled for the basic system install offered by the app.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] joemossjr:
Are you encrypted?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Pizzuto:
No
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] joemossjr:
What carrier
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Pizzuto:
Tmobile
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
HDMI out disabled in stock kernel? Could driver be added or enabled in compile?

[MENTION=3659125]joemossjr[/MENTION] , is it possible to add support for HDMI out from USB-C port? For some reason, I think Lenovo may have disabled it in their Moto Z2 stock kernel. Here's my dilemma:

1) Miracast is only 1080p not 4K.

2) Moto Z2 does 1080p Miracast OK, but as soon as you switch to bluetooth audio the video gets horribly laggy--to the point where lips move long, long after you hear words spoken. In sum, it becomes unusable if you are watching anything involving actual people talking with bluetooth audio.

3) It seems to be in other devices that some kernels allow the exact same device to be able use HDMI out or not (i.e., probably more a driver issue with most), but sometimes could it possibly be a more simple compile config option--especially considering USB-C to HDMI is often utilized? Or, maybe one could compile with a driver from some other phone with same component?

http://armdevices.net/2017/03/02/displayport-comes-with-qualcomm-snapdragon-835-with-alt-mode-type-c-directly-on-the-soc/