Project

General

Profile

MinorVersionUpgrade » History » Revision 13

Revision 12 (Denis 'GNUtoo' Carikli, 12/15/2017 04:03 PM) → Revision 13/43 (Denis 'GNUtoo' Carikli, 12/15/2017 04:04 PM)

h1. Minor version upgrade 

 h2. Downloading the files 

 The first step in the installation process is to download the update file to the device. 
 u 
 There are several ways to do that, either by: 
 * Downloading the update directly on device. 
 * Downloading the update on a computer and copying it to the device. 

 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 update file at the origin of the mass storage 
 6. Safely "mount":https://en.wikipedia.org/wiki/Unmount [https://en.wikipedia.org/wiki/Unmount 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 update 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) 

 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!*