[Verizon Galaxy Note 4 General] tripLr:
Hello,

In the process of flashing my note 4, several dozen times, it seems I overheated it while flashing and burned up my memory and got the dreaded memory error,

which requires you to either

1, buy a machine to remove the memory chip, solder in a new one, and reprogram it with a special flashing tool, ( probably several thousand dollars, with acccess to the correct flash file

or

2, buy a new motherboard

So,

I ordered a new motherboard from China, 29.00 on Alibaba.

When i received it it was already setup booted to a running 5.0.1 oem rom, with no user or other programs setup. I could not root it..

I tried several guides and found this one by @hsbadr

https://xdaforums.com/note-4-verizon/development/howto-bootloader-unlock-upgrade-to-t3398144

In the forum found this link to files needed

https://xdaforums.com/devdb/project/?id=15720#downloads

with this file

https://xdaforums.com/devdb/project/dl/?id=18880

and installed it via odin.

Both this guide

https://xdaforums.com/showthread.php?t=3360883

and @hsbadr guide shows to install kingroot, others show kingoroot, and others show to install a perm root after temp root.

In way with either my oem 5.0.1 or 5.1.1 could I root with kingroot, with any flavor of file! kingoroot would not install on either rom.

HOWEVER i was successful at using the PC kingoroot version with the above file mentioned.

CAUTION #1. make sure you have an antivirus installed to block some spyware. I used AVG with windows 7

CAUTION #2. dont click on any popups except to close them except for the main root screen

Root took about 30 sec with no reboots,

Caution : its a temp root that wont last on reboot

so continue onto

ADB & The Unlocker

install ADB to c:/ADB folder

copy the unlocker file to this folder or add c:/ADB to your path

Your phone should have been connected already with a usb cable to your computer. We need to verify your phone is found by adb.

open search by your home button in windows

search command or cmd

right click, open as administrator

change directory to your adb folder and

Type in the following command:

adb devices

Which should return the following

List of devices attached
123a12ab device

The 123a12ab is made up. Yours will be specific to your device.

If you see something listed like the above adb is working. Now on to the next command to move the unlocker to the phone.

Step 5.1: Send Unlocker to Phone with adb

Type the following command: adb push samsung_unlock_n4-fix /data/local/tmp/

If you get an error it’s because you a) typo b) file isn’t in the folder with adb.exe c) your phone is locked/screen is off d) usb debugging isn’t turned on in settings > developer options.

++++ modified, you should have temp root with kingoroot pc version

Step 6: SKIP -----Kingroot For Temp Root

Keep the adb window accessible you will need to be able to switch to it and enter in the commands below quickly as temp root is unstable. Be ready to copy or type them quickly.

Step 6.5: Work Quick With Precision

++++ modified

Open Root Checker so it’s ready to go. Check .

Once you do see successful root click the multi tasking button on the phone to switch over to root checker. Temp root is buggy and may crash. If it does repeat this process again with getting temp root and opening the apps in the correct order.

If you make it into root checker via the multi tasking button it will ask you to grant it root access, click yes, check for root. If it says you have root go to the command adb window and type these commands in quickly to verify root

you are now going to enter the linux shell on your device

adb shell
su

if you see the # prompt you are ready. copy and paste the following

cd /data/local/tmp/ && chmod 777 samsung_unlock_n4-fix && chown root.root samsung_unlock_n4-fix && ./samsung_unlock_n4-fix

The device will reboot and flash the developer code, shut the phone down by removing only the battery and usb cable.

+++++ edited

Step 7: One More Time to unlock the bootloader !!

Put the battery and cable back in and turn the phone back on.

Now repeat the kingoroot PC to gain temp root

Repeat step 6.5

After you send the last adb command and it will reboot and enter a bootloop . THIS IS NORMAL.

again pull the usb cable.

Pull the Battery

PULL THE SD Card and Keep the sd card out!

The sd card is unusable and needs a reformat, or you can keep it because it has a backup of your locked bootloader

Until you plug it into your computer and format it. It doesn’t matter when you format it if it’s not reporting the correct size. This will be fixed by putting it back into your phone AFTER you format it on your pc and formatting it on the phone.

Your bootloader is NOW UNLOCKED

reboot your phone,

and install TWRP via ODIN !!

++++ ignore this it wont work i tried . you need the androind kingroot or kingoroot to work. if u use kingoroot PC to root again, SUPERSUme will not find it .. waste of time

Step 8: Temp Root A Third Time

+++ Modified

Step 8: copy over a rom that you have already downloaded that you want to try

I reccomend this one

https://xdaforums.com/note-4/snapdragon-dev/oreo-8-1-0-unofficial-lineage-15-1-rom-t3760969

download the rom, and the gapps to your computer and transfer them to a clean SD card.

power off the phone and install the SD card with your rom files

++++ Now were going to do it !!!

Step 9: Odin the newest twrp

Turn the phone on and enter download mode by pressing and holding volume down + power + home. When it’s comes to the screen and says “Downloading” you’re ready to proceed.

Browse to your ODIN folder on your computer , right click, open as administrator the odin.exe file

In Odin3 where it says Files [Download] click AP and navigate to the folder you have the twrp file . select/open the file twrp-3.x.x.x-trltevzw.tar.md5

Turn off the automatic rebooting in the custom tab, DO NOT select the PIT tab

Press start

Once it finishes it will say Success or FAILED

IF it says FAILED start the process over, you didn't unlock the bootloader

Power off the phone with the pull battery method

Press and hold these buttons immediately to enter TWRP ,

volume up + power + home.

++++ this step 10 is outdated. see mine below

++++ There are other methods to root unless you want to root your stock 5.1.1 kernel and stay there

Step 10: TWRP & ADB Sideloading

Swipe to allow changes in TWRP. Click Advanced and then ADB Sideload. Swipe to start adb. On your computer open adb.exe from Step 4. On the command line interface in adb.exe

Type the following command: adb devices

Verify your device is there and says sideload.

Type the following command: adb sideload BETA-SuperSU-v2.71-20160331103524.zip

The phone will install Super SU, after it is finished we will install the new Kernel before rebooting.

You may need to re-enter ADB Sideload on the phone.

Type the following command: ab devices

Verify your device is there and sys sideload.

Type the following command: adb sideload Emotion-TW-5.1.1-nightly-r21-RC1-SM-N910P.zip

Reboot the phone.

If boots into 5.1.1 open root checker and verify you have root.

++++++

Step 11: TWRP rom setup the first time by @tripLr

power on phone to recovery by holding down <up> <home> then <power>

boot into TWRP, allow changes.

select backup , change to SD card

BACKUP your rootable device with the bootloader and modem and everything. Name the backup rooted-backup-everything-5.1.1

go to install but DONT install yet

Select your sd card.

You should see the files for the ROM you transferred from your computer

If You dont, you can boot back up, transfer the files appropriately . Then come back here.

Now go to Wipe, Custom, and select everything except external SD card.

THIS IS TO guarantee, no Kingoroot or kingroot stuff is in the phone !!!

WIPE IT TWICE !!!

Now install you ROM, and after your inital setup, come back to TWRP and do a full backup

every time you try a new rom, and get it set up, do a backup. that way you can switch and test to your hearts desire till you run out of SD memory.

The cool thing is you can backup to an external memory device ! more room !

Enjoy

Information Sources: felixtaf, ryanbg, kingroot, twrp, emotion, ibowtoandroid, shimp208, & urgodfather

I also posted this on reddit. https://www.reddit.com/r/galaxynote4/comments/4f8cgc/guide_a_noobs_guide_to_permanent_rootunlocked/[/QUOTE]