Project

General

Profile

MinorVersionUpgrade » History » Version 8

Denis 'GNUtoo' Carikli, 12/15/2017 03:58 PM
Remove adb as we removed sideload procedure

1 4 Denis 'GNUtoo' Carikli
h1. Minor version upgrade
2 1 Denis 'GNUtoo' Carikli
3
h2. Downloading the files
4
5 7 Denis 'GNUtoo' Carikli
The first step in the installation process is to download the update file to the device.
6 1 Denis 'GNUtoo' Carikli
7 7 Denis 'GNUtoo' Carikli
There are several ways to do that, either by:
8
* Downloading the update directly on device.
9
* Downloading the update on a computer and copying it to the device.
10 1 Denis 'GNUtoo' Carikli
11 5 Denis 'GNUtoo' Carikli
First find out what the latest system images for your device in [[ReplicantImages]], it will look like that:
12
<pre>
13 6 Denis 'GNUtoo' Carikli
replicant-6.0-<yourdevice>.zip
14 1 Denis 'GNUtoo' Carikli
</pre>
15 6 Denis 'GNUtoo' Carikli
For instance for a Galaxy S2, the image will be named replicant-6.0-i9100.zip
16 5 Denis 'GNUtoo' Carikli
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
h2. Installing the images
43
44 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.
45 1 Denis 'GNUtoo' Carikli
46
2. Make sure the device reboots to recovery
47
48
h3. Data wipe
49
50
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.
51
52
7. Select *Apply update*
53
54
h3. Using the storage of the device
55
56
h4. Using the internal storage
57
58
8. Select *Choose from emulated*
59
9. Select the system zip: *replicant-6.0-n7100.zip*
60
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
61
10. Confirm the installation
62
63
h4. Using a microSD card
64
65
8. Select *Choose from sdcard1*
66
9. Select the system zip: *replicant-6.0-n7100.zip*
67
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
68
10. Confirm the installation
69
70
h3. Using ADB sideload
71
72
8. Select *Apply from ADB*
73
9. Back to the host computer, load the system zip with sideload:
74
<pre>
75
adb sideload path/to/replicant-6.0-n7100.zip
76
</pre>
77
10. Make sure the file is being transfered
78
79
h3. Completing the installation
80
81
11. Press the back key (if necessary) to get back to the general menu
82
83
16. Select *Reboot system now* to reboot the device
84
85
*Your device should now be updated!*