yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] worldwidejoe:
This ain't pretty, but I'll try to describe each step I took to do this. Prepare yo self.

I did a factory reset from within the phone, ( I can't do it from within stock recovery ) Then I went through the initial setup again but did not create any accounts. On my computer I opened Odin and flashed the Factory Tar BPB1 Full Restore Image from the OP. Then went through the initial setup again, without creating any accounts.

Now do the following three things:

Go to Settings > Developer Options >

#1 ) Check "Enable USB Debugging" and WAIT a few seconds for the check box to enable "Always allow this computer" comes up. Sometimes it takes a few seconds.

#2 ) Uncheck Verify apps via USB.

#3 ) Wait for Windows Explorer to recognize the phone. This once took my computer about a minute and a half.

From the Lolliroot folder, I click on the bat file, it shows:

Press any key to continue...
We Are Gonna try and root this thing. Whenever you are ready!
Press any key to continue...

This causes Odin to open up on the desktop, and I click on the AP button, load the NK2 kernel and hit Start.

The Odin output pane shows:
<ID:0/004> Added!!
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> boot.img
<ID:0/004> NAND Write Start!!
<ID:0/004> RQT_CLOSE !!
<ID:0/004> RES OK !!
<ID:0/004> Removed!!
<ID:0/004> Remain Port .... 0
<OSM> All threads completed. (succeed 1 / failed 0)

At this point, my phone does not show up in Odin or Windows Explorer, and the phone is stuck on the Samsung Galaxy S5 screen.

The bat file window shows:

Press any key to continue...
We Are Gonna try and root this thing. Whenever you are ready!
Press any key to continue...

I press Enter.

The bat file window shows:

Waiting for the phone to be reconnect...
uname
linux_ver
##########
##########
##########
##########
##########
##########
##########
##########
##########
##########
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 vesion 3.4.0-4782027 (dpi@SWHC3010)
(gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sun Sep 14 18:04:11: KST 2014

It hangs here, I waited for 15 minutes one time.. don't wait.

Now, hit Ctrl+C, It asks:

Terminate batch job (Y/N)?

Hit "n" and press Enter. It's weird, but do this a second time. Ctrl+C, hit "n" and press Enter. It will show the same output as the previous run, but then it will stop for about 15 seconds and then spit out a long string of hashtags and at the bottom that says:

KSLOG: ROOT DONE!

It will also say:

Now make sure above you saw "KSLOG: CONPLETE".

IGNORE THIS.

Hit 1 to Continue. Then the phone reboots. From here it was following the software instructions which were not really correct as far as I can tell but, I'm still trying to get the blood out of my eyes. I'll work on that part in the morning. Standby.
[Verizon Galaxy S 5 General] al50:
Not towards you.....JrKruse and GeTex have just updated the OP. Especially in the 'tab(dropdown)' instructions. So please go and read the NEW updated OP and procedure(s), which really isn't too much different from the other and hopefully you'll gain ROOT. I, as well as others, cannot insist for inexperienced 'users' to read, read and read again to understand the process. Yet, it seems "simple" and "easy" to do....Unless you know the concepts and terminology, you need to read or keep device 'as-is'....no pun intended but for Android sakes.....:p:)
[Verizon Galaxy S 5 General] worldwidejoe:
I have Root! Thank ya! I'll try to document what I did on the software side tomorrow, maybe it'll help someone else.

Nice job on the re-write of the OP guys/gals! Is it possible to put something like " UPDATED ON insertdatehere" at the very top of the OP? There are other posts/articles/instructions out there on the tubes that are newer than the date on the OP. It'd be great for people to know these were updated and current.
[Verizon Galaxy S 5 General] ibrubeer:
Despite the occasional complaint from people that have problems, I just wanted to personally thank [MENTION=1949695]jrkruse[/MENTION] for all of the INITIAL work, and [MENTION=5414005]GeTex[/MENTION] for all of the continued assistance. Sometimes people lose sight of the fact that you are volunteers, doing this in your free time. Thank you!
[Verizon Galaxy S 5 General] GeTex:
Yeah, thank-you. I have done alot of changes to the way the bat files work to hopefully make things better
[Verizon Galaxy S 5 General] Pegaso1:
Phone at black Samsung screen after few attemps

Hi all,

I want to root my SG5 Verizon (I done this procedure with other previous models, so the process is not totally unfamiliar to me). I started with the "Installing PB1" section, that went fine at the first attempt, but problems arose when following the "Rooting Instructions" section, my phone got stuck in the black "Samsung Galaxy 5 screen" when using Bat#2, eventhough the KRSLOG message was positive (don't remember the exact message, maybe it would be convenient to add a reporting command to the .bat file?, Could this be useful to check what went wrong?). After several attempts that made me get back to do the "Installing PB1" section to regain control over the phone, I tried Bat#3

I successfully got the "Installing PB1" section. Phone reboot to Android 5.0 (or similar). Then I attempted the "Rooting Instructions" section, Bat#1 didn't work after a couple of attempts (phone stuck in black welcome screen), so I tryed Bat#3, got the message "KRSLOG: prepare done", then instruction indicated: "Flash stock kernel" and the ODIN screen poped up, I flashed the file called: "NK2_kernel.tar" using Odin, I got greenlights from Odin but the phone doesn't boot up, it is stuck in the "Samsung Galaxy S5" black screen.

What should I do know? Should I get back to "Installing PB1" and this time try Bat#3?

Warmest regards and thanks in advance for the help!

Pegaso
[Verizon Galaxy S 5 General] GeTex:
please read understanding the process and follow all the instructions very closely. It's a matter of understanding what is going on
[Verizon Galaxy S 5 General] Pegaso1:
Hi, just to be sure we're in the same page, I'm reading (and following) instructions from here: (first page of this post), are there any updates I may not be aware of?

Thanks for your understanding and any advice (apart from carefully reading the instructions, something very useful that I feel I already did the whole morning), would be highly appreciated.

Rgds.
[Verizon Galaxy S 5 General] badlad:
So true about the Verizon phones I'll NEVER buy one again. I'm still having probs getting my root to go through. I have followed everything exactly done it so many times bout got it memorized. Can't get the damn root process to say root done pulled battery tried over and over and yes flashed the right stuff updated the drivers. Verizon sucks!
[Verizon Galaxy S 5 General] esiegel91:
OK so earlier my TouchWiz home would stop responding so I went into safestrap wiped dalvik cache to see if it would solve the problem, when I went to reboot it showed the Samsung screen then went black and would then wait a couple minutes and boot into recovery. The way I got it back running was to install the safestrap kernels and firmware. But I really don't understand how or why that worked can come one please explain, in case this happens in the future or to try to eliminate it happening in the future
[Verizon Galaxy S 5 General] jrkruse:
When ever you enter safestrap on a lollipop rom Thats what you have to do just the kernel though
[Verizon Galaxy S 5 General] Veid71:
So does this mean that the bootloader is unlocked? Or is it still locked and they just found an exploit?
[Verizon Galaxy S 5 General] landshark68:
Bootloader is still locked.
[Verizon Galaxy S 5 General] BlueLaguna88:
Ok this is going to sound really really dumb and I apologize, I haven't rooted since the s3 and I'm at a loss here; what is Bootloaders and Safestrap and how do I get them? I've been itching to root my s5 and I want to make sure I have everything I need. I'm on og5
[Verizon Galaxy S 5 General] painiac:
You have everything you need in this thread: the full walkthrough, method, and all necessary files have been graciously provided by jrkruse in the first couple posts. Just make sure to grab the latest "Rooting Tools" zip from post #1.

The bootloader is the little piece of software that initializes the hardware, checks for an available operating system, and then proceeds with booting into that operating system. Verizon uses a "locked" version of the bootloader in an attempt to make it possible to only load their official bull****. No one has succeeded in unlocking it, but we can still install ROMs that are substantially similar to their version of Samsung's "TouchWiz" OS in the important ways the bootloader requires. Unfortunately, this means that we can only install TouchWiz-based ROMS (sadly, no AOSP-based ROMS). You can install any of the ROMs in the "Galaxy S5 Android Development" thread http://xdaforums.com/verizon-galaxy-s5/development, but NOT any ROMs from the "Original" or "Unified" development threads, as those ROMs require an unlocked bootloader. See jrkruse's thread here: http://xdaforums.com/verizon-galaxy-s5/help/installing-custom-roms-newly-rooted-t3292655

If you've been rooted on the S3, you're no doubt familiar with recovery environments like "clockworkmod recovery" and/or "TWRP". SafeStrap is a modified TWRP, which was necessary because the still-locked bootloader of our Verizon S5 phones does not otherwise allow those recovery environments to be used. It involves some hassle with newer kernels if you're on Lollipop because it's a seriously hacked-up workaround, but it's worth the trouble. SafeStrap cannot be loaded on a newer (lollipop) kernel, so you have to flash an OLDER (kitkat) kernel, boot into SafeStrap, and then re-flash your newer kernel from there when you're done in order to load your operating system.
[Verizon Galaxy S 5 General] jenjan:
Hello,

After I ran the root batch file, I got the following message. Is it the expected message or something wrong with the tool box, init-shell?

##########

##########

##########

##########

##########

##########

##########

Set permissive for init

##########

Set permissive for init_shell

##########

Set permissive for s_init_shell

type s_init_shell does not exist

##########

Set permissive for kernel

##########

Set permissive for shell

##########

Set permissive for toolbox

type toolbox does not exist

##########

Set permissive for toolbox_exec

type toolbox_exec does not exist

TOY

KRSLOG: ROOT DONE!
[Verizon Galaxy S 5 General] BlueLaguna88:
Where is 01_G900V_NI2_Kernel.tar?? i cannot find it in any of the folders please help!
[Verizon Galaxy S 5 General] saycbone:
Proceed to Step 17!! You are on your way...

---------- Post added at 11:41 AM ---------- Previous post was at 11:39 AM ----------

Download the Root_OG5_V8.zip to your computer - It is in there.
[Verizon Galaxy S 5 General] BlueLaguna88:
ok im on step 24 where do i find Lollipop Safestrap to install, i also installed Busybox like it said to do
[Verizon Galaxy S 5 General] saycbone:
Yes, Select 2 (Start Root)_The .bat has been updated..

16 Plug in your phone and click 02 to start root. If it is not recognizing your phone simply Close the Root Window and reopen if that doesnt work unplug and replug in your phone, if still not working unplug phone reboot phone and plug in. If the Root Screen hangs up close Root Screen unplug phone reboot phone reopen Root Screen plug in phone and try again!

So if it hangs (where you were) unplug, close and open .bat9 (root screen) and click 02 again..plug phone in and let it run..sometimes it just takes multiple runs and time.
[Verizon Galaxy S 5 General] BlueLaguna88:
ok thanks you, im on the last 3 steps, i installed the latest version of busybox through the app and now how do i find Lollipop Safestrap and install it? and step 25 and 26 thanks!
[Verizon Galaxy S 5 General] lineuphere:
After typing 02 and return, what's the average time I should be hung on [*] WAITING FOR APPEAR YOUR DIVECE N900V? I keep restarting because I'm not sure if that is a lengthy step.
[Verizon Galaxy S 5 General] saycbone:
Did you add the APPS TO INSTALL folder? It's in there..

---------- Post added at 01:38 PM ---------- Previous post was at 01:37 PM ----------

I think it can take a couple of minutes..
[Verizon Galaxy S 5 General] WKurt:
Linux

Is this possible to do from Ubuntu Linux?
[Verizon Galaxy S 5 General] BlueLaguna88:
yeah my bad i forgot that was the name of the app loo, thanks!

---------- Post added at 04:56 PM ---------- Previous post was at 04:41 PM ----------

ok now i flashed the rom and what does step 26 mean?
[Verizon Galaxy S 5 General] saycbone:
Step 26 is VERY IMPORTANT!!

Did you add the Folders from Step 23. Copy this Folders to your SD Card and Internal Storage Safestrap_Flashable_Kernels and Safestrap_Flashable_Firmware

Before rebooting You will need to flash your appropriate Safestrap Flashable kernel zip matching your firmware.

This will allow you to reboot back into your Rom...If not you will get hung up on the boot screen...
[Verizon Galaxy S 5 General] BlueLaguna88:
yeah i added step 23, and no i just finished step 24, then flashed the rom from step 25 and everything is working fine. do i just go back to step 24 to do that? also you only mentioned flashing the kernel, do i not flash the firmware?
[Verizon Galaxy S 5 General] saycbone:
Hmm...Well if you have confirmed Root, updated busybox, supersu etc and have loaded the Rom jrkruse posted there you are good..

Check your Build and firmware..
[Verizon Galaxy S 5 General] GeTex:
everything is upto date
[Verizon Galaxy S 5 General] Pegaso1:
Thanks for keeping it updated, I will read it one more time and if it doesn't work I'll just forget about it.

Warmest regards anyway, I understand you're taking the time to answer, and besides I disagree that the instructions are clear, I still appreciate your effort.

Thanks,
[Verizon Galaxy S 5 General] GeTex:
Realize the S5 is a complex phone to root. The process is complex and theres not a single thing we can do about it. It's just the way it is. If you understand the process you will understand what ur doing wrong
[Verizon Galaxy S 5 General] worldwidejoe:
I'm coming from a different set of instructions, they were changed a whole 3 days ago.. but I'll see if I can help with these new ones.

Have you re-tried, can you show the error from that?

Are you sure "NK2_kernel.tar" is the stock kernel file? (I'm not asking that in a smartass'y way, I really don't know)

Because seeing this:

makes me wonder if it's the stock kernel file.
[Verizon Galaxy S 5 General] GeTex:
it is not, your stock kernel file is PB1
[Verizon Galaxy S 5 General] monnaliza:
I am stuck on System Recovery. I followed all the steps in the original post and got to the point where it said "ROOT DONE" and then my phone rebooted. Since then, it just keeps booting to System Recovery. I've done everything I can on that screen including wipe data factory reset, still end up at the System Recovery screen. I can also get into Maintenance Boot Mode and done a Factory Reset from there and it still reboots to System Recovery.

I've tried searching this thread and reading through posts, but can't find anything that helps.

Thanks in advance for any help/advice.

Android system recovery <3e>

LRX21T.G900VVRU2BOE1
[Verizon Galaxy S 5 General] yossijoe:
That's what happens if you don't read.

Since I'm in a generous mood....

You need to flash back the pb1 kernel.
[Verizon Galaxy S 5 General] Barabba11:
for people asking a detailed guide and issues workaround have a look on the guide I wrote. I spent around one week to understand the istructions here, they aren't written for a noob, and I was after buying my first Android device. So all my experience is reported there to help others. Check my signature below
[Verizon Galaxy S 5 General] ive9th:
Completed The Process - Went From PF4 (MM) to PB1 Successfully

I just completed the process. It took me a few times to get root. Here are my observations that may help someone with less experience. And maybe some of these can be added to the OP.

I would reword the section in step 3 to read as follows

On Step 3: If your phone wont reboot (gets stuck at Samsung Screen). Manually enter download mode (VolDown+Pwr+Home) then use Bat #4. Follow instructions. Install BPB1 (this one worked for me).

When it says flash a stock kernel, it likely means one of the VZW files. I tried the NK2 and it didnt work so I tried the PB1 and it did.

But the BPB1 in the filename of VZW_BPB1_KERNEL_ONLY.tar confused me at first because the OP doesnt reference anything with four letters but uses three (IE. OK3, PB1) so I didnt think to flash that one but I figured out that it was just PB1.

On step four: It seems that I needed wireless for Kling Root. But Im not sure that matters because the time when I got the process right, I didnt need wireless.

Option Step 5: If you are going to flash a rom immediately then dont bother trying to switch from King root to Super Su. I did find the old version of the app and used it and it worke

Step 8: It could say King Root / Super Su (From option 5). Also LS Safestrap automatically relaunches but I closed and reopened it anyway and did the install again like the OP said.

Remove Step 12 because the version of safestrap appears to be current.
[Verizon Galaxy S 5 General] yossijoe:
Yay got a cid15!
[Verizon Galaxy S 5 General] monnaliza:
Thanks. I did read and followed as best as I could.

I should've also mentioned that my computer no longer recognizes my phone when I connect it. I've tried different cables, etc. but I get nothing when I connect it to my phone. From Recovery mode I've also tried installing from the SD card and I get error message:

e:footer is wrong

e:signature verification failed

Factory resets not working either. Everything I do, the phone reboots to System Recovery.

Thanks for any ideas...
[Verizon Galaxy S 5 General] yossijoe:
Did you flash the pb1 kernel?

I'm not sure what your even trying to install from recovery... & Why. :laugh:
[Verizon Galaxy S 5 General] GeTex:
from the OP
[Verizon Galaxy S 5 General] monnaliza:
Well, i didn't WANT to try flashing things through recovery :) But after I tried the process the first time, even though it told me ROOT DONE, it basically would just reboot to recovery <every> time. And when I tried to connect my phone to my computer, my computer wouldn't recognize it. So then I just tried doing whatever :)

I re-installed the Samsung drivers on my computer and fortunately it started recognizing it again. I was able to flash PB1 and at least now my phone is working again.

Like a dope, I decided to give it a go again :) Reading everything :rolleyes: and following things step by step. Now it's getting stuck after flashing NK2 on the reboot and not recognizing the device again.

My phone seems to have some issues connecting to USB, it will first show up as a CD Drive and then after a few minutes my computer will recognize it automatically or I can manually go and enable it as a Media device...

I'm glad it's at least working again, so might just give up unless any other suggestions? I'm not super technical, but not a total noob, been flashing ROMs and such since even before I joined XDA, but this Galaxy 5 is really a pain! LOL

Thanks!

---------- Post added at 11:06 PM ---------- Previous post was at 11:04 PM ----------

Thanks... I reinstalled the Samsung drivers on my computer and it started recognizing my phone and I was able to flash PB1.
[Verizon Galaxy S 5 General] gurnsey101:
Works

I will confirm this as a working root method and a great way to flash debloated 6.0.1 roms (nonrooted) for those of us on locked bootloaders☺️
[Verizon Galaxy S 5 General] yossijoe:
After 300 pages. No confirmation needed:laugh:
[Verizon Galaxy S 5 General] SODA8297:
Well I'm trying to root my SM-G900V but I got no success the CID file starts with 11.... when I install the NK2 kernel the samsung screen stays forever I can't continue, BTW I got the new zip file with 4 BAT files, any help please, thanks in advance
[Verizon Galaxy S 5 General] yossijoe:
Cid11 doesn't affect rooting. Try to read and understand the instructions
[Verizon Galaxy S 5 General] gurnsey101:
Hey i am just glad to get that verizion bloatware crap off my phone at this point haha:p:p
[Verizon Galaxy S 5 General] Barabba11:
TOO ALL USERS EXPERIENCING FAILURE!! :

instead of asking again and again the same questions, read the beginner guide here down in my signature. Please don't bother experts which are spending their free time for more important purpuses. Thank you
[Verizon Galaxy S 5 General] SODA8297:
OK I was gonna give up, but this is a new day, with brand new hopes, I'm gonna read carefully the instructions........ So it was stuck at the Samsung screen, I unplugged it, then pulled the battery, then went to the recovery and wiped cache and rebooted the phone, still waiting.
[Verizon Galaxy S 5 General] SODA8297:
Nop I couldn't do it, it can't boot with the NK2 kernel :/
[Verizon Galaxy S 5 General] GeTex:
I wonder why..... it tells you in the bat that it will freeze on that screen, the bat file is supposed to continue
[Verizon Galaxy S 5 General] SODA8297:
I don't know how long it takes to boot because I installed BPB1 booted fast and then I tried BOK3 same result successfully but obviously couldn't root. And I did unplugged the phone then pull the battery then put it back then I went to recovery to wipe cache then tried to boot but nothing. And I don't wanna bug any of you with questions that's why yesterday I gave up, but I felt positive today and I wanted to try again.
[Verizon Galaxy S 5 General] GeTex:
what.... I just told you with NK2 flashed it WILL NOT BOOT
[Verizon Galaxy S 5 General] SODA8297:
OK I'm really embarrassed cos is like you are telling something very obvious and I don't get it..... the phone never reconnects and I previously installed the samsung drivers. I'm gonna try it again, sorry man, thank you for taking the time to help me.
[Verizon Galaxy S 5 General] GeTex:
okay thats helps me! If it's not reconnecting it's either a drive issue, or cable, or port. Try working with those 3. If possible, try another PC, make sure no other ADB processes are running
[Verizon Galaxy S 5 General] SODA8297:
Feeeeeeewwwwww I'm gonna start from scratch....... thanks again.
[Verizon Galaxy S 5 General] SODA8297:
I got ROOT !!!! Yessssssssss

---------- Post added at 06:53 PM ---------- Previous post was at 06:46 PM ----------

I got root man !! Thank you so much, I tried my wife computer and followed the steps from scratch, then when the phone got frozen in the samsung xcreen few seconds later I heard a sound like something got plugged in then I pressed ENTER in the bat file and everything continued :D I wanted to post pictures but no one cares really after 300 pages :) THANX again to all the dudes that contributed to this process.
[Verizon Galaxy S 5 General] al50:
Glad you got root.....!! But that man.....is a Ma'am....:p lol
[Verizon Galaxy S 5 General] SODA8297:
LOL sorry heyyy I'm trying to install safetrap and says STATE: not installed
[Verizon Galaxy S 5 General] al50:
Which SS(SafeStrap) are you trying to install....? If it's the Lollipop version that JrKruse had updated back in, i believe June, i used FF(FlashFire) to install the zip. And then selected the Lollipop SafeStrap in the App drawer and then selected install SafeStrap/recovery. When you press the App you have to wait for SuperSU to pop up to give SS permission. Once given, proceed to installing SS, Reboot and go back to the app and select install SS to verify that it states up above "Installed" on your screen. Once thats verified, you're good to go
[Verizon Galaxy S 5 General] SODA8297:
Yeah is the one in the OP, I'm gonna try FlashFire... Thanks

---------- Post added at 08:17 PM ---------- Previous post was at 07:58 PM ----------

Got stuck at samsung screen once flashfire installed the safestrap zip, installed the BPB1 kernel but still is stuck