Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All WebView based Apps Crashing #188

Open
bioluks opened this issue Nov 2, 2024 · 12 comments
Open

All WebView based Apps Crashing #188

bioluks opened this issue Nov 2, 2024 · 12 comments

Comments

@bioluks
Copy link

bioluks commented Nov 2, 2024

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

@nift4
Copy link
Owner

nift4 commented Nov 2, 2024

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

@bioluks
Copy link
Author

bioluks commented Nov 4, 2024

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.

@dudewhatthe2
Copy link

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

@HPsaucii
Copy link

HPsaucii commented Nov 8, 2024

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 ;])

@dudewhatthe2
Copy link

@HPsaucii So any fix regarding the issue?

@HPsaucii
Copy link

HPsaucii commented Nov 8, 2024

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

@dudewhatthe2
Copy link

What other modules do you recommend?

@bioluks
Copy link
Author

bioluks commented Nov 8, 2024

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).

@HPsaucii
Copy link

HPsaucii commented Nov 8, 2024

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
Copy link

HPsaucii commented Nov 8, 2024

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

@nift4
Copy link
Owner

nift4 commented Nov 8, 2024

I'm stopping working on this module: 6a60ec0
just as a heads-up.

@bioluks
Copy link
Author

bioluks commented Nov 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants