[Galaxy S 4 i9506 Android Development] CastagnaIT:
This guide help you to

install the Samsung Lollipop TouchWiz and get the root permissions

on Galaxy S4 GT-I9506​

Do it on your own responsibility! and keep in mind that you will lose your warranty!​

Before you proceed, make sure:

1) You have installed your Samsung Galaxy S4 GT-I9506 USB drivers on your PC (the easiest way is to install Kies)

2) Your S4 should have 70-80% charge remaining.

3) Backup all your important data like Call logs, SMS and other data stored in phone memory in case if anything goes wrong, your data is not hurt

4) Make sure that Kies software is not running and disable your antivirus

Download the requirements:

Click on each one for download

-Odin software

-Recovery TWRP "flashable"

-SuperSu "flashable"

-Samsung Lollipop Firmware from SAMMOBILE (only if you have KitKat installed)

WARNING! I FOUND PROBLEMS WITH SOME SAMMOBILE FIRMWARE'S READ BELOW

The Czech Republic - ETL firmware (I9506XXUDOA6_I9506OXXDOA1),

has WiFi broken

The Czech Republic (Vodafone) - VDC firmware (I9506XXUDOA6_I9506VFGDOA4),

has wrong "Hidden" partition size

If you meet this problems you can download this official firmware from samsung updates site:

Greece - EUR firmware (I9506XXUDOAA_I9506EURDOB1)

BUILD DATE: 30.01.2015

How to install the firmware and root

If you already have the Lollipop firmware installed: Skip to the Step 8

NOTE: I racommend you to do the wipe of cache, dalvik cache, system, data partitions before proceeding,

this to prevent any problems with the apps (through recovery)

Step 1

Unzip the downloaded firmware, you will get a tar.md5 file.

Step 2

Turn OFF you mobile and go to Download Mode by pressing and holding the Power + Volume Down + Home Buttons.

together for few seconds followed by Power button then proceed with volume up.

Step 3

Now open ODIN on your PC and connect your Galaxy S4 to your computer.

Once your phone is successfully connected to your PC, the ID:COM box on ODIN will turn blue (or yellow) and will show the COM port number.

Step 4

Click on PDA (or AP) in Odin and choose the file ".tar.md5"

Step 5

Check "Auto Reboot" and "F. Reset Time" options and make sure that "Re-Partition" is unchecked

Step 6

Click on Start button in ODIN window to start the flashing process. The process will take few minutes to complete.

Step 7

When the installation is completed, you read a "Reset " then a "Pass". your phone will restart (first boot will take a longer time so don't panic)

> Step 8

now you have to do again all steps from Step 2, for flash the TWRP recovery needed for apply the ROOT,

the only difference is when you arrive on Step 4 you must have to choose the TWRP Recovery ".tar.md5" downloaded file

Step 9

Turn OFF you mobile and go to Recovery Mode by pressing and holding the Power + Volume Up + Home Buttons.

Step 10

Connect the mobile with USB and copy the "UPDATE-SuperSU-v2.45.zip" in the SD

Step 11

Click on the "INSTALL" button, select "UPDATE-SuperSU-v2.45.zip", and swipe to flash. After this reboot

Finish! Enjoy! :o

----------------------------------------------------------------------------------------------------------------------------​

Odin troubleshooting: If Odin accidentally gives you "fail" try the following:

- Repeat the procedure.

- Make sure that all actions of Kies are disabled from task manager.

- Make sure the antivirus is disabled

- Change usb port.

- Try another usb cable (make sure it is the original).

- Try another Odin version.

- Uninstall and re-install the USB driver.

- Try another computer.

Titanium Backup does not recognize the root:

- Install Titanium Backup version 7.0+

Titanium Backup does not recognize external SD:

- Install SDFix app for applying the missing external SD card permissions

Thanks to samersh72 for the inspiration to create the guide​