Skip to content

Undefined-User/TrichromeLibrary_Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

TrichromeLibrary_Remover

A python script can help you remove useless Trichrome Library and Trichrome Library Beta on Android Q+

Description

As we know, Google uses Trichrome Library 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 Trichrome Library version when installing and upgrading Chrome and Webview, but will not uninstall the old version.

Unfortunately, Android does a poor job of shared library management. Trichrome Library 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.

The good news is we can use adb shell pm uninstall com.google.android.trichromelibrary*_version_code to uninstall it completely. For root users, they can find installed Trichrome Library in /data/system/packages.* or /data/app/*/*trichromelibrary*. For non-root users, I didn't find a good way to query the version of the shared library.

So I wrote this python script, which enumerates the version codes of all stable and beta versions to ensure Trichrome Library can be completely uninstalled.

Usage

  1. Install Python
  2. Install ADB environment on your system
  3. Download TrichromeLibrary_Remover.py
  4. Open shell window and type adb devices, make sure your phone is the only ADB device connecting to the computer.
  5. Type python TrichromeLibrary_Remover.py and wait patiently.

Useful Link

Creadits

  • CoolApk@涅普迪努 (Link)
  • CoolApk@EdXposed (Link)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages