open_webview icon indicating copy to clipboard operation
open_webview copied to clipboard

Install of Cromite WV not working

Open grm34 opened this issue 1 year ago • 12 comments

Didn't notice that before because Cromite WV still called Android System Webview and I'm still using Mulch WV : install of Cromite WV looks fine but it's not installed after reboot (default WV back).

  • Android 13 (LOS20)
  • LOS20 WV : 117.0.5938.60
  • Cromite WV : 132.0.6834.83

Image

Image

grm34 avatar Jan 18 '25 01:01 grm34

I think for Cromite the module should try replacing the existing WebView package (that came with the ROM) systemlessly rather than trying to install on top of it (as that will obviously fail).

lss4 avatar Jan 21 '25 02:01 lss4

I think there should not be a replacement for a crucial system app at all, but an alternative webview with a proper name (= "Cromite Webview") instead. It makes no sense to replace it and if it failed, you would brick your phone.

HarriBuh avatar Jan 21 '25 17:01 HarriBuh

I think for Cromite the module should try replacing the existing WebView package (that came with the ROM) systemlessly rather than trying to install on top of it (as that will obviously fail).

Nothing overrides , the script installs Cromite WV as a system app so yes it could be related to the package name/ID which makes the OS interpret this as an update.

grm34 avatar Jan 21 '25 23:01 grm34

Nothing overrides , the script installs Cromite WV as a system app so yes it could be related to the package name/ID which makes the OS interpret this as an update.

Cromite WV currently uses com.android.webview which is the same as the default (AOSP) WebView that comes with ROMs. Due to difference in signature it's not possible to install it via normal means.

As I cannot find product or system/product folder inside the module directory, the module certainly isn't overlaying anything in the system. For Cromite WV in its current state it can only be installed by overlaying the one already on the system. If done correctly, this works with Android 15 also.

I think there should not be a replacement for a crucial system app at all, but an alternative webview with a proper name (= "Cromite Webview") instead. It makes no sense to replace it and if it failed, you would brick your phone.

In that case Cromite WV must use a different package name, and have its name and signatures added into config_webview_packages.xml preferably via an overlay. It will then be able to be installed and used with minimum hassle -- no need to be system app.

However, at the moment such overlays to the file in question don't appear to take effect on Android 15.

lss4 avatar Jan 22 '25 03:01 lss4

I have the same issue with a custom Android wall tablet (Android 11 with factory ROM SmaTek S9E panel).

mminehanNZ avatar Jan 23 '25 02:01 mminehanNZ

I have the same issue with a custom Android wall tablet (Android 11 with factory ROM SmaTek S9E panel).

It did never work, so posting this issue here makes no sense.

HarriBuh avatar Jan 23 '25 06:01 HarriBuh

It did never work, so posting this issue here makes no sense.

v2.4.0 uisng works on my device. Not sure why you think it people asking for help or trying to solve this problem "makes no sense".

mminehanNZ avatar Jan 23 '25 16:01 mminehanNZ

@mminehanNZ Cromite webview did never work ever because of the mentioned issues with the name above. What are you talking about.

HarriBuh avatar Jan 23 '25 18:01 HarriBuh

@mminehanNZ Cromite webview did never work ever because of the mentioned issues with the name above. What are you talking about.

Yes...you are right.....it was Mulch. I got confused. My mistake. I'm not an Android expert. Just trying to use an Android wall tablet with Home Assistant. It shipped with a very old webview which I am trying to update. But thank you for your considerate input.

mminehanNZ avatar Jan 23 '25 18:01 mminehanNZ

It did never work, so posting this issue here makes no sense.

Stop spam please, you just come saying stuff makes no sense. We are trying to be productive here.

Why posting here makes no sense ? Cromite was added to open_webview ? Does it work ? An error occurs during install ?

And I opened a Cromite issue about that a month ago...

grm34 avatar Jan 24 '25 00:01 grm34

@F3FFO

<webviewprovider
    availableByDefault="true"
    description="Cromite WebView"
    packageName="com.android.webview">
    <signature>MIIEzzCCAregAwIBAgIIe3EoNsMIx7QwDQYJKoZIhvcNAQENBQAwFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzAgFw0yMzA3MTkxMTI1MjBaGA8yMDUwMTIwNDExMjUyMFowFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKZcpHyZ3cAQ7kUwR4gtIG5bf7ZzW29aidEw2ShUuOIL7u1pk/xgyTAQk9CZMO3PjMFJiCpv84ILwwpqgF+nLFCdnOMizApD138qxLENnHcGOJ+vxNdIsLk9NwbK8BmtT4SXclta5QOy246+DtM0Lysf7QxuQ0KCPeia8n/JTBy+YbeRhHxfXlgdO8LScOVdcvC/Be+5uAylUcbCQX0xcgSvDXBGX3OcIQ+kpPbocDkR+H01V6KY8BZI5g2iULyRjoqAvJT6rd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JH9pDRB3mIrJDAKatO1BrZ8CW4mu/xqsmfM3k6gvawc6LH6G0g3+zvxvYQBI+fEdY2dzlUpAqEWuaT7IRttNOV+XW9Yn+k99J8nXGg=</signature>
</webviewprovider>

cxxz312 avatar Jan 24 '25 09:01 cxxz312

@F3FFO

<webviewprovider
    availableByDefault="true"
    description="Cromite WebView"
    packageName="com.android.webview">
    <signature>MIIEzzCCAregAwIBAgIIe3EoNsMIx7QwDQYJKoZIhvcNAQENBQAwFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzAgFw0yMzA3MTkxMTI1MjBaGA8yMDUwMTIwNDExMjUyMFowFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKZcpHyZ3cAQ7kUwR4gtIG5bf7ZzW29aidEw2ShUuOIL7u1pk/xgyTAQk9CZMO3PjMFJiCpv84ILwwpqgF+nLFCdnOMizApD138qxLENnHcGOJ+vxNdIsLk9NwbK8BmtT4SXclta5QOy246+DtM0Lysf7QxuQ0KCPeia8n/JTBy+YbeRhHxfXlgdO8LScOVdcvC/Be+5uAylUcbCQX0xcgSvDXBGX3OcIQ+kpPbocDkR+H01V6KY8BZI5g2iULyRjoqAvJT6rdeWzK4mHfXKYhEu1xrhWs5mQCbvp/ZYTmEcyoBvJE2lj+qRxgQDUh6XX41NIjjMiZuVtyyWDcsAsO3cGSghDWFbHrnIans90/GH37KSxMRPazSEinLem6bUfZye6U2SaP+pf4emv8SZLJXQJh5Uwsx4OOOGl7MFQKgyXEMJCS+6JKXFgg4FroFti5zir/1dSg4xwhmkM8+wgXuX2Gnb/5yTPcCX4VV9Ugg2xiblart4iixST66CNfqLHeFOQ9yy7fV8DzjbZY/zCxNflgr+839Q/74fHCvK22byMZ0f7BoWIvIi/1eex1Wjmpgk2WPyLEbhtbfNXR78xDFVQFc4GqO6PtbRsA6EUy2GBnrkiqaBjMP4Q11hkOd+zJ/IafNAKoYvdwKWDa/YOMiKCatsrPA6TyooZpY936pHAgMBAAGjITAfMB0GA1UdDgQWBBSwECBD7Hxf98TW2Qt1HyvplUshAjANBgkqhkiG9w0BAQ0FAAOCAgEAG39YouUPiHZKPQslEP3VXmyz6vIPk5kPygZegrVCPqL8XesxiO8cCRpILNq+C2vj03wzWf5BM7zz75E+Eil1CURQ0NQ2zJVLnxQF32cbyiEg+VU6E2BA24qgUkfNHKcrwURacci7SF9cRFfLKUiY/1MlwF/aKYOuAhbGEHLRIyQHNvAd1pd+mYLpa2yMxDoIi/OnRQ4lwnBYFCN9CIwdU3NQKnioTYaURTKhrQtSmgB5wVsZbqIbqdkSS9UIGodCW6aU3zEpkY1Oqhu++J4h8/ydfKf2RcaCz3EF8nM9G3BlNsbYEi2A+Ev/T2EbXC4b+QQmnjdVOxZgdKj7ul6z9EzfPxBn/A0Yl/5Iecj1sE92aBOqxdFKK8NQMT/AJbCkU8XurwRSHR4hY5F/EjzBsN4v7s2KtmkXyzmmp4skABebThypKautc93hzv+ZMILJbqyKvUkuUYs5gR1CHINn4xJLYdCDlGfdqno2IAHWKakV2uOGpcDCFFzf5ZUZ3PvmM/dnme7gYhYPFEgffMrknrNbERr9lIX4USAu5yDJ6vVAQp6/UZo1W+sM9uuTvt2J1ktkoJH9pDRB3mIrJDAKatO1BrZ8CW4mu/xqsmfM3k6gvawc6LH6G0g3+zvxvYQBI+fEdY2dzlUpAqEWuaT7IRttNOV+XW9Yn+k99J8nXGg=</signature>
</webviewprovider>

How to temporarily use these lines to bypass the current download and install problem? Edit and add these lines to config_webview_packages.xml on mulch-overlay29.zip or else? Is the signature correct for current Cromite Webview release, which is version 138.0.7204.97? Could the devs fix this problem and also add a function of manually adding downloaded APKs as a custom install?

kgursu avatar Oct 04 '25 01:10 kgursu