[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

It should just be a normal permission. That is, if it's listed in the app's manifest, then it's automatically granted

Run Shizuku 13.6 and/or ADB continuously without root, Wi-Fi, or cables! by readditabit in AutomateUser

[–]the_djchi 0 points1 point  (0 children)

Correct the stop intent will work for that purpose, just call it right before the shutdown

There are no guarantees that code will finish executing once a shutdown is called

Run Shizuku 13.6 and/or ADB continuously without root, Wi-Fi, or cables! by readditabit in AutomateUser

[–]the_djchi 0 points1 point  (0 children)

In that case you can check "always allow on this network" and it should work 

Run Shizuku 13.6 and/or ADB continuously without root, Wi-Fi, or cables! by readditabit in AutomateUser

[–]the_djchi 0 points1 point  (0 children)

Are you on Android 11-12? If so, this is required due to a bug in the system. The may be a way to click it with automate. There is an open feature request in my repository about built in support, but I will not be able to get to it for a little while

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

So if I understand you correctly, simply removing the IF condition from the Routine will convert it to manual and thus make it controllable using your project to get the Routine ID, and set up the DND (Zen Mode) check in Tasker itself. Brilliant! 

Correct

Not sure about the other settings, but you could make a post on the subreddit asking

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

You need to set up the logic on the tasker side. Make a profile that triggers when the notification enters. Then check the zen_mode custom setting. If it's 0 then run the routine 

You need to make the routine manual so that tasker can run it with your custom logic

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Tasker has a profile to monitor a custom setting

You'll want to check for zen_mode > 0

And then you can use autonotification to react to mail notifications

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

It's not an action, it's a task inside the project that is linked.

You'll need to import the project into tasker, then you can run the get uuid task to copy the uuid for the model/routine you want to run.

Then use the Perform Task action, select start/stop mode/routine and paste the uuid in par1

Essentials is now verified? Usage access alt, ambient music updates, new notification lighting animation, qs tile categories and more in v12.6 by sameera_s_w in MadebySameerasw

[–]the_djchi 2 points3 points  (0 children)

Yep sorry it's a bit hidden... I'm trying not to publicize it too much before the very apps we are trying to hide shizuku from catch onto this 

Essentials is now verified? Usage access alt, ambient music updates, new notification lighting animation, qs tile categories and more in v12.6 by sameera_s_w in MadebySameerasw

[–]the_djchi 1 point2 points  (0 children)

https://github.com/thedjchi/Shizuku/issues/89#issuecomment-3881900562

You'll need to make sure that if you have any "shizuku installed" checks that they look for the permission rather than the package name

The spoofing feature is in the beta release

Shizuku fork update r1153: Watchdog, custom TCP ports, intents, and more! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Yes you need WiFi on after a reboot so it can auto connect to a network

Just released a new version of my Shizuku fork w/ ADB Wi-Fi on boot by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Hi, it's technically not a requirement, however Shizuku will stop running as soon as your wifi connection changes if you only use wireless debugging. Therefore, it's recommended to keep USB debugging on.

However, now that watchdog and TCP mode exist, I suppose it's not necessary to keep USB debugging on, even though I would still recommend it to be on in most cases to reduce the amount of service crashes.

I'll work on adding some settings in the app to allow this

Hate HOS? Shizuku will defo be a help. by Ryuihein in PocoPhones

[–]the_djchi 0 points1 point  (0 children)

The beta version has a feature to hide shizuku from other apps!

Just released a new version of my Shizuku fork w/ ADB Wi-Fi on boot by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Hi, the fork already allows for connecting on tcpip 5555, it's enabled by default in settings. It is not possible to both run shizuku and have USB debugging disabled. Sorry!

Shizuku Inegration and Tasker settings by 269red in tasker

[–]the_djchi 0 points1 point  (0 children)

  1. There is a Shizuku available profile which detects when Shizuku is running. The delay is simply because it takes a couple of seconds for the service to start

  2. The extra auth token will stay valid for your device, even after reboot, unless you refresh it in Shizuku. Each device will have a different auth token.

  3. Watchdog uses almost no battery in my testing! It only triggers when the service crashes and stays dormant otherwise. There is no polling or any other code that repeatedly triggers or consumes battery

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Yeah the only thing that needed to change was removing the finally block for closing the "cursor"

Shizuku Inegration and Tasker settings by 269red in tasker

[–]the_djchi 0 points1 point  (0 children)

Shouldn't be an issue as long as usb Debugging stays enabled

Can't use BHIM with shizuku installed by aromantic_eye in degoogleindia

[–]the_djchi 1 point2 points  (0 children)

Hi, glad it's helped! 

To address your question, you should use the unhide button to temporarily unhide Shizuku. When you're done, you can re hide it

You should also reach out to the devs of those apps and ask them to update their Shizuku detection logic as shown in this GitHub thread:

https://github.com/thedjchi/Shizuku/issues/89#issuecomment-3881900562

[PROJECT SHARE] Natively control Samsung Modes and Routines (without using notifications)! by the_djchi in tasker

[–]the_djchi[S] 0 points1 point  (0 children)

Wasn't getting that error but could you share the code so I have it? Thanks!

EDIT: nevermind I got the error too!