CustomROM possible without root and (re)locked bootloader? - Nexus 5X Q&A, Help & Troubleshooting

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..

Related

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?

Can i lock the bootloader after installing a custom rom?

i was wondering if i unlocked the bootloader and installed a custom rom i`m not willing to change soon, can i lock the bootloader again while i have this rom?
iHookar said:
i was wondering if i unlocked the bootloader and installed a custom rom i`m not willing to change soon, can i lock the bootloader again while i have this rom?
Click to expand...
Click to collapse
Certainly you can if you are prepared for a bricked device later. I mean, it is not advisable to lock the bootloader if you have a custom ROM since any issues arise later, you will not be able to solve them. In addition, even if you manage to unlock the bootloader again in such a scenario, you will lose all your data including files, photos, videos etc.
If you properly sign the firmware, you don't even have to unlock the bootloader, see https://forum.xda-developers.com/oneplus-3t/how-to/guide-custom-kernels-roms-recoveries-t3572525

Unlock bootloader, Install Custom Recovery and Lock Again?

Hi everyone,
Well my doubt it's really simple as you can see.
I tried to search on forum and internet, but I didn't found nothing solid.
Only achism (Incluing Mi official Forum)
It's really simple to Lock/Unlock the bootloader on Mi 5s, a simple command on promt and it's DONE. You lose nothing, no need to flash NOTHING.
I heard about bootloop, but does it real? Anyone here already tried it?
Why Am I asking it?
Well, if my bootloader is unlocked, I dunno why, but even with magisk Applications can detect some incoherence in my smartphone.
Even passing all steps of SafetyNet, the apps detect.
I think it's some flag on build.prop or another option available on MIUI Rom (and ofc they will read it to check everything).
My GF has magisk and custom recovery (Unlock Boot) and the same apps don't detect on her phone and works normally. (I configured both)
So I would like to know if it's really possible use a Custom Recovery and Magisk and just block the Bootloader again...
If you have the original bootloader from the original rom you can lock it. If you don't, the phone will stop booting with lock and custom bootloader.
patoberli said:
If you have the original bootloader from the original rom you can lock it. If you don't, the phone will stop booting with lock and custom bootloader.
Click to expand...
Click to collapse
No. Even using stock ROM after unlock bootloader and Install TWRP and lock again we got a message "the system has been destroyed" on Mi 5/5s/5x.
It's a Soft Brick, but if anyone on future want to try it and before do it, found this post so, stay away.
TWRP = different bootloader.
patoberli said:
TWRP = different bootloader.
Click to expand...
Click to collapse
Read the post again and if you don't understand, read again.
Thank you.

7T - preparing for root

I've asked this on Reddit already, but thought it was worthwhile to ask here as well
It's been a long time (3 years) since I had a device that I'd been able to root and I wanted to make sure I'm ready to do it on my UK 7T whenever a solution becomes available (I've checked here and it seems a bit hit and miss at the moment). In order to get my device prepped should I just unlock the bootloader and wait for someone to get TWRP and Magisk working? Basically, I want to avoid losing all my stuff in x weeks time when the process becomes safer/simpler and from memory I think unlocking the bootloader causes everything on the device to be wiped.
TLDR
2 real questions:
Does the process of rooting the device wipe it, or does that only happen when unlocking the bootloader?
If I unlock the bootloader when I first get the device, will this be me prepped for rooting later on without losing all of my data?
Thanks
If you're not going to install a custom Rom, you're prepared for root without losing your data. I did it too yesterday when my 7T arrived, right after update oxygenos.
lmfao009 said:
If you're not going to install a custom Rom, you're prepared for root without losing your data. I did it too yesterday when my 7T arrived, right after update oxygenos.
Click to expand...
Click to collapse
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
r0brimmer said:
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
Click to expand...
Click to collapse
I'm changing from an iPhone 7+ to Oneplus 7T and got it yesterday. Why you don't make a backup when it's time for root? So far I can't see Custom ROMs or a working TWRP for the Oneplus 7T.
r0brimmer said:
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
Click to expand...
Click to collapse
Yes, i lost data when unlocking the bootloader but then it was okay while rooting. I think you should unlock the bootloader and root as soon as you get the phone, but after updating to latest 10.0.4 version
Unlocked Bootloader / no Magisk Hide
Consider that apps like GooglePay or other apps will refuse working since they detect the unlocked bootloader state as possible security leak. GPay says, that due unlocked bootloader it does not want to initialze it.
So after facing this problems I would recommend, since magisk is limited to patching the actual boot.img, to stay on locked bootloader and unlock it after a secure method exists to install magisk and maybe TWRP. Otherwise, if you donot use these kind of apps, you can stay with unlocked BL.

One-click-root in Moto G5 XT1672

Would there be a way to do one-click-root on the Motorola Moto G5 (XT1672) or another way that is easy and does not do a factory reset? Thanks!
vanhead said:
Would there be a way to do one-click-root on the Motorola Moto G5 (XT1672) or another way that is easy and does not do a factory reset? Thanks!
Click to expand...
Click to collapse
I really don't know how this is going from root very well, but as I understand it, you need to unlock the bootloader of the device (which requires a factory reset). If you already have the bootloader unlocked, try KingRoot, The truth is the only root of a click that I know, I have not really tried it on this device, but on an old phone, and it worked fine. The only problem I have had and I do not know if it is the fault of the device or KingRoot, and is that when I try to uninstall an application which I gave it the root permissions, the phone restarts, to uninstall an application I had to deny it permissions and then I could uninstall it, I repeat, I do not know if it is a problem that only happens to me
Postdata: Sorry for my english
vanhead said:
Would there be a way to do one-click-root on the Motorola Moto G5 (XT1672) or another way that is easy and does not do a factory reset? Thanks!
Click to expand...
Click to collapse
Rooting the phone does not require a factory reset but unlocking the bootloader does
So if you haven't unlocked the bootloader you will have to factory reset it during the process
If the bootloader is already unlocked you do not need to factory reset your device again in order to root it
Magisk should be the only way you should root your device - do not use other methods like kingroot as this has bloat and is not systemless (meaning it alters the system partition)
You need to root with magisk in order to maintain the system partition in its original state in order to pass basic integrity & to be able to pass cts profile (may need a magisk module) and to hide the fact you are rooted from apps that will not work if your device is rooted
TheFixItMan said:
Rooting the phone does not require a factory reset but unlocking the bootloader does
So if you haven't unlocked the bootloader you will have to factory reset it during the process
If the bootloader is already unlocked you do not need to factory reset your device again in order to root it
Magisk should be the only way you should root your device - do not use other methods like kingroot as this has bloat and is not systemless (meaning it alters the system partition)
You need to root with magisk in order to maintain the system partition in its original state in order to pass basic integrity & to be able to pass cts profile (may need a magisk module) and to hide the fact you are rooted from apps that will not work if your device is rooted
Click to expand...
Click to collapse
Thank you for your help. I tried several One-click-root, none worked, so I researched, they only work on android 7.
Could you tell me if it is possible to Downgrade from Android 8.1 to 7 without unlocking the bootloader? All the videos I find, the bootloaders are already unlocked.
vanhead said:
Thank you for your help. I tried several One-click-root, none worked, so I researched, they only work on android 7.
Could you tell me if it is possible to Downgrade from Android 8.1 to 7 without unlocking the bootloader? All the videos I find, the bootloaders are already unlocked.
Click to expand...
Click to collapse
As mentioned before - you cannot root a device without unlocking the bootloader!
Why do you want a one click root? They are buggy & full of bloatware
Magisk should be the only method you should be using to root a device - either flashing through twrp or by patching the kernel and flashing the patched image through fastboot
What ever method you choose you need an unlocked bootloader to root!
Why would you want to downgrade? You can flash all parts of a firmware image except gpt & bootloader but again you might need an unlocked bootloader to do this but I don't see the point
TheFixItMan said:
As mentioned before - you cannot root a device without unlocking the bootloader!
Why do you want a one click root? They are buggy & full of bloatware
Magisk should be the only method you should be using to root a device - either flashing through twrp or by patching the kernel and flashing the patched image through fastboot
What ever method you choose you need an unlocked bootloader to root!
Why would you want to downgrade? You can flash all parts of a firmware image except gpt & bootloader but again you might need an unlocked bootloader to do this but I don't see the point
Click to expand...
Click to collapse
In fact, since i need to unlock the bootloader to root, for now, it wouldn't be a good option for me.
But there are apps that I really need and that don't work correctly on Android versions above Nougat, if I could get Downgrade without losing data, that would help me immensely for now.
Is there a possibility that I can downgrade to android 7 with the locked bootloader ? What can go wrong? Brick?
vanhead said:
In fact, since i need to unlock the bootloader to root, for now, it wouldn't be a good option for me.
But there are apps that I really need and that don't work correctly on Android versions above Nougat, if I could get Downgrade without losing data, that would help me immensely for now.
Is there a possibility that I can downgrade to android 7 with the locked bootloader ? What can go wrong? Brick?
Click to expand...
Click to collapse
You would have to format data - it would bootloop otherwise and I've already said. Flash all parts of firmware except gpt and bootloader however it may not flash as your bootloader is not unlocked
If the flashing goes wrong and your bootloader is not unlocked you will not be able to recover the device without taking it to a repair shop
My advice just don't bother - if you want to mod your phone unlock the bootloader!
And what app doesn't work above nougat?

Categories

Resources