the message you get with 100% may be a good hint@moly82 hey, I want to stay with your rom and Im not asking for anything,
but when programming from a macbook with android studio and trying to run the app from the device I get
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.INSTALL_PACKAGES.
I just fresh installed your rom wiping everything, and I also tried with a stock 5.1.1 rooted and it worked so...
With the stock rom you get like a message suggesting installing the sony software device, with yours I don't so maybe it has something to do with that? I will check removed stuff to see if I can guess what is causing this.
Edit: Tried moving all usb related prive apps and the device monitor and device config tool from system app but with no luck
you could try restoring the following first:
restoring instructions in OP... very easy
let me know!