Project

General

Profile

MinorVersionUpgrade » History » Version 6

Denis 'GNUtoo' Carikli, 12/15/2017 03:53 PM
Fix image name

1 4 Denis 'GNUtoo' Carikli
h1. Minor version upgrade
2 1 Denis 'GNUtoo' Carikli
3
h2. Downloading the files
4
5
The first step in the installation process is to download and set up the files that will be used to update Replicant to the device.
6
7
There are several ways of updating the device, either by:
8
* Downloading the update directly on device, and updating without the need of a computer.
9
* Downloading the update on a computer, copying it to the device, and updating without the need of a computer.
10 5 Denis 'GNUtoo' Carikli
* Downloading the update on a computer, and using a command line tool called adb to do the update trough a procedure called "sideload".
11 1 Denis 'GNUtoo' Carikli
12 5 Denis 'GNUtoo' Carikli
First find out what the latest system images for your device in [[ReplicantImages]], it will look like that:
13
<pre>
14 6 Denis 'GNUtoo' Carikli
replicant-6.0-<yourdevice>.zip
15 1 Denis 'GNUtoo' Carikli
</pre>
16 6 Denis 'GNUtoo' Carikli
For instance for a Galaxy S2, the image will be named replicant-6.0-i9100.zip
17 5 Denis 'GNUtoo' Carikli
18
Download it either on the device or on your computer, depending on the update procedure you have chosen.
19 1 Denis 'GNUtoo' Carikli
20
h2. Copying the files to the device
21
22
If you already downloaded the update on the device, you should skip this section.
23
24 2 Denis 'GNUtoo' Carikli
h3. Using the internal storage
25 1 Denis 'GNUtoo' Carikli
26
1. Make sure the device is started up and has an Android system running
27
2. Connect the USB cable to both the computer and the device
28
3. Enable USB mass storage on the device
29
4. Mount the mass storage on the computer
30
5. Copy the @replicant-6.0-n7100.zip@ file at the origin of the mass storage
31
6. Safely unmount the mass storage on the computer
32
7. Disable USB mass storage on the device
33
34 2 Denis 'GNUtoo' Carikli
h3. Using a microSD card
35 1 Denis 'GNUtoo' Carikli
36
1. Connect the microSD card to the computer (e.g. using an USB card reader)
37
2. Mount the microSD card on the computer
38
3. Copy the @replicant-6.0-n7100.zip@ file at the origin of the microSD card
39
4. Safely unmount the microSD card on the computer
40
5. Disconnect the microSD card from the computer
41
6. Insert the microSD card in the device (make sure it is turned off before inserting the card)
42
43
h3. Installing ADB
44
45
Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]]
46
47
h2. Installing the images
48
49 3 Denis 'GNUtoo' Carikli
Now that the images are on the device or that the computer is setup, it is time to actually install the images to the device.
50 1 Denis 'GNUtoo' Carikli
51
2. Make sure the device reboots to recovery
52
53
h3. Data wipe
54
55
When updating to a new minor release (e.g. from Replicant 6.0 0001 to Replicant 6.0 0002), a data wipe is usually not required, so it is strongly advised not to wipe the data as all the application settings and data would be gone.
56
57
7. Select *Apply update*
58
59
h3. Using the storage of the device
60
61
h4. Using the internal storage
62
63
8. Select *Choose from emulated*
64
9. Select the system zip: *replicant-6.0-n7100.zip*
65
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
66
10. Confirm the installation
67
68
h4. Using a microSD card
69
70
8. Select *Choose from sdcard1*
71
9. Select the system zip: *replicant-6.0-n7100.zip*
72
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
73
10. Confirm the installation
74
75
h3. Using ADB sideload
76
77
8. Select *Apply from ADB*
78
9. Back to the host computer, load the system zip with sideload:
79
<pre>
80
adb sideload path/to/replicant-6.0-n7100.zip
81
</pre>
82
10. Make sure the file is being transfered
83
84
h3. Completing the installation
85
86
11. Press the back key (if necessary) to get back to the general menu
87
88
16. Select *Reboot system now* to reboot the device
89
90
*Your device should now be updated!*