Hi guys,
a workmate has a htc one m8 and i flashed his device, but i had to read a lot of sh*t to understand how htc Roms for example work.
You need to flash the correct firmware to the ROM. (When you want a LP Rom, you need a LP Firmware from HTC).
Why is this not needed on sony devices? Is the firmware inside the ROM? I can freely flash from 4.4.2 to 5.0.1 to 5.1 and back to 4.4.4 without any problems.
Also we don't have any "radio roms" or "modems" i think?
How is this working at sony devices? Thanks for your answeres
1. xperias have something called drm keys which have some xperia functions work and also state your warrenty, unlocking your bootloader will wipe your drm keys (which are in your TA partition) and this will void your warrenty
2. xperias are quite easy
-unlock bootloader
-flash recovery
-flash kernel (thats supports fota (= recovery)
use that to flash any rom you want
or if you want to keep drm keys and all, downgrade, root, backup TA and upgrade and rooting just before
or if you want to keep it stock then downgrade, root and recovery then upgrade and flash root before upgrating recovery
Related
Hi guys,
So I have an Xperia Z2 running the rooted stock 4.4.4 firmware. I just did a Nandroid backup and am feeling adventurous. My bootloader is locked, as it's possible to root the Z2 without unlocking it. I found out about the CM12 nightly 5.0 ROM and was wondering, if I flash that through TWRP (which I currently have installed), do I have to unlock my bootloader? Or do I not since I'm already this far in without unlocking it? And I'm correct to assume if I restore my Nandroid backup that restores my old ROM right?
I have some questions regarding flashing new firmwares on the phone.
Currently I have firmware version 23.0.1.A.0.167, if I downgrade to 17.1.A.2.69 firmware using Flashtool, do I exclude the TA partition from being flashed? If I don't exclude the TA partition while downgrading will it wipe my DRM keys?
If I install custom recovery, will I still be able to receive OTA updates or updates via PC Companion? If I do receive them will they install successfully?
If I downgrade, root, install custom recovery and flash back to the 4.4.4 firmware, when 5.0x firmware is released, will I be able to install that without losing my data and root? Or will I be able to keep both?
The general steps to gaining root on the Z2 now with .167 firmware is to downgrade to .69 (exclude TA partition), run towelroot/easy root, install custom recovery, flash pre-rooted .167 (exclude TA again). Will I have to repeat them for 5.0 update? Does root persist between firmware updates?
If anyone can confirm my thoughts it would be great. Thank you guys!
chaose said:
I have some questions regarding flashing new firmwares on the phone.
Currently I have firmware version 23.0.1.A.0.167, if I downgrade to 17.1.A.2.69 firmware using Flashtool, do I exclude the TA partition from being flashed? If I don't exclude the TA partition while downgrading will it wipe my DRM keys?
If I install custom recovery, will I still be able to receive OTA updates or updates via PC Companion? If I do receive them will they install successfully?
If I downgrade, root, install custom recovery and flash back to the 4.4.4 firmware, when 5.0x firmware is released, will I be able to install that without losing my data and root? Or will I be able to keep both?
The general steps to gaining root on the Z2 now with .167 firmware is to downgrade to .69 (exclude TA partition), run towelroot/easy root, install custom recovery, flash pre-rooted .167 (exclude TA again). Will I have to repeat them for 5.0 update? Does root persist between firmware updates?
If anyone can confirm my thoughts it would be great. Thank you guys!
Click to expand...
Click to collapse
flashing TA with a FTF doesnt wipe your DRM keys
recovery i dont know if OTA verifies the fotakernel partition
it will fail anyways if you have a custom kernel or modified system
you cant update if your bootloader is unlocked but relocked you can for some reason regardless of if you restored your TA backup
you wont be able to upgrade without losing root because after upgrading you will have to reroot
downgrade to 314 or before, root, backup your DRM keys, do what you want
you dont have to keep updating your drm keys because they never change
got it. thanks !!
For downgrading to 4.4.2, is it possible to do it without an wipe of the apps and data?
Which partitions should I exclude when downgrading to 4.4.2?
Envious_Data said:
you wont be able to upgrade without losing root because after upgrading you will have to reroot
Click to expand...
Click to collapse
That really depends on how you want to upgrade, right?
The magical thing about the z2 is we'll always have root. once lollipop comes out we would just need to create a rooted flashable zip and flash in recovery.
o0 Matt 0o said:
That really depends on how you want to upgrade, right?
The magical thing about the z2 is we'll always have root. once lollipop comes out we would just need to create a rooted flashable zip and flash in recovery.
Click to expand...
Click to collapse
Yup
Im going to have my phone rooted nearly imediately after lolipop comes anyway
Hello All
i recently rooted my Z2 by downgrade method, thinking about moving to CM12 or PA as soon a stable build is released but have some doubts in that area.
1- if i make a nadroid backup through the dual recovery i have now and later after unlocking the bootloader and flashing a differnet recovery and ROM if i restore the old backup will my bootloader be locked automatically?
2- can i use my dual recovery to install a CM ROM( after a clean wipe of current system of course)?
3- i have read about people having problems after installing recovery after flashing a CM ROM, and i havnt really found a coherent answer for that in all the forums that i follow. can anyone give a proper method of how to flash a recovery after the ROM so that i can restore my backup just in case?
4- if my nandroid backup does not relock my bootloader than does restoring my TA backup relocks it?
5- if after flashing a CM or AOSP Rom i try flashing a stock based ROM like existenz or MoonWalker can i restore my TA Backup on dat? will that in anyway affect the root capability of my device? will this relock the bootloader?
Sorry for a list of questions. have only worked with locked bootloader till now and not really handy with sony devices. have only been few months since i got it.
Anybody?
kunaltyagii said:
Anybody?
Click to expand...
Click to collapse
Your questions are vague and can really depend on what rom you flash and what you do . General answers are below:
1 - No.
2- Yes.
3- commands are
fastboot flash recovery recovery.img
Or
fastboot flash boot boot.img
Really depends on what recovery and if it's included in the boot.img.
4- Yes
5- yes. You can relock an any stock based ROM.
It shouldn't. Bootloader and root aren't related at all.
Yes
HI guys,
After being a sammy boy for years, Sony's android development is still a deep forest for me with all its bootloaders and secret keys.
I've got a rooted 5.0.2 with twrp recovery and just read somewhere, that this is enough to flash a pre-rooted 5.1. Is this true? No unlocking of the BL nor putting the DRM keys at risk?
Have a nice day!
If the "pre-rooted" 5.1 zip is all stock and has stock kernel, then you're good to go. Custom kernel and custom ROM requires unlocking the bootloader.
All you have to do is, go on TWRP recovery, wipe everything and flash that "pre-rooted" STOCK zip WITHOUT exiting TWRP after the wipe.
@Koostis
V4LKyR said:
If the "pre-rooted" 5.1 zip is all stock and has stock kernel, then you're good to go. Custom kernel and custom ROM requires unlocking the bootloader.
All you have to do is, go on TWRP recovery, wipe everything and flash that "pre-rooted" STOCK zip WITHOUT exiting TWRP after the wipe.
@Koostis
Click to expand...
Click to collapse
So as long as the bootloader stays locked, my DRM keys are safe? And flashing a rom through recovery will not unlock a bootloader in any way?
Koostis said:
So as long as the bootloader stays locked, my DRM keys are safe? And flashing a rom through recovery will not unlock a bootloader in any way?
Click to expand...
Click to collapse
Nay.
Managed to get my hands on a cheap second hand TabZ in good condition. And although Sony's Lollipop firmware looks and feels nice I really want to go the custom Rom road as it allows me to tinker more with it.
Now is when the situation gets complicated as it seems there is a plethora of versions, some more complicated then others, to root the device and install a recovery on it. My questions to you, anybody willing to clear these things out, are:
1. Does the bootloader need to be unlocked in order to obtain root for a tablet already running Lollipop? (I read in one thread that starting with Lollipop this might not be required anymore)
2. What is the best way of getting root?
3. How do you install recovery? I understand the XZDualRecovery to be really popular but some of the instructions can be mind boggling (the use of Kernel Builder to repack the kernel in order to replace the built in recovery with XZDualRecovery). Is this the same as flashing a recovery every time I install a new ROM before rebooting if I want to still have one (basically there is no permanent one, but changes with the rom you are flashing?! )
Any help would be much appreciated as I am stuck as I have never been with rooting and installing recovery on a device. Thanks!
1&2. Bootloader is not directly connected with Root. Unlocked bootloader allows you to install custom ROMs like FXP, cDroid, CyanogenMod and others.
For rooting stock Sony Rom rooting doesn't usually need bootloader unlock.
For example for 4.4.4 and 5.0.2 firmwares KingRoot will help you to root device. For other firmware, other tools exist.
3. For installing Custom Roms like FXP, CyanogenMod and others you need unlocked bootloader.
XZDualRecovery is mainly used for stock Sony Rom and based on stock roms.
For custom roms you can flash TWRP recovery to FOTA partition which will be permanent and will allow you to install any custom rom.
Also before bootloader unlock, get root and Backup TA partition of your device.