27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main yerine android-latest-release kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
x86_64'te 16 KB sayfa boyutuyla Cuttlefish'i simüle etme
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu kurulum için x86_64 Linux ana makine gerekir. Bu sayfada, x86_64 üzerinde Mürekkep Balığı'nın 16 KB sayfa boyutu desteğiyle nasıl derlenip başlatılacağı gösterilmektedir. Bu sayfadaki talimatlarda, Cuttlefish paketlerinin makinenize yüklenmiş olduğu varsayılır. Bunları yükleme talimatları için Mürekkepbalığı'yı yükleme başlıklı makalenin 1. adımına bakın.
x86_64 16 KB sayfaları taklit etme desteği, Android 14 6.6 GKI'deki page_size_emulation yama serisinde eklendi.
Komut satırına page_shift=14 iletilmesi bu emülasyonu etkinleştirir.
_16k son ekiyle (veya _pgagnostic son ekiyle) biten x86_64 hedefleri (ör. aosp_cf_x86_64_phone_pgagnostic), varsayılan olarak bu seçeneği iletir ve varsayılan olarak 16 KB modunda çalışır.
Yapıları indirerek Cuttlefish'i başlatın
Android Sürekli Entegrasyon sitesine gidin ve dal adı olarak aosp-main-throttled yazın. aosp_cf_x86_64_only_phone_pgagnostic hedefi için en son derlemeyi tıklayın. Ardından, Cuttlefish'i yükleme başlıklı makalenin 5. adımında verilen talimatları uygulayın.
AOSP'den derleyerek Cuttlefish'i başlatma
Cuttlefish'i sayfaya duyarlı olmayan bir hedefle oluşturup başlatın:
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Simulate Cuttlefish with 16 KB page size on x86_64\n\nThis setup requires an `x86_64` Linux host. This page shows how to build and\nstart Cuttlefish with 16 KB page size support on `x86_64`. The instructions on\nthis page assume that Cuttlefish packages are installed in your machine. For\ninstructions to install them, see Step 1 of [Install Cuttlefish](/docs/devices/cuttlefish/get-started#launch).\n\nYou can launch Cuttlefish by either [downloading the prebuilt artifacts](#download-build-artifacts) directly from the Android Continuous Integration\nsite or [build them from AOSP](#sync-build) if you need to modify the source\ncode.\n| **Important:** Cuttlefish with 16 KB page size support on x86_64 simulates a 16 KB page size kernel and userspace due x86_64 arch does not support 16 KB page size.\n\nKernel implementation\n---------------------\n\nSupport for emulating `x86_64` 16 KB pages is added in the Android 14 6.6\nGKI in the\n[`page_size_emulation` patch series](https://android-review.googlesource.com/q/hashtag:page_size_emulation).\nPassing `page_shift=14` on the command-line enables this emulation.\n`x86_64` targets with the `_16k` suffix (or old targets with the `_pgagnostic`\nsuffix), such as `aosp_cf_x86_64_phone_pgagnostic`, pass this option by\ndefault and work in 16 KB mode by default.\n\nLaunch Cuttlefish by downloading the artifacts\n----------------------------------------------\n\nNavigate to [Android Continuous Integration site](https://ci.android.com) and\nenter `aosp-main-throttled` as the branch name. Click the latest build for the\n`aosp_cf_x86_64_only_phone_pgagnostic` target. Now, follow the instructions from\nStep 5 of [Install Cuttlefish](/docs/devices/cuttlefish/get-started#launch).\n\nLaunch Cuttlefish by building from AOSP\n---------------------------------------\n\nBuild and launch Cuttlefish with a page-agnostic target: \n\n $ mkdir android-latest-release && cd android-latest-release\n $ repo init -u https://android.googlesource.com/platform/manifest -b android-latest-release\n $ repo sync -c -j32\n\n # Build cf agnostic target.\n $ source build/envsetup.sh\n $ lunch aosp_cf_x86_64_only_phone_pgagnostic-aosp_current-userdebug\n $ m\n\n # Launch cf with a kernel with 16 KB page size support.\n $ launch_cvd\n ...\n ...\n VIRTUAL_DEVICE_DISPLAY_POWER_MODE_CHANGED\n virtio_input_hid_handle_status: unknown type 20\n virtio_input_hid_handle_status: unknown type 20\n virtio_input_hid_handle_status: unknown type 20\n virtio_input_hid_handle_status: unknown type 20\n Generating new secret with slot ID: 4\n VIRTUAL_DEVICE_BOOT_STARTED\n VIRTUAL_DEVICE_NETWORK_MOBILE_CONNECTED\n\nVerify page size and boot\n-------------------------\n\nTo verify page size and boot status:\n\n1. Access the shell as root:\n\n $ adb root\n adbd is already running as root\n $ adb shell\n vsoc_x86_64_pgagnostic:/ #\n\n2. Verify page size and boot status:\n\n vsoc_x86_64_pgagnostic::/ # getconf PAGE_SIZE\n 16384\n vsoc_x86_64_pgagnostic::/ # getprop | grep sys.boot.completed\n sys.boot_completed: 1"]]