/Help/-[[HOW TO LOCK BOOTLOADER without loosing Root]]--Xperia 10 Rooted. - Sony Xperia 10 Questions & Answers

Hi everyone
I have a Xperia 10, i1331 version. It has the bootloader unlocked and was rooted successfully (many thanks for the info in this forum)
Then, I gave root permissions to some apps, aa mirror and carstream for android auto, for instance, they work perfectly. But Google Pay does not work, even hiding root...., Because the Bootloader is unlocked, so I need to lock it again.
But I need to find a way to lock the bootloader again without reseting the Xperia 10... and keeping my Root permissions I did., Does it exist any option to do this????
As you know, with some Rooted devices, if you lock the bootloader again they do not loose the root permissions you gave to some apps, Don't you?? but with XPERIA phones (bq and xiaomi seem to be the same) once you lock the phone they automatically reset everything and erase all Root..... , a disaster.
PLEASE, do you know any possible solution???? Thousand of thanks.

Sadly, it's not possible to lock or unlock the bootloader without a factory reset.

No solution unfortunately

I'm trying to find a way to lock the bootloader, regardless of the condition of root, but unable to do so. Have been trying for hours.

You can't!!

Related

[Q] Bootloader and Rooting - which one does what?

Hello,
I just got my new Xperia Z having used my ancient Iphone 1G for the last 4 years and I have no experience with Android and anything related to it what so ever. I've spent the last 2 days tirelessly working my way through various forums, guides, wikis to get an idea what I'm dealing with here and where to start, but there's an important decision that I could really use your thoughts and tips on.
After reading up on it, I decided I want to root my phone and this seems to be somehow connected to unlocking the bootloader and this is where I'm worried. I read the guide on how to unlock the bootloader and the warning about losing DRM Keys and the consequences of this scared me away from it. Now I'm left wondering, and this is my actual question here:
What is the difference between unlocking the bootloader and rooting my phone and simply rooting without unlocking the bootloader?
And in case the things I want to do are only available with an unlocked bootloader: how damaging is it to lose DRM keys and therefore the bravia engine and gracenote? What made you decided for or against unlocking the bootloader?
Thanks!
Hi,
maybe I can help you.
Bootloader is like the BIOS of a PC. It checks everything at start up.
Locked Bootloader only allows to run the Stock FW and in this case the DRM-Keys are working (everything is checked and safe)
Unlock the Bootloader means you were able to install an modified / other FW and then you loose the DRM-Keys (the manufacturer hasn´t checked the FW and it is in the eyes of an manufacturer "not safe". You will also loose your warranty.
If you unlock the bootloader Root is always possible as I know.
In this case the system is not from the manufacturer and unofficial modification could be done to the system. Normally all modified Systems have Root access. So you were able to do things that the manufacturer has normally not allowed. Modify system files or something like that. Also it could be possible to copy for example a downloaded and payed movie to another device. This is why you were not able to download a movie on the Play Store if you have root. On a locked bootloader the FW (system) does not give you the possibility to copy the movie to an other device and everything is "safe" (from the view of companies). No illegal copies are possible. (DRM-Keys)
Since some days Root is also possible on a locked bootloader.
The bootloader is checking the status (locked) .. then checking the FW (stock) ... DRM-Keys still valid.
But due to the root access you were also able to modify system files and apps can recognize that you have root access. So you can still use the bravia engine for example (DRM-Keys are ok). But the Google Play Store will still recognize that you have root and will not let you download movies.
This is my experience with Root ... If something is not correct, please correct me
UserX10 said:
Hi,
maybe I can help you.
Bootloader is like the BIOS of a PC. It checks everything at start up.
Locked Bootloader only allows to run the Stock FW and in this case the DRM-Keys are working (everything is checked and safe)
Unlock the Bootloader means you were able to install an modified / other FW and then you loose the DRM-Keys (the manufacturer hasn´t checked the FW and it is in the eyes of an manufacturer "not safe". You will also loose your warranty.
If you unlock the bootloader Root is always possible as I know.
In this case the system is not from the manufacturer and unofficial modification could be done to the system. Normally all modified Systems have Root access. So you were able to do things that the manufacturer has normally not allowed. Modify system files or something like that. Also it could be possible to copy for example a downloaded and payed movie to another device. This is why you were not able to download a movie on the Play Store if you have root. On a locked bootloader the FW (system) does not give you the possibility to copy the movie to an other device and everything is "safe" (from the view of companies). No illegal copies are possible. (DRM-Keys)
Since some days Root is also possible on a locked bootloader.
The bootloader is checking the status (locked) .. then checking the FW (stock) ... DRM-Keys still valid.
But due to the root access you were also able to modify system files and apps can recognize that you have root access. So you can still use the bravia engine for example (DRM-Keys are ok). But the Google Play Store will still recognize that you have root and will not let you download movies.
This is my experience with Root ... If something is not correct, please correct me
Click to expand...
Click to collapse
Hi and thanks a lot for your reply, helped me understand the difference of both better!
If I only root but do not unlock my bootloader will I be able to do anything other than using custom firmware (ROMs)? Will I be able to install Apps that require root or install custom modification like the ones offered on this forum that need to be "flashed in recovery" if I only root not unlock my bootloader?
Also, still looking for some pros and cons (my second question in the original post).
Appreciate all your help!
root will give you access to recovery (in time - still in development) and you can install apps that require root access
custom mods - yes you can install them via recovery and some can be installed with root access and without recovery
if u unlock bootloader you will lose bravia engine not sure bout gracenote as i dont use it
you can check this thread http://forum.xda-developers.com/showthread.php?t=2154310 too see what have people wrote bout
rooting with unlocked bootloader
The main thing pointing me towards unlocking bootloader (I'm already rooted on locked bootloader) is being able to install kernels and major roms.
For example, you could flash Doomlords kernel and over clock the processor a bit, but you could also reduce power and save battery
The major roms I speak of are the ones that are kinda cross device: CyanogenMod and Paranoid Android to name 2. CM is based on pure android, no Sony changes so we can't flash that on locked bootloaders as it requires changing kernel. PA is same.
As for the downsides. I'm not too bothered about DRM keys. I use Spotify for music so don't think I need gracenote. Never watched a movie on my phone. BE2 isn't my cup of tea... Over saturates everything.
I'm going to look into DRM keys more tomorrow, but if someone can correct anything I've written then please do
Not being able to restore via Sony tools... Isn't that bad as you're going to be using flash tool a lot so you'll be used to that. Just keep a generic stick firmware .ftf around in case something goes horrendously wrong (usually recovery backup is enough I think).
Sent from my C6603 using Tapatalk 2
Nice thread, I had this question too
It's my first android and I guess I should unlock the bootloader and then root, this way I won't have to wipe my data later when I decide to try cyanogenmod or something else?
Also what happens if sony release 4.2? Will I lose my bootloader unlock and root?
Al Gore said:
Nice thread, I had this question too
It's my first android and I guess I should unlock the bootloader and then root, this way I won't have to wipe my data later when I decide to try cyanogenmod or something else?
Also what happens if sony release 4.2? Will I lose my bootloader unlock and root?
Click to expand...
Click to collapse
I would say root without unlock for now.
When you want to try cyanogenmod or others. Just backup everything using titanium backup and then u can restore after unlocking.
Rooting with a locked bootloader means sony are not aware your bootloader is unlocked
Sent from my C6603 using xda premium
Thanks for all your replies, helped me out a ton!
I think Im gonna root without unlocking bootloader for now to get my feet wet and get a grasp of it's capabilities and limits. Can always restore the phone if I screw up and can always unlock bootloader later if I need it.
Al Gore said:
Nice thread, I had this question too
It's my first android and I guess I should unlock the bootloader and then root, this way I won't have to wipe my data later when I decide to try cyanogenmod or something else?
Also what happens if sony release 4.2? Will I lose my bootloader unlock and root?
Click to expand...
Click to collapse
If you unlock Bootloader, you shouldn't update from Sony. Since you've (hypothetically) already unlocked, you already have 4.2 avaliable from FXP and if you really want the Sony Update maybe you could flash it via flash tool. Bootloader unlock will never be lost (until someone can create an explicit relock file, but customs roms won't relock it). Root maybe lost if you flash a rom without it but you should be able to get it back easy.
With locked bootloader, we have to wait for Sony to bring 4.2 as we can't access the kernel, but we retain the ability to use the official updates. If we're rooted and we update, we are no longer rooted and we may be unable to use the same exploit.
Sent from my C6603 using Tapatalk 2

Rooting noob here...

I just want to root my HTC Desire 510 in order to use Xmod game assistant and just to delete bloatware. I tried using kingoroot, it said success, but it actually didn't even work. I found out that you need to unlock the bootloader. I don't really want to this, i have no interest in it. I was thinking of using Kingoroot's HTC bootloader unlock to unlock it, then root it using the kingoroot rooter, then re-lock the bootloader with the Kingoroot bootloader program. Is it risky? Please note my phone has no important data, it's new. And I do not want to install anything custom. Just get xmod and remove bloatware. That's all I need.
Would this all work? Please help.
uRager said:
I just want to root my HTC Desire 510 in order to use Xmod game assistant and just to delete bloatware. I tried using kingoroot, it said success, but it actually didn't even work. I found out that you need to unlock the bootloader. I don't really want to this, i have no interest in it. I was thinking of using Kingoroot's HTC bootloader unlock to unlock it, then root it using the kingoroot rooter, then re-lock the bootloader with the Kingoroot bootloader program. Is it risky? Please note my phone has no important data, it's new. And I do not want to install anything custom. Just get xmod and remove bloatware. That's all I need.
Would this all work? Please help.
Click to expand...
Click to collapse
No this won't work and the number one reason is because if you root the phone and then spend your time deleting all the bloatware you'll be wasting your time if you don't install a kernel with write protection removed because as soon as you reboot the phone will reinstall everything! So you need to unlock the bootloader and then install the custom recovery and then make a backup first before doing anything else and then install the kernel with write protection removed and then delete bloatware!
Ok, I decided I don't want to remove bloatware. I am just rooting so I can download Xmodgames and such apps that need a rooted device. No custom ROMS or anything. Would I be fine?
uRager said:
Ok, I decided I don't want to remove bloatware. I am just rooting so I can download Xmodgames and such apps that need a rooted device. No custom ROMS or anything. Would I be fine?
Click to expand...
Click to collapse
Yes. Although be warned rooting will restore the phone to stock after unlocking the bootloader.
Can you even use the phone if you make changes? What I mean is isn't the point behind a locked bootloader to keep changes from being made? So if you unlock -> make a change (rooting for example) -> then relock .... doesn't that equal bootloop when the bootloader notices you've changed something?
For my two cents... I'm probably more of a noob than you @uRager, and I got through the unlocking and rooting process with not too much trouble. I think the good old fashioned way will probably serve you the best. And there are several kernels that are just a modified version of the stock kernel (write protection removed) so a couple more minutes will get the bloat removed as well. Also don't be afraid to ask questions, from what Ive seen they usually get answered.

Brick Honor 5c

Hello,
i just tried to enable OTG on my Honor 5c.
I unlocked bootloader and flashed TWRP. etc.
Now i reset my phone and relocked my booloader. i see every boot a warning, and i can't use my online banking TAN because my phone is apparently rooted.
i just want to do a hard reset. But how? I can't install the b102 firmware from modaco. i get an error every time. what can i do?
please help me
What firmware number you have?
my bank just warns about being rooted but doesnt prevent using app i think you can hide root from apps... try searching root hiding from apps!

Questions regarding rooting & Unlocking BL

Used to root etc on old phones, taken a long break from it all but I have sent a request to Huawei to get my unlock key for my P10 VTR-L09C440, however I have a few questions I hope can be answered.
1. Can I re-lock my bootloader after unlocking, and if so does it say anything like "bootloader relocked" or anything like that or is it completely back as it was?
2. Can I use restricted apps (I know I couldn't use Barclays and I think one of my betting apps and Google Pay were restricted), has this changed now or can Magisk etc actually hide BL unlock / root / whatever it is it doesn't like?
I would like to know that too
SavageRobot said:
Used to root etc on old phones, taken a long break from it all but I have sent a request to Huawei to get my unlock key for my P10 VTR-L09C440, however I have a few questions I hope can be answered.
1. Can I re-lock my bootloader after unlocking, and if so does it say anything like "bootloader relocked" or anything like that or is it completely back as it was?
2. Can I use restricted apps (I know I couldn't use Barclays and I think one of my betting apps and Google Pay were restricted), has this changed now or can Magisk etc actually hide BL unlock / root / whatever it is it doesn't like?
Click to expand...
Click to collapse
1. No, when you manually relock, the bootloader status is "RELOCKED". To lock the bootloader you need to use HWOTA8, FunkyHuawei or FirmwareFinder and update to the newest version. Both will cause factory reset.
2. When you rooted with Magisk most apps with Root detection will work, when you enable "Magisk Hide". I use it on my bank secure tan app and Mario Run without any problems. Some friend are using Magisk Hide with other banking apps without any problems, too.
I haven't rooted and unlocked myself but I read about an important part of the process.
First of all you have to enable oem security in developer options, otherwise you risk the FRP lock.
https://www.google.nl/amp/s/www.androidcentral.com/factory-reset-protection-what-you-need-know?amp
If I'm wrong, someone please correct me.
Sent from my VTR-L09 using XDA Labs
OK great, thanks for the info. I have actually finally just heard back from Huawei so code should be imminent. Unfortunately my battery as stock seems to be awful so I need to try something to make it last a day at least.
Does Magisk hide make Android Pay work too?
I think I'm right in thinking that banking apps and the like often check bootloader status rather than just root. I assume Magisk doesn't hide this?
If I go back to stock and relock bootloader, will the apps also still register that the bootloader has been unlocked and still not work?
TIA
SavageRobot said:
Does Magisk hide make Android Pay work too?
I think I'm right in thinking that banking apps and the like often check bootloader status rather than just root. I assume Magisk doesn't hide this?
If I go back to stock and relock bootloader, will the apps also still register that the bootloader has been unlocked and still not work?
TIA
Click to expand...
Click to collapse
Can someone confirm this please? Does anybody use Android Pay and Barclays confirm Magisk makes it still work with Bootloader unlocked?

Question Updates about Realme 8 pro modding options

Hi all, i don't follow modding world from a while so i don't know what happened more or less into the last 3 years, so now that i need to root the device i wanted to do some questions.
I bought a realme 8 pro at the dayone and now i have the last update installed (so realme UI 4.0). I wanted to do the root but i don't know how much realme support it, if the bootloader is locked or not, ecc. ecc.
I saw in this phone thread that there is a method (the guide is written in May, 14 so it seems very recent) about unlocking bootloader (so i guess is locked?) using deeptest, i tried to read but i didn't really understand what kind of thing is that. So i wanted to ask, what is deeptest? if it is locked, if i successfuly unlock this bootloader what happens to AIO updates? (I guess there will be no updates such as other devices?). If the AIO updates stop to work, Is there a way to manually download and install updates? Can i root this device using magisk for example? I have seen there is something, but there are these things i can't understand.
Thanks in advance for replies and sorry for my bad english.
Hi, yup, the bootloader is locked.
Deeptesting is an app by realme used to request an unlock code. You can try this one https://forum.xda-developers.com/t/unlock-bootloader-help.4425415/post-86777721
Try submitting your application, if it tells you "Your model doesn't support deeptesting" you'll have to follow my guide.
Either way, after a bit of waiting, inside Deeptesting → query approve result → start Deeptesting.
Doing this allows your phone to boot into fastboot. Where you can unlock your phone using
Code:
fastboot flashing unlock
Unlocking the bootloader will wipe your data.
Hi, thanks for the reply! So there is a method to unlock the bootloader. But if i do it, i can't update anymore my device via OTA, right? How could i do that thing. In addiction, is not possible to obtain root permission without bootloader unlock? Because i need root to save whatsapp messages 'cause the application is stupid and can't do a backup by itself.
In addiction... I downloaded deeptesting and my phone does not support it. Yeah
You can get OTAs if, and only if, you didn't modify the firmware. Unlocking itself doesn't break OTAs, but rooting/custom kernels/vbmetas etc. will.
You can't get root without unlocking. As per Whatsapp, I think you can use ADB to back up data without root.
Thanks again. As i know ADB is disabled for whatsapp from a while. Ok then, thanks anyway for all informations. I guess after the bootloader unlock i can install magisk to obtain root acces.

Categories

Resources