Fake the Android USB Debug settings
Try installing Magisk and then install the &quot;MagiskHide Props Config&quot; module. After this applications won't be able to detect if ADB is enabled.
Magisk can also hide the root availability. Just enable the hide feature and add the application to the list.
An app I tested reported 5 &quot;security&quot; issues. Enabling Magisk hide (and adding the app to the list) removed 3 of them, and adding the &quot;MagiskHide Props Config&quot; module removed the other 2. One of the remaining 2 is known to be the &quot;Android USB Debugging&quot;.
You don't need to do any extra stuff. The module is designed to fool transaction software. In my case the app uses the veritran API, very common on bank apps.