unlocked bootloader for twrp? - Huawei Mate 9 Questions & Answers

Hi guys,
first of all, thank you all for your amazing work! Its great to have such nice guys working on android.
I saw a thead in the "rom" section but since im new in the forum i cant ask in the thread there :/
Do i need to unlock the bootloader in order to flash twrp for full root?
What about the OTA updates? I guess i cant updates after i unlocked the bootloader?
I read about the funkyhuwei method but it seems to be quite costly. One time or maybe even per month ok but 1 credit for 10$?? Wow..
Thanks guys!

Yes. You need unlock bootloader to do other things like flashing twrp.
And you can receive ota updates.

unlocked bootloader and warning messages
5[Strogino] said:
Yes. You need unlock bootloader to do other things like flashing twrp.
And you can receive ota updates.
Click to expand...
Click to collapse
Hi, I unlocked my bootloader, but every time I boot I see these messages that my phone has been unlocked and can't be trusted. I understand this is normal, but is there any way to NOT see this warning?
Also, does this affect any encryption, AndroidPay, fingerprint phone lock, security setting,.... basically, what does that mean "phone cannot be trusted"?

mat_919 said:
Hi, I unlocked my bootloader, but every time I boot I see these messages that my phone has been unlocked and can't be trusted. I understand this is normal, but is there any way to NOT see this warning?
Also, does this affect any encryption, AndroidPay, fingerprint phone lock, security setting,.... basically, what does that mean "phone cannot be trusted"?
Click to expand...
Click to collapse
It can't be removed without locking bootloader again.
Not until someone figures out how to flash TWRP without unlocking bootloader, OR flash official firmware but keep recovery untouched.
And it doesn't affect them (afaik anyway, it works great with Magisk and I don't think it hides unlocked bootloader).

Related

How to restore status code to 0 from status code 2

Plzzz help!!!!!!!!!!!!!!!!!!!!!!
you can't
K.V.K said:
Plzzz help!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
well my friend sry but you can't restore this code
most of devices like samsung,motorola etc they have.... lets say a key for the bootloader(is the door) and this key if you root your device
breaks and the half key stays inside the door hole to reminds you that the key is broken(the devicesis root/unlockbootloader).
so if you root any motorola device the code state goes
automatically 2 and stays like this,you can flash again the stock rom and relock the bootloader sure
but the code stays 2 for ever.
i hope to help you
moto g XT1541 stock rom 6.0.1 lockbootloader
bromoxitos said:
well my friend sry but you can't restore this code
most of devices like samsung,motorola etc they have.... lets say a key for the bootloader(is the door) and this key if you root your device
breaks and the half key stays inside the door hole to reminds you that the key is broken(the devicesis root/unlockbootloader).
so if you root any motorola device the code state goes
automatically 2 and stays like this,you can flash again the stock rom and relock the bootloader sure
but the code stays 2 for ever.
i hope to help you
moto g XT1541 stock rom 6.0.1 lockbootloader
Click to expand...
Click to collapse
I'm not exactly sure what you are saying, but I think the jist of it is how do you relock the bootloader... the answer is you cannot, once it is unlocked it will always report as unlocked, even if you reflash stock and find a way to relock the device.
When you unlocked your device, it was plainly stated in the disclosure on the website that once the bootloader is unlocked, it is irreversible.
yeap
acejavelin said:
I'm not exactly sure what you are saying, but I think the jist of it is how do you relock the bootloader... the answer is you cannot, once it is unlocked it will always report as unlocked, even if you reflash stock and find a way to relock the device.
When you unlocked your device, it was plainly stated in the disclosure on the website that once the bootloader is unlocked, it is irreversible.
Click to expand...
Click to collapse
YEAAA we say the same think,but i use an othey way to say it.
i say in the end you can relock the bootloader (more or less) when i say this i mean that you put some partitions back in boot loader
so when you flash the stock rom you can take any ota update,but the main bootloader is unlock always.
i know that form my old moto g2gen, moto x2013!!!
bromoxitos said:
YEAAA we say the same think,but i use an othey way to say it.
i say in the end you can relock the bootloader (more or less) when i say this i mean that you put some partitions back in boot loader
so when you flash the stock rom you can take any ota update,but the main bootloader is unlock always.
i know that form my old moto g2gen, moto x2013!!!
Click to expand...
Click to collapse
You could relock the bootloader on older Motos, but not anymore... Actually, it can be relocked but it will never report as locked or relocked, it will always be reported as unlocked. I don't how to be more plain in describing this.
And yes, you can take an OTA when unlocked, as long as you have a stock ROM and recovery and your bootloader is the correct version for your ROM. If your bootload and ROM are out of sync (ie. you have a Marshmallow bootloader and a Lollipop ROM), if your bootloader and ROM are out of sync, you could potentially get into a hard bricked situation.
ohh!!
acejavelin said:
You could relock the bootloader on older Motos, but not anymore... Actually, it can be relocked but it will never report as locked or relocked, it will always be reported as unlocked. I don't how to be more plain in describing this.
And yes, you can take an OTA when unlocked, as long as you have a stock ROM and recovery and your bootloader is the correct version for your ROM. If your bootload and ROM are out of sync (ie. you have a Marshmallow bootloader and a Lollipop ROM), if your bootloader and ROM are out of sync, you could potentially get into a hard bricked situation.
Click to expand...
Click to collapse
not any more? damn....yea we say the same think,sry for my english,yea i khow what you talking about i brick my moto x like this!!! any way.
ty for the new info about bootloader.
you was 100%
were you a clear,thanks a lot,and i hope to help him
Once I sent my hard bricked phone to Motorola. I had unlocked the bootloader and done the stupid mistake of sideloading an older version and upgrading to a newer, but still older version. When it came back, it said it was Status Code 0.
Wonder how they did it.
yagyaxt1068 said:
Once I sent my hard bricked phone to Motorola. I had unlocked the bootloader and done the stupid mistake of sideloading an older version and upgrading to a newer, but still older version. When it came back, it said it was Status Code 0.
Wonder how they did it.
Click to expand...
Click to collapse
They flash the eMMC chip (internal storage chip) directly... If you could get the right image you could possibly do it yourself with a few hundred to thousand dollar investment in a proper JTAG flashing unit.
Key would be getting the right Image, this would be far more than just a normal stock fastboot image, and is probably generated on the fly per device due to differences in serial number, IMEI, etc. These types of images don't get leaked out.
acejavelin said:
I'm not exactly sure what you are saying, but I think the jist of it is how do you relock the bootloader... the answer is you cannot, once it is unlocked it will always report as unlocked, even if you reflash stock and find a way to relock the device.
When you unlocked your device, it was plainly stated in the disclosure on the website that once the bootloader is unlocked, it is irreversible.
Click to expand...
Click to collapse
ok so what if you have never root unlocked, did nothing but use as intended to be.. never trying to do anything to it. wtf would i have a code 2 status then? care to sum that up for me.. cause 100% my situation.
wiytboi said:
ok so what if you have never root unlocked, did nothing but use as intended to be.. never trying to do anything to it. wtf would i have a code 2 status then? care to sum that up for me.. cause 100% my situation.
Click to expand...
Click to collapse
You unlocked the bootloader... It doesn't matter if you actually changed anything else or not. Once it's been done, this status code can never go back to 0. If the status code is 2 and you didn't unlock the bootloader, then someone else did.
acejavelin said:
You unlocked the bootloader... It doesn't matter if you actually changed anything else or not. Once it's been done, this status code can never go back to 0. If the status code is 2 and you didn't unlock the bootloader, then someone else did.
Click to expand...
Click to collapse
No I didn't.. I don't even know how to.. I just found out about recovery mode.. Wait wait before i say that.. How do you unlock boot loader? Turning developer mode on? Going to recovery menu? I've never hard reset it.. Just soft or doing new device. You said it could work fine for a while then shirt out? Like guy I bought from did and then I bought used for couple years and then went tits up?
wiytboi said:
No I didn't.. I don't even know how to.. I just found out about recovery mode.. Wait wait before i say that.. How do you unlock boot loader? Turning developer mode on? Going to recovery menu? I've never hard reset it.. Just soft or doing new device. You said it could work fine for a while then shirt out? Like guy I bought from did and then I bought used for couple years and then went tits up?
Click to expand...
Click to collapse
You unlock the bootloader with a series of steps that includes submitting a code to Motorola and getting an unlock code back... Performing it forces a factory reset as well. It's not something you can do by accident.
The issue with Status Code 2 was that an official update could have detected that and refused to update properly or done something worse... That never happened.
If everything is working fine, the status being 2 isn't important, it just means the previous owners had unlocked the bootloader and likely rooted or otherwise modified the phone.

Will anyone see that the bootloader is relocked?

Hey everyone,
I got my new Honor 8 and as with my previous OnePlus One I just need root.
It's not that complicated to find descriptions how to unlock the bootloader (and loose the warranty), relock it and even get the "locked" status again without (https://forum.xda-developers.com/showpost.php?p=70177996&postcount=7) and with DC Unlocker (https://www.dc-unlocker.com/how-to-lock-bootloader-from-relocked-to-locked) in case I understood everything right.
But the important qustion of course is if one (for example Huawei) can see that its relocked. So first, what does it say if you get the status over the command prompt? And even if it's "locked" there is there any other way you can see?
I don't expect a warranted answer but maybe someone who is firm with android coding or what ever can at least say what he thinks?
Thanks a lot!
If you relock it with a fastboot command then yeah. But if you use a rollback package to return to emui 4.1, everything gets wiped in a way that makes the bootloader status "locked"
Could please someone at least check the first question with his unlocked phone?
Edit: Didn't see your reply and don't now how to delete mine... Thanks anyway!
sysak said:
If you relock it with a fastboot command then yeah. But if you use a rollback package to return to emui 4.1, everything gets wiped in a way that makes the bootloader status "locked"
Click to expand...
Click to collapse
That means after unlocking bootloader and relock bootloader with these steps, i have back my warranty?
Sorry for my bad english..
Silencer3007 said:
That means after unlocking bootloader and relock bootloader with these steps, i have back my warranty?
Sorry for my bad english..
Click to expand...
Click to collapse
As far as i know yeah, unless there is some secret way for them to know it. If you unlock the bootloader with a code and then lock it again it will show the bootloader status as "relocked" in fastboot mode, indicating that the device was tampered with in the past. But the "locked" status you get in the rollback process is the same as on a phone that was never modified. I found this "trick" accidentally when restoring a bricked phone using the rollback package and think it's pretty handy.
sysak said:
As far as i know yeah, unless there is some secret way for them to know it. If you unlock the bootloader with a code and then lock it again it will show the bootloader status as "relocked" in fastboot mode, indicating that the device was tampered with in the past. But the "locked" status you get in the rollback process is the same as on a phone that was never modified. I found this "trick" accidentally when restoring a bricked phone using the rollback package and think it's pretty handy.
Click to expand...
Click to collapse
Not sure if u'll read this. When I was stuck in the same issue somewhere around July 2017 I was devastated and thought if I were to relock my bootloader how to do so without it saying relocked (If you do it by fastboot it will 100% say so). I tried the rollback method on seeing this and u sure r right. It says LOCKED and looks as though my phone was never tampered with ?.
I came across this thread researching abt something and though I'd thank you!
Sent from my Honor 8 using XDA Labs

Any reason not to unlock the bootloader?

Just received my Solar Red U11. Is there any reason not to unlock the bootloader right away?
I'm not planing on rooting it or installing any custom ROMs anytime soon, but I'm also not 100% sure I'm gonna be keeping the phone (few things I need to see if I can get used to).
Should I just unlock it now so I don't have to (potentially) wipe my device at a later date?
Thanks!
techboy10 said:
Just received my Solar Red U11. Is there any reason not to unlock the bootloader right away?
I'm not planing on rooting it or installing any custom ROMs anytime soon, but I'm also not 100% sure I'm gonna be keeping the phone (few things I need to see if I can get used to).
Should I just unlock it now so I don't have to (potentially) wipe my device at a later date?
Thanks!
Click to expand...
Click to collapse
if you decide to unlock at a later date you can back up your stuff to your computer unlock then put it back.all the other stuff is your choice, me, mine is unlocked out of the box.
it only wipes your internal, not the ext_sdcard
At some point, one of the future updates could prevent you from unlocking it. That would eliminate the
ability to modify your phone's software. If you'll never do that, probably doesn't matter if unlockable.
The only downside is the orange reminder splash screen that is displayed on boot-up.
Aldo101t said:
if you decide to unlock at a later date you can back up your stuff to your computer unlock then put it back.all the other stuff is your choice, me, mine is unlocked out of the box.
it only wipes your internal, not the ext_sdcard
Click to expand...
Click to collapse
Aldo, how do you back up data & /or app settings of 3d party apps fm a device w/locked Bootloader & no root?
Also, what & how much boot delay is there if you unlock bootloader - I saw someone post a pic that shows the screen in text mode & a warning abt startup not beginning for 5 seconds.
Also, please clarify, HTC gave warnings about losing the Fingerprint capability if you unlock the bootloader; I just want root,so I can run Titanium B/U & some root-needed apps- put really like the Fingerprint feature- was that an old warning? The posted HTC warning says you can'telock the bootloader- but I just saw someone talk abt re-locking their bootloader bc they want to sell the device as clean.
Any help much appreciated, TIA oldwolf
Boot loader won't effect your fingerprint scanner....never heard of had that.
The warning about losing fingerprint scanner functionality on HTCDev refers to the One Max (2013), and only to that device AFAIK.
Negative effects of unlocked bootloader
Has anybody found HTC U11 losing OEM applications, sound and camera quality or other pre installed applications after unlocking the bootloader? Also please tell me whether the unlocking procedure is same for Android oreo udate.
Thanks.
sudheersharma said:
Has anybody found HTC U11 losing OEM applications, sound and camera quality or other pre installed applications after unlocking the bootloader? Also please tell me whether the unlocking procedure is same for Android oreo udate.
Thanks.
Click to expand...
Click to collapse
Go to developer options ( on setting) and allow unlocked bootloader ,,,ok finish
Unlocking the bootloader has no adverse effects. You can still update ota. If the bootloader is ever unlocked there is no reason to relock it unless you are returning the phone to the store.

Root on locked bootloader

His guys just got the xzp and wow what a phone my only concern is root I have a locked bootloader and it's not unlockable but to be fair I've never unlocked a Xperia bootloader due to loosing drm keys etc
So my question is will we be able to get root on locked bootloaders like we did with past Xperia phones or are we stuck unless we unlock which in my case would mead no root ever :crying:
Thanks
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
FartyParty said:
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
Click to expand...
Click to collapse
Darn I love this device too but to never be able to have root might be a deal breaker
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
brockyneo said:
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
Click to expand...
Click to collapse
That setting is there regardless. If it says no its not possible.
FartyParty said:
That setting is there regardless. If it says no its not possible.
Click to expand...
Click to collapse
Ah OK no root for me then ever think it might have to be the oneplus 5 then I love this phone too
Wait for an Android vulnerability or someone find a way to backup the TA partition
ninjy said:
Wait for an Android vulnerability or someone find a way to backup the TA partition
Click to expand...
Click to collapse
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
brockyneo said:
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
Click to expand...
Click to collapse
It's what i'm saying
brockyneo said:
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
Click to expand...
Click to collapse
yes
ninjy said:
It's what i'm saying
yes
Click to expand...
Click to collapse
So what your saying is they maybe a work around getting root ect on locked bootloaders?
Thanks again
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
ninjy said:
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
Click to expand...
Click to collapse
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
topherhead said:
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
Click to expand...
Click to collapse
I don't think so, there will be more involved ppl when XZ1 will be released, since it's the same specs
hoping for this with the XZs updated to Oreo...
manilenio said:
hoping for this with the XZs updated to Oreo...
Click to expand...
Click to collapse
It's not possible anymore. You really need to unlock the bootloader in order to root. Something about patching the kernel.

(Answered) TWRP installed despite bootloader being locked?

How come this is possible?
New User... Maybe said:
How come this is possible?
Click to expand...
Click to collapse
This is not possible BL must be unlocked for any kind of flashing or installing twrp.
Sent from my Redmi Note 7 Pro using XDA Labs
hackermssharma said:
This is not possible BL must be unlocked for any kind of flashing or installing twrp.
Click to expand...
Click to collapse
I just realized that when I boot up the phone, it shows the "Redmi by Xiaomi" and below it says unlocked, (IDK if it has any relation). But the Developer options say that BL is locked and OEM Unlocking can be enabled. What does this mean?
This is same with me miui 11 stockrom
Magisk flashing creats bootloader locked
If i uninstall magisk it show unlocked again
Even Netflix installation works by this in playstore
New User... Maybe said:
I just realized that when I boot up the phone, it shows the "Redmi by Xiaomi" and below it says unlocked, (IDK if it has any relation). But the Developer options say that BL is locked and OEM Unlocking can be enabled. What does this mean?
Click to expand...
Click to collapse
Well that's cos at one point you had unlocked your bootloader and might have dirty flashed MIUI or used fastboot images, which aren't able to recognise the state. But in reality it remains unlocked and it just shows locked in the settings.
Naveenthemi said:
Well that's cos at one point you had unlocked your bootloader and might have dirty flashed MIUI or used fastboot images, which aren't able to recognise the state. But in reality it remains unlocked and it just shows locked in the settings.
Click to expand...
Click to collapse
Ohhh! Thanks! I'm learning so much.
Naveenthemi said:
Well that's cos at one point you had unlocked your bootloader and might have dirty flashed MIUI or used fastboot images, which aren't able to recognise the state. But in reality it remains unlocked and it just shows locked in the settings.
Click to expand...
Click to collapse
Yes true. It is unlocked. The unlocked message at boot verifies that bl is unlocked.
Sent from my Redmi Note 7 Pro using XDA Labs
hackermssharma said:
Yes true. It is unlocked. The unlocked message at boot verifies that bl is unlocked.
Click to expand...
Click to collapse
I apologize if this is a bit too late, but I have a follow up question. Can I try to unlock the bootloader even if it's really unlocked just to connect my account to my phone or something like that?
New User... Maybe said:
I apologize if this is a bit too late, but I have a follow up question. Can I try to unlock the bootloader even if it's really unlocked just to connect my account to my phone or something like that?
Click to expand...
Click to collapse
If it's unlocked, the Mi account is already linked tho.
Even if you try you won't see a difference, maybe the unlocked symbol might come up.
Naveenthemi said:
If it's unlocked, the Mi account is already linked tho.
Even if you try you won't see a difference, maybe the unlocked symbol might come up.
Click to expand...
Click to collapse
So I won't have any problems doing it? The thing is I bought my phone with the BL already unlocked.
New User... Maybe said:
So I won't have any problems doing it? The thing is I bought my phone with the BL already unlocked.
Click to expand...
Click to collapse
Woah. Unauthorised seller eh. Are you sure you are running the Orginal MIUI? The reason Xioami started locking away the bootloader was cos of these unauthorised sellers, unlocking the device and flashing it with an outdated ROM. You should try, Go to Developer settings, link your current Mi account and then proceed to unlock. Or if it says an acc is already linked, lock the bootloader (only if on MIUI Stock, Custom ROM would lead to a bootloop), and now go link your account. (Do take backups before proceeding)
Naveenthemi said:
Woah. Unauthorised seller eh. Are you sure you are running the Orginal MIUI? The reason Xioami started locking away the bootloader was cos of these unauthorised sellers, unlocking the device and flashing it with an outdated ROM. You should try, Go to Developer settings, link your current Mi account and then proceed to unlock. Or if it says an acc is already linked, lock the bootloader (only if on MIUI Stock, Custom ROM would lead to a bootloop), and now go link your account. (Do take backups before proceeding)
Click to expand...
Click to collapse
Well, I did flash the latest MIUI Indian Global ROM a few weeks back so maybe I am running Original MIUI?
But I'm still gonna try to "unlock" it. And is there an option to keep all data after the unlock?
EDIT: I just read the Mi Unlock Tool's disclaimer and how they say some features won't work after the unlock. I mean, I know mine is unlocked but I think I'll just keep those features.
New User... Maybe said:
Well, I did flash the latest MIUI Indian Global ROM a few weeks back so maybe I am running Original MIUI?
But I'm still gonna try to "unlock" it. And is there an option to keep all data after the unlock?
EDIT: I just read the Mi Unlock Tool's disclaimer and how they say some features won't work after the unlock. I mean, I know mine is unlocked but I think I'll just keep those features.
Click to expand...
Click to collapse
Usually the first time you unlock it wipes your internal storage , but it doesn't wipe it in the subsequent unlocks (as far as I've tried). Yep it doesn't actually affect any system functions.. everything is as smooth as before..Find my device works fine as well..the only risk is that if your device gets stolen they could easily wipe MIUI and bypass that account lock by flashing a custom ROM.

Categories

Resources