החל מ-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)."]]