Repository navigation
Conversation
vasyl91
commented
Oct 5, 2026
- 2673902 Add the "fyt" flavor for FYT head units
- the entire app/src/fyt/: manifest with sharedUserId, androidkeystore.jks, AutostartReceiver (james.dsp.action.AUTOSTART - meant for devices where BOOT_COMPLETED is not delivered), and BootStarter,
- in app/build.gradle.kts, only the additions for FYT: the fyt flavor, fyt signing configuration with enforcement per variant, sourceSets with src/root, fytImplementation with libsu, and isDefault for plugin and fdroid.
- 7256bc9 Migrate the build to AGP 9 / Gradle 9 and update dependencies
- the remaining changes in app/build.gradle.kts (AGP 9, new versions, localbroadcastmanager),
- changes in the main build.gradle.kts, buildSrc, gradle.properties, wrapper, settings.gradle, codeview, and hidden-api-*,
- gradle/gradle-daemon-jvm.properties,
- code fixes: CrashlyticsImpl (Firebase without -ktx) and three files with androidx.appcompat.R.
New root-based product flavor (applicationId james.dsp) for FYT Android head units, where the app runs as a system app. - Flavor reuses the root flavor sources (src/root) and the libsu dependency. - Manifest overlay sets sharedUserId=android.uid.system and re-declares the root permissions/SessionInstallerService. - Only this flavor is signed with the platform key stored in src/fyt/androidkeystore.jks (alias/password "android"). The signing config is forced per variant via androidComponents, since the buildType-level signingConfig would otherwise override the flavor's. All other variants keep the original (debug keystore) signing. - FYT radios never deliver BOOT_COMPLETED, so add AutostartReceiver: an exported receiver for the custom action james.dsp.action.AUTOSTART that starts the root audio service without showing any UI (via BootStarter). - Keep pluginFdroid as the IDE's default build variant (isDefault) so the new flavor does not become the default alphabetically. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Build system - AGP 9 with built-in Kotlin: drop org.jetbrains.kotlin.android and kotlin-kapt (no kapt dependencies), move plugin versions to the root buildscript/plugins block, replace archivesBaseName with base.archivesName, drop kotlinOptions, enable buildConfig explicitly. - Update Gradle wrapper, buildSrc, gradle.properties and the library modules (codeview, hidden-api-*); add the generated daemon JVM properties. Dependencies - Firebase BoM 34 (the -ktx modules are gone, use the main artifacts), Material 1.14, AppCompat 1.8, Room 2.8, Retrofit 2.12, libsu 6.0 and other version bumps. Treessence and Pluto stay on their current versions because newer ones rename packages/artifacts. - Add androidx.localbroadcastmanager explicitly; debug variants no longer get it transitively. Source fixes required by the migration - CrashlyticsImpl: use com.google.firebase.Firebase and com.google.firebase.crashlytics.crashlytics instead of the removed ktx APIs. - Resources from AppCompat (colorError, colorPrimary, select_dialog_singlechoice_material) are no longer visible through com.google.android.material.R with non-transitive R classes; reference them via androidx.appcompat.R.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.