yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 Android Development] bottmint:
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 [MENTION=766721]ryanbg[/MENTION] or [MENTION=711482]beaups[/MENTION] 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.
[Verizon Galaxy S 5 Android Development] lowfront:
Just wanted to chime in and say that this worked perfectly on my S5.

Thanks again everyone!
[Verizon Galaxy S 5 Android Development] Rakuu:
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.
[Verizon Galaxy S 5 Android Development] N4styN1ghtm4r3:
Awesome, glad we have an original contributing now!

Thanks a ton!
[Verizon Galaxy S 5 Android Development] smtpher:
It looks like you already have the right account and group. What happens when you chmod 777 samsung_unlock.bin
[Verizon Galaxy S 5 Android Development] lickwid:
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"
[Verizon Galaxy S 5 Android Development] smtpher:
You need to su first for root. Also, your file should not have a .bin extension but it should work once you have root.
[Verizon Galaxy S 5 Android Development] lickwid:
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/
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
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
[Verizon Galaxy S 5 Android Development] Rakuu:
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.
[Verizon Galaxy S 5 Android Development] samccfl99:
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!!!
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
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
[Verizon Galaxy S 5 Android Development] johnnybg00d:
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.
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
this is what mine does using method one after i type yes spams the screen with y's nothing else happens
[Verizon Galaxy S 5 Android Development] johnnybg00d:
I didn't try method 1. I used method 2 since I can do it from my phone without any other prog/app besides terminal. Have you try method 2?
[Verizon Galaxy S 5 Android Development] beaups:
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.
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
method two doesnt work for me i fixed my syntax in the terminal still came up with no such file or directory
[Verizon Galaxy S 5 Android Development] kilroy1stcav:
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,
[Verizon Galaxy S 5 Android Development] Rakuu:
I may try it, I don't think it will work though, whatever CID the bootloader is or is not looking for is not what this will set.

I can't speak for the tool, only for your original problem with the adb commands, I don't use Windows or batch so I can't comment on it.
[Verizon Galaxy S 5 Android Development] lickwid:
I think he's just referring to the OP and how it says the phone will reboot. For clarity purposes, it actually just turns off like you mention. You need to power on manually.

Try what I did in my post a few above yours by typing out the entire file name including the extension.

---------- Post added at 11:55 AM ---------- Previous post was at 11:52 AM ----------

You beat me to it...

Did you have to cd into /storage/emulated/0/ as well, or did you actually have the /storage/sdcard/0/ directory as in OP?

And did you have to type in the full filename including extension as I did for the terminal emulator to recognize the file?
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
i have still nothing

---------- Post added at 12:02 PM ---------- Previous post was at 11:58 AM ----------

still getting no such file or directory after typing out "cd /storage/emulated/0" it hangs right there this is through the terminal on my phone
[Verizon Galaxy S 5 Android Development] kilroy1stcav:
I posted quite a few pages back about having to use cd /storage/emulated/0/ plus the part of phone powers off instead of reboot.
[Verizon Galaxy S 5 Android Development] brianthomasjamiel:
you can post as much as you want about me having to use it if my phone says no such file or directory wtf do i do just saying well i post a few pages back about using cd /storage/emulated/0/ means **** if i cant find the emulated directory the storage directory i can get to as soon as i cd /emulated thats when i get the error yes i realize you dont do the paths separately but i want to see where exactly it was failing and thats where for my phone its failing even though the unlock is in that file path
[Verizon Galaxy S 5 Android Development] kilroy1stcav:
Are you rooted? Did you grant root privileges to terminal? Did you start with typing su first?
[Verizon Galaxy S 5 Android Development] smtpher:
Is there any benefit to updating the modem to PB1.
[Verizon Galaxy S 5 Android Development] Rakuu:
Can you provide a screenshot of it failing maybe? Your first post here had to do with a mistype, and seeing as /storage/emulated/0 will objectively exist it leads me to believe something is amuck wth your commands if the shell is saying it doesn't exist.
[Verizon Galaxy S 5 Android Development] lickwid:
First thing you need to do is check your attitude at the door. People here are trying to help you, as they helped me, and you give them that attitude. I'm surprised they are still responding to you.
[Verizon Galaxy S 5 Android Development] samccfl99:
I wanted to give Thanks for your comment, but it seems XDA only allows EIGHT thanks per day. That's a new one...LOL. Sorry to waste the post, but I do agree. Some of these "juniors" are very hostile in this thread.

Wish I had a G900V to try it. I am sure if I had that and a "15", it must work.

Sorry to waste the post...still watching the thread though!!!
[Verizon Galaxy S 5 Android Development] autonomousperson:
Lol no need to get worked up over this. Try cd /sdcard/ rather than the emulated route. Grant su and execute the binary.
[Verizon Galaxy S 5 Android Development] smtpher:
I can see now why devs can get a little bent out of shape from all the "unresearched" questions.

An +800 post thread is difficult to follow from beginning to end and a good attitude goes a long way on either side.
[Verizon Galaxy S 5 Android Development] samccfl99:
I read all 792 posts....(and read meaning "red", phonetically speaking...LOL)
[Verizon Galaxy S 5 Android Development] smtpher:
I did too. setting the forum to display 50 posts per page helps, I wish you could set it to 100 though.
[Verizon Galaxy S 5 Android Development] alaneddy:
lol, now THAT'S a dedicated technician :)

---------- Post added at 04:33 PM ---------- Previous post was at 03:59 PM ----------

rotflmao

---------- Post added at 04:38 PM ---------- Previous post was at 04:33 PM ----------

same here... build # changes fine, but baseband stays on PB1

---------- Post added at 04:58 PM ---------- Previous post was at 04:38 PM ----------

worked 1st time through perfectly here.
[Verizon Galaxy S 5 Android Development] radionerd:
Welcome to DevEd. If the baseband ever changes it will lock retail again. That's the aboot. Be careful to only flash DevEd safe Roms. Ones with aboot removed. Retail tars will replace aboot.

However with this exploit it appears you could just run the exploit again if a full retail tar is flashed.

As for my experience flashing kernels to DevEd's. Flashing them from a cold boot into download mode makes them stick usually on the 1st attempt. I was aways unsuccessful flashing using reboot menus into download mode.

Sent from my Nexus6P running Bean's *Pure Nexus*
[Verizon Galaxy S 5 Android Development] ldeveraux:
My man, it's clearly not working for you and forced you to use forum-questionable language in the process. It's a funny way to ask for help! I would advise you calm down a bit before you get a warning from the MODs:good:

---------- Post added at 06:37 PM ---------- Previous post was at 06:34 PM ----------

Just a quick point of protocol here. If I want to attempt Method 2, the steps are supposed to be followed 1-6 then 18-21, all under Method 2? I'm not missing something somehow re: steps 7-17?
[Verizon Galaxy S 5 Android Development] GeTex:
Excellent!. Next I'm going to try it out

I have a IMEI Blacklisted(bad ESN) VZW S5 Dev on the way. Coming from an Unclaimed lost and found. Anyone else who can find us an aboot and a CID, feel free to post it here

Let the games begin!
[Verizon Galaxy S 5 Android Development] doubleaykay:
If I am not mistaken, there should not be any issue with using that device's CID and aboot with other devices. Correct me if I'm wrong... but that could be one of the options we have to test with. I would appreciate it if you could either post it here or even PM it to me (CID and aboot) as I have a test device I'd like to try this on.
[Verizon Galaxy S 5 Android Development] GeTex:
Once the Device arrives I'll make it public. I haven't gotten a Tracking # yet
[Verizon Galaxy S 5 Android Development] autonomousperson:
I'm pretty interested in this and I believe I have 2x vzw s5 mobos and 1x att mobo. If you need to test something id be glad to help.
[Verizon Galaxy S 5 Android Development] GeTex:
That may help alot. Cuz I refuse to test this first on my good device meaning i have to buy another vzw S5
[Verizon Galaxy S 5 Android Development] beaups:
There's nothing to test, the work has been done already. Find donor aboot and donor cid. Change cid to match. Flash aboot through Odin. Done.
[Verizon Galaxy S 5 Android Development] ryanbg:
This will work. On a side note, the only other device at the moment that this will work with is the Verizon Note 3. It will not work with AT&T devices. We didn't test on Note 4, but I have an inkling it may work. This method will NOT work for the S4 (Toshiba eMMC) or the S6/S7.
[Verizon Galaxy S 5 Android Development] al50:
This question is for "Others" that may be reading this for useful knowledge for this VZW S5 community. By getting the said "Donor", does the donor apply to only one device or can it (same "Donor") be used on multiple devices or we're uncertain if it can be used for multiple devices?
[Verizon Galaxy S 5 Android Development] beaups:
Easiest way would probably be to use that donor cid/aboot for all devjces.
[Verizon Galaxy S 5 Android Development] Legitsu:
after finally getting time to read though the pdf and the code

I must say this is a pretty interesting exploite I am not sure how samsung missed this

well done
[Verizon Galaxy S 5 Android Development] GeTex:
Test I mean trying the exploit myself and any fallbacks(such as playstore ect) along with me trying to get an aboot and a CID.

Can i get the CID physically off the chip, it appears the S5 Dev had water damage and doesn't post, so It may not be as useful now(and may explain why the owner never claimed it)
[Verizon Galaxy S 5 Android Development] Bobcus Leper:
Read the quote above yours. It won't work.
[Verizon Galaxy S 5 Android Development] Legitsu:
just corrected it to much easter food ....

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

you can try bathing the board in denatured alcohol overnight

its very very likely too late but it can't hurt to try

and no the CID is stored in a register from my understanding its not printed
[Verizon Galaxy S 5 Android Development] GeTex:
Once the Device is here will give it a shot. They didn't describe the device ass burnt or smokey smell, just said wouldn't power up and the water strip on the battery and device are both soaked.

I really want to try this

[MENTION=711482]beaups[/MENTION] if I flash this aboot and such, can it still boot the current system or does it lose such ability?
[Verizon Galaxy S 5 Android Development] beaups:
I'd find a device that actually works.
[Verizon Galaxy S 5 Android Development] GeTex:
Dang, Dev editions are hard to come by, guess we wait on someone to get a aboot and cid. If i bought a working Dev edition... i wouldn't bother unlocking my locked one LOL
[Verizon Galaxy S 5 Android Development] autonomousperson:
What I do for water damaged devices is first remove all the RF sheilds then soak in a solvent (alcohol works best as legitsu said). Have it soak for around 30 mins and work at the corrosion with a toothbrush. Then wipe clean and bake for 20 mins at 200F. Most of the time it works again. When prying the screen off go slow and shallow at the top or you will slice through the ribbon cable without even knowing it.
[Verizon Galaxy S 5 Android Development] beaups:
Nope. My mission was change cid. Accomplished. No other research done.
[Verizon Galaxy S 5 Android Development] Surge1223:
I know, sorry man I didn't mean to come off all like :

"bro thanks thanks for the awesome unlock, but did you check if Xposed/Android Pay/theme engine/CM /Viper also worked? K Thanks bai

"HIT MY THANKS BUTTON, IF I HELPED "

Nice job, and great write up
[Verizon Galaxy S 5 Android Development] nakamoniel:
OMG, so finally I got my s5 BOOTLOADER UNLOCKED. it says its in Developer mode upon rebooted in bootloader mode. Already flashed TWRP recovery. about to instal Resurrection Remix from unified dev. I have a quick question, which one do i install out of four different flavors? Also can i reactivate Sansung Lock or is it big NO NO?
[Verizon Galaxy S 5 Android Development] GeTex:
The missing steps are for you to use your very active imagination so when you come to the thread and say it doen't work, fake, OP is dumb, or i didn't read the op but downloaded the file anyways and broke my phone

I can say

"Well, maybe you shouldn't listen to your drunk unicron hallucination and wipe mmcblk0"

To everyone else, please read the op carefully

I saw a post about someone trying this on a razr? is everyone trying to make me cry? Next they'll tell me(oh wait they did) again the the adb tools had a typo, even though i updated it half a week ago to fix this....

Corrected location of internal storage to /storage/emulated/0/
[Verizon Galaxy S 5 Android Development] ldeveraux:
Ok, that was a serious question I had. Maybe I missed the explanation on the missing numbered steps. Guess I'll re-read it. Sorry I offended you? I guess?
[Verizon Galaxy S 5 Android Development] GeTex:
No reason to apologize, take a look at the op :P
[Verizon Galaxy S 5 Android Development] ldeveraux:
Yeah, that's what I assumed, just numbered wrong. Full steam ahead.
[Verizon Galaxy S 5 Android Development] al50:
I think we need to have a thread or something made and refer users to go to for having questions or anything pertaining to what ROM's or Kernels to be used. I've seen quite a few posts regarding such and just as everyone else who is new to the unlocked BL we don't know to answer the questions. That way we can keep this thread on topic for discussion to what this OP is about. Just my 2 cents...
[Verizon Galaxy S 5 Android Development] paradox923:
Many thanks

Method 1 worked perfect. Thank you all for your hard work, you guys are awesome!
[Verizon Galaxy S 5 Android Development] Beeko:
I'm assuming that since my CID starts with 15xxxxxxxxxx and not 11xxxxxxxxxxxxx I'm in business. Welp, time to start compiling PAC for the S5
[Verizon Galaxy S 5 Android Development] jrkruse:
Ok here is the solution

The Stock Boot.img and Stock Recover.img that match your firmware must be flashed before any firmware can be updated on your phone. What I mean by firmware is the things other than images that are flashed in odin like the modem.bin. If your just wanting to flash a custom boot or recovery image then you can just flash them you and dont need to do any of this.

So after the Stock and Recovery images are flashed the phone needs to return to a power off state. Then a reboot to stock recovery and wipe the cache. Then reboot the phone and the goto bootloader mode from there.

After doing this the phone will allow firmwares to be flashed through odin.

Instructions

Flash the Kernel_Recovery Only either odin package or zip package in custom recovery

If using Odin uncheck reboot now then flash Kernel_Recovery package pull battery Reboot to recovery (Pwr+Hme+VolUp) wipe cache reboot phone then reboot back to bootloader and flash whatever your wanting to upgrade.

Reboot phone make sure your changes applied the you can flash your custom recovery again

If Flashing In recovery, flash the zip then reboot to recovery which will now be stock recovery and wipe cache and then power off Do not reboot, the phone must go to a poweroff state

Reboot phone then reboot to bootloader and use odin to update what ever your needing to do

Reboot Phone make sure your changes took. Then reboot back to odin and flash custom recovery or use flashfire or safestrap to flash the custom recovery zip.

If for some reason the bootloader becomes locked again simply do the unlock procedure again

Here A Folder Containing Some Useful Odin And Flashable Firmware Zips
[Verizon Galaxy S 5 Android Development] GeTex:
How should I add that to the op?
[Verizon Galaxy S 5 Android Development] jrkruse:
Im rewriting that because I wrote it and dont even have a clue what im saying!

Edit: now maybe it will be a little clearer
[Verizon Galaxy S 5 Android Development] autonomousperson:
Perhaps we should make a FAQ thread of AFTER you BL unlock to keep this place clean?
[Verizon Galaxy S 5 Android Development] GeTex:
Very possible. Unless JR kruse, you happen to own the second post on this thread, edit it into a Q&A since i don't have a reserved post?
[Verizon Galaxy S 5 Android Development] autonomousperson:
Imma attempt to turn this binary into a single one click app similar to towel root.

---------- Post added at 08:40 PM ---------- Previous post was at 08:39 PM ----------

Hmm you should have used wget to download the executable.. that would have been cool
[Verizon Galaxy S 5 Android Development] GeTex:
oooooo, we totally could :P

do what you will, let me know!
[Verizon Galaxy S 5 Android Development] jrkruse:
Sure let me know what to put in it

Edit I guess reply isnt working [MENTION=5414005]GeTex[/MENTION] let me know what you want put in the second post
[Verizon Galaxy S 5 Android Development] GeTex:
Alright, for now you can make it into whatever you think should be included cause it's a lil messy right now

I guess common questions and answers like the sd card, formatting, flashing modems and firmware's, recoveries,
[Verizon Galaxy S 5 Android Development] jrkruse:
Did you get the pm I sent you earlier
[Verizon Galaxy S 5 Android Development] GeTex:
PM's are broken, they went to my email but they don't show up on the site, i think XDA broke... idk
[Verizon Galaxy S 5 Android Development] jrkruse:
Here is a simple method to execute unlock

copy samsung_unlock to system/bin set permission 0755

open terminal

type su hit enter

type samsung_unlock hit enter

you could also rename samsung_unlock to something shorter without the underscore
[Verizon Galaxy S 5 Android Development] GeTex:
I can't test or figure the exact steps out in my head, could you help me out. Sorry I'm a lil dead in the head
[Verizon Galaxy S 5 Android Development] karlsdroids:
It's very neat to see this come from idea to happening. I'll be trying it as soon as I find a spare micro sd card that's class 10.
[Verizon Galaxy S 5 Android Development] jrkruse:
Use it the same as method 2. Just by putting the samsung_unlock binary in the system/bin you wont have too specify the location in terminal since that is the default location when running a command and since your using a root explore to copy the cid and make a backup you might as well use the root explorer and copy the samsung_unlock to system/bin set permissions then you wont have to set the permission in terminal. It just saves some steps in terminal and cuts down on the typing errors.

---------- Post added at 09:48 AM ---------- Previous post was at 09:29 AM ----------

I just thought I throw this out there I only used a 1gig sd card that didnt even have a class speed number on it so I assume its 2 or zero but anyways it worked fine. I bricked my device on purpose just doing testing and it recovered fron that old sd card fine
[Verizon Galaxy S 5 Android Development] karlsdroids:
Thank you for that info jrkruse, I'll have to go through the steps. I've already been through your root process so I'm looking forward to an unlocked bootloader.
[Verizon Galaxy S 5 Android Development] Lightn1ng:
Typo Alert:

mmcblk0 is what OP meant, not mmcblck0
[Verizon Galaxy S 5 Android Development] jrkruse:
I think that was typed with about 3 hrs sleep in 2 days. GeTex needed some sleep!
[Verizon Galaxy S 5 Android Development] amaury48:
Used this method 2X and was successful.... Installed TWRP 3.0 using FF

Now that its all done can you tell me which current roms are compatible ?

PS... Thanks for your work......
[Verizon Galaxy S 5 Android Development] limeaide:
Any of the roms in the unified dev forum. Make sure they state they work for klte-dev.
[Verizon Galaxy S 5 Android Development] Dudash:
Funny thing is most of us got it to work anyways. I didn't even realize the typo until you pointed it out. I just glanced at the command and knew what to type.

Btw GeTex is a she, not a he :P
[Verizon Galaxy S 5 Android Development] jrkruse:
Any roms in the verizon thread. I made a patch for international s5 roms. Just don't try the touchwiz mm roms if they requires a bootloader flash