[Request] Module for disable Playstore Selfupdate - Magisk

Hi,
I'm looking for disable Playstore Selfupdate. I tried old method by disable in Playstore Smali but it doesn't working anymore on Playstore 8.x and change name code version to a very high one in apktool.yml breaks Google Play services because of Playstore signature check...
Does someone have an idea how to Disable by a Magisk module ?

If i'm not mistaken you can do it with any file manager that have root privilege...
Just go to root/data/app and look for com.android.vending-1...if you found it then make another folder called com.android.vending-2 and gave the same permissions the original folder...that should prevent google playstore to automatically update itself....
You can try this and see if its working...
Sent from my A0001 using Tapatalk

Related

[Q]Move module download directory

I have chmod'd to 400 on /data/data/com.android.providers.downloads/cache to keep GPlay Services from updating, but this is also where Xposed modules are downloaded to.
My questions are
1. Is there a better way to stop GPlay Services from updating? Permanently?
More importantly
2. Can Xposed Installer be modified(I guess this is a feature request) so the modules are downloaded to different directory- such as /data/data/de.robv.android.xposed.installer/cache?
I'm using Xposed Installer 2_4_1 on ics 4.0.3
GPlay Services does all I need it to, and the newer versions are excessively large(24MB). I keep it as system app, but that's no longer an option for me
Sent from above using XDA Premium
Anybody home?
Sent from above using Xparent Tapatalk Blue
PiggyFlooper said:
I have chmod'd to 400 on /data/data/com.android.providers.downloads/cache to keep GPlay Services from updating, but this is also where Xposed modules are downloaded to.
My questions are
1. Is there a better way to stop GPlay Services from updating? Permanently?
More importantly
2. Can Xposed Installer be modified(I guess this is a feature request) so the modules are downloaded to different directory- such as /data/data/de.robv.android.xposed.installer/cache?
I'm using Xposed Installer 2_4_1 on ics 4.0.3
GPlay Services does all I need it to, and the newer versions are excessively large(24MB). I keep it as system app, but that's no longer an option for me
Sent from above using XDA Premium
Click to expand...
Click to collapse
I don't think it's possible to stop play services from updating...
Maybe if you unlink the app from the market with titanium backup?
rignfool said:
I don't think it's possible to stop play services from updating...
Maybe if you unlink the app from the market with titanium backup?
Click to expand...
Click to collapse
I made text file, called it com.google.android.gms-2.apk, stuck it in /data/app
Then ran this:
busybox touch /data/app/com.google.android.gms-2.apk;
busybox chattr +i /data/app/com.google.android.gms-2.apk;
GPlay Services will update and download to the cache folder I mentioned earlier as file called .bin, but it won't actually install. From what I tested, this folder needs owner write permissions and google can push it. For Xposed to download permissions here must be 'at least' 331. And so with those permissions, the gms app will just sit there wasting space.
So I'm asking, for convenience sake, can the download directory be moved-
:banghead:
edit- another question, is what I'm asking possible, um, does the package manager install all downloaded apps from that folder?
@GermainZ @rovo89
Sent from above using Xparent Tapatalk Blue
You can't move the downloads directory without recompiling the Xposed Installer (and modifying it).
This sounds like an XY problem – you want to do something (stop an app from updating) and figure out a way to do it (a really bad way – you're possibly affecting many apps that rely on Android's download manager), so you ask how to make your own way work better...
Here's my advice: don't make the system downloader's cache directory read only. Seriously, just don't. It's a bad idea, and I can guarantee you'll break things in the future when you'll have forgotten all about it, and spend countless hours blaming other apps and developers or wasting your time.
You want to stop Google Play Services from updating? Decompile it and recompile it (without any changes), that should change its signature and ought to be enough. Alternatively, write an Xposed module to do it (or request one in the correct thread).
(Or just live with it, or clean up your system partition, or manually convert it to a data app every once in a while, etc. Just don't make the system's downloader's directory read only.)

Injecting an Xposed into an APK file

I found this Xposed module (https://github.com/Frazew/VirtualSensor/releases/) which can emulate a gyroscope using data from the accelerometer and compass.The problem is that I cannot install Xposed / root since it will break apps which use CTS like Android Pay (systemless won't work too).So I need to inject the module into the APK by editing the code so it calls the modified modules.
Is there any tool like this or can you create one
Does anyone know how to edit tags for a post on XDA ?

[HELP]i need help with youtube vanced, can't prevent the playstore to update the app

as the title says i have been having problems getting the youtube app to stop updating , i followed the instructions in the vanced post , i did the method 2 of the magisk installation (where you download the latest version from the page and install the module) placed the install via magisk module and the detach from playstore module on the download folder , all goes normal i even deleted all youtube data , and unistalled the app with titanium backup , and disabled the auto update tick box several times and it still ends up updating youtube and removing the vanced version :/
THEwed123wet said:
as the title says i have been having problems getting the youtube app to stop updating , i followed the instructions in the vanced post , i did the method 2 of the magisk installation (where you download the latest version from the page and install the module) placed the install via magisk module and the detach from playstore module on the download folder , all goes normal i even deleted all youtube data , and unistalled the app with titanium backup , and disabled the auto update tick box several times and it still ends up updating youtube and removing the vanced version :/
Click to expand...
Click to collapse
Just disable auto update from play store...
Sent from my MI 5 using Tapatalk
but in general or only for the app? because i have been disabling it for the app always and it always ends up updating it
THEwed123wet said:
but in general or only for the app? because i have been disabling it for the app always and it always ends up updating it
Click to expand...
Click to collapse
For the app should be enough.
that's what i always do and it still ends up updating , even with the detach module, maybe i'll have to disable it all together :l
That's werid stopping auto update from the play store should stop all that
Sent from my SM-J327P using Tapatalk
Well, it doesn't. I'm experiencing the same.
i am using it on pie. is really frustrating the app update by itself.
SWITCH OFF AUTO UPDATE IN PLAYSTORE ARE NOT WORKING AT ALL.
detach in TB is NOT WORKING also.
but version on nougat doesn't have this issue, maybe google did something fishy on PIE?
I guess you should ask for help in the dedicated threads for Youtube Vanced instead of creating a new thread for this.
https://forum.xda-developers.com/apps/magisk/magisk-iytbp-youtube-vanced-t3712097
locolyric said:
i am using it on pie. is really frustrating the app update by itself.
SWITCH OFF AUTO UPDATE IN PLAYSTORE ARE NOT WORKING AT ALL.
detach in TB is NOT WORKING also.
but version on nougat doesn't have this issue, maybe google did something fishy on PIE?
Click to expand...
Click to collapse
Same in Oreo. Never had problem with Nougat.
I installed it just like the OP, it would detach but play store would attach youtube back on the update list by itself every night. When the phone is restarted the detach module in magisk will detach it again, but the next morning, play store would put it back on the list.
use service disabler
ttps://egg.5ch.net/test/read.cgi/android/1461342935/562
Disabling the auto-update from Play Store works fine for me. I've been using Vanced for months and no such issues.
MntFlg said:
use service disabler
ttps://egg.5ch.net/test/read.cgi/android/1461342935/562
Click to expand...
Click to collapse
Your link is dead. However, you inspired me.
Which service in Google Play Service should be disable?
calchung said:
Your link is dead. However, you inspired me.
Which service in Google Play Service should be disable?
Click to expand...
Click to collapse
ttps://i.imgur.com/ryqueL8.png
MntFlg said:
ttps://i.imgur.com/ryqueL8.png
Click to expand...
Click to collapse
Http://i.imgur.com/ryqueL8.png
Only disable that 2 services in Youtube can detach the app from Play?? It works?
I was thinking to disable some service in Google Play Services.
MntFlg said:
ttps://i.imgur.com/ryqueL8.png
Click to expand...
Click to collapse
calchung said:
Http://i.imgur.com/ryqueL8.png
Only disable that 2 services in Youtube can detach the app from Play?? It works?
I was thinking to disable some service in Google Play Services.
Click to expand...
Click to collapse
Tried but doesnt work. Youtube would still appear on the play store update list.
Sent from my HTC U12+ using XDA Labs
Read the part in the first post under:
https://forum.xda-developers.com/android/apps-games/app-youtube-vanced-edition-t3758757
"Explanation of the (Ad)Vanced options of the official installer:"
After thatd download the files from the 3# post:
https://forum.xda-developers.com/showpost.php?p=75772897&postcount=3
Use the Mediafire host. in the Installer folder you'll find all the necessary files.
regards
I've been trying to figure out this issue for a while.
Basically issue for me is on Google Pixel XL and now Pixel 3 XL and my friends Moto x4, all on both Android Oreo and Pie... Using Magisk repo install and uninstalling stock YouTube, and then adding enable_detach empty file in cache folder in root along with turning off "Enable auto update" in Google play store for YouTube . Usually this works for a few weeks but every now and then it ignores it and updates itself and turns on auto update without user explicitly allowing it. (Says YouTube was just updated).
I can easily fix it by uninstalling updates again but my friend doesn't know how to do this easily. I also tried to remove YouTube forcefully with titanium backup from system app and detaching months ago but that caused a lot more problems. Currently it gives option to attach to market forced despite it still showing up in market saying update (and auto update off for it)
I wanted to understand the plz and settings.sh options if using specifically Magisk method 1 (Magisk repo). Or are those only if using the other methods under magisk and/or root only option (no Magisk)?
Use the Sudohide xposed module.
This Module will prevent apps from detecting other installed apps on your device. Settings are done on per app basis.
Steps to hide VancedYT (A) from Play Store (B):
1. Select app A in the main list a new list view will be launched
2. Tick the checkbox next to app B in the newly opened list view
3. Press apply to save and back to exist
4. Restart luncher or reboot the phone.
Slow down.
Detach using titanium backup WORKS
For me I could only press "attach to playstore"
So I did. After I got button detach.
It worked and removed it

MicroG without root

Is ther any way to install MicroG without using PC on stock ROM? I tried apk install as well as through F-droid without luck - app not installed and installation failed due to unknown error respectively. Am I missing something?
nProzac said:
Is ther any way to install MicroG without using PC on stock ROM? I tried apk install as well as through F-droid without luck - app not installed and installation failed due to unknown error respectively. Am I missing something?
Click to expand...
Click to collapse
Works fine for me. Used apk and YouTube vanced apk. Logged in google account with no issues.
nProzac said:
Is ther any way to install MicroG without using PC on stock ROM? I tried apk install as well as through F-droid without luck - app not installed and installation failed due to unknown error respectively. Am I missing something?
Click to expand...
Click to collapse
Work fine for me
Disable security checks in Google play
You mean Google Play Store? Couldn't find option like this but already had store disabled. I am still getting app not installed every time I try .apk
I know you can probably remove play services from user 0 using adb but how do you get microg up and running with the location addons and such? If you're leaving google services on there, it not working and still using it. Thanks
nProzac said:
Is ther any way to install MicroG without using PC on stock ROM? I tried apk install as well as through F-droid without luck - app not installed and installation failed due to unknown error respectively. Am I missing something?
Click to expand...
Click to collapse
I think it's not possible without root and signature spoofing have to be enable on the Rom wich is not the case for stock Rom. You can check with the signature spoofing checker app on Fdroid.
https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing

Viper4Android FX and Moto Time and Weather Widget [Release][Magisk]

Everything tested here was with LineageOS 18.1 April 14th build with Magisk 22.1.
I have been unable to install Viper4Android FX on my Pixel 5 because it kept hanging on downloading latest apk. I dug through the module, found the url, deleted the download script, manually added the apk, and repacked the module. It now installs without a problem. This did need Audio Modification Library from magisk repo and ViperFX needed Legacy Mode turned on in settings.
I also had a problem installing the Moto Time and Weather widget from the repo. At first I thought it was because the max api was set too low, and by changing that I have got it working before, but it required several reboots and time before the widget loaded correctly. I have fixed both of these issues. I replaced the widget apk with the latest version as of 4/19/2021 and changed the max api version to 40. After reboot, I added the widget (it's now Moto Time and Weather, no longer just Time and Weather), and it loaded right up. This latest version comes with 3 different widgets, all of which worked right after adding them. I have no idea what the other files are in the zip, I'm assuming they're frameworks to get it working. Just trying to install the apk returns App Not Installed, so they seem nessecary.
Below is the google drive links to the magisk zips. Only flash these through Magisk.
Viper4Android FX
v4afx.zip
drive.google.com
Moto Time and Weather widget Magisk module
Moto_Clock_Widget-v10.2(36).zip
drive.google.com
I'm unable to grant the background location permissions the moto one requires.
I tried cutting it to /sdcard and installing there to allow it and planned on returning it but that doesn't work. I looked through the magisk zip for something that looked related to this permission but I couldn't find one.
aleph.mercury said:
I'm unable to grant the background location permissions the moto one requires.
I tried cutting it to /sdcard and installing there to allow it and planned on returning it but that doesn't work. I looked through the magisk zip for something that looked related to this permission but I couldn't find one.
Click to expand...
Click to collapse
You just flash it, add widget, click it, click use location or something, and allow permission. If it doesn't come up, you go to settings, apps, time and weather, permissions, and turn on location.
aleph.mercury said:
I'm unable to grant the background location permissions the moto one requires.
I tried cutting it to /sdcard and installing there to allow it and planned on returning it but that doesn't work. I looked through the magisk zip for something that looked related to this permission but I couldn't find one.
Click to expand...
Click to collapse
I went and checked to see what was happening and it seems it's requesting location 24/7 and there is no permission to allow that kind of access. I'll look into it later.
edit : I cannot seem to figure this one out. I've tried deleting background location requirement from apk and it's still requesting it. Android 11 doesn't seem to have this location permission. I have decompiled the apk and I am posting here hoping someone knows how to remove this problem. The location should work fine with "While the app is in use", because that would be all the time. I'm not sure why it's giving this problem.
The app does work with manually set location.
Here is the download link for the decoded files
Dropbox - File Deleted - Simplify your life
www.dropbox.com
Knuxyl said:
Everything tested here was with LineageOS 18.1 April 14th build with Magisk 22.1.
I have been unable to install Viper4Android FX on my Pixel 5 because it kept hanging on downloading latest apk. I dug through the module, found the url, deleted the download script, manually added the apk, and repacked the module. It now installs without a problem. This did need Audio Modification Library from magisk repo and ViperFX needed Legacy Mode turned on in settings.
I also had a problem installing the Moto Time and Weather widget from the repo. At first I thought it was because the max api was set too low, and by changing that I have got it working before, but it required several reboots and time before the widget loaded correctly. I have fixed both of these issues. I replaced the widget apk with the latest version as of 4/19/2021 and changed the max api version to 40. After reboot, I added the widget (it's now Moto Time and Weather, no longer just Time and Weather), and it loaded right up. This latest version comes with 3 different widgets, all of which worked right after adding them. I have no idea what the other files are in the zip, I'm assuming they're frameworks to get it working. Just trying to install the apk returns App Not Installed, so they seem nessecary.
Below is the google drive links to the magisk zips. Only flash these through Magisk.
Viper4Android FX
v4afx.zip
drive.google.com
Moto Time and Weather widget Magisk module
Moto_Clock_Widget-v10.2(36).zip
drive.google.com
Click to expand...
Click to collapse
The download link was not available anymore...

Categories

Resources