Skip to content

Commit

Permalink
wiki: Add a download icon next to downloads
Browse files Browse the repository at this point in the history
* Sometimes, despite the links being visible, people still ask where
  various downloads are
* Add a download icon next to such links (like glossary)

Change-Id: I55f28abbc475c2136443f8955554cab061b2e629
  • Loading branch information
BadDaemon authored and npjohnson committed Jan 21, 2025
1 parent fef6dfc commit 92cfa39
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## Repartition
{% include alerts/warning.html content="This step is not optional, the device will not boot LineageOS without repartitioning first!" %}
{% include alerts/warning.html content="This process will wipe all data on the device, including your internal storage!" %}
1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/flo-deb_clamor_repartition_20201203.zip).
1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/flo-deb_clamor_repartition_20201203.zip){: .download}.
2. On your device's screen, choose "Apply Update", then "From ADB".
3. From your Terminal/PowerShell, run `adb -d sideload /path/to/flo-deb_clamor_repartition.zip`, filling `/path/to/` in with the path you downloaded the repartition zip to.
{% include alerts/note.html content="The repartition script package in question isn't signed with LineageOS's official key, and therefore when it is sideloaded, Lineage Recovery will present a screen that says `Signature verification failed`, this is expected, please click `Yes`." %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
## Repartition
{% include alerts/warning.html content="This step is not optional, the device will not boot LineageOS without repartitioning first!" %}
{% include alerts/warning.html content="This process will wipe all data on the device, including your internal storage!" %}
1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/repartition-ogpixel-32gb.zip) for 32 GB models, and [here](https://blob.lineageos.org/downloads/repartition-ogpixel-128gb.zip) for 128 GB models.
1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/repartition-ogpixel-32gb.zip){: .download} for 32 GB models, and [here](https://blob.lineageos.org/downloads/repartition-ogpixel-128gb.zip){: .download} for 128 GB models.
2. Rename the downloaded zip file to `repartition.zip`.
3. On your device's screen, choose "Apply Update", then "From ADB".
4. From your Terminal/PowerShell, run `adb -d sideload /path/to/repartition.zip`, filling `/path/to/` in with the path you downloaded the repartition zip to.
Expand Down
6 changes: 3 additions & 3 deletions _includes/templates/recovery_install_heimdall.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ The preferred method of installing a custom recovery is through Download Mode{%
* From within the Developer options menu, enable OEM unlock.
{% endunless %}
2. Download and install the appropriate version of the Heimdall suite for your machine's OS
* [Windows](https://blob.lineageos.org/downloads/heimdall/Heimdall-Windows-master-012220.zip): Extract the Heimdall suite zip and take note of the new directory containing `heimdall.exe`. You can verify Heimdall is functioning by opening a Command Prompt or PowerShell in that directory and running `heimdall version`.
* [Windows](https://blob.lineageos.org/downloads/heimdall/Heimdall-Windows-master-012220.zip){: .download}: Extract the Heimdall suite zip and take note of the new directory containing `heimdall.exe`. You can verify Heimdall is functioning by opening a Command Prompt or PowerShell in that directory and running `heimdall version`.
* If you receive an error, install the [Microsoft Visual C++ 2015-2019 Redistributable Package (x86)](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) on your computer.
* [Linux](https://blob.lineageos.org/downloads/heimdall/Heimdall-linux-master-012220.zip): Extract the Heimdall suite zip and take note of the new directory containing `heimdall`. Now copy `heimdall` into a directory in $PATH, a common one on most distros will be /usr/local/bin. For example `cp heimdall /usr/local/bin`. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`.
* [macOS](https://blob.lineageos.org/downloads/heimdall/Heimdall-macOS-master-012220.dmg): Mount the Heimdall suite DMG. Now drag `heimdall` down into the `/usr/local/bin` symlink provided in the DMG. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`.
* [Linux](https://blob.lineageos.org/downloads/heimdall/Heimdall-linux-master-012220.zip){: .download}: Extract the Heimdall suite zip and take note of the new directory containing `heimdall`. Now copy `heimdall` into a directory in $PATH, a common one on most distros will be /usr/local/bin. For example `cp heimdall /usr/local/bin`. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`.
* [macOS](https://blob.lineageos.org/downloads/heimdall/Heimdall-macOS-master-012220.dmg){: .download}: Mount the Heimdall suite DMG. Now drag `heimdall` down into the `/usr/local/bin` symlink provided in the DMG. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`.
{% include alerts/note.html content="These Heimdall suite distributions were built by LineageOS Developers Nolen Johnson (npjohnson) and Jan Altensen (Stricted), as the Heimdall suite executables distributed on the official Heimdall website were outdated and the repo mostly abandoned. Modifications were made to make it build and function on modern OSes." %}
4. Power off the device, and boot it into download mode:
* {{ device.download_boot }}
Expand Down
6 changes: 6 additions & 0 deletions _sass/lineage/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -771,3 +771,9 @@ span.codename {
content: 'help_outline';
vertical-align: middle;
}

.download::after {
font-family: "Material Icons";
content: 'download';
vertical-align: middle;
}

0 comments on commit 92cfa39

Please sign in to comment.