[Verizon Galaxy Note 4 General] JacekRing:
/*
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

IMPORTANT: Read the ENTIRE instructions set before starting, make sure you know what you are getting into. I have been as straight forward as possible with my instructions to assist noobs with the procedure.

Mission Statement

The purpose of this post is to combine the following 4 guides, in an easy to read manner to help people get from a stock Note 4 Version running 6.0.1 to a fully rooted Note 4 running CM13.0

Guides Referenced and Summarized:

[Guide] A noob's guide to Perm Root & TWRP on Verizon Note 4 Retail 5.1.1 (BPA1) http://xdaforums.com/note-4-verizon/general/guide-noobs-guide-to-perm-root-twrp-t3360883

[HOWTO] Bootloader Unlock and Upgrade to Marshmallow [N910V] http://xdaforums.com/note-4-verizon/development/howto-bootloader-unlock-upgrade-to-t3398144

(no title, sub post #1403, describes going from CPD1 to Jasmine with CPF3 and Firmware/Kernel Patch) http://xdaforums.com/showpost.php?p=67481370&postcount=1403

[ROM] [6.0.1] [UNOFFICIAL] CyanogenMod 13.0 [Jul 24, 2016] http://xdaforums.com/note-4-verizon/development/cyanogenmod-t3253973

I will use large chunks from some of these guides, skip some parts not necessary and/or extrapolate/modify on the instructions given within.

Thankx & Achnologments

Main Contributors (I plagiarized, quoted, or sourced)

Robots_Never_Die

hsbadr

Tech Support

BickNasty

Feel like I missed you, it wasn't intentional....PM me and I'll consider adding you, if I feel you actually contributed in some way or I copied your work.

Satisfied Customers (Did my method work for you? Post a reply and let us know, I'll add you to the list)

jwp1299 - 1 hour

Viper-Link

keviinese - 1.5 hours

pfcland - 1.5 hours

Required Apps (Google Play) All Free

Search for and install these apps

eMMC Brickbug Check (free)

Required Downloads (note on version numbers: version numbers I specify are ones available at the time I wrote this guide. For most tool grab the newest version, such as Odin/ADB)

NOTICE Total size of Downloads is approximately 7 GB, some of the links may be slow! Time required may vary due to your network speeds, and luck with speeds from file hosts. (expect several hours)

ADB – minimal_adb_fastboot_v1.4.0_setup.exe

Odin - newest version (3.12.3 at time of writing)

Kingroot - Grab latest stable version, only grab NewKingroot(XXXXX).apk

Samsung USB drivers (windows) - newest version

Bootloader Unlock - samsung_unlock_n4-fix

TWRP - twrp-3.0.2-0-trltevzw.tar.md5

N910VVRU2BPA1_N910VVZW2BPA1_VZW.tar.md5

N910VVRU2BPA1_N910VVRU2CPD1_FullFirmware.tar.md5 (Alternate Torrent if slow: Torrent started by pfcland)

JasmineROM_v7.0_N910VVRU2CPF3.7z

N910VVRU2CPF3_PartialFirmware_PatechedKernel.tar.m d5.7z

Gapps For ARM SDK23 (Android 6.0) (mini version is recommended)

UNOFFICIAL CyanogenMod 13.0 Builds for Verizon Samsung Galaxy Note 4 (SM-N910V) (grab newest from top)

Xposed framework for ARM SDK 23 (NOTE: Grab both the xposed23.zip and XposedInstaller****.apk)

XPosed is OPTIONAL, but there are a lot of rooted apps that use the XPosed framework to get more control over your phone. Such as hiding mock locations for example.

NOTE: Internet is REQUIRED for KingRoot to function (grants temporary root, so ADP commands can be executed to unlock bootloader), at one point WiFi will NOT function but internet is still required. So a valid SIM with internet is required (Verizon will definitely work, others might[/] work)

NOTE: The entire installation will take an estimated 1-2 hours. (Not including time spent downloading) All steps are MANDATORY, do not SKIP anything....You've been warned

Install eMMC Brickbug Check (free) on your phone, and RUN IT. Your CID MUST start with 15. If it doesn't I can't help you, and this guide is not for you.

Install the Samsung USB drivers on your windows PC

Backup your phone, if you don't know how.....google it...And learn how, you will want to backup frequently. Every time you get to a point you can boot up into Android, backup...it's safer for you...I will not remind you again, this is on your head.

Disable Encryption on your phone, both the SD card and Device

Disable Samsung Phone Lockout. YOU MUST DO THIS OR ELSE!!!! (Settings > Security > Reactivation Lock)

Do 2 factory resets on your phone, one after another (hold volume up, home button, power when starting to enter recovery mode where you can reset phone). Not required but if you don't, you'll spend an extra hour or two doing this because Kingroot will crash/fail more often.

Boot up your phone in Download Mode (hold volume down, home button, power)

Open Odin3, Click the AP button and select the file N910VVRU2BPA1_N910VVZW2BPA1_VZW.tar.md5, once it checks it, goto options and make sure the Re-Partition is NOT selected. Now click start to flash and downgrade to Android 5.1.1.

Turn on your phone, and let it boot up.

Skip everything possible when setting up your phone. Don't even put in a google account, not necessary

Goto Setings and set the following

Settings > Security > Reactivation Lock = Disabled (EXTREMELY IMPORTANT, VERIFY)

Settings > Security > Unkown Sources = Enabled

Settings > Developer Options > USB debugging = Enabled

Developer options are unlocked by going to Settings > About Phone. Find "Build Number", and start clicking it till you get a message that Developer Options have been unlocked (about 10 clicks I believe, never counted).

Settings > Developer Options > Verify App via USB = Enabled (should be by default, CHECK)

Settings > Lock Screen = None

Settings > Display > Turn off Display = 10 Minutes

Plug your phone into your computer via USB, copy the NewKingroot****.apk to your download directory (samsung-sm-N910V\Phone\Download)

Install ADB onto your Windows PC. Select an easy directory such as c:\ADB

Copy the following file directly into the ADB directory

samsung_unlock_n4-fix

Open up command line interface. Hold windows key & press R key for run, type in "cmd" press enter. Will open a terminal window for you. Type the following commands:

cd\

cd adb (or whatever you named your directory where you installed ADB)

adb devices

This should return a list of devices you have connected, something like:

List of devices attached
SerialNum device

If no devices are displayed, check you have the Samsung USB drivers installed properly.

Type the following command

adb push samsung_unlock_n4-fix /data/local/tmp/

Got an error? check your spelling (or copy/paste from me), check you put the file into the ADB directory (not just a link), your phone must be on and screen not locked and check you have usb debugging enabled.

BTW: Do NOT CLOSE the window unless I instruct you to!

Install Kingroot on your phone, which you previously moved into your downloads folder, you can find it via My Files app that comes with phone.

Now run KingRoot. Flip down to the bottom and click "Try It", it will run some quick test then give you a button to try to root your phone.

Wait...Wait...Do not worry if your phone restarts, it will go back into KingRoot automatically on reboot. Just sit back and wait, it may fail multiple times and you may have to re-run Kingroot. Just keep trying . Once it succeeds you must do the following IMMEDIATELY AND AS FAST AS POSSIBLE. Kingroot is HIGHLY UNSTABLE.

On the windows PC, back in the command window you left open. Start Typing.

adb shell

su

cd /data/local/tmp/

chmod 777 samsung_unlock_n4-fix

chown root.root samsung_unlock_n4-fix

./samsung_unlock_n4-fix

After the last command it may prompt you to type yes, do so immediately. it won't write on the screen but type yes anyway for it to continue. Once it's done it should automatically start to reboot your phone. Unplug it and pull the battery, wait 5 seconds, put battery back in and plug the phone back in.

This was the initial setup for unlocking your bootloader, you now have to run it AGAIN so turn your phone back on. Repeat steps 22-24, after the 2nd time PULL OUT YOUR SD CARD BEFORE TURNING ON YOUR PHONE

Congratulations you now have an unlocked bootloader, you can close the command window on your PC.

The SD card has a restore point for your phone prior to removing your bootlock. Save it if you want, or plug into your phone and format the 18mb partition you are able to. You must format it on a PC before you can use it again in a phone!!!! Will shut your phone off immediately if you put the SD in without formatting that 18mb partition.

Now reboot your phone into download mode (hold volume down, home and power buttons when turning on)

Open Odin App on your PC, Click the "AP" button and select the file twrp-3.0.2-0-trltevzw.tar.md5 (which you downloaded earlier). Once it does it's check, verify that re-partition is NOT selected in options. Now click start to flash twrp bootloader.

Your phone will restart, re-enter download mode. If you missed it pull cable/battery and try again.

Now extract and flash N910VVRU2BPA1_N910VVRU2CPD1_FullFirmware.tar.md5 via Odin, same as you did with twrp. VERIFY THAT RE-PARTITION IS NOT SELECTED IN OPTIONS.

Boot up in recovery mode (hold volume up, home and power when turning on) (note: no longer TWRP since you flashed firmware, will look different again)

"Wipe data/factory reset ", then reboot your phone.

Now repeat steps 9-12 (NewKingRoot should still be in your downloads, but verify anyway) (NOTICE: wifi will NOT work with the CPD1 firmware, but Verizon internet should in case you need internet for some reason, wifi will restore later in guide - Other internet from other providers MIGHT work with proper APN settings)

Install a clean SD card into the phone.

Now repeat steps 15-25. This time you should only need to run the samsung_unlock_n4-fix file once to break your boot. This is what it typically says on successful bootloader unlock: (if you got this message, pull the battery, cable and SD card.)

root@trltevzw:/ # cd /data/local/tmp/
root@trltevzw:/ # chmod 777 samsung_unlock_n4-fix <
root@trltevzw:/ # ./samsung_unlock_n4-fix

============================== samdunk unlock 0.0.1 ==============================

NOTE 3 BETA UNLOCK!!!!!!!!!!!!!

this application comes with NO WARRANTY (express or implied)
this binary may not be rehosted, repackaged, one-clicked, etc.
there is no support provided for this application
this application has been tested on the Verizon Galaxy S5 only
it may work on the AT&T Galaxy S5, and possibly other similar Galaxy devices
there are no compatibility checks, do your research first
if run on an incompatible phone, it will likely permanently ruin the device
we STRONGLY advise against running any binary not obtained from the official source
official source is available at http://github.com/beaups/SamsungCID
SD card is required, all data on the SD card will be destroyed
changing to this developer CID may have other implications
the psn derived from the CID may be used for critical services
changing this psn may cause unexpected behavior or loss of services
continue at your own risk, you've been warned

aboot dev signature research credit to ryanbg
http://xdaforums.com/member.php?u=766721

eMMC vulnerability, exploit, and the code you are running by beaups (sean beaupre)
http://xdaforums.com/member.php?u=711482

Do you understand the implications of these warnings?

(Yes/No)

[+] CID at boot time is/was: 150100523231384d4100657e54fc1200
[+] dev CID matching, proceeding to unlock
[+] backing up loaders, this will take a few minutes
[+] loaders successfully backed up
[+] success! powering off device, hopefully its not bricked!

Now boot back into download mode

Flash TWRP via Odin again (I'm summarizing greatly now, as you should by now understand this kind of shorthand)

Ok, now boot up into TWRP recovery mode (vol up, home, power)

Navigate through TWRP menus to create a Backup. Click Backup Button, and swipe to create backup. (this is just so that it creates the directory structure on your phone)

Click the Reboot System button, skip all the setup you can again. (DO NOT INSTALL SUPERSU!!! will cause bootloop)

Extract the "JasmineROM_v7.0_N910VVRU2CPF3.7z" file it will create a directory called "JasmineROM_v7.0_N910VVRU2CPF3".

Plug USB into phone and to computer. Copy the JasmineROM_v7.0_N910VVRU2CPF3 folder into \Internal storage\TWRP\BACKUPS\Phone SN\

Reboot into TWRP recovery

Click the Restore button (DONT start the restore yet!!!), and check that your JasmineROM is listed as a recovery option. (don't recover YET) If it's not there you copied it into the wrong directy, try again before proceeding.

Go back to the main menu, Click the Wipe button. Click the 'Advanced Wipe' button, and wipe the following cache/dalvik/system/data

Go back to Restore (from 2 steps ago) and run the JasmineROM_v7.0_N910VVRU2CPF3 recovery, return to main menu afterwards

Go to wipe, and wipe the cache/dalvik only this time.

Reboot into download mode

Flash the N910VVRU2CPF3_PartialFirmware_PatechedKernel.tar.m d5.7z file via Odin

Reboot the system, this will take a LONG TIME. WAIT for it. (if reboot takes >10 min, pull battery and restart)

Once it boots up, skip all the setup again. Copy the CM13, Gapps and XPosed (both zip and apk) to your downloads. Don't unzip anything, not necessary.

Now reboot into recovery go to WIPE and do a factory reset by swiping.

Then goto Install (still in recovery) and install CM13, then Install Gapps.

Reboot your phone, this time you are setting up properly reboot will take a while to optimize your apps depending on Gapps version used. So do all your setup as you want your phone setup. Once that's done, restart the phone in recovery. (if reboot takes > 5 min, pull battery and restart)

Install via TWRP the XPossed.zip file.

Reboot your phone, once on. Navigate via My Files, to downloads and install XPosed.apk

CONGRATULATIONS. You now have a fully Unlocked, Rooted Note 4 Verizon with CryanogenMod 13.0 installed and XPosed Installed.

Suggested Apps

Kernel Auditor [ROOT], will allow you to adjust kernel settings. Such as CPU clock speeds and thermal throttling, if your phone is too hot.

Note: About ROOT[/], you will have root once you finish this guide. But it is disabled by default, you can enable root in developer options (no reboot required when changing). Unlock your developer options again, and scroll down you will see an option to enable/disable root. This allows you to keep turn off during normal use, and only enable it when you need to install an app that requires root. You can always just leave it on all the time, that is your choice.

Note: Some apps on Google PlayStore will become unavailable due to incompatibility (according to google, HA). Such as YouTube Music, you will no longer be able to install it through the store. But you can install it by using an APK site, such as APK Downloader. On this site you find the app you want on play.google.com, copy the HTTP link and put it into the APK Downloader and it will generate a direct download link to the APK file. Copy onto your phone and sideload (ie. install) through file explorer. I don't endorse them, they are just one of many places you can get APK files.

Change Log

7/28/2016

Another success story :good:

Added note about how root works in CM 13.0

Corrected Step 34

Minor text adjustments, for clarification

Made note that wifi doesn't work with CDP1 flash

Added note that you MUST HAVE a valid sim card with internet access for step 35! KingRoot requires internet to function, and Wifi will NOT WORK after flashing CPD1 firmware (incomparable drivers).

Added another note about internet at the top of the instructions, to make sure people are aware.

7/27/2016

Added Bicknasty to the Contributors list - helped resolve issues I had with CM 13.0 kernel & modem.

Added a note to downloads section regarding total size of files downloaded and expected time.

Re-wrote steps 40-48 to make it easier to understand. Adding some steps and explaining in more detail.

Added note at the top to read ALL the instructions once before starting

Added note with the estimated time to perform all the steps

Added note suggesting Kernel Auditor app, and made reference to the fact that some apps on playstore will NOT install from playstore. Suggested APK Downloader for apps not available from store

Added a Success Story Section :cool:

Added note on how to enable developer options