Chrome refuses to update. WebView stays stuck on an old version. The culprit is almost always an orphaned TrichromeLibrary package left over from a previous update cycle. trichromelibrary-squoosh, created by entr0pia, is a surgical Magisk module that runs a cleanup script on every device boot — automatically detecting and removing outdated TrichromeLibrary versions so Chrome and Android System WebView can update freely again.
Download via Internet Archive
The module is hosted on Internet Archive — a permanent, free file hosting service. Click the button below to download the Magisk module ZIP directly.
Download TrichromeLibrary-Squoosh.zipWhat This Module Fixes
A persistent Android package management quirk — automatically resolved on every boot without any manual intervention.
Fixes Chrome Update Failures
Orphaned TrichromeLibrary versions create version lock conflicts that prevent the Play Store from installing Chrome updates. After the module removes the stale package, Chrome updates proceed normally on the next Play Store sync.
Restores WebView Updates
Android System WebView shares TrichromeLibrary with Chrome. A conflicting old version blocks WebView updates too — causing apps that render web content (Gmail, banking apps, social media) to use a stale, potentially unpatched WebView renderer.
Runs on Every Boot
The cleanup script is registered as a Magisk service and executes automatically on every device reboot. Since version conflicts can reappear after each Chrome/WebView update cycle, the persistent boot-time cleanup ensures the issue never silently accumulates again.
Automatic Version Detection
Scans /data/app for all directories matching com.google.android.trichromelibrary_*, extracts the version number suffix from each directory name, and issues a pm uninstall for each obsolete version — no hardcoded version numbers.
Zero User Interaction
Install once, reboot, done. The entire cleanup process happens silently in the background during boot — no app to open, no settings to configure, no manual adb commands to remember after every Chrome update.
Shell Script Alternative
For users who prefer not to install a module, the same cleanup script can be run manually in a root shell via a one-line curl command — applying the fix immediately without a reboot, or useful for one-time cleanup on non-Magisk setups.
Understanding the TrichromeLibrary Problem
Starting with Android 10 (Q), Google introduced the Trichrome model for Chrome and Android System WebView. Previously, Chrome itself served as the WebView rendering engine on Android, causing dependency issues. Trichrome separates the shared code into three components: Chrome, Android System WebView, and a new shared library package called TrichromeLibrary.
TrichromeLibrary is version-locked — its package name includes the version number directly: com.google.android.trichromelibrary_621303433. When Chrome updates, a new TrichromeLibrary with the new version number is installed. However, Android's package manager does not always cleanly uninstall the previous version, leaving a ghost package in /data/app.
On subsequent Play Store updates, Android sees multiple TrichromeLibrary versions installed simultaneously and raises a version conflict error — blocking Chrome and WebView from being updated further. This module's service script resolves this by scanning /data/app for any TrichromeLibrary directory, extracting its version suffix, and running pm uninstall com.google.android.trichromelibrary_$version for each one found — clearing the conflict cleanly on every boot.
Manual Fix (Without the Module)
If you prefer not to install the module, you can apply the fix manually. Open a root shell via Termux + root or adb shell and run:
Replace 621303433 with the version number found in your /data/app output. If multiple versions exist, run pm uninstall for each one.
Frequently Asked Questions
com.google.android.trichromelibrary_XXXXXX) is a shared code library used by both Google Chrome and Android System WebView on Android 10 and above. Google introduced the Trichrome model to share common rendering code between Chrome and WebView — reducing total download size while eliminating the quirks of using Chrome as a WebView implementation.
/data/app. Android's package manager detects a version conflict between the leftover TrichromeLibrary and the new Chrome/WebView build, preventing the update from completing.
com.google.android.trichromelibrary_*, identifies the outdated versions that no longer match the currently installed Chrome or WebView, and removes them via pm uninstall. Chrome and WebView can then update normally.
pm uninstall com.google.android.trichromelibrary_<version> in a root shell — replacing <version> with the version number found in /data/app. Alternatively, run the one-line curl script from the GitHub repository. However, both approaches need repeating after every Chrome/WebView major update, which is why the module is preferred.