[Sprint Samsung Galaxy S 4 Android Development] copticwalad:
I wish this ROM got more attention considering it's the only one currently that is based on 7.1.2 (others are 7.1.1 or earlier), and it is excellent, very lightweight and impressive memory. This is already Fully Rooted Systemlessly with the wonderful Magisk (Magic+Mask) No need to apply SuperSu, and this does fully Pass the Safetynet Check, meaning you can fully use Android Pay, Netflix, and any other apps that won't work with system root.

B140-commotio-jfltespr-01-23-2018 + open_gapps-arm-7.1-micro-20180218 and I found over 1.1 GB ram available right away. In case any newbies want a guide, check below. First read through and download everything and put it on phone/sdcard before proceeding.

1. Make sure you bootloader is unlocked (one time procedure for life of phone that basically allows modifications, google it but summary is Backup stuff -> Activate Developer Options -> Allow it to be unlocked, then some codes in bootloader/odin which will Unlock it and fully wipe everything. If you've flashed anything before you can assume your bootloader is already unlocked.

2) Flash Latest TWRP Recovery using Official App or .img file (flash in older version of TWRP) or tar for Odin. Latest version for Spring Galaxy S4 is always here. https://dl.twrp.me/jfltespr/

Directions and methods are here: https://twrp.me/samsung/samsunggalaxys4sprint.html

3) Download latest nightly of this ROM from here. Note: They are not in fully in chronological order http://www.emccann.net/dho/3-Vanir-mirror/4-nighties/jfltespr/ This is a mirror so look for link in 1st post or latest posts here if it doesn't work later.

4) Go here and download Google Apps (even if you want only Google Play Store and no apps). http://opengapps.org/ Galaxy S4 is always ARM platform, in this case 7.1 and take your pick of variant. This site is updated daily so you'll notice no need to update the apps once installed same day. I went with Micro, but heads up if you do want Google's Phone and Contacts App they can work as Defaults however you'll see almost identical ones from the ROM in naming and similar icons, which I believe are AOSP based etc... Go with stock if you want the google ones to replace stock.

5) Go into TWRP recovery by holding Home button + Volume Down + Power until you see the tiny text saying recovery, where you let go of the buttons. It will boot into recovery. Perform Advanced Wipe and select, Dalvik Cache, System, Data, Cache and then Internal if you want to wipe the internal storage card. Heads up on sdcard, TWRP and this ROM do read it properly when formatted as exFAT, however you may want to take advantage of Adoptable Storage afterwards.

**What's Adoptable Storage? Basically you have option to use SDcard like a portable flash drive or as a fully encrypted internal additional storage... meaning you have to wipe it, then you can only put files on it through the phone or by connecting pc to phone with usb cable MTP mode. If you try to take sdcard out and pop it in pc, you won't see it due to fully hidden partitions. I used to wonder if this was beneficial because of inconvenience, and in my opinion after personally using Nexus 6P and Pixel XL without sdcards, along with Nvidia Shield Android TV with 128 GB Adoptable Storage, it is amazing if you need to install large apps, simplify storage 1 instead of 2,. Also and more importantly, if you lose your phone+flash drive you don't need to worry if you had phone encrypted and locked with a PIN or any security method, as no one can read the card.

6) After Advanced Wipe, go ahead to Install and point it to the B140-commotio-jfltespr-01-23-2018, Add more zips, open_gapps-arm-7.1-micro-20180218. After that's done, no need to wipe dalvik/cache cause you already did and Reboot System and wait about 5 - 15 minutes. If everything's correct you'll see the Google Set up at beginning. I recommend checking the on screen navigation buttons in Settings, as it does properly disable the capacitive buttons conveniently and are programmable. Other recommendations are Nova Launcher, and a quick online search for adaway (get the apk, not the F-Droid store). You should be good to go. Enjoy!