Flashing stuff with locked b loader ? - OnePlus 3 Questions & Answers

• Purpose of this thread is Just to know
• What would be the consequences to take if I flashed a custom recovery with locked bootloader
• eMMC of my old LG G3 had gone to techiy heaven when I didn't unlock the bootloader

no its not possible to flash custom stuff with locked BL how ever its possible to switch between openbeta rom and stable oos rom ( stock )

With a locked bootloader, the phone will refuse to flash any file not signed with OnePlus's key. The bootloader only prevents you flashing an image through fastboot thought, so you could technically still flash images if you manage to load a custom recovery on the phone while the bootloader is locked. Certain phones with unlockable bootloaders may have exploits that allow users to install a custom recovery, though this is highly unadvisable as there is a real chance that you'll brick your phone. If you try to flash a custom recovery while the bootloader is locked, you'll just get an error message.

Thanks Lads !
Quite couraged me to get back to work

Related

Install Kernel on a Locked Bootloader

Hello everyone, am new to xperia phones. I wanted to flash CM12 on Xperia M C1905. But am not allowed to unlock the bootloader. But I was thinking if there was a way just like installing recovery on locked bootloader. I also thought that if there was a way to convert an boot.img to kernel.sin. You would be able to flash the kernel via Flashtool just by swapping the kernel of the stock firmware. Or if someone could try to flash the unlocked bootloader of the of another C1905 on the locked one. It might work.
Does anyone knows how to unlock bootloader using testpoint method on the device?
Thanks in Advance!
.img .sin .elf, doesn't matter, a kernel can't be modified in any way without unlocking the bootloader
Even using it with Flashtool in Flashmode flash?
Does anyone knows how to Unlock bootloader by testpoint the device?
If you device has a permanently locked bootloader (e.g. bought it from a carrier or with a contract), there's no known way to unlock it and with a locked bootloader it'll only accept kernels/recoveries signed by Sony (even if you manage to repack CyanogenMod kernel in a .sin file, your phone would refuse it because it's not signed by Sony). Even if you find a test point in the board or a serial interface to flash another kernel directly in the phone's eMMC chip, it would still refuse to boot because kernel signature is always verified when powering the device. If it's not signed or if it have a different signature, phone turn off immediately.
For locked bootloader users, the only way of getting a custom ROM would be building a custom kernel with kexec support and hijacking the stock init procedure, making it loading the custom kernel right after the stock kernel. At the moment, the closest we got to that was the CWM recovery you linked but it barely works and only in the old 4.1.2/4.2.2 firmware. Seen Xperia M doesn't have many active developers, it's unlikely to expect custom ROMs for locked bootloaders in near future...
Yeah, you're screwed, no known way around that. As a future advice, never buy another Sony device from a carrier or with a contract
mbc07 said:
If you device has a permanently locked bootloader (e.g. bought it from a carrier or with a contract), there's no known way to unlock it and with a locked bootloader it'll only accept kernels/recoveries signed by Sony (even if you manage to repack CyanogenMod kernel in a .sin file, your phone would refuse it because it's not signed by Sony). Even if you find a test point in the board or a serial interface to flash another kernel directly in the phone's eMMC chip, it would still refuse to boot because kernel signature is always verified when powering the device. If it's not signed or if it have a different signature, phone turn off immediately.
For locked bootloader users, the only way of getting a custom ROM would be building a custom kernel with kexec support and hijacking the stock init procedure, making it loading the custom kernel right after the stock kernel. At the moment, the closest we got to that was the CWM recovery you linked but it barely works and only in the old 4.1.2/4.2.2 firmware. Seen Xperia M doesn't have many active developers, it's unlikely to expect custom ROMs for locked bootloaders in near future...
Yeah, you're screwed, no known way around that. As a future advice, never buy another Sony device from a carrier or with a contract
Click to expand...
Click to collapse
Thanks for your reply, that made me understand more about sony's phones. But I was wondering, the says that fastboot is usually disabled when bootloader is locked. But mine, I have access to fastboot and still bootloader is locked. But i did try to flash a kernel, and the following poped-up
FAILED (remote: Command not succeed)
Is this normal for me to be able to access fastboot? or the issue is with the device itself?
And also it was bought on eBay, no carrier device or contract one :/
Thanks in Advance!
Fastboot mode is always accessible, the difference is that with a locked bootloader, the only command that will succeed is fastboot oem unlock and only if your bootloader is unlockable. Otherwise, fastboot is there but it's useless because all commands will return "failed"...

Bootloader unlock problems?

Hello,
I bought a 64gb version throw gearbest and they installed a vendors version 7.3.14.0.0 not oficial rom. With defeats the purpose of the bootloader being locked.
I want to install the original miui 8 china or miui 8 from xiaomi.eu.
If I unlock my bootloader by submitting the request to xiaomi what I lose? What are the disavantages?
Does the fingerprint reader works on a bootloader unlocked phone with official miui 8 china?
Does it work with xiaomi.eu rom?
What are the features that cease to work with an unlocked bootloader with these two roms?
If I install xiaomi.eu rom without unlock the bootloader using Doom Slayer method I must not update by OTA or I will brick it, right?
And oficial miui 8 can I update by OTA?
Sorry for these questions but is my first xiaomi with locked bootloader and don't want to screw up by not knowing the consequences of each method?
Thanks in advance
filtragem said:
Hello,
I bought a 64gb version throw gearbest and they installed a vendors version 7.3.14.0.0 not oficial rom. With defeats the purpose of the bootloader being locked.
I want to install the original miui 8 china or miui 8 from xiaomi.eu.
If I unlock my bootloader by submitting the request to xiaomi what I lose? What are the disavantages?
Does the fingerprint reader works on a bootloader unlocked phone with official miui 8 china?
Does it work with xiaomi.eu rom?
What are the features that cease to work with an unlocked bootloader with these two roms?
If I install xiaomi.eu rom without unlock the bootloader using Doom Slayer method I must not update by OTA or I will brick it, right?
And oficial miui 8 can I update by OTA?
Sorry for these questions but is my first xiaomi with locked bootloader and don't want to screw up by not knowing the consequences of each method?
Thanks in advance
Click to expand...
Click to collapse
The fingerprint will work. But Find phone will not work and it will not be secure. But your phone will be less secure like if gets stolen anybody can flash firmware and you will be loser. With find my phone nobody could even flash firmware . I have got permission within 2 days for unlocking but i have not done but i have flashed chinese firmware by using miflash. the link is here http://en.miui.com/thread-326039-1-1.html. it is very safe that way.
seking said:
The fingerprint will work. But Find phone will not work and it will not be secure. But your phone will be less secure like if gets stolen anybody can flash firmware and you will be loser. With find my phone nobody could even flash firmware . I have got permission within 2 days for unlocking but i have not done but i have flashed chinese firmware by using miflash. the link is here http://en.miui.com/thread-326039-1-1.html. it is very safe that way.
Click to expand...
Click to collapse
Security is not about flashing, is about protecting your data. Encryption makes phone more secure, not locked bootloader. We have ways to flash whatever we want with locked bootloader... how about that? Do you still fil secure?
Thank you both,
@seking for what I could understand this is the xiaomi.eu rom with even more stuff, right?
Do you have the helium version?
For that rom you just need the miflash to flash the rom via fastboot, right?
This is different from the Doom Slayer method because with it we fastboot the TWRP recovery and then use it to flash the xiaomi rom.
@nijel8, that is my question also the locked bootloader doesn't add security, gearbest flashed a custom rom even with it locked, so the security reason isn't a valid one.
Partition encrypting is only available when the bootloader is locked? If so that is one feature that is gone with unlocking.
If one unlock the bootloader can later lock it again?
With the bootloader locked we can't use miflash tool to flash fastboot rom, right? Only using EDL, and even then from what I could understand the system and data partition need to be formatted and that removes the encryption...
I just want to get rid of a rom that I don't know what is it and install a oficial rom or a rom from good sources like xiaomi.eu
After replace my rom can I update it by OTA or after I must update only by fastboot ot TWRP?
Thanks again
Bootloader status has nothing to do with encryption. Encryption always is a user option in any ROM... Not sure about MIUI though b/c they enforce encryption on both system and userdata partitions in ramdisk fstab so no user choice as far as I know. And yes... You can always lock bootloader back but will loose your data in process.
Not going to answer the second set of questions (see my signature ) not b/c I don't know but b/c never done it myself so yeah...
mi max is comparatively new phone. there are notnmany roms. development still new. therefore be careful of what you flash. for hardbrick solving we have to open the back cover which is risky. i have taken the safe mthod of not unlocking it. i flashed the rom on the locked rom with miflash via EDL. one can always flash the official rom through twrp and you will be safe.
Thanks a lot you two.
Trying to get the most information before doing something wrong.
Don't worry... Mi Max poves to be die hard phone...

relock bootloader with customised rom or rooted OxygenOS?

Hi
I noticed OnePlus 3 does NOT allow user to have fully working phone when one re-lock bootloader with customised recovery or modified ROM. I would only assume there is security feature put in and checking the integrety of the ROM during boot. Did OxygenOS get digitally signed? Does this mean we don't have any method to root the OxygenOS and yet keep bootloader locked?
The reason I like to keep bootloader locked is becuase it's much more secure, otherwise, anyone can took the phone reflesh the recovery and have full access to my contents. Once they are done, they can simply swap it back without me notice anything.
I have done this with Nexus 5.
Any ideas for achieve below as end result?
* bootloader locked, running OxygenOS, and have SuperSU installed
* bootloader locked, running any ROM, and have phone rooted
Thanks
You could try to root your phone with KingRoot, which allows having your device rooted without a Custom Recovery or unlocked device.
Do we know what method is KingRoot using for this?

CustomROM possible without root and (re)locked bootloader?

Hi,
Long story short:
is it possible to install customROM without root and to (re)lock the bootloader, and are there experiences with a similar situation where Apps check for closed bootloader and root (and stop working if detected)?
=> Goal: activate WiFi-Calling as my provider tuned down 2G-transmitpower due to the 5G-advances (without having enough 3G-coverage to make calls on UMTS-net)... BUT: I'm using two banks; one uses a PhotoTAN-App, that stops working if it detects an open Bootloader, the other Bank-App checks for Root & open Bootloader, and likewise stops working if detected. I have no idea about the PhotoTAN and Magisk, but the 2nd bank confirmed they checked rooted devices with Magisk, and that it does not work with it....
Thus, if I go for a CustomROM, I need to be sure that I can run it unrooted and with a locked bootloader....
Is there a way to install a CustomROM on the 5X with (re)locked bootloader and without root?
(or, if not possible: is there a way I can activate WiFi-Calling on StockROM if said one does not have the Carrier-Entitlements?)
Thanks for the help
@theunlucky: you don't need root to flash a custom ROM, only an unlocked bootloader. IMO you can lock it after flashing ROM.
rp158 said:
@theunlucky: you don't need root to flash a custom ROM, only an unlocked bootloader. IMO you can lock it after flashing ROM.
Click to expand...
Click to collapse
Are you sure about locking the bootloader after flashing a CustomROM? I've read several threads now, and it seems a locked BL only works with StockROM?
Not sure, therefore IMO IMO a locked BL prevents flashing CustomROM, not running. Try. If it doesn't work, you unlock BL again (triggers factory reset). In the worst case you've to flash latest firmware for a clean base..

Questions about carrier unlock and re-lock the bootloader

Deear All,
I just bought my z2 force (t-mobile) from internet. It is an unlocked version and i can use it with my own sim card. However, i found that it cannot update via OTA as the bootloader is unlocked. I have heard that after i re-flash the firmware, the bootloader will be relocked. I am wondering, will the flashing re-activate the carrier lock?
Also, is it correct that after I flash via Lenovo Moto Smart Assistant. the bootloader will be locked again?
Is there other method to allow the phone to get OTA again?
Thanks a lot for your help.
hkguy80 said:
Deear All,
I just bought my z2 force (t-mobile) from internet. It is an unlocked version and i can use it with my own sim card. However, i found that it cannot update via OTA as the bootloader is unlocked. I have heard that after i re-flash the firmware, the bootloader will be relocked. I am wondering, will the flashing re-activate the carrier lock?
Also, is it correct that after I flash via Lenovo Moto Smart Assistant. the bootloader will be locked again?
Is there other method to allow the phone to get OTA again?
Thanks a lot for your help.
Click to expand...
Click to collapse
Unlocked bootloder won't stop an ota, but a custom logo.bin will. Chances are that the seller has also flashed a logo. When you boot you should see a warning about your bootloader being unlocked, if you don't and you just see a moto logo (or any stationary image really) then you have a custom logo which will fail otas. The easiest way to remedy this is to follow Uzephi's "How to Return to Stock' thread. Then you should get otas again. It is advised never to relock your bootloader. A good example of why would be that you have a custom logo, you relock, your phone fails to boot and you can't flash anything because you locked it. There is no real valid reason to relock your phone. As for losing carrier unlock, you shouldn't, those are usually permanent. Unless it was some hack which I doubt since I believe that is only for Spring variants. Just follow Uzephi's guide and you should be back to good.
41rw4lk said:
Unlocked bootloder won't stop an ota, but a custom logo.bin will. Chances are that the seller has also flashed a logo. When you boot you should see a warning about your bootloader being unlocked, if you don't and you just see a moto logo (or any stationary image really) then you have a custom logo which will fail otas. The easiest way to remedy this is to follow Uzephi's "How to Return to Stock' thread. Then you should get otas again. It is advised never to relock your bootloader. A good example of why would be that you have a custom logo, you relock, your phone fails to boot and you can't flash anything because you locked it. There is no real valid reason to relock your phone. As for losing carrier unlock, you shouldn't, those are usually permanent. Unless it was some hack which I doubt since I believe that is only for Spring variants. Just follow Uzephi's guide and you should be back to good.
Click to expand...
Click to collapse
Thanks a lot for your help. I will follow Uzephi's to reflash my phone. :good::good::good:

Categories

Resources