FORUMS
Remove All Ads from XDA

[REF] GALAXY S4 FAMILY MODEMS and BOOTLOADERS collection

546 posts
Thanks Meter: 844
 
Post Reply Email Thread
Official MODEMS and BOOTLOADERS for the I9505


!DISCLAIMER!
Although updating your modem and/or bootloader is mostly a safe process, there could be dire consequences for not following the instructions.
I take no responsibility for any unexpected results or damage that may happen when following this guide! Also note, that updating your firmware manually might void your warranty!

Seriously speaking, I’ve used these guides more than once without problems, but if you still do encounter one, just ask and you’ll have all the support this thread can offer!

INDEX:
1. Post: Info, download links and video guides
1.1 Info on What and Why to update your Modem and Bootloader !READ!
1.2 Latest Lollipop and Kitkat download links
1.2.1 I9505 Download links
1.2.2 I9500 Download links
1.2.3 I9506 Download links
1.2.4 I9515 Download links
1.3 Video guides
2. Post: Odin, Heimdal, FlashFire and Flashable zip guides
2.1 ODIN update guides
2.1.1 Updating modem & bootloader files on all variants
2.2 Heimdall update guides
2.2.1 Updating modem & bootloader files on all variants
2.2.2 Updating using automatic firmware packages
2.3 FlashFire update guides
2.3.1 Updating modem & bootloader files on all variants
2.4 Flashable zip update guides
2.4.1 Updating modem files on all variants
3. Post: Firmware guides and contributing files (To be updated)
3.1 Downloading full firmware packages
3.2 Backing up and restoring your device’s data
3.3 Repartitioning and installing full firmware packages
3.4 Download links for latest PIT files for all variants
3.5 Creating flashable .tar files automatically using the MoBo script

(Currently only works for the I9505, will be updated)
3.6 Template for posting new firmware files

A SAFE Odin version can be downloaded from this thread
Heimdall can be downloaded from here
FlashFire can be downloaded from the PlayStore

Thanks to the developers!


Info, download links and video guides

1.1 Info on What and Why to update your Modem and Bootloader
What is a modem?
A modem, sometimes referred to as a radio or baseband, is a driver that controls the sending and receiving of your mobile Network signals as well as switching between GPRS, 3G and HSDPA. It does not control Wi-Fi or the switch over between mobile signal and Wi-Fi. That’s the kernels job. There is no such thing as, "the best modem." It depends entirely on your location, operator and signal strength.

What is a bootloader?
In literal terms, the bootloader is code that is executed before your phones Operating System starts to run. Every Android phone has a bootloader that instructs the operating system and kernel to boot normally. Bootloaders basically package the instructions to boot the operating system and the kernel, and most of them also have their own debugging or modification environment. Basically, Android device is like a hard drive that has several partitions, which holds the Android system file in one and all the app data in another. And for all these partitions, Bootloader serves as a security checkpoint that is responsible for checking and initializing the hardware and starting software. Because if you’re able to swap out what’s on those partitions and you don’t know what you’re doing, something will break.

Why update your bootloader?
Updating your bootloader ensures you have the latest security and performance batches. Keeping it up to date can also drastically decrease boot time! If you have the wrong bootloader on the wrong OS (say, you have Kitkats bootloader and you updated to Lollipop) you might experience some problems. The bootloader might not know how or what to say to your kernel or doesn't even know what partition to look in, leading to some problems with things the kernel controls, like Bluetooth, Wi-fi and so on.

Why update your modem?
If your phone has to constantly search for signals and lock on to them, it not only gives you a poor call and data quality, but also drains your battery. It’s true, if you don't have any problems with your current modem, you don't have to update it. But in the other hand, latest modems (especially when used with the correct Android version) can improve your signal strength, decrease battery drain and might even increase performance! Up-to date modems also have the latest security patches, to keep the snoopers away.

What does GSM, NON-HLOS and COMBINED package stand for?
The GSM.tar file has the modem itself inside it. The NON-HLOS.tar (also referred as the Wi-Fi fix) is the LTE and Wi-Fi firmware. The COMBINED file just has both of these files together to make flashing more convenient.

Why some devices don’t have the NON-HLOS and COMBINED packages?
Some devices, like the I9500, don’t have the hardware necessary to use LTE. Thus it doesn’t have drivers for it and the Wi-Fi firmware is bundled inside the modem file.

What files should I flash?
Neither the modem nor the bootloader are dependant on your ROM. As far as the bootloader goes, always choose latest or the same as your modem version. Unfortunately the modem doesn’t play by the same rules. In general, later modem versions are better for reasons explained above, but some devices or regions simply don’t like some versions. So start from the latest modem version and if you get bad reception go down the versions until the reception gets better. (Give the version at least half a day to settle in.)

What do the letter-codes mean?
Example: XXUHPA1 for the I9505
XXU: is the region, in this case international.
H: is the android version, in this case ‘5.0.1’
P: is the year in alphabetical order, P is the 16th letter, thus 2016
A: is the month, again in alphabetical order, thus it’s January.
1: is the revision. In this case 1st

How to check your current Baseband / Bootloader version?
Code:
	- Go to Settings -> About phone, see "Baseband version”
	# This is your modem version
	- Run in terminal:
	su
	getprop gsm.version.baseband
	# This is your modem version
	getprop ro.boot.bootloader	
	# This is you bootloader version



1.2 Latest Lollipop and Kitkat download links
1.2.1 I9505 Download links
I9505 Download links for Lollipop and up
XXUHQC1 --LATEST--
_-_-_-_-_-_-_-_-_-_-_-_-_
GSM
NON_HLOS
GSM & NON-HLOS
BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

I9505 Download links for Kitkat
XXUGNK4 --LATEST--
_-_-_-_-_-_-_-_-_-_-_-_-_
GSM
NON-HLOS
GSM and NON-HLOS
BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

XXUGNK2
More will be posted on request, or if someone contributes them


1.2.2 I9500 Download links
I9500 Download links for Lollipop and up
XXUHPK1 --LATEST--
_-_-_-_-_-_-_-_-_-_-_-_-_
GSM
BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

XXUHPJ3
XXUHPI2
XXUHPH3

I9500 Download links for Kitkat
More will be posted on request, or if someone contributes them


1.2.3 I9506 Download links
I9506 Download links for Lollipop and up
XXUDPG2 --LATEST--
_-_-_-_-_-_-_-_-_-_-_-_-_
GSM
NON-HLOS
GSM and NON-HLOS
BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

More will be posted on request, or if someone contributes them

I9506 Download links for Kitkat
More will be posted on request, or if someone contributes them


1.2.4 I9515 Download links
I9515 Download links for Lollipop and up
XXU1BPK4 --LATEST--
_-_-_-_-_-_-_-_-_-_-_-_-_
GSM
NON-HLOS
GSM and NON-HLOS
BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

I9515 Download links for Kitkat
More will be posted on request, or if someone contributes them


1.3 Video guides
A HUGE thanks to the makers of these videos!

I’m sure they’ve made somebody’s day a lot easier
1.3.1 @droidblitz ‘s video for the I9505
[YOUTUBE]dRhqmYnGmew[/YOUTUBE]
1.3.2 @ISF ‘s video for the I9505
[YOUTUBE]z5d0nnMSqfk[/YOUTUBE]


Donations aren't expected, but are appreciated! All donations will be directed to improve this, or some other of my projects here on XDA.

Hope I helped :3
The Following 112 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
 
 
16th February 2016, 08:57 AM |#2  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
Odin, Heimdal, FlashFire and Flashable zip guides

2.1 ODIN update guides
2.1.1 Updating modem & bootloader files on all variants
Updating your phone using downloaded modem and bootloader files ( .bin / .tar )
Using .bin / .mbn files isn’t recommended for inexperienced users!
Code:
	1. Download the latest Modem and / or Bootloader files or the ones you prefer
	2. Open Odin
	3. Press CP and locate your modem .tar / .bin file
	4. Press BL and locate your bootloader .tar file
	5. Completely power off you phone and boot into download mode using the button combination (Volume-Down + Power)
	6. Connect your phone to your PC, Odin should now show "ID:COM connected" in green
	7. Untick ‘Re-Partition’ and ‘Auto-reboot’ from Odin options
	8. Press start in Odin
	9. If you used .bin files, repeat steps 3-8 for the rest of the files
	10. Done! Reboot your phone!
If your Baseband or Bootloader version isn’t the same you flashed:
Code:
	1. Follow the steps above, for updating you Modem or Bootloader, from 2 – 9
	2. Manually reboot your device to download mode
	3. Follow the steps above, 2 – 10
	4. Done!

2.2 Heimdall update guides
2.2.1 Updating modem & bootloader files on all variants
Download and save the device’s PIT file
Code:
	1. Install and open Heimdall frontend
	2. Completely power off you phone and reboot to download mode using the button combination (Volume-Down + Power)
	3. Connect your phone to your PC and open the ‘Utilities’ tab in Heimdall
	4. Press  ‘Detect’ under ‘Detect device,’ Heimdall should now say ‘Device detected’ under Output
	5. Press ‘Save as’ under ‘Download PIT’ and chooce the folder where you want to download the file
	6. Press ‘Download’ under ‘Download PIT.’ You should now have the PIT file in the folder you chose
	7. Done! Now you can update your modem and bootloader using that PIT file
Updating your baseband using downloaded modem files ( .bin )
Code:
	1. Download the latest Modem files or the ones you prefer and extract the .bin files from it
	2. Install and open Heimdall frontend
	3. Completely power off you phone and reboot to download mode (Volume-Down + Power)
	4. Connect your phone to your PC and open the ‘Utilities’ tab in Heimdall
	5. Press  ‘Detect’ under ‘Detect device,’ Heimdall should now say ‘Device detected’ under Output
	6. Open the ‘Flash’ tab in Heimdall
	7. Press ‘Browse’ under ‘PIT’ and choose the PIT file you created above
	8. Press ‘Add’ under ‘Partitions (Files)’
	9. Open the ‘Partition name’ dropdown list and choose ‘MDM’
	10. Press ‘Browse’ under ‘File’ and locate the modem.bin file
	11. Repeate steps 8-10 for ‘APNHLOS’ and the NON-HLOS.bin file if the device has one
	(At this point you can follow the steps bellow for adding your bootloader files, so you can flash them all at once)
	12. Untick ‘No Reboot’ and ‘Resume’ under ‘Session’
	13. Press start in Heimdall
	14. Done! Reboot your phone!
Updating your bootloader using downloaded bootloader files ( .mbn )
Code:
	1. Download the latest Bootloader files or the ones you prefer and extract the .mbn (and .bin) files from it
	2. Install and open Heimdall frontend
	3. Completely power off you phone and reboot to download mode (Volume-Down + Power)
	4. Connect your phone to your PC and open the ‘Utilities’ tab in Heimdall
	5. Press  ‘Detect’ under ‘Detect device,’ Heimdall should now say ‘Device detected’ under Output
	6. Open the ‘Flash’ tab in Heimdall
	7. Press ‘Browse’ under ‘PIT’ and choose the PIT file you created above
	8. Press ‘Add’ under ‘Partitions (Files)’
	9. Open the ‘Partition name’ dropdown list and choose ‘ABOOT’ or BOOTLOADER
	10. Press ‘Browse’ under ‘File’ and locate the aboot.mbn or the sboot.bin file
	11. Repeate steps 8-10 for:
		SBL1 & sbl1.mbn
		SBL2 & sbl2.mbn
		SBL3 & sbl3.mbn
		RPM & rpm.mbn
		TZ & tz.mbn
		and DBI & SDI.mbn files, if the device has them
	(At this point you can follow the steps above for adding your modem files, so you can flash them all at once)
	12. Untick ‘No Reboot’ and ‘Resume’ under ‘Session’
	13. Press start in Heimdall
	14. Done! Reboot your phone!
If your Baseband or Bootloader version isn’t the same you flashed:
Code:
	Heimdall won’t fail flashing the files (At least I couldn’t make it)
	But if it for some reason did, repeat all the steps above for updating you modem and bootloader
2.2.2 Updating using automatic firmware packages
-- Will be added later --


2.3 FlashFire update guides
2.3.1 Updating modem & bootloader files on all variants
!WARNING!
Using mobile flashing software is extremely dangerous! If at all possible, please use other methods listed on this thread.

Updating your baseband using downloaded modem file ( .tar )
Code:
	1. Download the latest Modem file or the one you prefer
	2. Install and open FlashFire
	3. Press the ‘+’ sign and choose ‘Flash firmware package’
	4. Locate your downloaded modem file
	5. Choose the partitions you wish to flash, usually all of them
	6. Confirm your choice and press ‘FLASH’
	7. Done! Wait for your phone to reboot!
Updating your bootloader using downloaded bootloader file ( .tar )
Code:
	1. Download the latest Bootloader file or the one you prefer
	2. Install and open FlashFire
	3. Open settings, tick ‘Flash bootloaders’ and return to the main menu
	4. Press the ‘+’ sign and choose ‘Flash firmware package’
	5. Locate your downloaded bootloader file
	6. Choose the partitions you wish to flash, usually all of them
	7. Confirm your choice and press ‘FLASH’
	8. Done! Wait for your phone to reboot!
If your Baseband or Bootloader version isn’t the same you flashed:
Code:
	Try again following all the steps above or use other flashing methods
2.4 Flashable zip update guides
2.4.1 Updating modem files on all variants
-- Will be added later --


Hope I helped :3
The Following 76 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
16th February 2016, 08:58 AM |#3  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
Firmware guides and contributing files

3.1 Downloading full firmware packages
You can follow @Corduroysack ‘s guide here which will work on windows.
Or you can use following websites:
1. http://updato.com/firmware-archive-select-model
2. http://samsung-updates.com/
3. http://www.sammobile.com/firmwares/
(NOTE: On Sammobile you’ll need to create a FREE account, to download firmware files)


3.2 Backing up and restoring your device’s data
This portion of the guide assumes you are using the LATEST version of TWRP recovery. If not, you can download it from here
-nope-



3.3 Repartitioning and installing full firmware packages
-nope-


3.4 Download links for latest PIT files for all variants
Thanks to @yakapa40 for helping and giving me permission to use his PIT files for the I9500, I9506 and I9515 variants!
I’ve checked and these are the latest files accessible.
-nope-


3.5 Creating flashable .tar files automatically using The_MaB script
If you have acces to a Linux environment, use the MoBo_Maker (1.4) script!
-- TO BE UPDATED --
Installing the script
Code:
	1. Download the script and make it executable
	2. Navigate to the directory you downloaded the file using a terminal
	3. Type: ./MoBo_Maker --install
	This will move the script into /bin and apply correct permissions to it
Using the script:
Code:
	MoBo_Makker XXU---- -d -p -r --bootloader --radio --combined
	First parameter always has to be the letter code in question.
	
	-d
		Enables debugging
	-p
		Moves the bootloader, modem and NON-HLOS files to the current
		directory and keeps them
	-r
		Removes files in the current directory named the same, instead
		of renaming them
	--bootloader
		Adds BOOTLOADER to the list of .tar files the script will make
	--radio
		Adds GSM and NON-HLOS to the list of .tar files the script will make
	--combined
		Adds the COMBINED baggage to the list of .tar files the script will make
		‘—radio’ has to be given first for this to work
Making .tar files using the script
Code:
	1. Download the preferred firmware from SamMobile
	2. Navigate to the directory where you downloaded the firmware
	3. Extract the firmware you downloaded into a folder
	4. Type into the terminal MoBo_Makker LetterCode [OPTIONS]
	5. Wait for the script to run
	6. Done!



3.6 Template for posting new firmware files
If you want to contribute modems and bootloaders, please follow this format in your post to ease downloading and finding the files using the search tool. Then just notify me using a mention, @_Bon_Bon, so I’ll give a link to your post it in the OP
Code:
________________________________________________
| MODEM / BOOTLOADER [Modem letter code]	|
|	GSM					|
|	[Download link]				|
|	NON-HLOS				|
| 	[Download link]				|
|	GSM and NON-HLOS			|
| 	[Download link]				|
|	Bootloader				|
| 	[Download link]				|
|  And the rest space is free to be used 	|
|  as you please!  :D				|
________________________________________________

Hope I helped :3
The Following 26 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
16th February 2016, 09:31 AM |#4  
laupuy's Avatar
Senior Member
dans tes 22
Thanks Meter: 2,039
 
More
Thanks,
Good job!

@+

Envoyé de mon GT-I9505 en utilisant Tapatalk
The Following User Says Thank You to laupuy For This Useful Post: [ View ] Gift laupuy Ad-Free
16th February 2016, 04:37 PM |#5  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
The downloads from Sammobile are taking so long, that I probably won't have them ready before tomorrow. So if someone has some more up-to date modems and/or bootloaders they can post, I'd be more than grateful

And BTW, I updated the OP and I'll post as soon as possible a handy little script for making the requested .zip files from given firmware automatically
The Following 2 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
18th February 2016, 03:06 PM |#6  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
First files added!

I added the first Lollipop modem, XXUHPA1 to the second post and also fixed few typos from the first post
The Mo(dem)Bo(otloader)_Maker script now also has a download link, you can find the instructions on how to use it in the OP

Enjoy!
The Following 7 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
18th February 2016, 09:09 PM |#7  
Zeitraffer's Avatar
Senior Member
Thanks Meter: 66
 
More
Finally, an updated collection of the modems and bootloaders for our beloved S4!
Great idea, thank you, I'll stick to it
The Following User Says Thank You to Zeitraffer For This Useful Post: [ View ] Gift Zeitraffer Ad-Free
19th February 2016, 10:03 AM |#8  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
Finally, first KitKat files added!
I'll add more of them once I find some
And later today I'll download and upload the XXUHOL3 lollipop files

If you found this thread usefull, don't forget to push that thanks button, cheers!
The Following 5 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
19th February 2016, 12:25 PM |#9  
Member
Thanks Meter: 9
 
More
Hey, great thread, just what a noob like me needs! Could you please explain what the difference is between "GSM", "NON-HLOS" and "GSM and NON-HLOS"?
The Following User Says Thank You to OpenCollective For This Useful Post: [ View ] Gift OpenCollective Ad-Free
19th February 2016, 12:53 PM |#10  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
Quote:
Originally Posted by OpenCollective

Hey, great thread, just what a noob like me needs! Could you please explain what the difference is between "GSM", "NON-HLOS" and "GSM and NON-HLOS"?

Thanks
GSM is the modem itself and NON-HLOS (also referred as the WiFi fix) is flashed to fix compatibility issues with the WiFi. The Combined files just has both of these files together to make flashing more convenient
I'll add more detailed explanations to the OP as soon as I can
The Following 5 Users Say Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
19th February 2016, 05:01 PM |#11  
_Bon_Bon's Avatar
OP Senior Member
Flag The_Place
Thanks Meter: 844
 
Donate to Me
More
Sadly, I can't add the XXUHOL3 lollipop mode, as it's missing some bootloader files :/
On another note, I added one more KitKat file, XXUGNK4 and marked it as latest
I also updated the OP, as promissed, and updated the MoBo_Maker

Enjoy!
The Following User Says Thank You to _Bon_Bon For This Useful Post: [ View ] Gift _Bon_Bon Ad-Free
Post Reply Subscribe to Thread

Tags
bootloader, guide, i9505, modem, odin

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes