[Android Apps and Games] DiamondJohn:
Detaching An App From the Playstore

SQLite is now distributed with the app.

NB: to use any of the below, your ROM needs to support SQLite3, or you will need to install the SQLite Magisk module. You can test if your ROM supports SQLite3 by default by first running the method from the menu:

Database>SQLite Location and Version

The following is an example of detaching an app from the playstore. In this example, I will do YouTube, as most have issues with detaching Vanced Youtube. This method has worked 100% for me for the last few weeks.

Step 1 - From the first menu screen, click on the item as below

Step 2 - Select the sub menu as shown

Step 3 - Select the sub menu as shown

Step 4 - Select the app, which in this case will be YouTube. NB: I always put YouTube at the top of the list, unless it is already detached.

Step 5 - Select the method. I would suggest 2 or 3 for YouTube, maybe 1 for non Google Apps. The higher the number, the more aggressive the voodoo. Method 1 WILL eventually fail for YouTube. and let an update sneak through.

Step 6 - Select the confirm item, which will randomly appear in the list

Step 7 - The following confirmation will appear. Select "OK". NB. It says it will break other auto-updates, however, in my recent testing, they actually still do occur (if you have it turned on), Except of course for the app you chose to detach.

After running the above, the following results will show. NB: I already have a number of other apps detached using the different methods.

#############################################################
### DETACHING com.google.android.youtube USING METHOD 2 ###
#############################################################

Killed com.android.vending(9376) with signal 9
The Signal KILL has been sent to the PlayStore...
The Playstore appears to have been successfully killed at 2020-03-27 17:33:47
Disabling background services at 2020-03-27 17:33:47
Stopping service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.vending/com.google.android.finsky.dailyhygiene.DailyHygiene$DailyHygieneService }
Service not stopped: was not running.
Stopping service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.vending/com.google.android.finsky.hygiene.DailyHygiene$DailyHygieneService }
Service not stopped: was not running.
Disabling clean-up service at 2020-03-27 17:33:47

#####################################
### Detach registrations BEFORE ###
#####################################
source update_date create_date doc_id title method status
---------- -------------------- -------------------- -------------------------------------------------- ---------------------------------------------------------------------------------------------------- ------- ------
appstate 2020-03-18 23:17:53 2020-03-18 23:17:53 org.torproject.android 1 A
library 2020-03-18 23:17:53 2020-03-18 23:17:53 org.torproject.android 1 A
appstate 2020-03-18 23:16:13 2020-03-18 23:16:13 com.synprez.fm 1 A
library 2020-03-18 23:16:13 2020-03-18 23:16:13 com.synprez.fm 1 A
appstate 2020-03-18 23:15:08 2020-03-18 23:15:08 sikpenguin.games.dontpulltheplug 3 A
library 2020-03-18 23:15:08 2020-03-18 23:15:08 sikpenguin.games.dontpulltheplug 3 A
appstate 2020-03-18 23:14:01 2020-03-18 23:14:01 jackpal.androidterm 2 A
library 2020-03-18 23:14:01 2020-03-18 23:14:01 jackpal.androidterm 2 A
appstate 2020-03-18 23:12:16 2020-03-18 23:12:16 com.appspot.soundmodule 2 A
library 2020-03-18 23:12:16 2020-03-18 23:12:16 com.appspot.soundmodule 2 A
appstate 2020-03-16 13:18:18 2020-03-15 23:16:52 aws.apps.usbDeviceEnumerator 2 A
library 2020-03-16 13:18:17 2020-03-15 23:16:52 aws.apps.usbDeviceEnumerator 2 A
appstate 2020-03-16 13:16:29 2020-03-16 13:15:51 com.longexposure2 3 A
library 2020-03-16 13:16:29 2020-03-16 13:15:51 com.longexposure2 3 A

####################################################
### Applying the Voodoo at 2020-03-27 17:33:47 ###
####################################################

Re-enabling the PlayStore background services at 2020-03-27 17:33:48
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=service }
Error: Not found; no service started.
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.vending/com.google.android.finsky.dailyhygiene.DailyHygiene$DailyHygieneService\ }
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.vending/com.google.android.finsky.hygiene.DailyHygiene$DailyHygieneService\ }

##################
### COMPLETE ###
##################

####################################
### Detach registrations AFTER ###
####################################
source update_date create_date doc_id title method status
---------- -------------------- -------------------- -------------------------------------------------- ---------------------------------------------------------------------------------------------------- ------- ------
[B][COLOR="Red"]appstate 2020-03-27 17:33:48 2020-03-27 17:33:48 com.google.android.youtube YouTube 2 A
library 2020-03-27 17:33:48 2020-03-27 17:33:48 com.google.android.youtube YouTube 2 A [/COLOR][/B]
appstate 2020-03-18 23:17:53 2020-03-18 23:17:53 org.torproject.android 1 A
library 2020-03-18 23:17:53 2020-03-18 23:17:53 org.torproject.android 1 A
appstate 2020-03-18 23:16:13 2020-03-18 23:16:13 com.synprez.fm 1 A
library 2020-03-18 23:16:13 2020-03-18 23:16:13 com.synprez.fm 1 A
appstate 2020-03-18 23:15:08 2020-03-18 23:15:08 sikpenguin.games.dontpulltheplug 3 A
library 2020-03-18 23:15:08 2020-03-18 23:15:08 sikpenguin.games.dontpulltheplug 3 A
appstate 2020-03-18 23:14:01 2020-03-18 23:14:01 jackpal.androidterm 2 A
library 2020-03-18 23:14:01 2020-03-18 23:14:01 jackpal.androidterm 2 A
appstate 2020-03-18 23:12:16 2020-03-18 23:12:16 com.appspot.soundmodule 2 A
library 2020-03-18 23:12:16 2020-03-18 23:12:16 com.appspot.soundmodule 2 A
appstate 2020-03-16 13:18:18 2020-03-15 23:16:52 aws.apps.usbDeviceEnumerator 2 A
library 2020-03-16 13:18:17 2020-03-15 23:16:52 aws.apps.usbDeviceEnumerator 2 A
appstate 2020-03-16 13:16:29 2020-03-16 13:15:51 com.longexposure2 3 A
library 2020-03-16 13:16:29 2020-03-16 13:15:51 com.longexposure2 3 A

If you have finished detaching apps, then a reboot may be required to engage all the changes applied.

██▀███ ▓█████ ▄▄▄▄ ▒█████ ▒█████ ▄▄▄█████▓
▓██ ▒ ██▒▓█ ▀ ▓█████▄ ▒██▒ ██▒▒██▒ ██▒▓ ██▒ ▓▒
▓██ ░▄█ ▒▒███ ▒██▒ ▄██▒██░ ██▒▒██░ ██▒▒ ▓██░ ▒░
▒██▀▀█▄ ▒▓█ ▄ ▒██░█▀ ▒██ ██░▒██ ██░░ ▓██▓ ░
░██▓ ▒██▒░▒████▒░▓█ ▀█▓░ ████▓▒░░ ████▓▒░ ▒██▒ ░
░ ▒▓ ░▒▓░░░ ▒░ ░░▒▓███▀▒░ ▒░▒░▒░ ░ ▒░▒░▒░ ▒ ░░
░▒ ░ ▒░ ░ ░ ░▒░▒ ░ ░ ▒ ▒░ ░ ▒ ▒░ ░
░░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ░
░ ░ ░ ░ ░ ░ ░ ░

███▄ █ ▒█████ █ █░ ▐██▌
██ ▀█ █ ▒██▒ ██▒▓█░ █ ░█░ ▐██▌
▓██ ▀█ ██▒▒██░ ██▒▒█░ █ ░█ ▐██▌
▓██▒ ▐▌██▒▒██ ██░░█░ █ ░█ ▓██▒
▒██░ ▓██░░ ████▓▒░░░██▒██▓ ▒▄▄
░ ▒░ ▒ ▒ ░ ▒░▒░▒░ ░ ▓░▒ ▒ ░▀▀▒
░ ░░ ░ ▒░ ░ ▒ ▒░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ▒ ░ ░ ░
░ ░ ░ ░ ░

------------------------------------------------------------------------
# Execution Time: 2.373 seconds
# Produced at: 2020-03-27 17:33:49

For YouTube (and other Google Apps) I would suggest at least method 3. or maybe method 2.

Things to note:

Once you do the detach, TeMeFI does not run in the background, it could even be uninstalled and the detach sticks

If you clear the playstore data, the detach will be lost

You can detach multiple apps, using one of the three different methods

Even though I say to reboot, I dont think its necessary, just extra cautious

Other non detached apps continue to be updated, but, maybe slower, or its simply a watched kettle.

Let me know how you go. Its been working for me, and some others 100%