microg_installer_revived icon indicating copy to clipboard operation
microg_installer_revived copied to clipboard

All WebView based Apps Crashing

Open bioluks opened this issue 1 year ago • 12 comments

What the title says, this even after a clean install. Like mentioned in the readme I unchecked the Unmount Modules switch since I'm a KernelSU user. Details summed up:

  1. ROM: crDroid (based on AOSP - LineageOS) Android 14, latest security patches.
  2. KernelSU
  3. Unchecked Umount Modules WebView and Chromium browsers from KernelSU. The Chromium browsers work in this case but not apps like Jellyfin, Homeassistant and the likes that make use of WebView rendering.
  4. Tried version 3.4.0-0 till the latest as of today 4.1.0-0. Same error.

webview_zygote crashes, even when using another WebView. It complains that it can't find microGOverlay.apk in the requested location as far as I can understand. For a while I thought this was a ROM issue but when installing MinMicroG with @HPsaucii's patch it worked, also without MinMicroG and microg_installer_revived WebView apps and Chromium browsers work just fine.

I was able to capture the webview_zygote crash 42 times, all of them containing the exact same errors; that's why I'm sharing one.

webview_zygote_crash_microg_installer_revived.zip

bioluks avatar Nov 02 '24 19:11 bioluks

I'm not familiar with how KernelSU works, can you somehow disable "Unmount modules" globally or for system_server or something like that?

nift4 avatar Nov 02 '24 22:11 nift4

Since everything was working with MinMicroG I had to continue setting up the device. I didn't have to disable "Umount Modules" system wide, will try on another test device of mine and will report back on this if I can reproduce the issue.

bioluks avatar Nov 04 '24 10:11 bioluks

I'm using KernelSU and been having the same issues with webview_zygote crashing too ROM: LineageOS 21, Android 14

Its the same errors as what was posted above

literaltoony avatar Nov 08 '24 03:11 literaltoony

Saw that i got mentioned here, and im inclined to say that its because this module is a systemizer, it essentially takes stuff already installed and moves it to the system partition. If you do not already have said apps installed, or they're installed to an abnormal location, this module will fail (mine wont tho ;])

HPsaucii avatar Nov 08 '24 09:11 HPsaucii

@HPsaucii So any fix regarding the issue?

literaltoony avatar Nov 08 '24 09:11 literaltoony

The fix is to either: Install all the apks yourself as a user, and then hope this module installs them to a system location supported by your rom, or not to use this specific module at all

HPsaucii avatar Nov 08 '24 10:11 HPsaucii

What other modules do you recommend?

literaltoony avatar Nov 08 '24 10:11 literaltoony

Saw that i got mentioned here, and im inclined to say that its because this module is a systemizer, it essentially takes stuff already installed and moves it to the system partition. If you do not already have said apps installed, or they're installed to an abnormal location, this module will fail (mine wont tho ;])

I checked the install scripts, and know this one is a systemizer. I did everything accordingly. If you don't have the apps as user app installed this one won't even install and give you a warning.

So even if you do everything according to documentation it will fail (at least in my case and setup).

bioluks avatar Nov 08 '24 10:11 bioluks

What other modules do you recommend?

You can use mine 😄 https://github.com/HPsaucii/MinMicroG/tree/NikFixes

You could of course use shane's, if it wasnt broken

HPsaucii avatar Nov 08 '24 12:11 HPsaucii

Regarding your issue @bioluks theres a good chance that ita because this module installs to a hardcoded location, which isnt compatible with certain roms (most notably samsung's base rom, but there could be other's). Shanes module direcrly addresses this, and my fork expands on it slightly for increased compatibility

HPsaucii avatar Nov 08 '24 12:11 HPsaucii

I'm stopping working on this module: https://github.com/nift4/microg_installer_revived/commit/6a60ec0f9d6fc2d29db3e6119b7a4cff04940c3d just as a heads-up.

nift4 avatar Nov 08 '24 14:11 nift4

Thanks for this great module @nift4 , it's what I've always used until now. Sad to hear it won't receive updates anymore.

bioluks avatar Nov 08 '24 14:11 bioluks