yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] awanderingponderer:
The reason to flash the nk2 kernel is to install the files the bat file puts on your phone in the beginning. But the phone won't boot with the nk2 kernel so after its done doing its thing you have to flash back to pb1 kernel (or whatever kernel matches your firmware)

At least that's how I understand it. Feel free to correct me if I'm wrong
[Verizon Galaxy S 5 General] GeTex:
There's a section in the OP called understanding the process
[Verizon Galaxy S 5 General] LordManuel:
"The end result is that we can then flash our kernel back to Lollipop and then use the exploit to allow kingroot to install it's root method, and then shortly after, we are able to use supersu me to remove kingroot and install SuperSu. Your original kernel is important but for the most part you should all do this on PB1 anyways. NI2 or NK2 are both kitkat kernels and can be used(one is included in the zip)to accomplish this process. because you clearly are not on a Kitkat system it will FREEZE while booting because it's not supposed to boot a lollipop system. So In order for root.bat to work(or root2.bat) you MUST flash a kitkat kernel(NI2 or NK2) and once it succeeds you must flash your original kernel(probably PB1) "

I did read this originally and I totally did not recognize the importance of that last part. What I'm taking from this is that I need to flash the NK2 kernel prior to running the .bat file, . . . but the .bat file instructs you to flash NK2.

Another way I can understand it is that it

will

freeze during rebooting if the NK2 kernel has been flashed, but isn't rebooting part of the flashing process?

Whew, I'm deep in the rabbit hole now.
[Verizon Galaxy S 5 General] cozz33:
Issues after flashing NK2_kernel.tar file

I've never done anything like this before so i'm pretty unfamiliar with a lot of the terms used but after I flash the NK2_kernel file Odin3 says Pass! and my phone restarted to the samsung screen. My problem is it's been on the samsung screen for about 20 min. Could someone help me out?
[Verizon Galaxy S 5 General] GeTex:
I'm getting a bit tired of answering those who don't look at my explanations, but its simple

You cannot use the root exploit on a lollipop kernel, so we flash a NK2 kernel, you can't flash a NK2 system

So if you have a NK2 kernel and lollipop system, it won't boot, but you should know that just because your screen stops, doesn't mean the device is useless

Once nk2 is flashed and you continue the bat file, it connects to the phone and works its magic, even while its frozen(screen means nothing) so once you complete the bat file, it will need PB1 flashed back to it, once you flash to PB1, it will boot, and kingroot will install the exploit
[Verizon Galaxy S 5 General] sjla:
It works and I'm now using RESURRECTION REMIX ROM after Unlock my Bootloader

Thanks
[Verizon Galaxy S 5 General] SODA8297:
So I installed the PB1 With Odin..... Pass Green but I'm still waiting for it to boot stuck in the verizon screen I think is more than half hour :/ ..... I didn't want to post before reading carefully all the instructions but I didn't find a solution...... after restaring the phone started to load normally.... so going for the next step.
[Verizon Galaxy S 5 General] Barabba11:
Read the detailed guide u see in my signature, and let experts using their time for important goals like unlocking cid11 bootloader
[Verizon Galaxy S 5 General] nura380:
When i followed all the instructions word by words the odin still refuses to flash any of the kernels, infact I've never succeeded in flashing any official kernel on my Verizon s5,it just freezes when odin says "md5 check successfully..leave cs...". Here is the spec below may be you can figure out the cause---Product Code: Not Active

PDA: G900FXXU2BOK3

CSC: G900VVZW2BOK3

Baseband: G900VVRU2BOK3

Bootloader: G900VVRU2BOK3
[Verizon Galaxy S 5 General] PalmCentro:
Hmm, flash pb1.
[Verizon Galaxy S 5 General] GeTex:
Your not even running a Verizon firmware...
[Verizon Galaxy S 5 General] nura380:
Bit i just cant get it when i boot to download mode it clearly shows 900V. Can you explain that. Or is it samsung that customized the phone by flashing a wrong firmware.
[Verizon Galaxy S 5 General] GeTex:
Do you not read you are running a G900F firmware, flash the PB1 full ship because ur not on PB1
[Verizon Galaxy S 5 General] lostinyou2510:
"type toolbox does not exist" while trying to root

Please ignore, I figured out what I was doing wrong, I'm rooted now.
[Verizon Galaxy S 5 General] benjaminswinn:
FOOD for THOUGHT if you are having problems with this tutorial.

I finally decided to upgrade from kitkat as i felt my data and phone service was lagging on the old firmware.(i rooted my S5 KK 2 years ago and never looked forward)

plus i was just ready for something new

Plus my wife got a new phone so i have her old S5 to fall back on.

After 10 tries from beginning to end i could not get root.

Extremely frustrated when i knew it was possible since i had got it working on my wife's old S5 several months ago. (It has a slightly burnt screen so Id rather not use it as my main).

So i went to the old folder on my PC with the files i downloaded months ago. (I rarely throw working phone methods and mods away)

I noticed that the Root.bat file had a part 2.

For whatever reason (i believe driver/windows issues) My PC ran the Root.bat and root2.bat much easier than the newer combined root.bat

The separated root.bat file worked first try.

IN CONCLUSION

always install drivers

Turn off Virus Protection before unzipping either new or old "lolliroot"(my AVG tried to pull the KD file from the CRC file folder)

If problems persist try older method with root2.bat

or

try on different PC. (could not root an acer tablet on my PC but could on my wifes PC.)

***i know i have hundreds of Android Drivers installed on my PC ( i have 4 kids each with different tablets and phones...my old phones...wife's old phones..friends and family's old phones)

which are bound to cause conflicts on an old PC****

Windows 7x64 AMDx4 8g

Big Thanks to the man jrkruse and everyone here at XDA
[Verizon Galaxy S 5 General] GeTex:
I'd like to inform you the bat files i wrote and the old ones are no different, in fact you fail to understand that there was no 2 part bat file, root.bat was the same as the new one, the new one has fixed English and more interactive prompts to avoid confusion. root2.bat just skips kernel flashing and apk installing. Beyond that there is zero difference between the two. your lack of understanding and false information could greatly derail the thread that already is a pain to maintain
[Verizon Galaxy S 5 General] benjaminswinn:
ok... sorry to step on your toes... i only described what worked for me and thought it might help somebody...please explain what was false information...im not here to lie about what worked for me ...ive got more important things to do like play with my newly rooted s5 lollipop Lay Brick, F my wife ,and raise 4 kids ...i do respect your opinion cause yes i am a nobody here at XDA by all standards so if you asked me to please take post down, i will ....

but my same issue was first posted here http://xdaforums.com/showpost.php?p=68843693&postcount=2764

the only answer given by you was "Bad USB cable, bad USB port, or your PC has something funky running >.>"

using root2.bat corrected that issue (PC has something funky running probably cause my PC has hundreds of android drivers installed not to mention is coming up on 6 years old and a tun of image editing software)

Thank you for your time and effort sir.
[Verizon Galaxy S 5 General] crazycranagelo:
i can't seam to get the downgrade from 6.0.1 back down to 5.0.1 pb1 to work im really starting to hate samsung im thinking about getting the new google pixl phone
[Verizon Galaxy S 5 General] GeTex:
It's easy... Just flash the full pb1 tarball
[Verizon Galaxy S 5 General] bad bone:
Ok someone stole my phone got a replacement s5 using the same computer same cord same drivers I was able to down grade to pb1 but I keep getting stuck trying to reconnect after installing the nk kernal I had no problem with my other phone the kernal also doesn't list anything in the log the pb1 kernal works like normal.
[Verizon Galaxy S 5 General] bad bone:
And king root isn't working
[Verizon Galaxy S 5 General] 2clacaze:
also stuck

I have been flashing with odin for a couple years, so I'm no noob, but I'm no expert either.

I, too, seem to get stuck after flashing NK1 kernel. the phone goes to galaxy screen and never fully boots, therefore cannot reconnect. After first loop, reflashed the BOK3.tar.md5 and it booted. tried again. stuck at same spot. reflashed bok3 again and now in bootloop with message "recovery booting....." at top. Never seen a loop with this message....was able to get it back to download mode with hard keys.
[Verizon Galaxy S 5 General] bad bone:
It actually doesn't need to fully boot it's supposed to hang on that screen and reconnect I was able to do this the first time on my other phone no problem
[Verizon Galaxy S 5 General] GeTex:
Is reading so hard?
[Verizon Galaxy S 5 General] bad bone:
Definitely something wrong with my computer my bad ...well actually my ex's bad ...anyway I figured it out I think sorry for bothering ya
[Verizon Galaxy S 5 General] 2clacaze:
not really, but remembering can be. I meant PB1. I got the entire process to where it says "Lets try to root this thing...." but regardless of retry or continue or recovery-wipecache-wipedata, nothing seems to go past samsung screen.

Phone name

Samsung-SM-G900V

Model Number

SM_G900V

Android version

5.0

Android Security Patch level

2016-02-01

Baseband G900vvru2bpb1

Kernel version

3.4.0

dpi@SWHC3810 #1

Thu Feb 18 20:47:28 KST 2016

build LRX21T.G900VVRU2BPB1

SE for Andriod status

enforcing

SEPF_SM-900v_5.0-1_0039

hw version g900v.05

Security Software Version MDF v1.1 R4

VPN v1.4 R4.1

Knox Version

KNOX 2.3

standard sdk 5.3.0

Premium sdk 2.3.0

customization sdk 2.0.0

container 2.3.0

CEP 2.0.1

Enterprise Billing 1.0.0

SE for Android 2.3.0

SSO 2.1.1

Tima 3.0

VPN 2.2.0

Configuration Version

J13.SAM.SMG900V.1

I get to bootloop, then have to screw with it for a while (UP/DOWN key problem) to get back in to bootloader and re-applying pb1 thru odin
[Verizon Galaxy S 5 General] GeTex:
Did you not read what I quoted from the OP?
[Verizon Galaxy S 5 General] 2clacaze:
in the above response you further my question. so why are there instructions right before the "rooting instructions" that state to move to pb1 first and also this: "Your original kernel is important but for the most part you should all do this on PB1 anyways."

I didn't start with a kitkat kernel, as you know, and going thru the process of downgrading one would think to go all the way down before trying the exploit, so i did.your instrucrtions, in order, told me to flash pb1 prior to running root.bat. i see now that

ni2 or nk2 will do it. will that give me the opportunity to boot to android and redo my usb debugging?

will start over and try again

---------- Post added at 01:24 AM ---------- Previous post was at 12:26 AM ----------

downgrading to nk2 prior to root.bat file leaves me unable to give adb authorization bc i cant boot android. it loops. as stated in op. trying to downgrade during root.bat leaves it looped too for same reason, it never reconnects. so, when do i go to nk2 and when to pb1? its only confusing bc it states directly before the root.bat to install pb1

---------- Post added at 01:47 AM ---------- Previous post was at 01:24 AM ----------

tried yet again and it fails to reboot after nk2 install, in fact it never even opened odin or recognized itself after the safestrap/kroot/busybox install. so I manually opened odin and flashed the nk2. still nothing. still says im on system revovery LXR21T.G900VVRU2PB1. fairly sure i got my drivers from kies, but i'll try to update the drivers and try try again. any help is amazing. I just can't bear the thought of all that bloatware!!!!
[Verizon Galaxy S 5 General] GeTex:
Simple very

Install PB1

Authorize adb

Reboot to download(using bat)

Install nk2

Let it freeze(the part you aren't understanding)

Once complete, flash pb1 kernel

Once booted, run KingRoot

Be mad at Verizon and Samsung!
[Verizon Galaxy S 5 General] Lightfusion:
Ignore this completely. V_v
[Verizon Galaxy S 5 General] laydog:
im also not understanding the freeze part. once it freezes it wont reconnect to my PC so i cant flash anything :S
[Verizon Galaxy S 5 General] Lightfusion:
After you run the root.bat, and get the confirmation the root was good and your phone is still frooze at the samsung screen, you need to get your phone back to flash mode (vol down + home + power buttons) and then with odin flash the ZW_BPB1_KERNEL_ONLY.tar.md5 file to the phone under AP in odin. The phone will then reboot after a while and maybe work. I'm waiting for the reboot right now.
[Verizon Galaxy S 5 General] laydog:
ive been stuck on this screen for 10 mins

I experimented and the process completed on stock kernel but on NK2 it stops here and wont move
[Verizon Galaxy S 5 General] GeTex:
You were on PB1 before right?
[Verizon Galaxy S 5 General] zabuks:
NOOB

hey guys!! im on OG5, do i still need to "Install PB1" before carrying on with the other steps on page one ??
[Verizon Galaxy S 5 General] GeTex:
It says if your not on PB1 to flash to PB1 using the instructions in the OP
[Verizon Galaxy S 5 General] Rburny:
This process worked for me. i started on PB1 on a Verizon S5 running android 5.0. I flashed a kitkat kernel and then in the end flashed back to a pb1 per instructions. The rest of the process completed and i then had KingUser Root.

At this point i tried to locate the older version of Supersu-me and i did but one was 3mb and one was 9mb - not sure on if they were legit , so i decided to call it good at that point. I did get root explorer and renamed the sdm file in the sdm app directory, this stopped the update nag.

After a day i started to get the warning from android app store saying KingUser is a potential issue, i started digging into this and read all kinds of stuff, so who knows like the IMEIs are harvested to china etc etc...

I went to the play store and purchased the latest Supersu-me and ran it and it removed the Kinguser app and installed itself on the phone, very easy operation that took like 2 or 3 minutes.

My goal was to stop the nag or any Big Red updates and stay on 5.0 as i use foxfii and have my unlimited plan. I did consider unlocking the bootloader but i guess my toshiba emmc chip does not support this action as this time.

Thanks for this thread, it has given me some sanity and control back to me.

Enjoy
[Verizon Galaxy S 5 General] zeggy00:
Need Help - I am new to rooting Androids

Here is my device:

Galaxy S5

Model: SM-G900V

Android Version: 5.0

Baseband Version: G900VVRU2BPB1

I launch root.bat phone connects and installs kingroot.apk, busybox.apk, safestrap.apk. - All okay at this point.

Then it says to flask the NK2_kernel.tar. Press any key to continue. I do this and the phone reboots to bootloader and Odin launches.

I then select the NK2_kernel.tar file in the GS5_LOLLIROOT Folder under the AP button within Odin.

The process completes with a PASS!

Phone is sitting at the Samsung Galaxy S5 screen and the root.bat says We Are Gonna try and root this thing. Whenever you are ready!

Press any key to continue . . .

However the phone doesn't ever reconnect within explorer that I can see.

Please advise on how long I wait here for it to reconnect (Still at Samsung Galaxy S5 screen for about 10 minutes now.)

---------- Post added at 03:33 PM ---------- Previous post was at 03:16 PM ----------

Okay phone apparently did connect and I hit a key to continue. Here is what the root.bat screen shows now.

uname

linux_ver

##########

off_set

##########

##########

##########

##########

##########

##########

##########

##########

##########

KRSLOG: prepare done.

system part @ /dev/block/platform/msm_sdcc.1/by-name/system

KRSLOG: /data/local/tmp

KRSLOG: [+] This device: Verizon samsung SM-G900V Linux version 3.40-2525521 <d

pi@SWDD5816> <gcc version 4.7 <GCC> > #1 SMP PREEMPT Sun Sep 14 18:04:11 KST 201

4

Cursor Blinking Here......

How long does it sit at this point. Also my phone is still at the Samsung Galaxy S5 screen.

Thanks in advance to anyone that can help me.
[Verizon Galaxy S 5 General] GeTex:
power cycle the phone and keep trying till it says KS:LOG DONE
[Verizon Galaxy S 5 General] -WhiteHawk-:
How would I got about downgrading to PB1? I'm experiences in rooting but I've never flashed anything and I've heard it's near impossible to downgrade from PD1.
[Verizon Galaxy S 5 General] GeTex:
idk where you heard anything, it says right in the op you can downgrade, just flash the PB1 full ship tar in the OP :/ not rocket science, just read
[Verizon Galaxy S 5 General] -WhiteHawk-:
Yeah, I saw that but I heard most people couldn't downgrade and I was confused. I've got it all set up now and I'm actually preparing to flash a rom. :good:
[Verizon Galaxy S 5 General] knight194:
downgrade marshmallow

confused :) sorry.. i will downgrade my s5 g900v marshmallow.

1) will flash "G900VVRU2BPB1_G900VVZW2BPB1_VZW.zip" w/ odin.

2) flash "GS5_LOLLIROOT.tar.gz" w/ odin too?

3) flash "Knox_Removal_SU_BB_INIT.D.zip" w/ odin?

4) will flash "VZW_BPB1_ODEX_DEODEX_V9.zip (New Version) w/ odin.

w/ this list am i in order? #2 & #3 should flash w/ odin or transfer file to s5 phone?

Thank you!
[Verizon Galaxy S 5 General] DFog:
Flashing a new ROM

Heyoh,

After following all the instructions that were so gloriously laid out, my S5 is now fully rooted, with safestrap and SuperSU running. However, I've hit a bit of a snag and, to my dismay, have been unable to progress passed. Firstly, SD cards refuse to mount, I have tried reformatting, re-seating, rebooting across several cards and have not come up with a solution. Secondly, I am unable to flash the stock ROM jrkruse has linked near the bottom of his rooting instructions. When I attempt a flash, it will error out leaving "Unable to Mount" as the reason. I tried using the SafeStrap fix in the original post, but still did not allow for the install of other ROMs. Has anyone else experienced this?
[Verizon Galaxy S 5 General] GeTex:
does your kernel match your baseband?

I am sorry, but it gets annoying to have to explain this

you also clearly haven't read the instructions, at all

rooting the S5 is VERY PROCESS INTENSIVE
[Verizon Galaxy S 5 General] DFog:
I believe so. My baseband version is G900VVRU2BPB1 and I made sure to flash VZW_BPB1_KERNEL_ONLY.tar.md5 via Odin after root and Safestrap were established. Should I have flashed the kernel via Safestrap?

I apologize for the questions and I very much appreciate the help.
[Verizon Galaxy S 5 General] GeTex:
No you did it right... I'm confused. That shouldn't happen.

It's a first, leaving me to believe you did something wrong but... There's literally nothing you can do to cause that issue! Safe strap uses a KitKat kernel while running...
[Verizon Galaxy S 5 General] DFog:
It's strange. I've done this before back when I ran OptimalROM, but never experienced anything quite like this. Perhaps I should try the PB1 kernel in OP's second post, it might be more up to date that the one included in lolliroot?
[Verizon Galaxy S 5 General] -WhiteHawk-:
Works like a charm

---------- Post added at 07:57 PM ---------- Previous post was at 07:20 PM ----------

Okay, I am now rooted. All 3 apps have been installed. But now when I try to reboot to safestrap I get the Samsung logo forever. I've flashed the stock kernel and clicked reboot to recovery again several times but each time I'm stuck. I uninstalled the recovery and reinstalled it too. What's wrong? Also, I have flashed the NK2 in an attempt to get in that way to no avail.
[Verizon Galaxy S 5 General] SRTMedic:
How do I open the Zip File?

I am trying to follow this root method for Lollipop, and I have downloaded the first major file (the one with all the numbers and letters ending in PB1, a zip file). However, I can't get my computer to open it so Odin can find it. Can someone tell me what software I need to use to open this? I am running a computer with Windows 10.
[Verizon Galaxy S 5 General] GeTex:
When did we tell you to unzip the zip. All of odinable end in tar or md5
[Verizon Galaxy S 5 General] SRTMedic:
Unable to proceed with root

Ok. Let me start over. I downloaded and installed the samsung drivers. I also downloaded and installed Odin. I then downloaded the pb1 zip file. However, when i go to Odin and click on AP as instructed, it cant find the PB1 FILE anywhere. So that is where i am currently stuck at. I read in the instructions to click on the file once it downloads, which i did. And my computer cant open it or do anything with it.
[Verizon Galaxy S 5 General] GeTex:
Are you trying to flash the full ship user file?
[Verizon Galaxy S 5 General] SRTMedic:
I am trying to follow the instructions exactly. It said to download the PB1 file (the one with a name about a half mile long, which is a zip file) and open it. It then says to open Odin, which i did. It says to click on AP, then select the MK5 file that was extracted from the PB1 zip file. The problem is, Odin cant find the MK5 file because i cant extract it from the zip file. Ao now i am stuck at this step in the root process.
[Verizon Galaxy S 5 General] al50:
How did you unzip the PB1 Zip file? When unzipped, you should've a folder with the tar file inside....
[Verizon Galaxy S 5 General] SRTMedic:
Thats the problem. I CAN'T unzip the file. Nothing i have tried will open it properly. So either im not using the right software to open it, or the file is corrupted? Im downloading the file again to try again.
[Verizon Galaxy S 5 General] al50:
Redownload the file and use 7Zip. It's a free program. Just Google 7zip and download the appropriate file for your OS
[Verizon Galaxy S 5 General] SRTMedic:
Hey guys, that 7zip program worked. I re-downloaded that file, then downloaded 7zip to unzip it. Odin recgnized the file, i went through that step now i am on to the next step. Thank you for the help!

---------- Post added at 05:39 PM ---------- Previous post was at 04:42 PM ----------

Ok. I am stuck again. I have downloaded the GS5_LOLLIROOT.tar.gz file and i cannot open it. I have downloaded it from several mirror sites, and i have tried opening it with winzip, 7zip, and 7z (had to purchase that one). None of thrm will open the file correctly. Any ideas?

---------- Post added at 05:55 PM ---------- Previous post was at 05:39 PM ----------

Ok finally got the file to open. Now how do get the file to actually do the root process? Do i need to reboot the phone in bootloader mode?
[Verizon Galaxy S 5 General] GeTex:
Read the OP
[Verizon Galaxy S 5 General] SRTMedic:
Did that. Still waiting for it to recognize the phone to actually do the root process. Going to wipe the phone cache again here shortly and try again since it doesnt seem to be working. Will post again with results/failures as i progress.
[Verizon Galaxy S 5 General] GeTex:
This is the hardest part, enjoy

try different ports and such