ungoogled-software / ungoogled-chromium-android

Android build for ungoogled-chromium
GNU General Public License v3.0
491 stars 43 forks source link

Don't know if this is a bug but I can't change my "Webview implementation" on android 11 #84

Closed User198263321 closed 3 years ago

User198263321 commented 3 years ago

I have tried to disable the default android system WebView but that did not work. It shows as the only option still. I even tried bromine but that also did not work. Is there anything that I am doing wrong here?

Yonle commented 3 years ago

Same issue at Android 8, Vivo 1820

wchen342 commented 3 years ago

Android 8 should work. Try the method in Bromite wiki. I'm not sure about Android 11, they probably changed something. This is not a problem I can fix on my side because it is an OS limitation. Maybe try asking on XDA.

User198263321 commented 3 years ago

I just realized that the device may have to be rooted

wchen342 commented 3 years ago

Yes you need a rooted device normally.

Yonle commented 3 years ago

But if you still want try it without root, Download apps called F1 VM and set the webview as Ungoogled Webview after moving Ungoogled Webview apps to System.

lzlrd commented 3 years ago

I have tried to disable the default android system WebView but that did not work. It shows as the only option still. I even tried bromine but that also did not work. Is there anything that I am doing wrong here?

WebView, generally, two requirements on Android:

1) The WebView being a system application (as in, either at /system/app or /system/priv-app).

2) The WebView provider being in the list of verified providers, and if a signature is provided alongside it's reference in the list - making sure the signature matches up.

For 1), you require root access or to modify your system image (breaking AVB and, in turn, SafetyNet). For 2), you need to build and install a config overlay (which basically needs to also be in /system and therefore also requires root access).