[Guide] Nougat with DRM fix, root and TWRP* (SGP771)

Search This thread

Diomorgan

Senior Member
Jul 11, 2011
617
84
Rome
mmmm, I have 32.4.A.0.160 I was pretty sure that another firmware was released (a little buggy one)...but it look like it's latest....:-/
32.3.A.0.376 should be older than 32.4.A.0.160 but is latest from Italy and Europe...
Ouch sorry, I just discovered that 32.3.A.0.376 is from january 2017, while 32.4.A.160 is from June 2017...I was really sure that another firmware was released after latest one...sorry.
 
Last edited:

andrebandre

New member
Jan 19, 2019
2
0
"Extract kernel.sin from your nougat firmware ftf (You can use 7zip to do this). Copy it to same folder with DRM fix."

Can anybody please point me to the DRM fix folder?
Can't find it for the life of me. Looked into ta_poc after expanding it, no clue where else to look for it.
I am a truck driver maybe that explains it.
 

andrebandre

New member
Jan 19, 2019
2
0
Xperia Z4 tablet 771

If anybody out there is interested, i will ship my tablet to get it rooted regardless of firmware, with or without DRM keys restored (i unlocked the bootloader in the hope that i can root it myself) and pay for the privilege whatever sum to be worthwhile for the trouble.
I am not a cheap bastard.
I have rooted on my own several Xperia devices but this one seems to be out of my league.
I cannot find the DRM fix folder:
"Extract kernel.sin from your nougat firmware ftf (You can use 7zip to do this). Copy it to same folder with DRM fix."
If any takers, please let me know.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Do not work with Nougat 7.1.1 / 32.4.A.0.160 (Bootloop)
    New TWRP (You dont need otg and mouse anymore!):
    https://www.androidfilehost.com/?fid=745425885120733410 (thanks to andralex8!)


    GUIDE UPDATED, TESTED AND SIMPLIFIED 15.2.2017 (thanks to munjeni)
    Tested with Saudi Arabia, Germany and Nordic (.378) firmwares

    I managed to get my Xperia Z4 Tablet (SGP771) LTE model to have root, TWRP-recovery*, munjenis DRM fix and Adaway working with Nougat firmware (Saudi Arabia). I will share steps that I have done with my own tablet. If this guide brick your device or something goes wrong, I am not responsible for loss of your device. Use this guide only with your own RISK!

    This tutorial is not for beginners. You need to have working adb installed yout pc, unlocked tablet, sonys special driver for fastboot. and TA backup (example TA-21062016.img). Use only this tutorial with Sony USB-cable.

    *To get TWRP working, you need: OTG-cable and a mouse with wire or wireless mouse with a dongle.

    0. Download Nougat 32.3.A.0.376 (Saudi Arabia) firmware with Xperiafirm 32.3.A.0376. to your PC
    1. Flash Nougat 32.3.A.0.376 (Saudi Arabia) with Flashtool 0.9.23.2.
    2. Boot your device and enable Developer settings from setting
    3. Enable USB debugging setting from Developer settings
    4. Download Supersu and Magisk to your device:
    https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
    http://tiny.cc/latestmagisk
    5. Shutdown your device
    6. Download munjenis DRM fix and serajr script package v2 to your pc:
    http://munjeni.myiphost.com/ta_poc.rar
    https://forum.xda-developers.com/showpost.php?p=70959962&postcount=65
    7. Decompress files from munjeni and serajir to same folder.
    8. Extract kernel.sin from your nougat firmware ftf (You can use 7zip to do this). Copy it to same folder with DRM fix. Rename kernel.sin to kernelX.sin
    9. Copy your TA backup to same folder with DRM fix and rename it TA.img
    10. Open Cmd with admistrator persimmions and use DOUBLECLICKME_NOUGAT.bat (search cmd rght mouseclick use admistrator).
    11. Follow munjenis tool tutorial: You can choose if you want Sony Ric off. I left it on but turned dm verity off.
    12. Download TWRP: https://drive.google.com/drive/folders/0B0j3VJ1Xp5N8cnhQamtxRWVtRmc
    13. Press vol up and connect your device to pc to use fastboot. Use command: fastboot flash boot new_boot.img
    14. After that use command: fastboot flash recovery TWRP-3.0.2-0-20160604.img
    15. Disconnect your device and put otg-cable to tablets usb and connect mouse to otg-cable.
    16. Press vol down + power to boot to TWRP. Touchscreen is not workin but you can use your mouse to navigate in TWRP!
    17. Allow TWRP to make changes to your device and flash Supersu 2.79 and Magisk 11.1.
    18 Boot your device and install magisk manager from the play store.
    19. Enable from magisk manager settings: busybox, magisk hide and systemless hosts and Install Adaway (Will not work without Magisk, strange).

    I have not managed to get my CTS profile approved but that is not major issue if not playing with Pokemon go (You can use magisk to detect this).

    Note1 : Change LTE to 1 priority from mobile setting. Default for SA firmware is GSM :)
    Note2: If you have already tried rootkernel to get drm working; do a full wipe and reflash firmware with flashtool. Rootkernel messes something. Tablet do not boot if you have used rootkernel and after that try to use munjenis DRM fix.
    Note3: Magisk 11.1 wont work with Xperia Z4 Tablet without Supersu. So flash Supersu first and Magisk 11.1 after that
    Note4: You cannot boot to TWRP by using root and reboot to recovery apps. You need to boot to the recovery with keycommand voldown+power

    I hope this guide helps some fellow flashers :D

    Special thanks for
    munjeni
    serajr
    Chainfire
    Androplus
    topjohnwu
    Teamwin
    Androxyde
    mrRobinson

    If I forgot someone I am truly sorry!

    1zyfzn8.png
    1
    I am not sure. You need atleast a correct TWRP. You can try if You dare with your own RISK :D

    But I doubt that it wont work..
    1
    Guide updated and simplificed 15.2.2017. Thanks to munjeni! :)
    1
    Step 8 says Extract kernel.sin from your nougat firmware copy it to same folder with DRM fix. Rename kernel.sin to kernelX.sin. Do I have to extract that from the ftf or my Nougat firmware im currently using? Also does the ftf have to be that region?

    You need to extract it from ftf-image. I used 7zip. My device was Nee with stock. I used DE with Marshmallow and I am currently using Saudi Arabia. So I dont think it will matter, which kernel you use with your device. But I would use same kernel version with rom. So If you are using Saudi Arabia rom use Saudi Arabia kernel. For Russia rom use Russia kernel, and so on :)

    I will add tft-image extract to tutorial!
    1
    Works with latest Nordic .378 :)