[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Warning: This post is slightly technical and intended for people running Linux who are way behind on their modem/bootloader/other updates and don't want to (or can't as in my case) install Windows to update that way.

----------

Hey all a quick update for anyone who wanted to update the various firmware/modem type things. You may remember that I'd posted previously how to update your modem and lte via this command using the 5.0 modem files from the OTA...?

sudo ./heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin

Well, today that modem was updated with the 5.1.1 release, and I figured none of my other partitions have been updated since KITKAT:

$ bugreport | grep bootloader

androidboot.bootloader=N910TUVU1ANJ7

Yeah, that looks old to me. Since cm-13.0 has been giving me phone call coming in/out issues on TMO I had previously decided before I go any further I'm gonna try to bring my bootloader up to date along with my modem. But tonight I had a few moments, so I figured I'd risk bricking my phone to try to update everything. And since it (seems to have) worked, here's what I did for anyone who doesn't have Windows who wants to update their stuff on Linux (Ubuntu 15.10) on the Note 4:

1. Get Hiemdall (the open source version of Odin) following the instructions I posted here on how to get and build it.

2. get the latest 5.1.1 firmware OTA for Note 4. NOTE THAT I HAVE A TMOBILE (REGULAR TMO NOT TMO3 AND NOT XX OR ANYTHING ELSE).

3. Inside the OTA .zip you'll find a single file ending with .tar.mp5 which you can extract to your HD and rename to .tar

4. Inside that .tar you'll find some files, which you can extract into the same folder as the one with the heimdall executable (or somewhere else-- you'll just have to be specific with the paths later)

aboot.mbn boot.img cache.img.ext4 modem.bin NON-HLOS.bin recovery.img rpm.mbn sbl1.mbn sdi.mbn tz.mbn

There's also a system.somethingorother.ext4 file but it's 3.5 gigs and I didn't even want to deal with that right now.

5. You'll notice the modem files I mentioned above. Boot into bootloader ("download") mode on the note 4 and then:

sudo ./heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin

6. When your system reboots, you should be able to go to the settings->About this phone and see that your new modem is there. If it worked, and you feel really bold and want to update eveyrthing else, reboot into the bootloader download mode and then try this one:

sudo ./heimdall flash --ABOOT aboot.mbn --RPM rpm.mbn --SBL1 sbl1.mbn --DBI sdi.mbn --TZ tz.mbn

At least for me-- nothing bad happened, and now when I do:

$ bugreport | grep bootloader

androidboot.bootloader=N910TUVU2DOK2

Which is what I wanted. No guarantees that this will work for you too, but if you're on Linux and want the latest modem and bootloader and such, this may be one way to go.

Also you'll notice that I didn't use cache.img.ext4 or recovery.img or boot.img because i didn't want to replace those on my system. If someone could post a deodexed /system, I guess it would be worth updating the blobs for cm13. And I guess Samsung owes us a kernel which we could update.

Anyway, now that I'm up to date with my tmo phone and hopefully nothing bad happened, I'll try cm13 again and at least I could eliminate all those kitkat partitions as being the reason I was having the call in/call out issues.

ft

UPDATE: two quick notes:

1. I don't know what most of those partitions are.. TZ (timezone update?) aboot is a bootloader.

2. Not sure why the partition for sdi.mbn is called DBI but I got that from typing sudo ./heimdall print-pit and this was part of the output:

--- Entry #4 ---

Binary Type: 0 (AP)

Device Type: 2 (MMC)

Identifier: 5

Attributes: 5 (Read/Write)

Update Attributes: 1 (FOTA)

Partition Block Size/Offset: 182080

Partition Block Count: 128

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: DBI

Flash Filename: sdi.mbn

FOTA Filename: