{"id":16703174,"url":"https://github.com/phstudy/docker-aosp-kernel-builder","last_synced_at":"2025-12-28T19:14:54.605Z","repository":{"id":148596266,"uuid":"159995705","full_name":"phstudy/docker-aosp-kernel-builder","owner":"phstudy","description":"Docker image to build an AOSP kernel","archived":false,"fork":false,"pushed_at":"2023-12-17T12:14:05.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T02:41:37.340Z","etag":null,"topics":["aosp","docker-image","google-pixel","kernel"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phstudy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-01T23:13:47.000Z","updated_at":"2023-12-17T12:14:10.000Z","dependencies_parsed_at":"2023-05-20T16:13:33.547Z","dependency_job_id":null,"html_url":"https://github.com/phstudy/docker-aosp-kernel-builder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstudy%2Fdocker-aosp-kernel-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstudy%2Fdocker-aosp-kernel-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstudy%2Fdocker-aosp-kernel-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstudy%2Fdocker-aosp-kernel-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phstudy","download_url":"https://codeload.github.com/phstudy/docker-aosp-kernel-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243544657,"owners_count":20308169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aosp","docker-image","google-pixel","kernel"],"created_at":"2024-10-12T19:07:18.910Z","updated_at":"2025-12-28T19:14:54.511Z","avatar_url":"https://github.com/phstudy.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker AOSP kernel builder [![Docker Build Status](https://img.shields.io/docker/automated/study/docker-aosp-kernel-builder.svg)](https://hub.docker.com/r/study/docker-aosp-kernel-builder/)\nDocker image to build an AOSP kernel\n\n## Example\n### Linux\n```\n# Checkout kernel source and switch to `android-msm-marlin-3.18-pie-r2` branch (Google Pixel XL - marlin)\n$ git clone --single-branch --branch android-msm-marlin-3.18-pie-r2 --depth 1 https://android.googlesource.com/kernel/msm\n\n# Build AOSP kernel for Google Pixel XL\n$ cd msm\n$ docker run --rm --volume $(pwd):/workdir study/docker-aosp-kernel-builder /bin/bash -c \"make marlin_defconfig \u0026\u0026 make -j8\"\n\n# Flash your kernel with fastboot\n$ adb reboot bootloader \n$ fastboot flash kernel arch/arm64/boot/Image.lz4-dtb\n```\n\n### OSX\n```\n# AOSP kernel can only be built under [case-sensitive file system](https://source.android.com/setup/build/initializing#setting-up-a-mac-os-x-build-environment), so we need to create case-sensitive file system image\n$ hdiutil create -type SPARSE -volname \"AOSP kernel\" -fs 'Case-sensitive Journaled HFS+' -size 8g aosp_kernel.dmg\n\n# Mount the image to `/Volumes/aosp_kernel_workspace`\n$ hdiutil attach aosp_kernel.dmg.sparseimage -mountpoint /Volumes/aosp_kernel_workspace\n$ cd /Volumes/aosp_kernel_workspace\n\n# Checkout kernel source and switch to `android-msm-marlin-3.18-pie-r2` branch (Google Pixel XL - marlin)\n$ git clone --single-branch --branch android-msm-marlin-3.18-pie-r2 --depth 1 https://android.googlesource.com/kernel/msm\n\n# Build AOSP kernel for Google Pixel XL\n$ cd msm\n$ docker run --rm --volume $(pwd):/workdir study/docker-aosp-kernel-builder /bin/bash -c \"make marlin_defconfig \u0026\u0026 make -j8\"\n\n# Flash your kernel with fastboot\n$ adb reboot bootloader \n$ fastboot flash kernel arch/arm64/boot/Image.lz4-dtb\n\n# Umount the image\n$ cd ~\n$ hdiutil detach /Volumes/aosp_kernel_workspace\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphstudy%2Fdocker-aosp-kernel-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphstudy%2Fdocker-aosp-kernel-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphstudy%2Fdocker-aosp-kernel-builder/lists"}