yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] striker1211:
I really don't know why having knox is a bad thing. All our phones are out of warranty and at it's heart Knox is just a sandbox for apps that need to be protected (like government apps). But what I do know is that I hate having ANYTHING on my phone that I don't use. We all should be given a choice of what we want on our phones. Android phones are going the way of OEM installations of Windows, bloated. For what it's worth that knox script never worked for me. I tried it from internal memory and microsd. It returned successful but never removed knox. I didn't look further into it because I was flashing a deodexed rom anyway. As for you losing root... I have no idea.
[Verizon Galaxy S 5 General] blazinandroid1:
first I wanted to say thanks for this root tools. Saved me a crap load of time on my wife phone. Plus hope your paypal working. Because you have some beer money coming your way this weekend. Deleted over 358mb of space of verizon bloatware. THANKS
[Verizon Galaxy S 5 General] falco5150:
can somebody please explain step 7. i dont understand what you mean by install the zip file.
[Verizon Galaxy S 5 General] steven1193:
Same here! It goes into recovery instead of download and the bat self closes.
[Verizon Galaxy S 5 General] Alixbot:
someone help me, im at a dead end :sad:

heres the bat script after i try flashing the nk2 kernel:

[// List of devices attached

adb server is out of date. killing...

* daemon started successfully *

08999728 device

[*] this will root your phone on ok3 kernerl using KingRoot.

[*] Goto Settings/About phone Click Build number 5 times to enable Developer Opt

ions

[*] make sure USB debugging is marked in Developer Options

[*] Make sure on the allow USB debugging dialog you Check Always allow this comp

uter

[*] In Developer Options make sure Verify apps via USB is unchecked

[*] Make sure your device does not say unauthorized at the top of these instruct

ions

[*] If your device says unauthorized Revoke USB debugging authorizations in Deve

loper Options

and unplug your phone and replug in your phone

and then on the allow USB debugging dialog Check Always allow this computer

[*] Very Important!!!! Wait for device to show up in windows explorer before sta

rting

Press any key to continue . . .

================================================

Waiting for the phone to be connected ...

Installing Apps

522 KB/s (9302274 bytes in 17.384s)

pkg: /data/local/tmp/KROOT.apk

Success

645 KB/s (2745636 bytes in 4.156s)

pkg: /data/local/tmp/busybox.apk

Success

969 KB/s (27803307 bytes in 28.005s)

pkg: /data/local/tmp/Safestrap.apk

Success

[*] Now its time to flash NK2_kernel.tar In The AP slot using Odin.

[*] NOTE "During the process the phone shall stay on samsung logo then go to dow

nload NOT RECOVERY".

[*] After the script complete reflash OK3_kernel

[*] Please be patint ...

===============================================

Waiting for the phone to be reconnect ...

error: protocol fault (couldn't read status): Invalid argument

adb server is out of date. killing...

* daemon started successfully *

adb server is out of date. killing...

* daemon started successfully *

error: device not found

===============================================

[*] Flash OK3_kernel

[*] If Phone Does Not Reboot To Booloader

[*] Unplug Pull Battery Reboot To Bootloader (VolDn+Pwr+Home)

[*] if the root didn't work try to install KROOT manually

[*] Remember you will need to download Super-Sume from the Play Store to remove

KingRoot

[*] Enjoy ...

adb server is out of date. killing...

* daemon started successfully *

error: device not found

Press any key to continue . . . //]

Any ideas why my shiz gotta be the only one not booting back to dl mode after nk2 kernel?

EDIT: It was in fact a driver issue, uninstall all of them and reinstall the ones you need, com should be 4 in odin not 5.
[Verizon Galaxy S 5 General] TheMasterMindGT:
Question: I have this ROM currently installed, but would like to have a version with no problem deodex I install the new update [VZW_Stock Based TW Rom][5.0 Lollipop BOK3 Build Odex/Deodex] 2-25-16 http://xdaforums.com/verizon-galaxy-s5/development/vzwstock-based-tw-rom-t3281095 [MENTION=1949695]jrkruse[/MENTION] using flashfire.
[Verizon Galaxy S 5 General] striker1211:
Did you install the latest version of the samsung device drivers? You may have another version of adb installed that is messing it up. Uninstall all phone drivers you have (for maybe HTC/Motorola/etc) and reinstall the samsung. Then try. Google "adb server out of date".
[Verizon Galaxy S 5 General] copkilla858:
Ok so basically I had possibly stupid question, I was on alliance rom with the ability to downgrade when I managed to brick it somehow. I followed this guide to get my root capability back after managing to get the phone working again. At the end upon attempting to flash a rom back onto the device (G900V) I would get the error mentioned here;

"If you cannot flash roms with the error "set_metadata_recursive failed" or something, you likely need to start from scratch BUT with the S5 PIT file(matching your size, there's a 16GB pitfile floating somewhere)"

forcing me to repeat the process multiple times to attempt to flash a rom again using safestrap, flashfire or odin and even implementing the solution mentioned above with the same thing happening with any rom that wasn't fully stock and version bok3 or higher.

So after getting root and settling for stock I downloaded the stock based deodexed bok3 by jkruse (<----the man) in order to later flash xposed. I opened up flashfire and listed the order as follows;

Wipe, all but internal and systemless

Flash zip deodexed bok3

Flash kernel bok3

Flash firmware for bok3 no bootloader 1/2

Flash extra toggles

Flash firmware for bok3 no bl 2/2

(Inject su, preserve recov, skip setup, enable adb)

Reboot

Somewhere in there I managed to misclick another zip lined up to be flashed which was a: downgrade, highly modified tw based rom, prerooted, had loads of preinstalled apps and settings and was deodexed. It slipped into the queue a few steps after the intended rom was done flashing and I only noticed it's presence while watching flashfire go at it. I was pretty upset thinking I had to go back to my PC and unbrick/root my phone yet again when it somehow managed to work and load up perfectly and properly without a hitch.

Now the possibly dumb question is; is this in any way significant and can I assist in maybe attempting to replicate this by going into further detail.

Note: I was also getting the errors telling me that downgrade was not gonna happen during the multiple attempts flashing differenT stuff onto my phone.

Thanks!
[Verizon Galaxy S 5 General] 34Ford:
Hey Striker I think that was a mis-quote. I didnt post that about "Any ideas why my shiz gotta be the only one not booting back to dl mode after nk2 kernel?"

Anyway I ran the bat file again and boot is back, then I went to bed. Im a old fart.

So I have BusyBox Free, LP Safestrap Installer, SuperSU, and SuperSU Me-Pro on the phone now.

And dont have a clue whats necessary and whats not.
[Verizon Galaxy S 5 General] novembertango:
s5 rooting

I downloaded the file and the phone says do not turn off target....the odin screen is up on the computer and wants something but im not sure what. should i wait or check one of the files downloaded boxes? the windows say waiting for phone to be reconnected.
[Verizon Galaxy S 5 General] atacks:
Yes ...press the AP you must load NK2_kernel.tar and than when loaded phone will reboot...on phone screen you will see Samsung logo and than take of the phone and open phone in download mode again open odin press AP and load the Bok3kernel and your phone will open
[Verizon Galaxy S 5 General] jc33777:
once i flash the nk2 kernal it gets stuck at the samsung screen pulling the battery doesnt help wont restart still hangs at samsung i flashed the G900VVRU2BOK3_G900VVZW2BOK3_G900VVRU2BOK3_HOME.tar.md5 just to get it working again what am i doing wrong
[Verizon Galaxy S 5 General] striker1211:
You.... have to flash... the OK3 kernel.... the batch file tells you to... that file is "VZW_BOK3_KERNEL_ONLY.tar.md5". There's like... instructions.... first post.... *continues drinking his wine*
[Verizon Galaxy S 5 General] GeTex:
Can none of you read.... yes, when you flash NK2, its SUPPOSED TO GET STUCK ON THE SAMSUNG SCREEN!!! THAT MEANS ITS WORKING!!! Go to the next step in root.bat!!!
[Verizon Galaxy S 5 General] jc33777:
Yes I see that it says it will get stuck there, I know how to read, as for the instructions;

[*] Now its time to flash NK2_kernel.tar In The AP slot using Odin.

[*] NOTE "During the process the phone shall stay on samsung logo

then go to download

NOT RECOVERY".

[*] After the script complete reflash OK3_kernel

Like I said it gets stuck at the samsung screen and never goes to download therefore I cannot flash the ok3 kernel. I don't really need the rude none helpful responses.

Just to throw it out there this is everything the bat shows

List of devices attached

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

ff4b96ee device

[*] this will root your phone on ok3 kernerl using KingRoot.

[*] Goto Settings/About phone Click Build number 5 times to enable Developer Options

[*] make sure USB debugging is marked in Developer Options

[*] Make sure on the allow USB debugging dialog you Check Always allow this computer

[*] In Developer Options make sure Verify apps via USB is unchecked

[*] Make sure your device does not say unauthorized at the top of these instructions

[*] If your device says unauthorized Revoke USB debugging authorizations in Developer Options

and unplug your phone and replug in your phone

and then on the allow USB debugging dialog Check Always allow this computer

[*] Very Important!!!! Wait for device to show up in windows explorer before starting

Press any key to continue . . .

================================================

Waiting for the phone to be connected ...

Installing Apps

4493 KB/s (9302274 bytes in 2.021s)

pkg: /data/local/tmp/KROOT.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

7588 KB/s (2745636 bytes in 0.353s)

pkg: /data/local/tmp/busybox.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

4153 KB/s (27803307 bytes in 6.537s)

pkg: /data/local/tmp/Safestrap.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

[*] Now its time to flash NK2_kernel.tar In The AP slot using Odin.

[*] NOTE "During the process the phone shall stay on samsung logo then go to download NOT RECOVERY".

[*] After the script complete reflash OK3_kernel

[*] Please be patint ...

===============================================

Waiting for the phone to be reconnect ...

It never reconnects
[Verizon Galaxy S 5 General] painiac:
You guys are making poor GeTex lose it...

The instructions are step by step, and there are steps AFTER the ones you're stopping at and asking what you did wrong. Before even starting, you really need to read all of the steps repeatedly until you are sure you understand each step and its purpose. If you do not understand something, search the forum until you do. Do not proceed with attempting to root your phone if you don't understand the instructions. If you can't follow these instructions, you're apt do do unfathomable damage with root access, and perhaps you shouldn't have it.
[Verizon Galaxy S 5 General] flash629:
To continue or Start over

Hello everyone. I have a question.

I've rooted {and it works} by the instructions. I stopped at number 4 and installed my apps so I could get my phone working. The question is, can I just continue on and complete the instructions or should I start from scratch? I know that the phone will be wiped and cache cleared. I believe I can deal with that.

The last time I loaded safe strap into recovery mode then restarted all the phone would do is shut down.

I do have busy box installed, but not safe strap.

Thanks for your help
[Verizon Galaxy S 5 General] crushnrushn:
Error in bat file

After I flash the NK2 kernel this message pops up "protocol fault (couldn't read status): Invalid argument" and then some more text and then it just says press any key to close. Any help?
[Verizon Galaxy S 5 General] Mr. Boom:
I simply used the tethering zip from the "update to OK3 and keep root" thread. I flashed it in flashfire. After a reboot, I tried it and it worked. Using this root method.
[Verizon Galaxy S 5 General] jc33777:
Just like you guys say read the instructions, are you guys not reading my post?!?! My phone will not reconnect to the bat after flashing the nk2 kernel therefore I cannot go to the next step.
[Verizon Galaxy S 5 General] GeTex:
Are you guys installing the driver? I am serious, Are you installing the drivers in the exe, windows built in drivers don't work!!! You have to use the exe? If thats installed and it's still not working, the root method did NOT work on my D901C with a P965 Chipset BUT it worked on my Dell C840 with a 845MP Chipset. It's odd, Try different computers if you can. Check device manager for an adb device.
[Verizon Galaxy S 5 General] jrkruse:
Reflash bok3 kernel using Odin

Uninstall the apps the root.bat installed on your phone. Then try again
[Verizon Galaxy S 5 General] daworld88:
Confirmed

I just rooted OK3 using your directions. Worked like a charm. You guys are awesome. I'll be installing new roms asap. Thanks so so much.
[Verizon Galaxy S 5 General] md12631:
Uninstalling and re-installing did not work. Have the same issue as others with the NK2 kernel. The ROM is never allowed to finish to get to the rooting procedure. Reflashing BOK3 gets the phone back from the Samsung logo, but Kingroot finds no path to root. Like others, I have read and understand the instructions as best as I could, however it is a tad unclear in this area. Does it matter that I started with BOE1 before going to BOK3? Would that have anything to do with the device not accepting the NK2? If someone who was successful with this procedure could break down the ROM instructions a little better, it may help. Thank you guys for all you do.
[Verizon Galaxy S 5 General] jc33777:
I clicked on the samsung drivers that came with this and it told me I already had them installed and do I want to continue with installing them I just clicked no. I will try just installing them anyways and see what happens. Thank you for the tip.

I will try this, thanks for the tip.

On another note would it matter that I am using my phone on MetroPCS? I don't think it would but I figured I'd ask...
[Verizon Galaxy S 5 General] GeTex:
Once again it should freeze at the Samsung screen, that means its working. Thats normal.
[Verizon Galaxy S 5 General] md12631:
Then can you please detail what happens after it freezes at the Samsung logo. No "Download Not Recovery" ever comes up. The phone does not do anything else (and trust me I was patient). The phone does not respond to a normal shutdown or reboot. The only way to move on is to rip the battery and reflash BKO3 Kernel. The BAT script never gets a chance to complete, and Kingroot is unable to find a solution for rooting.

I hear what you are saying about the process is working if you get to the samsung logo.. It is just totally unclear what is to happen next to complete the process. Thanks again for the response.
[Verizon Galaxy S 5 General] jrkruse:
Download mode only comes up when you need to flash the NK2 Kernel. When You accepted the allow USB debugging dialog did you check always allow this computer ? Does it freeze after you flash the NK2 kernel like instructed? Are you plugging the phone back in after you install the NK2 kernel. When you plug the Phone back in after you flash the NK2 kernel does the root.bat do anything does it say waiting for phone?
[Verizon Galaxy S 5 General] Lutero:
I'm unable to get past rooting with KROOT. It always states "Root strategy unavailable"

EDIT: I fixed it. the BAT somehow skipped flashing the NK2 kernel step. I reflashed OK3 twice more and followed along to a video a few pages back and was able to get root.

This is also my big thanks to JRKruse, you're awesome. Thanks a billion for all of your hard work and dedication to the Galaxy S5!
[Verizon Galaxy S 5 General] md12631:
Thank you for responding.

Did as you instructed - and the root.bat continually says Waiting for the phone to be reconnect...
[Verizon Galaxy S 5 General] falco5150:
thanks for everything!!! i got root working! but now i cant figure out HOW TO REMOVE KNOX. can somebody please help me out. i put knox_removal_su on sd card and internal storage. i cant figure out what im supposed to do with it tho. can somebody please help me out here? thanks!
[Verizon Galaxy S 5 General] jrkruse:
Then you need to revoke usb debugging authorizations the accept the allow usb debugging dialog and this time click always allow this computer
[Verizon Galaxy S 5 General] GeTex:
the bat should root. sounds like you didnt install the drivers

flash the know removal in safestrap or flashfire
[Verizon Galaxy S 5 General] striker1211:
Hey GeTex, did the knox removal zip actually remove the section in "About phone" that lists the knox version information? Mine never did. The zip output said successful. I tried in Safestrap but not in flashfire. Just curious if I was the only one who had it not work in safestrap. Regards.
[Verizon Galaxy S 5 General] shadows9:
Hey, I don't want to look through 100 pages but is there a way to get xposed on this? Thanks
[Verizon Galaxy S 5 General] GeTex:
wow....there is a search function....

also in safestrap make sure you mount system read write.

I don't know if it removes it, I use a rom, I imagine so

the answer to the poor effort question is a poor effort answer

yes, you can get xposed
[Verizon Galaxy S 5 General] striker1211:
Gotta install a deodexed rom like the one jrkruse provides or xposed will **** bricks. Literally, **** bricks. stdout->bricks. Just kidding, but yea, don't try to flash the xposed zip on a stock (odexed) rom. There is seriously "search this thread" button above though. Good luck, i know this stuff can be overwhelming just to get the phone the way you like it, but at least it's not an iPhone.
[Verizon Galaxy S 5 General] flash629:
What are these for?

Hello and thank you for all the work you've done on this project. I started from the begining {again} and it worked perfectly. I just have a question what are these for? Safestrap_Flashable_Kernels and Safestrap_Flashable_Firmware . I have them on the internal sd card and before I flash them I just would like to know what they're for or what they do.

Thanks.
[Verizon Galaxy S 5 General] GeTex:
Would someone better suited respond to them? All i remember is we used to have to flash the kernel when leaving safestrap because to get into safe strap, it flashes the NI2 kernel. So if you used to flash back manually, however the new mod of safestrap seems to take care of this for you :)
[Verizon Galaxy S 5 General] Alixbot:
Thanks broski, I got as far as the number 4 so progress yess but unfortunately I've been waiting a while now for script to finish and I don't think my computer is that slow :eek:

I uninstalled everything except android studio with jdk, reinstalled the right driver and I'm not sure whats keepin it from completion, although a tip for people with auth fail, i'm pretty sure com: should be set to 4 if you have the correct drivers, for before it was on 5 for me and had an authentication fail.
[Verizon Galaxy S 5 General] GeTex:
Chances are your device is going offline, try a different computer, was my issue
[Verizon Galaxy S 5 General] Alixbot:
Hey man, i had that same issue, turns out my htc drivers were confusing the bat file, did you try uninstalling all drivers for android, reboot computer, reinstall the samsung drivers? this cleared it up for me for the most part. you can find the driver at this link

click the manual instalation DL, the auto is bs.
[Verizon Galaxy S 5 General] shopman59:
THANKS

Thanks to jrkruse for all your work been reading for weeks and then striker1211 did the video and read and read the instructions and the video and just did it all went great then put VZW_BOK3_ODEX_DEODEX_V2.zip on and running great so thanks again for all the help that is in this form :D:D
[Verizon Galaxy S 5 General] tmar23:
Ok, I need some help. I have flashed any roms in the past, but haven't messed with phones in over a year. Had an issue with my battery indicator (not changing and always showing 100%), so thought I would try to root (Verizon s5 ok3) so I could delete the battery stats file and hope that would fix it. Anyway, i went through the first few steps on the first page. Followed the instructions and loaded the nk2 kernel and then tried to load the ok3 kernal. THe phone rebooted but was stuck on the Samsung S5 screen for a long time (nothing happened for a while). So, i pulled the battery and rebooted and got back to the same Samsung S5 screen. Now my phone wont boot and I can't get it to connect to my computer, either?

Can anyone help or have any suggestions?

---------- Post added at 04:47 PM ---------- Previous post was at 04:23 PM ----------

Disregard previous post, I am a dumbass and didn't read/search enough. I am re-reading now and will see if i can fix it. :p
[Verizon Galaxy S 5 General] koop_rt:
I'm started off with a S5 OG5 and prepared my phone with 0 problems. I was able to root my phone(both attempts) and installed busybox and safebox with success, however im having trouble in removing KNOXS. On my first run i attempted to flash G900V_OK3_Stock_KERNEL_SafeStrap-Flashable.zip through safe strap however this soft bricked my phone and i had to flash the BOK3 full restore image.Im stuck on what custom ROM im supposed to flash. On my second run I downloaded the VZW_BOK3_STOCK_ROM_DEODEXED.zip and attempted to flash through safe strap, however it keeps on failing i get an "E:error executing updater binary in zip'/external_sd/VZW_BOK3_STOCK_ROM_DEODEXED.zip' Error flashing zip". When i attempted to restart my phone after failure i get stuck on the initial Samsung Galaxy s5 Android screen (with no unlocked icon). I tried restoring my backup it failed(according to safestrap), but i got past the samsung screen and made it through the set up kingroot and everything installed through the bat file is gone (i only backed up the system, i didn't have enough space on my sd card to back up data aswell).

i re-installed the apps through the bat file, flashed NK2 and im back to before i attempted to flash deodexed(still have root).

It seems as if any attempt to install files through safestrap just brick my phone. Also when i flashed the NK2 kernal the safestrap menu that loads after the Samsung Galaxy logo it says "safestrap[disabeled]"

Any help would be appreciated

Forgot to mention that i did try the KNOX removal.zip through safe strap. this was the only zip safestrap had success with but did not remove KNOX.

Currently downloading VZW_BOK3_ODEX_DEODEX_V2.zip and going to try
[Verizon Galaxy S 5 General] GeTex:
Check the MD5's, files sound corrupt
[Verizon Galaxy S 5 General] jrkruse:
Flash the safestrap fix in the OP but make sure you have a rom to install or a backup after you flash the safestrap fix because it wipes system
[Verizon Galaxy S 5 General] koop_rt:
Thank you for the reply, after flashing safestrap fix zip and then flashing VZW_BOK3_ODEX_DEODEX_V2.zip safestrap got success with safe strap saying that KNOX was removed, after the OS booted up I went through the set up phone process. KNOX is still showing up, SuperSU is installed, the bat apks are gone but KNOX just wont go away.

What exactly can I not do while rooted with KNOXS?
[Verizon Galaxy S 5 General] michaelahess:
Lost...

I'm lost on these instructions. I have the OG5 firmware so ignored the first bit and went to prepare phone, did that, odin worked properly.

Now, assuming I'm supposed to go to "old directions" next? Problem with that, I can't find a link to anything that has ROOT_G900V_5.0.bat from step 6.

What did I miss? If I'm supposed to skip old directions since I did the new ones, what's next?

Thank's for putting this together, been waiting on root for this phone for a long time!