relock boot loader after rooting? - Nexus 5X Q&A, Help & Troubleshooting

ok, this is driving me crazy. had every nexus except the 6, got the 5x. unlocked bootloader, ok. flash twrp. cool. install root files, great. set up android pay, denied due to unlocked boot loader. went to lock boot loader... wants to do a factory reset.... ok..... now it just boot loops in twrp formats cache, and phone gives errors about corrupt system, different system, blah blah. so right now im bootloader unlocked, rooted with twrp. how is everyone relocking the boot loader?

You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root

berndblb said:
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
Click to expand...
Click to collapse
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?

From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.

PiousInquisitor said:
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
Click to expand...
Click to collapse
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?

dwreck420 said:
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
Click to expand...
Click to collapse
It plainly says:
mportant: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.

dwreck420 said:
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
Click to expand...
Click to collapse
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?

SlimSnoopOS said:
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
Click to expand...
Click to collapse
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked

PiousInquisitor said:
It plainly says:
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
Click to expand...
Click to collapse
does android pay work for you with unlocked bootloaders and systemless root?

dwreck420 said:
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
Click to expand...
Click to collapse
Oh, that sounds pretty cool actually.
I don't use Android Pay but I know you do not need a locked bootloader to get it working. Which version of SuperSU did you install? Cuz every time I see a 5X user with working Android Pay, they have systemless root and even a custom rom. I am pretty certain that I read that you just need to delete /SU/xbin_bind to get Android Pay working with systemless root.
Edit: I've seen it mentioned in the SuperSU thread I think, but it is explicitly mentioned in this Nexus 6P Android Pay thread

dwreck420 said:
does android pay work for you with unlocked bootloaders and systemless root?
Click to expand...
Click to collapse
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk

PiousInquisitor said:
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
thanks for the clarification.

dwreck420 said:
thanks for the clarification.
Click to expand...
Click to collapse
No problem. Sorry if I came across a bit hostile. I may have been up too late last night.
Android Pay is also working on some ROMs. Cataclysm for one. PureNexus will be comparable next update too.
Sent from my Nexus 5X using Tapatalk

Never mind
Sent from my Nexus 5X using Tapatalk

Related

lock symbol

i just picked this up today rooted it in like 15 minutes whole 9 yards well when it boots it has a dumb little lock symbol under the word GOOGLE i was wanting to know how to get it rid of it i used triangle away for the samsung devices is there anything similar to that or is this something that im stuck with ( it looks tacky )
Unroot and relock the boot loader and you won't see that anymore.
someolddude said:
Unroot and relock the boot loader and you won't see that anymore.
Click to expand...
Click to collapse
i don't want to unroot so pretty much im stuck with it
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
mugzylol said:
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
Click to expand...
Click to collapse
so what will happen in regards to locking the bootloader will i be able to use recovery and have root
I don't think you will be able to use recovery but since superuser has already been flashed I think it would stay but I'm really not sure.
Sent from my Nexus 7 using XDA Premium 4 mobile app
I think that re-locking may wipe your device just like unlocking does; in which case you'll use root... or not?
mugzylol said:
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
Click to expand...
Click to collapse
Exactly right!
soldier1184 said:
so what will happen in regards to locking the bootloader will i be able to use recovery and have root
Click to expand...
Click to collapse
Yes.
mugzylol said:
I don't think you will be able to use recovery but since superuser has already been flashed I think it would stay but I'm really not sure.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you lock the bootloader whatever recovery that you have installed will stay regardless if you are rooted or not and you would still be able to use that recovery.
schermvlieger said:
I think that re-locking may wipe your device just like unlocking does; in which case you'll use root... or not?
Click to expand...
Click to collapse
No. Relocking the bootloader does NOT wipe your device. A locked bootloader will prevent you from being able to fastboot flash ANY images which includes the factory image or parts thereof (system, boot, recovery, bootloader). Using the command fastboot oem unlock will always wipe your device!
If you are unlocked, rooted and use a custom recovery like TWRP you can lock (or unlock) the bootloader with BootUnlocker and still use your custom recovery. And that will also get rid of the unlocked icon. I've used BootUnlocker and it works great. After locking the bootloader and you are still rooted you might even be able to use Flashify to install a new/updated recovery or boot image, I haven't tried that so I'm not sure. I don't have BootUnlocker installed now because I have no problem with my bootloader always being unlocked and I have no idea if it will continue to work after future android updates.
Update: With a locked bootloader I just used Flashify to flash TWRP and it worked fine.

Using fastboot to root

I have a new M8 and, for the moment, I want to keep it stock, but rooted. Is it possible to fastboot boot TWRP, flash SuperSU for root, and still be capable of receiving OTA updates, since TWRP isn't actually installed? I'm coming from a N4 and N10 where I didn't care so much about official OTAs, so I've never tried this.
Also, do I still have to unlock the bootloader first in order to use fastboot at all? And does having an unlocked bootloader prevent OTAs?
Sent from my Nexus 10 using XDA Free mobile app
No, you can't root with a locked bootloader. That's the whole point (well, mostly) of a locked bootloader.
Also, its my strong opinion that OTAs have no place on a modded/rooted device. It won't work anyway, the OTA will check for root and fail to install. Or even if it did install, it would unroot the phone.
If you want to root, just do the whole deal, unlock bootloader, install custom recovery, etc. You can flash anything you want, including the awesome array of custom ROMs, or stock rooted ROMs for other carrier versions (which usually get released soon after the OTAs anyway).
Totally makes sense. Knowing me, it won't be long before I feel constricted with a locked bootloader (especially if I can't root}, but just wanted to see how "virgin" I can't keep the phone while I break it in. Plus I read a recommendation to use fastboot to boot into TWRP as an alternative to flashing it. But if I have to have an unlocked bootloader to do even that, I suppose I should just install TWRP and be done with it, like I'm used to.
Sent from my Nexus 10 using XDA Free mobile app
bruce7373 said:
Plus I read a recommendation to use fastboot to boot into TWRP as an alternative to flashing it. But if I have to have an unlocked bootloader to do even that, I suppose I should just install TWRP and be done with it, like I'm used to.
Click to expand...
Click to collapse
Not sure what will happen if you try to boot TWRP with a locked bootloader. Maybe only one way to find out
But that would be purely academic. You can't flash SU or SuperSU, since you need write access to the system partition to do so (and therefore an unlocked bootloader), regardless of whether you can boot TWRP or not.
redpoint73 said:
Not sure what will happen if you try to boot TWRP with a locked bootloader. Maybe only one way to find out
But that would be purely academic. You can't flash SU or SuperSU, since you need write access to the system partition to do so (and therefore an unlocked bootloader), regardless of whether you can boot TWRP or not.
Click to expand...
Click to collapse
Great, that's exactly what I needed to know. I'll just wait a week or two, see if I'm happy with the phone and, if I am, just do it all. Thanks a lot.
Sent from my Nexus 10 using XDA Free mobile app

How to RE-lock bootloader of oneplus3???

Any one knows how to re-lock the bootloader of one plus 3???
And
How to remove that screen on boot up after unlocking one plus three??? :/
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
But then My root access will be wiped??
I want root access and dont want than annoying screen
two questions different answer but I would bet if there is a way to remove nag screen a google search would find it. Keep searching threads
there is no reason to re-lock bootloader, its still under warranty through Oneplus even with unlocked bootloader. but if u really want to
1. fastboot flash stock recovery (fastboot flash recovery recovery.img) (make sure u download the file, its somewhere here on the forums
2. reboot and then reboot to fastboot (fastboot oem lock) (i have never re locked a bootloader so i am not sure if it will rewipe ur device again like unlocking it does)
3. boot to OS and get developer options again and uncheck OEM Unlock (do this last)
i would not recommend re locking since it wont void warranty and seemed like a lot people screwed up their devices relocking it, but they also unchecked the oem unlock before flashing stock recovery, also i am not sure if step 2 is needed, i would just make sure u flash stock recovery 1st before doing anything
HELP
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Once i have unlocked the phn my device doesn't get recognised by the pc when i use command" fastboot devices".. Now, i'm unable to flash twrp, plz solve my issue.!!!
Arun Ammineni said:
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Click to expand...
Click to collapse
ecarchi said:
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
Click to expand...
Click to collapse
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
kgs1992 said:
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
Click to expand...
Click to collapse
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
Fash 3.2.4 FW from here.
Follow all instructions from here (except I would suggest sideloading the StockROM before relocking).
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
batmobile_bang said:
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
Click to expand...
Click to collapse
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
borijess said:
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
Click to expand...
Click to collapse
If you unlock device, you will still be able to apply OTA. If you rooted by modifying the /system partition, OTA will fail, but if thou rooted using systemless method, you can apply OTA.
Iam on stock OOS 4.0.3 and i was plagued by the same error
--adb sideload the complete rom (with locked bootloader)-- method worked for me.
Previously i had unlocked bootloader and was on freedom OOS 2.3 with TWRP and then i realized that stock updates are better.
So i installed stock recovery and and tried to flash Stock Firmware 4.0.3 through sideload command and it failed.
then i installed TWRP and then installed stock OOS 4.0.3 and it installed fine but with some error.
Then i installed stock recovery
So i rebooted it and after long time it was installed but then i started getting dm_verity error and also i was frustated with unlocked bootloader message.
So i locked my boot loader first from fastboot oem lock and then sideloaded the stock 4.0.3 again and it really worked.
So now i am on stock rom and stock recovery and no more dm_verity error or unlocked bootloader msg to wait for 5 secs...
Now iam really loving my Oneplus 3..

New 10 Owner - what to do first?

Just got a 10 Factory Unlocked. I do need to root for Xprivacy and AdAway, etc. and of course, to make a nandroid. I suppose I could use ADB for such a thing, but TWRP surely does make life easier.
Since this is the first phone I've ever had that was already unlocked, I'm not quite sure where to start with rooting. I'm a little concerned because I'm seeing posts discussing how the radio might go wonky. Not ready to flash a custom ROM yet, I just want to dip my toe in the water for now.
I'd be grateful if someone could point the way.
BTW, the faceplate on my 10 is white, I was expecting black based on all the photos I've seen. Is this because I got the Factory Unlocked edition?
Thanks in advance!
is it on nougat or still marshmallow? i think nougat right? Xposed won't work on nougat anyway and you don't need to worry about the radio. if it's unlocked already and want to just root and you need to pass safetynet, get magisk v12. first you need to flash twrp and then flash the magisk zip to get root and be able to pass safetynet, be sure to not flash anything which modifies directly the system, otherwise no stock OTA and some apps won't work even if you use magisk hide
DeeZZ_NuuZZ said:
is it on nougat or still marshmallow? i think nougat right? Xposed won't work on nougat anyway and you don't need to worry about the radio, just unlock bootloader using htcdev.com
then flash a latest twrp and install a custom rom, but check first which main version is installed
Click to expand...
Click to collapse
Haven't even turned the phone on yet - letting her charge to 100% before I do anything. I'm confused - why would I need to unlock the bootloader if I already have an unlocked phone? Or by 'Factory Unlocked' do they mean SIM unlocked, versus bootloader unlocked?
BillTheCat said:
Haven't even turned the phone on yet - letting her charge to 100% before I do anything. I'm confused - why would I need to unlock the bootloader if I already have an unlocked phone? Or by 'Factory Unlocked' do they mean SIM unlocked, versus bootloader unlocked?
Click to expand...
Click to collapse
yea sorry, i've read way too fast and noticed it later, check my post now
DeeZZ_NuuZZ said:
if it's unlocked already and want to just root and you need to pass safetynet, get magisk v12. first you need to flash twrp and then flash the magisk zip to get root and be able to pass safetynet, be sure to not flash anything which modifies directly the system, otherwise no stock OTA and some apps won't work even if you use magisk hide
Click to expand...
Click to collapse
Not familiar with 'safetynet', and yes - I do need Xposed therefore it will modify the /system partition so far as I understand.
In any event, it sounds like the starting point is TWRP for anything to do with root, correct?
BillTheCat said:
Not familiar with 'safetynet', and yes - I do need Xposed therefore it will modify the /system partition so far as I understand.
In any event, it sounds like the starting point is TWRP for anything to do with root, correct?
Click to expand...
Click to collapse
yes you need twrp, without it no root... the thing is there is no Xposed for nougat and I think your phone came with android 7/ nougat right? if yes, forget Xposed. but you can use apps like adaway with magisk too.
So that'S why you should search for the Magisk thread and read everything about it, before you proceed
DeeZZ_NuuZZ said:
I think your phone came with android 7/ nougat right?
Click to expand...
Click to collapse
No, the HTC 10 shipped with MM. I guess I'll have to fire her up and see where I'm at.
So, assuming that I'm on MM, then it's just TWRP, flash SuperSU from recovery, install Xposed and I'm off and running - nothing extra, correct?
How would I make a Nandroid of the current factory ROM (all partitions - not file based) using ADB just in case?
BillTheCat said:
No, the HTC 10 shipped with MM. I guess I'll have to fire her up and see where I'm at.
So, assuming that I'm on MM, then it's just TWRP, flash SuperSU from recovery, install Xposed and I'm off and running - nothing extra, correct?
How would I make a Nandroid of the current factory ROM (all partitions - not file based) using ADB just in case?
Click to expand...
Click to collapse
yea if MM then it's that easy.
full stock nandroid can be done in twrp, there you can backup system, data, boot and recovery
also the system image, but don't know if you need that, but you can try to backup it too, be sure to have enough space
I got my unit one year ago, now I want root, I got nougat us unlocked and I want stock ROM, how can I do?
Enviado do meu HTC 10 através de Tapatalk
symy said:
I got my unit one year ago, now I want root, I got nougat us unlocked and I want stock ROM, how can I do?
Enviado do meu HTC 10 através de Tapatalk
Click to expand...
Click to collapse
flash magisk v12 then you have root and also can use android pay and other apps which needs passed safetynet
if you don't mind safetynet, you can also use systemless supersu
To the OP, surely factory unlocked indicates unlocked to all networks rather than bootloader unlocked ? Check this first to save some hassle. If the bootloader isn't unlocked yet, you could consider sunshine s off , it will cost you but on mm firmware you can s off and stay locked which can be an advantage. Worth checking bootloader status first though
DeeZZ_NuuZZ said:
flash magisk v12 then you have root and also can use android pay and other apps which needs passed safetynet
if you don't mind safetynet, you can also use systemless supersu
Click to expand...
Click to collapse
Can you tell me the great advantages of doing root, I do not want to lose the updates via ota
Enviado do meu HTC 10 através de Tapatalk
Confirmed - the 10 shipped with MM, so I'm in good shape. Flashing TWRP now. Thanks!
timbohobbs said:
To the OP, surely factory unlocked indicates unlocked to all networks rather than bootloader unlocked ? Check this first to save some hassle. If the bootloader isn't unlocked yet, you could consider sunshine s off , it will cost you but on mm firmware you can s off and stay locked which can be an advantage. Worth checking bootloader status first though
Click to expand...
Click to collapse
Yeah, just crashed into that wall. Almost gave myself a soft brick.
So, sunshine it is. Did that with my M9 and it worked out great. Thanks.
BillTheCat said:
Confirmed - the 10 shipped with MM, so I'm in good shape. Flashing TWRP now. Thanks!
Click to expand...
Click to collapse
What exactly do you need xposed for? It won't work once you updated to Nougat. And Nougat is much better tan Marshmallow at least as far as I'm concerned. All I need I've been able to find on custom ROMs and or by additional root Apps.
Sent from my htc_pmeuhl using XDA Labs
BillTheCat said:
Yeah, just crashed into that wall. Almost gave myself a soft brick.
So, sunshine it is. Did that with my M9 and it worked out great. Thanks.
Click to expand...
Click to collapse
Probably worth updating via ota after sunshine to nougat, not before. You can stay locked and s off then. After ota you can root as usual
timbohobbs said:
Probably worth updating via ota after sunshine to nougat, not before. You can stay locked and s off then. After ota you can root as usual
Click to expand...
Click to collapse
Can't go Nougat until Xposed is up and running.
So far:
Unlocked bootloader and went S-off via Sunshine
Installed TWRP
Made the error of allowing modification before taking a backup - not sure if I'm hosed.
Flashed SuperSU SR3 following Chainfire's instructions to send command via ADB
Flashed Xposed
Next: TiBu and restoring apps.
5m4r7ph0n36uru said:
What exactly do you need xposed for? It won't work once you updated to Nougat. And Nougat is much better tan Marshmallow at least as far as I'm concerned. All I need I've been able to find on custom ROMs and or by additional root Apps.
Sent from my htc_pmeuhl using XDA Labs
Click to expand...
Click to collapse
Xprivacy.
BillTheCat said:
Can't go Nougat until Xposed is up and running.
So far:
Unlocked bootloader and went S-off via Sunshine
Installed TWRP
Made the error of allowing modification before taking a backup - not sure if I'm hosed.
Flashed SuperSU SR3 following Chainfire's instructions to send command via ADB
Flashed Xposed
Next: TiBu and restoring apps.
Click to expand...
Click to collapse
You won't ( probably ) be able to do further ota in the future with your modified backup as you're probably aware. But don't worry too much, it's likely the firmware you're after will be available elsewhere
timbohobbs said:
You won't ( probably ) be able to do further ota in the future with your modified backup as you're probably aware. But don't worry too much, it's likely the firmware you're after will be available elsewhere
Click to expand...
Click to collapse
No big deal. I'm not ready for Nougat until Xposed is running. However, HTC has an RUU available already, so we're good to go.
http://www.htc.com/us/support/htc-10/news/
And of course, if I get bored, there are any number of custom ROMs available. I was running Maximus on my M9, I'd probably go that route again.

Is it safe to mod locked device?

As the title says is it possible to root, install modifications to stock ROM and is there a fast way to revert everything is something go wrong? I'm asking because support for 5X has ended, and I can't permanently unlock bootloader. I don't want to hard brick this phone by mistake and also I don't want just look how this device is being wasted.
So here's some probably noob questions that I want to ask:
1. Can I install TWRP on NO RPMB bootloader and boot it without issues? If so, how?
2. What recovery version should I install 4-core or regular 6-core?
3. Can I root device and hide it with magisk?
4. If an security update appear how to install it since stock recovery is replaced with TWRP?
5. If something go wrong like 2nd death loop how to revert everything? Can I simply flash stock system image in TWRP to "fix" device?
Thanks in advance.
You might try the solution the user in this thread suggested, https://forum.xda-developers.com/nexus-5x/help/rpmb-bootloader-locked-t3481906/page2
So I have to unlock bootloader, then flash TWRP, Super SU, compatible Magisk in one attempt, then I'm ready to go? Will TWRP boot and work like nothing happened?
Sent from my Nexus 5X using XDA Labs
I haven't tried it but based on the steps I would think it should work. It won't hurt anything. It also won't stop the bootloader from locking upon a reboot. But as long as you can unlock it prior to flashing any of the partitions as the reddit thread suggests you could be ok.
Locked bootloader won't allow to boot custom kernels that's sure, but will it boot modded stock kernels from this thread https://forum.xda-developers.com/nexus-5x/general/modified-boot-imgs-android-n-t3495169 since they're stock kernels
Banan PL said:
Locked bootloader won't allow to boot custom kernels that's sure, but will it boot modded stock kernels from this thread https://forum.xda-developers.com/nexus-5x/general/modified-boot-imgs-android-n-t3495169 since they're stock kernels
Click to expand...
Click to collapse
I'm running custom kernels just fine with locked bootloader.
CazeW said:
I'm running custom kernels just fine with locked bootloader.
Click to expand...
Click to collapse
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Banan PL said:
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
As long as TWRP is installed and "stuck" (ie: boot directly into TWRP after flash), you can basically flash anything (custom ROMs/kernels etc.).
The worst thing that can happen is that you brick the ROM without TWRP installed and the ROM is bricked/the oem unlock flag is reset (not tripped). Even then there's a .tot file somewhere here on XDA that can recover the phone.
I'm assuming that an upgrade to O is also possible via stock images (unlock bl, flash stock images, boot into O, trip the OEM unlock flag, unlock BL and follow the steps described).
Banan PL said:
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
Haven't tried Jolla's multiboot or drivedroid. As long as you can get into fastboot, you can just unlock it again and flash stock (though you will obviously lose everything that's on the device). Haven't tried flashing custom ROMs but as custom kernels are working, I don't see why custom ROMs wouldn't.
negusp said:
As long as TWRP is installed and "stuck" (ie: boot directly into TWRP after flash), you can basically flash anything (custom ROMs/kernels etc.).
The worst thing that can happen is that you brick the ROM without TWRP installed and the ROM is bricked/the oem unlock flag is reset (not tripped). Even then there's a .tot file somewhere here on XDA that can recover the phone.
I'm assuming that an upgrade to O is also possible via stock images (unlock bl, flash stock images, boot into O, trip the OEM unlock flag, unlock BL and follow the steps described).
Click to expand...
Click to collapse
In short unlocking bootloader JUST allows to flash system images in fastboot, nothing more nothing less? So if I flash TWRP then Lineage it will boot and work like nothing happened (like on 5X with unlocked bootloader), it's sounds so good that I can't even believe.
Sent from my Nexus 5X using XDA Labs
Banan PL said:
In short unlocking bootloader JUST allows to flash system images in fastboot, nothing more nothing less? So if I flash TWRP then Lineage it will boot and work like nothing happened (like on 5X with unlocked bootloader), it's sounds so good that I can't even believe.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
I don't own a device without RPMB (I got a fairly new refurb), but I've used TWRP/flashed ROMs and kernels successfully with the bootloader locked and TWRP installed.
Alright I'll flash TWRP take nandroid and hopefully device will boot. Can someone give me link to 4-core TWRP, I can't find it?
Sent from my Nexus 5X using XDA Labs
Google 4 core twrp 5x xda. It's in that thread. https://forum.xda-developers.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199
Strange I can't flash recovery it's getting replaced by stock. TWRP shows a message, but I'm unable to read it. It appear for a while then device reboot into system.
It says something like "Renamed stock recovery file to /system to prevent the stock ROM from replacing TWRP" or something like that. Any help?
Banan PL said:
Strange I can't flash recovery it's getting replaced by stock. TWRP shows a message, but I'm unable to read it. It appear for a while then device reboot into system.
It says something like "Renamed stock recovery file to /system to prevent the stock ROM from replacing TWRP" or something like that. Any help?
Click to expand...
Click to collapse
Did you unlock and then without rebooting flash the TWRP?
CazeW said:
Did you unlock and then without rebooting flash the TWRP?
Click to expand...
Click to collapse
I've unlocked bootloader then flashed TWRP and rebooted into recovery
Banan PL said:
I've unlocked bootloader then flashed TWRP and rebooted into recovery
Click to expand...
Click to collapse
Did you then do a factory reset and flash root? That should make it stick. If not, you can always just use the TWRP app to get into TWRP when needed.
Edit: You also booted to recovery straight from fastboot after flashing, without rebooting the phone?
CazeW said:
Did you then do a factory reset and flash root? That should make it stick. If not, you can always just use the TWRP app to get into TWRP when needed.
Edit: You also booted to recovery straight from fastboot after flashing, without rebooting the phone?
Click to expand...
Click to collapse
This is what I've done: unlocked bootloader, format data in fastboot, flashed twrp, rebooted into twrp. Here device keep rebooting into system and replacing twrp with stock recovery.
Banan PL said:
This is what I've done: unlocked bootloader, format data in fastboot, flashed twrp, rebooted into twrp. Here device keep rebooting into system and replacing twrp with stock recovery.
Click to expand...
Click to collapse
So you are not actually getting into recovery at all. Try with different TWRP image.
CazeW said:
So you are not actually getting into recovery at all. Try with different TWRP image.
Click to expand...
Click to collapse
I tried with regular TWRP 4-core modded TWRP and with Multiboot TWRP. Same result.
Sent from my Nexus 5X using XDA Labs

Categories

Resources