Re-locking the Bootloader ? - LineageOS Questions & Answers

I've been successfully running LineageOS 18.1 on my (Magisk-rooted) Pixel 3. The unlocked bootloader screen at bootup became annoying and so I decided to relock the phone. Without reading all of my HowTo notes (because I thought I remembered).
I sent "adb reboot bootloader" and then "fastboot flashing lock" and got the notice on the phone to press POWER if I wanted to re-lock and so I did. But the next screen said it couldn't find an operating system !!
I turned the phone off and then manually booted into Fastboot where I was able to unlock the phone again at which point it remembered where the operating system was and I was able to boot back into it. (And since I had forgotten that locking OR unlocking does a hard reset - for which I hadn't prepared for AT ALL - I spent the next 2 day rebuilding my phone from scratch. Yes, it serves me right.)
So what did I do wrong? how can I re-lock the bootloader without losing LineageOS?

laffin_boy said:
how can I re-lock the bootloader without losing LineageOS
Click to expand...
Click to collapse
You mean this?
Code:
g.co/ABH
Dunno, I am afraid you can't... but I vaguely remember that this message annoyed me as well and there are ways to turn it off.
In the end, I decided this annoying message is not worth my time and nowadays I think of it more like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yes, you! And me! Both of us! That's who! The other 99.9% are idiots and wouldn't even know how to begin to unlock a phone

Related

I think I BRICKED it....

So, I might have made a mistake... got my M8 today (yay) and bought it used with GPE rom on it. Well the software kept messing up and I wanted to go back to stock... well I tried fast booting and using a RUU which failed (too many links). I decided to then unplug it and found a horrible screen of htc logo and 4 exclamatory triangles. I can access bootloader by unplugging the device, but the only option is RUU. cannot seem to get anything else.
Connect the phone and post the results of fastboot getvar all and we'l take it from there. If you can also post a screenshot of the bootloader screen that will help
cman1414 said:
So, I might have made a mistake... got my M8 today (yay) and bought it used with GPE rom on it. Well the software kept messing up and I wanted to go back to stock... well I tried fast booting and using a RUU which failed (too many links). I decided to then unplug it and found a horrible screen of htc logo and 4 exclamatory triangles. I can access bootloader by unplugging the device, but the only option is RUU. cannot seem to get anything else.
Click to expand...
Click to collapse
i actually have the same exact problem.
When i try to connect with adb devices i get List of devices attached but nothing displaying under it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ok, i reset device, unplugged and replugged it, went thru it again and it worked.

What's wrong with my mi max 3?!?!?!

I purchased this phone when it first came out and struggled with the buggy "global" rom it came with. I flashed to the Chinese stable rom MIUI 10 and it's been working perfectly for almost two months.
A couple days ago, I woke up put the phone on the charger and it wasn't charging, but I could still turn it on. Then the touch screen stopped responding, I did a hard reset. Still nothing, now it wouldn't even go past the "MI logo" screen. I then tried to flash another rom, but that MiFlash software was coming up with an error. I can still boot into flash boot mode, but Idk what happened. Is my phone bricked? Can it be saved? I really like this phone, please help.
1/ Is there really the China stable Miui 10? Do you mean the dev version?
2/ A screenshot or message about MiFlash error should be better to help you.
dinhvtai said:
1/ Is there really the China stable Miui 10? Do you mean the dev version?
2/ A screenshot or message about MiFlash error should be better to help you.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here's what it says when I try to flash.
Have you unlock the bootloader yet?
dinhvtai said:
Have you unlock the bootloader yet?
Click to expand...
Click to collapse
Yes, I have unlocked the bootloader.
Now the phone won't even turn on and I have charged it etc... I'm not sure what happened.
Did you unlock the bootloader or it already was unlocked with fake ROM?

Bricked TCL Alcatel 1x 5059x

So, I really wanted to get the phone rooted, and I couldn't do it without a recovery, because I can't find the firmware for it no matter what, there is only firmware for 5059d, so when I flashed TWRP for 5059d, it was asking for a password, but I didn't have one. I made one, but TWRP didn't let me mount internal storage. I tried factory reset and it made it even worse, it showed me this image
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I tried factory reset but didn't help, then I tried to flash 5059d stock recovery, it worked, but now it does not even want to boot into system, I have tried Wipe data/Factory reset, didn't help. I am stuck now. I did try to flash stock firmware for 5059d, but I can't do it for some reason, SP flashtool throws me some ERROR : STATUS_BROM_CMD_FAIL /0xC0060005) error. I really don't know what to do now, if someone knows to help me, it would be preety cool . This is not my main phone, but I really want to get it fixed. Screw rooting now.
Where did you get the ROM?
DerivativeOfLog7 said:
Where did you get the ROM?
Click to expand...
Click to collapse
First Google search, phone is completely gone though so not worth investigating
BokeeXD said:
First Google search, phone is completely gone though so not worth investigating
Click to expand...
Click to collapse
Look at this: https://forum.xda-developers.com/t/...rom-a-5059d-to-unbrick.4598953/#post-88676529
May be worth a shot. If I were you I'd first try normally just plugging the usb cable in while the phone is off, and if it doesn't work, take it apart, unplug the battery, and then plug it in

FP4 - Advice about bootloader and root please

Hi everyone,
I got a FP4
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Before I start using it I’d like to be able to make it so I can back it up with Titanium or Helium backup, which need root, and TWRP for full partitions, which needs a bootloader unlock. However, I don’t want to leave it rooted or leave the bootloader unlocked. What’s the best way to go about setting up the phone to do this?
If I relock the bootloader, does this delete all user data?
Is it okay to relock the bootloader with TWRP installed or will it bootloop?
Even if this is okay, when I unlock the bootloader again then it will delete all user data won’t it?
And for rooting, I can follow the steps for using Magisk, but is it possible to leave it disabled most of the time (i.e. to allow banking and other similar apps to work)?
Magisk also means OS updates need to be done manually doesn’t it? So would I need to leave the bootloader unlocked?
Basically, I don’t want to start using my phone immediately without doing what I can to set up these things so I can use them in future, because I know that to set it all up in future will require a factory reset for which I’d actually want to have Titanium/Helium backup in the first place!
Thanks for your patience with my probably dumb questions!
Cheers
I didn't unlock/root mine : no time anymore to fix things I break xD
But all I can tell you is unlocking (and probabely relocking) does wipe everything on the device, so unlocking to then relock seems pointless.
On the other hand, I don't think it is that of a security issue to have an unlocked bootloader, as long as you keep your hands on the device... (root is another story I think)
Thanks @matmutant thank you that's helpful confirmation.

Stuck On Fastboot and SECURE BOOT -yes

Hi everyone,
I need help to fix this problem: Stuck On Fastboot and SECURE BOOT -yes
I use LG G8 with firmware G820N20v Korean Open, the details how it ended up like this was:
1. I did unlock bootloader + magisk root after doin crossflash, it ended up well.
2. then i try to write my IMEI using this methods: https://www.hovatek.com/forum/thread-38608.html but didn't succes,the imei didnt change and my magisk been lost.
3. someone on my local group told me to try disable dm-verity first before write my IMEI. So i search for methods and found this one: https://www.hovatek.com/forum/thread-32719.html yes i flashed that empty vbmeta, and when i restart my phone it ended with white screen sayin that i need to insert pasword with 30x attemps (now still had about 10-15 attempts because it decrease everytime phone restart) because my phone is encrypted but i cannot touch any of my screen.
4. i can u enter EDL mode though, so i tried to restore everything that i backuped before like FTM, BOOT_A, BOOT_B, ABL_A, ABL_B and it ended Stuck On Fastboot with SECURE BOOT -yes. Heres the pic:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Its even cannot to power off, always goin back to fastboot automatically.
I appreciated any helps or methods here.
Anyone?
Thanks and regards.
my phone's working now following this step https://forum.xda-developers.com/t/tutorial-rescue-from-hard-brick.4351389/ thanks @netmsm

Categories

Resources