yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet General] DannyBiker:
Weird as I did a proper clean wipe before installation. Anyway, this build is already old now and I went back to CM anyway.

Envoyé de mon D6603 en utilisant Tapatalk
[Xperia Z2 Tablet General] myeepad:
You are right, I used IE from a PC and it did not work, switched to Firefox on a PC and Chrome on the tablet downloaded the file okay. :good:
[Xperia Z2 Tablet General] SANGER_A2:
Mega sucks. I install the app, download it on the tablet and then uninstall the app!
[Xperia Z2 Tablet General] DannyBiker:
Is there any significant difference with this build ?
[Xperia Z2 Tablet General] kulvertti:
I don't think so.
[Xperia Z2 Tablet General] DannyBiker:
I'm having the exact same issues with the latest build : Adaway can't create the host file, YouTube won't play any video, no gifs In Relay for Reddit, etc. All these apps in their same version work fine in CM12.

I don't understand why this is happening. I made a full wipe before flashing.

Any idea?
[Xperia Z2 Tablet General] kulvertti:
That is weird. Try to flash Dualrecovery again with TWRP and report back.
[Xperia Z2 Tablet General] DannyBiker:
I flashed Dual recovery right before flashing it so that's not it...:-/

Envoyé de mon D6603 en utilisant Tapatalk
[Xperia Z2 Tablet General] SANGER_A2:
Lock your bootloader.
[Xperia Z2 Tablet General] SeS85:
Hi guys,

just received my new Tab Z2 32gb. Due the lack of prerooted ROMs for the SGP512 i created my own prerooted ROM, which works fine. Its a great Tablet (my first) and iam happy i got the z2 over the z4 and saved a bunch of money.

Now i have two Questions:

1. Is it possible to update a flashed StockROM as OTA-Update?

2. Do i lose my Recovery's or Root when updating via OTA (if possible)?

Thanks for your help and sorry for posting into this Thread :)

Best regards,

SeS85
[Xperia Z2 Tablet General] kulvertti:
1. Nope. With just root it might be possible but because Dualrecovery make some changes in system partiotion and OTA will check if it is untouched.

2. See above.
[Xperia Z2 Tablet General] corbeau56:
Just tried latest .570 build on my German SGP511 and it works fine. Only issue: it shows "No service" ("Kein Dienst") in status bar as if it was missing a SIM-card. My tablet is Wi-Fi only.
[Xperia Z2 Tablet General] dex9mm:
This seems to be a Sony bug across all WiFi models
[Xperia Z2 Tablet General] st_voss:
I had the same problem with Adaway. After reflashing Dualrecovery the problem is gone.

Thanks for the tip.
[Xperia Z2 Tablet General] MrMagic:
I'm on this ROM and it's now offering me a small (0.2 MB) OTA update with the same version number.

Is that the R6C version that is mentioned here: http://xdaforums.com/showpost.php?p=62582227&postcount=26
[Xperia Z2 Tablet General] kulvertti:
Yes, look like it is. Those R6C mean´s only customization version (customizer´s revision) assigned only by the operator (in this case VMo). And you can actually install this OTA if you want to.
[Xperia Z2 Tablet General] pixbuf:
You mean we can install it and not lose root or custom recovery and nothing else bad will happen?
[Xperia Z2 Tablet General] kulvertti:
Yes, exactly.
[Xperia Z2 Tablet General] creepingcreep:
Appreciate its a long shot but does anyone know if you an update from 23.0.1.a.4.30 to this? Or do i have to flash the updates in-between one by one. My tablet has been in hibernation for a while and was looking for a quick way to update without having to relock the bootloader
[Xperia Z2 Tablet General] kulvertti:
There is no need to flash firmwares from 4.30 to this one by one.
[Xperia Z2 Tablet General] creepingcreep:
Excellent. Worked like a charm, with a factory reset. But both ES Explorer & folder mount report root problems. Root checker says all is ok.
[Xperia Z2 Tablet General] SANGER_A2:
Make sure your bootloader is locked. Or try relocking it. I had this problem and locking the bootloader fixed it!
[Xperia Z2 Tablet General] kulvertti:
See post 90 in this thread. Flashing Dualrecovery again fix similar problem.
[Xperia Z2 Tablet General] BLiapis:
Whats new/better with 5.1.1? With my Z1 Xperia , upgrading to 5.1.1 made a world of difference because the 5.0.2 was terribly botched.

Do i gain anything flashing the new version on the Z2 Tab?
[Xperia Z2 Tablet General] creepingcreep:
My bootloader is unlocked so simply flashing the dual recover zip is probably not going to work. I will look at possibly relocking with flashtool to see if that helps and then try to flash the dual recovery zip in twrp
[Xperia Z2 Tablet General] hasenbein1966:
The 5.0.2 FW is very good on the Z2 tablet. If you don't need the very small new features of 5.1.1, simply stay on 5.0.2 and enjoy your device.
[Xperia Z2 Tablet General] creepingcreep:
Relocking the bootloader, doing a full wipe with TWRP and then installing reinstalling this update zip seemed to fix everything. Thank you for the tips
[Xperia Z2 Tablet General] BLiapis:
Took the shot and installed the new version over 5.0.1. Its working like a clock.
[Xperia Z2 Tablet General] kulvertti:
OP updated. Added latest 23.4.A.1.200_Customized_NCB 5.1.1 Lollipop firmware. Working just fine but this time Sony has removed Stagefright fix for some reason. Also Sony has made some changes in their update system so latest firmware don´t show up in XperiFirm (yet).
[Xperia Z2 Tablet General] myeepad:
Thank you, Kulvertti, the new firmware worked like a charm. I have to reapply your "Permission to use External Cards" fix that your wrote to make my apps to use the MicroSD card.

:good:
[Xperia Z2 Tablet General] thunder141:
Stagefright fix does Not work for this, right?

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] kulvertti:
In .570 firmware there was partial fix for stagefright but in this there are none.
[Xperia Z2 Tablet General] thunder141:
No i mean the flashable fix one can find here on xda

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] kulvertti:
Sorry, it was partial answer because have to do something else with family. As far as I know flashable fix is device specific and may not work very well with all devices and roms. Haven't got time to try but with nandroid backup please try and report back.
[Xperia Z2 Tablet General] thunder141:
It does Not Boot. Restored backup

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] saf4xdadev:
Can I ask a quick question please? I haven't made a prerooted firmware for my xperia z2 tablet since 23.1.A.1.28 so I'm a bit rusty.

I searched around for this answer but couldn’t find anything so thanks for any help I can get.

Once I'm in FlashTool64-0.9.19.8.exe creating my .ftf I now find 3 .ta files instead of two like before with 23.1.A.1.28 firmware.

Now in 23.4.A.1.200 firmware, I see cust-reset.ta, fota-reset.ta, and simlock.ta ….so do I strip out all three or just the first two like before in 23.1.A.1.28 firmware.

Thanks again.
[Xperia Z2 Tablet General] kulvertti:
To be on safe side remove all .ta files.
[Xperia Z2 Tablet General] saf4xdadev:
Thanks kulvertti......by the way, I think you have a typo in your title page 1
[Xperia Z2 Tablet General] saf4xdadev:
Thanks for all your help and hard work. I got a few questions I hope you will help.

In PRFCreator_v1.0, assuming this is what you used, did you make your zip with Legacy Mode checked or unchecked? Or does it matter?

I made my own prerooted 23.4.A.1.200_R4C zip for my SGP512 US tablet basically how you explain except I didn’t know about the Legacy Mode.

I also signed my zip which worked before so I did it again, but on the PRFCreator thread everyone says don’t sign, so I was curious what you do?

I only do this stuff a couple times a year so I get foggy about the procedure, especially when the device has been heavily used with all sorts of stuff added and customized over time.

So I already had prerooted 23.1.A.1.28, SuperSU-v2.46, and dualrecovery2.8.15 installed on device since the beginning, per your instructions way back when.

And I know how to flash my new prerooted 23.4.A.1.200_R4C zip, assuming I made it correctly with the Legacy Mode thing, but what I don’t know is about the backups and the wiping and when to do them and if I need to do them, etc….

Also, will flashing the zip cause me to lose all the extra stuff I've done to the tablet or installed apps, customizes, etc…or do I use titanium backup before flashing and then restore it after flashing or some mix of these events? Or one of the recovery backups if I make a new one before flashing? Thanks again for the help.
[Xperia Z2 Tablet General] kulvertti:
Legacy mode is for very old firmware so...

There is no need to sign your zip because TWRP can flash unsign firmware just fine. Signing can produce some hickups but also can work just fine...

With TWRP do back up with kernel, system and data. For wiping at least cache and dalvik cache. If you came from other than stock firmware also system. There is no point to wipe before flashing your new firmware so do it after flashing and before booting up.

Depends where exactly you do your customizings. If on system you have to do them again or use your backup. Clean table is allways the best because there might be problems with different firmwares but with backup there is no problem.
[Xperia Z2 Tablet General] yel@ch:
I got an `update available` message,but after download it says `could not be verified`. Any ideas? Do I have to flash the whole firmware or is there just an update available? I am on Flashable.23.4.A.0.570_R5C_TW_1281-8201_by_kulvertti with R6C automatcally updated.
[Xperia Z2 Tablet General] kulvertti:
Basically if rooted and custom recovery installed you can't update your firmware with ota or normal pcc update. For keeping root and custom recovery you need to flash prerooted firmware update with custom recovery.
[Xperia Z2 Tablet General] SANGER_A2:
Works brilliantly on my sgp512 upgraded from the last one you released. Thanks again kulvertti!
[Xperia Z2 Tablet General] floresnico:
Hello,

The installation went very well. Everything works perfectly. But I have a problem with the directory permissions system /. I cannot pass him in write mode. I tried with root explorer, with adb remount function and others. I originally wanted to remove bloatwares but titanium backup cannot and system app remover either. Can you help me please?
[Xperia Z2 Tablet General] kulvertti:
Reflashing Dualrecovery might help you.
[Xperia Z2 Tablet General] SANGER_A2:
This fixes the no service message in the notification bar for me by the way.
[Xperia Z2 Tablet General] dex9mm:
Hey I've been having issues with the write access to system when I flash the recovery as you and a few other posts say to fix the write access, it gives me write access but I seem to lose the recovery tablet refused to go in to any of the recoveries but when I flash Cwm from flash tool it won't boot the rom till I reflash the prf.zip but I lose system access again seem to be going around in circles. Any advice would be great
[Xperia Z2 Tablet General] kulvertti:
Remove any other custom recovery completely from your device and use pc installer to install Dualrecovery. To have write access to system you basically need to kill Sony ric when device boot. Dualrecovery do that for you but there is also separate tool for that here in XDA. If your bootloader is unlocked you may want to use advanced kernel instead of stock one.
[Xperia Z2 Tablet General] dex9mm:
OK cheers I see what you mean I've seen the flashable zip for the ric killer

I have unlocked my bootloader and where is the kernel I should be using? Link would be great

I had the custom Cwm recovery from doomlord am I mistaken in thinking the kernel was included the recovery zip it's how I flashed your Fw
[Xperia Z2 Tablet General] kulvertti:
Here's link for kernel builder http://nut.xperia-files.com/
[Xperia Z2 Tablet General] dex9mm:
Cheers I flashed the kernel but for the wrong firmware version my bad jumped the gun a bit there

So I'm in a bit stuck as to it will boot to the blue waves but will restart

I'm guessing a fresh start with FTF then a reinstall of the kernel and then prerooted firmware will set things right I hope cheers for pointing me towards the kernel
[Xperia Z2 Tablet General] dex9mm:
Cheers all good no ran the kernal installer before I flashed the PRF and it has write access to system cheers for your help
[Xperia Z2 Tablet General] rob_skater:
sorry for the noooobnes, i currently only really know how to use flashtool

is it possible for a ftf file of this to be made?

thanks in advance
[Xperia Z2 Tablet General] kulvertti:
Sorry but nope.
[Xperia Z2 Tablet General] redlabour:
23.4.A.1.232 ?
[Xperia Z2 Tablet General] kulvertti:
Uploading it as we speak. Stagefright fix included.
[Xperia Z2 Tablet General] redlabour:
Cool. Thx!

---------- Post added at 05:54 PM ---------- Previous post was at 05:40 PM ----------

Downloading new version now. Thx for fast support.
[Xperia Z2 Tablet General] kulvertti:
Op updated. Added newest prerooted firmware for SGP511 which this time is customized CE4 (Central Europe) 23.4.A.1.232. Stagefright Detector confirms that vulnerability is patched.
[Xperia Z2 Tablet General] ikenvape:
You're the best! Thank you
[Xperia Z2 Tablet General] olympusandy:
Thanks for the hard work.. Btw, xposed (latest version for lollipop on XDA) seems to break this ROM as apps randomly disappear on reboot. Without xposed, all seems to be fine. The previous prerooted ROM was not affected.
[Xperia Z2 Tablet General] awakened77:
I don't seem to have this problem, running the latest ROM from OP.

Odesláno z mého SGP511 pomocí Tapatalk
[Xperia Z2 Tablet General] olympusandy:
Are you using Xposed?

I am also using root cloak, no device check and xperia xposed
[Xperia Z2 Tablet General] awakened77:
Yes, I'm using the latest available version of Xposed. The only two modules active at the moment are UnrestrictedGetTasks and GravityBox.

Odesláno z mého SGP511 pomocí Tapatalk
[Xperia Z2 Tablet General] meteor999:
Installed and all working perfectly. When I saw your screenshot showing the updated kernel I knew I had to root. I have the Z3 and the same 17th Sept kernel (obviously not the 'same' but I guess it's the date Sony gave there devs)

Thing is here in Ireland things worked backwards; With my Z3 6603 I received the first update a few weeks ago with the new kernel, then I got the stagefright fix. With the Z2 tab it's different; got an update few weeks ago (2-3) with no stagefright fix or 'recent' kernel. Then stagefright is released in past few days ( 2-3) but also included is new kernel. Maybe I am over thinking.

Bottom line is the Sept Kernel is way better... Perform and batt life.

But cant figure out Sony... I think if you don't have their latest flagship then they will provide you with software but just out of necessity ( granted improvements). They just have too many products ( low, ultra low, Mid, regular, premium..) Why can't they just produce one/two good phones and maybe a tab or pro tab every and focus on that
[Xperia Z2 Tablet General] WarCow:
kulvertti, you're the man :cool:

Dirty flashed it over the previous version, and everything seems to be running fine. Also the "no service" text is gone, so that's 1 less Xposed module i need to run :) Didn't notice any other issues with Xposed either, as someone talked about earlier.
[Xperia Z2 Tablet General] kulvertti:
Thank you all for your kind words.
[Xperia Z2 Tablet General] AlbyTran:
kulverti, how did you make a working prf? i downloaded the firmware with xperifirm, and made an ftf with flashtool and created a prf with prf creator. I successfully made one except, the wifi wont work with the .232 firmware. It is not my device, because the wifi works with other firmwares. Just asking what are the steps you used to create prf with working wifi?
[Xperia Z2 Tablet General] kulvertti:
Latest flashable zip is created by:

- Downloading sources by XperiFirm with unpack ticked.

- Making ftf with Flashtool including everything else but .ta -files.

- Making flashable .zip file with PRFCreator (v0.8) with .ftf, SuperSu and Dualrecovery. Including everything but leaving signing option unticked.

- Testing that zip file works as it should.
[Xperia Z2 Tablet General] OBEYDBRAVE:
SGP521

Can i use this for my xperia tablet lte SGP521 with a latest firmware .200?
[Xperia Z2 Tablet General] don502:
System wont mount

I have tried to flash a number of times. I have dualboot recovery and using TWRP to flash. I continue to get a failed assert message with a notice that /System will not mount. MD5 checksum match with download. Any thoughts or advice please.
[Xperia Z2 Tablet General] kulvertti:
Use my friend [MENTION=3577628]Bird40[/MENTION] prerooted firmware instead of this. You can find it here: http://xdaforums.com/xperia-z2-tablet/general/prerooted-zip-vmo-ru-ua-kz-t3219812
[Xperia Z2 Tablet General] kulvertti:
How did you root your device? Try to reinstall Dualrecovery.
[Xperia Z2 Tablet General] OBEYDBRAVE:
Thanks, which recovery is better to use?
[Xperia Z2 Tablet General] kulvertti:
TWRP.
[Xperia Z2 Tablet General] OBEYDBRAVE:
BTW, my device has not been rooted. can i use the steps on this thread? and use his .232 prerooted firmware?

thanks
[Xperia Z2 Tablet General] kulvertti:
For rooting your device there is this thread to root Lollipop (5.0) firmwares (23.2.A.1.62 and 23.1.A.1.28): http://xdaforums.com/crossdevice-dev/sony/root-how-to-root-5-0-lollipop-t3212108

If you already are 5.1 firmware you need to downgrade with Flashtool by [MENTION=2807379]Androxyde[/MENTION] to 5.0.

Alternativialy you can downgrade to Kitkat firmware 17.1.2.A.0.314 and root your device with Dualrecovery pc install, Flashtool, Easy Root Tool for Xperia devices etc. which all use Towelroot method or Giefroot. Point with rooting is achieve root and also disable Sony Ric which prevent system write acces if not disabled.

I can´t recommend Kingroot method.
[Xperia Z2 Tablet General] corbeau56:
Since last update, Titanium Backup has no access to SD card ( saying it is write protected), but ES file explorer has access?! Any ideas?
[Xperia Z2 Tablet General] kulvertti:
Try if this can fix it: http://xdaforums.com/xperia-z2-tablet/themes-apps/external-sd-card-t3114127

and report back.
[Xperia Z2 Tablet General] markusmuster:
Hi,

does anyone knows how to get rid of RIC restrictions? Everything I tried failed yet (RICDisabler, ect). Even modulecrcpatch manually in recovery does not work anymore.

Unfortunateley I cannot remember how I did it before this release.... probably another kernel, but I really cannot remember.....
[Xperia Z2 Tablet General] kulvertti:
You have several choices. One is flash or install Dualrecovery. If you have working busybox you can try to flash this attach XperiaRicKiler.zip. If don´t have working busybox you can still try to flash SonyRICDefeat from here: https://github.com/dosomder/SonyRICDefeat/archive/master.zip

Inside master.zip is flashable RICDefeat.zip.
[Xperia Z2 Tablet General] markusmuster:
Thanks. I will try it with XperiaRicKiler.zip. Seems to be a newer version of that old /sys/kernel/security/sony_ric thing.

I already tried it with your RICDefeat.zip in Dualrecovery (PhilzTouch) but without any success.

Seems that the modulecrcpatch binary isn't working anymore. Anyway I will report.
[Xperia Z2 Tablet General] ikenvape:
Is anyone having any issues with YouTube? I keep having connectivity issues. Only a full reboot remedies this for an amount of time. Uninstall, reinstall, cache, data, no luck unfortunately.
[Xperia Z2 Tablet General] markusmuster:
Sorry doesn't work here. I am still unable to mount /system RW

Neither RICDefeat.zip nor XperiaRICKiller.zip works.

However if I run this as root in normally (no recovery) ROM I am able to disable RIC and mount /system or / read-writeable.

root@SGP511:/ # cat /sys/kernel/security/sony_ric/enable
1
root@SGP511:/ # echo 0 > /sys/kernel/security/sony_ric/enable
root@SGP511:/ # cat /sys/kernel/security/sony_ric/enable
0
root@SGP511:/ # /system/xbin/busybox mount -o remount,rw /
root@SGP511:/ # /system/xbin/busybox mount -o remount,rw /system
root@SGP511:/ # mount
rootfs / rootfs rw,seclabel,relatime 0 0
...
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
...
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,
discard,data=ordered 0 0
...
root@SGP511:/ #

But this does not survive a reboot...

Any ideas about this or should I put this somewhere into init?
[Xperia Z2 Tablet General] kulvertti:
Have you tried with "byeselinux"? First run .bat -file and then try some of the ric disabler. How ever this is kind weird as XZDualrecovery should do this to your device if correctly installed.
[Xperia Z2 Tablet General] markusmuster:
No, not yet. But a quick view inside this archive shows me that it is trying the same things as RICDefeat and others. "modulecrcpatch" tries to patch the kernel module wp_mod.ko with crc checksums of another module.

By the way: How could XZDualrecovery solve my problems?

In one of the initscripts (it was init-sonyplatform.sh if I remember correctly) Sony enables RIC with "write /sys/kernel/security/sony_ric/enable 1" at some point. And as far as I know this disables to mount /system and / read-write. Correct?

So if I'm right there are two possible ways:

1st: Disable RIC, either with wp_mod.ko or "manually" within in a init script

2nd: Use another kernel with no RIC compiled in.

A recovery just can temporary disable all restrictions to install something into the original system that disables RIC at some point in the boot process.
[Xperia Z2 Tablet General] Stevie T.:
Sorry, 'bout this - but I'm a little bit confused.

The File (#1 Post)

is: Flashable_SGP511_23.4.A.1.232_R3C_Cu…9_by_kulvertti.zip

SGP511

?

I'm using SGP521 - is it a correct version ?
[Xperia Z2 Tablet General] kulvertti:
Nope. Use my friend [MENTION=3577628]Bird40[/MENTION] version for SGP521.
[Xperia Z2 Tablet General] Stevie T.:
Thanks a lot
[Xperia Z2 Tablet General] BabelHuber:
Good tip :good:

Flashing recovery solved this issue for me (came from CM12.1)
[Xperia Z2 Tablet General] T-junk:
I have something worth mentioning I think, when you use the latest Stagefright Detector app from Zimperium (version 5.0), it will show you there is 1 vulnerability left open which is the CVE-2015-6602 one from Zimperium's Stagefright library.

This CVE is part of what is also known as 'Stagefright Part 2' which is related to mp3/mp4. The other one which was introduced, CVE-2015-3876 is fixed as far as i can see in this .232 firmware.

Hopes this clears up some assumption and implications for you people.

As always, don't kill the messenger > blame Sony. (Boss-like in locking stuff down to the bone, sueing people when they get hacked. But unable to 'fix' a couple CVE's which blows their complete mobile device line-up.. (That's! -Only Sony- Make. Believe.)
[Xperia Z2 Tablet General] BDesignSM:
My question is...

Hello, excuseme for my question, but what R3C and customized CE4 does mean?

By the way Im trying to root my Z2 tablet and I saw it is impossible by one tap, so if

I use yor files it could get the root?

Thank you for your time and this interesting post
[Xperia Z2 Tablet General] kulvertti:
R3C means customizer's revision. CE4 means Central Europe. For rooting your device see post #152.
[Xperia Z2 Tablet General] BDesignSM:
Thanks!!
[Xperia Z2 Tablet General] D€INOS:
I have an issue with Adaway being unable to write a host file after flashing this rom, it worked fine in your earlier releases of lollipop. Clean install no other tweaks, I hoped the permission fixes that was posted would work but nope, it solved the issue of write access to my sdcard though.
[Xperia Z2 Tablet General] kulvertti:
Try if reflashing XZDualrecovery again via TWRP can fix your problem. If trying latest release candidate version (2.8.22) remember to flash XZDR-removaltool first and before rebooting your device flash latest flashable XZDualrecovery. You can find all files mentioned here: http://nut.xperia-files.com/