Project

General

Profile

MinorVersionUpgrade » History » Version 5

Denis 'GNUtoo' Carikli, 12/15/2017 03:52 PM
Make it generic

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.0-<yourdevice>.zip
15
</pre>
16
17
Download it either on the device or on your computer, depending on the update procedure you have chosen.
18 1 Denis 'GNUtoo' Carikli
19
h2. Copying the files to the device
20
21
If you already downloaded the update on the device, you should skip this section.
22
23 2 Denis 'GNUtoo' Carikli
h3. Using the internal storage
24 1 Denis 'GNUtoo' Carikli
25
1. Make sure the device is started up and has an Android system running
26
2. Connect the USB cable to both the computer and the device
27
3. Enable USB mass storage on the device
28
4. Mount the mass storage on the computer
29
5. Copy the @replicant-6.0-n7100.zip@ file at the origin of the mass storage
30
6. Safely unmount the mass storage on the computer
31
7. Disable USB mass storage on the device
32
33 2 Denis 'GNUtoo' Carikli
h3. Using a microSD card
34 1 Denis 'GNUtoo' Carikli
35
1. Connect the microSD card to the computer (e.g. using an USB card reader)
36
2. Mount the microSD card on the computer
37
3. Copy the @replicant-6.0-n7100.zip@ file at the origin of the microSD card
38
4. Safely unmount the microSD card on the computer
39
5. Disconnect the microSD card from the computer
40
6. Insert the microSD card in the device (make sure it is turned off before inserting the card)
41
42
h3. Installing ADB
43
44
Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]]
45
46
h2. Installing the images
47
48 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.
49 1 Denis 'GNUtoo' Carikli
50
2. Make sure the device reboots to recovery
51
52
h3. Data wipe
53
54
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.
55
56
7. Select *Apply update*
57
58
h3. Using the storage of the device
59
60
h4. Using the internal storage
61
62
8. Select *Choose from emulated*
63
9. Select the system zip: *replicant-6.0-n7100.zip*
64
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
65
10. Confirm the installation
66
67
h4. Using a microSD card
68
69
8. Select *Choose from sdcard1*
70
9. Select the system zip: *replicant-6.0-n7100.zip*
71
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
72
10. Confirm the installation
73
74
h3. Using ADB sideload
75
76
8. Select *Apply from ADB*
77
9. Back to the host computer, load the system zip with sideload:
78
<pre>
79
adb sideload path/to/replicant-6.0-n7100.zip
80
</pre>
81
10. Make sure the file is being transfered
82
83
h3. Completing the installation
84
85
11. Press the back key (if necessary) to get back to the general menu
86
87
16. Select *Reboot system now* to reboot the device
88
89
*Your device should now be updated!*