fdroidcl icon indicating copy to clipboard operation
fdroidcl copied to clipboard

[Support] How do I install a package that needs root?

Open pitsi opened this issue 3 years ago • 2 comments

Hello everyone. As I have mentioned in a previous issue, I use bromite's fdroid repo on fdroidcl with zero issues since June 2020.

A couple of months ago, I installed lineage os 14.1 on an old samsung sm-t311 tablet (galaxy tab 3 8'') and bromite from its apk. And since then I tried updating it numerous times with fdroidcl install -u like I always do for my phone. I notice that fdroidcl also wants to upgrade webview (package name com.android.webview) before bromite, so I stop it and I just run fdroidcl install org.bromite.bromite to update bromite only. The reason for the above is that the preinstalled version of webview in that lineageos rom is 75.x and the one on bromite's repo is at 96.x, so fdroidcl sees it as an upgrade and wants to install it too, which means it is not an fdroid issue.

The problem is that, according to bromite's wiki here*, bromite's webvew needs root priviledges to install. So, fdroid does download it with no issues, but fails when it comes to installing it as seen here

$ fdroidcl install -u
Downloading https://fdroid.bromite.org/fdroid/repo/rel_96.0.4664.183_arm_SystemWebView.apk... done
Installing com.android.webview
install: could not install com.android.webview: exit status 1

*https://github.com/bromite/bromite/wiki/Installing-SystemWebView

Is there a way to install it?

pitsi avatar May 28 '22 17:05 pitsi

do not show system apps

Suggestion: Add command line argument to explicitly update or install system apps for rooted Android. Examples:

  • -si : enable system apps install.
  • -su : enable system apps update.
  • -s : enable system apps install/update.

CodeIter avatar Dec 21 '23 14:12 CodeIter

Tbh, a lot of things have changed since I opened this 1.5 years ago and I do not know if I will be able to test it, if it ever gets supported :(

Bromite and its extras are no longer maintained, for 1+ year now, so I have lost any interest in installing their webview version, be it under root or not.

pitsi avatar Dec 27 '23 05:12 pitsi