InstallOrUpgradeReplicantWithADB » History » Version 4
Denis 'GNUtoo' Carikli, 11/28/2019 11:19 PM
The device should already be in recovery
1 | 1 | Denis 'GNUtoo' Carikli | h1. Install or upgrade Replicant with adb |
---|---|---|---|
2 | |||
3 | h2. Requirements |
||
4 | |||
5 | First make sure you have adb installed. If you don't the [[ToolsInstallation]] page has instructions for doing that. |
||
6 | |||
7 | h2. Download the update file |
||
8 | |||
9 | 1. First find the latest update file for your device in [[ReplicantImages]], it will look like that: |
||
10 | <pre> |
||
11 | replicant-6.0-<yourdevice>.zip |
||
12 | </pre> |
||
13 | |||
14 | For instance for the Samsung Galaxy S2, the update file will be named replicant-6.0-i9100.zip |
||
15 | 2. Download the update file on your computer |
||
16 | |||
17 | h2. install the zip with adb |
||
18 | 3 | Denis 'GNUtoo' Carikli | |
19 | 4 | Denis 'GNUtoo' Carikli | In the recovery. |
20 | 1 | Denis 'GNUtoo' Carikli | 1. Select *Apply from ADB* |
21 | 2. Back to the host computer, load the system zip with sideload: |
||
22 | <pre> |
||
23 | adb sideload path/to/replicant-6.0-i9300.zip |
||
24 | </pre> |
||
25 | 3. Wait for the transfer and the installation of the files to complete. |
||
26 | Note that the percentage can stop updating at some point, way before the 100%. |
||
27 | In that case just wait for the transfer and files installation to complete. |