yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Xaniel:
I try the detach from magisk (under download in magisk, v2.6.4.), and i copy the detach.txt in the root folder in my phone(s). Not works. But i rename the detach.txt to detach.custom.txt and reinstall the programm in magisk and works unter android pie. Thanks for the new deatch version for android pie. I used this for youtube, i love the vanced player without ads ;).

best regards
[Android Software/Hacking General [Developers Only]] djparent:
K so if I'm understanding the script right it's

It seems to run correctly, so I've created a Tasker app called Auto Detach that will run the script when tapped and then again every hour after that to make it simple for non-Tasker folks. It seems to be light on resources so far.

Grant root when requested.

It should survive a reboot (may depend on your system). If not, simply tap the icon to restart the app.

A notification is posted every time the script is run successfully, hide this in system settings if not needed.

If your phone has battery optimization disable it for this app. Huawei for example will kill this app in the background otherwise.

It's not perfect but seeing as it can run the script on tap it should still be useful even if it won't automate on some phones. Tasker apps can be tricky that way...

If you find this useful hit thanks, I'd appreciate it ?
[Android Software/Hacking General [Developers Only]] otonieru:
some angels dont have wings they said,

and one of them must be you ! lol

kudos for the works
[Android Software/Hacking General [Developers Only]] andrengg:
magisk 17.1, Lineage OS, android 7.1.2, lenovo vibe z2 pro, сначало уведомление в playmarket пропадает, но спустя какое-то время появляется вновь ... варианты написания имени пробовал самые разные ... помогает удаление detach - перезагрузка - установка заново и опять перезагрузка .... и опять потом по кругу....

google translate:

magisk 17.1, Lineage OS, android 7.1.2, lenovo vibe z2 pro, Initially, the notification in the playmarket disappears, but after a while it appears again ... I tried different versions of the spelling of the name ... helps to remove the detach - reboot - install again and reboot again .... and then again in a circle ....
[Android Software/Hacking General [Developers Only]] otonieru:
use the tasker script apk above. it will detach it once in an hour

btw, for anyone who have difficulty installing the module,

make sure you have two files in your sdcard root directory,

detach.txt and detach.custom

the content could be identical
[Android Software/Hacking General [Developers Only]] andrengg:
это отдельное приложение ?

или для него нужно еще Tasker apps ?

google translate:

It is a separate application?

or need another Tasker apps?
[Android Software/Hacking General [Developers Only]] djparent:
Download this app (Auto Detach) and install it, I made it in Tasker to refresh the script every hour automatically. It is a separate application that runs the module to keep apps hidden. You do not need Tasker for it to function correctly.
[Android Software/Hacking General [Developers Only]] nacos:
The tasker script ends up with an error, but it does the job! :D

Just like others suggested, I run the script every 2 hours - it seems to be working just fine.
[Android Software/Hacking General [Developers Only]] calchung:
I deleted the force close in the service.sh

Works well too
[Android Software/Hacking General [Developers Only]] djparent:
Try my Auto Detach APK posted above if you get annoyed with the error in Tasker. It seems to be very reliable so far and doesn't rely on Tasker's queueing. Makes a difference if you already have a lot of profiles running. ?
[Android Software/Hacking General [Developers Only]] andrengg:
я подтверждаю что Auto detach работает и выполняет свою задачу.

I confirm that Auto detach works and performs its task.
[Android Software/Hacking General [Developers Only]] an0therus3r:
Here it doesn't on Android Pie, is Pie supported?

/Edit

Does anyone have the original Tasker scripts maybe?
[Android Software/Hacking General [Developers Only]] otonieru:
sh /sbin/.core/img/Detach/service.sh

run it as root
[Android Software/Hacking General [Developers Only]] an0therus3r:
Should I have the module installed also? I thought Tasker script itself would be enough.
[Android Software/Hacking General [Developers Only]] otonieru:
The script only initiate the script that come with the module to be re-runned.

without the module, the tasker script will do nothing, as no service.sh available to be executed
[Android Software/Hacking General [Developers Only]] an0therus3r:
Mmmmm okay. Thanks for clarifying ;)
[Android Software/Hacking General [Developers Only]] gonsa:
I installed Detach v2.6.4 module from Magisk repo but I don't find the detach.txt file anywhere..

Can I create one? Do I just type youtube in it?
[Android Software/Hacking General [Developers Only]] Xaniel:
Here for you: View attachment detach.custom.txt

The mod works not perfect. Once it works, another time not. I klick for youtube "not update" manual when i update my apps. One klick more in google play okay, but it works everytime ;).
[Android Software/Hacking General [Developers Only]] gonsa:
Thank you.

One last question, where do I place it? in "/" ?
[Android Software/Hacking General [Developers Only]] Xaniel:
On the root in the phone memory (internal memory). You must this file copy first in root, and then install the mod. Then works, when it's work :). And forget not the delete the "#" in the file to detach the app on your phone. Read instructions here: First thread
[Android Software/Hacking General [Developers Only]] djparent:
Yup, the root of your storage drive should work fine.
[Android Software/Hacking General [Developers Only]] Rom:
Hello,

For info i have remove my module portage of this MOD on the Magisk Repo.

So it's stay on your phone as long as you will let it in your device.

I have take this decision due to all last feedbacks and my tests.

I haven't got any idea on what's happen so if you find something or have an idea, tell me.

For thoses who want to downloading my last stable version, look in attachment.
[Android Software/Hacking General [Developers Only]] djparent:
Not sure why you're pulling it, it works well if set up properly! Users that are having trouble (ie losing hide on apps) simply need to run the script again using Tasker or the Auto Detach app I linked a few posts above. When the script is run hourly Detach module works fabulously well! Thank you for your contribution either way but I believe you should leave it in the repo and simply append the instructions. It could be of great benefit to many people. Cheers! ?
[Android Software/Hacking General [Developers Only]] Rom:
Without even needing it, you have just explained in concrete terms why i removed the module from the Magisk repository.

The normal operation of the module does not require you to run a script later if it is broken.

I myself have no intention of installing a task automation application like Tasker or any other of the same kind on my phone.

Initially, the module should work anytime, whether you install 50 or 100 new applications or update others, hidden applications should not appear again in the Play Store.
[Android Software/Hacking General [Developers Only]] djparent:
I can see how getting it to work in it's current iteration could be annoying to you then. It's my understanding though that current changes to the Google framework and Play store detection prevent a one time fix like how Detach used to work. Simply put, it'll never work that way again. The Play Store scans and reattaches apps on an apparently random schedule now, so the only assurance is to run the script hourly. By definition I'd say your module IS still working correctly but may need a simple update to self launch the script if you wish to avoid installing a second automation app. I don't think installing a simple helper app like Auto Detach is really any trouble for most people though and it doesn't require any experience which is why I was happy to share it. I only use Detach to hide YouTube but it's honestly the only module I've found that hides apps properly AND can be refreshed when necessary. What you see as a flaw, I see as a feature lol! I just wanted to express how much I appreciate it and that I've been directing others using YouTube Vanced to try it as well and they were reporting success. Detach may not work the way you intended but it's still making many people happy! Thank you for your efforts, they are appreciated.

In short, ALL methods I've found to hide apps currently fail. Your module not only works, it can be refreshed when the system circumvents it. Maybe from a different perspective this can be seen as opportunity? By any means it certainly not the failure you think it is. ?

P.s: if you haven't tried running Auto Detach with your module yet you should! It doesn't require Tasker and uses so few resources it doesn't show up in any of my monitoring software. You'll never know it's on your system, I swear. I can't even take any credit for what it does, it's literally just that 1 line of script run once an hour every hour. If you like I could tailor the APK to your needs and it could be flashed as part of the module even to simplify things further. Try it, really!
[Android Software/Hacking General [Developers Only]] Rom:
I understand your point of view, however, as you said, unlike before, you need to be able to run it as soon as the hidden applications appear again in the Play Store.

The simple fact of having to run a script every X hours bothers me and bores me when the basic operation is automatic.If anyone has the patience to look in their logcat and see what happens every time they manually launch the Play Store, let them wave.Idk how other applications and MODs work, from the beginning i discovered this MOD, i didn't dwell on other solutions whether they are functional or not.
[Android Software/Hacking General [Developers Only]] otonieru:
in new magisk, sbin/.core is deprecated and change by sbin/.magisk, so i think you gonna need to change the script to become sh /sbin/.magisk/....(so on) else it will stop working :)
[Android Software/Hacking General [Developers Only]] djparent:
I'll contact [MENTION=5332893]Rom[/MENTION] privately when I have some time and see if this is a project he won't mind us pursuing. I'm not opposed to brushing up my skills if necessary to keep this module current with Magisk. Not sure how much I could do to keep it updated beyond that though. ?
[Android Software/Hacking General [Developers Only]] Rom:
According to this Magisk update:

https://github.com/topjohnwu/Magisk/commit/376e7977f00ddf4a2148fe98b6b33174ee1a86b7

I will update my portage according to this update soon (in next days).
[Android Software/Hacking General [Developers Only]] andrengg:
ваше приложение очень нужное

я не нашел других альтернатив

я был бы очень рад если бы Вы продолжили работу над приложением

спасибо

translate:

your application is very necessary

I have not found other alternatives

I would be very happy if you continued working on the application.

thank
[Android Software/Hacking General [Developers Only]] Rom:
Originaly, it's not "my application", i just have port this original MOD as a magisk module.

I can continue to update/improve it, but not alone, actualy i need help.
[Android Software/Hacking General [Developers Only]] andrengg:
sorry but i can't help
[Android Software/Hacking General [Developers Only]] Rom:
Hello,

As annonced on this OP (https://xdaforums.com/showpost.php?p=78230038&postcount=520)

There is a little update to support the new Magisk img path (https://github.com/topjohnwu/Magisk/commit/376e7977f00ddf4a2148fe98b6b33174ee1a86b7).

That's all i can offer for the moment.

And for for now, my hidden applications haven't reappeared in my Play Store for several days without any logical explanation.

Say it here (or on the Telegram group) if you haven't had any anomalies in the last few days without having to run the script file multiple times.
[Android Software/Hacking General [Developers Only]] andrengg:
error in install:

- Copying zip to temp directory

- Installing Detach_2.6.4_Magisk_17 .zip

- Mounting /system, /vendor

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

inflating: config.sh

inflating: module.prop

inflating: sqlite

creating: common/

inflating: common/post-fs-data.sh

inflating: common/service.sh

inflating: common/sqlite.txt

inflating: common/system.prop

*******************************

Detach

Modded by Rom for Magisk v17+

All credits to hinxnz

*******************************

******************************

Powered by Magisk (@topjohnwu)

******************************

- Creating /data/adb/magisk_merge.img with size 64M

Creating filesystem with parameters:

Size: 67108864

Block size: 4096

Blocks per group: 32768

Inodes per group: 4096

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 16384

Block groups: 1

Reserved block group size: 7

Created filesystem with 11/4096 inodes and 1294/16384 blocks

e2fsck 1.42.9 (28-Dec-2013)

- Extracting module files

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

creating: system/

creating: system/bin/

inflating: system/bin/Detach.sh

inflating: system/placeholder

grep: Detach: No such file or directory

grep: UniversalGMSDoze: No such file or directory

grep: busybox-ndk: No such file or directory

grep: iYTBP-Vanced-Magisk-Repo: No such file or directory

grep: lost+found/busybox-ndk/module.prop: No such file or directory

- Prepare stuff

mount: mounting on Detach

UniversalGMSDoze

busybox-ndk

iYTBP-Vanced-Magisk-Repo

lost+found failed: Invalid argument

! Busybox is not installed

Or maybe you have to:

sh: bad number

=> Enable Busybox for Android NDK in your Magisk Manager

=> Reboot your device

=> Try again

! Installation failed

busybox installed is 1.29.3 osm0sis @ xda-developers

magisk v17.1

version is posted:

https://xdaforums.com/showpost.php?p=78216454&postcount=513

installed
[Android Software/Hacking General [Developers Only]] Rom:
ZIP file fixed, can u check it again please ?
[Android Software/Hacking General [Developers Only]] andrengg:
Yes, this file was installed normally

Thanks!
[Android Software/Hacking General [Developers Only]] djparent:
Thank you for this! I'll give it a try tonight and report back if there are issues. Cheers!
[Android Software/Hacking General [Developers Only]] andrengg:
Without auto detach.apk enabled, the item about updating YouTube again appeared overnight, after the phone is restarted, the item disappears.
[Android Software/Hacking General [Developers Only]] djparent:
Install failed, even with the new version. Here is the log

I do have busy box installed and it wouldn't work after a reboot.
[Android Software/Hacking General [Developers Only]] Rom:
I think that you have a problem with your Magisk modules folder or your busybox module install, can you check it please ?
[Android Software/Hacking General [Developers Only]] djparent:
I don't use the busybox module but that's never been an issue before. I use Busybox Pro and it's installed into/sbin at every reboot, and have already tested that and it seems to be fine. I should ask before we go further, do I need to be on the stable or beta update channel for Magisk for this Detach update to work? I'm currently on 17.1 stable.
[Android Software/Hacking General [Developers Only]] otonieru:
There's definitely a problem with your magisk installation,

might want to try the beta one
[Android Software/Hacking General [Developers Only]] Rom:
Ok so it will not work.

U need to have the module one from the Repo (in addition to the PS pro version if you want).

It's don't depend of the Magisk branch used.
[Android Software/Hacking General [Developers Only]] djparent:
It has always worked without the busybox module before, did you make a change to the last update then?
[Android Software/Hacking General [Developers Only]] MArtyChubbs:
New update Finally works! Ty! YouTube has been detached. [emoji112]
[Android Software/Hacking General [Developers Only]] Rom:
My last versions are more "tests versions".

My last ZIP version ? :o
[Android Software/Hacking General [Developers Only]] hinxnz:
Hey Rom, thanks for your involvement, been pretty busy lately for this project.

I'm happy for you to continue the magisk module as you are doing, is there an updated or new template like

this

? (for non-magisk users)

The config files detach.txt, detach.custom and detach.remove have become a bit of a messy process I feel, would it be better to configure the process via a terminal emulator? (like the App Systemizer module)

Some things have changed that causes apps to reappear in playstore but I'm pretty sure I've figured it out anyways so just testing to see before I post results, stay tuned :D
[Android Software/Hacking General [Developers Only]] djparent:
Happy to report it installed perfectly after installing the busybox module. I'll wait to see if you guys can figure out the updating issue before I bother with making another helper app for the new path. Thanks for this!
[Android Software/Hacking General [Developers Only]] Rom:
Oh you're back, Amen! :o

Well, to avoid writing 10K lines of blasphemy from all my tests.

Recently the Play Store had to be updated and a new routine updates its internal databases (including the library.db file that you initially modify).

I tried to see where it came from but I still haven't found it, so yesterday I made a small menu accessible via terminal to execute sql commands on the fly.

Regarding the methods of adding applications to my ported script, I removed the detach.remove which makes sense to me is useless because mine removes sql lines to write news to each installation of the module.

I don't think an installation like the App Systemizer module is necessary.

At the moment, if a user wants to add an application known as YouTube for example, he can create the Detach.txt file or the detach.custom file (at choice), in both cases (tested by me and others users) the method works.

The only problem as you saw it concerns the reattachment of initially hidden applications, which is why I deleted it directly from the official Magisk repository.

So in the end, if you have the solution to this problem, the module can be officially put back online and we can work with the Vanced development team for better compatibility.

Feel free to join the Telegram group I created for the module at this link: https://t.me/joinchat/ElFVDxJDgCkDt5Zr_qblGQ
[Android Software/Hacking General [Developers Only]] andrengg:
I would love to try a new version, freezing auto detach.app ... where can I download it? with the latest version I was forced to apply auto detach.app again.
[Android Software/Hacking General [Developers Only]] ZaneZam:
oh nice, finally i have the possibility to directly say thx for your tricks [MENTION=1909299]hinxnz[/MENTION] !! and just for inspiration (or for a "alternative method" which works for me) i jump on the train here (i hope i may?)

by providing this: https://github.com/Magisk-Modules-R...agisk-Repo/blob/master/common/post-fs-data.sh

it basically is the usual method from u but with 1.) deleting the app entry (like titanium backup does) instead of setting permission, and 2.) looping that thing to catch re-attachments

funny that also [MENTION=5332893]Rom[/MENTION] and others are working in parallel on that topic. :) looking foward to the new approach, looping stuff is nice but a pretty rudimentary workaround style but for "more"

i didn't have time *gg*
[Android Software/Hacking General [Developers Only]] Rom:
Depending on the solution @hinxnz will finds, i propose to set up a compatibility between your Youtube Vanced module (which i also use) and my ported module.
[Android Software/Hacking General [Developers Only]] hinxnz:
Yeah that's fine and thank you for keeping up the YouTube mod.

There's a few ways to modify database to remove the entry but that's not the issue, repopulating the database is but I think I've got a work around, kindy was tricky to find, hope I didn't speak to soon and it keeps working. Was more of a mission to sus than when I was on lollypop and sussing getting boot scripts working again, that's when I came up with the idea of post-fs-data
[Android Software/Hacking General [Developers Only]] Rom:
Nice, in some words why it's happen ?
[Android Software/Hacking General [Developers Only]] hinxnz:
The service that I was disabling was but it's no longer a service so that's why apps keep reappearing, it basically says it in the script.
[Android Software/Hacking General [Developers Only]] Rom:
I had already noticed this, without having had the time to look further. Regarding the module, keeping the features as is seems to me sufficient, at present the majority of users wanting access to root use Magisk. Once you have figured out how to fix all this i will be able to update the module and publish it again on the Magisk repo.

@ZaneZam

With the next version coming, we can think about an compatibility between our two modules running under Magisk, as they will do the same thing, for exemple you could add an if statment to check if my one exist in the modules folder.
[Android Software/Hacking General [Developers Only]] ZaneZam:
u r talking a bout the DailyHygiene service which throws a "not existent" error at us, right? :) i found out during testing (and AFTER i put in the "soft" detach method) that such a mode is obsolete now because it in

fact even IS not changing any service already because this is broken :) looking forward to the new method :fingers-crossed: that it "holds" ;)

oh yes yes thx for bringing this up, i actually even forgot to protect my 2 possible available modules (universal installer and magisk repo) from each other in addition!

will put some checks into next version :good:
[Android Software/Hacking General [Developers Only]] Rom:
I think that the best thing will be do to check if the word "youtube" exist in the service.sh file of my module folder.

My one will be back on the Magisk Repo when the new version will be coming.

@hinxnz

With the next version coming, i think that the best way about "ZIP versions" could be:

- your version with support of SuperSU

- My one on the Magisk repo with Magisk support

- the version of ZaneZam on the Magisk Repo as option

Tell me if u have a "better idea".
[Android Software/Hacking General [Developers Only]] marcdw:
Regarding the DailyHygiene service, does anyone know which first version of the Play Store removed it? I don't know if it was with v12 or started earlier.

ZTE Axon 7 A2017U, /e/ v0.1 ROM, microG (NoGapps), Multiboot, XDA Legacy
[Android Software/Hacking General [Developers Only]] andrengg:
Any news on the project?

may have alternatives?
[Android Software/Hacking General [Developers Only]] kamilmirza:
what do you want?

it's working perfectly as advertised
[Android Software/Hacking General [Developers Only]] otonieru:
if you want permanent solution, use xposed and sudohide modules.

or partial solution : scheduled tasker script
[Android Software/Hacking General [Developers Only]] gonsa:
Hi there,

I've recently upgraded my OP5 to Android 9.0.

When trying to install this zip though Magisk it fails, saying Busybox ia not installed. I do have it installed.

Is there something I should do to make this work?
[Android Software/Hacking General [Developers Only]] Rom:
The main dev works on a way to prevent detached apps to get back due to the new PS DailyService update from google.

Not exactly, my latest version allows you to detach the desired applications from the PS properly. However, this does not solve the problem of reattaching applications in the PS.

I recently created a menu accessible via the terminal as a workaround to avoid having to restart for the initial script to run again, but it is still a backup solution in the end.

Thereafter, anyone is free to automate the execution of my script periodically by an application or other.

Hello,

To get my module works, u need the 'Busybox for Android-NDK' Magisk Module to be installed.

If you don't have it, install it from the Download section in the Manager, reboot, and try again to install my portage.