<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Zero%2Fdev%2FLineageOS</id>
		<title>Zero/dev/LineageOS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Zero%2Fdev%2FLineageOS"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Zero/dev/LineageOS&amp;action=history"/>
		<updated>2026-06-13T09:11:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Zero/dev/LineageOS&amp;diff=7347&amp;oldid=prev</id>
		<title>RadxaYuntian: /* Build Android TV flavor */</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Zero/dev/LineageOS&amp;diff=7347&amp;oldid=prev"/>
				<updated>2022-01-14T12:06:22Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Build Android TV flavor&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:06, 14 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Run &amp;lt;code&amp;gt;source build/envsetup.sh&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Run &amp;lt;code&amp;gt;source build/envsetup.sh&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4. Run &amp;lt;code&amp;gt;breakfast &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lineage_radxa0-eng&lt;/del&gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;breakfast I01WD&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4. Run &amp;lt;code&amp;gt;breakfast &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;radxa0&lt;/ins&gt;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;breakfast I01WD&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. No need to run &amp;lt;code&amp;gt;extract-files.sh&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. No need to run &amp;lt;code&amp;gt;extract-files.sh&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RadxaYuntian</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Zero/dev/LineageOS&amp;diff=7346&amp;oldid=prev</id>
		<title>RadxaYuntian: Created page with &quot;{{zero_header}}  {{Languages|zero/dev/LineageOS}}       Radxa Zero &gt;  Development &gt;  Build LineageOS  === Build custom LineageO...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Zero/dev/LineageOS&amp;diff=7346&amp;oldid=prev"/>
				<updated>2022-01-14T07:43:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{zero_header}}  {{Languages|zero/dev/LineageOS}}      &lt;a href=&quot;/Zero&quot; title=&quot;Zero&quot;&gt; Radxa Zero&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Zero/dev&quot; title=&quot;Zero/dev&quot;&gt; Development&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Zero/dev/LineageOS&quot; title=&quot;Zero/dev/LineageOS&quot;&gt; Build LineageOS&lt;/a&gt;  === Build custom LineageO...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{zero_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|zero/dev/LineageOS}}&lt;br /&gt;
&lt;br /&gt;
    [[zero | Radxa Zero]] &amp;gt; [[zero/dev | Development]] &amp;gt; [[zero/dev/LineageOS | Build LineageOS]]&lt;br /&gt;
&lt;br /&gt;
=== Build custom LineageOS image ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: You will need a Linux (preferably Ubuntu 20.04) machine with at least 16GB of RAM, at least 100GB of disk space (SSD), and at least 4 CPU threads.&lt;br /&gt;
&lt;br /&gt;
Additionally you will need a lot of time. The whole process could take days to finish depending on your hardware.&lt;br /&gt;
&lt;br /&gt;
==== Build Android TV flavor ====&lt;br /&gt;
&lt;br /&gt;
You can then follow any generic LineageOS build guide like [https://wiki.lineageos.org/devices/I01WD/build this]. However there are a few things specific to Radxa Zero:&lt;br /&gt;
&lt;br /&gt;
1. Choose &amp;lt;code&amp;gt;lineage-18.1&amp;lt;/code&amp;gt; branch.&lt;br /&gt;
&lt;br /&gt;
2. After running &amp;lt;code&amp;gt;repo sync&amp;lt;/code&amp;gt;, edit &amp;lt;code&amp;gt;.repo/local_manifests/roomservice.xml&amp;lt;/code&amp;gt; and add the following line before &amp;lt;code&amp;gt;&amp;lt;/manifest&amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;project depth=&amp;quot;1&amp;quot; name=&amp;quot;TheMuppets/proprietary_vendor_amlogic&amp;quot; path=&amp;quot;vendor/amlogic&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run &amp;lt;code&amp;gt;repo sync&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
3. Run &amp;lt;code&amp;gt;source build/envsetup.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
4. Run &amp;lt;code&amp;gt;breakfast lineage_radxa0-eng&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;breakfast I01WD&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
5. No need to run &amp;lt;code&amp;gt;extract-files.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
6. You will need to build the bootloader with the following commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/Stricted/deadpool_u-boot_build ~/deadpool_u-boot_build&lt;br /&gt;
 cd ~/deadpool_u-boot_build&lt;br /&gt;
 ./build_radxa0.sh&lt;br /&gt;
 cp uboot-bins/u-boot.bin ~/android/lineage/device/radxa/radxa0/factory&lt;br /&gt;
&lt;br /&gt;
7. Run &amp;lt;code&amp;gt;croot&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
8. Run &amp;lt;code&amp;gt;m aml_upgrade&amp;lt;/code&amp;gt; back inside LineageOS instead of &amp;lt;code&amp;gt;brunch I01WD&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This will get you an Android TV build of LineageOS 18.1, located at &amp;lt;code&amp;gt;out/target/product/radxa0/aml_upgrade_package.img&amp;lt;/code&amp;gt;. You can flash it with [[Zero/install/eMMC_aml_tool | aml-flash-tool]].&lt;br /&gt;
&lt;br /&gt;
==== Build standard Android ====&lt;br /&gt;
&lt;br /&gt;
To build normal Android, please change the content of &amp;lt;code&amp;gt;device/radxa/radxa0/lineage_radxa0.mk&amp;lt;/code&amp;gt; to match [https://gist.github.com/sobrinho/d37296f76f3ce0fbfa3cbf15730d639b this gist], and change this line from &amp;lt;code&amp;gt;device/amlogic/g12-common/BoardConfigCommon.mk&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 BOARD_KERNEL_CMDLINE := androidboot.dtbo_idx=0 androidboot.boot_devices=ffe07000.emmc otg_device=1&lt;br /&gt;
&lt;br /&gt;
to this:&lt;br /&gt;
&lt;br /&gt;
 BOARD_KERNEL_CMDLINE := androidboot.dtbo_idx=0 androidboot.boot_devices=ffe07000.emmc otg_device=1 androidboot.selinux=permissive&lt;br /&gt;
&lt;br /&gt;
If you already built the Android TV image, you only need to run &amp;lt;code&amp;gt;breakfast lineage_radxa0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;croot&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;m aml_upgrade&amp;lt;/code&amp;gt; to generate the image in the same output location.&lt;br /&gt;
&lt;br /&gt;
==== Need help? ====&lt;br /&gt;
&lt;br /&gt;
For more details and discussion, please visit [https://forum.radxa.com/t/official-android-for-zero/8298/7 our forum thread].&lt;/div&gt;</summary>
		<author><name>RadxaYuntian</name></author>	</entry>

	</feed>