Compile f-droid (privileged extension)

Which jdk Version is used, which distro is used?

Ignore the extension

On android 12 or later it’s not needed

Why do you want it?

For Android =< 11, and for the likes of huawei/miui roms killing f-droid client background service, stopping it from autoupdating, keeping a couple of friends on vulnerable Software versions, which wont manually update.

Dont tell me what to ignore and what not - this is the most elegant universal solution - i could also just write a shell script or run everything elevated.

And those devices are rooted but there’s no Lineage with Android 12 or later for them?

I cant argue to get rid oft proprietary theming engines + i cant properly test random los roms for stability for those people.

Oh than there are also weird stock Mediathek kernels blocking

the Privileged extension needs a rooted device, you know that right?

Again, what are you trying to achieve and how do you think that might work?

Right now neo store runs elevated as update service, i dislike this approach, next to f-droid for nice GUI installs.

OFC i know.

I want to reimplement shizuku and maybe aurora store installs from a weird fork, fix its notification problems in newer Android versions, and allow install through other means then recovery, making it more versatile but keeping the security architecture.

All with signature verification of the calling apps if possible.

As i dont have experience with apk compilations (only decompilations/apktool) i instantly got into dependency hell with gradle/jdk and want a quick headsup on which Software u are compiling.

OFC all fixes/mods could be backported if i ever finish and will be foss.

U aint using android studio!?!

what does that mean? with su ?

no

also, no idea on how to help you :slight_smile:

Tell me which operating system including exact version the buildservers run/ran on or tell me where to find the corresponding logs showing this to me xD(f-droid build server does produce public logs I once got told!?!)

There are gradle versions used/hardcoded which for example where only ever released as binaries for a handful of platforms (2.2.2 for example) - its not possible to compile on windows/android studio without a lot of patching or first compiling those specific compilation tools.

Jdk 1.8 seems to run, jdk 20 didn’t, stuff like this.

The originally leveraged distro will have a “standard jdk version” which probably runs perfect and isn’t as old if I just install openjdk without any specific version given.

The SRC folder contains jar binarys

the logs are here: F-Droid Privileged Extension | F-Droid - Free and Open Source Android App Repository I see Debian 9 there and etc

Sometimes I’m told I’m blind - found these 2 links on ur linked page:

https://f-droid.org/repo/org.fdroid.fdroid.privileged_2130.log.gz

https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/org.fdroid.fdroid.privileged.yml

Both won’t show me “debian” anywhere, even though they are kind of helpful.

Wouldnt be nice to turn on a scraper while the forum warns of high load to find the string :frowning:

search for deb9 :slight_smile: