yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] bober10113:
lol really... wow i was so sure. then that explains alot.lolol

thanks for the rectification.

then there is something odd going on that i need to figure out.

does your mod gen a log somewhere? how can we know if it is active or not.
[Android Software/Hacking General [Developers Only]] ZaneZam:
ah this "detach.log" actually IS the log and shows that the script runs and if there are entries like "com.google.android.youtube NOT FOUND!" multiple times (and adding every 180 secs) then it's fine and running

even tho in between there should be a "com.google.android.youtube DETACHED!" at some point but that is only there if youtube got attached again and it can be that u don't see this long time bcause

log gets flushed by the script so thats a bit of luck to see this log entry. mostly it's coming after a reboot tho because of the timing playstore service might be able to re-attach apps ;)

anyways u can do a test by removing the vanced bundled detach script by putting disable_detach into cache + reboot and wait after boot the vanced version should get removed. now do another reboot and see if

the 99-detach script does it's jop by checking if the youtube app re-appears/disappears again. OOR u remove the detach module (not sure hwo to uninstall it properly tho) and see if the left vanced bundled method

still works. however i meanwhile did check the detach magisk module and for what i saw is that it also does looping now so i guess u should get the same results with both modules/scripts, but u will see. its just u r

maybe using 2 detach scripts at the same time which well should not be for my taste :)
[Android Software/Hacking General [Developers Only]] bober10113:
will test when i get back from work. because yeah i agree 2 x modules fighting each other might now be a good thing...not kosher
[Android Software/Hacking General [Developers Only]] bober10113:
ok so i started from scratch. this time i started by testing again the magisk module( the new o e 2.7.1) and it worked right off the bat( which didint work before). ill see during the next few days if it sticks.
[Android Software/Hacking General [Developers Only]] bober10113:
looks like it stopped working. couple reboots later and i just noticed youtube got updated. (with the 2.7.1 module)

ill do more tests tomorrow and see if i can get the vanced version working
[Android Software/Hacking General [Developers Only]] joluke:
So far everything is working. Detaching works flawlessly and autodetach made with Tasker works too since the script was fixed in 2.7.1. Good job OP
[Android Software/Hacking General [Developers Only]] bober10113:
seems that the included vanced detacher is working. dont know what i was doing wrong initially. anyways it still seems as it is working after a few reboots.

edit

so again on the Vanced version it stoped working eventually. then i thought for a second how sometimes i wipe caches. and then i made the link lolol...
[Android Software/Hacking General [Developers Only]] nitramus:
What version should I install? The latest version in here is 2.6 but when installed from magisk it downloaded version 2.7.1

Fyi. Pixel 3xl, Android pie.
[Android Software/Hacking General [Developers Only]] joluke:
2.7.1
[Android Software/Hacking General [Developers Only]] Hirs_E_Fruit:
Would be nice if you can share a guide how to make the autodetach with Tasker!

Thanks!
[Android Software/Hacking General [Developers Only]] joluke:
You can find Auto Detach made with Tasker in this post:

https://xdaforums.com/showpost.php?p=78168774&postcount=498

Just run the app and give it root permissions. Wasn't done by me and works great
[Android Software/Hacking General [Developers Only]] wonkxin:
Busybox is installed

/system/bin/Detach[534]: [: missing ]

Does anybody know what it means? Detach isn't working on my Moto G7 Power with Android 9.
[Android Software/Hacking General [Developers Only]] joluke:
type: Detach --help

Its command line based now instead of having to choose options :)
[Android Software/Hacking General [Developers Only]] Droid_Nut:
I can block Google Fit, but cant block OfficeSuite?

I had the detach.custom in root before I installed the zip in Magisk. The install terminal mentioned both of these lines, as written in detach custom.

com.mobisystems.office

com.google.android.apps.fitness

I proofread it 100 times, but it still wont work?
[Android Software/Hacking General [Developers Only]] Droid_Nut:
So I installed the Detach.zip again, and now Fit is showing up for updates, and Office is not?

Is anyone having 100% luck with this module?
[Android Software/Hacking General [Developers Only]] Droid_Nut:
Well, my 2 apps are once again both on the update list. I found this way, I only need to do it once, and it survives reboots.

Simply create a blank file in /data/data/com.nameofapp/cache/ named: enable_detach

https://androidforums.com/threads/how-do-i-detach-an-app-from-the-play-store.1265156/#post-7775111

Update, this fails too. :p

So I guess I will stick to, manual updates and just don't update what I don't want updated........
[Android Software/Hacking General [Developers Only]] rypz79:
Hi,

The module doesn't work me I still get Youtube update notifications on Google Play Store.

I've the latest version v2.7.2 on the latest stable Magisk v18.1.

I'm using YouTube Vanced v14.10.53 Magisk module instead of the original Google's Youtube but it has the same package name com.google.android.youtube which I've also tried to add it into detach.custom.txt to no avail.

Any suggestions ?

TNX
[Android Software/Hacking General [Developers Only]] marciozomb13:
Vanced have a built in script to detach itself, just check if enable detach file is on cache folder (is wiped on wipe cache action performed by TWRP). I use and works well.
[Android Software/Hacking General [Developers Only]] rypz79:
I don't see any script file in /data/user/0/com.google.android.youtube/cache.

Can you upload pls the detach script for Vanced?

I don't know if that's what you mean but after I flashed Vanced as a Magisk module using TWRP I didn't wipe the dalvik-cache.

TNX
[Android Software/Hacking General [Developers Only]] marciozomb13:
Root/cache

Is BUILT-IN when installing via Magisk, no need to install any other software. Just put a blank file on /cache called enable_detach
[Android Software/Hacking General [Developers Only]] rypz79:
Yes I've needed also to delete detach.custom.txt

And now it works

For some reason the detach.log says that it couldn't find com.google.android.youtube.

Should I remove the detach module from Magisk as well?

TNX

:good:
[Android Software/Hacking General [Developers Only]] bober10113:
no thats goood. its actualy working. it only detects something if it finds it. this means YouTube has been detached prior for what ever reason and right now your logs is saying exactly that. ull see an entry of the app being detach only when it appears in the play store.
[Android Software/Hacking General [Developers Only]] marciozomb13:
That means the script is working, nothing more is needed.
[Android Software/Hacking General [Developers Only]] ascertainer:
Detach from Terminal

Hi folks,

Detach works if installed from Magisk but i can not accsess it from terminal. If i type su (enter) Detach (enter) the following appears:

-->

Busybox is installed

/system/bin/Detach[534]: [: missing ]

No option in your input !

-->

Do i something wrong? Any ideas?

hand
[Android Software/Hacking General [Developers Only]] joluke:
Detach now uses command line so do:

su -c Detach -h

And you will see the other options

I think OP should improve this output when no other command is done
[Android Software/Hacking General [Developers Only]] psycholyzern:
Hi. I went through a few pages and found many users having problem using this module. I assume it is not as simple as it is written in magisk description?

I have tried hiding 2 apps and both still showing in playstore.
[Android Software/Hacking General [Developers Only]] joluke:
Play Google usually refreshes its database several times in a daily basis. That's why Auto Detach is useful because it hides apps in a hourly basis
[Android Software/Hacking General [Developers Only]] rypz79:
Well it seems that the problem is not solved yet.

Indeed Youtube doesn't appear on my Google Play apps list but if I press "Update all" it updates Youtube as well.

Furthermore, I can find it as installed in Google Play but I cannot disable it's auto update, which I could prior to detachment (enable_detach file addition).

Any suggestions?

TnxAloT
[Android Software/Hacking General [Developers Only]] marciozomb13:
Sometimes it appears on the list until it the next script run. Only in this time, you can't press update all, about appearing as installed, that's normal, no workaround.
[Android Software/Hacking General [Developers Only]] rypz79:
What you're actually saying is that I cannot press "Update all" any longer without having Youtube updated?? :rolleyes:

But the whole point of getting it detached from Google Play Store is that it WON'T UPDATE while ALL the other store apps will... What's the point of an app getting detached then :confused:

If that's the situation then I prefer reattaching it back and unchecking "automatic update" on it's preferences

TNX
[Android Software/Hacking General [Developers Only]] Alan Jose:
I'm a noob to this section, can anyone tell me how to detach YouTube Vanced properly from playstore. Even if auto-update is off YouTube gets updated , once the playstore lib gets updated to latest version ,if I am connected to a network .I tried all possible way. Damn :rolleyes:
[Android Software/Hacking General [Developers Only]] Wixcee:
Why make easy things hard? It was better when it didnt needed to write commands like " su -c Detach -h". Older was easier and better. Just "Detach" and "d". Also now it auto downloads busybox in magisk for me without asking, when "Detach" is written in terminal. I do have busybox by Stephen(stericson), which i use for past 6 years. Why i need another one auto downloaded? Awful.
[Android Software/Hacking General [Developers Only]] Rom:
1 - Your post concern my MOD portage, not this official one, so wrong forum (my one is on Telegram)

2 - All commands from my first version with the terminal menu require root access,so you had to force your terminal to launch in root mode or type:

learned

Detach

choose your argument

Now, after multiple user requests, with my module we just have to type:

su -c Detach - argument

or

su

Detach - argument

As you can see, I tried to simplify the manoeuvre as much as possible (and it's not finished)!

3 - About the automatic installation of Busybox, I have automated its installation since some binaries have a strange behavior on some Android environments, yours looks pretty clean.

I will make the installation optional for the next BETA that will be available on the Telegram group.

Have a good day.
[Android Software/Hacking General [Developers Only]] joluke:
Link for telegram? Thanks [emoji106]
[Android Software/Hacking General [Developers Only]] Rom:
As external messaging group aren't allowed, you can grab it from Magisk modules repo (Magisk Manager, 'Downloads' tab), the module name is "Detach" :)
[Android Software/Hacking General [Developers Only]] joluke:
You can share links for telegram. Doesn't go against the xda rules

And opening that link in the modules gives an error saying the channel doesn't exist
[Android Software/Hacking General [Developers Only]] garylawwd:
Yes it does.

On one of my device forums a Dev shared the link to his telegram group in his op and it was removed by a mod which stated it is against the rules. I can try find the post if you would like
[Android Software/Hacking General [Developers Only]] joluke:
Send me a PM then. Didn't know it violated
[Android Software/Hacking General [Developers Only]] Rom:
I get exactly this things for one of my module on XDA.

Link on the Magisk modules repo is fixed now.
[Android Software/Hacking General [Developers Only]] nitramus:
I know what it says in OP to uninstall but, it is enough to remove from magisk (send to trash) and reboot or I really need detach.remove and flash .zip ?

Thanks
[Android Software/Hacking General [Developers Only]] centaurium:
This module is absolutely not working! Works one day, and get back again the update in play store. Oxygen OS Pie, latest magisk and latest detach module 2.7.2...
[Android Software/Hacking General [Developers Only]] RYU810:
for me its working only one time,all app appear again in play store

Note9

Pie

latest magisk and latest detach
[Android Software/Hacking General [Developers Only]] rypz79:
Install the latest detach module on Magisk

Go to /storage/emulated/0/detach.txt remove the # from Youtube and save the changes

Go to /cache/ and create an empty file named enable_detach

Reboot

You're detaching Youtube not Youtube Vanced...

I didn't figure out what's the point of detcahing an app if it's still gets auto-updated with all the other apps IMHO it should either disappear completely from the store or have it's updates disabled.

I've just installed the latest detach module let's see if the detached Youtube won't get updates or will be auto-updated with my other store apps.
[Android Software/Hacking General [Developers Only]] maxq1:
last 3 versions working fine here. oneplus 6t, pie & latest stable magisk. thanks, dev!

it somehow works as well for my sammy tab s (t700), nougat & latest stable magisk too. device is shared across a family of 4. i'm hoping someone's just updating it manually :fingers-crossed:
[Android Software/Hacking General [Developers Only]] bober10113:
for me it just randomly fails. works one day the next I check and YouTube got updated.
[Android Software/Hacking General [Developers Only]] Dodgexander:
It doesn't work reliably with YouTube as already mentioned.
[Android Software/Hacking General [Developers Only]] joluke:
You guys know that play Google readds apps to its database in a hourly basis right? The only way to keep it detached is disabling auto update on play Google for the app you want detached and run auto detach and that's it...
[Android Software/Hacking General [Developers Only]] bober10113:
but wasn't it the goal of this module?
[Android Software/Hacking General [Developers Only]] joluke:
To completely stop the database to refresh you would need a modded play Google. Won't happen lol
[Android Software/Hacking General [Developers Only]] bober10113:
well that's why the module should loop in the background and check four youtube and when found detach it....

why make a module for a one time use?
[Android Software/Hacking General [Developers Only]] joluke:
For that same purpose you have Auto Detach which was built in Tasker (its a standalone app so you don't need Tasker and wasn't built by me) and you can grab it here:

https://mega.nz/#!iBxxAKTL!tkrgTM3eF9uVbzcSbOX3MSR8BvUxKoNeYHKsix2mNqk

Give it root permissions and it will detach whatever apps you did put in detach.custom hourly
[Android Software/Hacking General [Developers Only]] n0j0e:
Beware to give an apk root permission without further informations about dev or source!

Sent with much love & Android. OnePlus 5T
[Android Software/Hacking General [Developers Only]] joluke:
This was the user that created the Tasker app:

https://xdaforums.com/showthread.php?p=78168774

Not me
[Android Software/Hacking General [Developers Only]] bober10113:
the vanced magisk module version should be doing exatly just that.
[Android Software/Hacking General [Developers Only]] rypz79:
That's not possible (see the attached picture)

And what's the essence of an app getting detached if it doesn't "get out" of Play store or still get's updated ??

In the conterary when it's not "detached" you can disable it's auto update so you only need to press skip once in order to get all the other store updates while Youtube stays Vanced.
[Android Software/Hacking General [Developers Only]] Dodgexander:
Yeah there's no point even using my this if the apps just reappear.
[Android Software/Hacking General [Developers Only]] ShreyasZad:
Hey can you share which navbar you're using? ?
[Android Software/Hacking General [Developers Only]] marcsmv3:
Detach appears to no longer work since upgrading to Magisk 19.3... attached is a screenshot of the error i receive when attempting to detach just the Youtube app, 'unique constraint failed... '

Using Oneplus 5T on OOS 9.0.5 running bluspark kernel r170 (June 1 2019).
[Android Software/Hacking General [Developers Only]] Alan Jose:
+1
[Android Software/Hacking General [Developers Only]] Marvino.:
Alternative simple, effective, permanent and easy solution is using : SudoHide xposed module.
[Android Software/Hacking General [Developers Only]] bober10113:
so app A js playstore and app B would be YouTube?

https://xdaforums.com/xposed/modules/mod-sudohide-prevent-apps-detected-apps-t3384559/page22

edit

ok so tested it out and i dont get what this app can do to fix the issue at hand.
[Android Software/Hacking General [Developers Only]] Marvino.:
A : YouTube B: Play store

Then clear play store's cache and data and restart ur device. Now the playstore will never see YouTube , hence no updates will be offered.
[Android Software/Hacking General [Developers Only]] marcsmv3:
Tried but unfortunately Xposed framework is not compatible with the processor in the Oneplus 5t so the module won't work...
[Android Software/Hacking General [Developers Only]] marcdw:
Xposed is not available for Pie so that error has nothing to do with your processor. For Pie you would look for EdXposed. Might be a bit much just to detach an app but check it out if you need to.

LG G3 D851, crDroidAndroid v4.6 ROM, microG (NoGapps), MultiROM, XDA Legacy
[Android Software/Hacking General [Developers Only]] bober10113:
edited
[Android Software/Hacking General [Developers Only]] marcsmv3:
Kim

I installed EdXposed first via Magisk/riru module. Once i had that downloaded and searched for Sudohide on it, Sudohide still said it required Xposed and wouldn't do anything.... Same for other EdXposed modules.... What gives?
[Android Software/Hacking General [Developers Only]] Marvino.:
It works like charm on my Nougat rom for YouTube and other apps that's why I recommended it for ya.

Most probably you will give up on this solution also due to the lack of support to xposed on android past v7.1.2. EdXposed is not as effective and powerful as the real Xposed, at this point, I'm sorry for you there's no alternative solutios.
[Android Software/Hacking General [Developers Only]] wonkxin:
Hello, it is the original Android 9 one hand control activated in Moto settings
[Android Software/Hacking General [Developers Only]] bober10113:
u need edxposed manager

remove the older ones. u can also use it to installer latest riru core and edexposed magisk modules.

again remove all previous modules

so this manager

try this 1:

https://github.com/ElderDrivers/EdXposedManager/releases
[Android Software/Hacking General [Developers Only]] marcsmv3:
ok thanks! Got sudohide running... Now i have a new problem. I can see youtube as a system app and select that as app A, but Play Store app is nowhere to be found on this list, neither as 'Play Store' nor as a system app under its package name 'com.android.vending'. Any tips?
[Android Software/Hacking General [Developers Only]] Marvino.:
Click the 3 dot menu in the top right corner and choose "show system apps"
[Android Software/Hacking General [Developers Only]] marcsmv3:
Like I said, I did that and still no Play Store as a system app. I looked up the package name -- com.android.vendor -- and it wasnt listed.

Also bigger problem now is since installing this EdXposed i cannot get any wifi networks to connect, protected and unprotected. Looks like I will have to restore a backup.
[Android Software/Hacking General [Developers Only]] bober10113:
weird for the wifi stuff.

and play store is "Google play store " .. so you should have looked in the G"s
[Android Software/Hacking General [Developers Only]] marcsmv3:
Well after I bricked my phone, recovered it, upgraded to 9.0.6 and got everything back in order.... I finally found it where you said. Thanks and I finally have a working solution!
[Android Software/Hacking General [Developers Only]] marcsmv3:
Status update. While Sudohide is effective in hiding YouTube from the play store, it also causes the YouTube app to crash upon startup (whether using YouTube Vanced as well as traditional YouTube) and as well I can't set it as a default app to open YouTube links because the system can't see the app. So I had to go back to disabling Sudohide, which got YouTube to work again. Detach still doesn't work in Magisk 19.3...
[Android Software/Hacking General [Developers Only]] ZaneZam:
and i say detach does work well on magisk 19.3 ;) if u might consider using this: https://github.com/Magisk-Modules-Repo/iYTBP-Vanced-Magisk-Repo/blob/master/common/post-fs-data.sh

which is included in recent magisk modules of vanced yt (i imply u r using it *g*) so by removing all available detachment apps/scripts from ur system and putting a empty file "enable_detach"

into your /cache directory and reboot u might get some good results like me on OOS and other roms/devices.but keep in mind THERE IS NO waterproof method to avoid popping

up updates yet. best result for me is to use the detach script i provide and disable playstore auto-update (which i anyway do since using a android phone as i don't wanna be forced happy).

advantage: if the YT updated slips thru and poppes up (which will happen from time to time!) u can just ignore it and let it be, the detach script does its jop after the default delay of 60 seconds in background. so u don't get updated automatically as soon as the update popps up. just as a reminder that there is another option already included in the vanced modules which u maybe can give a try.
[Android Software/Hacking General [Developers Only]] sjamie:
SudoHide works perfect for me with EdXposed and Vanced does not crash. Granted, I'm using the rooted version of Vanced in case that makes a difference.
[Android Software/Hacking General [Developers Only]] korekore1:
worked for a bit,but apps show up again..magisk 19.3,miuipro,android 9

you have to reboot all the time to hide them again,which makes it more time consuming than simply manually update apps one by one (the ones you want)
[Android Software/Hacking General [Developers Only]] ETJAKEOC:
Seems to me like we have an issue blocking YouTube updates, Pixel 3 on latest security patch for Pie, Rooted with IanMacD's latest canary version of Magisk, YouTube will vanish when follow the procedure, but god forbid you have to reboot the device and it seems like the module just gives up and stops hiding YouTube.

YouTube is literally the only app I need to hide from the PS because I use Vanced and obviously don't need YouTube to try overwriting it. Let me know whatever debugging you would like for me to run for you on my device and hopefully we can figure this out :D
[Android Software/Hacking General [Developers Only]] marcsmv3:
Play Store's internal 'don't auto update' is more effective now than any of these hacks IMO. Now when you hit the 'update all' button, if one of the apps you have told it to exclude from auto updates is one of the pending updates, it will immediately prompt you to skip that app's update with one button 'skip' and then all the other apps are auto updated. It used to be the case that it would disregard your deselection and in order to avoid updating deselected apps you'd have to update all the other apps individually, but this is no longer the case. YouTube Vanced has remained untouched for months now.
[Android Software/Hacking General [Developers Only]] bober10113:
yup ever since that playstore behaviour is like that I've not had any issues. plus play store app installs and updates work correctly now.