The recent official OTA release for Samsung Galaxy S4 is the XXUBMGA Android 4.2.2 update being released for i9500 models. Though the latest Android 4.3 firmware is out and being prepared to be released on various Android devices, the 4.2.2 JB updates keep rolling out. You can update your Samsung Galaxy S4 i9500 to this latest android official update via OTA; or simply follow this tutorial to manually update your smartphone to official Android 4.2.2 JB XXUBMGA OS.
Prerequisites to update Galaxy S4 i9500 to Android 4.2.2 XXUBMGA official:
Downloadand install USB drivers for SGS4 in your computer.Make sure to takebackupof any important files on your smartphone.Enable USB debugging option by pressingMenu>Settings>Applications. Navigateand tap onDeveloper Optionsto ensure thatUSB Debuggingis enabled.Ensure that your Samsung Galaxy S4 i9500 carries more than 70% of charge.
How toupdate Galaxy S4 i9500 to Android 4.2.2 XXUBMGA officialfirmware:
Required files: download the XXUBMGA 4.2.2 JB firmware file fromhere. Extract and you will get atar.md5file.Also download theOdin3 v3.04 for installation fromhere.
Install Odin on your computer.Switch your Samsung Galaxy S4 off and boot it inDownloadmode: press and holdVolume Down, PowerandHomebuttons together.When connected successfully, you will get a message in Odin sayingAdded!!.(In case you don’t get it, try another USB port. If that doesn't help either, then re-install USB drivers).In Odin make sure that theAuto RebootandF. Reset Timecheck boxes are the only options checked and nothing else is.Click onPDAon Odin,locate the firmware file and hit theStartbutton to initiate the update process.When official update installation is successfully completed,on OdinID:COMwill turn green and Odin will show you aPASSmessage.Samsung Galaxy S4 I9500 will restart automatically and you can then disconnect your device from computer.
Note:Incase your device gets stuck at boot screen after installation ofofficial firmware, perform data wiping tasks: turn off S4 and reboot it into recovery mode. In recovery, select thewipe data/factory reset. Go back and reboot your smartphone.









