Project

General

Profile

MinorVersionUpgrade » History » Revision 7

Revision 6 (Denis 'GNUtoo' Carikli, 12/15/2017 03:53 PM) → Revision 7/43 (Denis 'GNUtoo' Carikli, 12/15/2017 03:57 PM)

h1. Minor version upgrade 

 

 h2. Downloading the files 

 The first step in the installation process is to download and set up the files that will be used to update file Replicant to the device. 

 There are several ways to do that, of updating the device, either by: 
 * Downloading the update directly on device. device, and updating without the need of a computer. 
 * Downloading the update on a computer and computer, copying it to the device. device, and updating without the need of a computer. 
 * Downloading the update on a computer, and using a command line tool called adb to do the update trough a procedure called "sideload". 

 First find out what the latest system images for your device in [[ReplicantImages]], it will look like that: 
 <pre> 
 replicant-6.0-<yourdevice>.zip 
 </pre> 
 For instance for a Galaxy S2, the image will be named replicant-6.0-i9100.zip 

 Download it either on the device or on your computer, depending on the update procedure you have chosen. 

 

 h2. Copying the files to the device 

 If you already downloaded the update on the device, you should skip this section. 

 h3. Using the internal storage 

 1. Make sure the device is started up and has an Android system running 
 2. Connect the USB cable to both the computer and the device 
 3. Enable USB mass storage on the device 
 4. Mount the mass storage on the computer 
 5. Copy the @replicant-6.0-n7100.zip@ file at the origin of the mass storage 
 6. Safely unmount the mass storage on the computer 
 7. Disable USB mass storage on the device 

 h3. Using a microSD card 

 1. Connect the microSD card to the computer (e.g. using an USB card reader) 
 2. Mount the microSD card on the computer 
 3. Copy the @replicant-6.0-n7100.zip@ file at the origin of the microSD card 
 4. Safely unmount the microSD card on the computer 
 5. Disconnect the microSD card from the computer 
 6. Insert the microSD card in the device (make sure it is turned off before inserting the card) 

 h3. Installing ADB 

 Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]] 

 h2. Installing the images 

 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. 

 2. Make sure the device reboots to recovery 

 h3. Data wipe 

 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. 

 7. Select *Apply update* 

 h3. Using the storage of the device 

 h4. Using the internal storage 

 8. Select *Choose from emulated* 
 9. Select the system zip: *replicant-6.0-n7100.zip* 
    Note: if your device was running Android 4.2 and later, it may be located in the *0* directory 
 10. Confirm the installation 

 h4. Using a microSD card 

 8. Select *Choose from sdcard1* 
 9. Select the system zip: *replicant-6.0-n7100.zip* 
    Note: if your device was running Android 4.2 and later, it may be located in the *0* directory 
 10. Confirm the installation 

 h3. Using ADB sideload 

 8. Select *Apply from ADB* 
 9. Back to the host computer, load the system zip with sideload: 
 <pre> 
 adb sideload path/to/replicant-6.0-n7100.zip 
 </pre> 
 10. Make sure the file is being transfered 

 h3. Completing the installation 

 11. Press the back key (if necessary) to get back to the general menu 

 16. Select *Reboot system now* to reboot the device 

 *Your device should now be updated!*