Android: F-Droid Classic and the new Privileged Extension

Of all the Android app stores, perhaps the most interesting is F-Droid - the one most comparable to typical Linux package managers, as not only the technical and ethical quality of the program itself are good, but if the 100% Free Software official catalogue comes short, you can always add 3rd-party ones!

Just like every non-preinstalled app store, however, each installation or update is for all intents and purposes not different than manually installing an .apk, with manual confirmation that quickly gets tedious.
F-Droid addresses this with a "privileged extension" that is supposed to get installed as a system app, however that implies not only having some form of root access but also modifying the /system partition or using questionable bind-mount hackjobs (as a testament of G**gle and most OEM's commitment to an open platform respecting consumer freedom);

Now consider "F-Droid Classic", a compatible client that remains true to the more functional traditional layout instead of the newer, consumer-ish one; but more relevantly to this article, once it became clear the official Privileged Extension would not have supported it, an alternative was developed taking advantage of the same mechanism corporations use and abuse to remotely manage employees' phones!

Setting it up is fairly simple: after installing the F-Droid Privileged Extension - Device Owner as it's called, execute the following command over Android Debugging:
Code:
adb shell dpm set-device-owner eu.bubu1.privext/org.fdroid.DeviceAdminReceiver
That is all: the only caveat is that this command requires the lack of any logged-in accounts (as determined by the appropriate page in the system settings), making this more attractive immediately after a factory reset, or otherwise requiring a little additional effort.

Enjoy your newly found freedom AND convenience!

Source
 

Windi

Well-Known Member
Newcomer
Joined
Nov 21, 2019
Messages
64
Trophies
0
Age
25
XP
309
Country
Germany
Where to find the "F-Droid Privileged Extension - Device Owner"?
I did not find it in the Fdroid repo nor was there a link in your source. Is it installed as part of Fdroid Classic?
Sorry if I am missing something obvious^^

Edit: Nvm, it is in the repo of F-Droid Classic
 
Last edited by Windi,
  • Like
Reactions: Ryccardo

fisipa

New Member
Newbie
Joined
Jun 22, 2022
Messages
1
Trophies
0
Age
43
Location
outside
XP
22
Country
Australia
hey i was trying to make this work on divestos (Android11) with f-droid classic but no success - the dialogue that asks me to "install" still appears after downloading an app.
the privileged extension checkbox is ticked in the f-droid classic settings.
do you have any suggestions and can i provide you with any more debugging information?

the device-owner seems to be set correctly:
Code:
adb shell dumpsys device_policy | grep "admin"
    admin=ComponentInfo{eu.bubu1.privext/org.fdroid.DeviceAdminReceiver}
 
Last edited by fisipa,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    You need the $900 copper coated ones, they are good for 10 times cooking before they are un cleanable
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
  • K3Nv2 @ K3Nv2:
    Well damn that explains how you were born
  • BigOnYa @ BigOnYa:
    I tried Cavier for the first time today. That shit is nasty. Don't get why people like it.
  • Psionic Roshambo @ Psionic Roshambo:
    Eh it's good with Vodka and crackers
  • Psionic Roshambo @ Psionic Roshambo:
    Gotta have the whole experience
  • Psionic Roshambo @ Psionic Roshambo:
    Drink enough vodka so you can barely taste it
    Psionic Roshambo @ Psionic Roshambo: Drink enough vodka so you can barely taste it