[T-Mobile Samsung Galaxy S 5] mapobean:
I did not see anything here that would be a clear guide to help people wanting to retain Knox so i am adding this. Original guide was made by _Sale_ the developer of NeatROM but i used his guide to successfully flash many different ROMs and retain (Knox 0x0). i really wanted to use Alliance ROM but it appears that the install instructions only work if the ROM is installed with Aroma (Alliance is not) but if you really want Alliance or similar ROM that does not have the Aroma installer i have a small trick. Download a ROM that utilizes Aroma and double click (do not extract) the zip file, now do the same for the ROM you would like to install without the Aroma installer. When both ROM zips are open the Aroma installer ROM and click system and delete all files inside, now drag all the system files from the Recovery flashable ROM into the Aroma system folder. Now so the same for the data folder. I personally left everything inside the aroma folder within the Aroma zip but you can add and delete what you want. Now put the Aroma zip on your SD and follow the directions below. This worked flawless for me and i now have NH5 across the board rooted and Knox 0x0 running Alliance ROM. Hope this helps for those who have not been able to find a clear guide.

Installation Instructions: If you're coming from a Samsung stock NON-Rooted ROM before NG2/NG7/NG9/NH4/NH6 (KNOX 0x0)

1. Backup your Internal SD to your PC

2. Go to Settings/Security/ and UN-TICK "Reactivation lock"

3. Go to Settings/Security/Security policy updates/ and UN-TICK "Automatic updates"

4. Go to Settings/Security/ and UN-TICK "Send security reports"

5. Go to Settings/About device/Software update/ and UN-TICK "Auto update"

6. Root your phone with Towelroot---pic1---pic2

7. Reboot and install SuperSu from the PlayStore

8. Run SuperSU and select "Continue", "Normal" and "OK". ---pic1,---pic2,---pic3 Wait a few seconds and then reboot device

9. Run SuperSU again and select "Try to disable KNOX"---pic1,---pic2

10. Reboot and download NeatROM onto your phone

11. Check the md5sum of the NeatROM.zip

12. Purchase and install Mobile Odin Pro

13. Run Mobile Odin Pro---pic1---pic2

14. Load the NeatROM.zip file with "OTA / Update ZIP"---pic1,---pic2

15. UN-TICK "Enable EverRoot" (NeatROM is already rooted)---pic1

16. UN-TICK "Wipe data and cache"---pic1

17. UN-TICK "Wipe Dalvik cache"---pic1

18. Select "After flash..." then select "Download mode"---pic1,---pic2

19. Select "Flash firmware"---pic1

20. Once the Aroma Installer starts, select the options that you would like to install

21. When the ROM has finished installing, and at the end of the installation process in Aroma, UN-TICK "Reboot Device"---pic1

22. When the phone goes into Download Mode, download and open PC Odin

23. Extract and flash MODEM (load as CP) and BOOTLOADER (load as BL) in ONE STEP---pic1---pic2

24. If something goes wrong and your device will not boot after flashing, try to remove the battery for a few moments and then put it back in, press and hold VolumeUP + Home + Power to boot the device into recovery mode and do a "wipe Data/factory reset" then "reboot system now"

25. Go to Settings/Security/ and UN-TICK "Reactivation lock"

26. Go to Settings/Security/Security policy updates/ and UN-TICK "Automatic updates"

27. Go to Settings/Security/ and UN-TICK "Send security reports"

28. Enjoy your NeatROM with KNOX 0x0

Installation Instructions: If you're coming from a Samsung stock NON-Rooted NG2/NG7/NG9/NH4/NH6 ROM (KNOX 0x0)

1. Backup your Internal SD to your PC

2. Download, extract, boot the phone into Download Mode and flash this ROM using PC Odin (use AP on Odin)---pic1,---pic2

3. Boot the phone normally. If something goes wrong and your device will not boot after flashing, try to remove the battery for a few moments and then put it back in, press and hold VolumeUP + Home + Power to boot the device into recovery mode and do a "wipe data/factory reset" then "reboot system now"

4. Go to Settings/Security/ and UN-TICK "Reactivation lock"

5. Go to Settings/Security/Security policy updates/ and UN-TICK "Automatic updates"

6. Go to Settings/Security/ and UN-TICK "Send security reports"

7. Go to Settings/About device/Software update/ and UN-TICK "Auto update"

8. Root your phone with Towelroot---pic1---pic2

9. Reboot and install SuperSu from the PlayStore

10. Run SuperSU and select "Continue", "Normal" and "OK". ---pic1,---pic2,---pic3 Wait a few seconds and then reboot device

11. Run SuperSU again and select "Try to disable KNOX"---pic1,---pic2

12. Reboot and download NeatROM onto your phone

13. Check the md5sum of the NeatROM.zip

14. Purchase and install Mobile Odin Pro

15. Run Mobile Odin Pro---pic1---pic2

16. Load the NeatROM.zip file with "OTA / Update ZIP"---pic1,---pic2

17. UN-TICK "Enable EverRoot" (NeatROM is already rooted)---pic1

18. UN-TICK "Wipe data and cache"---pic1

19. UN-TICK "Wipe Dalvik cache"---pic1

20. Select "After flash..." then select "Download mode"---pic1,---pic2

21. Select "Flash firmware"---pic1

22. Once the Aroma Installer starts, select the options that you would like to install

23. When the ROM has finished installing, and at the end of the installation process in Aroma, UN-TICK "Reboot Device"---pic1

24. When the phone goes into Download Mode, download and open PC Odin

25. Extract and flash MODEM (load as CP) and BOOTLOADER (load as BL) in ONE STEP---pic1---pic2

26. If something goes wrong and your device will not boot after flashing, try to remove the battery for a few moments and then put it back in, press and hold VolumeUP + Home + Power to boot the device into recovery mode and do a "wipe data/factory reset" then "reboot system now"

27. Go to Settings/Security/ and UN-TICK "Reactivation lock"

28. Go to Settings/Security/Security policy updates/ and UN-TICK "Automatic updates"

29. Go to Settings/Security/ and UN-TICK "Send security reports"

30. Enjoy your NeatROM with KNOX 0x0