InstallationHeimdall » History » Version 21
Denis 'GNUtoo' Carikli, 11/28/2019 10:46 PM
I forgot to remove #adb in the link
| 1 | 19 | dl lud | h1. InstallationHeimdall |
|---|---|---|---|
| 2 | 1 | Denis 'GNUtoo' Carikli | |
| 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. Copying the files to the device |
||
| 6 | |||
| 7 | There are two means of pushing the system zip to the device: |
||
| 8 | * Using the storage of the device |
||
| 9 | * Using the ADB tool to perform sideload |
||
| 10 | |||
| 11 | h3. Using the storage of the device |
||
| 12 | |||
| 13 | You can either complete this step by using the device's internal storage or by using an external microSD card. |
||
| 14 | |||
| 15 | h4. Using the internal storage |
||
| 16 | |||
| 17 | 1. Make sure the device is started up and has an Android system running |
||
| 18 | 2. Connect the USB cable to both the computer and the device |
||
| 19 | 3. Enable USB mass storage on the device |
||
| 20 | 4. Mount the mass storage on the computer |
||
| 21 | 5. Copy the @replicant-6.0-i9300.zip@ file at the origin of the mass storage |
||
| 22 | 6. Safely unmount the mass storage on the computer |
||
| 23 | 7. Disable USB mass storage on the device |
||
| 24 | |||
| 25 | h4. Using a microSD card |
||
| 26 | |||
| 27 | 1. Connect the microSD card to the computer (e.g. using an USB card reader) |
||
| 28 | 2. Mount the microSD card on the computer |
||
| 29 | 3. Copy the @replicant-6.0-i9300.zip@ file at the origin of the microSD card |
||
| 30 | 4. Safely unmount the microSD card on the computer |
||
| 31 | 5. Disconnect the microSD card from the computer |
||
| 32 | 6. Insert the microSD card in the device (make sure it is turned off before inserting the card) |
||
| 33 | |||
| 34 | h3. Installing ADB |
||
| 35 | 6 | Denis 'GNUtoo' Carikli | |
| 36 | 21 | Denis 'GNUtoo' Carikli | If you don't already have adb, see the [[ToolsInstallation|tools installation page]] for how to install all required tools. |
| 37 | 1 | Denis 'GNUtoo' Carikli | |
| 38 | h3. Data wipe |
||
| 39 | |||
| 40 | A data wipe is necessary if you switch from the factory image or a different Android distribution to Replicant. You also need to do a data wipe 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 data wipe is usually not required. |
||
| 41 | |||
| 42 | 3. Select *Factory reset* |
||
| 43 | 4. Select *Wipe data (keep media)* |
||
| 44 | 5. Confirm the data wipe by selecting *Yes* |
||
| 45 | 6. Press the back key (if necessary) to get back to the general menu |
||
| 46 | |||
| 47 | 7. Select *Apply update* |
||
| 48 | |||
| 49 | h3. Using the storage of the device |
||
| 50 | |||
| 51 | h4. Using the internal storage |
||
| 52 | |||
| 53 | 8. Select *Choose from emulated* |
||
| 54 | 9. Select the system zip: *replicant-6.0-i9300.zip* |
||
| 55 | Note: if your device was running Android 4.2 and later, it may be located in the *0* directory |
||
| 56 | |||
| 57 | h4. Using a microSD card |
||
| 58 | |||
| 59 | 8. Select *Choose from sdcard1* |
||
| 60 | 9. Select the system zip: *replicant-6.0-i9300.zip* |
||
| 61 | Note: if your device was running Android 4.2 and later, it may be located in the *0* directory |
||
| 62 | |||
| 63 | h3. Using ADB sideload |
||
| 64 | |||
| 65 | 8. Select *Apply from ADB* |
||
| 66 | 9. Back to the host computer, load the system zip with sideload: |
||
| 67 | <pre> |
||
| 68 | adb sideload path/to/replicant-6.0-i9300.zip |
||
| 69 | </pre> |
||
| 70 | 10. Make sure the file is being transfered |
||
| 71 | |||
| 72 | h3. Completing the installation |
||
| 73 | |||
| 74 | 11. Press the back key (if necessary) to get back to the general menu |
||
| 75 | 16. Select *Reboot system now* to reboot the device |
||
| 76 | |||
| 77 | *Your device should now be running Replicant!* |