5

I have around 50 trichrome library folders in /data/app using around 3 gb.

What varies is the alphanumeric string after the package name denoting version: com.google.android.trichromelibrary_410408383-VgzblS0EY8swXcjTqN6reQ==

Can I delete all but most recent to clean my system and regain some space?

Or is it like WinSxS folder in Windows where all revisions of the same dll are stored for different programs to use?

###UPDATE AUGUST 2022###

Latest Trichrome updates (I'm now on 511.209.733) seem to take care of old versions disinstalling them and leaving only the latest, no more need to manually delete in /data/app and /data/data

9
  • 1
    +1, After posting comment, checked on my phone to discover the same. The same question has been asked on Google support forums though the answer lacks details as to why so many versions
    – beeshyams
    Commented Nov 14, 2021 at 6:27
  • 1
    Related.......
    – beeshyams
    Commented Nov 14, 2021 at 6:39
  • 1
    Uninstall all versions of trichrome library by typing pm uninstall com.google.android.trichromelibrary_410408383 (replace the ending version part). Then update Chrome/WebView from Play Store. // Even simpler: stop using Google products as much as possible. Commented Nov 14, 2021 at 9:37
  • 2
    @beeshyams every new version of trichrome library is installed as a separate package. So uninstall them specifically, not Chrome/WebView. Update the latter both if they break due to missing library. Commented Nov 14, 2021 at 13:03
  • I get Failure [DELETE_FAILED_INTERNAL_ERROR] when trying to pm uninstall
    – Ju Tutt
    Commented Nov 15, 2021 at 11:16

1 Answer 1

2

I deleted all but last using rm -r com.google.android.trichromelibrary_41*(then 42, 43, 44...) in /data/app/, /data/data/, /data/user_de/0/, /data/misc/profiles, /data/system/package_cache, working fine, 3 gb freed.

Should be safe to issue the rm command of above straight in /data just for convenience.

Then you should purge your /data/system/packages.xml file from orphaned entries as explained here: Purge /data/system/packages.xml from manually deleted packages

5
  • 1
    +1, confirm it works on Android 12 too, though I found them in first & third location only. Had to update Chrome and web view to get them working (I had unistalled updates before deletion)
    – beeshyams
    Commented Nov 26, 2021 at 1:23
  • do you think is it possible to purge old versions on a not rooted device?
    – Ju Tutt
    Commented Nov 26, 2021 at 5:40
  • 1
    Unlikely IMO. Especially with scoped storage since Android 10. Even on earlier versions one can't access /data/data without root and if Chrome is a system app it's out of bounds
    – beeshyams
    Commented Nov 26, 2021 at 6:23
  • of course doing this brutal rm delete thing instead of a more graceful pm uninstall leaves all of the old Trichrome versions entries as leftover in /data/system/packages.xml. Is there a way to purge it automatically? Reboot doesn't clean it.
    – Ju Tutt
    Commented Nov 28, 2021 at 5:09
  • On a rooted phone, one can use Trichrome Squoosh Magisk module
    – beeshyams
    Commented Sep 5, 2023 at 17:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .