0

I'm trying to get a certain NFC tap-and-pay app to work. It's called Nexi-Pay and AFAIK is only available in Italy. Due to "security concerns" they deny access to the app to rooted Android users. I managed to get past the root check with Magisk Hide, but now the app says that I have to disable "Android USB Debugging" to use it. Now, I tried doing so and it worked, but since it is a feature I use very often, it would be a pain to switch it on and off every time I need to pay for something.

How can I make the app think ADB is disabled while it's actually not, a-la-MagiskHide?

7
  • Another approach would be using an automation app like tasker or MacroDroid which, whenever your Nexi app is started (comes to foreground) could disable USB Debugging. This is just a raw idea; I haven't checked which automation apps can toggle that setting.
    – Izzy
    Commented Mar 10, 2018 at 15:19
  • @beeshyams Thanks! Apparently it needs Xposed, which I don't have. I'll install it and check if it works when I have some time
    – Manchineel
    Commented Mar 10, 2018 at 19:26
  • @izzy: Macrodroid can't do this directly. Maybe possible with a shell command run by it though
    – beeshyams
    Commented Mar 11, 2018 at 1:31
  • 1
    @Izzy : Thanks. I'd seen this too earlier but it went over my head. I think I will pass this as it requires an understanding which I dint have. This for the pointer though , it may help others :)
    – beeshyams
    Commented Mar 11, 2018 at 14:10
  • 1
    Ah, yes @beeshyams – that's the ones in the new syntax (starting with ~MM, setprop got replaced by settings on most devices/ROMs). Good find!
    – Izzy
    Commented Mar 11, 2018 at 16:17

1 Answer 1

1

Try installing Magisk and then install the "MagiskHide Props Config" 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 "security" issues. Enabling Magisk hide (and adding the app to the list) removed 3 of them, and adding the "MagiskHide Props Config" module removed the other 2. One of the remaining 2 is known to be the "Android USB Debugging".

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.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .