remove build documentation for legacy devices

This no longer works due to the overall documentation being updated for
current GrapheneOS. It makes more sense to use an old revision of the
documentation for old devices.
This commit is contained in:
Daniel Micay 2025-04-12 13:37:54 -04:00
parent 10bc15fc0f
commit ce598e0224

View File

@ -85,8 +85,6 @@
<li><a href="#kernel-emulator">Emulator</a></li> <li><a href="#kernel-emulator">Emulator</a></li>
<li><a href="#kernel-microdroid">Microdroid</a></li> <li><a href="#kernel-microdroid">Microdroid</a></li>
<li><a href="#kernel-6th-through-9th-generation-pixels">6th through 9th generation Pixels</a></li> <li><a href="#kernel-6th-through-9th-generation-pixels">6th through 9th generation Pixels</a></li>
<li><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></li>
<li><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></li>
</ul> </ul>
</li> </li>
<li><a href="#browser-and-webview">Browser and WebView</a></li> <li><a href="#browser-and-webview">Browser and WebView</a></li>
@ -148,12 +146,6 @@
<li>bluejay (Pixel 6a)</li> <li>bluejay (Pixel 6a)</li>
<li>raven (Pixel 6 Pro)</li> <li>raven (Pixel 6 Pro)</li>
<li>oriole (Pixel 6)</li> <li>oriole (Pixel 6)</li>
<li>barbet (Pixel 5a) (legacy extended support)</li>
<li>redfin (Pixel 5) (legacy extended support)</li>
<li>bramble (Pixel 4a (5G)) (legacy extended support)</li>
<li>sunfish (Pixel 4a) (legacy extended support)</li>
<li>coral (Pixel 4 XL) (legacy extended support)</li>
<li>flame (Pixel 4) (legacy extended support)</li>
</ul> </ul>
<p>These are all fully supported production-ready targets supporting all the <p>These are all fully supported production-ready targets supporting all the
@ -314,16 +306,6 @@ source ~/.bashrc</pre>
including the emulator, porting to other devices and for non-legacy including the emulator, porting to other devices and for non-legacy
officially supported devices.</p> officially supported devices.</p>
<p>The <code>14</code> branch is used for the end-of-life Pixel 5a.</p>
<p>The <code>14-redfin</code> branch is used for the end-of-life Pixel 4a
(5G) and Pixel 5.</p>
<p>The <code>13</code> branch is used for the end-of-life Pixel 4a.</p>
<p>The <code>13-coral</code> branch is used for the end-of-life Pixel 4
and Pixel 4 XL.</p>
<p>To sync the <code>15-qpr2</code> branch:</p> <p>To sync the <code>15-qpr2</code> branch:</p>
<pre>mkdir grapheneos-15-qpr2 <pre>mkdir grapheneos-15-qpr2
@ -817,51 +799,6 @@ repo sync -j8</pre>
<code>device/google/<var>codename</var>-kernels/6.1/grapheneos/</code> with your build in <code>device/google/<var>codename</var>-kernels/6.1/grapheneos/</code> with your build in
<code>out/<var>codename</var>/dist/</code>.</p> <code>out/<var>codename</var>/dist/</code>.</p>
</section> </section>
<section id="kernel-5th-generation-pixels">
<h4><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></h4>
<p>To sync the kernel sources:</p>
<pre>mkdir -p android/kernel/redbull
cd android/kernel/redbull
repo init -u https://github.com/GrapheneOS/kernel_manifest-redbull.git -b 15
repo sync -j8</pre>
<p>To build the redbull kernel for the Pixel 4a (5G), Pixel 5 and Pixel 5a
kernel:</p>
<pre>BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh</pre>
<p>Replace the files in the OS source tree at
<code>device/google/redbull-kernel/</code> (userdebug/eng) and
<code>device/google/redbull-kernel/vintf/</code> (user) with your build in
<code>out/android-msm-pixel-4.19/dist/</code>.</p>
</section>
<section id="kernel-4th-generation-pixels">
<h4><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></h4>
<p>To sync the kernel sources:</p>
<pre>mkdir -p android/kernel/coral
cd android/kernel/coral
repo init -u https://github.com/GrapheneOS/kernel_manifest-coral.git -b 13
repo sync -j8</pre>
<p>To build the coral kernel for the Pixel 4 and Pixel 4 XL:</p>
<pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.floral build/build.sh</pre>
<p>To build the sunfish kernel for the Pixel 4a:</p>
<pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.sunfish build/build.sh</pre>
<p>Replace the files in the OS source tree at
<code>device/google/coral-kernel/</code> or
<code>device/google/sunfish-kernel/</code> with your build in
<code>out/android-msm-pixel-4.14/dist/</code>.</p>
</section>
</section> </section>
<section id="browser-and-webview"> <section id="browser-and-webview">