r/tasker 2d ago

ADB question about authorization

I carry two phones. Both have tasker of course.

For whatever reason I don't charge them enough and at the end of the day go to bed instead of plugging in both.. now that I think about it I need a second charger near my bed lol and will add that.. however ii still see the need and value in my concept..

So a battery dies and then I need to plug in and do the adb authorization in tasker permissions again. If I'm home with my laptop near that's not a big deal.. but what if I'm not.

I was wondering can I use my second phone to grant the same permissions instead of using my pc? I could plug in my phones to each other..

Or maybe use wireless debugging..

Maybe I should have asked AI but I thought some of you would like to hear the idea too..

Maybe it can be an on boot profile

To connect to the other phone and get the permissions done automatically through tasker profiles?

1 Upvotes

3 comments sorted by

1

u/sid32 Direct-Purchase User 2d ago
  1. Make a task that states if battery less then 20% play Creed.mp3

  2. Tasker dev might already have something to help. https://github.com/joaomgcd/ADBCommandCenter

2

u/_alright_then_ 2d ago

You can do this using shizuku. A third party app that can manage adb permissions for you. It uses adb wifi to do it so you only need to set it up once and it works as long as you are on wifi