Android 14 - Cant enable hotspot via macro - Nothing Phone 2 (OS 2.5.2)

xTcisloVe

New member
Hello.
Edit 14.02.2024 - 13:27
Since we had some trouble in here i like to change my wording:


The following action does not work:
Enable Hotspot
-tested with wifi on and off, i can activate the hotspot from quicktiles with no problem
-this feature worked on Android 12/13 im now on Android 14(Nothing OS 2.5.2)

The following action´s do work:
Disable Hotspot
Enable Wifi/Mobile Data
Disable Wifi/Mobile Data

This macro works:
DisableHotspot.png

This macro does NOT work:
EnableHotspot.pngProtocol.png



Macrodroid updated
MD Helper 1.14
ADB Hack done for macrodroid and helper
Macrodroid and md helper are system admins
All permissions allowed
battery optimisation disabled
Macrodroid has root permissions and is able to modify system values like screen off timeout via shell script

What i tried:
- Uninstall MD Helper app
- Install MD Helper app
- Additional features granted via ADB tool
- Manual Start MD Helper app
- MD Helper app asks for permissions
- All permissions allowed
- MD Helper app asks for battery optimisation
- Battery optimisation disabled
-Reboot

Any help?
 
Last edited:

Dm114

Well-known member
Hello,

im on Android 14 - Nothing OS 2.5.2 i cant ENABLE the Hotspot with a macro that workes on Android 12/13 but i can DISABLE the hotspot with a macro.
I can enable and disable WIFI without a problem.

This feature is pretty important for me because the mobile router in my car needs 2 minutes to establish a network connection and i use the hotspot for instant internet connection.

I tried to find a shell/termux command to enable the hotspot but i failed.

Macrodroid updated
MD Helper 1.14
ADB Hack done for macrodroid and helper
Macrodroid and md helper are system admins
All permissions allowed
battery optimisation disabled
Macrodroid has root permissions and is able to modify system values like screen off timeout via shell script

What i tried:
- Uninstall MD Helper app
- Install MD Helper app
- Additional features granted via ADB tool
- Manual Start MD Helper app
- MD Helper app asks for permissions
- All permissions allowed
- MD Helper app asks for battery optimisation
- Battery optimisation disabled
-Reboot

Any help?


View attachment 8582
Thank you for writing in English but you also should modify MD language settings to English to make the screenshot of your macro.

It's very hard to understand it (mainly with such a great number of actions) for those who don't read German (guess it's written in German 😉).
 

Endercraft

Moderator (& bug finder :D)
Even in german you can use the icon to understand the action (and to be honest you can still read what it means because the word ressemble just a bit French/English (for example minute)).
I see you have root so it should be possible however you should see the Hotspot action's description.
 
Last edited:

xTcisloVe

New member
Thank you for writing in English but you also should modify MD language settings to English to make the screenshot of your macro.

It's very hard to understand it (mainly with such a great number of actions) for those who don't read German (guess it's written in German 😉).
Fixed.
Even in german you can use the icon (and to be honest you can still read what it means because the word ressemble just a bit French (for example minute).
I see you have root so it should be possible however you should see the Hotspot action's description.
2.png3.png

It may not work for every device.

Thats why i wrote this thread, maybe someone can help me. Or what else should help me in the description?
 

Qarboz

Well-known member
Hello,

im on Android 14 - Nothing OS 2.5.2 i cant ENABLE the Hotspot with a macro that workes on Android 12/13 but i can DISABLE the hotspot with a macro.
I can enable and disable WIFI without a problem.

This feature is pretty important for me because the mobile router in my car needs 2 minutes to establish a network connection and i use the hotspot for instant internet connection.

I tried to find a shell/termux command to enable the hotspot but i failed.

Macrodroid updated
MD Helper 1.14
ADB Hack done for macrodroid and helper
Macrodroid and md helper are system admins
All permissions allowed
battery optimisation disabled
Macrodroid has root permissions and is able to modify system values like screen off timeout via shell script

What i tried:
- Uninstall MD Helper app
- Install MD Helper app
- Additional features granted via ADB tool
- Manual Start MD Helper app
- MD Helper app asks for permissions
- All permissions allowed
- MD Helper app asks for battery optimisation
- Battery optimisation disabled
-Reboot

Any help?


View attachment 8583
Try to disable Disable wifi action after Lunch Blitzer.de Plus action and test macro
 

xTcisloVe

New member
Try to disable Disable wifi action after Lunch Blitzer.de Plus action and test macro
Thanks for your reply.

The macro is not the problem, it worked for at least a year.

I can test the actions and most are working, but:
"enable hotspot" = NOT working
"disable hotspot" = working
 

Qarboz

Well-known member
Thanks for your reply.

The macro is not the problem, it worked for at least a year.

I can test the actions and most are working, but:
"enable hotspot" = NOT working
"disable hotspot" = working
Have you tried doing as I suggested? Because disable wifi when hotspot is on, in some phones the wifi radio is turned off and as a result hotspot can't work (I had a phone that behaves this way)
 

Dm114

Well-known member
Even in german you can use the icon to understand the action (and to be honest you can still read what it means because the word ressemble just a bit French/English (for example minute)).
Stop giving lessons to people! Even about German language unless you also speak German... I'm not able to give advices to Japanese of Korean people in their native language, unlike one or two users among us!

To be serious, you cannot have a precise opinion of a macro just looking to icons.

According to words, the problem is not for words like "minute" which, I guess, can even be understood by Asian people as soon as they are familiar with latin alphabet...

To give accurate advices (this should be the most important on this forum), we must really understand what the owner wanted to achieve and how he/her did it. Mainly for long or complex macros...
 

xTcisloVe

New member
Have you tried doing as I suggested? Because disable wifi when hotspot is on, in some phones the wifi radio is turned off and as a result hotspot can't work (I had a phone that behaves this way)
Indeed i did not try it. Because the action itself does not work. I updated the initial question to get some confusions out of the world.

I can start the hotspot from quicktiles it doesnt matter if im connected to wifi or not, it works.
I can disable the hotspot with a action from a macro

I CANT enable the hotspot with a action from a macro it doesnt matter if i disable or enable wifi.

I dont know if i dont express my problem badly here but it seems like i do.

I hope the initial thread is better now.
 

Qarboz

Well-known member
Indeed i did not try it. Because the action itself does not work. I updated the initial question to get some confusions out of the world.

I can start the hotspot from quicktiles it doesnt matter if im connected to wifi or not, it works.
I can disable the hotspot with a action from a macro

I CANT enable the hotspot with a action from a macro it doesnt matter if i disable or enable wifi.

I dont know if i dont express my problem badly here but it seems like i do.

I hope the initial thread is better now.
I have now seen the new screenshots. The only thing I can think of, if you haven't already, try to flag Alternative method or Force legacy mechanism option
 

xTcisloVe

New member
I have now seen the new screenshots. The only thing I can think of, if you haven't already, try to flag Alternative method or Force legacy mechanism option
Yes i tried every option none is working.

I couldnt find a way to activate the hotspot via termux/adb maybe someone here knows an option?
 

Endercraft

Moderator (& bug finder :D)
Unfortunately even with adb you can't do that (at least not that I know of). I've already had to face this problem in another thread but it seems despite my research it's just not a thing.
The only way is to use UI Interaction.
 

sming

New member
An alternative might be to invoke/click the quick setting tile using automated UI macros/tasks.

Tasker's Auto input is fantastic at this sort of thing and costs nothing I believe if you have few tasks and even if not it's like $2 or something.

If you're not familiar with Tasker , eh, it's nowhere near as user friendly as Macrodroid and does have a bit of a learning curve. That said, it can be invoked from Macrodroid so at least that part is covered.

I have numerous macros that call out to Tasker and Auto Input that work every time (I used Tasker heavily before discovering how good Macrodroid is).

One can also even disable Tasker and the tasks still work. I do this since Tasker, when enabled, causes my phone's System UI process to hang regularly for up to 20 seconds for some arcane reason ¯\_(ツ)_/¯

If you need any more info I'm happy to help.

Pete
 

MacroDroidDev

Administrator
Staff member
Just to follow up on this, I have just found an issue that causes hotspot to not function on some devices with the v5.42 beta releases, so I'm going to put out a new beta later today to resolve this.
 

rslo

New member
I have a similar issue but in reverse. I have a macro set to turn my hotspot on when the battery level is greater than 30% (this works fine), I then have another macro that turns the hotspot off if the battery level is less than 20% (this doesn't work)

I have a rooted Oneplus 5 running LineageOS (Android 14). I have also installed the helper app 1.14 via adb.

I have tried using 'Alternative Method' and 'Force Legacy Mechanism' but it makes no difference.

However, if I select the hamburger menu and 'Test Macro' it turns the hotspot off successfully.

Any suggestions on what to try would be greatly appreciated.

Best Regards,

Robert.
 

MacroDroidDev

Administrator
Staff member
I have a similar issue but in reverse. I have a macro set to turn my hotspot on when the battery level is greater than 30% (this works fine), I then have another macro that turns the hotspot off if the battery level is less than 20% (this doesn't work)

I have a rooted Oneplus 5 running LineageOS (Android 14). I have also installed the helper app 1.14 via adb.

I have tried using 'Alternative Method' and 'Force Legacy Mechanism' but it makes no difference.

However, if I select the hamburger menu and 'Test Macro' it turns the hotspot off successfully.

Any suggestions on what to try would be greatly appreciated.

Best Regards,

Robert.
Please use report a bug in the trouble shooting section and include the relevant macro in the bug report.
 

rslo

New member
I'm sorry I'm not finding where to report a bug report. Could you point me in the right direction please? I only joined this forum today, and the above was my first post reply.

Regards,

Robert.
 

MacroDroidDev

Administrator
Staff member
In the side menu of the home screen you will see the troubleshooting section and the report a bug button is in there.
 
Top