yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet General] saf4xdadev:
I flashed UPDATE-SuperSU-v2.76-20160630161323.zip from twrp and now I have no SuperSu icon on the tablet anywhere? I'm still rooted and twrp so not real worried but no way to get into settings of SuperSu now. I was thinking of reflashing the RecRootV4_combined.zip from twrp and maybe it would go back to SuperSu-2.71 but unsure what to do???

EDIT: Root Checker says I'm rooted but TitaniumBackup and others say not rooted. I already tried reflashing the RecRootV4_combined.zip and nothing. I'm stumped.
[Xperia Z2 Tablet General] kulvertti:
Weird. What happened if you reflash SuperSU again? You could use RecRoot if you want to and that version should also work just fine. Also PlayStore version works.
[Xperia Z2 Tablet General] saf4xdadev:
Something happened when I flashed the SuperSu2.76 that hosed things up. I definitely had root before because it was there and apps asked for root permission granted.

So at this point without knowing more about the file structure I'm probably going to have to reflash entire prerooted update.

Unless you have other suggestions.

Thanks
[Xperia Z2 Tablet General] kulvertti:
If you still have working twrp you could remove SuperSU completely and flash that again.
[Xperia Z2 Tablet General] saf4xdadev:
I ended up installing from the PlayStore and it worked, back in business. I wasn't sure I could do that but I trust you. It was version 2.78 so I had to update the binary too??? Not to sure about the last part but I just said 'ok' and used the 'normal' way? Again unsure, but it all worked. I hope I don't have all sorts of mismatched stuff that will blow up the first time I need to use it properly. Thanks again.
[Xperia Z2 Tablet General] kulvertti:
Glad to hear you sorted it. Update binary in normal way is correct.
[Xperia Z2 Tablet General] saf4xdadev:
Oh that's good. Thanks again.
[Xperia Z2 Tablet General] dex9mm:
Cam someone do me a favour and check what build number you have I have flashed this zip now three of four times and it's is stuck on. . 570 does not seem to want to up date to .291

Any thoughts on where I'm gong wrong
[Xperia Z2 Tablet General] kulvertti:
It is .291 like screenshot in op. Any error message in twrp or even better twrp log what happened when you flash this?
[Xperia Z2 Tablet General] dex9mm:
OK no error message and I'm on an unlocked bootloader

Currently making a preloaded zip of the UK ftf .291

Adding in adaway and a few other apks

Did you do a guide for the steps involved or do I just follow yoir instructions couple posts back about the fake supersu in place of the actual superuser zip

Also is the firmware creator really that simple seem too good to be true :)

.570 is what it says in the build number bit weird I've flashed it a couple of times now and same result all the time ha
[Xperia Z2 Tablet General] kulvertti:
Weird. Are you sure you correct file you are trying to flash? Making your own prerooted firmware ain't hard at the moment and I sure you are just fine with instructions few posts back. However if needed I could make complete instructions. When you are with unlocked bl be sure that you don't ended up with two twrp installed in different partitions. It won't work.
[Xperia Z2 Tablet General] dex9mm:
Now that you say that about the recovery on two partions it might be the case how do I rectify the situation if that's the case o have basic skills with adb and fastboot

So I've finished the prf. 291 just wondering should I have included the option of the kernel fotakernel modem and exclude LTAlabel

And from my understanding I should be able to flash a custom stock kernel with an unlocked bootloader or will a stock rom throw out a load of errors if you can point me in the right direction I'll happily build it my self looking for a way to overclock the cpu if it's possible at all

Ok so here it is one zip I flash and it's at. 291 I flash another prf.zip and I'm back to. 570 what is going on with my tablet

I don't have the patience for flashing a ftf at the moment but I'll get back to you on what's actually causing this
[Xperia Z2 Tablet General] dex9mm:
OK so I created zip and it flash it up to. 291 but when I flash your multi window mode I get build number. 570 also does the. 291 build come with ultra stamina mode and battery optimisation like the z2 phone of figure no as it's not a phone bit why am I getting 570 from just flashing the multi window mode weird
[Xperia Z2 Tablet General] kulvertti:
Usually it´s mean that neither of two TWRPs works.

Depends what you want to do.

You can use custom stock kernel with ub and stock firmware.

And here is the reason for your problem. You are flashing slightly modified build.prop from .570 to your .291 firmware so it show you wrong version installed. To fix this you can push original build.prop to "/system" -folder maybe edited by changing this line "ro.build.type=user" to "ro.build.type=userdebug". Or by flashing attachet .zip file via TWRP. There aren´t any major differencies with build.prop versions but there are some.
[Xperia Z2 Tablet General] dex9mm:
Sound out [MENTION=5032335]kulvertti[/MENTION]

I figured it must be the modified build prop I can just edit it on the device as is yes with a text editor and save

Custom kernel for this device is buildable or is there anything out there I can use as is seems to be a lot of cross device stuff but nothing specific for our devices thanks for the help and sorry for spamming the thread a bit
[Xperia Z2 Tablet General] kulvertti:
You can edit your build.prop with texteditor and push it back to system. You need then check that permission are correct (0644). However as mentioned there difference with build.prop -files other than build number.

I'm not sure I understand your other question correctly. There are aosp kernel for this device or you can build your own from Sony source.
[Xperia Z2 Tablet General] dex9mm:
Wondering about the ultra stamina mode or battery optimisation would it be affected by

Will the asop one do that's grand I was hoping to build my own but have no clue where to start but Ill look in to it cheers again for the help seemed like I was running around in circles ha
[Xperia Z2 Tablet General] marcel45143:
Weel be Android 7.0 prerooted ?
[Xperia Z2 Tablet General] kulvertti:
Sorry but I think no. Read here:

http://www.xperiblog.com/2016/08/xperia-nougat-devices.html
[Xperia Z2 Tablet General] saf4xdadev:
So that says the Z2 is done for.......over. No more major updates. Marshmallow is it. Fini.
[Xperia Z2 Tablet General] Sorel7:
Thank you Kulvertti!!

I had a strange bootloop when I first flashed your ROM, but I fixed it with the "bootloop fix" in post 256.

Now it seems to work perfectly on my SPG512.
[Xperia Z2 Tablet General] jismail:
i just installed this rom and all works well except for my USB ethernet adapter. I dont seem to see a way to activate it. Does this rom support it? (Ether(0))? If so, how do you set it up or are there drivers I am missing?
[Xperia Z2 Tablet General] randyradar:
I have been using your most recent 6.0.1 ROM and it works great. Somehow I just lost recovery and therefore can't access TWRP for flashing ZIPs. Other than that loss, the tablet works just fine. What compatible recovery image do you suggest I use to restablish the recovery capability?
[Xperia Z2 Tablet General] kulvertti:
Easiest way is to make sure you don't have any other busybox installed and run RecRoot v4 install bat file via pc.
[Xperia Z2 Tablet General] randyradar:
While it took a little bit to find RecRoot V4, after I did and used it that did it. So, thanks so much for your very timely response to my need.
[Xperia Z2 Tablet General] spreewaelder:
Hello,

I want to install this ROM. But I need the german language. Is german pre-installed or can I do this after installing this ROM? Thank you for your help.
[Xperia Z2 Tablet General] kulvertti:
There is german language in this rom to choose if I remember correctly.
[Xperia Z2 Tablet General] spreewaelder:
[MENTION=5032335]kulvertti[/MENTION]: Thank you for your fast response :)
[Xperia Z2 Tablet General] sofir786:
Just a note if anyone else was in my situation. I had the previous rooted firmware installed, I got an update for the .291 ota for my WiFi only device, updating the firmware through ota surprisingly did not break root
[Xperia Z2 Tablet General] pixbuf:
I just got a notice on my tablet that an OTA update is available. Version 1.1.A.0.1, 1.3MB. What could this be? Weird version number, very small size. ???
[Xperia Z2 Tablet General] kulvertti:
Might be app called memory. At least it have same version number.
[Xperia Z2 Tablet General] ad_on_is:
Is anyone else experiencing issues when scrolling slowly? Scrolling behaves somehow "jumpy".

https://www.youtube.com/watch?v=hToMUEjIv44 (watch in 1080)

The beginning of the video shows this strange behaviour when I slowly swipe up and down the screen. In the last part of the video I quickly flick up and down, and it works smooth.
[Xperia Z2 Tablet General] Umlüx:
i am SO sorry to sound like a total noob.. this is my first time so please bear with me here.

how do i install this image on a running cyanogenmod 12.1 system? if i try to install it in recovery mode it tells me

E : Footer is wrong

E : signature verification failed

thank you!

EDIT: sorry i am an idiot... seems, i need TWRP to flash. sadly,TWRP recovery wont' install because my device is not supported? (Xzeria Z2 Tablet - Castor_Windy)

EDIT2: ok, TWRP Recovery DID install, but it is in portrait mode... so i can't even see the buttons on my landscape tablet.. :D

found this: http://xdaforums.com/xperia-z2-tablet/help/twrp-sgp511-t2934620/page2

but it won't install. ADB says "OK" but the tablet just boots to Cyanogenmod Recovery. this is quite the odysseey.
[Xperia Z2 Tablet General] angelord666:
[MENTION=5032335]kulvertti[/MENTION]

My xperia z2 tablet is the SGP511... so I installed the flashable 23.5.A.1.291 zip, and its getting a bootloop. If you could upload the correct firmware ill be very grateful :)... or the custom 219 kernel so i can make the SGP511 flashable zip. Thanks
[Xperia Z2 Tablet General] kulvertti:
To actually fix your bootloop issue I suggest that you follow instructions from post #256.

Firmware from OP works just fine with your device but you ask firmware based on SGP511 and why not. So here are prerooted flashable .291 firmware for you:

https://mega.nz/#!ENIHFIQC!JHT0zF9uWCmpErUDNh3SaBAOHzFDyJ9gsGnZYQW_I0o
[Xperia Z2 Tablet General] SANGER_A2:
Hi kulvertti, it might be worth putting this link and saying it may be needed in your original post underneath the ROM download link to stop people complaining about it not working and you having to reply. I know that I had to install it on mine to get it to work and it seems lots of others did.

Cheers
[Xperia Z2 Tablet General] kulvertti:
I think you might be right so added instructions to OP.
[Xperia Z2 Tablet General] SANGER_A2:
I had wifi issues with marshmallow so I went back to 5.1.1.
[Xperia Z2 Tablet General] nickbaker66:
Just wanted to say thanks for this really do appreciate your hard work......

Quick question if you don't mind guys what's the best kernel to use with this FW as I want to change the CPU threshold because on the original 6.01 Sony version i was experiencing a load of shutdown issues

Thanks
[Xperia Z2 Tablet General] jeryll:
How about unlocked BL?

[MENTION=5032335]kulvertti[/MENTION]

Hi, Is this suitable for unlocked boot loader? I have SGP511 with unlocked BL, and can't get it to work (flashing is successful, but after reboot it never went into the ROM itself, it always stop at blue waving animation and that's it). I tried both "anti bootloop" methods, but nothing works for me (tried with TWRP 3.0.0.0, 3.0.2.0, with or without GAPPS, different SU packages...) - what I am missing?
[Xperia Z2 Tablet General] kulvertti:
This is compatible with unlocked bootloader. Are you sure you try it with clean install?
[Xperia Z2 Tablet General] jeryll:
In TWRP I'm using advanced wipe for system, data, cache, dalvik/art cache (only internal storage and sdcard without wipe). But maybe I am not patient enough, how long it take to boot the ROM after clean install in your experience?
[Xperia Z2 Tablet General] SANGER_A2:
It takes a looong time the first time. Maybe 10 mins. Leave it for 20 plugged in. It has to build a cache file for every app on first boot, plus setup the OS.
[Xperia Z2 Tablet General] jeryll:
Hm, so I left it on charger to finish the boot over night after clean install, but it still was on blue animation when I wake up this morning... So something interesting is going on here, I just don't know what. After unlocking BL I can flash any custom ROM I want and it works, but this not and also reflashing original Sony FW (with flashtool) stopped working either (I know it worked before unlock, because I recovered my softbricked tablet maybe two times with it)...
[Xperia Z2 Tablet General] jeryll:
Ok, it turns out, that my tablet was somehow messed up, I had to reflash it with official Sony Emma tool for devices with unlocked BL, at first it updated it with funny version of LP for nordic countries, which didn't remembered it's settings, so every time I pressed power button instead of black screen there was some funny demo about tablet abilities (that was a good one SONY), so i very quickly reflashed it with flashtool with latest MM and when it boot, i knew that this will work too... and it is working all right, it finally booted...

Soo, thank you very much [MENTION=5032335]kulvertti[/MENTION]
[Xperia Z2 Tablet General] CAL7:
I've been dutifully using [MENTION=5032335]kulvertti[/MENTION]'s ROM for quite awhile, but now I'm getting a replacement SGP511 which will need to be rooted again before I can reload this ROM. Since it's been s couple of years, my memory is a little foggy.

If it comes with an unrootable LP/MM system, the first thing I'll need to do is downgrade to KK 401. Can I get a pointer to an FTF?

Any other hints for rooting this device that may be better than what I remember from 2014?
[Xperia Z2 Tablet General] Jorell00:
Isnt that the kk version on post 1,just above the credits
[Xperia Z2 Tablet General] kulvertti:
As [MENTION=5234266]Jorell00[/MENTION] mentioned all info and link to suitable ftf file is in the op.
[Xperia Z2 Tablet General] CAL7:
My apologies and thanks! I see that, but in my haste I mis-read the description to mean the link was to an earlier version of the pre-rooted flashable zip. But the ftf is precisely what I was looking for.

Just a side note... I've had this thing for > 2.5 years, and this is an opportunity to upgrade, but I really don't see anything that I would prefer. So, I'm just going to root the replacement Z2T and nandroid-restore [MENTION=5032335]kulvertti[/MENTION]'s ROM.
[Xperia Z2 Tablet General] hermovv:
No GPS a after flashing pre-rooted 23.5.A.1.291.

Came from pre-rooted 23.4.A.1.264 (VMo FR-DE-AT-CH-BE-NL-PL), flashed kulvertti's 23.5.A.1.291 (VMo_AU-NZ).

Everything seemed fine except the GPS was broke.

Build my own pre-rooted SGP512_23.5.A.1.291 (VMo FR-DE-AT-CH-BE-NL-PL) and also not a functioning GPS.

(Wiped cache, dalvik/ART cache and data).

Has anybody simular experiences and/or a solution?
[Xperia Z2 Tablet General] kulvertti:
What happens if you wipe also system before flashing rom? If not working try again with your previous rom to find out if it's hardware issue. Gps working fine here so I don't think it is known issue.
[Xperia Z2 Tablet General] hermovv:
Ok, alway fear to wipe system, but if kulvertti says, I will do it! -still no GPS.

Reflashed pre-rooted 23.4.A.1.264 (also after system wipe) - GPS is working perfectly.

Flashed pre-rooted 23.5.A.1.291 again (no system wipe to preserve possible GPS driver) - still no GPS

Are there other options?
[Xperia Z2 Tablet General] thunder141:
what is with flashing boot loop fix. I used it for z3 and it worked
[Xperia Z2 Tablet General] kulvertti:
What if you start your device to safe mode?
[Xperia Z2 Tablet General] kulvertti:
Working just fine. You may want to reread op.
[Xperia Z2 Tablet General] hermovv:
Yes, I started it in safe mode, ran the diagnostics (from the settings menu/About Phone/etc): No GPS.

Fiddled around, found com.qualcomm.location.apk in my system, installed it and now my tablet chrashed and came in a bootloop.

Couldn't repair the bootloop by doing al the wipes and flashing pre-rooted 23.5.A.1.291 again.

Finally flashed pre-rooted 23.4.A.1.264 and got a working tablet but now the GPS didn't work in this firmware too :(

So I had PC Companion repair everyting and now I am on 23.5.A.1.291, unrooted but with a working GPS:)

(Using PCC it took less then 20 minutes to get up and running again: Bravo Sony!)

I will try again to get rooted if there is a new firmware out.
[Xperia Z2 Tablet General] kulvertti:
Bootloop is well known issue and that's why there is instructions how to fix it in op. If you mentioned that you try to fix it method discribed but you still have problem you may have a point.
[Xperia Z2 Tablet General] kulvertti:
After your posts I'm not sure if you want help or not. If you do, I need more info where your device are before trying this and your exact steps to install this. If you don't want help just have a nice day.
[Xperia Z2 Tablet General] Az Biker:
* * * Thread Cleaned * * *

Let's get back to on topic and respectful commenting. If someone violates XDA Rules or interrupts the smooth flow of the thread, DO NOT engage them and further clog the thread with their ridiculous posts, simply hit the REPORT button and let Moderator Staff handle it.

I'm glad to see the users respect and support for the OP, but don't feed the trolls, hit REPORT.

Your cooperation is appreciated.
[Xperia Z2 Tablet General] kulvertti:
Happy holidays to all.
[Xperia Z2 Tablet General] nickbaker66:
Happy Christmas to you to mate !!!

Keep up your great work
[Xperia Z2 Tablet General] saf4xdadev:
Happy Days to you too kulvertti. You do great work here.....many thanks. Oh yeah.....go Packers.
[Xperia Z2 Tablet General] gn82:
How do I flash the Flashable_SGP512_23.5.A.1.291_VMo_AU-NZ_by_kulvertti.zip file?

I seem to have no problems flashing the SGP511_23.1.A.1.28_R2C_by_kulvertti_Customized_NCB_1281-8175.ftf file, but Flashtool does not recognize the zip file even if I copy it in the \Firmwares folder.

[MENTION=5032335]kulvertti[/MENTION] - can you lend a hand please?

Please help!

merry Xmas and happy holidays
[Xperia Z2 Tablet General] hermovv:
This is a .zip file, not a .ftf file. You have to copy it to your phone and then install it from recovery (TWRP).

So you need a recovery first. Preferrably TWRP.
[Xperia Z2 Tablet General] gn82:
[MENTION=5636434]hermovv[/MENTION] - Thanks a lot. I will search for the install instructions for TWRP. What do I do then? Does TWRP have a mode for unpacking files or do I need to connect the device in USB transfer mode and copy the files from WIndows ?

Thanks in advance and a merry Xmas
[Xperia Z2 Tablet General] hermovv:
The opening post will give you a start.

Basicly first you to have a rootable firmware on your device (if you are on 23.1.A.1.28, according the opening post you already are), root it, and then install a recovery.

It has been a while for me so don't remember exactly al the steps anymore.

The info is here in the forum but it is all scattered so you'll have to do a lot of searching and combining.

(We need a christmas angel here to put the complete recipy together and post it somewhere!)
[Xperia Z2 Tablet General] gn82:
I installed the provided ftf (6.0.1) but it is not rooted. I guess I have to revert back to 4.x.x to have a root-able android... too bad.
[Xperia Z2 Tablet General] nickbaker66:
Have you got an unlocked bootloader? If you have put your tablet into fastboot mode.......

Flash Recovery via fastboot too (fastboot flash recovery pathTo/recovery.img) you need TWRP 3.0.0 you can get it from here in the first post where it's says link to recovery file http://xdaforums.com/xperia-z2-tablet/development/aosp-6-0-marshmallow-sony-xperia-z2-t3235935
[Xperia Z2 Tablet General] gn82:
I have the original OS, no changes. I just let the system update itself from 4.x.x (rooted) to 6.0.1 and I no longer have root.

Sadly this seems to be such a major pain. I cannot seem to figure out how to install twrp or find a decent guide to installing a rooted ROM. I think that if I don't figure this out by the end of the day I would rather just throw the damned thing in the garbage bin and buy a 2nd hand galaxy tab a / tab s2... this is unbelievably complicated and it already wasted 3 days of my life
[Xperia Z2 Tablet General] nickbaker66:
To install TWRP you will need to unlock your bootloader first before you do anything, I haven't tried this way personally https://www.kingoapp.com/sony-bootloader-unlock.htm

I done it the official way here http://developer.sonymobile.com/unlockbootloader/

Hope that helps
[Xperia Z2 Tablet General] hermovv:
This is how I did it last year:

http://xdaforums.com/showpost.php?p=60790722&postcount=20

Went back to Kitkat 17.1.2.A.0.314 for it.

BTW, I am unrooted since a week and still like my Z2 Tablet. Root isn't as neccessary as say a year ago I think, but that is just an opinion...
[Xperia Z2 Tablet General] kulvertti:
For example go here

http://xdaforums.com/xperia-z2-tablet/general/z2-tablet-recovery-root-marshmallow-mm-t3437520

No need to unlock bootloader. Also in op there is instructions and links to threads where you can find tools to root and install twrp. I don't recommend Kingroot as it produces other problems.
[Xperia Z2 Tablet General] gn82:
[MENTION=5032335]kulvertti[/MENTION] - hopefully I'm almost there

1. I installed android 5.0.2 (SGP511_23.1.A.1.28_R2C_by_kulvertti_Customized_NCB_1281-8175.ftf)

2. I got root access with King Root

3. I installed TWRP apk and BusyBox... seemed to be mostly useless

4. I installed TWRP boot manager / recovery manager using http://nut.xperia-files.com/path/XZDualRecovery/XZDualRecovery_2.8.26 and TabZ-lockeddualrecovery2.8.26-RELEASE.combined.zip

5. I installed Flashable_SGP512_23.5.A.1.291_VMo_AU-NZ_by_kulvertti.zip via TWRP ... and it was rebooting like mad

6. I installed Z2-6.0.1_570_bootloop_fix.zip and it still rebooted for about 1h... now it seems to be stable on 6.0.1 with root access :) hope it stays

Thanks a lot everyone !
[Xperia Z2 Tablet General] hermovv:
Congratulations, glad you didn't throw away your beautiful Z2 Tablet;)
[Xperia Z2 Tablet General] gn82:
This whole process gets so frustrating at times and if someone would have told me that I'd lose 4 days of my life to get this thing working properly again. Well, I would have gone straight to ebay to buy a Samsung and be done with it in 30 minutes.
[Xperia Z2 Tablet General] Tunwin27:
Hi, I can't install TWRP recovery on z2 tablet SGP511 with 23.5.A.1.291 on kernel version 3.4.0-perf-gc14c2d5. I unlocked my device successfully. And I download img from TWRP website. Twrp-3.0.2-0-sirius.img. And I used adb command to install fastboot flash recovery img. Seems no issued but I could not access to recovery mode at all. Any solution to install pretty rooted firmware with flash tool? My device was not root before.

Thanks for your time and support.
[Xperia Z2 Tablet General] ranf:
SGP511 is not codenamed sirius.
[Xperia Z2 Tablet General] Tunwin27:
Help me please. Which one is correct Twrp recovery file for my device SGP511 6.0.1?

Please kindly advise. I want to install pre rooted firmware. As its not ftf file can't flash also.
[Xperia Z2 Tablet General] ranf:
I'm not really uptodate with rooting. This looks good: https://xdaforums.com/xperia-z2-tablet/general/z2-tablet-recovery-root-marshmallow-mm-t3437520
[Xperia Z2 Tablet General] Tunwin27:
Will try it tomorrow and update you. As I had. 575 ftf, should be easy for me. But to be honest key is Twrp to install. Once Twrp there should able to root and install pre rooted firmware. But what I understand is root and recovery is link each other. Rooted device will get Recovery on the other hand if you have recovery then you able to root. Now I can't even manage to install one of them.

Anyway Thanks.