[GUIDE] Unlocking the Galaxys S5 Bootloader using DEV Bootloader [KK-MM]

thewebsiteisdown

Senior Member
Mar 18, 2011
722
171
0
So i follow the op and i have dev bootloader, i flash twrp and cm13 and lost imei... Any idea?


EDIT: I flash stock by odin and recovered imei...
You have to click the imei part to see the actual ID. I though this at first but then I clicked it and behold, imei is fine. Phone number etc. is listed under there as well.
 
  • Like
Reactions: TioCareca

bottmint

New member
Apr 1, 2016
3
3
0
Hey, all. Serial lurker here, and I read through the whole thread. I noticed N1ghtm4r3 had the S5 Active model, and I have the AT&T branded regular model. So, while taking care of some... *ahem* business... I went ahead and dumped my aboot, and uploaded it. So, if @ryanbg or @beaups or anyone else wants to take a look at it and see if it helps, here it is! Hopefully this leads somewhere, but if not, at least I might have helped. XD

Thanks for all your work on this thus far. If there's anything else I can do to contribute to bringing this to the AT&T model that is (hopefully) relatively safe (since this is my one and only device XD), give me a shout.
 

Attachments

Rakuu

Senior Member
Jun 16, 2014
2,410
818
0
Houston
okay so one user who commented noticed that in the batch file for pull the team accidentally put push twice i fixed it it pulled now im stuck at the screenshot attached View attachment 3704050

ive done this numerous times back on my razr m but for whatever reason it cant find the said directory even though i can navigate to it on my phone if i try the second method i get directory not found so can someone help me what am i doing wrong
That's the shell saying that command is not found not the directory, you're typing '$cd/path/to/dir' without a space so, if the directory was nonexistent it would say in no uncertain terms 'no such file or directory'

The only 'broken mess' is your syntax.
This is the second time someone in the thread has done this, the original instructions have a space you can literally copy and paste it.

Sent from my SAMSUNG-SM-G900A using Tapatalk
 

N4styN1ghtm4r3

Senior Member
Dec 7, 2014
55
9
0
Hey, all. Serial lurker here, and I read through the whole thread. I noticed N1ghtm4r3 had the S5 Active model, and I have the AT&T branded regular model. So, while taking care of some... *ahem* business... I went ahead and dumped my aboot, and uploaded it. So, if @ryanbg or @beaups or anyone else wants to take a look at it and see if it helps, here it is! Hopefully this leads somewhere, but if not, at least I might have helped. XD

Thanks for all your work on this thus far. If there's anything else I can do to contribute to bringing this to the AT&T model that is (hopefully) relatively safe (since this is my one and only device XD), give me a shout.
Awesome, glad we have an original contributing now!

Thanks a ton!
 

lickwid

Senior Member
Jul 15, 2008
143
26
0
It looks like you already have the right account and group. What happens when you chmod 777 samsung_unlock.bin
when I type that command, I get the error "Read-only file system"

And when I type in the command, "chown root.root samsung_unlock.bin", I get the error "Read-only file system"
 
Last edited:

smtpher

Member
Jul 16, 2013
22
5
0
when I type that command, I get the error "Read-only file system"

And when I type in the command, "chown root.root samsung_unlock.bin", I get the error "Bad mode"
You need to su first for root. Also, your file should not have a .bin extension but it should work once you have root.
 

lickwid

Senior Member
Jul 15, 2008
143
26
0
You need to su first for root. Also, your file should not have a .bin extension but it should work once you have root.
It wouldn't recognize the binary file unless I typed in the extension. I had to do the following commands for it to work:

Step 6:
su
cd /storage/emulated/0
chown root.root samsung_unlock.bin
chmod 777 samsung_unlock.bin
./samsung_unlock.bin

Then I finally got the prompt to accept Yes/No. Phone turned off. Ran steps 19-21 and phone turned off.

Went into download mode and it now shows "MODE: Developer"

So it looks like I'm good now. Need to load up TWRP. Thanks for the help.

NOTE: I don't believe there is a /storage/sdcard/0/ directory as stated in OP, it should be /storage/emulated/0/
 
Last edited:
Mar 22, 2013
21
6
0
28
Kent
That's the shell saying that command is not found not the directory, you're typing '$cd/path/to/dir' without a space so, if the directory was nonexistent it would say in no uncertain terms 'no such file or directory'

The only 'broken mess' is your syntax.
This is the second time someone in the thread has done this, the original instructions have a space you can literally copy and paste it.

Sent from my SAMSUNG-SM-G900A using Tapatalk
jee if only i thought of copy and paste... oh wait i have every god damn time i retry it its the effin syntax in the OP not mine maybe whoever type the instructions should gee idk make them clearer just say extract to /adb means **** until i understood that was the root because i was actually looking for a /adb folder so you sir or maam can remove the minion from your ass and chill
 

Rakuu

Senior Member
Jun 16, 2014
2,410
818
0
Houston
jee if only i thought of copy and paste... oh wait i have every god damn time i retry it its the effin syntax in the OP not mine maybe whoever type the instructions should gee idk make them clearer just say extract to /adb means **** until i understood that was the root because i was actually looking for a /adb folder so you sir or maam can remove the minion from your ass and chill
Or it means extract the 7zip to a folder on your computer called 'adb'? The syntax in the OP looks fine, meanwhile your screenshot clearly shows you typing it wrong, nothing needs to be made clearer.

Sent from my SAMSUNG-SM-G900A using Tapatalk
 

samccfl99

Senior Member
Jan 2, 2013
1,250
423
83
COCONUT CREEK, FL
Or it means extract the 7zip to a folder on your computer called 'adb'? The syntax in the OP looks fine, meanwhile your screenshot clearly shows you typing it wrong, nothing needs to be made clearer.

Sent from my SAMSUNG-SM-G900A using Tapatalk
Method 2 looks much easier, why do method 1?...LOL

So have you tried this yet Rakuu? You would be a good one to try it. You know a lot about our phones.

The guy with the 870A did it and it did not seem to unlock anything. I guess the only way to see if it really works would be to do it and then try to Odin TRWP?! NOT ME!!!
 
Mar 22, 2013
21
6
0
28
Kent
Or it means extract the 7zip to a folder on your computer called 'adb'? The syntax in the OP looks fine, meanwhile your screenshot clearly shows you typing it wrong, nothing needs to be made clearer.

Sent from my SAMSUNG-SM-G900A using Tapatalk
okay so explain to me than why i cant type yes in the cmd window when it asks me too just keeps repeating the same line but doesn't allow me to say yes or no
 

johnnybg00d

Senior Member
Jan 24, 2011
105
12
0
It wouldn't recognize the binary file unless I typed in the extension. I had to do the following commands for it to work:

Step 6:
su
cd /storage/emulated/0
chown root.root samsung_unlock.bin
chmod 777 samsung_unlock.bin
./samsung_unlock.bin

Then I finally got the prompt to accept Yes/No. Phone turned off. Ran steps 19-21 and phone turned off.

Went into download mode and it now shows "MODE: Developer"

So it looks like I'm good now. Need to load up TWRP. Thanks for the help.

NOTE: I don't believe there is a /storage/sdcard/0/ directory as stated in OP, it should be /storage/emulated/0/
This is exactly what I did to mine and it works too. My only comment would be it doesn't REBOOT. It would turn off the phone and you have to turn it back on. Awesome! Thanks to all the Devs!! I don't really need to unlock bootloader because I don't flash customed RoM or kernal but I figured I just want to figuratively give the finger to VZW for locking my bootloader.
 
  • Like
Reactions: samccfl99
Mar 22, 2013
21
6
0
28
Kent
This is exactly what I did to mine and it works too. My only comment would be it doesn't REBOOT. It would turn off the phone and you have to turn it back on. Awesome! Thanks to all the Devs!! I don't really need to unlock bootloader because I don't flash customed RoM or kernal but I figured I just want to figuratively give the finger to VZW for locking my bootloader.
this is what mine does using method one after i type yes spams the screen with y'sScreenshot_4.jpg nothing else happens
 

beaups

Senior Recognized Developer
Nov 28, 2007
3,276
7,257
253
Dublin, OH
This is exactly what I did to mine and it works too. My only comment would be it doesn't REBOOT. It would turn off the phone and you have to turn it back on. Awesome! Thanks to all the Devs!! I don't really need to unlock bootloader because I don't flash customed RoM or kernal but I figured I just want to figuratively give the finger to VZW for locking my bootloader.
it doesn't reboot because it's not supposed to reboot. it's coded to fully power off the device after running, as that's what's needed.
 

kilroy1stcav

Senior Member
Apr 21, 2008
250
33
0
it doesn't reboot because it's not supposed to reboot. it's coded to fully power off the device after running, as that's what's needed.
What the poster is saying is the instructions say wait for reboot, to make it absolutely clear for everyone, it would be better to say after phone powers off, reboot.

I did method 2 also, I waited a few minutes just to make sure before I powered the phone on,