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

jelbo

Well-Known Member
Member
Joined
Sep 12, 2003
Messages
877
Trophies
2
XP
915
Country
Netherlands
Thanks. Personally, I'm sticking to the normal F-Droid app and the Magisk module of the Privileged Extension.
 
  • Like
Reactions: cearp

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
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    AncientBoi @ AncientBoi: [checks my batteries, coolant and lube] :O [promptly replaces them] :D