Skip to content

Commit

Permalink
wiki: Use --format=ustar for creating Odin tars
Browse files Browse the repository at this point in the history
Change-Id: I37a074c87190e3ba55596f22e7c507d3b8cc8737
  • Loading branch information
luk1337 committed Oct 21, 2023
1 parent a3f0aaf commit 67f216d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* From within the Developer options menu, enable OEM unlock.
{% endunless %}
3. Download `vbmeta.img` from [here](https://download.lineageos.org/devices/{{ device.codename }}).
4. Open a Command Prompt in the folder where the file was downloaded and TAR the file by running `tar -cvf vbmeta.tar vbmeta.img`
4. Open a Command Prompt in the folder where the file was downloaded and TAR the file by running `tar --format=ustar -cvf vbmeta.tar vbmeta.img`
5. Power off the device, and boot it into download mode:
* {{ device.download_boot }}
* Now, click the button that the onscreen instructions correlate to "Device unlock mode" and/or "Unlock Bootloader".
Expand Down
4 changes: 2 additions & 2 deletions _includes/templates/recovery_install_odin.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The preferred method of installing a custom recovery is through Download Mode{%
{%- elsif device.maintainers != empty %}
{%- assign is_lineage_recovery = true %}
2. Download [Lineage Recovery](https://download.lineageos.org/devices/{{ custom_recovery_codename }}). Simply download the latest recovery file, named `{{ device.recovery_partition_name }}.img`
3. Open a Command Prompt in the folder where the file was downloaded, and TAR the file by running `tar -cvf {{ device.recovery_partition_name }}.tar {{ device.recovery_partition_name }}.img`.
3. Open a Command Prompt in the folder where the file was downloaded, and TAR the file by running `tar --format=ustar -cvf {{ device.recovery_partition_name }}.tar {{ device.recovery_partition_name }}.img`.
{% capture content -%}
Make sure to not accidentally name the file `{{ device.recovery_partition_name }}.img.img` when file name extensions are hidden.
{%- endcapture -%}
Expand All @@ -49,7 +49,7 @@ The preferred method of installing a custom recovery is through Download Mode{%
{%- else %}
{%- assign is_lineage_recovery = true %}
2. [Build]({{ device | device_link: "/build" | relative_url }}) a LineageOS installation package. The recovery will be built as part of it!
3. Locate the built `{{ device.recovery_partition_name }}.img` file, open a Command Prompt in the folder where the file was found, and TAR the file by running `tar -cvf {{ device.recovery_partition_name }}.tar {{ device.recovery_partition_name }}.img`.
3. Locate the built `{{ device.recovery_partition_name }}.img` file, open a Command Prompt in the folder where the file was found, and TAR the file by running `tar --format=ustar -cvf {{ device.recovery_partition_name }}.tar {{ device.recovery_partition_name }}.img`.
{% include alerts/tip.html content="You can open a command prompt in any folder by right-clicking on empty space while holding Shift and selecting \"Open Command Prompt here\" or \"Open PowerShell window here\" from the context menu." %}
{%- endif %}
{% include alerts/important.html content="Other recoveries may not work for installation or updates. We strongly recommend to use the one linked above!" %}
Expand Down

0 comments on commit 67f216d

Please sign in to comment.