That twrp repo shows exactly how to do it. I had to patch the kernel because that recovery relies on vendor partition with modules signed with different keys for different variants. If you package the required files from /vendor/lib/modules and /vendor/firmware, a matching kernel, and a script to insert them at the appropriate time, the touchscreen will work.I was referring to the file comparison between the Moto One 5G and the Moto One 5G ACe. Again, I said the guys that made their TWRP made their modules to get everything working while I don't know how to do that nor do any of you, lol. So what we need to figure is how did they remove the protection and create them.
* Combination of kang from sdm632 twrps and revert of 9e15fd05fe9797de4312080994036e21e79128cc while adapting for our needs here. Signed-off-by: Andrew Hexen <[email protected]>