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?

  • 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 Mar 10 '18 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 Mar 10 '18 at 19:26
  • @izzy: Macrodroid can't do this directly. Maybe possible with a shell command run by it though – beeshyams Mar 11 '18 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 Mar 11 '18 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 Mar 11 '18 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.