candycanearter07 <
n...@thanks.net> wrote
>> I think a lot of people are afraid for no good reason about deleting some
>> of these Google packages - the Android System WebView being one of them.
>
> Probably scared of messing with anything pre-installed, in case it
> breaks something. Most don't really see the point of it.
It's just a phone.
What's the worst thing than can happen?
I got four of them (well, six - as I bricked two of them) for free from
T-Mobile - where all I had to pay on the first was the sales tax on MSRP.
The rest were free (T-Mobile refunded the $20 & subsequently $25 in-store
processing fees on my monthly bill) so that's six powerful phones for free.
(They're far more powerful than any iPhone ever sold - for example.)
Besides. A phone is a mere commodity.
If it costs more than free than you're probably paying too much for it.
Anyway, I'm progressing on my thread on the topic at the XDA forum.
<
https://xdaforums.com/t/what-happens-when-you-use-adb-to-delete-android-system-webview-on-android-10-devices-where-its-maintained-by-project-mainline-what-breaks-on-you.4634716/#post-89089173>
The first thing I doublechecked is I ran TrebleInfo on the hardware.
<
https://play.google.com/store/apps/details?id=tk.hack5.treblecheck>
Project Treble = Supported
VNDK version = 31.0
Linker namespace isolation = VNDK is not in lite mode
Manifest location = Modern
System as Root = Enabled
Seamless Upgrades = Unsupported
Dynamic Upgrades = Unsupported
Dynamic Partitions = Enabled
CPU architecture = ARM64
Binder architecture = 64 bit
If it matters for others to compare their results, here's the output
from "adb shell dumpsys webviewupdate" which shows Bromite not there yet.
C:\app\editor\android\scrcpy> adb shell dumpsys webviewupdate
Current WebView Update Service state
Multiprocess enabled: true
Current WebView package is null
Minimum targetSdkVersion: 33
Minimum WebView version code: 524912633
Number of relros started: 0
Number of relros finished: 0
WebView package dirty: false
Any WebView package installed: false
Preferred WebView package: none
WebView packages:
Valid package com.google.android.webview (versionName: 116.0.5845.163,
versionCode: 584516331, targetSdkVersion: 34) is NOT installed/enabled for
all users
com.google.android.webview.beta is NOT installed.
com.google.android.webview.dev is NOT installed.
com.google.android.webview.canary is NOT installed.
com.google.android.webview.debug is NOT installed.
com.android.webview is NOT installed.
BTW, if it matters, here's my results from "adb shell cmd overlay list".
(I wonder if "webview" would have shown up had it not been wiped out?)
C:\app\editor\android\scrcpy> adb shell cmd overlay list
com.google.android.networkstack.tethering
[x] com.mtk.google.android.networkstack.tethering.overlay
[x] com.google.android.networkstack.tethering.overlay
com.samsung.android.app.cocktailbarservice
[x] com.samsung.android.app.cocktailbarservice.en
com.google.android.cellbroadcastservice
[x] com.google.android.overlay.modules.cellbroadcastservice
com.samsung.android.aremoji
[x] com.samsung.android.aremoji.en
com.samsung.android.smartmirroring
[x] com.samsung.android.smartmirroring.en
com.sec.android.app.safetyassurance
[x] com.sec.android.app.safetyassurance.en
com.samsung.android.incallui
[x] com.samsung.android.incallui.en
com.samsung.android.aware.service
[x] com.samsung.android.aware.service.en
com.samsung.android.rubin.app
[x] com.samsung.android.rubin.app.en
com.sec.android.easyMover.Agent
[x] com.sec.android.easyMover.Agent.en
com.samsung.android.mdx.quickboard
[x] com.samsung.android.mdx.quickboard.en
com.samsung.android.secsoundpicker
[x] com.samsung.android.secsoundpicker.en
com.sec.android.app.soundalive
[x] com.sec.android.app.soundalive.en
android
[ ] com.android.internal.display.cutout.emulation.corner
[ ] com.android.internal.display.cutout.emulation.double
[ ] com.android.internal.systemui.navbar.gestural_wide_back
[ ] com.android.internal.systemui.onehanded.gestural
[ ] com.samsung.internal.systemui.navbar.sec_gestural
[ ] com.android.internal.display.cutout.emulation.hole
[ ] com.android.internal.display.cutout.emulation.tall
[ ] com.android.internal.systemui.navbar.threebutton
[ ] com.samsung.internal.systemui.navbar.sec_gestural_no_hint
[ ] com.android.internal.systemui.navbar.gestural_extra_wide_back
[ ] com.android.theme.font.notoserifsource
[ ] com.android.internal.display.cutout.emulation.waterfall
[ ] com.samsung.internal.systemui.navbar.gestural_no_hint
[ ] com.android.internal.systemui.navbar.gestural
[ ] com.android.internal.systemui.navbar.gestural_narrow_back
com.samsung.android.messaging
[x] com.samsung.android.messaging.en
com.samsung.android.app.telephonyui
[x] com.samsung.android.app.telephonyui.en
com.google.android.permissioncontroller
[x] com.google.android.overlay.modules.permissioncontroller
com.android.providers.settings
--- com.mediatek.SettingsProviderResOverlay
com.samsung.knox.securefolder
[x] com.samsung.knox.securefolder.en
com.samsung.android.app.smartcapture
[x] com.samsung.android.app.smartcapture.en
com.samsung.android.mdecservice
[x] com.samsung.android.mdecservice.en
com.google.android.networkstack
[x] com.samsung.android.networkstack
[ ] com.samsung.android.wcmurlsnetworkstack
com.samsung.android.ardrawing
[x] com.samsung.android.ardrawing.en
com.android.wifi.resources
[x] com.samsung.android.wifi.p2paware.resources
[x] com.samsung.android.wifi.resources
[x] com.samsung.android.wifi.h2e.resources
[x] com.samsung.android.wifi.softap.resources
[x] com.samsung.android.wifi.softapwpathree.resources
com.samsung.android.allshare.service.fileshare
[x] com.samsung.android.allshare.service.fileshare.en
com.google.android.connectivity.resources
[x] com.samsung.android.ConnectivityUxOverlay
[x] com.samsung.android.ConnectivityOverlay
com.samsung.android.setting.multisound
[x] com.samsung.android.setting.multisound.en
com.android.networkstack.tethering
--- com.mtk.android.networkstack.tethering.overlay
--- com.samsung.android.networkstack.tethering.overlay
com.samsung.android.arzone
[x] com.samsung.android.arzone.en
com.google.android.documentsui
[x] com.google.android.overlay.modules.documentsui
com.android.cellbroadcastreceiver.module
--- com.mediatek.cellbroadcastuiresoverlay
com.samsung.android.appseparation
[x] com.samsung.android.appseparation.en
com.samsung.android.honeyboard
[x] com.samsung.android.honeyboard.en
com.android.settings
--- com.mediatek.MtkSettingsResOverlay
com.samsung.app.newtrim
[x] com.samsung.app.newtrim.en
com.android.networkstack.tethering.inprocess
--- com.mtk.android.networkstack.tethering.inprocess.overlay
com.sec.android.emergencylauncher
[x] com.sec.android.emergencylauncher.en
com.sec.hearingadjust
[x] com.sec.hearingadjust.en
com.samsung.android.app.appsedge
[x] com.samsung.android.app.appsedge.en
com.android.systemui
[x] com.mediatek.systemuiresoverlay
com.google.android.cellbroadcastreceiver
[x] com.google.android.overlay.modules.cellbroadcastreceiver
com.sec.android.app.camera
[x] com.sec.android.app.camera.en
com.samsung.android.video
[x] com.samsung.android.video.en
Drat... I didnt' realize it was such a long listing.
I should have grep'd for "webview", e.g.,
C:\> adb shell cmd overlay list | findstr -i "webview"
It's not so easy to follow the instructions over here though...
<
https://github.com/bromite/bromite/wiki/Installing-SystemWebView>
They look nice.
But they're missing steps.
I'm working with the authors on that as we speak as I would like to write
up a tutorial so that even those low-IQ iKooks could do what I'm doing.