Sad news with Android 14 and MacroDroid

Endercraft

Moderator (& bug finder :D)
After installing adb, you will need to enter the pair code using the split screen.
adb pair 192.168.x.xxx:XXXXX

Then connect via wireless debugging.
adb connect 192.168.x.xxx:XXXXX

You may find the information in the following thread on setting up Termux helpful.
I don't remember having to pair first. Can't you just connect directly and accept prompt ?
I never found the pair useful, it just add a step.
 

Dimlos

Well-known member
I don't remember having to pair first. Can't you just connect directly and accept prompt ?
I never found the pair useful, it just add a step.
I tried revoking all debugging permissions, but in the case of wireless debugging, I couldn't connect unless it was paired.
 

Attachments

  • pair test.jpg
    pair test.jpg
    260.3 KB · Views: 6

JStefanski

New member
After installing adb, you will need to enter the pair code using the split screen.
adb pair 192.168.x.xxx:XXXXX

Then connect via wireless debugging.
adb connect 192.168.x.xxx:XXXXX

You may find the information in the following thread on setting up Termux helpful.
Thanks for the feedback. Everything went smooth till I got this error: no such file or directory. I'm pretty sure it's the correct file path.

adb install --bypass-low-target-sdk-block /storage/emulated/0/Documents/MacroDroidHelper_v1_13.apk
 

Attachments

  • Screenshot_20231011-195930.png
    Screenshot_20231011-195930.png
    356.6 KB · Views: 7

Endercraft

Moderator (& bug finder :D)
Thanks for the feedback. Everything went smooth till I got this error: no such file or directory. I'm pretty sure it's the correct file path.

adb install --bypass-low-target-sdk-block /storage/emulated/0/Documents/MacroDroidHelper_v1_13.apk
Are you sure all files permission is granted ? Also make sure the file path is correct.
You can also simply run termux-setup-storage to get the permission prompt.
Dimlos said:
Run the termux-setup-storage command and try again.
You got me while I was writing !
 

Snurre

Well-known member
Thanks for the feedback. Everything went smooth till I got this error: no such file or directory. I'm pretty sure it's the correct file path.

adb install --bypass-low-target-sdk-block /storage/emulated/0/Documents/MacroDroidHelper_v1_13.apk
In the screenshot it says download you write document, in the filepath
 

JStefanski

New member
Are you sure all files permission is granted ? Also make sure the file path is correct.
You can also simply run termux-setup-storage to get the permission prompt.

You got me while I was writing !
Oh my. I didn't had allowed the file permission because I've reinstalled the app. I have installed it. Thank you so much everyone.
 

Dimlos

Well-known member
Apparently when Termux is involved, it requires a lot of trial and error.
The information is fragmentary, so it might be better if someone put it all together nicely and write it elsewhere.
 

Endercraft

Moderator (& bug finder :D)
Apparently when Termux is involved, it requires a lot of trial and error.
The information is fragmentary, so it might be better if someone put it all together nicely and write it elsewhere.
You can make a guide about that if you want, if you don't have the time I will when I can.
 

kayosaurus

New member
I just went back to Android after a few years with Apple and sort of lost touch and attempting to install the helper.

I tried Termux from F-Droid and got "error: no devices/emulators". I have enabled permissions and USB debugging, although I'm not sure why I need to enable that option since I'm not using a PC, just straight from Termux app.

The error occurred after doing the adb install --bypass-low-target-sdk-block [macrohelper.APK]. When I did 'abd devices', no devices are listed, not sure how I would mount this within Android. Also double checked and Termux has all permissions after doing 'termux-setup-storage', and even copied the path that I got from the Files app. I even tried with the Temux path, which I got from 'pwd [macrohelper.APK]'.

Everything that I found online looks like drivers were involved, but again not sure how thats relevant since I'm on Termux directly?
 
Last edited:

Endercraft

Moderator (& bug finder :D)
Enable wireless debugging, see note what port it gives you and in Termux typeadb connect localhost:(PORT HERE)
 

kayosaurus

New member
Thanks, I figured it out. You do have to pair it first, so in dev option enable WIFI DEBUGGING, then create your keypair which I followed this video:


The kicker is you have to split window so when the keypair code is up you don't want to minimize it or the code will be invalid. After just 'adb pair localhost: port' and enter the code. Finally you enter 'adb connect ip: port' (this is not the pairing IP/Port, but the IP listed on your device in the same window before hitting the pair button) then it should work.

Hope this helps someone.
 
Last edited:

kayosaurus

New member
And then I had to do the ADB hack and make sure battery optimization was OFF for MD Helper, and Location on AT ALL TIMES!

This is a lot to do for any newbie, but it works and its worth it.

This will fix SSID on connecting to [any network] and after this fix you pick the specific SSID.
 
Top