Grand Prime Custom Firmware: Difference between revisions

From ICO wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
== Introduction. ==
== Introduction. ==
This article shows how to install a custom firmware on a Samsung Galaxy Grand Prime (G530FZ) phone with 64bit CPU and 1GB of RAM.
This article shows how to install a custom firmware on a Samsung Galaxy Grand Prime (G530FZ) phone with 64bit CPU and 1GB of RAM.


== Preparation ==
== Preparation ==
Line 43: Line 42:
Download, unzip and launch the latest Odin tool
Download, unzip and launch the latest Odin tool
Power off the device
Power off the device
Hold Volume Up + Home + Power button for a couple of seconds, then press Volume Up to enter Download mode
Hold 'Volume Down' + 'Home' + 'Power' buttons for a couple of seconds, then press 'Volume Up' to enter Download mode
Connect the phone to the PC via USB cable
Connect the phone to the PC via USB cable
Download and install [https://mega.nz/#!TklUVKZa!cZ6A4ekuerAZjJGU1uppof2x-OxfwUYERUV-z4IRt2A USB drivers].
Download and install [https://mega.nz/#!TklUVKZa!cZ6A4ekuerAZjJGU1uppof2x-OxfwUYERUV-z4IRt2A USB drivers].
If you see ‘Added’ in Odin tool, everything is OK and you are ready to flash. If not, try to reconnect/reopen.  
If you see ‘Added’ in Odin tool, everything is OK and you are ready to flash. If not, try to reconnect device or reopen Odin.  


[[File:Odin.PNG|600px]]
[[File:Odin.PNG|600px]]


Download recovery [https://download.msm8916.com/TWRP/3.2.1/gprimeltexx/20180408/ .tar file].
Download recovery [https://download.msm8916.com/TWRP/3.2.1/gprimeltexx/20180408/ .tar file].
Click AP and choose the recovery .tar file
Click 'AP' and choose the recovery .tar file
Click Options and make sure all checkboxes match the following screenshot:
Click 'Options' and make sure all check boxes match the following screenshot:


[[File:Match.PNG|600px]]
[[File:Match.PNG|600px]]


Click Start button to flash the recovery, you should see the following:
Click 'Start' button to flash the recovery, you should see the following:


[[File:Passedd.PNG|600px]]
[[File:Passedd.PNG|600px]]


Unplug the phone and power it off
Unplug the phone and power it off
Hold Volume Up + Home + Power button again for a couple of seconds to enter recovery
Hold 'Volume Up' + 'Home' + 'Power' buttons for a couple of seconds to enter recovery




Line 69: Line 68:
[[File:Gp recovery.jpg|600px]]
[[File:Gp recovery.jpg|600px]]


you need to wipe data and cache. Click Wipe -> Advanced Wipe -> Choose Dalvik/ART cache + Data + Cache -> Swipe to Wipe.
you need to wipe data and cache. Click 'Wipe' -> 'Advanced Wipe' -> Choose 'Dalvik/ART cache' + 'Data' + 'Cache' -> 'Swipe to Wipe'.


[[File:Gp wipe.jpg|600px]]
[[File:Gp wipe.jpg|600px]]


It’s optional, but advised to wipe Internal Storage as well. Now connect the phone to a PC and transfer a [https://androidfilehost.com/?fid=818070582850507383 .zip file] of ROM from to device root directory. Go back to Recovery main menu and choose Install, then select the transferred .zip file -> Swipe to confirm Flash
It’s optional, but advised to wipe 'Internal Storage' as well. Now connect the phone to a PC and transfer a [https://androidfilehost.com/?fid=818070582850507383 .zip file] of ROM from to device's root directory. Go back to Recovery main menu and choose 'Install'.


[[File:Gl flash.jpg|600px]]
[[File:Gl flash.jpg|600px]]
Line 80: Line 79:




== 4. GApps installation ==
Same algorithm as with Android installation, the only difference is that you’d need to transfer GApps .zip file to the device. [https://download.msm8916.com/OpenGApps/8.1/20180404/open_gapps-arm-8.1-nano-20180404-UNOFFICIAL.zip Download GApps], transfer them in the same way as Android ROM.


At this point our system is ready to boot and work with Google Services. Choose 'Reboot System', it should take approximately 5 mins to boot.�




[[Category: Operatsioonisüsteemide administreerimine ja sidumine]]
[[Category: Operatsioonisüsteemide administreerimine ja sidumine]]

Revision as of 16:16, 18 May 2018

Author: Maksym Maliarov, IAIB2, 2018


Introduction.

This article shows how to install a custom firmware on a Samsung Galaxy Grand Prime (G530FZ) phone with 64bit CPU and 1GB of RAM.

Preparation

First of all you need to decide which ROM you want to install. Usually, you’d go to XDA Developers forum and choose from all available ones. In the current article, I'll show how to install CRdroid based on the latest and greatest Android 8.1. Now that we made the choice, we need to find a compatible recovery before installing the Android itself. For the chosen version of CRdroid, according to its author, TWRP 3.2.1 is the best match.


Plan

The plan is to:

     0. Backup data
     1. Unlock bootloader (if locked)
     2. Flash custom recovery
     3. Install a custom android image
     4. Install GApps in order for Google Play store and other Google services to work


0. Data Backup

For data backup there is a variety of tools that could be used which accomplish different goals. If something simple as Contacts backup is needed, then default Contacts application’s Export feature will do. If, however, something fancy like backuping applications with their data and cache is needed, this also could be done with Titanium Backup application. One of its drawbacks is that it requires the root access to run. To backup data (images, settings etc) a simple files transfer to a PC should be sufficient.

Importing contacts:


1. Bootloader Unlock

To unlock the bootloader on G530FZ:

Enable Developer Options by clicking a couple of times on Build info in the Phone Status setting.

Go to Developer Options in the Settings and search for Enable OEM unlocking.


2. Custom Recovery Flash

One of the easiest ways to install TWRP Recovery on this device is to use Samsung Odin tool.

Download, unzip and launch the latest Odin tool Power off the device Hold 'Volume Down' + 'Home' + 'Power' buttons for a couple of seconds, then press 'Volume Up' to enter Download mode Connect the phone to the PC via USB cable Download and install USB drivers. If you see ‘Added’ in Odin tool, everything is OK and you are ready to flash. If not, try to reconnect device or reopen Odin.

Download recovery .tar file. Click 'AP' and choose the recovery .tar file Click 'Options' and make sure all check boxes match the following screenshot:

Click 'Start' button to flash the recovery, you should see the following:

Unplug the phone and power it off Hold 'Volume Up' + 'Home' + 'Power' buttons for a couple of seconds to enter recovery


3. Android installation

Once in Recovery

you need to wipe data and cache. Click 'Wipe' -> 'Advanced Wipe' -> Choose 'Dalvik/ART cache' + 'Data' + 'Cache' -> 'Swipe to Wipe'.

It’s optional, but advised to wipe 'Internal Storage' as well. Now connect the phone to a PC and transfer a .zip file of ROM from to device's root directory. Go back to Recovery main menu and choose 'Install'.

Now the installation has started.


4. GApps installation

Same algorithm as with Android installation, the only difference is that you’d need to transfer GApps .zip file to the device. Download GApps, transfer them in the same way as Android ROM.

At this point our system is ready to boot and work with Google Services. Choose 'Reboot System', it should take approximately 5 mins to boot.�