Hello there.... I am upgrading from note 10+ n976B model to note 20 ultra, and want to completely return to stick...
I know how to get it back to proper stock etc.... and i know that Knox is tripped.... but can you relock bootloader without bricking?
thanks for any replies
anyone??
biggary said:
anyone??
Click to expand...
Click to collapse
flash stock with Odin, it will lock the bootloader, the knox fuse is definitely blown - if you do it correctly it should not be an issue.
ofc all the risks are in your hands, because you are doing it
w41ru5 said:
flash stock with Odin, it will lock the bootloader, the knox fuse is definitely blown - if you do it correctly it should not be an issue.
ofc all the risks are in your hands, because you are doing it
Click to expand...
Click to collapse
flashing stock with odin does not relock the bootloader mate
Is there no option in developer settings?
biggary said:
flashing stock with odin does not relock the bootloader mate
Click to expand...
Click to collapse
it is the first step - after that you should enter download mode and choose vol up to LOCK the bootloader
it will erase everything on the phone tho
check also here - https://forum.xda-developers.com/t/guide-re-lock-bootloader-galaxy-s10-s10-s10e.3934681/
SkoreK89 said:
Is there no option in developer settings?
Click to expand...
Click to collapse
if the phone is unlocked, that option is greyed out - but to actual lock the boot loader, flash with odin is required
Related
Hi to all!
my question is the following: if I unlock the bootloader, only start the custom recovery without flash it, flash magisk, and then re-lock the bootloader, i can have some problems?
Yes. It checks for non-stock data and it wipes the device upon relock. You may end up with a brick if you try to relock with non-stock software.
Gafanhotz said:
Yes. It checks for non-stock data and it wipes the device upon relock. You may end up with a brick if you try to relock with non-stock software.
Click to expand...
Click to collapse
But I'm not going to change the system, magisk does not change the system, or am I wrong?
CarloHD said:
But I'm not going to change the system, magisk does not change the system, or am I wrong?
Click to expand...
Click to collapse
A locked bootloader will not boot a device that has a different signature from the stock one with any partition other than cache or userdata. Since Magisk has to change the boot image it has a different checksum than the stock because only OnePlus can resign an image with their signature.
On another note why do you need the bootloader to be locked? The only difference I can think for would be warranty but if you're that worried it wouldn't be worth it in the first place.
bullet25 said:
A locked bootloader will not boot a device that has a different signature from the stock one with any partition other than cache or userdata. Since Magisk has to change the boot image it has a different checksum than the stock because only OnePlus can resign an image with their signature.
On another note why do you need the bootloader to be locked? The only difference I can think for would be warranty but if you're that worried it wouldn't be worth it in the first place.
Click to expand...
Click to collapse
Actually the reason why I would like to lock the bootloader is to avoid the unlocked bootloader warning screen
CarloHD said:
Actually the reason why I would like to lock the bootloader is to avoid the unlocked bootloader warning screen
Click to expand...
Click to collapse
It's an extra 5 seconds. Learn to deal with it
You can sign images yourself:
Re-locking Bootloader w/ Custom OS
Do this wrong and you will have a bad day..., its easier to live with it. On some devices they have managed to change that image, but not eliminate it.
bullet25 said:
A locked bootloader will not boot a device that has a different signature from the stock one with any partition other than cache or userdata. Since Magisk has to change the boot image it has a different checksum than the stock because only OnePlus can resign an image with their signature.
On another note why do you need the bootloader to be locked? The only difference I can think for would be warranty but if you're that worried it wouldn't be worth it in the first place.
Click to expand...
Click to collapse
c_86 said:
It's an extra 5 seconds. Learn to deal with it
Click to expand...
Click to collapse
It also compromises SECURITY
PHANX0M said:
It also compromises SECURITY
Click to expand...
Click to collapse
why would u root then??????
Hey guys,
i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.
I use the stock rom, just unlocked and rooted it.
I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.
So what are the steps to relock the bootloader?
Thank you for your help
Mansil234 said:
Hey guys,
i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.
I use the stock rom, just unlocked and rooted it.
I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.
So what are the steps to relock the bootloader?
Thank you for your help
Click to expand...
Click to collapse
The MiFlashTool is also for the Stock Rom of the Mi A2 Lite (Not only MIUI!)
Download the Stock Rom and you can flash it via MiFlash. If you choose the option, you can relock the Bootloader when you do this.
Woah there buddy, if you try to lock a rooted phone you will have a hard brick. Don't try to lock the bootloader of a phone that is rooted or have system/boot etc. modifications.
marstonpear said:
Woah there buddy, if you try to lock a rooted phone you will have a hard brick. Don't try to lock the bootloader of a phone that is rooted or have system/boot etc. modifications.
Click to expand...
Click to collapse
And If i First delete the root-rights?
Mansil234 said:
And If i First delete the root-rights?
Click to expand...
Click to collapse
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure.
marstonpear said:
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure.
Click to expand...
Click to collapse
But you said that this would brick my device?
Mansil234 said:
But you said that this would brick my device?
Click to expand...
Click to collapse
He meant: If you have root acces with magisk first of all uninstall root and relock bootloader
Kineceleran said:
He meant: If you have root acces with magisk first of all uninstall root and relock bootloader
Click to expand...
Click to collapse
Ok, this was a misunderstanding
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
Voodoojonny said:
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
Click to expand...
Click to collapse
To prevent this, i want to remove the root access in the first place.
That i have a clean stock rom.
I tried it with no-data-loss method and it says, system is destroyed, i have it to unlock it.
With root, you can relock it, but it's useless.
Mansil234 said:
To prevent this, i want to remove the root access in the first place.
That i have a clean stock rom.
Click to expand...
Click to collapse
Backup up everything first
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
capajga said:
Backup up everything first
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
Click to expand...
Click to collapse
What is the correct rom if not the OTA-Version?
Mansil234 said:
What is the correct rom if not the OTA-Version?
Click to expand...
Click to collapse
Take a look at this thread:
https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913
you can find pretty much all ota's and fastboot rom links.
All full ROMs end with .tgz extension
like this one:
http://bigota.d.miui.com/V9.6.4.0.O...0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2.tgz
you have to extract it to be able to use it with MiFlash but I'm sure you'll find all the answers in the thread above
capajga said:
Take a look at this thread:
https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913
you can find pretty much all ota's and fastboot rom links.
All full ROMs end with .tgz extension
like this one:
http://bigota.d.miui.com/V9.6.4.0.O...0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2.tgz
you have to extract it to be able to use it with MiFlash but I'm sure you'll find all the answers in the thread above
Click to expand...
Click to collapse
Thanks! Everything went fine!
Mansil234 said:
Thanks! Everything went fine!
Click to expand...
Click to collapse
Glad to hear it :laugh:
please help me
i got bootloop when clean flash and lock bootloader
but when unlock bootloader again it boot normally
royalcrown01 said:
please help me
i got bootloop when clean flash and lock bootloader
but when unlock bootloader again it boot normally
Click to expand...
Click to collapse
If you can unlock the bootloader again, I'd guess the flash didn't manage to erase everything.
Normally you'd have to boot and enable OEM unlocking before being able to unlock bootloader.
royalcrown01 said:
please help me
i got bootloop when clean flash and lock bootloader
but when unlock bootloader again it boot normally
Click to expand...
Click to collapse
Did gsi android 10 flash recently?
if the answer is yes
with the bootloader unlocked you must boot twrp and flash stock-repartition.zip
You can now block the bootloader in stock without bootloop
royalcrown01 said:
please help me
i got bootloop when clean flash and lock bootloader
but when unlock bootloader again it boot normally
Click to expand...
Click to collapse
There is another way too. Put your phone in EDL mode (fastboot oem edl) and flash the stock rom again. Even with clear_all_lock option enabled ,your phone won't lock your bootloader. When the phone boots up after flash,and you see the boot screen wait until you see erasing circle,after the second reboot,hold VOL - and power button until you go in fastboot mode. Then on your PC type: fastboot oem lock. The phone will boot up,then it will erase user data ,and you are ready with locked bootloader. I didn't have the stock repartition script ,so that's what i did.
Sent from my Xiaomi Mi A2 Lite using XDA Labs
Alijosekt said:
Did gsi android 10 flash recently?
if the answer is yes
with the bootloader unlocked you must boot twrp and flash stock-repartition.zip
You can now block the bootloader in stock without bootloop
Click to expand...
Click to collapse
Yes gsi android 10 is recently flashed
Can you give me link to stock-repartition ?
a1291762 said:
If you can unlock the bootloader again, I'd guess the flash didn't manage to erase everything.
Normally you'd have to boot and enable OEM unlocking before being able to unlock bootloader.
Click to expand...
Click to collapse
I tried but not helped
royalcrown01 said:
I tried but not helped
Click to expand...
Click to collapse
Well I told you the 100% working method so...
nikoman1987 said:
Well I told you the 100% working method so...
Click to expand...
Click to collapse
Problem solved with flashing stock_repartiting.zip
royalcrown01 said:
Problem solved with flashing stock_repartiting.zip
Click to expand...
Click to collapse
Nice to hear that! Sometimes flashing custom ROMs can be very frustrating
royalcrown01 said:
Problem solved with flashing stock_repartiting.zip
Click to expand...
Click to collapse
link for stock repartition zip?
melekbarca said:
link for stock repartition zip?
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2-lite/development/10-0-android-q-daisy-t3967734
melekbarca said:
link for stock repartition zip?
Click to expand...
Click to collapse
http://4pda.ru/forum/dl/post/17164801/stock_repartition.zip
nikoman1987 said:
There is another way too. Put your phone in EDL mode (fastboot oem edl) and flash the stock rom again. Even with clear_all_lock option enabled ,your phone won't lock your bootloader. When the phone boots up after flash,and you see the boot screen wait until you see erasing circle,after the second reboot,hold VOL - and power button until you go in fastboot mode. Then on your PC type: fastboot oem lock. The phone will boot up,then it will erase user data ,and you are ready with locked bootloader. I didn't have the stock repartition script ,so that's what i did.
Sent from my Xiaomi Mi A2 Lite using XDA Labs
Click to expand...
Click to collapse
Worked for me, thanks man.
,
Cremig said:
Worked for me, thanks man.
,
Click to expand...
Click to collapse
no problem
royalcrown01 said:
please help me
i got bootloop when clean flash and lock bootloader
but when unlock bootloader again it boot normally
Click to expand...
Click to collapse
I have same problem ..
robin_vilensky_ said:
I have same problem ..
Click to expand...
Click to collapse
If it works unlocked but not locked, something is modified. Leave it unlocked or flash a complete stock rom.
a1291762 said:
If it works unlocked but not locked, something is modified. Leave it unlocked or flash a complete stock rom.
Click to expand...
Click to collapse
1 I downloaded original firmware from xiaomi web site very 10.0.13
2 I moved all files to adb tools folder
3 I run the cmd file flash_all_lock.bat
4 phone rebooted and got boot loop only entered to recovery mode.
5 and yes he booting only with unlocked BL
Alijosekt said:
Did gsi android 10 flash recently?
if the answer is yes
with the bootloader unlocked you must boot twrp and flash stock-repartition.zip
You can now block the bootloader in stock without bootloop
Click to expand...
Click to collapse
Can you give me the stock-partition.zip?
robin_vilensky_ said:
1 I downloaded original firmware from xiaomi web site very 10.0.13
2 I moved all files to adb tools folder
3 I run the cmd file flash_all_lock.bat
4 phone rebooted and got boot loop only entered to recovery mode.
5 and yes he booting only with unlocked BL
Click to expand...
Click to collapse
Probably something failed to flash. I don't know how much error checking the script has. Try again? Take note of the output, looking for warnings and errors.
so i have note 8 pro begonia and i didn't even unlocked bootloader, before i go any further can someone tell me if i can use this video
to install this rom https://forum.xda-developers.com/t/...begonia-begoniain-non-cfw-2021-05-28.4229621/
thanks in advaced
android version 10
miui 12
u need tho unlock the bootloader first before doing that, with bootloader lock its impossible to modifying ur phone
howdeedodat said:
u need tho unlock the bootloader first before doing that, with bootloader lock its impossible to modifying ur phone
Click to expand...
Click to collapse
so after i unlock the bootloader i can follow that video and probably not brick my phone ?
jjucaa said:
so after i unlock the bootloader i can follow that video and probably not brick my phone ?
Click to expand...
Click to collapse
yes
want to put my p6p back to stock. currently rooted on stock firmware stock kernel etc. what's the best way to get it back to stock? do I need to flash back the stock boot image before I lock the bootloader?
Magisk has an option to unroot then you can lock the bootloader
Either as @spart0n proposed or flash the original factory image (for that I prefer to using the Android Flash Tool, using the fastboot method has so far always failed to work for me).... After that you are back on original stock and can proceed to relock the bootloader using "fastboot flashing lock" (detailed info on the above linked page)
whatsisnametake2 said:
want to put my p6p back to stock. currently rooted on stock firmware stock kernel etc. what's the best way to get it back to stock? do I need to flash back the stock boot image before I lock the bootloader?
Click to expand...
Click to collapse
Official Google Android Flash Tool, and then lock the bootloader after that.
Note that you should never lock the bootloader unless you're 100% stock, and flashing the full stock image is the only way of ensuring that, even if you choose to not let Official Google Android Flash Tool wipe your user data, as well.
ok thanks. so if I wasn't going to use the android flash tool, flash the full stock image, then lock bootloader?
whatsisnametake2 said:
ok thanks. so if I wasn't going to use the android flash tool, flash the full stock image, then lock bootloader?
Click to expand...
Click to collapse
Yes. I would leave the oem unlock slider at allow unlock for awhile in case it goes sideways. I would wait for the first OTA update before changing that.
TonikJDK said:
Yes. I would leave the oem unlock slider at allow unlock for awhile in case it goes sideways. I would wait for the first OTA update before changing that.
Click to expand...
Click to collapse
Great advice. Once it's stable you can flip the OEM switch and a reboot reenables all security features.
TonikJDK said:
Yes. I would leave the oem unlock slider at allow unlock for awhile in case it goes sideways. I would wait for the first OTA update before changing that.
Click to expand...
Click to collapse
you mean in developer options? I hadn't thought of that thanks. so a full factory flash with wipe doesn't set that back to off?
so,
full factory flash with wipe
lock bootloader
boot into phone and turn OEM unlocking off
factory reset from phone settings
I'm returning the phone to google so it needs to be completely stock.
whatsisnametake2 said:
you mean in developer options? I hadn't thought of that thanks. so a full factory flash with wipe doesn't set that back to off?
so,
full factory flash with wipe
lock bootloader
boot into phone and turn OEM unlocking off
factory reset from phone settings
I'm returning the phone to google so it needs to be completely stock.
Click to expand...
Click to collapse
If you are returning it them skip my advice and do your steps.
Don't worry about this too much. Google does not care if you unlocked it.
TonikJDK said:
If you are returning it them skip my advice and do your steps.
Don't worry about this too much. Google does not care if you unlocked it.
Click to expand...
Click to collapse
ok thanks. so if you flash factory image then lock bootloader, the oem unlock will still be set to on when you go into the phone?
whatsisnametake2 said:
ok thanks. so if you flash factory image then lock bootloader, the oem unlock will still be set to on when you go into the phone?
Click to expand...
Click to collapse
Correct
TonikJDK said:
Correct
Click to expand...
Click to collapse
ok cheers