yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] alaneddy:
Bootloader Unlock

So, with a hairbrained idea to just write to the samsung devs and ask for an unlocked bootloader, here is the reply:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Dear Alan,

Thank you for taking the time to contact us at Samsung Technical Support. We always appreciate hearing from our customers.

I see that you want to unlock the boot loader on the phone and want to know is there a way to obtain unlocked boot loader firmware. I will assist you with the required information.

Trust me first of all I would have done everything write here if there was an option available to unlock the boot loader. Samsung does not encourages rooting the phone, as it might affect the phone performance and voids the warranty of the phone. There is no unlocked boot loader firmware available from Samsung. We do not have information regarding rooting the phones.

Your satisfaction is of the utmost importance to us. Please feel free to get back to us, if you have any further queries. I will be glad to assist you.

Should you desire additional assistance, we invite you to access the web-link http://www.samsung.com/us/support/contact to speak to a Chat Specialist. Our technicians are more than happy to assist you further. Chat Support is available 24X7.

For additional support and updates regarding your product, please follow us at [MENTION=5246982]SamsungSupport[/MENTION] on Twitter or like our page at https://www.facebook.com/samsungsupport.

Thank you for choosing Samsung products.

If you have a minute, please fill out a brief survey to help us serve you better. To begin the survey, click on the “Start Survey Here” link at the bottom of this email. Please note that you can access the survey page only when the pop-up blocker is disabled in the browser.

Sincerely,

Arun

---------------------------------------------------------------------------------------------------------------------------------------------

T-Mobile and Sprint and ALL Canadian models have unlocked bootloaders......... so apart from telling me to go fly a kite, we are still where we were. I am going to ask a SUPER DUMB question. What happens if I flash a bootloader from a SM G900W8 (Bell Canada) to my SM G900V? or even the whole ROM for that matter. The LTE bands are pretty much the same. There is probably a code written to the chip to ONLY load the verizon firmware otherwise it will self destruct in 10 seconds.

I apologize for being off-topic (sort of)
[Verizon Galaxy S 5 General] Scrambled1:
Question, before I go through rooting process again (I Bricked my phone trying to get xposed on there so I gotta re-do it)...

The other day I was able to root fine, was on BOK3. But I had to flash the factory restore after a big F-up, now I am on BPB1. Do I need to "prepare my phone for root" or do I start off with the .exe file?
[Verizon Galaxy S 5 General] ozz200127:
wat kernel should it say to do kingroot?
[Verizon Galaxy S 5 General] alaneddy:
I would assume NK2. After flashing NK2 and rebooting is when you go into APP DRAWER and run all the APK's it pushed to your phone.

---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------

As long as its a fresh install with NO accounts or info setup I'd proceed straight to OK3_ROOT
[Verizon Galaxy S 5 General] ozz200127:
nk2 kernel doesn't let it boot
[Verizon Galaxy S 5 General] alaneddy:
boot into recovery and clear cache, then reboot.
[Verizon Galaxy S 5 General] ozz200127:
imon pb1 build and ive cache
[Verizon Galaxy S 5 General] Scrambled1:
I have loaded up the phone and logged in, and the version is BPB1 - My question is do I have to prepare the phone by doing anything else or can I use the OK3_ROOT.EXE right away?
[Verizon Galaxy S 5 General] mc732:
So close.

Hey it's me again. I believe my issue hasn't been covered yet. Unless I am doing something crazy dumb here.

Clear cache and data,

I am already on PB1, but I have tried flashing it again,

Skip account sign-ins, enable USB debugging and disable verify apps,

Run root.bat. Everything appears to operate properly,

Odin opens, flash nv2_kernel,

Reboot hangs at Samsung screen,

root.bat detects phone, and hangs (see logs bellow)

Clear cache and reboot,

Run root2.bat, and it hangs at the same point.

Any ideas?

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

Waiting for the phone to be connected ...

Installing Apps

407 KB/s (9302274 bytes in 22.317s)

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

Success

384 KB/s (2745636 bytes in 6.969s)

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

Success

423 KB/s (27799757 bytes in 64.035s)

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

Success

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

[*] The Phone Will Reboot To Bootloader And Odin will Open".

[*] The Phone And Get Stuck On The Samsung Screen".

[*] Now Wait For The Phone To Reconnect

[*] If The Phone Never Reconnects Then May Have A Driver Problem

[*] Please be patint ...

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

Waiting for the phone to be reconnect ...

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.4.0-2525521 (d

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

4
[Verizon Galaxy S 5 General] GeTex:
None of you listen. Seriously

If it hangs and doesn't work, USE A DIFFERENT COMPUTER, CHANCES ARE YOUR DEVICE IS OFFLINE

Wanna check, open an adb shell in cmd and run adb devices and it'll probably say offline

Second NK2 is supposed to hang at the Samsung logo.... How pathetic can this get

Last DO NOT FLASH OTHER BOOTLOADERS. Verizon uses a signature verification to make sure Verizon signed the bootloader, if not, you will brick or no results. Also Verizon has a qfuse system to stop downgrading the bootloader. You just can't. All these answers are already in the thread. We have a search function. I'm blind in one eye right now, and reading this will blind my other eye
[Verizon Galaxy S 5 General] mc732:
Doubt it's helpful, but I notice that root.bat is manipulating "/data/local/tmp/.2c360c7" which I can't find a source for. It's pushes the CRC directory, which doesn't contain anything called ".2c360c7".
[Verizon Galaxy S 5 General] ozz200127:
that's what happens to me also.....ive tried doing cache to reboot in nk2 kernel buy nothing.. still still stays at Samsung and wont boot with that kernel..
[Verizon Galaxy S 5 General] mc732:
You are correct. Thanks for being an ass.
[Verizon Galaxy S 5 General] ozz200127:
ive wiped cache so many times and still hangs....
[Verizon Galaxy S 5 General] alaneddy:
reboot into BOOTLOADER and flash the VZW_BPB1_KERNEL_ONLY.tar.md5 file. phone should reboot perfectly afterwards.

IF computer isnt recognizing the phone, reboot computer, and all should be kosher.
[Verizon Galaxy S 5 General] ozz200127:
So use the one in the ok3 root
[Verizon Galaxy S 5 General] alaneddy:
yes
[Verizon Galaxy S 5 General] ozz200127:
I'll try some more when I get home
[Verizon Galaxy S 5 General] ozz200127:
I'm talking about when I flash the nk2 kernel....I keep wiping cache in stock recovery but still hangs?
[Verizon Galaxy S 5 General] alaneddy:
yes..... reboot phone into bootloader... flash the pb1 kernel located in the OK3_ROOT folder, then reboot. THEN run the APK's in the order jkruse listed them to be run in. problem should be solved.

Note... I used the OK3 kernel. (i edited the batch file to see the natural progression of things and it says to flash the OK3 kernel after root process) Might want to give that some thought, then after root is complete, flash the PB1 kernel

-----------------------------------------------------------------------------------------------------------------------------------------------------

Batch File

--------------

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

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

echo [*] After the script complete reflash OK3_kernel

echo [*] Please be patint ...

echo.

echo ===============================================

echo Waiting for the phone to be reconnect ...

adb wait-for-device

adb shell rm -R /data/local/tmp/* >NUL 2>&1

adb shell rm -R /data/local/tmp/.2c360c7 >NUL 2>&1

adb push CRC /data/local/tmp/ >NUL 2>&1

adb shell chmod 755 /data/local/tmp/* >NUL 2>&1

adb shell chmod 777 /data/local/tmp/.2c360c7 >NUL 2>&1

adb shell chmod 755 /data/local/tmp/.2c360c7/* >NUL 2>&1

adb shell "cd /data/local/tmp && ./schrodinger32 /data/local/tmp/.2c360c7/postroot.sh /data/local/tmp/.2c360c7 1 /data/local/tmp /data/local/tmp"

adb shell rm -R /data/local/tmp/* >NUL 2>&1

adb shell rm -R /data/local/tmp/.2c360c7 >NUL 2>&1

echo.

echo ===============================================

echo [*] Flash OK3_kernel

echo [*] If Phone Does Not Reboot To Booloader

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

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

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

echo [*] Enjoy ...

echo.

adb reboot bootloader

start Odin.exe
[Verizon Galaxy S 5 General] odinegere:
Friend accidentally deleted their photos, etc on internal memory, so I am trying to root the phone. Found this thread, as the phone is BOK3. I have been trying to follow the directions, but hitting on some problems. The length of the thread, even with search, is making some of this difficult, so apologies for repeating some questions. In particular, I have been trying to follow the post #1380 from alaneddy.

I ran root.bat and Odin3 ran, the command window "Waiting" for devices (just hanging on adb wait-for-devices). It wasn't obvious to me that it wanted me to load the NK2 kernel manually via AP slot and hit start, but that is what I did. After this, and waiting a minute, the script output that it was successful. It hung at the end of the script with no further reboot:

echo [*] Flash OK3_kernel

echo [*] If Phone Does Not Reboot To Booloader

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

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

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

echo [*] Enjoy ...

echo.

adb reboot bootloader

start Odin.exe

pause

adb kill-server >NUL 2>&1

adb wait-for-device >NUL 2>&

I have since closed everything, as it was just hung and I rebooted the device (which stopped at the samsung screen). I can get to the "Downloading" bootloader screen if I used the vol-down+power+home and hit the up volume.

Should I be flashing the file VZW_BOK3_KERNEL_ONLY.tar.md5 (not sure why that is an md5 file, but it seems to really be a tar)? This seems confusing, since the instructions don't make it clear that this is a command (as in "do this") and the instructions later talk about flashing that file, but only much later in the process.

FTR, when I started this process, the friend had their Google account on the phone already, and I hadn't seen any reference to this making any difference (until it was too late). I am still unclear on why that is an issue.

Huge thanks for the guidance.
[Verizon Galaxy S 5 General] alaneddy:
look 1 post above this one. and YES, I used the OK3 Kernel and was successful.
[Verizon Galaxy S 5 General] odinegere:
Thanks - I knew the posts were relevant, hence I thought I might have to take that next step, but it didn't match up with the remainder of the instructions (which talk about flashing BOK3 much later, after opening the kroot apk, etc.)

For those who might be similarly confused, I just ran Odin directly from the OK3_ROOT directory and in the AP slot, loaded the VZW_BOK3_KERNEL_ONLY.tar.md5 from that same directory and then hit Start. With Auto Reboot checked in Odin, the phone booted up just fine. I ran a root verifier to confirm root. Since I don't need anything more, I booted my machine into Linux to continue the process of dumping the internal memory so that I can run data recovery (it is at about 80% of the copy now).

(I am prevented from posting a link to the procedure I am using but I can post that back when I have enough activity in the forums, if people have interest in this as a use case)

Now, once this is done and I hand the phone back, what does my friend need to do? Do we need to prevent future OTA updates somehow? Can they go back to a stock install?

What happens if a factory reset is done? (will it still have the custom image?)
[Verizon Galaxy S 5 General] alaneddy:
you should have whatever ROM you flashed, just back to a pristine state of install.
[Verizon Galaxy S 5 General] NvWatts:
I just rooted my phone and it has OG5 can anyone tell me which roms i should be able to flash?
[Verizon Galaxy S 5 General] ozz200127:
still no root.....I have no idea why I'm not getting it.....
[Verizon Galaxy S 5 General] Scrambled1:
Thanks for the clarification post alaneddy, I appreciate it. I will attempt to root again later tonight!
[Verizon Galaxy S 5 General] Uproared:
So I Finally rooted my s5 but should i remove knox i downloaded a phone info app and it says my knox is 0x0 so it didnt get tripped so should i just keep it?
[Verizon Galaxy S 5 General] alaneddy:
glad it worked for ya. pretty simple and straight forward.

---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------

really up to you. its not gonna hurt much with it still installed. only reason i took it out was because i detest authority telling me what to do with my property :)

---------- Post added at 05:16 PM ---------- Previous post was at 05:14 PM ----------

ANY Verizon Touchwiz GS5 based roms with NO bootloaders in them.... stray from that and welcome to BRICK CITY!

---------- Post added at 05:19 PM ---------- Previous post was at 05:16 PM ----------

ozz.... page 141 i redid the flashguide totally..... made it step by step, follow that to the letter and it will work. read over it first.
[Verizon Galaxy S 5 General] yossijoe:
This should be on XDA for dummies :laugh:
[Verizon Galaxy S 5 General] ozz200127:
guess I'm a dummy cause it still not working for me..........................................
[Verizon Galaxy S 5 General] alaneddy:
lol
[Verizon Galaxy S 5 General] GeTex:
Your non descriptive posts are not providing us anything to work with

would you like the "have you tried restarting it" response

"have you un plugged it and plugged it back in?"

"is the phone on?"
[Verizon Galaxy S 5 General] alaneddy:
Wierd Happening since root

Hopefully Im the only one.

32gb card is new and works fine in GS3

1-I insert 32gb SD card

2-Preparing SD card

3-All is well.

4-Reboot

5-Says preparing SD Card

6-Says Unmounting SD Card

7-Try to remount

8-Says SD Card Damaged or Unusable

9-Re-format with Win FAT32

10-Process starts all over again.

Works fine til I reboot phone... R/W

This just started happening after I rooted. Any ideas?
[Verizon Galaxy S 5 General] ozz200127:
ive tried everthing 20 times and nothing.....I wish I had another way to talk to somebody about this...I need it rooted.....
[Verizon Galaxy S 5 General] cjmccormick:
Yeah, this is quite confusing and frustrating. When I know I'm following your instructions exactly as they say and still can't get root2.bat to work and still hanging on Samsung Galaxy Logo. Tried this 4 times already tonight. What am I missing? Because I can't figure it out.
[Verizon Galaxy S 5 General] GeTex:
Where did you buy said card?
[Verizon Galaxy S 5 General] ozz200127:
ok when i flash nk2 kernel and and stays at samsung logo.then i click off root cript and pull battery and go into recovery and wipe cache then go into bootloader and bring up root2 script and hit it and doesnt do anything...alls it says is waiting for phone to reconnect....wat do i do?
[Verizon Galaxy S 5 General] cjmccormick:
Same issue here
[Verizon Galaxy S 5 General] GeTex:
no one reads...
[Verizon Galaxy S 5 General] cjmccormick:
Oh I can read, Its just hard to follow some of the sentences and steps don't make sense and punctuation is all.
[Verizon Galaxy S 5 General] alaneddy:
1-Unplug Phone

2-Before you hit the ROOT2.BAT, open up MY COMPUTER

3-Plug in Phone

4-Wait for there to be a device there called SM G900V. When it pops up THEN run the ROOT2.BAT

---------- Post added at 09:54 PM ---------- Previous post was at 09:47 PM ----------

best buy... sandisk 32gb

I can pull it and put it in GS3 after GS5 says its bad, and the GS3 recognizes everything on the card. I have cleaned the sd slot and checked for bent or broken pins. all is good. more research yielded a possible problem with this elsewhere involving GS5 and lollipop, I will investigate further.
[Verizon Galaxy S 5 General] cjmccormick:
Ok, my problem is...after flashing the kernal, I reboot into recovery, but my phone doesn't get recognized and show up on my computer so I can start root2.bat. I tried 3 different USB ports. I have the latest drivers. Any suggestions?

Edit:

Also, I want to add, Just to see if my phone is recognizable from Odin, I loaded Odin up and the Com area is blue.
[Verizon Galaxy S 5 General] alaneddy:
try this..... reboot phone, DONT go into recovery or bootloader. let the phone get to the part where its at the samsung logo lockup, then plug it in. see if its recognized then. if so, run the ROOT2.BAT. Process should continue then.
[Verizon Galaxy S 5 General] cjmccormick:
Ok, its working, but still no device showing up in File Explorer. I do see it in device manager though and the taskbar.

It's hanging here:

Waiting for the phone to be reconnect ...

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.4.0-2525521 (dpi@SWDD5816) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Sun Sep 14 18:04:11 KST 2014
[Verizon Galaxy S 5 General] ozz200127:
now all is says up top is unauthorized and does nothing
[Verizon Galaxy S 5 General] PalmCentro:
Did you allow USB Debugging?

:rolleyes:
[Verizon Galaxy S 5 General] GeTex:
Hey... so.... I've been tinkering....

Correct my thoery if this is wrong

If someone with a GS5 Dev edition did a bootloader dump, and we imaged that to an SD card, and then boot that up and flashed a Stock dev edition os, after it's running, used that OS to wipe the internal partitions completely and then use dd to write the entire sd to internal... could we force-ably flash the dev bootloader and os to a non dev device as we wouldn't be using a locked bootloader since we'd boot a unlocked bootloader from the SD? O_O

Did i win?

Edit: Skip the complex part, if the Dev bootloader is loaded from SD, can't we just Odin from there? no locks?
[Verizon Galaxy S 5 General] alaneddy:
looks like root went through.... if further down it says success, then flash the ok3 kernel.

have you tried rebooting pc before you go to the root2 sequence? ive had the drivers not recognize before after a flash. just an idea.
[Verizon Galaxy S 5 General] cjmccormick:
That's what I thought too, but no Success, it just hangs there.
[Verizon Galaxy S 5 General] ozz200127:
i get the error at bottom of that saying no devices found.....and doesnt say sucess
[Verizon Galaxy S 5 General] cjmccormick:
I will give that a try. Should I just power off the phone or leave it at the samsung logo?
[Verizon Galaxy S 5 General] alaneddy:
I read today the horror stories of DEV Edition SG5's accidently taking the over the air and then being locked down with a locked bootloader. Everywhere I look it seems that once you get Lollipop you are stuck with the locked bootloader forever, or until verizon releases a fix.

Edit:

------

I also saw that same thing mentioned for a debrick file. the phone boots a heirarchy (bootdev1 then bootdev2

etc... ) until it gets a clean boot. Then it can be transfered to internal by using dd

---------- Post added at 11:43 PM ---------- Previous post was at 11:23 PM ----------

for ha-ha's, try it both ways for redundancy.
[Verizon Galaxy S 5 General] GeTex:
So.... is my theory actually probable? If so why not we ask or fellows in the Dev forums for a S5 Dev edition dump, and then give this a shot?

(I sense hardbrick risk?)

---------- Post added at 09:46 PM ---------- Previous post was at 09:44 PM ----------

Okay, I'll repeat myself once again, because I love smashing my skull into the wall

if you know how to use a computer, open command prompt

type cd and then the location of root.bat

then type "adb devices"

does your device show up as offline???

CONGRATS, you may want to use a different computer or cable(not a joke, usb micro is stupid)
[Verizon Galaxy S 5 General] alaneddy:
Now that you mention it, you also want to use REAR USB ports (read that somewhere the past day or two) and not the front ones.
[Verizon Galaxy S 5 General] cjmccormick:
Restarting the computer helped, I'll have to remember that next time
[Verizon Galaxy S 5 General] GeTex:
The experiment is imo worth while if we succeed. I'll take a peek, gonna go pick up another S5 tomorrow, one showed up at the office with a blacklisted ESN, perfect use for this. Hopefully I can snatch.(Was legally obtained through a local auction for unclaimed items)
[Verizon Galaxy S 5 General] alaneddy:
better than dropping $125 for one on amazon. good luck.
[Verizon Galaxy S 5 General] skido04:
Thanks guys, especially jkruse for such hardwork, and all

The guys that helped in one way or the other, I now have root, using a modded Rom debloated , deodexed and new features, my Hotspot now works too. I have one tiny question , now that I have root and custom rom. Is there a workaround to the network modes, I still have lte/gsm/utms. Is there a way to get UTMS only option. Thanks
[Verizon Galaxy S 5 General] alaneddy:
1-settings

2-more networks

3-mobile networks

4-network mode

5-choose

have at it :)

mine is set to GLOBAL, no mention of UTMS only tho
[Verizon Galaxy S 5 General] ozz200127:
I gave up for the night...be back at it hopefully tomarrow
[Verizon Galaxy S 5 General] ozz200127:
I know I've try ed everything but can't seemed to get it....why doesn't it reconcile my phone at in the bottom of root2bat
[Verizon Galaxy S 5 General] skido04:
I know the steps but I only have GLOBAL, LTE/CMDA, LTE/GSM/UTMS . Whenever reception is not very strong, it forces me to use GSM. I want an option to always leave it on utms. Am sure one of our experts here will know a workaround
[Verizon Galaxy S 5 General] cjmccormick:
Take a look at the issues I was having, it may help you. Take a break, sit back, get refreshed and start over. IT does work. The OP who I think very much for this root guide, didn't really exactly give every little detail. But skimming through the thread here and other regulars have helped.

Good Luck :good:
[Verizon Galaxy S 5 General] cjmccormick:
Hmm I noticed when rebooting the device it shows custom with an unlocked padlocked lol cool I guess
[Verizon Galaxy S 5 General] alaneddy:
yep... no way around that.
[Verizon Galaxy S 5 General] cjmccormick:
Im not sure if I need/want any of these Safestrap_Flashable_Kernels and Safestrap_Flashable_Firmware that are listed on the OP. The kernal I have now is the BPB1

Also, I flashed Knox remover using Safestrap and after reboot, Settings still says Knox is Installed.