yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Questions and Answers] TheUnknowingly48:
All I know is the U software is way better after ya locate a way to unlock the bootloader on the phone so it wouldnt interferes with other security part and lock ya from using it at all bricked software iv'e done it with a galaxy proclaim a while back and I really love it without cell service preinstalled locked bloatware tht ya cant completely uninstall em but uninstalled updates for em and disable em is comes close to u firmware
[Android Apps and Games] atko4:
mam samsung gt-i9195 a pri inovacii mi zamrzol poradte mi ako ho mozem prenstalovat nefunguje ani reset menu ale funguje mi na nom odin mode ale neviem co mam dalej robit prosim vas pomozte mi mam tam dvolezite cisla
[Omni Features Development] Szawo:
It is sometimes hard to reach the top of the screen to expand notification area, so a dedicated button will be great (kinda like Nova Launcher's gesture to expand notifications). It's fairly easy to code.

Also, task switch button has a new functionality in Nougat, which is long-press to enable multiwindowed mode. It will be great if someone made multiwindowed mode work with OmniSwitch, and in the best case scenario just implementing a button that will trigger multi-windowed mode would be enough.

Expand notification code: http://stackoverflow.com/a/15582509/5108318

Enter multi-windowed mode code: http://stackoverflow.com/a/39684945/5108318

Current shortcut-buttons code: https://github.com/omnirom/android_.../omniswitch/ui/AbstractSwitchLayout.java#L356
[Xperia Z4 Tablet General] sahilg009:
Just tried unable to boot to recovery
[Xperia Z4 Tablet General] halfvast:
Did you do a full wipe? Try to fastboot flash boot new_boot.img after flashing recovery!
[Xperia Z4 Tablet General] sahilg009:
Tried wiping now flashing kernel gives me a no sim card error
[Xperia Z4 Tablet General] halfvast:
Check this out:

https://xdaforums.com/showpost.php?p=70972513&postcount=115

:)
[Xperia Z4 Tablet General] sahilg009:
Even tried that still giving me signal problem
[Xperia Z4 Tablet General] halfvast:
Strange, I Did not encourter this problem because I could boot to TWRP and do adb trick there. Do you use orginal Sony usb to flash in fastboot? I had once a problem with Samsung Phone (S7) to flash recovery because the usb was not the one that came with my Phone.
[Xperia Z4 Tablet General] sahilg009:
Yeah
[Xperia Z4 Tablet General] halfvast:
Try redownload TWRP image and flash it. If not working do a clean flash and try again or wait for Androplus kernel :)
[Xperia Z4 Tablet General] sahilg009:
Tried it all nothing worked still no sim error
[Xperia Z4 Tablet General] halfvast:
I found out munjeni is fixing his tool:

https://xdaforums.com/showpost.php?p=70993277&postcount=173

I used previous version, which is not availble right now.

He says further in his thread he is going to release tomorrow a new version.

I used this version:

http://www.filedropper.com/tapoc
[Xperia Z4 Tablet General] RJASSI21:
Couldnt I just do the root and recovery method you have given on the wifi version as im not too bothered about drm fix for now as it looks abit complicated at the moment for me. It would be much more simple for me to flash recovery then super su. I just wanna know if this is possible?

Thanks
[Xperia Z4 Tablet General] halfvast:
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..
[Xperia Z4 Tablet General] RJASSI21:
Ok then dont think id like to try incase it doesnt boot so I think I might just wait for andro to do his stuff.
[Xperia Z4 Tablet General] halfvast:
I have updated the guide and tested it today (13.2.2017) and it is working again :)
[Xperia Z4 Tablet General] halfvast:
Guide updated and simplificed 15.2.2017. Thanks to munjeni! :)
[Xperia Z4 Tablet General] RJASSI21:
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?
[Xperia Z4 Tablet General] halfvast:
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!
[Xperia Z4 Tablet General] Stevethegreat:
DRM fix doesn't work. XReality (among other things I assume) are ever disabled.

On Marshmallow DRM fix was working fine (was using XReality engine despite the unlocked bootloader)
[Xperia Z4 Tablet General] halfvast:
For me it is working!
[Xperia Z4 Tablet General] Stevethegreat:
Yeah, I only get a single image. It doesn't matter whether I've used my TA backup img (which works fine when restoring my phone).

Maybe you used a different method to patch your kernel?
[Xperia Z4 Tablet General] halfvast:
Try manually to copy TA.img to your system. Fixed problems with previous versions of TA_poc.

adb push TA.img /data/local/tmp/

I hope this fixes problem :)

And you could also redownload TA_poc from munjenis site And from mirror I posted earlier And test adb command with both version.
[Xperia Z4 Tablet General] halfvast:
Works with latest Nordic .378 :)
[Xperia Z4 Tablet General] dape16:
Thanks, I can confirm it's working on .378 but only when using the old version of the tool.
[Xperia Z4 Tablet General] Stevethegreat:
Didn't work .... hmmm

I've used the version you gave (the one in "filedropper").

Maybe because my tablet is SGP772 (and not SGP771 like yours)?
[Xperia Z4 Tablet General] alex009988:
Do I understand it right. For drm fix I need my unique. And without it, it's impossible to fix with this patch?

Well, I lost my keys anything i can do to restore at least x reality?
[Xperia Z4 Tablet General] ibis69:
Hi, after searching why the drm fix was not working on my z4t for 1 day (by checking xreality in settings after each recompiled boot.img), i've finally decided to check the state of DRMkey in service mode instead of checking Xreality in settings .... and guess what : , all keys were OK.

Xreality was not good because i've used drmrestorefix in earlier build !

So if you have used drmrestorefix before, please check if DRM restore is working by entering service mode on Z4T :

1)Open the Contacts app, go to Settings, then press on the bottom of the screen until a "Enter Service Code" button appears. Press the button and the dialer will appear. Enter *#*#7378423#*#* to display the service menu.

2) Select Service Test > Security : If you see [Key OK] on first lines --> DRM is restored !

If your keys are OK in service mode, to fix the issue with Xreality, just delete folders :

/data/credmgr

/data/DRM

/data/mediadrm

And reboot --> xreality is ok now !
[Xperia Z4 Tablet General] Hybel1507:
Superb work

Thank you for this great effort. Worked like a charme for me, almost. I did have some issues with TA.img since it was not transfered to /data/local/tmp and I had to do it via adb. This, however, might be my fault by disconecting the tablet during the execution of DOUBLECLICKME_NOUGAT.bat. As far as I understood from other postings, the copying of TA.img is part of the script but the tablet needs to be connected to the computer. Great effort, keys are there, root and TWRP. Since I do not play POKEMON go I do not care about CTS profile failure. Thank you guy so much!
[Xperia Z4 Tablet General] Flygood:
WhatsApp Abort 712Wifi?

Has anyone tried with 712?

Do I need Otg mouse in any case?

I am on 6.01 with rootkernel and drmfix haben TA backup if needed.

Having followed all postings on Nougat and Z4T but so far no clear answer.

Thanks for your reply :)
[Xperia Z4 Tablet General] ibis69:
Hi, TA restore is working fine on SGP712 with this tool (you need to have a TA backup of your Tab) : I have same model and was coming from drmestore fix method on MM , btw read my comments here : https://xdaforums.com/showpost.php?p=71408048&postcount=27

But :

- For TWRP you still need an otg mouse as touchscreen in TWRP is broken on N for now, androplus will probably make a working one soon ....

- Drm restore fix method have the same issue too until androplus fix it for our tab
[Xperia Z4 Tablet General] Flygood:
Thanks for sharing your experience.

I will wait for 2 weeks for androplus and if not buy Otg adapter to proceed further.
[Xperia Z4 Tablet General] _Nostromo_:
Kudos for the best guide ever! ;)

Big thanks to halfvast! I tried to get Nougat to my tablet for nearly two days using different methods and you are definitely my hero now! ;)

This guide is just perfect and worked great (on the second attempt... :D). Applied it to the "SGP771_28.0.A.8.260_1296-0518_R6A" and works as a breeze with the DRM keys restored from my TA backup.

Just two minor remarks which might save some troubles to the others:

The new version of munjeni's ta_poc already contains all of the updated serajr's scripts so no need to download and extract the serajr's scripts separately.

Also the DOUBLECLICK_NOUGAT.bat is now DOUBLECLICK.bat only.

And one last question: when I do not intend to use AdAway do I need to install Magisk for any other reason?

Thanks again! :good:
[Xperia Z4 Tablet General] halfvast:
Thanks for kind words and update info :)

If you do not use adaway, I think that you do not need magisk! Every other rooted app that I tested, worked for me without magisk!
[Xperia Z4 Tablet General] allofmex:
Tried same procedure on new firmware 32.3.A.2.33_R1D (SGP771, Customized DE) with limited success:

Tablet is booting to standard system, DRM keys are available (*#*#7378423#*#* -> security test: 4 times [Key OK] [Active]), xreality seems to work too.

What is not working is TWRP recovery!

If I try to boot to recovery by power + vol up, it shows the Sony Xperia boot logo, led get's yellow, then blue, then led off and nothing happens anymore. It stucks at the Sony XPERIA logo. Then hard reset needed (power + vol up 3 seconds)

I flashed TWRP-3.0.2-0-20160604.img multiple times.

(ta_poc with dm verity disabled, Sony Ric enabled)
[Xperia Z4 Tablet General] jongcruz:
No having real root

I tried and everything went fine but when I try to use any root app to make modifications it says: "Rooted, but can not write access, please check your NAND unlocked"

Any help please?
[Xperia Z4 Tablet General] dape16:
Your method works fine on the latest 32.3.A.2.33 firmware, and I don't think serajr's scripts are needed anymore since the TA-POC tools are updated.

I am trying to find a way to get MagiskSU to work, so you don't need to flash SuperSU, but my tablet reboots after about 10 seconds after log in with PIN. I have tried flashing both Magisk 12.0 and 13.0 beta with the same result.
[Xperia Z4 Tablet General] halfvast:
Did you Flash the twrp separately? The script included for TA_poc Did not work for me.

fastboot flash recovery TWRP-3.0.2-0-20160604.img

I can confirm This method works for 32.3.A.2.33_R2D (Nordic) but only with Magisk 11.6. I lost root with ver. 12.

As If you want to get full root rights disable Sony Ric and do not install Magisk (I guess it could work).
[Xperia Z4 Tablet General] _Nostromo_:
Confirming the guide working as a breeze upgrading from (using the same procedure) rooted build 32.3.A.0.376 to 32.3.A.2.33 (both Customized CE1) as a "dirty flash" (nothing wiped), only after installing the SuperSU in TWRP I wiped cache and dalvik. As I am not using Adaway I did not install Magisk at all. Chose to disable Sony ric.
[Xperia Z4 Tablet General] halfvast:
Could you test does adaway work if Sony Ric is disabled?
[Xperia Z4 Tablet General] _Nostromo_:
Bloody hell... Just spent three hours fooling around with that. I did not install Magisk first as I was not planning to use AdAway. So I flashed it now and after trying to install the Magisk Manager it was not possible to click on granting the root access, the ok button simply did not respond. So I allowed the default access to "grant" in SuperSU settings and got to install Magisk Manager ok. After that I tried to install AdAway from the downloaded apk and it did not allow me to click the Install button when its installation started... Crap. I reflashed all once again with the same result, trying both Magisk 11.6 as well as 12 with the same result. So tried to flash everything again with Ric on. Same thing!!! What bugged me the most was the fact I was unable to grant root access through the SuperSU dialogue and had to set it always to "grant" in the settings instead of "prompt". Finally after some research I found the bloody reason!!! For a few day I am using Twilight app to reduce the blue light emission in the evening. It is an overlay WHICH CAUSED ALL THE PROBLEMS!!! SuperSU is actually prepared for that and it can be solved in the settings by disabling the Tapjacking protection! Well, it fixed my major concern yet still it was not possible to click the Install button for AdAway, however as I already knew which direction to look I paused Twilight (it actually has a 1 minute pause in its menu) and voila: AdAway installed. So I clicked the Download and apply and it works like a breeze.

Summary: if you don't get trapped by Twilight the AdAway indeed works with SuperSU from the guide, Magisk v12 and Sony Ric off.

It's one minute to midnight here. Bye-bye guys... :angel:
[Xperia Z4 Tablet General] myhrdak:
i need to ask this because the guide is very long, some downloads (ta_poc - for what?) are offline.

so my question is:

isn´t it enought to unlock the bootloader, flash the twrp & androplus kernel and than root with

supersu? i dont need drm fix, magisk & the other stuff mentioned!

thank you
[Xperia Z4 Tablet General] allofmex:
Ok, It works for me too now.

Here some updated steps based on halfvast's instructions (SGP771_32.3.A.2.33_R1D_Customized DE, Windows) because of some changes in the scripts in the meantime:

Download to Computer:

ta_poc.rar from here (old link not working anymore)

TWRP-3.0.2-0-20160604.img

Download to device:

SuperSU-v2.79-201612051815.zip

(serajr script not needed)

Decompress ta_poc.rar

Extract kernel.sin from your nougat firmware ftf (You can use 7zip to do this). Copy it to same folder with DRM fix.

Copy your TA backup to same folder with DRM fix

Rename TWRP-3.0.2-0-20160604.img to recovery.img and put it in ta_poc folder

Run DOUBLECLICKME.bat

Follow the scripts wizzard (it will ask you for the kernel.sin and TA*.img file locations)

Answer "Disable dm verity" with yes to be able to flash zip's in recovery

"Disable Sony Ric" (answer yes) if you want to write to /system from RUNNING system later, for example if you want to delete unneeded system apps. (If your root-apps dont need to write to your system partition from Android you can keep Ric switched on for higher malware protection). You will still be able to flash stuff in recovery.

Press vol up and connect your device to pc to use fastboot. Use command in PC shell: fastboot flash boot new_boot.img (no need to flash recovery anymore, the script included it already in boot image??? Needs confirmation, maybe I had already a previous recovery. If you cant boot to recovery do a fastboot flash recovery TWRP-3.0.2-0-20160604.img and give me a message that I may update this list. But I don't see other explanation why ta_poc script is asking for recovery image file )

Disconnect your device and put otg-cable to tablets usb and connect mouse to otg-cable.

Press and hold vol down + press long power at the same time to boot to TWRP. (Do not press power and afterwards vol down as it is working with other setups, this will result in boot stucking at sony logo!)

Touchscreen is not workin but you can use your mouse to navigate in TWRP!

Allow TWRP to make changes to your device and flash Supersu 2.79 (maybe wipe Dalvik/Cache too)

Reboot (be patient, it may reboot automatically at first bootup)

The following is optional if you need AdAway (can be done later too):

Download Magisk-v12.0.zip to device (no problems with Magisk 12.0 in my case, but I flashed it later, maybe there should be a reboot between flashing superSu and magisk, but it's just a guess)

Boot to recovery and flash magisk zip

Reboot and install magisk manager from the play store.

Enable from magisk manager settings: busybox, magisk hide and systemless hosts and Install Adaway (Will not work without Magisk, strange).

Thanks to halfvast and the others for all the work.
[Xperia Z4 Tablet General] RondelRo:
Word of warning:

I decided to try this out with my LTE tablet with a TA partition from a Z5 (I was clueless when I unlocked the bootloader of my tablet and didn't know to save off the TA partition).

Everything seems to work except for the fact that the tablet no longer recognizes my SIM card. I guess I'll have to restore the original boot partition... :(
[Xperia Z4 Tablet General] sahilg009:
I am able to get Magisk working and get CTS approved by not flashing supersu at all just flash magisk alone
[Xperia Z4 Tablet General] dape16:
Did you do anything special to get MagiskSU working? I have tried with both stable and beta versions of Magisk but ended ut in bootloop.
[Xperia Z4 Tablet General] sahilg009:
same here reboot problem
[Xperia Z4 Tablet General] BackHol3:
Is it possible backup Ta partition if using latest nougat Sony stock rom? I tried but no success!
[Xperia Z4 Tablet General] BackHol3:
I had To install Marsmallow to get TA backup to work. Now I have a new problem, when I try to unlock my bootloader I get "remote command not allowed" even though my service menu says bootloader unlock allowed:yes. What to do?
[Xperia Z4 Tablet General] Mike02z:
Thank you so much! I have not even touched my Xperia Z4 WiFi in about 8 months. Your post made it so easy to go from stock unlocked, to fully functioning. I did have to flash the twrp separately to get into recovery. I then flashed Magisk v12. It rebooted fine but after 5 minutes it would just keep rebooting. I tried the Magisk uninstall but it terminated with an error. I went back and flashed the new_boot image and started again. This time I flashed SuperSU v2.82. and rebooted and it was fine. I then flashed Magisk 11.6 and it sort of works. It still won't pass safety net but I'll keep working on it.

One last item to note. When I flashed SuperSU 2.82 it allowed Adaway to work fine. Not sure why. If that was your only reason for needing Magisk, you likely won't need it.
[Xperia Z4 Tablet General] halfvast:
Do not work with Nougat 7.1.1 / 32.4.A.0.160 (Bootloop)

New TWRP for previous versions (You dont need otg and mouse anymore!):

https://www.androidfilehost.com/?fid=745425885120733410 (thanks to andralex8!)
[Xperia Z4 Tablet General] IlariJ:
Mine just freezes. New kernel [MENTION=5169444]AndroPlus[/MENTION] ? :confused:
[Xperia Z4 Tablet General] halfvast:
Maybe updated rootkernel works with 7.11? I dont have time to test :-/
[Xperia Z4 Tablet General] IlariJ:
I tried the boot.img from the newest LineageOS, didn't work. :(
[Xperia Z4 Tablet General] fishman8:
rootkernel_v5.23 not work. I extracted boot.img and patched, after flash and reboot, the touch screen cannot work.

Seems we don't have a solution to apply DRM fix, even I have backed-up the TA partition ...
[Xperia Z4 Tablet General] golokipok:
sorry for bumping this old thread, I'm on 32.4.A.54. I cannot boot to recovery whatever I do. I already flashed twrp but it still boots up to the system. any ideas?
[Xperia Z4 Tablet General] Taobaibai:
same here
[Xperia Z4 Tablet General] DHGE:
use fastboot to boot twrp

fastboot boot suitable_twrp.img

or better install LineageOS

---------- Post added at 08:13 ---------- Previous post was at 08:04 ----------

fastboot boot twrp.img
[Xperia Z4 Tablet General] Grutinet:
Hi, if I understand right, with the method explained on page 1, we can have the latest Nougat version for SGP 711 and SGP 712 (32.4.A.1.54) with DRM patch working with the latest AndroiPlus kernel (v.43), TWRP and root acces. Am I right or is there something still buggy with this configuration ? :D
[Xperia Z4 Tablet General] DHGE:
Yes

AndroPlus abandoned his kernel.

I went to LineageOS last year.

Another option is listed in my Guide.
[Xperia Z4 Tablet General] Diomorgan:
Sorry., what about SGP712 with latest firmware?
[Xperia Z4 Tablet General] DHGE:
ancient ...

abandoned by SONY?

oh: Diomorgan, we had our fun - sorry to answer your question
[Xperia Z4 Tablet General] Diomorgan:
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.
[Xperia Z4 Tablet General] DHGE:
https://xpericheck.com/device/SGP712
[Xperia Z4 Tablet General] andrebandre:
"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.
[Xperia Z4 Tablet General] andrebandre:
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.
[AT&T LG V10] aliasbz:
A problem with my phone lg v10 h900

He worked on a lollipop 5.1 system. And update it to 6.0 Marschmiloa

Protection settings stopped and became show me these circumstances the message

( Unfortunately, the process com.android.setting has stopped.)

Help me please. :(
[AT&T LG V10] JeseMazari:
I have exactly the same problem

It seems that one of the users (another threath LG H900 5.1 > 6.0 problem) is right and I upload software h900 6.0 via KDZ via TOT even via octopus and nothing, even the same error is possible that the main card is not h900 but another variant?, He says he solved the problem by loading vs900 software because the main card was not h900 but refurbished vs900.

I opened the phone and I was right, now i am going to load the correct software and tell you.
[AT&T LG V10] JeseMazari:
https://www.youtube.com/watch?v=vZ-hf763D20
[AT&T LG V10] aliasbz:
Thank you I opened the device and found the same thing

Waiting for the result
[AT&T LG V10] nexusjani:
Same problem. anyone has made a guide how to resolve that?
[AT&T LG V10] TMDMOOSA:
I have tried vs990 but it mot installing

You have like for vs900 please send me..
[AT&T LG V10] tracy17:
can anyone say if they got all the problems fixed or not

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

did u get it too work or anything
[Xperia Z5 Q&A, Help & Troubleshooting] EpicMedz:
I leave my phone idle for 1 minute and press the power button and the phone doesn't respond for around 10 seconds. Then the notification light flashes red a few times and the phone just reboots. It happens ALL THE TIME. Is there a fix for it?

Thanks!
[Xperia Z5 Q&A, Help & Troubleshooting] L33Tgod:
What rom do you use, kernel, when you installed it...
[Xperia Z5 Q&A, Help & Troubleshooting] EpicMedz:
Stock ROM (32.2.A.0.305), Androplus kernel, I've had it for 3-4 months now
[Xperia Z5 Q&A, Help & Troubleshooting] L33Tgod:
I think best thing for first if you dont want to try new firmware, do factory reset, data cache and dalvik cache, if it don't help flash new firmware using flash tool.
[Xperia Z5 Q&A, Help & Troubleshooting] EpicMedz:
Alright, I'll try that