[Android Software/Hacking General [Developers Only]] hinxnz:
Detach3

Introduction

This Magisk module is for detaching apps from the Google Play Store.

It removes your defined packages from the 'Manage apps and device" 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: /storage/emulated/0/Android/detach.cfg

Reattach

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

Scheduler

https://xdaforums.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 the 'Manage apps and device' 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

Spoiler content hidden.

Frequenly Asked Questions

Spoiler content hidden.

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://xdaforums.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