Rooted stock SGP621 firmware with DRM keys sony xperia z3

Rooted stock SGP621 firmware with DRM keys sony xperia z3



Disclaimer:

  1. I make no claims to any of the codes, scripts and programs listed in this post. Credit goes to the creators.
  2. This serves as a extension of lowtraxx's guide (which left your device on a rooted SGP621 on a D6603 system).
  3. These are what I did to get stock rooted firmware on my SGP621 while keeping the bootloader locked and most importantly, the DRM keys intact. I make no guarantees that you will not brick your device, but I did quite a lot of trial and error flashing without messing things up, so if you know what you are doing, these steps should be relatively safe.


Files/Tools Required:

  1. Backup TA by DevShaft
  2. Flashtool by Androxyde
  3. Stock SGP621 FTF (I compiled my own by downloading the firmware using XperiFirm by laguCool and bundling the FTF using Flashtool. Alternatively, you can just use the one provided in lowtraxx's guide.)
  4. Advanced Stock Kernel by krabappel2548
  5. PRFCreator by zxz0O0
  6. SuperSU by Chainfire
  7. SonyRICDefeat by dosomder


Prerequisite:

  1. Follow lowtraxx's guide to completion.


Steps:

  1. Backup TA partition using Backup TA.
  2. Return to stock unrooted by flashing the SGP621 FTF using Flashtool.
  3. Unlock the bootloader (You'll lose the DRM keys here, but it doesn't matter anymore since you already have them backed up using Backup TA).
  4. Flash the Advanced Stock Kernel using Flashtool in FastBoot mode. At this point your device will be unlocked, with DRM keys lost, and rooted with custom recovery.
  5. Using PRFCreator on the SGP621 FTF and the SuperSU zip, create a rooted stock firmware flashable zip. Note: Be sure to check all the checkboxes under the "Include" section.
  6. Copy the resulting zip onto your device's internal storage or external SD card.
  7. Also copy the SonyRICDefeat zip to the same location.
  8. Boot into TWRP on your device (Boot up the device and press the Volume down key when the purple LED lights up on the Sony boot screen).
  9. Flash the rooted stock firmware zip followed by the SonyRICDefeat zip.
  10. Once complete, reboot into system and set up the device for USD Debugging.
  11. Restore the TA partition using Backup TA.
  12. Reboot the device again and you now have the device on rooted stock firmware, with DRM keys intact.
Previous
Next Post »