Project

General

Profile

DeprecatedGalaxyTab270P31xxInstallation » History » Version 11

Wolfgang Wiedmeyer, 04/14/2017 09:30 AM
prerequisites: wording

1 4 Paul Kocialkowski
h1. Galaxy Tab 2 7.0 (P31xx) Installation
2 1 Paul Kocialkowski
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 11 Wolfgang Wiedmeyer
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 1 Paul Kocialkowski
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 5 Paul Kocialkowski
1. Find out what the latest image is: check out the @Last image@ part of the general table on [[GalaxyTab270P31xx]]
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 9 Paul Kocialkowski
gpg --armor --verify path/to/replicant-4.2-p3100.zip.asc path/to/replicant-4.2-p3100.zip
19 5 Paul Kocialkowski
</pre>
20
or
21
<pre>
22 9 Paul Kocialkowski
gpg --armor --verify path/to/replicant-4.2-p3110.zip.asc path/to/replicant-4.2-p3110.zip
23 5 Paul Kocialkowski
</pre>
24
<pre>
25 10 Paul Kocialkowski
gpg --armor --verify path/to/recovery.img.asc path/to/recovery.img
26 5 Paul Kocialkowski
</pre>
27
4. Make sure the check succeeds, *do not install anything if it doesn't*!
28
5. Check the checksum of the files:
29
<pre>
30
md5sum -c p3100.md5
31
</pre>
32
or
33
<pre>
34
md5sum -c p3110.md5
35
</pre>
36
6. Make sure the check succeeds, *do not install anything if it doesn't*!
37 1 Paul Kocialkowski
38 5 Paul Kocialkowski
h2. Installing heimdall
39 1 Paul Kocialkowski
40 5 Paul Kocialkowski
The heimdall tool is required to flash the recovery image to the device.
41
Instructions to install heimdall: [[ToolsInstallation#Heimdall|ToolsInstallation]]
42 1 Paul Kocialkowski
43 5 Paul Kocialkowski
h2. Copying the files to the device
44
45
There are two means of pushing the system zip to the device:
46
* Using the storage of the device
47
* Using the ADB tool to perform sideload
48
49
h3. Using the storage of the device
50
51 8 Paul Kocialkowski
You can either complete this step by using the device's internal storage or by using an external microSD card.
52 1 Paul Kocialkowski
53
h4. Using the internal storage
54
55
1. Make sure the device is started up and has an Android system running
56
2. Connect the USB cable to both the computer and the device
57 5 Paul Kocialkowski
3. Enable USB mass storage on the device
58
4. Mount the mass storage on the computer
59
5. Copy the @replicant-4.2-p3100.zip@ or @replicant-4.2-p3110.zip@ file at the origin of the mass storage
60
6. Safely unmount the mass storage on the computer
61
7. Disable USB mass storage on the device
62 1 Paul Kocialkowski
63 8 Paul Kocialkowski
h4. Using a microSD card
64 1 Paul Kocialkowski
65 8 Paul Kocialkowski
1. Connect the microSD card to the computer (e.g. using an USB card reader)
66
2. Mount the microSD card on the computer
67
3. Copy the @replicant-4.2-p3100.zip@ or @replicant-4.2-p3110.zip@ file at the origin of the microSD card
68
4. Safely unmount the microSD card on the computer
69
5. Disconnect the microSD card from the computer
70
6. Insert the microSD card in the device (make sure it is turned off before inserting the card)
71 1 Paul Kocialkowski
72 5 Paul Kocialkowski
h3. Installing ADB
73 1 Paul Kocialkowski
74 5 Paul Kocialkowski
Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]]
75 1 Paul Kocialkowski
76 5 Paul Kocialkowski
h2. Preparing the device
77
78
The next step in the installation process is to prepare the device for heimdall mode.
79
80 1 Paul Kocialkowski
1. Make sure the device is completely turned off and the USB cable is disconnected from the device
81
2. Start the device by holding the following key combination: *Volume down, Power*
82
3. Hold the key combination until the device shows a *Warning* message
83 5 Paul Kocialkowski
4. Confirm that you want to download a custom OS (using volume up)
84 1 Paul Kocialkowski
5. Make sure the device is in *Downloading* mode
85
4. Connect the USB cable to both the computer and the device
86
87
h2. Installing the images
88
89
Now that both the computer and the device are set up, it is time to actually install the images to the device.
90
91 5 Paul Kocialkowski
1. Install the recovery image to the device:
92 1 Paul Kocialkowski
<pre>
93 5 Paul Kocialkowski
heimdall flash --KERNEL path/to/recovery.img --RECOVERY path/to/recovery.img
94 1 Paul Kocialkowski
</pre>
95
96 5 Paul Kocialkowski
2. Make sure the device reboots to recovery
97
3. Select *install zip* (using the volume keys to navigate and the power key to select)
98
99
h3. Using the storage of the device
100
101
h4. Using the internal storage
102
103 6 Paul Kocialkowski
4. Select *install zip from sdcard*
104 5 Paul Kocialkowski
5. Select the system zip: *replicant-4.2-p3100.zip* or *replicant-4.2-p3110.zip*
105
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
106
6. Confirm the installation
107
108 8 Paul Kocialkowski
h4. Using a microSD card
109 5 Paul Kocialkowski
110 6 Paul Kocialkowski
4. Select *install zip from external sdcard*
111 5 Paul Kocialkowski
5. Select the system zip: *replicant-4.2-p3100.zip* or *replicant-4.2-p3110.zip*
112
   Note: if your device was running Android 4.2 and later, it may be located in the *0* directory
113
6. Confirm the installation
114
115
h3. Using ADB sideload
116
117
4. Select *install zip from sideload*
118
5. Back to the host computer, load the system zip with sideload:
119
<pre>
120
adb sideload path/to/replicant-4.2-p3100.zip
121
</pre>
122
or
123
<pre>
124
adb sideload path/to/replicant-4.2-p3110.zip
125
</pre>
126
6. Make sure the file is being transfered
127
128
h3. Completing the installation
129
130
8. Select *Go Back* (if necessary) to get back to the general menu
131 1 Paul Kocialkowski
8. Select *wipe data/factory reset*
132
9. Confirm the data wipe by selecting *Yes -- delete all user data*
133
10. Select *Reboot system now* to reboot the device
134
135
*Your device should now be running Replicant!*