[Q] Can I flash stock, unlock bootloader, Root + TWRP and lock the bootloader? - Samsung Galaxy Nexus

Yes, I do want to flash stock rom, unlock the bootloader in order to install TWRP and Root the system but I also want to lock the bootloader again, if I do this after installing TWRP and Root what will happen? Will I lose both or just the root? Or nothing?
Also, I can use that program available on Play Store to lock the bootloader without losing the settings, this way I wouldn't lose the Root, if I would lose it using the adb command, right?
Thanks in advance.

locking the bootloader does nothing, with or without that program
if you get a OTA and accept it, you will lose your recovery and root, which means you will have to unlock the bootloader and will wipe your device.

Related

Rooting with unlocked bootloader and no USB

My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
AKAIK stock recovery will only flash a signed update.zip on the cache partition.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
Unfortunately if you don't have root AND you don't have a custom recovery AND you don't have a working USB port, you cannot get root nor can you get a custom recovery... Out of luck.
same here
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
dieu2mars said:
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
Click to expand...
Click to collapse
So I actually sent my phone into Samsung with the unlocked bootloader, and it looks like they repaired it. So they weren't dicks about something that's clearly a hardware issue. Once I get the phone back, I'll root it and relock the bootloader just in case anything like this happens again and I get less lucky.

[Q] Lost root from efrants root without wiping (4.1.2) to Android 4.2 update (solved)

Hello all,
I already searched the forum but I did not found any good answer.
1. In the past I've succesfully applied root access without unlocking the bootloader while still beeing on Android 4.1.x from this guide:
http://forum.xda-developers.com/showthread.php?t=1894717
2. Now I've got a 4.2 OTA update. Before applying it I used Voodoo OTA rootkeeper to keep a backup of su.
3. Restored su with Voodoo OTA rootkeeper
The result is that I have again root access from shell but when I want to use Apps which require root I always get failures and even no confirmation dialog.
How do I get superuser working (fully root) like before?
Thanks,
therealmarv
http://download.chainfire.eu/282/SuperSU/
Jubakuba said:
http://download.chainfire.eu/282/SuperSU/
Click to expand...
Click to collapse
How should I flash that without having CWM? I think I need a manual repair :/
Is your bootloader locked?
If not...use my guide (in sig or stickied) to back up data before unlocking...
If so... "fastboot boot recovery.img" and flash the file.
The recovery is only being booted into...not written to the phone; so you'd still be stock rooted.
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Mach3.2 said:
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Click to expand...
Click to collapse
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Jubakuba said:
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Click to expand...
Click to collapse
What i mean is how can they not unlock the bootloader after rooting..
I did not unlocked bootloader because I thought it is not necessary (and I also thought it will affect OTA updates). So just to get it right: I can make a backup of my phone, root it, unlock bootloader and recover the backup afterwards so that no data is lost?
Ok I solved my issue (having su access via adb and locked bootloader) with this thread:
http://forum.xda-developers.com/showpost.php?p=27085483&postcount=141
1. I unlocked the bootloader with the link above
2. flashed CWM with fastboot
3. flashed SuperSU CWM ZIP for getting root again
So I now have fully root, unlocked bootloader and cwm great.

[Q] Install Stock Recovery

Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
niftycalls said:
Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
Click to expand...
Click to collapse
post result from command fastboot getvar version-main and we will find you the stock recovery
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
niftycalls said:
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
Click to expand...
Click to collapse
as i can remember even if your bootloader is unlocked as long as you have stock recovery you can update.. just make sure you have a backup of all your data.
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
niftycalls said:
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
Click to expand...
Click to collapse
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
[email protected]|-|oR said:
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
Click to expand...
Click to collapse
yess.. i have the unlock.bin, but then i lose all the data no?
niftycalls said:
yess.. i have the unlock.bin, but then i lose all the data no?
Click to expand...
Click to collapse
As far as I remember you will lose data. Make a backup (Titanium, or similar app) of important data, unlock the bootloader, flash stock recovery, reboot, restore data.
And keep the bootloader unlocked!
damn!! if i keep my bootloader unlocked, i keep getting an error from an anitvirus kinda tool tht i had to install so that i receive my office emails. thanks for your help, will do this when i have a lot of time..

A concept of flashing FW without bootloader unlock

So i get this idea i don't even know where. So first step is to get root access. Like kingoroot that can done this on device without bootloader unlock. Than i'd use TWRP app to flash recovery and lastly flash a custom os. I really dont know if it will work but i will definitely try this sometimes
Or just flash factory firmware without needing root or the bootloader unlocked...

lock bootloader oneplus 3

Hello
I've installed lineage 17.1, my recovery is TWRP 3.4.0, I also installed Magisk.
Every time I restart my Phone I'll get a warning screen that my bootloader is unlocked.
My question is: is it better to lock the bootloader again or let it unlocked?
If I lock bootloader, can I still update lineage en will I keep root from magisk?
Do I loose data?
You need to have an unlocked bootloader to use Custom ROM like Lineage OS with root by Magisk.
Triggerfinger68 said:
Hello
I've installed lineage 17.1, my recovery is TWRP 3.4.0, I also installed Magisk.
Every time I restart my Phone I'll get a warning screen that my bootloader is unlocked.
My question is: is it better to lock the bootloader again or let it unlocked?
If I lock bootloader, can I still update lineage en will I keep root from magisk?
Do I loose data?
Click to expand...
Click to collapse
It is dangerous to lock the bootloader while having a custom ROM. You will lose the ability to flash zip files if something goes amiss. In addition, while locking the bootloader, you will lose all data.
If you are on OOS, then you can safely lock the bootloader.
Locking of bootloader will not affect the custom ROM already installed or root.

Categories

Resources