I got a problem since I use /e/ with my Xiaomi Mi 9T.
I often got an error displaying on the screen that says that “browser keeps stopping”. Actually I’m not using this browser for my phone so there’s no problem about this but the problem is that it often came in front of the screen when I’m using other apps or when I’m doing something else that has no link with the browser. So I wanted to know if this problem was known and if it was possible to completely disable the browser to avoid it to start.
Here is two screenshots of what I get with this problem.
probably want to look at logcat while the error is thrown.
(I’ve seen foundation.e.browser segfault in user logs on this forum recently (within 3 months) but it didn’t come up more often. I wondered then what triggered it)
(the tombstoned process is what packages each bugreport, fyi - it won’t tell much about the crash itself in the logcat, just when you fetch the bugreport later that includes the log leading up to “being tombstoned”)
The last two screenshots show a SIGTRAP, not segfault (SIGSEGV) but this could be the ActivityManager forcefully ending the processes due to prior crashes? I guessed its a packaging issue - a user wrote similar at - https://github.com/opengapps/opengapps/issues/804
Unfortunately I can’t change the webview since I have no other alternative. The Google webview can’t be installed on my phone and to be honest I don’t really want something Google on my phone. Do you know an alternative webview ?
my fault suggesting it, forgot it’s not straightforward to supply an alternative webview. You could mess around as root user (possible in dev-channel builds via devoptions → adb root) and try to replace the libraries that repeatedly crash or supply an alternative webview - https://github.com/bromite/bromite/wiki/Installing-SystemWebView
ultimately the device trips on the current bromite webview (3 months old currently) that /e/ is building. If they rebuild it its worth giving it a try again
I installed bromite system WebView successfully but the system WebView still come from Android and there’s no other option in the developer option to choose the bromite webview. I can’t install the Google webview. Is there another solution because I’ve only found these three webview options.
I bricked my phone once by trying (badly) to do the stuff. My data are safe don’t worry.
I need to root my phone to be able to change the file they’re asking to modify. I find it not very easy. Where can I ask that they implement this modification in the next update so we can quit AndroidWebView that is a crap that is spying us and not working well on my phone ?
Thank you anyway for all your help. I’ll maybe try later to do the modification. For the moment I’m tired of this and I couldn’t find the access to the file from twrp but that’s another problem.
-“Installation with root and SystemAppMover” : I couldn’t move Bromite to system app even with other popular app like this one (I was rooted).
“Installation with root file manager or TWRP” : Impossible because /system/app/webview (if you do not have such directory, this procedure will not work)
The only way is to flash a custom ROM : “You can either modify framework-res.apk or create an overlay so that the changes explained earlier (res/xml/config_webview_packages.xml) allow installation of the Bromite SystemWebView as a system app or an user app.”
Unfortunately I think that is beyond my knowledge. Can someone help me?
I use Mulch WebView on all of my ROMs including /e/OS.
There’s different ways to get it installed (depending on ROM I’ve used several) but this one is aimed at non-root users.
Hmm, no space available on device. I assume that means the /vendor/ partition? I have not encountered that issue before.
Try df -h /vendor to see how much space is really left.
Depending on device /vendor may be separate (685MB free on the mata) or part of something else (Teracube the results are same for /vendor and /system with 1.8GB free).
Just wondering. Not related to space issue I don’t think but instead of using the mount command what if, after adb root, try adb remount instead. That seems to make everything available for writing (including data I recently found out - not really an adb user so… )
But I must admit the flashable zip didn’t work for me. Since I am always rooted I either use a Magisk module or place the overlay apk manually (necessary on my Oreo ROMs with SuperSU).
The key is to get the overlay file in place. Then the webview can be installed like any other app.
Reboot and check developer options.
Comparing / checking my ROMs, /product/overlay/ and /vendor/overlay/ have completely different content. Only the latter location is used.
Magisk modules also place the overlay file there.
/product and /vendor are symlinks inside /system. If they are also mounted as part of adb remount then I would access them directly, i.e. copy package to /vendor/overlay/.
If successful, give it 644 permission and reboot. Then install Mulch WebView.
On my Oreo ROMs with SuperSU I would manually place the file. Even when there was no overlay subdirectory in /vendor I would create it first.
In summary, use /vendor/overlay/ or /system/vendor/overlay/ if necessary.
I’m sorry I made a mistake. Nothing was copied. Although the apk is 60Mo and the free space is 232Mo in /vendor, it still fail to copy (it begins with all percentage than fail). I’m desperate maybe I need to change the OS.
This is so weird. I was really hoping something would work.
Of the seven ROMs with Mulch WebView two are /e/OS (1.8.1-q on Essential PH-1 and 1.12.5-r on Teracube emerald). Changing the OS is (probably) not necessary.
You said you were rooted? Using a root-enabled file manager, what if you just manually copy the overlay file to /vendor/overlay/, set the permission, and reboot. Then check to see if it is still there.
I was on a ROM where copying to system location was good (no read-write or permission errors) yet on reboot the file(s) was not there.
Another one. Apparently the Magisk module Open Webview now includes Mulch. Have not tested it.
I couldn’t change any system file even when rooted and set permissions. I gave up and I’ve installed a fresh /e/os again and I have much less error then before. Hope that they’ll implement Mulch or another non-googled WebView soon.