A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Sviluppo GKI
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa guida fornisce una panoramica generale dello sviluppo di GKI.
Esamina la documentazione esistente
Prima di iniziare lo sviluppo di GKI, leggi i seguenti documenti:
Crea, monitora e testa
Quando crei, monitori e testi le implementazioni di GKI, segui queste linee guida:
Segui la procedura di applicazione del patch
Prima di creare e inviare una patch,
invia le patch a monte a LKML.
Se non è possibile eseguire prima il push della patch in upstream, spiega il motivo
in un bug. Per ulteriori informazioni sulle patch, consulta Sviluppare il codice del kernel per GKI.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# GKI development\n\nThis guide provides a high-level overview of GKI development.\n\nReview existing documentation\n-----------------------------\n\nBefore you begin GKI development, read the following documents:\n\n- For an overview of the GKI project, read\n [GKI project](/docs/core/architecture/kernel/generic-kernel-image).\n\n- For an explanation of how Android Common Kernels (ACKs), GKI kernels, and\n KMI relate, read [Android Common Kernels (ACK)](/docs/core/architecture/kernel/android-common).\n\n- To learn how to contribute to the kernel, read\n [Developing kernel code for GKI](/docs/core/architecture/kernel/kernel-code),\n [Contribution guidelines](https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/README.md)\n for Android Common Kernels, and\n [Linux kernel coding standards](https://www.kernel.org/doc/html/latest/process/).\n\n- To learn about GKI and vendor modules, read\n [Kernel modules overview](/docs/core/architecture/kernel/modules) and other\n documents in the modules section.\n\nBuild, monitor, and test\n------------------------\n\nWhen building, monitoring, and testing your GKI implementations, follow these\nguidelines:\n\n- [Use the hermetic build process and LLVM toolchain](/docs/core/architecture/kernel/stable-kmi#hermetic-build-process).\n\n- Submit your [KMI symbol list](/docs/core/architecture/kernel/stable-kmi#managing-symbol-lists) to the\n appropriate ACK.\n\n- Set up a\n [continuous ABI monitoring system](https://android.googlesource.com/kernel/build/+/refs/heads/main-kernel/abi/)\n in your internal kernel development workflows. For additional details, see\n [Maintaining a Stable KMI](/docs/core/architecture/kernel/stable-kmi).\n\n- Run full system validation tests with GKI. If you experience any\n regressions in power and performance and don't have mechanisms to address these\n issues in the ACK code, email\n [kernel-team@android.com](mailto:kernel-team@android.com) for help.\n\nFollow the patch process\n------------------------\n\nBefore creating and sending a patch,\n[send patches upstream to LKML](https://www.kernel.org/doc/html/latest/process/submitting-patches.html).\nIf the patch can't be upstreamed first, explain the rationale\n[in a bug](https://issuetracker.google.com/components/1124381). For further\ninformation on patching, see\n[Develop kernel code for GKI](/docs/core/architecture/kernel/kernel-code).\n\nHow to file a kernel bug or contact us\n--------------------------------------\n\n- To report a bug, click the **Kernel (GKI) File a bug** link on the\n [Reporting bugs](/docs/setup/contribute/report-bugs) page.\n\n- If you have GKI or kernel-related questions, email the\n [kernel-team@android.com](mailto:kernel-team@android.com)."]]