[MODULE] Detach3 - Detach Market Links

Search This thread

n0j0e

Senior Member
  • 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.

    Code:
    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
     
    Last edited:

    hinxnz

    Senior Member
    Jul 21, 2009
    2,849
    2,459
    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.

    Code:
    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
    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.
     
    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
    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.
    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,
    I don't mind, especially since with the new forums I don't get alerts to quotes. Just reflash, no reboot needed.
     

    k1984228

    Member
    Feb 13, 2016
    12
    1
    Google Pixel 5
    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
    Screenshot_20210430-095248.png

    hope can help you
     
    • Like
    Reactions: danbest82

    hinxnz

    Senior Member
    Jul 21, 2009
    2,849
    2,459
    UPDATE: Detach3 v3.06
    https://forum.xda-developers.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
     

    Attachments

    • Screenshot_20210504-205800_FX.jpg
      Screenshot_20210504-205800_FX.jpg
      145.4 KB · Views: 69
    Last edited:

    venuharry

    Member
    Sep 25, 2020
    17
    3
    CoolPad Note 3
    Vivo V9
    UPDATE: Detach3 v3.06
    https://forum.xda-developers.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
    i am unable to block the youtube music app
    i had entered the same thing
     

    hinxnz

    Senior Member
    Jul 21, 2009
    2,849
    2,459
    i am unable to block the youtube music app
    i had entered the same thing
    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
     

    Attachments

    • Screenshot_20210507-173701_Magisk.png
      Screenshot_20210507-173701_Magisk.png
      58.3 KB · Views: 77
    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

    Idk if them changing the name in play store to YouTube Music - Stream Music and videos changed the package name

    Screenshot_20210507-232124.jpg
     

    Attachments

    • magisk_install_log_2021-05-07T20_15_11Z.log
      1.2 KB · Views: 7
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 144
      Detach3

      Introduction

      This Magisk module is for detaching apps from the Google Play Store.
      It removes your defined packages from the 'My apps & games' section and disables them from auto-updates.

      Installation
      Flash module in Magisk Manager only.
      Not necessary to reboot after flashing this module.
      This module is designed to flash as many times as you like.
      It is configured with a *configuration file. You can create one before flashing this module to define your package(s) or the default one will be used instead, which detaches YouTube by default.
      Add your package name(s) you would like to detach to the configuration file, with each package name on a new line.
      You can add more package names to your configuration file or the default one at any time, then simply just flash module again to apply it. Again, no need to reboot or any other user interaction needed.
      Read the log that Magisk Manager displays when flashing the module, it displays the detached package(s) for confirmation.
      *Configuration file directory: /storage/emulated/0/Android/detach.cfg

      Reattach
      https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84951411

      Scheduler
      https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84981039

      Uninstallation
      Uninstall with Magisk and reboot.

      Troubleshooting
      Follow uninstallation method. After reboot open playstore, navigate to 'My apps and games' section so it can populate and then re-flash the module.
      Still have an issue? Post your problem in detail and upload your Magisk installer log, found in your Download directory after saving it ( Shown here ).

      Changelog
      v3.00
      - Initial release
      v3.01
      - Disabled Fallback broadcast
      v3.02
      - Disable auto-update for detached apps
      - Disable playstore running in background
      - Added uninstall script to revert changes
      v3.03
      - Updated sqlite3 binary
      - Added support for x86 and x64
      v3.04
      - Added package check for configuration file
      - Minor alterations
      v3.05
      - Recompiled sqlite3 binaries
      - Improved device platform check
      - Added database check
      - Added the default detach.cfg file
      - Minor alterations
      v3.06
      - Improved installer checks
      - Fixed inflating uninstall script error
      - Tidied installer script
      - Added reattach feature*
      * Comment out package name(s) in detach.cfg to reattach.
      v3.07

      - 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

      Frequenly Asked Questions
      Q. Can I use the old detach.txt?
      A. No, I decided to ditch it. It now uses a new method explained in the installation section.

      Q. Where is the boot script installed?
      A. No boot script is needed for detaching, everything is done while flashing the module.

      Q. Does this break safetynet?
      A. No, it doesn't conflict with safetynet at all.

      Q. Why shouldn't I re-enable Play Protect?
      A. It will interfere with the module's purpose.

      Q. Will having Play Protect disabled, open me up to vulnerabilities?
      A. No, the playstore scans their market apk's after developers upload them.

      Q. I usually install after-market apks (modified ones) and I think play protects me from this?
      A. You should scan your unknown apk with Total Virus.

      Q. How do you find a package name?
      A. Magisk Manager lists your apps with the package name underneath each one, in the Magisk Hide list.

      Q. What Magisk version is needed?
      A. The module template is designed for Magisk v20.4+

      Q. Do I need to uninstall previous version before updating?
      A. No, just flash updated version.

      Q. Do auto-updates still work for all my other apps that aren't detached?
      A. Yes, auto-update and other notifications etc still work.

      Download
      See attached below -- detach-3.xx.zip

      Previous versions

      Detach Market Links for Theme Ready Apps *

      Introduction
      This Mod is for detaching apps from the Google Play Store that are included in the Theme Ready Apps zip and/or aroma installer from Team Black Out for CMTE and Substratum theme engines.
      *Now also includes majority of all themed apps by Team Black Out by using an optional txt file.
      The purpose is that updates will not show in your update list and also in update notifications from the Google Play Store.
      This allows you to auto-update or the ability to use the update all button without the worry of updating Theme Ready Apps which will break your themes for those apps updated.
      The Google apps that are detached if you're not using the optional txt file are Gmail, Google App, Google Plus, Hangouts, YouTube and Gboard (Google Keyboard).

      Installation
      Flash Mod in recovery, no need to wipe anything but if using SuperSU systemless mode or Magisk, flash this mod afterwards.
      No need to flash again in-between ROM updates if using SuperSU systemless mode or Magisk or if your ROM supports addon.d scripts.
      To detach more themed apps, place the detach.txt file either on root of your sdcard or internal storage and remove the comment from the apps you wish to detach and then flash Detach.zip
      You can also use the optional detach.txt file to just selectively detach Theme Ready Apps.
      If you don't use the supplied detach.txt file, only Theme Ready Apps will be detached.
      To add your own custom packages (apps), read here > https://forum.xda-developers.com/showpost.php?p=72194332&postcount=147

      Uninstallation
      Rename detach.txt on sdcard to detach.remove, flash Detach.zip again and reboot.
      This will remove all files related to installation, including the txt and custom file and restores all market links.

      Note
      If not using SuperSU or Magisk, you need to have init.d support.
      The configured script doesn't execute until after 60 seconds when boot has completed, this also includes the remove script too.
      This Mod has been tested by myself on Android 6 and 7.
      You still have the ability to update your Theme Ready Apps via Google Play Store but you'll need to use the search function instead.

      Changelog
      v1.0
      - Initial release
      v1.1
      - Changed detach method
      v1.2
      - Disabled service for database
      v1.3
      - Bug fixes
      v1.4
      - Added static sqlite binary
      v2.0
      - Added themed apps to detach with configuration txt file (optional)
      v2.1
      - Cleaned up installation script
      - Added mod removal option
      v2.2
      - Magisk compatible (systemless installation)
      - SuperSU systemless mode compatible (systemless installation)
      - Fixed init.d detection
      - Fixed market links reappearing
      - Updated detach.txt (added Wallpapers, Pixel Launcher, Capture (GoPro))
      v2.3
      - Updated script and detach.txt (added Gboard, Clock, Camera, Google Connectivity Services, Google VR Services, Google Play Services)
      v2.4
      - Updated script and detach.txt (added Google Carrier Services and the ability to add custom packages)
      v2.5
      - Fixed market links reappearing
      v2.6
      - Main script updated for removal process
      - Disabled code for a playstore service that no longer needs to be disabled
      - Removed Contacts, Phone and Photos from default install
      41
      Update: Detach_v2.4.zip + detach.txt
      Updated script to include Google Carrier Services and also custom packages.

      To add your own custom packages (apps) to detach from market, create a file on root of sdcard or internal storage called detach.custom with the package names you wish to detach and then flash Detach.zip
      See attachment for example (example has .txt extension to be able to upload).
      You can goto Settings > Apps > [App name] to see the package name or source it from a site such as APK Mirror.
      23
      Update - Detach_v2.6.zip
      - Main script updated for removal process
      - Disabled code for a playstore service that no longer needs to be disabled
      - Removed Contacts, Phone and Photos from default install
      17
      Detach v2.6 updated to working with Magisk v16.3 and higher aviable :)

      https://www.mediafire.com/download/cryhbf4b35om2dx
      15
      Update: Detach_v2.5.zip
      Fixed market links reappearing
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone