FORUMS
Remove All Ads from XDA

[MOD] Detach Market Links for Theme Ready Apps

2,733 posts
Thanks Meter: 2,366
 
By hinxnz, Senior Member on 25th August 2016, 10:47 AM
Post Reply Email Thread
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/sho...&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

Download
Attached Files
File Type: zip Detach-v2.1.zip - [Click for QR Code] (1.22 MB, 1226 views)
File Type: zip Detach-v2.2.zip - [Click for QR Code] (1.22 MB, 536 views)
File Type: zip Detach-v2.3.zip - [Click for QR Code] (1.22 MB, 1386 views)
File Type: zip Detach-v2.4.zip - [Click for QR Code] (1.22 MB, 750 views)
File Type: txt detach.txt - [Click for QR Code] (502 Bytes, 19732 views)
File Type: zip Detach-v2.5.zip - [Click for QR Code] (1.22 MB, 1246 views)
File Type: zip Detach-v2.6.zip - [Click for QR Code] (1.22 MB, 9926 views)
The Following 120 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
 
 
25th August 2016, 11:50 AM |#2  
Senior Member
Flag Surabaya
Thanks Meter: 58
 
More
Thanks @hinxnz, I'll try the newest one.

Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?
The Following User Says Thank You to sunanulh For This Useful Post: [ View ] Gift sunanulh Ad-Free
25th August 2016, 01:29 PM |#3  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,366
 
More
Quote:
Originally Posted by sunanulh

Thanks @hinxnz, I'll try the newest one.

Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?

I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.
The Following 3 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
25th August 2016, 01:40 PM |#4  
Senior Member
Flag Surabaya
Thanks Meter: 58
 
More
Quote:
Originally Posted by hinxnz

I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.

I think a "fulfilled" config file is simpler. So the users have just to add/remove '#' symbol.
For the name of the apps, maybe you can ask to TBO.

Cheers
The Following User Says Thank You to sunanulh For This Useful Post: [ View ] Gift sunanulh Ad-Free
25th August 2016, 02:30 PM |#5  
Senior Member
Thanks Meter: 394
 
More
Quote:
Originally Posted by hinxnz

I updated mod, see if it works for you now & I made a thread for it too > http://forum.xda-developers.com/andr...-apps-t3447494

It's still not working on Stock rooted N. Thanks for trying.
25th August 2016, 05:05 PM |#6  
RED ZMAN's Avatar
Senior Member
Flag ABQ - Albuquerque Metro, NM
Thanks Meter: 1,111
 
Donate to Me
More
Glad I saw your post that you put this thread up!

I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.
25th August 2016, 07:50 PM |#7  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,366
 
More
Quote:
Originally Posted by cmo220

It's still not working on Stock rooted N. Thanks for trying.

Could you call script manually with Terminal Emulator and post output

Quote:
Originally Posted by RED ZMAN

Glad I saw your post that you put this thread up!

I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.

But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?
The Following 3 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
25th August 2016, 08:05 PM |#8  
Senior Member
Thanks Meter: 394
 
More
Quote:
Originally Posted by hinxnz

Could you call script manually with Terminal Emulator and post output


But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?

I couldn't get a /su.d folder so I put it in /system/su.d, which was already there and working. Here is the output.

angler:/ $ su
angler:/ # /su.d/99-detach.sh
sush: /su.d/99-detach.sh: not found
127|angler:/ # /system/su.d/99-detach.sh
angler:/ # Component {com.android.vending/com.google.android.finsky.services.DailyHygiene$Da ilyHygieneService} new state: disabled
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted

And a bunch more of the same error.
The Following User Says Thank You to cmo220 For This Useful Post: [ View ] Gift cmo220 Ad-Free
25th August 2016, 08:09 PM |#9  
RED ZMAN's Avatar
Senior Member
Flag ABQ - Albuquerque Metro, NM
Thanks Meter: 1,111
 
Donate to Me
More
The first version? I've deleted the previous versions .zips.

I've installed 1.0, 1.2, and 1.3.

Youtube has been showing this way for about a week, even after reboots.

11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube

Showing up in the My apps & games list as installed...

Gmail
Google App
Google+
Google Photos
Hangouts

Wishlist, yes, I've got several.
The Following User Says Thank You to RED ZMAN For This Useful Post: [ View ] Gift RED ZMAN Ad-Free
25th August 2016, 09:07 PM |#10  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,366
 
More
Quote:
Originally Posted by RED ZMAN

The first version? I've deleted the previous versions .zips.

I've installed 1.0, 1.2, and 1.3.

Youtube has been showing this way for about a week, even after reboots.

11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube

Showing up in the My apps & games list as installed...

Gmail
Google App
Google+
Google Photos
Hangouts

Wishlist, yes, I've got several.

Could you call script in Terminal Emulator and post output too.
For example:
Code:
su
/system/su.d/99-detach.sh
The Following 2 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
26th August 2016, 03:13 AM |#11  
RED ZMAN's Avatar
Senior Member
Flag ABQ - Albuquerque Metro, NM
Thanks Meter: 1,111
 
Donate to Me
More
I don't think I've used terminal emulator except for twice since the G1, so I'm not sure if I did this right.

[email protected]:/ $
[email protected]:/ $ su
system/su.d/99-detach.sh <
sush: /system/su.d/99-detach.sh: not found127|[email protected]:/ #
Post Reply Subscribe to Thread

Tags
apps, detach, market, playstore, tbo

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes