yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 Android Development] magic_man185:
Beaups, I already sent jrkruse a modified script, we are working to get it working, and I will modify it more if necessary, but it is already working without the SD card for me.
[Verizon Galaxy S 5 Android Development] beaups:
Script?
[Verizon Galaxy S 5 Android Development] GeTex:
I assume he's reffering to the binary

Unless you are asking for a copy
[Verizon Galaxy S 5 Android Development] magic_man185:
Yes, I meant I sent him the binary.
[Verizon Galaxy S 5 Android Development] GeTex:
Updated the OP because It was a mess, still is a awful mess and I wanna vommit but it's uhhh.... better?
[Verizon Galaxy S 5 Android Development] Wynnded:
I ain't gonna look! lol
[Verizon Galaxy S 5 Android Development] mixerpilot:
Thanks for the hard work!

I followed your step Jrkuse and everything seemed to go well. I'm on MM, unlocked BL with root, but the wifi and captive keys aren't working. Anything you think I might try?
[Verizon Galaxy S 5 Android Development] GeTex:
Flash MM firmware? All I can think of, or MM kernel?

I can't recall off the top of my head
[Verizon Galaxy S 5 Android Development] jrkruse:
I will upload an odin package for you to flash

Download samsung info and see what version your bootloader and modem are

---------- Post added at 10:01 PM ---------- Previous post was at 09:59 PM ----------

Dont flash MM kernel without flashing super su zip or you will bootloop
[Verizon Galaxy S 5 Android Development] magic_man185:
How does MM kernel without super su cause bootloop?
[Verizon Galaxy S 5 Android Development] Parallaxview1:
Finally Successful

Started out with rooted, unlocked PB1 follwing JKruse's guide. I had also removed Knox during that process. I followed one of the updated guides for rooting MM, but ended up with the 'no wifi, no captive buttons working' but was rooted and unlocked. I read a reply from JKruse to someone in the same situation that said

"I would try the process again if you have twrp installed flash the pb1 stock boot and recovery zip if you don't have twrp installed flash the the odin pb1 stock boot recovery md5 in odin the proceed from there by flashing mm bootloaders unlock again etc."

so I flashed that file but ended up stuck on the Samsung screen. I had read so much leading up to this that I couldn't remember exactly what to do from there so I odin flashed the stock PB1 tar and started over this time without removing Knox. After getting all the way through the MM installation I miss-read the instructions and instead of just wiping data and cache I wiped system, data, and cache. :eek: Obviously from there when I went to exit TWRP it warned me of 'NO OS Installed'. So I odin flashed the Modified_PD1_System_Firmware_For_Root.tar.zip, rebooted into TWRP, installed BETA-SuperSU-v2.74-2-20160519174328.zip (even though one of the versions of the guide said it wasn't necessary), and restarted. This time it was successful with all buttons and wifi working! At no point in the process did I have any trouble with my SD card (16gb class 4 Patriot brand) which is what I had actually been concerned about more than anything. I'm still going through and getting everything the way I want it and then will do a nandroid backup so I hopefully never have to do this part again!

My thanks to JKruse and all the other devs that worked all this out. I've been lurking and reading since I got the Rezound brand new some years back but this experience prompted me to finally register.
[Verizon Galaxy S 5 Android Development] jrkruse:
boot.img has to be patched or system will fail check
[Verizon Galaxy S 5 Android Development] jrkruse:
Did you download samsung info and see what your bootloader and modem are?

View attachment recovery.zip

Unzip recover.zip place on internal storage flash in TWRP choose install image then choose recovery.img and flash to recovery

power off device

reboot to bootloader and reflash PD1_Firmware_Modem_HLOS_No_Aboot.tar.md5 in odin uncheck auto reboot when done pull battery reboot back to recovery wipe data and cache and system reinstall rom.
[Verizon Galaxy S 5 Android Development] GeTex:
Oh crap, forgot because Google(I think???) implemented the kernel safety to block root in stock kernels so that's why we need unlocked bootloaders in the first place
[Verizon Galaxy S 5 Android Development] magic_man185:
Is the boot.img the default kernel or the modified kernel? I am assuming super su applies the modified kernel. Are you meaning if you are using your stock rooted ROM?
[Verizon Galaxy S 5 Android Development] GeTex:
boot.img and kernel.img are different files. If you have an unpatched boot.img and try and run a rooted device with i believe a stock kernel, it fails a signature check... cannot recall

[MENTION=1949695]jrkruse[/MENTION] please explain i'm really tired and sick
[Verizon Galaxy S 5 Android Development] jrkruse:
Its actuall just the ramdisk thats patched. I havent got to test but if you flash a stock boot.img on systemless rooted rom it should just roll back to unrooted but I havent tried yet so I may not be correct on bootlooping.

---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------

[/COLOR [MENTION=2844013]magic_man185[/MENTION] reworked the samsung_unlock file so those of you that phone wont read sdcard should be good to go now. He will post when he gets a chance. You can just copy my directions if you want [MENTION=2844013]magic_man185[/MENTION]
[Verizon Galaxy S 5 Android Development] GeTex:
[MENTION=2844013]magic_man185[/MENTION] when its ready post it and I'll update the OP :)
[Verizon Galaxy S 5 Android Development] mixerpilot:
Flashed recover.zip in twrp. "Could not find 'META-INF/com/google/android/update-binary' in the zip file. Error instaling zip file '/sdcard/download/recovery.zip'"

bootloader g900vvru2bpb1, build number mmb29m.g900vvru2dpd1
[Verizon Galaxy S 5 Android Development] jrkruse:
Well your bootloader didnt update I will shoot you some directions in a minute or 2

---------- Post added at 11:44 PM ---------- Previous post was at 11:29 PM ----------

Down load this VZW_BPB1_ODEX_DEODEX_V9.zip and this PB1_Kernel_Recovery_Only.zip

Flash both in recovery do a full wipe, data, system, cache

reboot phone setup

follow directions from here http://xdaforums.com/showpost.php?p=67175885&postcount=1659

skip to

Install MMBootloader_Unlocker_NoSD.apk ....... and start from there this time when phone powers off reboot it and while your booting if your captive keys come on and stay on why its booting up then the MM bootloader installled correctly then you can boot back to download mode and continue instructions
[Verizon Galaxy S 5 Android Development] tbclandot:
sorry jrkruse I've haven't been on here in a bit you've come up with a way to unlock the bootloader to update to MM without the sd card issues we've been having? I might try it then!

---------- Post added at 04:10 PM ---------- Previous post was at 04:08 PM ----------

ya alright I see it's been updated been running RR but going to try this method again and report back
[Verizon Galaxy S 5 Android Development] Sam Spade1:
ota update

is there any way to stop phone from taking OTA updates

will be trying mm bootloader unlock soon

already have lollipop dev edition unlocked great work again to all
[Verizon Galaxy S 5 Android Development] mixerpilot:
Thanks jkruse, ge tex, magic_man 185! I think I was unlocked on LP but the MM samsung unlock did'nt take. That's why no wifi or captive buttons. Started over and used MMbootloader_unlock NoSD.apk and all is good! Bring on S7 or N5 roms!!
[Verizon Galaxy S 5 Android Development] eliran23:
First off all thanks for all the parts thats you described here but my g900v have been screwed.

I've installed the boot and the recovery of the PB1 and only the kernel boot have been flashed sucsussfully.

since than the camera, the capacitive buttons, and the wifi dont work.

because i'm such an idiot I flashed via flashfire the OE1 stock root firmware because I thought it would work out the buttons and this way I can upgrade my g900v to Marshmello. but now i'm sruck with the setup wizard and still the buttons and wifi don't work.

Before all the procedures I did my phone had PB1 odex root stock rom, if thats help anybody to solve my problem.

Can somebody help and explain to an idiot like me how I can upgrade the galaxy s5 to 6.0.1?

P.S. I also installed the samsung unlocker and i think it worked but the terminal emulator didnt pop up.

Please help me, I'm so desparet
[Verizon Galaxy S 5 Android Development] mixerpilot:
If the terminal editor did'nt pop up with the warning and you having to type in YES, it did'nt work. Read what jkruse told me to do. Make sure you check both times, on LP and MM, that you are a developer in download mode.
[Verizon Galaxy S 5 Android Development] eliran23:
no i'm not a developer in download mode.
[Verizon Galaxy S 5 Android Development] drewcu:
Does Titanium Backup Pro 7.4 allow for apps to be restored easily onto MM PD1? I am still on KK and don't want to have reinstall all my apps manually on MM which sounds like it makes app restoration a pain. Is there something we have to know with TB to ensure it works smoothly on MM?

Thanks.
[Verizon Galaxy S 5 Android Development] jrkruse:
The reason the unlocker app didn't work is probably busybox needed to be installed
[Verizon Galaxy S 5 Android Development] eliran23:
i had the busybox installed. but it doesnt matter now.

what should I do now?
[Verizon Galaxy S 5 Android Development] drewcu:
He just said that his Download Mode does NOT say Developer. You should not do any of this procedure if you are not a Developer! Seems likely that is what did it, right?
[Verizon Galaxy S 5 Android Development] eliran23:
I think that the only sulotion i have is to use kies.

What do u think I can do from this situation?
[Verizon Galaxy S 5 Android Development] jrkruse:
Are you still rooted
[Verizon Galaxy S 5 Android Development] eliran23:
I think that yes but i can movee further than the wizard setup of verizon because i cant turn off the wifi.

the rom that i flashed is OE1 5.0.1 root stock rom

Edit: thanks for the fast replies. i'm gonna do a roll back to kitkat.
[Verizon Galaxy S 5 Android Development] tydiamond11:
So I turned adaptive storage on and it works but when I try to update the ROM twrp says it can read the storage any more is that what you fixed ? With mm above
[Verizon Galaxy S 5 Android Development] jrkruse:
Find yourself a pb1 factory tar image and start all over goto my root thread everything you need is there
[Verizon Galaxy S 5 Android Development] eliran23:
the kitkat roll back has failed.

I'll try what you've just wrote.

again, thanks for the help. appriciate it.
[Verizon Galaxy S 5 Android Development] KevoND:
Devs,

I have been having problems getting the terminal to load on both of the bootloader unlocker apks (the base as well as the MM with/without SD). I managed to update my CID and get a developer device using method 4 (on device) from the OP. Is there a similar repo I can use to follow that method for the MM unlocker, and if not, what must I do to make it myself? (I am a developer and comfortable in Linux but very little Android experience)

Thank you for all your hard work!
[Verizon Galaxy S 5 Android Development] jrkruse:
There is no more kitkat for you. Your stuck on pb1 or higher
[Verizon Galaxy S 5 Android Development] eliran23:
ok, so now I need to use the safestrap?
[Verizon Galaxy S 5 Android Development] magic_man185:
Technically it is OE1 or higher based on the bootloader, right? OE1 was the first one that couldn't be downgraded.
[Verizon Galaxy S 5 Android Development] Osama Chishty:
successfully installed MM with root and bootloader unlocked.. :)

i followed [MENTION=1949695]jrkruse[/MENTION] method and everything is working perfectly no sd card issue no wifi issue no captive button issue everything working great thankyou for much for this wonderful work... just follow these steps properly and all things will be fine ....

You need to be running a Samsung Rom Lollipop 5.0 Rom (Preferably PB1 build) with BusyBox installed

Install the SD Card you want to use and in settings under storage format the SD Card

Install SamsungUnlockerS5.apk but do not open it yet

Copy BETA-SuperSU-v2.74-2-20160519174328.zip to Internal Storage

Copy PB1_Kernel_Recovery_Only.zip To Internal Storage

Now Reboot to TWRP Recovery and Flash PB1_Kernel_Recovery_Only.zip Once finished in the reboot menu choose power off

Now Boot phone to Bootloader/Download Mode (PWR+Dwn+Home)

Now use Odin and Uncheck AutoReboot. In AP Box flash G900V_Firmware_MM.tar.md5 Once Complete Pull Battery

Now bootup phone. Some things will not work like wifi and captive buttons.

Now Open SamsungUnlocker App and make sure you grant Su permission and click Install Samsung Bootloader Unlocker. The App will close and open a terminal window grant Su permission then when the terminal window ask you to enter yes type the word yes and hit enter and wait for phone to power off. Once phone powers off reboot to Bootloader/Download and make sure your bootloader is unlocked. At this point you have unlocked the MM bootloader. Stay in Bootloader/Download Mode

Now use Odin and Uncheck AutoReboot. In AP Box Flash Modified_PD1_System_Firmware_For_Root.tar.zip

Once Complete Reboot to Recovery This is important! Either hold down the (PWR+VolUp+Home) until phone starts to reboot to recovery then let go of buttons. Or you can pull the battery then reboot to recovery

Once In Recovery goto Wipe and Wipe Data and Cache Then install BETA-SuperSU-v2.74-2-20160519174328.zip the Reboot to set up phone

Phone may reboot a couple of times this is normal. If the Phone Hangs for more than 10-12 min on Verizon Screen pull battery and reboot and wait a few more minutes
[Verizon Galaxy S 5 Android Development] Molon-Labe:
Been watching on and off since 6.0.1 update drop. Im on factory locked unrooted 6.0.1mm. I see alot back and forth on stuff for rooted ect...but no heads or tails i can figure out. Anything i can do yet or we still waiting...and no biggie if still working on it.

Thanks guys
[Verizon Galaxy S 5 Android Development] drewcu:
Is there any way to follow this procedure without tripping Knox? Still 0x0 and don't really want to trip it if I cannot reset it. Sounds like TWRP gets installed during this procedure and I would guess if we just used stock recovery to install the ROM, that would avoid tripping Knox and work just as well.

So can we get a TWRP-less guide as well? And/or can someone please let me know how to remove Knox altogether if the counter gets tripped and starts being bothersome?

Thanks.
[Verizon Galaxy S 5 Android Development] magic_man185:
Yes you could downgrade back to PB1, root, unlock, then follow this guide to go back to MM. Unfortunately you will have to wipe all your data, and without root now there is no easy method to backup. Helium is the best I have seen to backup apps + data without root.

---------- Post added at 06:10 PM ---------- Previous post was at 06:07 PM ----------

I stopped worrying about knox. Only really an issue for warranty, and most s5 are probably out of warranty by now.
[Verizon Galaxy S 5 Android Development] drewcu:
Don't you get that annoying Samsung warning during every reboot? Don't plan on installing custom ROMs, just a rooted MM stock ROM. Would rather not have annoying nag screens if I don't have to. And I am happy to keep using Safestrap which doesn't void the warranty over TWRP which does and isn't mission critical for me. Isn't there some way to remove Knox altogether? If so, can you or someone please explain how to do it? Thanks.
[Verizon Galaxy S 5 Android Development] GeTex:
In order to install root on MM you need an unlocked bootloader in order to use a custom recovery to flash modified files. Stock recovery will not flash with the error "signature check fail" so you have to trip Knox for root on the GS5 MM. No other way around it
[Verizon Galaxy S 5 Android Development] drewcu:
Thanks for the explanation. Is there any way to remove Knox completely and avoid the nag screen?
[Verizon Galaxy S 5 Android Development] GeTex:
Yes, goto Samsung, steal the signature keys and remove it from the bootloader, and post it publicly for all
[Verizon Galaxy S 5 Android Development] Molon-Labe:
So better wait for unlocked bootloader? Im wanting to custom rom it not just a root.... i can wait and no rush to have half cooked setup re: anoying crap...lol
[Verizon Galaxy S 5 Android Development] GeTex:
•_•

Are you serious... The bootloader is unlocked for 15 users. You can root MM if you have a 15
[Verizon Galaxy S 5 Android Development] Molon-Labe:
But like i said... alot issues i thought. So root then PB1 it then PD1 with files i just downloaded correct?

---------- Post added at 06:59 PM ---------- Previous post was at 06:52 PM ----------

Sent you a pm.
[Verizon Galaxy S 5 Android Development] drewcu:
Haha. I was so thankful for your explanation, but now with all the sarcasm I take it back! The reason I thought you could remove Knox was because jrkruse on page 159 said:

"I'm beginning to think it might have something to do with Knox being removed. 3 people with success and myself all started from a freshly rooted rom that still had knox"

Guess he wasn't referring to stock ROMs with Knox removed, just custom ones. So I guess I have to make a choice: either stay on unlocked, rooted KK which is working well with full warranty and Knox in tact, or go to unlocked, rooted MM which will break Knox and my warranty and potentially my phone if I screw up something like half the people who have tried the procedure so far it seems. Am going to probably wait a couple of weeks until I am back from vacation and see if more people have success with jrkruse's latest guide. Maybe in that time someone will figure out how to keep Knox in tact also!

Thanks!
[Verizon Galaxy S 5 Android Development] GeTex:
There is no possible way to keep Knox intact without access to the keys which isn't happening. You are going to have to live with tripping knox

You can Remove Knox from inside the Rom as well, as it exists in mutiple places, they don't call it "Knox" for nothing
[Verizon Galaxy S 5 Android Development] drewcu:
*Can't? Or can you remove it in the ROM but it still will nag you anyway during boot?

A few pages ago I asked about restoring apps using Titanium Backup 7.4 in MM. I get the impression that the restoration procedure is more complicated for MM so is there anything I need to know about how to do it in TB? Would like to be able to avoid installing my apps manually all over again once in MM.

Thanks.
[Verizon Galaxy S 5 Android Development] GeTex:
You can Remove it in the OS, the boot nag will still always be there, Mostly you will read Kernel is not SEAndroid Enforcing and then Set Warranty Bit: Kernel or Recovery, or whatever mode it's booting into
[Verizon Galaxy S 5 Android Development] magic_man185:
Once you trip knox, you only see a warning if you boot something that would trip knox, like twrp. Just booting to the OS you don't see the warning (as long as it is an official ROM). I think you might have an icon on the Samsung screen that says custom, but that isn't directly knox related, that I had with root even before I tripped knox.
[Verizon Galaxy S 5 Android Development] drewcu:
Thought that if it is an official ROM that is

rooted

, you will see the warning en route to the OS. No?
[Verizon Galaxy S 5 Android Development] GeTex:
I believe so
[Verizon Galaxy S 5 Android Development] magic_man185:
You will not see the knox tripping text on a stock rooted ROM. You only see the warning if you are actively booting something that trips knox (CM13 or other aftermarket ROM, twrp recover, etc.). You will see an icon that says unlocked and shows a padlock on the first boot screen if you are rooted, but that is not anything to do with knox.
[Verizon Galaxy S 5 Android Development] jrkruse:
If your so worried about that pad lock on the samsung screen you had better stay stock. I mean really is it that big of deal?
[Verizon Galaxy S 5 Android Development] magic_man185:
PB1 then root, then PD1.
[Verizon Galaxy S 5 Android Development] drewcu:
I already have the Custom Unlocked Padlock on the Samsung screen even without Knox being tripped. Thought that comes when you use a rooted ROM which I have. Not worried about that; just would prefer not to have another screen that warns me about running a custom recovery / ROM. A rooted stable MM is probably worth it so I will upgrade eventually regardless of tripping Knox. Just would have been nice not to have to trip it given I don't care about using a custom recovery like TWRP.
[Verizon Galaxy S 5 Android Development] jrkruse:
Well I wish you could just tell Google to root my phone. As long as we are making a wish list
[Verizon Galaxy S 5 Android Development] drewcu:
The sarcasm tag team of jrkruse and Getex strikes again. Good one...
[Verizon Galaxy S 5 Android Development] jrkruse:
I think we just got a compliment [MENTION=5414005]GeTex[/MENTION]
[Verizon Galaxy S 5 Android Development] ferg40:
Is anyone having issues with the phone not reading the sd card after all is said and done? My phone is saying the sd card is corrupt and its not even able to format. Any help would be appreciated.
[Verizon Galaxy S 5 Android Development] GrahamCracker0:
I have this same issue but was on PB1 stock rooted while trying to flash TWRP. Can't find the Verizon Software Repair Assistant anywhere and I can't get to the bootloader or anything else even with a battery pull. Odin can't see my phone either.
[Verizon Galaxy S 5 Android Development] Kaliaila:
I think that is addressed in post #1659 or around that.

I got my rooted (via muniz_ri's method) PB1's bootloader unlocked, but I have been hung up trying to get windows 10 to recognize my S5, keep getting device not recognized (Invalid Device Descriptor [when it gets plugged in] or Device Failed Enumeration [if it is already plugged in when PC restarts]). I think that it was working after I got on rooted PB1, but I could be wrong I don't hook up to my computer regularly.

Been looking for a fix but no luck yet with what I have found. I am just glad I decided to hook it up to my computer before I did any of the MM steps.

I have done some searching here but could have missed something if anyone has a suggestion.

I forgot the first rule of troubleshooting check the cords. Apparently, the USB cable I was using isn't worth using for anything but charging. Swapped it out and its recognized. Really feel like a dunce now. :laugh:
[Verizon Galaxy S 5 Android Development] GrahamCracker0:
Found the Repair Assistant and discovered neither it nor Odin can find my phone. Hoping big red can fix it tomorrow and I'll be able to downgrade and reflash if possible...
[Verizon Galaxy S 5 Android Development] blebron:
Hey just in case the PD1_Boot_Recovery_Modem_NonHlos.tar.md5 link doesn't show where you said 'download this' i looked it up on google since mine wasn't booting, might want to post the link in the tutorial,, this is the direct download link to the PD1 boot recovery modem https://qc3.androidfilehost.com/dl/...5870/PD1_Boot_Recovery_Modem_NonHlos.tar.md5?
[Verizon Galaxy S 5 Android Development] GeTex:
[MENTION=1949695]jrkruse[/MENTION] taking a photo for the scrapbook of when we turn 60 and think our loves have no meaning
[Verizon Galaxy S 5 Android Development] TioCareca:
So still no "easy" way to update the bootloader? Whats the defenitive guide advised?

And thanks to all involved in everything since unlocking the bootloader till updating it and unlocking it...
[Verizon Galaxy S 5 Android Development] GeTex:
Not exactly, the apk method is very easy

If you mean MM then uhhh.... Its a WIP as far as I'm concerned till we get more success
[Verizon Galaxy S 5 Android Development] TioCareca:
I used the first unlocking method for bootloader, the very first one, so no afraid of brick, and good folowing instructions...

Reading the op, i am in lollipop bootloader and want to upgrade to MM bootloader, whats the best rom to start? It says pb1 5.0 but is any 5.0 or is one expecific?