ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
การพัฒนา GKI
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คู่มือนี้จะแสดงภาพรวมระดับสูงของการพัฒนา GKI
ตรวจสอบเอกสารประกอบที่มีอยู่
โปรดอ่านเอกสารต่อไปนี้ก่อนเริ่มการพัฒนา GKI
สร้าง ตรวจสอบ และทดสอบ
เมื่อสร้าง ตรวจสอบ และทดสอบการติดตั้งใช้งาน GKI ให้ทําตามหลักเกณฑ์ต่อไปนี้
ทำตามขั้นตอนการแก้ไข
ก่อนสร้างและส่งแพตช์ ให้ส่งแพตช์ไปยัง LKML
หากอัปสตรีมแพตช์ไม่ได้ก่อน ให้อธิบายเหตุผลในข้อบกพร่อง ดูข้อมูลเพิ่มเติมเกี่ยวกับการปะแก้ได้ที่พัฒนาโค้ดเคอร์เนลสําหรับ GKI
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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)."]]