[Sprint Galaxy S 5 Android Development] Barabba11:
Hi everyone, after hours of experiments and some pain I've found the solution for G900P, thanks to Resurrection Remix.. they made really good job, I hiope you appreciate them and donate too.

This phone is tricky about the radio/network called baseband (network signal, call, sms, data) and stored into the bootloader. The MM releases may match the carrier who the phone was designed to work for (CSC) and it stop working if used abroad. Strange with Lollipop all was ok.. but to upload Nougat over a LP bootloader is dangerous.. and better avoid trying at all (for me was working but phone went hard bricked/no display after some hours).

Anyway the stock LP 5.0 that was working on my G900P was G900PVPU3BOK4_G900PSPT3BOK4_G900PVPU3BOK4_HOME.tar, but it asks after few min to upgrade to stock marshmellow and if you do.. probably.. bye bye baseband.

PROCEDURE:

Yes you can try to flash directly this RR ROM directly after flashing TWRP, here you are:

https://sourceforge.net/projects/resurrectionremix/files/kltespr/

I WOULD RECOMEND THE FOLLOWING: (since I suffer an hard brick flashing RR directly over LP bootloader)

backup everything (you will loose everything! except the content of your SD card). You may export your contacts to SD card and import them later.

Download latest MM stock SPR-G900PVPS3CQD1-20170526135620, find it here: https://samsung-firmware.org/model/SM-G900P/ I used the SPR version

Download the PIT file https://drive.google.com/file/d/0BzyeAt2hy6XeTF9hMzJua0J3UlU/view

Download latest TWRP for klte https://eu.dl.twrp.me/klte/

Download tartool https://xdaforums.com/showthread.php?t=2446269

Download RR and copy zip into your SD card: https://sourceforge.net/projects/resurrectionremix/files/kltespr/

Download latest Gapps ARM 7.1 and copy the zip into the SD https:/opengapps.org

Be sure you have installed the Samsung drivers, if not seach for them. Odin will not work if the drivers aren't installed. Have a high percent of charge of battery, and charger ready

Open Tartools, copy inside the folder the recovery.img of TWRP then launch the imagetotar bat file, use later the result file .md5 in Odin.

Since your dalvik cache and all other internal storage system folders may contain dirty/uncompatible data for this stock rom (for example you have a custom rom now) you need to clean them before flash the stock.. without that it you can stand at your phone and wait the boot 40 min without nothing happen, avoid it, switch phone in recovery mode (keep pressing volume up+menu key and press power), wipe/delete all data etc.

Now enter phone in download mode switching on phone with volume down + home button.

Open ODIN, put in AP the MM stock (wait until it scans oll the file), then put on PIT the .pit file, on options select Re-partition, F.Reset Time, Auto Reboot

Connect the phone USB and wait Odin recognize the COM, then press start.

Let the phone reastart and wait until it finish all (10-15 min, if you keep seeing log after this time then switch it off, go to recovery and wipe again, then reflash the stock rom), connect and keep phone under charger, check in the end of installation the network signal (have the sim card inside), try to call your number to check baseband works. Avoid putting any data/account, don't let anything update, it's a waste of time. You just need to check signal, you're going to wipe all this installation to install RR later so why lose time here.

Reboot again in download mode.

Close Odin and restart it, be safe and avoid use the same Odin you used before and that still open.. it has pit and repartition flagged.. you can forget forget to uncheck them.

Open Odin, place under AP the TWRP .md5 file and flash it. WARNING: when you press start flashing button be prompt and press already volume up and home key to reboot in recovery, yes press them during it is flashing (Odin will automatically reboot when flash is finished, and this time it will be very fast!)

When in TWRP recovery select wipe, advanced wipe, and wipe all except USB storage and SD card. Go on main menu and chose install, flash the RR, go again on main menu and now flash gapps.

Choose reboot to system, put phone under charger

Voilà!