trichromelibrary squoosh

Remove the outdated TrichromeLibrary.

Description

As we know, Google uses TrichromeLibrary to share the same code in Chrome and Webview on Android Q+ devices to save space on the device. The Play Store will automatically install the corresponding TrichromeLibrary version when installing and upgrading Chrome and Webview, but will not uninstall the old version, which takes up a lot of storage space.

It is known that the corresponding version of TrichromeLibrary can be uninstalled through the command pm uninstall com.google.android.trichromelibrary_$version, so you can manually uninstall the version number of TrichromeLibrary. Unfortunately, Android does a poor job of shared library management. TrichromeLibrary cannot be displayed in the application list like a normal application (because it is a shared library), nor can use adb shell pm list libraries to query installed libraries version on the device.

Thanks to issue#1, TrichromeLibrary-Squoosh now uses a method that does not require root privileges. The command dumpsys package|grep name:c only needs shell privileges to run, and can get the version of TrichromeLibrary.

Old method:
Since each Android application will have its own directory under /data/app, as shown in the figure below, and the folder name of TrichromeLibrary will also append the version number, so we can search for keywords, and then extract the version number from the results. However, root access is required to access /data/app. TrichromeLibrary dirs

Usage

  1. Just like a normal Magisk module. Download it from the release page, and install it. The script will automatically check for excess Trichromelibrary and remove it after each system reboot.
  2. If you don’t have a Magisk, run the follow commands on PC in adb shell:
    sh -c "$(curl -sLf https://raw.githubusercontent.com/entr0pia/trichromelibrary-squoosh/master/service.sh)"
    

Download Link

Module Info

Search on : Google Bing Yandex

Other Modules

Gboard Dict 3

By entr0pia

Magisk module of Gboard Dictionary, based on Modern Chinese Dictionary. Feature With the user_dict_3_3, User Dictionary can support ShuangPing(双拼). A total …

movecert

By yochananmarqos

Moves certificates from the user certificate store to the system store. Also removes the Network may be monitored warning. If you use AdGuard, you probably …

Play Integrity Fix Next

By EricInacio01

This is a fork of PlayIntegrityFix, created by chiteroman. The aim of this fork is to achieve valid attestation on rooted devices under the new …

PixelXpert

By siavash79

For Pixel Stock Android 12 and 13 (Up to Nov 2022 - AOSP 13R8): For Pixel Stock Android 13, 14 and 15 (starting with Dec 2022 security patch): PixelXpert …

Audio samplerate changer

By yzyhk904

Audio Sample Rate Changer is a module that changes the audio sample rate in the mixer across the Android audio system for the best Hi-Fi sound experience. …

charch dinit

By Mohamad Supangat

Initialize Dinit init for the default ChArch rootfs instance. Tanks to https://github.com/tytydraco/ChArch for best work my favorit chroot scipt for my …