Skip to content

Instantly share code, notes, and snippets.

View eepymeowers's full-sized avatar
:octocat:
Octocat

eepymeowers System eepymeowers

:octocat:
Octocat
  • none
View GitHub Profile
@eepymeowers
eepymeowers / Make a Android ROM.md
Last active January 14, 2026 16:55
A (hopefully) comprehensive guide on how to build Android for a device (WIP!!!!!)

How to build Android for a device

Pre-requisites

Make sure the machine you'll be building on has the recommended requirements; the bare minimum is 32GB RAM, if you are going to use zram during the build. Decreasing the job count will help with RAM usage, and could even possibly get it to build on 8GB RAM, but I recommend 48GB or more of RAM.

Create the directory you'll do your build in with mkdir crDroid && cd crDroid (substitute crDroid for whatever you want the folder to be called, it doesn't need to be called anything specific)

For Debian 13 and newer (as of Dec 2025) (or any distro based on Debian 13 or newer, with these packages in the repos) run this: `sudo apt install git-core gnupg flex bc ccache flex g++-multilib gcc-multilib git git-lfs gperf imagemagick liblz4* libncurses-dev libsdl1.2-dev libssl-dev bison build-essential zip curl zlib1g-dev libc6-dev-i386 x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig libxml2 lzop pngcrush rsync schedtool

This file has been truncated, but you can view the full file.
{"bug_type":"210","timestamp":"2022-09-20 16:34:40.00 -0400","os_version":"iPhone OS 16.1 (20B5045d)","roots_installed":0,"incident_id":"106CA210-A558-401C-8C8D-15793A3EAE0E"}
{
"build" : "iPhone OS 16.1 (20B5045d)",
"product" : "iPhone11,6",
"socId" : "0x00008020",
"kernel" : "Darwin Kernel Version 22.1.0: Sun Sep 4 20:45:07 PDT 2022; root:xnu-8792.40.93~10\/RELEASE_ARM64_T8020",
"incident" : "106CA210-A558-401C-8C8D-15793A3EAE0E",
"crashReporterKey" : "bccebfb89b9fa34e02238109b06e58312aa2e876",
"date" : "2022-09-20 16:34:40.24 -0400",
"panicString" : "panic(cpu 2 caller 0xfffffff02a612094): busy timeout[0], (60s): 'IOMediaBSDClient' (1,1810001) @IOService.cpp:5663\nDebugger message: panic\nMemory ID: 0x1\nOS release type: Beta\nOS version: 20B5045d\nKernel version: Darwin Kernel Version 22.1.0: Sun Sep 4 20:45:07 PDT 2022; root:xnu-8792.40.93~10\/RELEASE_ARM64_T8020\nFileset Kernelcache UUID: 223FF14FD272E5C20597C0F7C3B86EE7\nKernel UUID: EBBBB1DE-A20C-35CB-A237-8783359952D6\nBoot session