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

Install of Cromite WV not working #55

Open
grm34 opened this issue Jan 18, 2025 · 11 comments
Open

Install of Cromite WV not working #55

grm34 opened this issue Jan 18, 2025 · 11 comments

Comments

@grm34
Copy link

grm34 commented Jan 18, 2025

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

@lss4
Copy link

lss4 commented Jan 21, 2025

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

@HarriBuh
Copy link

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.

@grm34
Copy link
Author

grm34 commented Jan 21, 2025

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.

@lss4
Copy link

lss4 commented Jan 22, 2025

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.

@mminehanNZ
Copy link

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

@HarriBuh
Copy link

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.

@mminehanNZ
Copy link

mminehanNZ commented Jan 23, 2025

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

@HarriBuh
Copy link

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

@mminehanNZ
Copy link

mminehanNZ commented Jan 23, 2025

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

@grm34
Copy link
Author

grm34 commented Jan 24, 2025

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

@crowd312
Copy link

@F3FFO

<webviewprovider
    availableByDefault="true"
    description="Cromite WebView"
    packageName="com.android.webview">
    <signature>MIIEzzCCAregAwIBAgIIe3EoNsMIx7QwDQYJKoZIhvcNAQENBQAwFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzAgFw0yMzA3MTkxMTI1MjBaGA8yMDUwMTIwNDExMjUyMFowFTETMBEGA1UEAxMKQ3JvbWl0ZU9yZzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKZcpHyZ3cAQ7kUwR4gtIG5bf7ZzW29aidEw2ShUuOIL7u1pk/xgyTAQk9CZMO3PjMFJiCpv84ILwwpqgF+nLFCdnOMizApD138qxLENnHcGOJ+vxNdIsLk9NwbK8BmtT4SXclta5QOy246+DtM0Lysf7QxuQ0KC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lGfdqno2IAHWKakV2uOGpcDCFFzf5ZUZ3PvmM/dnme7gYhYPFEgffMrknrNbERr9lIX4USAu5yDJ6vVAQp6/UZo1W+sM9uuTvt2J1ktkoJH9pDRB3mIrJDAKatO1BrZ8CW4mu/xqsmfM3k6gvawc6LH6G0g3+zvxvYQBI+fEdY2dzlUpAqEWuaT7IRttNOV+XW9Yn+k99J8nXGg=</signature>
</webviewprovider>

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

5 participants