Project

General

Profile

GalaxyTab2Px1xxInstallation » History » Version 2

Wolfgang Wiedmeyer, 09/11/2017 09:12 PM
espressowifi alternative for sideload

1 1 Wolfgang Wiedmeyer
h1. Galaxy Tab 2 (Px1xx) Installation
2
3
*Warning: installing an operating system, such as Replicant, may void your device's warranty and will erase the data stored on the device.*
4
5
h2. Prerequisites 
6
7
In order to install Replicant on your device, it is assumed that you have a computer running a GNU/Linux operating system and everything necessary available to connect your device to the computer through USB. Moreover, it is assumed that anyone performing the installation knows how to use a terminal and has basic knowledge about command line commands.
8
9
h2. Downloading the files
10
11
The first step in the installation process is to download and set up the files that will be used to install Replicant to the device. The files must be downloaded on your computer first.
12
13
1. Find out what the latest image is: check out the @Last image@ part of the general table on [[GalaxyTab270P31xx]] or [[GalaxyTab2101P51xx]]
14
2. Download *all* the files listed for the device (including the checksum and the signatures) on [[ReplicantImages]] for the latest image
15
2. Make sure you have added the [[ReplicantReleaseKey|Replicant release key]] to your GPG keyring
16
3. Check the signature of the files:
17
<pre>
18
gpg --armor --verify path/to/replicant-6.0-espresso3g.zip.asc path/to/replicant-6.0-espresso3g.zip
19
</pre>
20
21
or
22
23
<pre>
24
gpg --armor --verify path/to/replicant-6.0-espressowifi.zip.asc path/to/replicant-6.0-espressowifi.zip
25
</pre>
26
<pre>
27
gpg --armor --verify path/to/recovery-espresso3g.img.asc path/to/recovery-espresso3g.img
28
</pre>
29
30
or
31
32
<pre>
33
gpg --armor --verify path/to/recovery-espressowifi.img.asc path/to/recovery-espressowifi.img
34
</pre>
35
4. Make sure the check succeeds, *do not install anything if it doesn't*!
36
5. Check the checksum of the files:
37
<pre>
38
sha256sum -c espresso3g.sha256
39
</pre>
40
41
or
42
43
<pre>
44
sha256sum -c espressowifi.sha256
45
</pre>
46
47
6. Make sure the check succeeds, *do not install anything if it doesn't*!
48
49
h2. Installing heimdall
50
51
The heimdall tool is required to flash the recovery image to the device.
52
Instructions to install heimdall: [[ToolsInstallation#Heimdall|ToolsInstallation]]
53
54
h2. Copying the files to the device
55
56
There are two means of pushing the system zip to the device:
57
* Using the storage of the device
58
* Using the ADB tool to perform sideload
59
60
h3. Using the storage of the device
61
62
You can either complete this step by using the device's internal storage or by using an external microSD card.
63
64
h4. Using the internal storage
65
66
1. Make sure the device is started up and has an Android system running
67
2. Connect the USB cable to both the computer and the device
68
3. Enable USB mass storage on the device
69
4. Mount the mass storage on the computer
70
5. Copy the @replicant-6.0-espresso3g.zip@ or @replicant-6.0-espressowifi.zip@ file at the origin of the mass storage
71
6. Safely unmount the mass storage on the computer
72
7. Disable USB mass storage on the device
73
74
h4. Using a microSD card
75
76
1. Connect the microSD card to the computer (e.g. using an USB card reader)
77
2. Mount the microSD card on the computer
78
3. Copy the @replicant-6.0-espresso3g.zip@ or @replicant-6.0-espressowifi.zip@ file at the origin of the microSD card
79
4. Safely unmount the microSD card on the computer
80
5. Disconnect the microSD card from the computer
81
6. Insert the microSD card in the device (make sure it is turned off before inserting the card)
82
83
h3. Installing ADB
84
85
Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]]
86
87
h2. Preparing the device
88
89
The next step in the installation process is to prepare the device for heimdall mode.
90
91
1. Make sure the device is completely turned off and the USB cable is disconnected from the device
92
2. Start the device by holding the following key combination: *Volume down, Power*
93
3. Hold the key combination until the device shows a *Warning* message
94
4. Confirm that you want to download a custom OS (using volume up)
95
5. Make sure the device is in *Downloading* mode
96
4. Connect the USB cable to both the computer and the device
97
98
h2. Installing the images
99
100
Now that both the computer and the device are set up, it is time to actually install the images to the device.
101
102
1. Install the recovery image to the device:
103
<pre>
104
heimdall flash --KERNEL path/to/recovery-espresso3g.img --RECOVERY path/to/recovery-espresso3g.img
105
</pre>
106
107
or
108
109
<pre>
110
heimdall flash --KERNEL path/to/recovery-espressowifi.img --RECOVERY path/to/recovery-espressowifi.img
111
</pre>
112
113
2. Make sure the device reboots to recovery
114
115
h3. Factory reset
116
117
A factory reset is necessary if you switch from the factory image or a different Android distribution to Replicant. You also need to do a factory reset when upgrading to a new major release (e.g. from Replicant 4.2 to Replicant 6.0). Only when updating to a new minor release (e.g. from Replicant 6.0 0001 to Replicant 6.0 0002), a factory reset is usually not required.
118
119
3. Select *Factory reset*
120
4. Select *Full factory reset*
121
5. Confirm the data wipe by selecting *Yes*
122
6. Press the back key (if necessary) to get back to the general menu
123
124
7. Select *Apply update*
125
126
h3. Using the storage of the device
127
128
h4. Using the internal storage
129
130
8. Select *Choose from emulated*
131
9. Select the system zip: *replicant-6.0-espresso3g.zip* or *replicant-6.0-espressowifi.zip*
132
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
133
10. Confirm the installation
134
135
h4. Using a microSD card
136
137
8. Select *Choose from sdcard1*
138
9. Select the system zip: *replicant-6.0-espresso3g.zip* or *replicant-6.0-espressowifi.zip*
139
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
140
10. Confirm the installation
141
142
h3. Using ADB sideload
143
144
8. Select *Apply from ADB*
145
9. Back to the host computer, load the system zip with sideload:
146
<pre>
147
adb sideload path/to/replicant-6.0-espresso3g.zip
148
</pre>
149 2 Wolfgang Wiedmeyer
150
or
151
152
<pre>
153
adb sideload path/to/replicant-6.0-espressowifi.zip
154
</pre>
155
156 1 Wolfgang Wiedmeyer
10. Make sure the file is being transfered
157
158
h3. Completing the installation
159
160
11. Press the back key (if necessary) to get back to the general menu
161
12. Select *Reboot system now* to reboot the device
162
163
*Your device should now be running Replicant!*