Hi all, I just ordered my Mi Mix and had a couple of questions regarding locking and relocking the bootloader:
I usually like to root my phones just because it gives me some finer levels of control (such as f.lux, titanium backup, adaway, etc), so I have been considering unlocking the bootloader and installing TWRP as per instructions in the forums here. I have read however that it is possible to relock the bootloader and in essence restore the phone to a "unmodified" state. Does anyone know if it is possible to remove root, flash the original recovery and then relock the bootloader in case I ever wanted to go back to stock MIUI?
Sorry if this is a duplicate - I did a quick search and did not notice the question asked. Appreciate any tips and advice!
nommermon said:
Hi all, I just ordered my Mi Mix and had a couple of questions regarding locking and relocking the bootloader:
I usually like to root my phones just because it gives me some finer levels of control (such as f.lux, titanium backup, adaway, etc), so I have been considering unlocking the bootloader and installing TWRP as per instructions in the forums here. I have read however that it is possible to relock the bootloader and in essence restore the phone to a "unmodified" state. Does anyone know if it is possible to remove root, flash the original recovery and then relock the bootloader in case I ever wanted to go back to stock MIUI?
Sorry if this is a duplicate - I did a quick search and did not notice the question asked. Appreciate any tips and advice!
Click to expand...
Click to collapse
There is the official MIUI website that has the details. Check out en.miui.com/thread-471497-1-1.html
This is an amazing resource! Thank you!
I know that there are a lot of the missing OEM Unlock posts, but this isn't about how to force it to appear.
What I would like to know is that if I want to stay on the stock ROM, but I don't have the OEM unlocked option, would I be able to factory reset to clear out encryption and then root with Magisk?
The guide says that I need to have OEM unlocked to be able to root, so I'm curious what would happen if I tried to root with the OEM still being locked? Would I soft brick it?
This is quite different from the other phones I've used and it's extremely frustrating that Samsung decided to pull this kind of bs on everyone and so far, there's no solution to it.
Thanks
If the OEM switch is not visible and switched on, then you cannot flash any non-official binaries, which means you can't flash TWRP or Magisk, which at this point means you can't get root. That's why everything boils down to the OEM switch being enabled. Please contact Samsung expressing your dissatisfaction about this OEM issue. All of us should, until they react to remedy this.
If we can get to fastboot, why can't we boot TWRP, install Supersu/magisk and dm-verity thus gaining root.
This wouldn't replace the stock recovery.
I believe this was how the Axon 7 was rooted prior to bootloader unlock being presented/found.
I do this on one of my phones (not Samsung) as I only want root access and still be able to get OTA updates.
Would booting TWRP instead of flashing it trip Knox and would root be gained or would you find the boot partition or other system files be altered and you get the error that seems to popping up on these devices?
Just throwing this out there as food for thought.
ultramag69 said:
If we can get to fastboot, why can't we boot TWRP, install Supersu/magisk and dm-verity thus gaining root.
This wouldn't replace the stock recovery.
I believe this was how the Axon 7 was rooted prior to bootloader unlock being presented/found.
I do this on one of my phones (not Samsung) as I only want root access and still be able to get OTA updates.
Would booting TWRP instead of flashing it trip Knox and would root be gained or would you find the boot partition or other system files be altered and you get the error that seems to popping up on these devices?
Just throwing this out there as food for thought.
Click to expand...
Click to collapse
Having an unlocked bootloader is what would allow us to use fastboot to boot or flash an image. Just because we can access fastboot, doesn't mean we can get it to write to partitions, even temporarily. I haven't messed with a Samsung phone for years, so I could be wrong. This has been my experience with google bootloader in general.
fragtion said:
If the OEM switch is not visible and switched on, then you cannot flash any non-official binaries, which means you can't flash TWRP or Magisk, which at this point means you can't get root. That's why everything boils down to the OEM switch being enabled. Please contact Samsung expressing your dissatisfaction about this OEM issue. All of us should, until they react to remedy this.
Click to expand...
Click to collapse
From what I did read from other threads, if you don't see the option in the Developer Option Settings, then you shouldn't need to enable it
77Eric77 said:
From what I did read from other threads, if you don't see the option in the Developer Option Settings, then you shouldn't need to enable it
Click to expand...
Click to collapse
I was reading about this as well and what I got from that was in regards to custom roms, the oem unlock option is default to unlock and hidden. but for the stock rom, it's locked by default unless visibly given the option. otherwise when you go into download mode, it'll show FRP Lock: On.
Sent from my SM-G930F using Tapatalk
di11igaf said:
Having an unlocked bootloader is what would allow us to use fastboot to boot or flash an image. Just because we can access fastboot, doesn't mean we can get it to write to partitions, even temporarily. I haven't messed with a Samsung phone for years, so I could be wrong. This has been my experience with google bootloader in general.
Click to expand...
Click to collapse
Ah, but if I want to just root and nothing else, would I still need to have the bootloader unlocked? I'm used to rooting stuff but the technicalities and mechanics of the process escapes mr.
my hope is to atleast root the stock rom and factory reset including wiping the internal sd to start fresh. but if I factory reset on a stock rom, the internal storage would still be encrypted right?
Sent from my SM-G930F using Tapatalk
mputtr said:
Ah, but if I want to just root and nothing else, would I still need to have the bootloader unlocked? I'm used to rooting stuff but the technicalities and mechanics of the process escapes mr.
my hope is to atleast root the stock rom and factory reset including wiping the internal sd to start fresh. but if I factory reset on a stock rom, the internal storage would still be encrypted right?
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
This is why I want to know if we can boot TWRP. It boots TWRP but leaves the stock recovery.
However, I'm not sure if the boot image is altered when flashing root. I know Magisk seems to alter the boot image but not sure if SuperSU does.
Would this trigger KNOX?
If it does trip KNOX, it's not worth booting into TWRP, might as well just bite the bullet and install but only if bootloader is unlocked 1st... Too expensive to just brick it for an experiment...
ultramag69 said:
This is why I want to know if we can boot TWRP. It boots TWRP but leaves the stock recovery.
However, I'm not sure if the boot image is altered when flashing root. I know Magisk seems to alter the boot image but not sure if SuperSU does.
Would this trigger KNOX?
If it does trip KNOX, it's not worth booting into TWRP, might as well just bite the bullet and install but only if bootloader is unlocked 1st... Too expensive to just brick it for an experiment...
Click to expand...
Click to collapse
personally I don't care about knox. I just want to be able to root and restore my apps so I can transfer my stuff from my s7 to the note 8 and freeze all the bloatware like touchwiz and stuff.
from what I gleaned from reading the threads is magisk makes a copy of the boot image as a backup.
but again I just want root and I can wait for a longer term solution in how to fix this moronic 7 day jail bs.
but I think knox will get tripped the moment you root
Sent from my SM-G930F using Tapatalk
mputtr said:
I was reading about this as well and what I got from that was in regards to custom roms, the oem unlock option is default to unlock and hidden. but for the stock rom, it's locked by default unless visibly given the option. otherwise when you go into download mode, it'll show FRP Lock: On.
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
I didn't have OEM option as well (FRP lock was ON), I just followed me2151 guide but I was getting the partition error, so in first part I also added BL and after that everything went smoothly.
KNOX wasn't tripped, it's rooted as of this moment and tomorrow I will be installing custom rom.
PS: And yes it was an experiment but I was willing to take the risk because after reading half a day about no OEM option in developer options everyone was saying if it's not there you don't need it, I wasn't 100% sure but I was 98% sure I'm not going to brick it. btw I'm using Telus N950W note8 (locked)
I think you might want to be careful on that. I'm not sure who "everyone" is but the others like Dr.Ketan did not even recommend rooting without unlocking the option first and it seems to me that the general gist of the other thread (the 150+ page thread) was that you need it explicitly unlocked.
The ones who talked about not seeing the option means you probably don't need it are talking about custom roms (like renovate) that purposefully hid the option since it's already defaulted to unlocked on that rom.
I haven't used any custom roms yet, but that seems to be what I'm reading.
77Eric77 said:
I didn't have OEM option as well (FRP lock was ON), I just followed me2151 guide but I was getting the partition error, so in first part I also added BL and after that everything went smoothly.
KNOX wasn't tripped, it's rooted as of this moment and tomorrow I will be installing custom rom.
PS: And yes it was an experiment but I was willing to take the risk because after reading half a day about no OEM option in developer options everyone was saying if it's not there you don't need it, I wasn't 100% sure but I was 98% sure I'm not going to brick it. btw I'm using Telus N950W note8 (locked)
Click to expand...
Click to collapse
just following up. Were you able to root and flash a custom rom with OEM Unlocked checked after all?
Sent from my SM-G930F using Tapatalk
mputtr said:
just following up. Were you able to root and flash a custom rom with OEM Unlocked checked after all?
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
I was able to root it but the boot loader is still locked. It's faster without the bloatware and what not. KNOX is disabled. There is still no twrp and custom rom for Snapdragon to the best of my knowledge. It did change the model of the phone from N950W to N950U1.
finally got the OEM Unlock option and rooted + stock recovery... i had to restart my phone to bring my android ID back to the one I always used.. and got locked out...
so 7 more days for me. And all I wanted to do was to have Titanium backup up and running so i can transfer my phone over....
i am hating what samsung has done
Can you simply explain what are advantages by unlocking the bootloader, waiting 14 days (why 14?) ?
I just wanted to replace the stock Android 7 with Oreo 8, but in most of the guides it looks like the boot loader must be unlocked.
Can one explain to me the technical reason for that?
Thnx
The bootloader must be unlocked so you can flash recovery and do a lot from there. The main reason you'd want it unlocked is for root or custom roms, or even Android P semi GSI
_Hinnie_ said:
The bootloader must be unlocked so you can flash recovery and do a lot from there. The main reason you'd want it unlocked is for root or custom roms, or even Android P semi GSI
Click to expand...
Click to collapse
Thank you Hinnie,
so far as I understand, if I would use a custom rom, the bootloader unlocked is mandatory...
But why one need to wait for 14 days?
The 14 days time is from Lenovo itself. Every company has different policy in terms of deciding duration for unlocking bootloader.
_maxim_ said:
Thank you Hinnie,
so far as I understand, if I would use a custom rom, the bootloader unlocked is mandatory...
But why one need to wait for 14 days?
Click to expand...
Click to collapse
So, that the user has the option to cancel the process of unlocking, in these 14 days.
It's for safety purpose, coz once the bootloader is unlocked, one can customise (or destroy) everything from system files to IMEI to making phone a brick.
With great power comes great responsibilities
So, there are various pros & cons of unlocking bootloader.
But, nothing will be damaged until you follow the steps or guidelines provided for the various processes. Just read & read & implement once you are almost 90% sure that it will not harm your data or device.
And most important always remember to keep backups
Happy Flashing !!
I bought mi a2 few days ago, and updated the PIE update via OTA. See the screenshot.
What i want now is simple, i want to flash custom rom. (I done nothing, bootloader is locked, everything is untouched)
It's not easy to do in Mi a2, lots of things, like boot img, and etc. I am confused.
So I want tutorials, i am running the pie 10.0.2, now let me know.
Happy new year to all of you.
Well bootloader unlocking comes first
There there are 3 commands
First is basic unlock
Then flashing unlock
Then flashing unlock critical
Just search gor these commands
Hi, I'm pretty new to installing ROMS. Infact I don't even know what unlocking bootloader means and how to do all this stuff but I would like to learn how.
I heard that rooting/installing roms is specific to each device and brand and since I use a Redmi 9 ,here I am.
I would like to get help on the following topics:
-How do I unlock my bootloader? Does it void warranty? Can I lock my bootloader again at the time of selling?
-How do I install a Custom ROM and Custom recovery? This might be a noob question but I seriously dont want to brick my device or anything.
-Do I need to root my phone to install a Custom ROM?
Any links to these topics would be greatly appreciated.
Thanks for the help.
You'll probably be better off if you go to Google and YouTube and do some research on your own. About the bootloader its possible to relock it but the status may change to relocked.