I think it's working great in A12 (Custom Rom). I'm not an expert and haven't tried all the tools because I honestly don't know how they function yet. but duckhunter hid working great and tried android pin bruteforce and its working.
Files attached in case you want to try.
Credits to
@cyberknight777 for the kernel and module
Note:
1. Flash the nethunter op7 v4 in FKM
2. Flash nethunter op7 v4 module in Magisk
3. I put hid keyboard in /data/local/tmp and set permission to 0755. (not sure why but xbin folder is missing -where hid keyboard should be installed after flashing the magisk module). just rename the file and remove .txt
Don't blame me if you brick your phone.