Confused about rooting. - Xperia Z2 Q&A, Help & Troubleshooting

Hi, sorry but I'm confused reading about rooting in regards to DRM keys, TA partitions and what method works with the latest firmware.
I've upgraded my firmware to the latest generic. 314 AU firmware and my phone came with the bootloader unlocked.
I want to root now and am confused as to whether I will
1.lose warranty
2.be able to restore to factory if I need to send it back for repairs
3.lose anything else
4.what method I need to use to get root with my firmware.
Thanks
Sent from my D6503 using XDA Free mobile app

Do you mean that your phone's bootloader is unlockable (i.e. can be unlocked if you wish) or do you mean that it has already been unlocked?
You'll lose warranty only if the bootloader has been unlocked. If you just root the phone (and keep the bootloader locked), then you still have your warranty.
You can restore to factory simply by using the repair function in PC Companion.
Root will not cause you to lose anything. But unlocking the bootloader will remove the DRM keys and TA partition.
Use the rootkitXperia tool to root your phone.

Sorry, I meant the bootloader is allowed to be unlocked, it isn't unlocked yet.
Do I even need to unlock it seeings as you can get root without unlocking it?
Sent from my D6503 using XDA Free mobile app

kotton666 said:
Sorry, I meant the bootloader is allowed to be unlocked, it isn't unlocked yet.
Do I even need to unlock it seeings as you can get root without unlocking it?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
you do not need to unlock your bootloader for many things
-root
-recovery
-stock based roms
-mods
-root apps
-etc
flashing a custom kernel or non stock based rom requires you to unlock your bootloader, as flashing a kernel or non stock based custom rom will brick your device

Envious_Data said:
you do not need to unlock your bootloader for many things
-root
-recovery
-stock based roms
-mods
-root apps
-etc
flashing a custom kernel or non stock based rom requires you to unlock your bootloader, as flashing a kernel or non stock based custom rom will brick your device
Click to expand...
Click to collapse
Ahh ok. I essentially want root for a couple of mods and root apps as well as ad blocking.
So if I decide in the future to try a custom rom then I should unlock the bootloader before doing so?
Sent from my D6503 using XDA Free mobile app

kotton666 said:
Ahh ok. I essentially want root for a couple of mods and root apps as well as ad blocking.
So if I decide in the future to try a custom rom then I should unlock the bootloader before doing so?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
Right. But before unlocking bootloader make sure to backup your TA partition so your DRM keys and other essential files needed for warranty is still intact. You can use TA Backup tool to unlock and re-lock BL.
Re-locking bootloader will bring back your warranty but once you unlock your bootloader and you did not back it up, you cannot bring back and you'll permanently loose warranty.

DrearierJester1 said:
Right. But before unlocking bootloader make sure to backup your TA partition so your DRM keys and other essential files needed for warranty is still intact. You can use TA Backup tool to unlock and re-lock BL.
Re-locking bootloader will bring back your warranty but once you unlock your bootloader and you did not back it up, you cannot bring back and you'll permanently loose warranty.
Click to expand...
Click to collapse
Thanks for the reply guys, much appreciated. It's a lot clearer for me now.
Sent from my D6503 using XDA Free mobile app

Envious_Data said:
flashing a custom kernel or non stock based rom requires you to unlock your bootloader, as flashing a kernel or non stock based custom rom will brick your device
Click to expand...
Click to collapse
I assume you mean, may rather than will?

ghostofcain said:
I assume you mean, may rather than will?
Click to expand...
Click to collapse
i mean Will instead of may.
flashing a custom kernel or non stock based rom to a device with a locked bootloader will brick your device.
english isnt my strong suit, i know that "may" isnt a solid word, will is more solid implying that it will always happen...

Envious_Data said:
i mean Will instead of may.
flashing a custom kernel or non stock based rom to a device with a locked bootloader will brick your device.
english isnt my strong suit, i know that "may" isnt a solid word, will is more solid implying that it will always happen...
Click to expand...
Click to collapse
Flashing a custom kernel on a locked bootloader will fail, not brick your device.

ghostofcain said:
Flashing a custom kernel on a locked bootloader will fail, not brick your device.
Click to expand...
Click to collapse
that doesnt make sense to me
it fails to boot, you can flash a kernel on a locked bootloader, the signature verifacation i do belive just doesnt like non existant or custom signatures
the result is a soft bricked device, its why i said it will brick your device, i may not have specified weather it was a soft or a hardbrick because both can happen from flashing a Rom or a Kernel to a device which its not ment for
im having trouble understanding you here?
my point being that you cant flash a Z2 rom or kernel to a Z1 and you cant flash a Z1 rom to a Z, cross-flashing isnt somethig to ever do

Envious_Data said:
that doesnt make sense to me
it fails to boot, you can flash a kernel on a locked bootloader, the signature verifacation i do belive just doesnt like non existant or custom signatures
the result is a soft bricked device, its why i said it will brick your device, i may not have specified weather it was a soft or a hardbrick because both can happen from flashing a Rom or a Kernel to a device which its not ment for
im having trouble understanding you here?
my point being that you cant flash a Z2 rom or kernel to a Z1 and you cant flash a Z1 rom to a Z, cross-flashing isnt somethig to ever do
Click to expand...
Click to collapse
Sorry it's me who's got it wrong, I assumed by brick you'd meant hard brick and I'd misunderstood the issue with flashing kernel on bootloader locked devices.
So let's agree, Don't try and flash kernels or custom roms with custom kernels on locked bootloader devices.

Related

[Q] Lock back Bootloader for Xperia Go

Is it possible to Lock Bootloader Xperia Go again? Why do we need to unlock Bootloader for Xperia Go if the only one working rom there (zip or FTF) is exactly the same as the Sony stock rom...?
xperia_88 said:
Is it possible to Lock Bootloader Xperia Go again? Why do we need to unlock Bootloader for Xperia Go if the only one working rom there (zip or FTF) is exactly the same as the Sony stock rom...?
Click to expand...
Click to collapse
you may want to read this post first: http://forum.xda-developers.com/showthread.php?t=1527159
yes it is possible to relock bootloader for any android but that depends whether it is developed by devs and available yet for that phone. try find out at the development section for your phone model.
unlocking bootloader is required if you want to root, for superuser function, customize app functions and etc, which cannot be done in locked bootloader. you also don't have to unlock bootloader if you only want to upgrade your phone or change your stock rom to other region stock roms, just flash the file using flashtool. hope this helps
adhawk said:
you may want to read this post first: http://forum.xda-developers.com/showthread.php?t=1527159
yes it is possible to relock bootloader for any android but that depends whether it is developed by devs and available yet for that phone. try find out at the development section for your phone model.
unlocking bootloader is required if you want to root, for superuser function, customize app functions and etc, which cannot be done in locked bootloader. you also don't have to unlock bootloader if you only want to upgrade your phone or change your stock rom to other region stock roms, just flash the file using flashtool. hope this helps
Click to expand...
Click to collapse
Thanks!

[Q] How to install a kernel

Hi, i have a Live with walkman, with locked bootloader, can i install other kernel?, for example LuPus kernel
My phone is rooted with the Revolution ICS Rom, what i must do to install a new kernel?
Can someone help me?
Sorry for my bad english
Membrillo007 said:
Hi, i have a Live with walkman, with locked bootloader, can i install other kernel?, for example LuPus kernel
My phone is rooted with the Revolution ICS Rom, what i must do to install a new kernel?
Can someone help me?
Sorry for my bad english
Click to expand...
Click to collapse
If you want to install a kernel like lupus, first you need to unlock your bootloader. Use this tool to unlock it.
mauam said:
If you want to install a kernel like lupus, first you need to unlock your bootloader. Use this tool to unlock it.
Click to expand...
Click to collapse
Thanks man, But which are the risks of unlock my bootloader?
Membrillo007 said:
Thanks man, But which are the risks of unlock my bootloader?
Click to expand...
Click to collapse
The risk of brick your device, but a lot of people already unlocked their bootloaders without any problems, your DRM will be permanently deleted, but believe me you can get more from your phone when the bootloader is unlocked, really worth it.
Membrillo007 said:
Thanks man, But which are the risks of unlock my bootloader?
Click to expand...
Click to collapse
mauam said:
The risk of brick your device, but a lot of people already unlocked their bootloaders without any problems, your DRM will be permanently deleted, but believe me you can get more from your phone when the bootloader is unlocked, really worth it.
Click to expand...
Click to collapse
And you loose your warranty
Drm won't be lost if you unlock using testpoint method.
Regards
-N
First check the bootloader status.whether its unlocked or not.
If its already unlocked then you can flash any custom kernel.If not you have to unlock BL first.Its not harmful but it will avoid your phone warranty.Try to use SE web site to unlock BL.Its the safest way..
After unlocking BT u can flash kernels anytime using Flash toolâ„¢..
Re:How to install a kernel
To install a custom kernel,you have to unlock your bootloader and there are two ways of doing it:
1.Use the official sony method...
head to unlockbootloader.sonymobile.com and follow the procedure there..
by doing so you lose your DRM keys which means services like track id wont work anymore...
2.use a testpoint method which is a bit complicated but you retain your DRM keys
for the testpoint method check this out
http://forum.xda-developers.com/showthread.php?t=1730874
Bootloader unlocking should be done carefully,you might brick your phone if you are not careful..
after the unlock is complete you can use flashtool to flash a custom kernel in fastboot mode..

Flash Custom ROM without Bootloader unlock?

Is it possible to use custom ROMs without an unlocked bootloader?
Theoretically, yes. I did on my previous phone. A dev would have to cook a Rom with the stock kernel, etc.
tribalartgod said:
Theoretically, yes. I did on my previous phone. A dev would have to cook a Rom with the stock kernel, etc.
Click to expand...
Click to collapse
could you explain a little more?
because i tried running cyanogenmod on my device but it showed up a security error, which i read somewhere is cause by a locked bootloader
dhruvbatra205 said:
could you explain a little more?
because i tried running cyanogenmod on my device but it showed up a security error, which i read somewhere is cause by a locked bootloader
Click to expand...
Click to collapse
Basically, when a ROM is made... It's either made from 100% scratch, or it's made with another ROM as it's base. For example...Paranoid Android used to be CM based... Meaning it used certain aspects of the CM ROM, but with the look/feel/features of it's own. So for this to work ona locked bootloader, the ROM cooker would have to use Stock as their base, and build up from there... I'm not a developer, so I can't go into extreme detail on this, I'm sorry.
But to properly answer your question... Yes, it is possible to do this... Will it happen?? Probably not, unless someone takes the time to port something over.
You got a security error, because CM changes things from the Stock base... So since it's not build from stock, it won't work unless the bootloader is unlocked, OR unless someone rebuilds it with the stock ROM as it's base.
For anyone else reading this... I hear MIUI is relatively easy to port onto a stock base...
okay. last thing. what 'changes' does the locked bootloader detect that it shows up a security error?
Boot.img has to be signed by LG. Not signed= security error. There is probably more to it than that but that is my understanding.
Sent from my LG-P769 using xda premium
Tablechair said:
Boot.img has to be signed by LG. Not signed= security error. There is probably more to it than that but that is my understanding.
Sent from my LG-P769 using xda premium
Click to expand...
Click to collapse
So, do you think it might not be an unnecessarily tough and time consuming job to port cyanogenmod in such a way that it would work on a locked bootloader device?
dhruvbatra205 said:
So, do you think it might not be an unnecessarily tough and time consuming job to port cyanogenmod in such a way that it would work on a locked bootloader device?
Click to expand...
Click to collapse
It's do-able... But may be pretty time consuming... If you have never ported before, I suggest starting with MIUI v4. From what I read, it's relatively easy. I know for a fact that MIUI, if ported properly, will work on locked bootloader, as my previous phone ran it with locked bootloader.
There is a workaround here. http://forum.xda-developers.com/showthread.php?t=2099238
Artas and markolino had CM9 working on locked bootloader P760. Anyone interested in trying to port a ROM this way should definitely check out that link.
Sent from my LG-P769 using xda premium
I have a doubt reguarding bootloader unlocking.
It is possible to flash custom recovery using fastboot, and then flash any rom using recovery.
Then is there any need for boot loader unlocking specially??
I flashed recovery using fastboot mode without any special steps of unlocking bbootloader.
And plz tell what is the good way of flashing recovery- through stock recovery or through fastboot mode or terminal or certain tools(mtk)
I have rooted my phone oneplus x using kingroot.... It is rooted.... I have checked it with root checker.... I have installed TWRP on my phone too... N i want to flash the paranoid android 6.0.1 on it.... I have downloaded it along with gapps package........ Now i want to flash ut but i am in doubt wheather it will flash properly because i haven't unlocked my bootloader..... So will i be able to flash this rom without unlocking my phone???

[Q] Custom ROM with locked bootloader

Hi. I basically don't won't to unlock because you have to give your details to Sony which means voiding the warranty.
Can I still run custom (AOSP based) ROMs?
My Gnexi said:
Hi. I basically don't won't to unlock because you have to give your details to Sony which means voiding the warranty.
Can I still run custom (AOSP based) ROMs?
Click to expand...
Click to collapse
No. Custom ROMs require custom kernels which need unlocked bootloader.
However, the stock Sony ROM is pretty good.
GretaLewd said:
No. Custom ROMs require custom kernels which need unlocked bootloader.
However, the stock Sony ROM is pretty good.
Click to expand...
Click to collapse
"Pretty good" is not good enough for me. Maybe it's possible to somehow "patch" to bootloader so it won't check kernel at startup?
Since with root access you can probably overwrite anything (right)? And the bootloader already knows to allow booting modified kernels when state=unlocked.
Maybe one of the master developers here can hack the bootloader to make it behave as unlocked?
Ist it possible after modification to set the SGP311 back to 100% original ?

Is there anyway to install*Cwm recovery without unlocking bootloader xperia z2

Is it possible to install Cwm recovery on my xperia z2 without unlocking the bootloader?
Yes, have a look in development section
ghostofcain said:
Yes, have a look in development section
Click to expand...
Click to collapse
I've not been able to find it.
With all due respect, and without being too much of an arse, if you can't manage to find the thread maybe you should think twice about installing a custom recovery!
[HINT]
http://forum.xda-developers.com/showthread.php?t=2775411 [/HINT]
I respect your choices, but I wonder why you don't want to unlock your bootloader (unless you got an UK model)? In that way, you can flash a custom recovery without any problem.
If you are worried about warranty or DRM keys, you can relock bootloader and backup the DRM keys. You can even have z3 features with custom roms (Existenz).
fccr1990 said:
I respect your choices, but I wonder why you don't want to unlock your bootloader (unless you got an UK model)? In that way, you can flash a custom recovery without any problem.
If you are worried about warranty or DRM keys, you can relock bootloader and backup the DRM keys. You can even have z3 features with custom roms (Existenz).
Click to expand...
Click to collapse
You don't need to unlock your bootloader to flash a recovery. My Z2 is unlocked, rooted and has a custom recovery. Not everybody wants to install custom Rom.
Sent from my SGP311 using XDA Free mobile app
No need to unlock your bootloader to use a recovery and flash a rom what is based on stock, search before post and also read !
Check the dual recovery thread by @[NUT]
Congratulations, sir. I know there is a way to flash a custom recovery with a locked bootloader, I only said that if you unlock your bootloader, nothing bad happens. By the way, didn't said that he must install a custom rom, only said that you can have z3 features if you install a custom rom.
It sure is: I have my Z2 with LB (unlockable), rooted with "xdualrecovery" and flying with one of the most consistent stock-based roms I've ever dealed with: existenz by Niaboc79. If you go further with installing a recovery, you should give that ROM a try.

Categories

Resources