Laboratorium Komputerowe Progmar
Marcin Załęczny

We are using cookies in the page. If you use the page you agree for the cookies.      Close

Rooting and upgrading Samsung Galaxy S3 mini GT-I8190N to Android 5.1.1 (CyanogenMod 12.1 ROM)

Enter Android system recovery:
  1. Turn off your phone.
  2. Disconnect it from the computer.
  3. Press keys: Power + Volume Up + Home and turn on the phone.
  4. Release the keys after producer logotype appears.

or
Connect smartphone to the computer and issue following command: adb reboot recovery

Enter ODIN/Download mode:
  1. Turn off your phone.
  2. Disconnect it from the computer.
  3. Press keys: Power + Volume Down + Home and turn on the phone.
  4. Release the keys after information about activating ODIN/Download mode appears.
  5. Press Volume Up key to confirm activating ODIN/Download mode.
Preparation to TWRP installation and rooting Samsung Galaxy S3 mini GT-I8190N
  1. Disconnect phone from the computer.
  2. Download drivers for Samsung smartphones from the site:
    http://developer.samsung.com/android/tools-sdks/Samsung-Andorid-USB-Driver-for-Windows
    Install downloaded drivers on the computer with minimum Windows 7 installed. It cannot be a virtual machine (ex. Virtualbox machine) with appropriate windows because Odin will not detect the device running ODIN/Download mode.
    After drivers installed connect the phone to the computer to make windows detect new device and install drivers for it.
  3. Download Odin v.3.07 from the site:
    http://techglen.com/2013/09/30/versions-odin/
    Extract downloaded archive to any location on your hard disk. It doesn't need installation, because it is a standalone program with libraries which can be executed out of the box.
  4. Download TWRP recovery of version 2.7.0.0 from the site (link in section ~older Files attached~ "Attached Files"):
    http://forum.xda-developers.com/showthread.php?t=2748327
    It is not the newest version but it is tested by me and works as we expect.
  5. Download SuperSU program from the site:
    http://download.chainfire.eu/312/SuperSU/UPDATE-SuperSU-v1.10.zip?retrieve_file=1
    and download the newer version for rooting phone after upgrading to Android 5.1.1:
    https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
TWRP installation
  1. Disconnect your phone from the computer and turn it off.
  2. Next enter the ODIN/Download mode as described earlier in the tutorial.
  3. Run Odin.
  4. Connect the phone to the computer.
  5. Extract file GT-I8190_TWRP_2.7.0.0.tar.md5.zip once in order to get the file:
    GT-I8190_TWRP_2.7.0.0.tar.md5 and load the file using PDA button.
  6. In "Option" section on the left hand side of the Odin's window select option: "F. Reset Time". All remaining options make unselected.
  7. Click "Start" button and wait approximately 2-3 minutes for flashing new recovery. Wait until it appears the text PASS! on the green background in the left top part of the Odin's window (During flashing the area should contain text RESET! on the blue background).
  8. Turn off the phone.
  9. Enter the Android system recovery (now TWRP), to make sure that all went successfully.
Rooting the phone
  1. Connect the phone to the computer using USB cable and copy onto sdcard file UPDATE-SuperSU-v1.10.zip, for example so: adb push UPDATE-SuperSU-v1.10.zip /sdcard/
  2. Turn off the phone and enter "Android system recovery" - it should run Team Win Recovery Project v2.7.0.0
  3. Click "Install" button and choose just copied SuperSU file.
  4. Check the option "Zip file signature verification" and drag - at the bottom of the screen - a circle with an arrow to the right to confirm operation.
  5. The installation should successfully finish: a message Successful under the "Home" button.
  6. Click the "Reboot System" button: from now you can enjoy a root privileges of your Android system.
Installation CyanogenModa 12.1 basing on Android 5.1.1 on your smartphone
  1. The CyanogenMod 12.1 image file you can download from the site: http://novafusion.pl/downloads. To do this, select "Samsung Galaxy S3 Mini" option in the "Select device from list" selectbox and select "CyanogenMod" from the "Select software from list" selectbox. From the list with available software click the download link to the right of "Lollipop 5.0.2 (CyanogenMod 12.0) 20150428 stable". This link makes you to download: "Lollipop 5.1.1 (CyanogenMod 12.1) 20160412 stable" - and this is what we want do do.
  2. Next from the same site select item "Google Apps" in the "Select software from list" selectbox. Click the "Download" link and in the form that appears select following options: Platform - ARM, Android - 5.1 i Variant - stock.
  3. Connect phone to the computer and using adb tool copy downloaded files to the sdcard of your device: adb push cm12.1_golden.nova.20160412.zip /sdcard/
    adb push open_gapps-arm-5.1-stock-20160423.zip /sdcard/
  4. Restart smartphone to the TWRP recovery, as below: adb reboot recovery And turn it off from the computer.
  5. In TWRP recovery select options:
    Wipe -> Advanced Wipe -> Cache, Dalvik Cache and drag the circle "Swipe to Wipe" to the right.
    Next drag to the right circle: Wipe -> Swipe to Factory Reset
  6. In the main menu click "Install" button and choose the file: cm12.1_golden.nova.20160412.zip
    Check the option "Zip file signature verification" (if it was not checked already) and drag the circle "Swipe to Confirm Flash" to the right to confirm operation.
  7. When the flashing process successfully finish, repeat 6th point once again but for file: open_gapps-arm-5.1-stock-20160423.zip
    It will install Google applications (among others Google Play) for your smartphone.
  8. Restart the phone by clicking "Reboot System" button and wait for the system to configure and optimalize. It can take up to approximately half an hour so be patient.
Warning!

Installation of CyanogenModa as described above will make us to loose root privileges. To regain the root access you have to download UPDATE-SuperSU-v2.46.zip file from the site specified above and next step through the instruction "Rooting the phone" choosing there the file UPDATE-SuperSU-v2.46.zip.