XPost: comp.mobile.android, alt.comp.microsoft.windows
Newyana2 <
Newyana2@invalid.nospam> wrote
I made the mistake of letting my cellphone
update and now have nearly constant warnings
that something needs Google Play Services. Everything
that can be disabled is disabled. Everything that can
be set for no notifications is set that way.
Example: "GBoard", whatever that is. I've
disabled notifications. I've disabled the app. But
I still get popups saying GBoard needs Google Play.
These settings seem to be mostly meaningless. All
I do normally is make phone calls. Occasionally I
need to go online. I've disabled or removed as much of
Google as I possibly can and use APKPure if I need
an app.
So my question: What would it take to get deeper
into the Android system and control this kind of
idiot functionality? I'm guessing it might be something
like controlling services on Windows? Maybe editing
config files in the core filesystem? I've enabled
developer tools, but that functionality is limited.
I don't use the phone much, but it's still maddening
to have icons covered over by dummy messages.
Hi Mayayana,
Like Paul and Vanguard, I hate to see someone ask a good question
but not get any comprehensively complete answers out of that quest.
Windows freeware for DeBloating unrooted Android phones is available.
<
https://i.postimg.cc/QxgFNqWS/adbdebloater01.jpg> Windows DeBloater
Which is nice, because it's like using non-Adobe PDF editors to remove permissions - you have more power when you don't follow the rules.
<
https://developer.android.com/training/package-visibility>
And there are lots of people on the net who debloated and then they
supplied the list of apps they debloated so you can put 'em in scripts.
<
https://xdaforums.com/t/new-package-disabler-works.4196047/post-84050223>
<
https://xdaforums.com/t/share-your-package-disabler-pro-list-of-disabled-apps.3593368/>
Of course, there are apps on Android itself to remove bloatware
but they tend to come and go as they're too specific to a brand.
<
https://play.google.com/store/apps/details?id=com.ccswe.appmanager.samsung_20201007>
<
https://play.google.com/store/apps/details?id=com.elmklmsamsung.batteryaddon>
<
https://play.google.com/store/apps/details?id=com.ospolice.packagedisablerpro>
Most of which are no longer in the Google Play Store repo.
Some of which cost money even if they are still in the repo.
<
https://www.packagedisabler.com>
Or they're adware...
<
https://play.google.com/store/apps/details?id=com.rrivenllc.shieldx>
And that's why I use more generic free methods, from Windows, to debloat
any app on my unrootable Android phone that I want to remove from it.
That is, I typically debloat all my unrooted Androids using Windows adb command-line freeware (note that "adb" does MUCH MORE than simple
command-line debloating (which everyone already knows about)).
<
https://www.makeuseof.com/uninstall-android-app-adb-system-apps-bloatware/>
Nowadays, my phone is on my Windows screen all the time, over Wi-Fi
<
https://i.postimg.cc/pr8NPNKs/scrcpy33.jpg> Android is on Windows
So there's really nothing you do on Android that isn't done on Windows. Especially as the entire Android phone is just a set of drive letters.
<
https://i.postimg.cc/9FJMKYch/scrcpy21.jpg> Windows Drive: === Android
Given Windows is the easiest way to debloat Android, I've taken the liberty
of adding the canonical Windows newsgroup (& its automatic archives)
so that everyone can benefit from this guide and so that they add value.
adb devices <== connects over USB
adb connect 192.168.1.4:44285 <== connects over Wi-Fi
adb shell pm dump com.google.android.webkit
adb shell am force-stop com.google.android.webkit
adb shell pm disable-user --user 0 com.google.android.webkit
adb shell pm uninstall --user 0 com.google.android.webkit
If I ever wanted to re-install it, that's just as simple to do with adb.
adb shell cmd package install-existing com.google.android.as
With adb on Windows, you can do almost anything, e.g., pull the package.
adb pull /system/framework/framework-res.apk
/system/framework/framework-res.apk: 1 file pulled, 0 skipped. 26.2 MB/s (20594725 bytes in 0.750s)
Then you can look inside the package if that's what you want to do.
aapt d xmltree framework-res.apk res/xml/config_webview_packages.xml
E: webviewproviders (line=17)
E: webviewprovider (line=19)
A: availableByDefault=(type 0x12)0xffffffff
A: description="Android WebView" (Raw: "Android WebView")
A: packageName="com.android.webview" (Raw: "com.android.webview")
Of course you can clone & then edit any Android package using Windows
freeware APK editors - but that's already the topic of other threads.
APK Editor Studio <
https://qwertycube.com/apk-editor-studio/>
Apktool <
https://bitbucket.org/iBotPeaches/apktool/downloads/>
CloneMyApp <
https://clonemy.app/>
etc.
But you might not know you can just SWAP OUT the Google packages with de-googled packages, such as what I'm doing now with that webview.
<
https://i.postimg.cc/8kfsyKdV/webview01.jpg> Android System WebView here
<
https://i.postimg.cc/dtLBhFqh/webview02.jpg> Android System WebView gone
<
https://i.postimg.cc/yN3BzM4k/webview03.jpg> Dev Options shows it's gone
<
https://i.postimg.cc/T197B0b1/webview04.jpg> Get the Bromite zip overlay
<
https://i.postimg.cc/xT6pRsYF/webview05.jpg> Run the ADB reboot sideload
<
https://i.postimg.cc/cCZkD2rP/webview06.jpg> Treble Info & cmd overlay
This means every app that calls up a "chrome" overlay, gets your swapped
out de-googled "bromite" overlay instead of the one Google put there first.
<
https://github.com/arovlad/bromite-webview-overlay>
The point of those explanations is to let you know the power of doing the debloating on Windows, instead of doing that debloating on Android itself.
For example, just last week Jeff Layton and I worked on debloating these
three pernicious Google packages which claim to do everything you need to
do (and it's all lies) which we found out simply by removing them.
*Google Partner Setup*
<
https://yoodley.com/google-partner-setup/>
C:\> adb shell pm uninstall -k --user 0 com.google.android.partnetsetup
*Android System Intelligence*
<
https://www.androidpolice.com/what-is-android-system-intelligence/>
C:\> adb shell pm uninstall -k --user 0 com.google.android.as
*Android System WebView*
<
https://appuals.com/android-system-webview/>
C:\> adb shell pm uninstall -k --user 0 com.google.android.webview
As always, I can't tell you everything but I can give you a short
description of some of the factors - where my experience is that it's best
to debloat Android from the Windows platform - especially as Windows and Android are already inextricably intertwined in your daily use of them.
--
Disclaimer: There's a "local adb" which runs on Android, but it's more work
to run on Android because you have to build the source to get it for free.
<
https://forum.xda-developers.com/t/say-hello-to-ladb-a-local-adb-shell-without-needing-root-or-a-computer.4204855/>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)