yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hinxnz:
No need to uninstall previous version
[Android Software/Hacking General [Developers Only]] Bradford1040:
Not sure if this has just been a bad playstore month, but I've had to flash 3.02 quite a few times.

Im not *****ing, just reporting
[Android Software/Hacking General [Developers Only]] hinxnz:
Yeah reports are algood, I haven't had an issue yet at all. Are you sure it being updated or is vance app not mounting on reboot? Is it showing in the playstore, 'my apps and games' section?
[Android Software/Hacking General [Developers Only]] Bradford1040:
Yeah, it has been showing up in apps update, but vanced is loaded and installed. Haven't had to reinstall vanced, only the module, soon as I reflash your 3.02 YouTube is gone
[Android Software/Hacking General [Developers Only]] Bradford1040:
Yeah its just a bad month, playstore just changed it ui to where you click on your profile picture to go to app's instead of the hamburger menu like normal.

Don't sweat it, nothing you can do.

Ill just deal with it till their done screwing around without notice. God I hate Google (but at the same time lol)
[Android Software/Hacking General [Developers Only]] hinxnz:
I only use official playstore and just got an update today, I use the US channel and receive updates pretty quick once released. I also have no hamburger menu no longer too. I'll just wait and see what happens..

Edit: My version is 24.6.31-21 [0] [PR] 364955343
[Android Software/Hacking General [Developers Only]] Bradford1040:
I had been on the beta till two weeks ago, I left beta and put official back on. I guess I've been getting a ton of background updates for the past two weeks, them gearing up to make beta into official and thats been screwing your module up.

The beta had a ton of issues, thats why I left it. So good luck to us all.

Yeah sit back for a bit before you try fixing anything

Edit,,, Last Updated: Apr 7, 2021 4:44:38 PM Version: 24.7.20-21 [0] [PR] 366188017
[Android Software/Hacking General [Developers Only]] Practicalbutterfly5:
I run detach command with tasker every 30 minute or so now, works perfectly for me
[Android Software/Hacking General [Developers Only]] Bradford1040:
Well don't hold out on me lol, taskernet share that. Lol, please
[Android Software/Hacking General [Developers Only]] Practicalbutterfly5:
Run shell, use root On

detach -id

Run this shell command every 30 min.
[Android Software/Hacking General [Developers Only]] Bradford1040:
I get error 127, am I missing a step

I got run shell with root enabled

CMD,,,, detach -id

Is -id where youtube PKG name goes?
[Android Software/Hacking General [Developers Only]] Practicalbutterfly5:
The detach module needs to be already set up, reboot required after setting up detach. Then in termux try executing "su -c detach -id" and see what is error msg
[Android Software/Hacking General [Developers Only]] Bradford1040:
I have flashed module 3.02 but termux doesn't see it? I have multiple nodules installed and access them through termux, like systemize and debloat but it says detach is not accessible

What version are you running?

0 new items by Bradford Adams

photos.app.goo.gl
[Android Software/Hacking General [Developers Only]] hinxnz:
You can install a module in terminal or in tasker etc.

su -c magisk --install-module /storage/emulated/0/Download/detach-3.02.zip
[Android Software/Hacking General [Developers Only]] Bradford1040:
Thank you, I was looking for the way lol, im sticking with your version, nothing against the other version, I've just seen your stuff for many years,
[Android Software/Hacking General [Developers Only]] applyscience:
maybe consider just including the required txts in the zip so we can copy it to the proper location.
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.03

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Updated sqlite3 binary

- Added support for x86 and x64

Note: I had to remove initial upload due to error, new version now uploaded.
[Android Software/Hacking General [Developers Only]] Bradford1040:
0 new items by Bradford Adams

photos.app.goo.gl

Thank you, the continued updating is appreciated
[Android Software/Hacking General [Developers Only]] midgo12:
Flashed Detach 3.03 in Magisk but Youtube music still shows in Playstore as an update???
[Android Software/Hacking General [Developers Only]] hinxnz:
Works fine here, check package name in detach.cfg

com.google.android.apps.youtube.music
[Android Software/Hacking General [Developers Only]] midgo12:
The file is in Internal Storage/Android.

It was displayed as com google android youtube music without the dots.

Does this matter...
[Android Software/Hacking General [Developers Only]] hinxnz:
I posted above the correct package name for youtube music, it should have dots, not really following you. Maybe have another read of first post.
[Android Software/Hacking General [Developers Only]] midgo12:
I have followed the instructions.

I have attached screenshots showing package names in folder and also showing Youtube music is still in playstore update.

Am I doing something wrong...
[Android Software/Hacking General [Developers Only]] midgo12:
Duplicated in error.
[Android Software/Hacking General [Developers Only]] hinxnz:
YouTube Music package name is com.google.android.apps.youtube.music

You have com.google.android.youtube.music, which is wrong.

The detach.cfg should only contain the package names you want to detach before flashing the module.
[Android Software/Hacking General [Developers Only]] Bradford1040:
For those that either use Tasker or want to use terminal to reflash without magisk

Keep in mind the file name will change as new versions come out

```
Task Name: Detach3.03fix

Actions:
A1: Run Shell [ Command:su -c magisk --install-module /storage/emulated/0/Download/detach-3.03.zip Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

```
[Android Software/Hacking General [Developers Only]] midgo12:
Thanks for the reply.

I have corrected the entries and Youtube music no longer appears in the Playstore updates.

Is this a permanent fix or will it eventually appear again...
[Android Software/Hacking General [Developers Only]] Bradford1040:
Google constantly changes, some months you will never need to think about it, others google goes on a rampage.

But I just posted above a easy way to reflash without magisk asking for a reboot (though in magisk a reboot is not needed either for module to work)
[Android Software/Hacking General [Developers Only]] midgo12:
Thanks for the information...
[Android Software/Hacking General [Developers Only]] DiamondJohn:
Slightly OT, but is the new build of sqlite3 your own build or sourced from somewhere else?
[Android Software/Hacking General [Developers Only]] hinxnz:
I compiled it
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.04

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Added package check for configuration file

- Minor alterations
[Android Software/Hacking General [Developers Only]] n0j0e:
Changed from Detach 4.3-8 to this here 3.0.4. Seems detached fine but terminal didn't work e. g. su -c detach - id

Is this not included?

Taked a reboot after installing the module in Magisk.

127|:/ $ su -c detach -l
/system/bin/sh: detach: inaccessible or not found
127|:/ $ su -c detach -id
/system/bin/sh: detach: inaccessible or not found
[Android Software/Hacking General [Developers Only]] hinxnz:
Nar not included, all is done when flashing module. Only thing installed is the magisk module prop and the uninstall script. It also creates the config file if none present.
[Android Software/Hacking General [Developers Only]] n0j0e:
does it mean we didn't need a detach scheduler anymore?
[Android Software/Hacking General [Developers Only]] hinxnz:
I personally don't really have an issue of apps re-attaching, it quite seldom for me so I don't think it necessary to add just now, see how things go for you
[Android Software/Hacking General [Developers Only]] danbest82:
I don't use a scheduler anymore, and only have to detach when Google play store updates(which I've set an alert for with macrodroid).
[Android Software/Hacking General [Developers Only]] Bradford1040:
Hey whats the trigger? I use Tasker, but I haven't found the perfect trigger to launch my task, I have every plugin. I know the two apps are not the same, but maybe I could figure something out from yours
[Android Software/Hacking General [Developers Only]] n0j0e:
Ahh ok, so if Play Store gets an update i need to reflash Detach 3.x? That's it?
[Android Software/Hacking General [Developers Only]] Bradford1040:
Hope you don't mind me butting in,

But yes just reflash, no reboot needed either, it will say reboot in magisk, but you can just home or back out of it,
[Android Software/Hacking General [Developers Only]] danbest82:
Macrodroid has a trigger caller "app updated". Tasker must have something similar. I have that set up to show me a notification that when I click opens magisk.

I don't mind, especially since with the new forums I don't get alerts to quotes. Just reflash, no reboot needed.
[Android Software/Hacking General [Developers Only]] k1984228:
hope can help you
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.05

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Recompiled sqlite binaries

- Improved device platform check

- Added database check

- Added the default detach.cfg file

- Minor alterations
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.06

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Improved installer checks

- Fixed inflating uninstall script error

- Tidied installer script

- Added reattach feature*

*Comment out package name(s) in detach.cfg to reattach.

Edit: I added the reattach feature for example, if you wanted to detach an app due to a bad update until fixed. Now without uninstalling or wiping playstore data, you can just comment out the package name in your detach config file and flash the module again, no reboot needed. See attachment for an example of detach.cfg
[Android Software/Hacking General [Developers Only]] venuharry:
i am unable to block the youtube music app

i had entered the same thing
[Android Software/Hacking General [Developers Only]] hinxnz:
Can you post screenshot of installer log and upload the saved log if you can also, it found in downloads folder after you save it
[Android Software/Hacking General [Developers Only]] toolhas4degrees:
How do I detach current YouTube Music. I tried YT Music and it doesn't work
[Android Software/Hacking General [Developers Only]] Bradford1040:
com.google.android.apps.youtube.music
[Android Software/Hacking General [Developers Only]] hinxnz:
Support for the module your using is on Telegram.
[Android Software/Hacking General [Developers Only]] toolhas4degrees:
..... Haha
[Android Software/Hacking General [Developers Only]] Bradford1040:
Not sure if you understood the Dev correctly, but the version you are using is different than the one in this thread.

Detach

https://github.com/Magisk-Modules-Repo/Detach

t.me

Is the support link you are looking for
[Android Software/Hacking General [Developers Only]] toolhas4degrees:
He made both if I'm correct just looking for an answer. Do you have it detached on this version? If so can you post how?
[Android Software/Hacking General [Developers Only]] Bradford1040:
No, he didn't make both, he is the developer of this one, the one on the magisk repo & link I provided above is based on the original code of this "detach", I believe the magisk repo one says this in the documentation, but has added binaries and like anything after a another starts writing for, has taken a different direction.

I can't answer your question & truly neither can this Dev, most dev's have a hard enough time remembering their own code let alone someone elses lol 🤣

Also before you flash this one over that one, they are completely different! Just a heads up

0 new items by Bradford Adams

photos.app.goo.gl

Introduction

Channel

INFO:This Module is a port of the original MOD created by hinxnz XDA thread/OP to work as a Magisk module for Android, so all credits to him. :+1:
[Android Software/Hacking General [Developers Only]] toolhas4degrees:
I asked if this one works? And If you had YouTube music detached not all the jargon you just **** posted

Also they should take his name off the module also then

Got it sorted thanks for the mockery
[Android Software/Hacking General [Developers Only]] Bradford1040:
Well all that jargon I thought was necessary, sinse

I answered a few days ago

Post in thread '[MODULE] Detach3 - Detach Market Links' https://xdaforums.com/t/module-detach3-detach-market-links.3447494/post-84974681

Yes it works
[Android Software/Hacking General [Developers Only]] toolhas4degrees:
That's great but you are wrong in a couple things, and his name is on the magisk module for the other also. I can't keep up with all your post since I am not your stalker. Have a good day.
[Android Software/Hacking General [Developers Only]] Bradford1040:
You didn't read the documentation did you? I copied and pasted it even & a screenshot, lol

It says it was "ported" from this module. And gives "thanks" to this Dev, its respectful.

Im not trying to sound like a dic* I really was trying to get you the info for you to read.

have a good day/evening
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.07

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Fixed minor install.sh error on Android 11

- Improved some installer logic

- Added scheduler feature*

*Termux and Termux:API apks need to be installed beforehand for scheduler

Detach3 Scheduler

I added this feature due to feedback, the playstore database seems to be updated at times when the playstore updates itself.

I wrote the detach3 scheduler to work by controlling termux-job-scheduler. This uses Android's native job scheduler, making it the best on battery for scheduling tasks.

Its a time scheduler, the interval is set by user. At the set interval, it checks if the playstore has been updated and if so, it will run the installer and detach your configuration list. It will also give you a notification that it has been updated, with the update time, as seen in attachment.

Termux and Termux:API apks need to be installed prior to flashing.

Usage:

On first use, type 'detach3 '. This will do a self check for termux-api binary and install it, if not already installed. This is essential for the detach3 scheduler.

Type 'detach3 ' in Termux

~ $ detach3
Usage: detach3 [OPTIONS]...
Try 'detach3 --help' for more information.

Type 'detach3 --help ' in Termux

~ $ detach3 --help
Usage: detach3 [OPTION]...
Schedule detach3 script to run at specified intervals.
-s, --schedule [MINUTES] set interval in minutes
-p, --pending list pending job
-c, --cancel cancel running job

Type 'detach3 --schedule 180 ' in Termux for example, will start job and set interval to 180 minutes ( 3 hours ). For Android 7+, the minimum interval is 15 minutes.

Type 'detach3 --pending ' in Termux, will list your current job.

Type 'detach3 --cancel ' in Termux, will cancel your current job.

Note:

No need to cancel job if updating or setting a new interval.

No need to set scheduler after reboot, it's persistent.

By design, when battery is low, scheduler won't run its check. Neither will the playstore for an update.

I recommend to update Termux beforehand by entering 'pkg upgrade -y '.

The binary helper 'termux-api' also needs to be installed but is handled by the detach3 scheduler. It will download and install it for you by entering 'detach3 ', if not already installed. You can install manually beforehand by entering 'pkg install termux-api -y '.

Edit: I also recommend to download Termux with F-Droid or from the F-Droid site.
[Android Software/Hacking General [Developers Only]] Bradford1040:
Since I had I new install I had never run `pkg install termux-api`

But I had the termux api installed from fdroid. Just had forgotten to run the CMD, the schedule won't run without termux api, (I would add above)
[Android Software/Hacking General [Developers Only]] hinxnz:
Yeah thanks, I must of overlooked that. It only checks for the termux-api binary if entering detach3 without an option.
[Android Software/Hacking General [Developers Only]] maicol07:
Hi,

I've installed the module in magisk but I can't get it work. The detach3 command isn't found. Is there a way to fix it?

Thanks
[Android Software/Hacking General [Developers Only]] SnZ:
@hinxnz , thanks for the great work.

I didn't saw source code being posted, so can I ask you here to include also 'Youtube Music' in default .cfg?

PKG: "com.google.android.apps.youtube.music"
[Android Software/Hacking General [Developers Only]] DiamondJohn:
The actual downloaded file is the source code.
[Android Software/Hacking General [Developers Only]] SnZ:
Yup, but no version control so cannot make pull request ;)
[Android Software/Hacking General [Developers Only]] DiamondJohn:
Source control, and specifically GIT, is not the only way to store the source. I personally have a number of dev projects, for which I use local source control, not git. You asked for the source, not for the history. Tomakie themod you wanted, you do not need git. And althoough I dont use this module, I think your topic has actuary been covered multiple times within this thread.
[Android Software/Hacking General [Developers Only]] SnZ:
I kindly asked the author to include additional pkg in his code because I can't do PR. I don't know why you are answering me and telling basic stuff everybody knows dude...
[Android Software/Hacking General [Developers Only]] Bradford1040:
Edit* I was half asleep when I read your post, I read it again and witness my mistake!

DiamondJohn I don't think is the Dev.

Hinxnz is the Dev, unless I misunderstood your question.
[Android Software/Hacking General [Developers Only]] maicol07:
Detach3 doesn't detach YouTube from Play Store after first time. Do you have any fix?

Thanks
[Android Software/Hacking General [Developers Only]] Phalanx7621:
You have to reflash from Magisk or use command line Detach3 from terminal app like Termux.
[Android Software/Hacking General [Developers Only]] maicol07:
Sorry I forgot to specify in the previous post that I've set up a scheduler in Termux to run every 60 minutes, but after the first time it didn't work
[Android Software/Hacking General [Developers Only]] DiamondJohn:
You are correct, I have nothing to do with the dev of this, its all @hinxnz
[Android Software/Hacking General [Developers Only]] Bradford1040:
Well as of 5/28/21 I think play services has found a way around your detach,

Normally I run it and its good for a few days, besides when google gets on that background updating thing. But after I flash your module normally the apps disappear from the list, there aren't today.

I've been using Aurora store mostly, and switched almost every app store installed signature and woke up this morning to 30+ apps updated by playstore even with the auto tic unchecked

EDIT;

0 new items by Bradford Adams

photos.app.goo.gl

I have each one of these in my detach.cfg and have auto update turned off, & have auto update for the app turned off, but yet twice a day these apps get auto updated?

YouTube never gives me an issue, which always seems to be everyone's issue, mine are these f'n apps, I use Aurora store but somehow playstore auto updates these apps?
[Android Software/Hacking General [Developers Only]] Atexor:
I am trying to use Detach for over month - I tried with different versions via Magisk/github (5.x port) and downloaded from here, 3.0.x.

Both versions donot work properly - YouTube (Vanced) is detached from Play Store, but next day it appears again. Even with disabled Play Protect. It is tilting at windmills...

Xiaomi Redmi Note 4X, Android 11 (LoS). Is there any option to detach app from play store successfully and permamently?
[Android Software/Hacking General [Developers Only]] AssToast:
3.0.x has been working reliably for me for quite some time. It's already been mentioned that if Play Store updates, it comes back.

If so, just reflash the module again, you don't even have to restart.
[Android Software/Hacking General [Developers Only]] AssToast:
Make sure termux is allowed to run in the background.
[Android Software/Hacking General [Developers Only]] adilrenzu:
Works like a charm on miui 12.5 android 11.

Finally i can get rid of those annoying update messages. Thanx.

P.S: v3.07 works for me. The one from inside the magisk doesn't work for me.
[Android Software/Hacking General [Developers Only]] hinxnz:
Thanks for feedback guys, I gave the scheduler a try and see it needs an update for minor fix, on s10 a11 it not appling properly and may change it to have button to flash module too. I can add two buttons.. I haven't had an issue at all besides what i just mentioned.
[Android Software/Hacking General [Developers Only]] TomeG2kc:
Unfortunately I found behaviour (in my OnePlus 8 A11 at least). I can't detach more apps witch contains same string of characters. Screens speak for themselves:
[Android Software/Hacking General [Developers Only]] hinxnz:
Hey, yeah I'll have a look. Been bit busy lately..
[Android Software/Hacking General [Developers Only]] hinxnz:
UPDATE: Detach3 v3.08

https://xdaforums.com/t/module-detach3-detach-market-links

Changelog

- Fixed playstore update log error on some devices

- Fixed script not applying package names with the same string of characters

- Fixed minor installer check for checking packages

- Fixed termux-api binary check

- Disabled package checks on some devices

- Added option to open playstore with scheduler notification

- Added option to open configuration file with scheduler notification

- Added option to flash module with scheduler notification
[Android Software/Hacking General [Developers Only]] Xaeons:
I'm suddenly getting a "Detach3 scheduler> Playstore updated" notification

Clicking on "Open" opens the playstore

Clicking on "Config" displays an error "Cannot open file:/storage/emulated/0/Android/detach.cfg: openn failed: EACCES (Permission denied)."

Clicking on "Flash: opens an instance of Termux and just displays an overlay message "flash successful"

Termux API has already been granted permission in "Modify system settings" but still getting the same issue when clicking on "Config"

I tried to "remove" Detach3 from Magisk and after 2 tries it's still there. I then disabled it, rebooted, removed it from Magisk, rebooted and it's gone but when I type "detach3" in Termux it still prompts the default prompt of typing detach3 --help
[Android Software/Hacking General [Developers Only]] Koognod:
For whatever reason I'm not able to add the doordash app🤯 I have custom apps before and after in my configuration that are detaching fine but no matter what I try doordash wont detach. Any help troubleshooting would be greatly appreciated.
[Android Software/Hacking General [Developers Only]] hinxnz:
You should get the notification when the scheduler checks for a change in the playstore update log. The playstore update log is generated on first run of check and then checked and updated at your specified interval. When a change is detected, the notification is triggered.

Do you have a text editor installed? Do you have any storage mods or any other conflicting mods installed?

When you click flash it should show a termux notification briefly and then a toast confirming flash was successful.

To uninstall, just open magisk manager, goto modules tab and click remove on the Detach3 module, then reboot. It can't be disabled with magisk manager.

Once uninstalled, detach3 command should display output "No command detach3 found".

Try force closing playstore after flashing mod and check. I had the same issue on first run testing that app but working fine now. If force closing works for you, I'll update to force close playstore instead.