Would flashing the stock Verizon ROM re lock the bootloader? - Galaxy S 5 Q&A, Help & Troubleshooting

I have a Verizon Galaxy S5 running Lineage OS, and I wanted to restore back to the original ROM or in the best case a debranded ROM. If I flashed the original Verizon ROM will the bootloader relock as I want to go back to stock but want to keep the bootloader locked + be able to access TWRP, but I will probably have to reflash TWRP.

ivanc2960 said:
I have a Verizon Galaxy S5 running Lineage OS, and I wanted to restore back to the original ROM or in the best case a debranded ROM. If I flashed the original Verizon ROM will the bootloader relock as I want to go back to stock but want to keep the bootloader locked + be able to access TWRP, but I will probably have to reflash TWRP.
Click to expand...
Click to collapse
When it comes to the Galaxy S5 Devices (specifically), the ability to unlock their bootloader is determined by their CID (there's either the CID11 & CID15) and those can never be changed.
With that stated...
If that specific device (you're asking about) already has an unlocked bootloader, you will be able to unlock it again after flashing the Stock Firmware.
I hope I had explained this okay via text...
Good Luck!
~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. [Sent from the room next door.]

Related

OK2, Android 5.0.1--what are my options?

I currently have AT&T stock (I used to have a custom ROM then had to flash to stock ROM to be able to flash to another custom ROM--however, I accidentally flashed a newer version of the AT&T stock ROM which locked my bootloader and I could no longer flash to a custom ROM). I updated my AT&T stock ROM recently and now my back/menu buttons don't work, so I want to see if I can flash to a custom ROM now.
I don't remember the procedure to flash a custom ROM--do I first need to get root in order to unlock the bootloader to be able to flash ROMs (i.e. if I have root then I am guaranteed to be able to unlock bootloader in order to flash ROM)? Is the baseband version the only thing that determines whether I can unlock the bootloader and then be able to flash ROMs?
I currently have OK2 as broadband version and checked one of the stickied threads which said this:
" ROOT
OK2 -- No direct root method. Must Odin OC4 kernel, use Kingroot, then Odin OK2 kernel back."
Does that mean what I have to do is use Odin to get OC4 kernel, then use Kingroot, then Odin OK2 kernel and then I will be able to have root, which means I can then unlock my bootloader and be able to flash to ANY ROM (not just TouchWiz-based ROMs)? Is there anything else I need to consider or is this 100% foolproof? In the future, what should I be careful of in order to prevent getting my bootloader locked again--just that I don't flash a stock (AT&T) ROM that is known to lock back the bootloader?
Thank you all!
There's no way to unlock the bootloader if you have updated your device to the lastest firmware version. The only thing you can do is flash SafeStrap and use Stock Kernel Based ROMs which are compatible with Safestrap.
As regards to the procedure of rooting an OK2 firmware, I'm afraid I won't be able to help you.
Have a happy new year.
mindstormer said:
...however, I accidentally flashed a newer version of the AT&T stock ROM which locked my bootloader ...
Click to expand...
Click to collapse
I was just about to sit down and flash a stock ROM. Can you explain what you mean by this? Did you flash OK2 and it caused you a problem?
smock9 said:
I was just about to sit down and flash a stock ROM. Can you explain what you mean by this? Did you flash OK2 and it caused you a problem?
Click to expand...
Click to collapse
It was a while ago but I used to have I believe an MDL broadband version which meant I could flash any ROM available. I tried a different ROM, didn't like it, then decided to flash back to the stock ROM but accidentally flashed a newer version of it, which meant that my bootloader is now locked. With a locked bootloader, apparently I can only flash to a newer stock ROM (not other ROMs like Cyanogenmod) via Safestrap.
I think if you don't have the MDL broadband version you shouldn't worry about it anyway because it is locked and you will only be limited to flashing stock ROMs.
Slight correction
The previous entry is not entirely correct. Like the OP, I was originally on an unlocked bootloader on my i337. I'd purchased my i337 on the first day and eschewed OTA updates. I wanted to try a touchwiz based ROM, Hyperdrive, and in doing so I recall flashing the stock NB1 firmware. Every firmware beginning with NB1 has a locked bootloader and there has been no progress for more than a year in unlocking the bootloader again. This can limit you to either stock ROMs OR other touchwiz based ROMs like Hyperdrive. I love the Hyperdrive ROM (now on release 21) but its developer has moved on to a newer phone, so it's stuck at Android 4.4.2 and no one has picked up the project in many months. There are several other touchwiz based ROMs for the i337 version of the S4 which I have also tried but I prefer Hyperdrive's myriad customization, even without proper patching. I'll be moving on soon to the Nexus 6P as my daily driver, but would very much like to keep my S4 up to date with a custom ROM. Given the number of people that have been in this same situation, where a newer stock ROM from AT&T locked a previously unlocked bootloader, it's been surprising that the issues have not been overcome on a phone as popular as the Galaxy S4 was and continues to be. I've seen unlocked versions of the S4 selling for just under $400 in the last week of 2015.
Use the desktop version of Kingoroot to root and use Super su and update the binary. Don't forget to hit thanks if this helped.
The bootloader for the at&t s4 was never unlocked. The MDL bootloader had a flaw in it that allowed you to use LOKI which is a lock bypass, not a way to unlock the bootloader.

G900V from 4.4.4 to most current version with root?

Looked thru the other threads, and didnt see anything that pertained directly perhaps someone can point me in the right direction.
Have my stock S5 from verizon, on 4.4.4 NK2 firmware. Looking to update to whatever is the most current stock firmware with root. I'm coming to this from years of rooting Sprint devices, this is my first Verizon and I've been putting it off forever. Been getting the nag screen everyday now for a software update and I figured it was the time to update this and get myself root.
Thanks in advance for any help in where to look. Please forgive me in advance if this is a duplicate, I searched...I really did, but since its all new to me I wanted to ask.
Looks like the process is to flash 4.4.2, root, check if bootloader can be unlocked, and then proceed 2 different ways if it can be dev bootloader unlocked. If it can, unlock bootloader, flash twrp, and then flash whatever rom you want. If you can't unlock the bootloader, folow the guides to upgrade keeping root with safestrap and use roms that are TW for locked bootloaders. Someone correct me if I'm wrong. I just got a 4.4.4 g900v myself in a trade and I'm figuring out how to proceed as well.
Ok, slight difference. You can root & check the bootloader from 4.4.4...
Root here (Using NCG stock kernel...
http://forum.xda-developers.com/ver.../safely-upgrade-root-4-4-4-nha-volte-t2879348
If you're having trouble finding the NI2 kernel like I did it's here...
http://forum.xda-developers.com/showthread.php?t=2784880
Then use the method bootloader unlock from method 3 here...
http://forum.xda-developers.com/ver...t/rd-unlocking-galaxys-s5-bootloader-t3337909
If you can unlock your bootloader (I could), then flash the bootloader of choice from that link above to correspond to the rom you want. I'll be trying out Phoenix with pd4 (installed from above link) from here...
http://forum.xda-developers.com/verizon-galaxy-s5/development/port-phoenix-rom-v12-0-t3400292

Just Bought a Sprint HTC 10 HELP (ROMS)!

Finally upgraded to a 10 from M8. Glad I did. Right now I have it s-off and bootloader unlocked. Do I have to relock bootloader to flash RUU like the M8? Right now I am running Stock Sprint ROM. My question is how do I remove bloat and gain root? I have always been using SuperSU but now I want to try Magisk. My plan is to flash TWRP first and then Magisk on my Sprint ROM and manually remove bloat myself. I wonder if I flash the WWE_deoxed or Dev version would I mess up my radio and LTE bands/prl update ability? My goal is to have a Stock rooted sense rom with Magisk that works with my carrier Sprint. Also, I want to have the ability to have OTA updates from HTC directly if possible. If I have to flash the WWE or Dev version that's cool but I don't know if I have to change my CID or not. I just want a pure sense rom that works with Sprint and able to take updates? Btw what are the differences between WWE or Dev since my bootloader is already unlocked? will I be able to flash magisk on these two roms? I have read over the forums but there are too much information someone guide me in the right path please. thanks and god bless!
inspireyue said:
Finally upgraded to a 10 from M8. Glad I did. Right now I have it s-off and bootloader unlocked. Do I have to relock bootloader to flash RUU like the M8? Right now I am running Stock Sprint ROM. My question is how do I remove bloat and gain root? I have always been using SuperSU but now I want to try Magisk. My plan is to flash TWRP first and then Magisk on my Sprint ROM and manually remove bloat myself. I wonder if I flash the WWE_deoxed or Dev version would I mess up my radio and LTE bands/prl update ability? My goal is to have a Stock rooted sense rom with Magisk that works with my carrier Sprint. Also, I want to have the ability to have OTA updates from HTC directly if possible. If I have to flash the WWE or Dev version that's cool but I don't know if I have to change my CID or not. I just want a pure sense rom that works with Sprint and able to take updates? Btw what are the differences between WWE or Dev since my bootloader is already unlocked? will I be able to flash magisk on these two roms? I have read over the forums but there are too much information someone guide me in the right path please. thanks and god bless!
Click to expand...
Click to collapse
Rooting this device is no different than the M8, for the most part. Before you flash any sort of custom ROM I highly suggest making a backup of your current ROM, to include the system image, as this will help you take OTA updates in the future. Second, if you check OMJ's threads in the Sprint development forum you will find stock rooted ROM's for the 10. I believe he also has Magisk versions that you can install, if you so desire. As far as relocking the bootloader to run a RUU, that's not necessary now. If you plan on using a custom Nougat ROM you will need the latest TWRP recovery, which can be found in Captain Throwback's TWRP thread in the main HTC 10 development forum. I can't really help you with the rest of your questions, as I have a Sprint 10 and run ROM's that work for the device that don't require any sort of modification to the device outside of having an unlocked bootloader with S-off and TWRP.
Magnum_Enforcer said:
Rooting this device is no different than the M8, for the most part. Before you flash any sort of custom ROM I highly suggest making a backup of your current ROM, to include the system image, as this will help you take OTA updates in the future. Second, if you check OMJ's threads in the Sprint development forum you will find stock rooted ROM's for the 10. I believe he also has Magisk versions that you can install, if you so desire. As far as relocking the bootloader to run a RUU, that's not necessary now. If you plan on using a custom Nougat ROM you will need the latest TWRP recovery, which can be found in Captain Throwback's TWRP thread in the main HTC 10 development forum. I can't really help you with the rest of your questions, as I have a Sprint 10 and run ROM's that work for the device that don't require any sort of modification to the device outside of having an unlocked bootloader with S-off and TWRP.
Click to expand...
Click to collapse
Thanks for the reply. I am glad I don't have to relock and unlock bootloader again for RUU. Many thanks to Captain Throwback who has been providing stock roms since M8 days. Is there any ways to remove Sprint bloat? I wanted to go to the HTC 10 forum and flash Sprint_WWE rom but i don't know if it will mess up my modem or radio. Any ideas?
I saw that the BadBoyz Modded Rom have Magisk Flash option. What about Stock rooted rom Badboyz posted? I dont see an option to flash Magisk zip onto it. Do I grab a Magisk file from Generic HTC 10 topjohnwu's forum and flash it with Badboyz sprint stock rooted rom? will it be compatible and do I need TWRP to do the steps above? thanks!

Using an S4 as emergency phone, and I need slight guidance for rooting & recovery

Hello
My LG V10 came across the famous bootloop issue, and I shipped it to LG. In the meantime, I am using an old S4 that was saved for emergencies like this one. It is running 4.4.4, I337UCUFNJ4, and I rooted it with Kingoroot.
I understand that it should OTA to 5.1 in pronably a day or 2 if I check for a software update; it sat turned off since 2014, so it did not receive anything.
1. Do I OTA and reroot?
2. Can I manually jump to 5.1?
Ultimately, I would like to install TWRP and the Blissrom or some other ROM, but I don't want to take an OTA that may screw me up for later. I read that there's a loki thing that will prevent future installations of recovery or something like that. I realize that I will be using a short time (2-3 weeks), but I would like to leave it rooted and with a good ROM.
Thank you
The bootloader is locked so that means TWRP cannot be flashed to the phone and the phone will only run custom ROMs based off a stock Samsung ROM.
OTA updates will not work if the phone is rooted.
audit13 said:
The bootloader is locked so that means TWRP cannot be flashed to the phone and the phone will only run custom ROMs based off a stock Samsung ROM.
OTA updates will not work if the phone is rooted.
Click to expand...
Click to collapse
I'm confused or perhaps you are misinformed. I have seen a lot of ROMs for this device including Blissrom and many others. All od them get flashed through twrp or Safeway or aome name like that.
You mean safestrap?
Maybe you are thinking of the non-AT&T models of the s4 that work with custom ROMs such as Lineage and Validus. Only the AT&T version of the s4 has a locked bootloader, starting with Android 4.3 and up.
There has never been an sgh-i337 s4 with a locked bootloader than can run TWRP. Same goes for the AT&T sm-n900a note 3 with a locked bootloader.
audit13 said:
You mean safestrap?
Maybe you are thinking of the non-AT&T models of the s4 that work with custom ROMs such as Lineage and Validus. Only the AT&T version of the s4 has a locked bootloader, starting with Android 4.3 and up.
There has never been an sgh-i337 s4 with a locked bootloader than can run TWRP. Same goes for the AT&T sm-n900a note 3 with a locked bootloader.
Click to expand...
Click to collapse
But there's a forum dedicated to AT&T development full of roms here on xda.
Yes, there is a full section but you need to look at the ROM requirements. Some of these ROMs were developed before AT&T pushed out an OTA update that locked the bootloader. Other ROMs are made for the non-AT&T s4 such as the sgh-i337m and gt-i9505.
You will not see any ROM that is not based off a stock Samsung ROM that can be installed onto an AT&T s4 that has a locked bootloader. Also, you will not see any version of TWRP/CWM/Philz that can be installed onto an AT&T s4 that has a locked bootloader. Same goes for the AT&T sm-n900a.
I understand your skepticism and appreciate your posts as we are all here to learn from each other.
https://forum.xda-developers.com/showthread.php?t=2785166
https://forum.xda-developers.com/galaxy-s4-att/help/ez-unlock-bricked-phone-galaxy-att-s4-t3703235
https://forum.xda-developers.com/galaxy-s4-att/help/help-installed-chainfire3d-phone-doesnt-t3700830
https://forum.xda-developers.com/galaxy-s4-att/help/samsung-galaxy-s4-sgh-i337-ok2-locked-t3458353
Thanks for the clarification. So how do I know if my bootloader is locked? If I took that ota update that messed things up?
The bootloader becomes locked when the phone is updated to Android 4.3 or newer. I think it needs to be on the MDL bootloader to be unlocked. Anything beginning with an "N" or "O" means that the bootloader is locked.
Thanks audit. And I assume that there's no way to go backwards to a pre-4.3 rom and unlock that bootloader.
So. I'm on 4.44 rooted. Do i remove root and take any ota and reroot? I guess that I'll settle for going as high as possible with the stock rom but rooted with the ability to disable some of the bloatware.
How can I proceed?
In those links that you mentioned, it states that we can flash debloated TouchWiz roms that might be better than stock. Is that right? So can I do that?
You will need to install safestrap to flash a custom ROM. The debloated ROMs must be based off a ROM that is designed for the AT&T s4.
I recommend reading through this thread: https://forum.xda-developers.com/showthread.php?t=2616221
Audit... I odined back to nb1, rooted, and used flashify to get to rooted stock oc3.
How can I get to ok3? And should I leave ota services frozen so as to not ruin and loose root?
OTA will not work with a rooted phone.
Maybe this will help: https://forum.xda-developers.com/showpost.php?p=56453108&postcount=2
I don't have an sgh-i337 so I can't tell you how to get back to a completely stock ROM to get OTA updates. I have the sgh-i337m which is the Canadian version of the s4 without a locked bootloader.
I wrote a guide and FAQ revolving around the MDL bootloader here (if anyone cares to read it):
https://forum.xda-developers.com/galaxy-s4-att/general/how-to-one-guide-to-mdl-bootloader-t3584122

Will flashing carrier stock rom Re-Lock the phone ?

I have a G920T (T-Mobile ) running Android 5.1.1. It's unlocked ,rooted & has custom rom TWPR. I would like to know if flashing T-Mobile stock (Android 7) rom will re-lock my phone. I don't know which method was used to unlock. Currently I can flash any 5.1.1 custom rom & it's still unlocked but I need to update to 7.0 which requires updated boot loader. I'm afraid it will lock the phone.
UserIDx1 said:
I have a G920T (T-Mobile ) running Android 5.1.1. It's unlocked ,rooted & has custom rom TWPR. I would like to know if flashing T-Mobile stock (Android 7) rom will re-lock my phone. I don't know which method was used to unlock. Currently I can flash any 5.1.1 custom rom & it's still unlocked but I need to update to 7.0 which requires updated boot loader. I'm afraid it will lock the phone.
Click to expand...
Click to collapse
IK that you will lose root and TWRP by flashing stock firmware.
But IDK if the bootloader will be locked again ... probably yes.
Then you may have to unlock the bootloader afterwards. Best to check for unlock methods available for your device running stock Android 7.

Categories

Resources