I want to compile all the GUI LineageOS apps and release their APKs.
To make them installable on other Android OS, I need to change the app ID. Otherwise Android would attempt an upgrade and fail because of mismatching keys.
For example the LineageOS Clock
There are many many files that refer to com.android.deskclock
which I want to change to org.lineageos.deskclock
.
Do I just need to change this line? And can I leave all the others normal?
I think I got build failures when changing more, and I wonder if I would need to change all the lines (using sed or something)
I don’t have an answer, but your idea seems quite cool.
Maybe it could be made available in f-droid, like how they provide Fennec fdroid?
True!
Submitting to F-Droid means they build the APKs themselves.
This could still mean they need a fork with a changed App ID. Or they could do that during the build process, reducing deduplication.
I think in fennec-fdroid’s case, they have scripts to automate the changes.
https://gitlab.com/relan/fennecbuild
!fdroid@lemmy.ml might be helpful
Very interesting thanks!