[Sprint  Galaxy Note 4 Android Development] tx_dbs_tx:
[ROM] [N910PVPS4COK1] [100% Stock, Root, Odexed&amp;Deodexed, No KNOX/Itson] [12/15/2015]

Once again I bring to you two completely stock builds of Android TW-Lollipop 5.1.1 (N910PVPS4COK1) for the Sprint Samsung Galaxy Note 4.. Both ROMs are built from the official Samsung tar ball. The ROM will self root upon flash and it has init.d/busybox support. Knox and Sprint Itson has been removed. Both ROMs are completely stock with all of the original factory installed apps. Available in odexed and deodexed. Both ROMs are identical other than one being odexed and the other deodexed. Also included in both ROMs in this thread is the stock OK1 modem and APN patch to ensure you have the latest modem & APN's from the latest OK1 software.

Other than the removal of Knox and Sprint Itson, these roms are 100% stock in every other way. They are stock and will stay that way. Please don't ask for mods, changes, etc in this thread. These roms are intended for those people who want the stock roms in their original form with the addition of root and removal of Knox & itson, as well as other members who need a good solid base for their rom projects. I give permission for other dev's to use this rom as your base ONLY if you contact me prior to using it. If I find users using my work without proper credits I will report you and make you look like a fool I promise. Do the right thing and give credits to people for their time and work. It's a curtesy and respect thing nothing more. With that said, I highly recommend other rom chef's/dev's to use this base rom because it is bug-free and built from the official Samsung tar ball. Last but not least, if you appreciate my work please press that Thanks button, rate this thread and consider a kind donation! Enjoy!

Mods and fixes will be in post #2 below.

Important Notes: Before flashing ANY Lollipop 5.1.1 TW-based ROM, including this one, you

MUST

first do one of the following:

1. Take the Lollipop OK1 ota update on your phone. (Start by being on the stock unrooted OJ6 rom then take the OK1 ota update)

2. Odin flash the stock OK1 rom tar using odin on your PC. Thanks [MENTION=4375749]samep[/MENTION]

http://xdaforums.com/showpost.php?p=64337077&postcount=115

Once you have correctly updated your Note 4 to Lollipop 5.1.1, software version N910PVPS4COK1

DO NOT

... I repeat,

DO NOT

attempt to root your phone with CF-auto root or other methods. It will soft brick your phone. Instead, you

ONLY

need to flash the latest TWRP recovery using odin on your pc. Nothing else. The ROM zip will automatically root your phone.

If you are still on any KK or Lollipop 5.0 TW-based ROM such as NIE, NK2, OB7, OE1 , OF5, OB7 or OJ6 (including any KK AOSP/CM-based roms) then you

MUST

first update to Lollipop 5.1.1 OK1 by one of the two methods I mentioned above

BEFORE

flashing this ROM. Failure to properly update your device partitions to 5.1.1 OK1 firmware absolutely WILL cause problems. You have been warned. Please don't ask for help if you did not follow my simple instructions and warnings.

Flashing instructions: ***Before beginning the flash/setup process MAKE SURE your battery has at least 50% charge and/or connected to the charger!!!***

1. Backup anything you don't want to lose off your internal and external storage to another location just to be safe.

2. Download the rom using your pc. (downloading with your phone has a much higher risk of file corruption. Not recommended with large files).

3. VERIFY the MD5!!! Once the download has finished, compare the androidfilehost MD5 using a MD5 tool on your pc. (Google "md5 checksum windows") for a good MD5 tool for your pc.

4. Put the downloaded rom onto your internal storage or external micro sd card.

5. With phone powered off, reboot into recovery by pressing and holding volume up, power and the home button until you see the Samsung logo then release all buttons.

6. Once in recovery choose the wipe button and do a factory reset three times. Optional but recommended is to wipe "Data". This will wipe all of your user data such as google accounts so MAKE SURE you backed up first like I said in step #1 above! Next go to "advanced wipe" and select all of the partitions EXCEPT micro-sd card and internal storage. Internal storage is optional but recommended when first updating to a major software revision such as 4.3 to 4.4 or 5.0.1 to 5.1.1. The reason is to remove left-over data from previous version of Android and start with a clean slate.

7. Choose the "Install" option and select the rom "Sprint_Stock_N910PVPS4COK1_XXX" from either your internal or external micro-sd card. It will flash the rom and give a confirmation once completed.

8. Press "Reboot" then "reboot system". You will get a prompt warning about not having root. Please IGNORE IT and DO NOT allow TWRP to apply root! If you do then you MUST wipe everything and start over at step 5 above and reflash the rom in order to get rid of the traditional root system binaries. ***Please pay attention and

DO NOT

let TWRP install root. Ignore the "No Root" warning.***

9. Initial rom "optimization" will take several minutes for the deodexed rom while ART builds its cache (the odexed rom takes much less time for first boot). The phone will remain on the yellow Sprint Spark screen for about 10 -13 minutes during this time. Let the phone optimize for at least 13 minutes (for the deodexed rom) and the screen will eventually turn off or show the setup wizard once it finishes. When the screen turns off, simply turn it on and proceed to setup your phone.

10. Once finished with the setup wizard, wait a few moments and the phone will automatically install the Sprint apps. You must either "accept" or "disagree" with each and every google prompt for these apps or else the installs pause until you do so.. Also you will be prompted for the "connections optimizer". Quickly set it to what you want and close it. That's it! You're done!

One last bit of important information... If you allow any system update or Samsung security update to install it WILL break root. I advise everybody to disable automatic updates which is located in Settings/System update.

You can allow an update to install but you will then need to flash the beta systemless SuperSU packages located in HERE in order to regain systemless root.

Credits:​

@Chainfire for root and SuperSU. Without him we would not have root. Thank you!​

@TeamWin for TWRP recovery. http://teamw.in/project/twrp2 and here​

General disclaimer:​

flashing anything on your device is done at your own risk. There is no way myself or any other developer can guarantee that flashing this ROM or any other file will not brick your device or otherwise cause some other type of damage. This is just a standard warning. I am not responsible for anything that you do to your device. However, all of my roms, mods, etc are pre tested by myself and other testers prior to public release.

Sprint_Stock_N910PVPS4COK1_Odexed​

Sprint_Stock_N910PVPS4COK1_Deodexed​

XDA:DevDB Information

Stock-Rooted-N910PVPS4COK1, ROM for the Sprint Samsung Galaxy Note 4

Contributors

tx_dbs_tx

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.10.x

ROM Firmware Required: N910PVPS4COK1

Based On: SPR-N910PVPS4COK1-20151209172046

Version Information

Status: Stable

Stable Release Date: 2015-12-15

Created 2015-12-16

Last Updated 2015-12-16