In theory Android apps from F-Droid are free software, but how easy exactly is it to make your own modifications to them?
On Debian, if you want to modify a piece of software, you need to:
apt install build-essential # only first time
apt-get source $package
# modify the sources
dpkg-buildpkackage -us -uc -someotheroptionIforgot
dpkg -i ../$package.deb
On Arch it's very similar.
How do I do this on Android?
@Wolf480pl Well, basically not possible unless you install a chroot and install OpenJDK, Maven, Gradle, so on
@espectalll oh, so Android SDK won't run on Android's crippled version of Java? How ironic...
That being said, Gradle takes 100MB, Maven takes 40MB, OpenJDK takes 10MB. How much space does Android SDK take tho?
@Wolf480pl it probably does, it's just that you need to package it all in some APK, aka in a new app
@Wolf480pl also the SDK is like, around a GB or two, without counting the system images
@espectalll can you use the running system in place of a system image?
@Wolf480pl Yes, of course! Just acquire install and/or ADB permissions and you can test your apps within the same system
@espectalll And the final question: are all parts of Android SDK open-source? And if not, do these closed-source parts have a license that forbids me from running them on Android?
Well, it doesn't look like it forbids me form running them on Android, but:
>3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK.[...]
>3.4 [...] you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
@Wolf480pl notice "as made available under the Android Open Source Project" - which makes you wonder, is there an open source version of the SDK, and this license only applies specifically to Google builds?
@espectalll hmm... so I download LineageOS sources, then build SDK from them, then use that SDK to package that SDK as an apk?
@Wolf480pl ...actually no, I don't know and I'm completely lost, but it must be somewhere around there
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!