• Stars
    star
    249
  • Rank 162,987 (Top 4 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created almost 6 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Detach

Detach



Introduction

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. 👍


ℹī¸ Short explanation:

With this MOD, you can "detach" app(s) from your Google Play Store automatic update process, it completely hides the update in the "My games and applications" section. So you won't see your detached apps from your Play Store pending updates! You can access the simple mode by put a simple file `simple_mode.txt` in your `/sdcard/` folder and flash the module.

NOTE BEFORE INSTALL: DON'T FLASH THIS MODULE IN TWRP. USE MAGISK MANAGER ONLY TO INSTALL

📜 Setup steps:

  • Start by downloading the Detach.txt file to your /sdcard/ folder: Detach.txt
    • (equivalent to /storage/emulated/0/)
  • Remove the # symbol just before the application(s) name(s) you want in this file
  • Follow the next Bonus section if you want to detach other application(s) wich aren't in the list
  • Save changes
  • Install with Magisk app
    • Magisk app is required for the module setup
  • Reboot your device.
  • Profit!


🎇 Bonus: To detach other applications from your Play Store

  • Open your /sdcard/Detach.txt file on your device
  • Write # Other applications at the line number 45
  • Press your ENTER key 1 time to do a new-line (equivalent symbol: \n)
  • Write the package(s) name(s) of application(s) you want to detach (1 by line)
  • Let a blanck line at the end of your file (with your ENTER or with the equivalent symbol: \n)
  • Save changes
  • Flash the module again via Magisk Manager
    • Or just do su -c detach -a in a terminal emulator (if you already have the module installed)


✔ī¸ Compatibility:

  • Magisk (v15 to lastest)
  • All Android devices from Lollipop + (A11 supported)
  • Magisk Manager
  • Substratum themes for Play Store
  • Any Linux text editor (for LF line-end usage by default)
  • Scheduling

📄 Other Magisk module pre-requisite:

  • Busybox for Android NDK



⚠ī¸ Warning: In a very few cases, this mod can purely break the Play Store app, so please backup your phone before flashing this mod. Thanks for your understanding.

💡 Terminal features:

  • Instant detaching: instantly detach your favorites app(s)
  • List detached app(s): list all your app(s) wich are detached from the Play Store
  • Add app(s): detach new app(s)
  • Remove app(s): remove detach feature for detached app(s)
  • Kill: kill Play Store application
  • Clear Play Store data: clear the Play Store's app data
  • Task scheduler: Several possibilities to automate the detachment of your application(s) from the Play Store
  • Silent mode: enable or disable the silent mode, to have a cleaner and less cluttered display in your terminal
  • Busybox compatibility check and Magisk module auto-installer
  • Help: a help menu with all possible commands explained in details


For common apps:

  • You have to download the Detach.txt file: Detach.txt
  • Save it in your internal storage: /sdcard/Detach.txt (quivalent to /storage/emulated/0/Detach.txt).

Screenshot-20190815-170758.png



As the instructions say:

  • Uncomment the app(s) you want to "hide" from Play Store updates
  • Save your changes

Screenshot-20190815-170841.png





For any other app(s):

  • You have to write # Other applications at the line 45
  • Write the app(s) package(s) name(s) on the next line.
  • Don't forget to press your ENTER key when you will have finish to write your custom packages names.

An example:


Screenshot-20190815-170841.png




❔ Common Question and Answers:

Q: I have a problem, where do I report it?

A: Ask on Telegram group or/and on XDA OP (scroll up)

Q: When are the changes applied after the first flash ?

A: After you will have reboot your device.

Q: And the detach.custom file, what happened?

A: Starting from version 4.X, there is no longer need of this file, you just have to use the Detach.txt file.

Q: Where to find an app's package name for an other app (custom app) ?

A: App's package name is in the middle of the two texts framed in grey
https://play.google.com/store/apps/details?id=com.package.name&hl=en

Q: Apps aren't hidden in my Play Store!

A: If you have already run the command su -c detach -id, report on the Telegram group.

Q: How to "attach" again an app who is previously "hidden" ?

A: Just comment again the app name or the corresponding package name in the /sdcard/Detach.txt file and wait some minutes/hours. Or you can remove Play Store's app data, but you will lose your Play Store update and search history.

Q: What does this module do? Does it touch the system partition ?

A: It only edits a SQL database file in Play Store folder on your /data partition. Nothing more, nothing less.

Q: After several hours, my detached app(s) are back in my Play Store, what's wrong ?

A: With a recent update of the Play Store, an unknow wakeloks refresh the SQL database file of the Play Store. To fix it: just install a Terminal Emulator app or Termux (or another terminal emulator app) and run the command: => su -c detach -id

Q: My Play Store history search will be deleted ?

A: ONLY if you select the -c option in the terminal menu (as indicated in the menu).

Q: Is it possible to add or remove app(s) from the module's setup ?

A: Yes! See below:

  • For adding:

    • su -c detach -a (or su -c detach --add-app)
  • And for removing:

    • su -c detach -r (or su -c detach --rem-app)

Q: And if I'm too lazy to do the detach command every time the Play Store updates its file?

A: You can schedule the su -c detach -id command

  • To do this, just do:
    • Run su -c detach -t (or su -c detach --task-scheduler) command in your terminal
    • Choose a way.

Ready to go? â˜ēī¸

More Repositories

1

MagiskHidePropsConf

This tool is now dead...
Shell
1,979
star
2

busybox-ndk

busybox-ndk
Shell
892
star
3

movecert

movecert
Shell
663
star
4

wifi-bonding

Double your bandwith on your Qualcomm devices.
Shell
582
star
5

submission

Submit your Magisk Modules!
559
star
6

HideNavBar

Shell
498
star
7

adb-ndk

adb-ndk
Shell
457
star
8

ViPER4Android-FX

Shell
404
star
9

G-VisualMod

Systemlessy customize your Android's Visual
Shell
393
star
10

v2ray

v2ray core
Shell
331
star
11

callrecorder-skvalex

callrecorder-skvalex
Shell
326
star
12

energizedprotection

Energized Protection Magisk Module.
Shell
321
star
13

terminal_systemizer

terminal_systemizer
Shell
317
star
14

acc

Upstream repo:
Shell
317
star
15

KaliNethunter

KaliNethunter
Shell
298
star
16

com.piyushgarg.rclone

Shell
247
star
17

terminal_debloater

terminal_debloater
Shell
229
star
18

OneController

Magisk module which adds proper key mapping for various game controllers.
Shell
209
star
19

riru_lsposed

Shell
203
star
20

twrp-keep

twrp-keep
Shell
195
star
21

ssh

ssh
Shell
175
star
22

xmlpak

Shell
175
star
23

mm

mm
Shell
157
star
24

riru-core

Shell
148
star
25

Fdroid-Priv

Fdroid-Priv
Shell
128
star
26

nano-ndk

nano-ndk
Shell
127
star
27

xposed

Shell
126
star
28

ainur_narsil

Sauron audiomod developed with many experimental tweaks to squeeze more from your device in terms of sound
Shell
124
star
29

CloudflareDNS4Magisk

CloudflareDNS4Magisk
Shell
120
star
30

Pix3lify

Pix3lify
Shell
115
star
31

ccbins

Shell
109
star
32

liboemcryptodisabler

liboemcryptodisabler
Shell
109
star
33

acp

acp
Shell
98
star
34

ainur_jamesdsp

ainur_jamesdsp
Shell
81
star
35

riru_edxposed

Shell
77
star
36

IPControl

IPControl
Shell
74
star
37

adreno-dev

adreno-dev
Shell
72
star
38

ARCore_enabler

Shell
72
star
39

callrecorder-axet

Magisk module for installing axet's Call Recorder app
Shell
71
star
40

microG_installer

Go here ->
Shell
70
star
41

zipsigner

zipsigner
Shell
69
star
42

benchkit

A developer-centric toolkit module for Android to facilitate in-depth profiling and benchmarking.
Shell
67
star
43

GoogleDialerFramework

GoogleDialerFramework
Shell
65
star
44

riru_storage_redirect

Storage Isolation (Storage Redirect) is an app which provides isolated storage feature for apps. It can prevent poor-designed apps making your storage messy and let you control files app can access.
Shell
61
star
45

magisk-drm-disabler

Read-only mirror from GitLab. A Magisk module designed to disable DRM completely on Android
Shell
60
star
46

magisk-frida

You are probably looking for: https://github.com/ViRb3/magisk-frida
55
star
47

mtd-ndk

mtd-ndk
Shell
53
star
48

terminalmods

terminalmods
Shell
52
star
49

aml

aml
Shell
51
star
50

ExSDCard

ExSDCard
Shell
49
star
51

active_edge_system_mod

Active Edge Mod for Pixel devices
Shell
48
star
52

NfcScreenOff

Read NFC tags when screen is off. Disable NFC tagging sound.
Shell
47
star
53

CloudflareDNS4Magisk-IPv6

CloudflareDNS4Magisk-IPv6
Shell
45
star
54

wirelessFirmware

wirelessFirmware
Shell
44
star
55

djs

Daily Job Scheduler
Shell
43
star
56

BluetoothLibraryPatcher

Shell
43
star
57

hidden_settings

Shell
38
star
58

quickstepswitcher

Shell
36
star
59

WDAnimationcxair

Boot and Shut animation switcher Magisk Module for any supported android device
Shell
32
star
60

twrp-helper

A Magisk module to provide dynamic, in-situ patching of a device's TWRP recovery image to include Internal Storage in Data back-ups.
Shell
31
star
61

ViPER4AndroidFX-Legacy

ViPER4AndroidFX Legacy
Shell
31
star
62

Oxy-ify

Oxy-ify
Shell
30
star
63

airmusic

airaudio
Shell
30
star
64

noneDisplayCutout

Shell
29
star
65

nexusmedia

nexusmedia
Shell
26
star
66

sony-device-dummy

sony-device-dummy
Shell
25
star
67

overlayfix

Shell
23
star
68

vold-posix

vold-posix
Shell
23
star
69

foxy-boot

Shell
22
star
70

miracast-enabler

Magisk module to re-enable Mircast on certain android devices
Shell
22
star
71

Systemless_TZData

Systemless_TZData
Shell
21
star
72

PIXELARITY

Contains pixel exclusives, fix and tweaks to boost user experience on devices running Android 9/10
Shell
20
star
73

sqlite3

sqlite3
Shell
20
star
74

adreno-630-gpu-driver

Original repo at:
Shell
19
star
75

HEVCEnabler

HEVCEnabler
Shell
16
star
76

riru_location_report_enabler

A module of Riru. Enable Google location report and Google app timeline by hook __system_property_get in specific packages.
Shell
13
star
77

libsecure_storage

This Magisk module contains modified libsecure_storage.so libraries that allow rooted Samsung to function without losing Bluetooth pairings after a reboot.
Shell
13
star
78

disable-screenshot-camera-sounds

disable-screenshot-camera-sounds
Shell
13
star
79

com.catchingnow.icebox

Shell
12
star
80

wifi5ghzdisabler

Magisk module to disable WiFi 5Ghz Band on your Qualcomm device
Shell
11
star
81

apt-x

apt-x
Shell
10
star
82

ctenabler

Shell
9
star
83

disable-mdnsd

Shell
9
star
84

zsh_arm64

Shell
9
star
85

sonymusic

Shell
8
star
86

tcpdump_static_aarch64

Shell
8
star
87

oosbar

Shell
8
star
88

AppOpsPlugin

Shell
8
star
89

ASUS-Style-Suite

ASUS-Style-Suite
Shell
7
star
90

OneUISounds

One UI system sounds
Shell
7
star
91

logcat

Shell
7
star
92

aospill

Shell
7
star
93

motoclockwidget

motoclockwidget
Shell
7
star
94

xposed_dalvik

Shell
7
star
95

miui-10-sounds

Shell
6
star
96

ViPER4AndroidXHiFi

ViPER4AndroidXHiFi
Shell
6
star
97

HideGesBar

Shell
4
star
98

PS4RE

Shell
4
star
99

kfmark

Shell
2
star