Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilbrk committed Oct 7, 2024
1 parent d73c3a6 commit c3d15ab
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
3 changes: 2 additions & 1 deletion public/factory_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
more information. Never use this entire file as-is. Instead, you should
use parts of this example file to adjust and maintain your own version.
Last updated on 2024-08-07 by kamilbrk
Last updated on 2024-10-07 by kamilbrk
https://kamilbrk.github.io/headunits/factory-settings/ksw/
Originally based on Kri's versions for A10 3.9.4
https://f30.bimmerpost.com/forums/showthread.php?t=1699764
Expand Down Expand Up @@ -202,6 +202,7 @@
<Item id="19" name = "ภาษาไทย" tips ="Thai (TH)"/>
<Item id="20" name = "Hrvatski" tips ="Croatian (HR)" />
<Item id="21" name = "Čeština" tips ="Czech (CS)" />
<Item id="22" name = "український" tips ="Ukrainian (UK)" /><!-- not tested, requires M600 1.7.4 / M700 1.5.0 -->
</SupportLanguageList>

<!--
Expand Down
2 changes: 1 addition & 1 deletion src/data/faq/ksw/apply-factory-config.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
question: 'How to apply factory_config.xml file?'
---
Before making any changes, make sure you have a backup of your original file.
Before making any changes, make sure you have a [backup of your original file](/headunits/faq/ksw/pull-factory-config).

1. Use a USB drive with FAT32 formatted partition
2. On the root of the USB drive, create a folder called `OEM`
Expand Down
2 changes: 1 addition & 1 deletion src/data/faq/zxw/apply-factory-config.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
question: 'How to apply factory_config.xml file?'
---
Before making any changes, make sure you have a backup of your original file.
Before making any changes, make sure you have a [backup of your original file](/headunits/faq/zxw/pull-factory-config).

1. Use a USB drive with FAT32 formatted partition
2. On the root of the USB drive, create a folder called `OEM`
Expand Down
7 changes: 7 additions & 0 deletions src/data/faq/zxw/platforms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
question: 'What platforms are available?'
---
Firmware on ZXW units contains various checks based on hardware it's running on. From what we could find, the following platforms are (or are going to be) supported:
- Qualcomm Snapdragon 665 SM6125 = GT6
- Qualcomm Snapdragon 680 SM6225 = GT7
- Qualcomm Snapdragon 685 SM6225-AD = GT7Pro
16 changes: 8 additions & 8 deletions src/pages/themes/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ const { Content } = await render(entry);
<p>This theme appears to be invalid, so we do not recommend activating it.</p>
)}

<p>To activate, find the <Code lang="xml" code={`<SupportUIList />`} inline themes={SHIKI_THEMES} /> section your <code>{vendor.data.factoryConfigFileName}</code> file and add the following line: {entry.data.number ? (
<Code lang="xml" code={`<Item id="${entry.data.number}" ui="${entry.data.id}" />`} inline themes={SHIKI_THEMES} />
) : (
<Code lang="xml" code={`<Item id="1" name="${entry.data.id}" display="${entry.data.display}" />`} inline themes={SHIKI_THEMES} />
)}</p>

{entry.data.since && (
<p>Available since <code>{entry.data.since}</code>.</p>
<p>This theme was introduced in update <code>{entry.data.since}</code>, therefore it might not be available to activate on older firmwares.</p>
)}

{entry.data.client && (
<p>Requires client <code>{entry.data.client}</code>.</p>
<p>This theme requires client <code>{entry.data.client}</code> set in your factory config file. See the factory settings section for more information.</p>
)}

<p>To make this theme available for selection in your factory settings, you might need to modify your <code>{vendor.data.factoryConfigFileName}</code> file. Find the <Code lang="xml" code={`<SupportUIList />`} inline themes={SHIKI_THEMES} /> section and add the following line: {entry.data.number ? (
<Code lang="xml" code={`<Item id="${entry.data.number}" ui="${entry.data.id}" />`} inline themes={SHIKI_THEMES} />
) : (
<Code lang="xml" code={`<Item id="1" name="${entry.data.id}" display="${entry.data.display}" />`} inline themes={SHIKI_THEMES} />
)}. More information and examples can be found in <a href={`${URL_PREFIX}factory-settings/${vendor.id}`}>factory settings</a> section.</p>

<Content />

<a href={`${URL_PREFIX}themes/${vendor.id}`}>Back to all {vendor.data.name} themes</a>
Expand Down

0 comments on commit c3d15ab

Please sign in to comment.