[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Quantumstate:
Guys you have to flash SU while fastbooted to TWRP or you'll get bootloops. Please see the TWRP OP.

Tip of the hat!

It's taken me two weeks, but I now have a DaviCal server running in a CentOS KVM virtual machine, and its port runs through a reverse SSH tunnel to the WireGuard server VM. There DaviCal listens on the WireGuard incoming port for CalDav and CardDav requests from remote VPN devices like phone or laptop, and also from devices local to the LAN.

I have absolutely no GApps installed on the phone. All apps come from F-Droid first, and if not there from APKPure. And I want for nothing since APKPure gets from Play.

DAVx5 runs on the phone as interlocutor, to stock calendar and contacts apps, although I do use aCalendar+ over the calendar since I use it in business. No imperious G**gle account needed.

All of my calendars and contacts are now shared and synced with all my devices, a first for me as I've always deinstalled calendarsync and contactssync in the past. With Oreo... Android impudently reinstalls them when I've deinstalled them. And, when I set Sync to Off for everything, Android sneakily turns it back ON after a bit! The temerity!

So that tore it for me. It has been a rather technical journey, with absolutely no assurance or certainty of success, but your post brother, gave me strength and hope. Thank you Sir. I am very happy with the outcome.

I now have a beautiful phone install with 5 desktops, and IceGalaxy for background, everything sorted and exactly like/where I want it. Desks for Entertainment, Media, Home (with defuct Snowstorm weather), Calendar/Email, and Utilities. It takes alot of work to put all the apps & widgets on desktops in the right places and in folders with like apps -- so I've ditched Trebuchet since it doesn't have enough sense to have a backup option for its own config. Nova does. And alot more. Nova is recommended. :cyclops:

I guess ppl just rebuild everything every time, or don't bother and have a simplistic setup. I back up the phone with SuperBackup to the sdcard, and then back up the whole phone to the LAN backups server using rsync. I rarely have to do a complete rebuild.

We are trapped now, with TWRP development for Peyton halted. So it's important to be able to rebuild quickly if we need it. Personally I'm afraid to do even Lineage updates at this point unless it's compelling. I get occasional hangs of the phone on nightly Mar 25, 2019, but it's only when I'm dicking with something.

Let's be honest. I've asked around for technical insights into Android, and nobody knows nothing beyond the surface. They're all doing stuff blindly and making tons of mistakes. It doesn't help that Android doesn't disclose important things we need to know, but this isn't New Science. The experts who have gone to the all the trouble and work of learning the docs... get swamped with n00b problems and go into hiding. Waters are shallow.

I am amazed that after this many years, there is not a mid-level cadre of techies by now. What is the matter with you Millennials? It's a broken social scene man. But, you're making it for yourselves so either do something, or get used to it.