yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet General] kulvertti:
Well this is Sony stock rom with root and custom recovery. Nothing else is changed. What custom rom you try to install? Maybe editing install media solves your problem? Can you post your build.prop file so I can see if there is something wrong?
[Xperia Z2 Tablet General] dex9mm:
Yes I have tried the option of a different player but no change couple of vids and the problem creeps back

busybox installed

Adaway and xposed but no mods to YouTube or anything that should interfere with it

MX player and vlc work elsewhere

Also why does it work then fail
[Xperia Z2 Tablet General] markusmuster:
The one and only workaround is to boot into recovery, clear cache partition only and reboot into system. That helps for some time. Also always exit YT completely, even in the app-history. This also gives you some extra time...

But in fact this is a really really annoying bug, fortunately not only on the Z2tab, also on some Nexus 7 and 10 devices and some Samsung ones... I wish the bug is gone in 6.x....
[Xperia Z2 Tablet General] kulvertti:
OP updated. Added latest 23.4.A.1.264_R3C firmware which this time is Customized IL. Have a fun.
[Xperia Z2 Tablet General] T-junk:
Nice nice, thnx kulverti :)

Can you post a screenie from the Stagefright Detector app from Zimperium? By then we can see if Sony (finally) smushed Stagefright completely, or well.. they still try to make us happy with an empty bag where just sits air inside. :)

Thnx in advance Kulverti.
[Xperia Z2 Tablet General] kulvertti:
Sure I can. It´s fixed.
[Xperia Z2 Tablet General] AforAnonymous:
So. I have an M4 Aqua E2303 here that is having the same exact OMX issues as [MENTION=869030]markusmuster[/MENTION]

And the same issue as [MENTION=6583999]yuzhengwen[/MENTION] has here, on a Z3:

http://xdaforums.com/z3/development/d6603-23-1-1-28-t3102271/post63126965

NuPlayer vs. AwesomePlayer make no difference, video works after wiping cache & rebooting - for a while. Eventually it stops working again. If you trick the YouTube app long enough with spamming, you can get it to play videos at 144p quality, but that's it.

The Z2 Tablet and the Z3 have nearly the same chip SoC (MSM8974AB and MSM8974AC respectively) and the same GPU (Adreno 330). The M4 Aqua on the other hand has an MSM8939 with an Adreno 405.

I've found various references when googling this indicating that this can be caused by incorrectly starting multiple HW decoding streams at the same time. Just google "Comp Init Returning failure, errno 12" and "FAILED to allocate omx component 'OMX.qcom.video.decoder.avc'" and you can find quite some information on this including quite a few bugs in apps like e.g. Firefox causing this behaviour.

I suspect there's a bug in the Sony ROM here (HW-specific bug is unlikely due to the M4 Aqua having a different SoC & GPU, although also QCom) that is exposed by /some/ apps calling the video decoding incorrectly. This shouldn't break video playback in all apps, though, so this is probably one bug causing another bug. In addition, Sony has some weirdo bug when it comes to updating YouTube that you can't bypass unless you're rooted. I suspect it might be related, see my post here:

http://xdaforums.com/m4-aqua/help/update-youtube-app-m4-aqua-uninstalling-t3257663

Anyone have any idea wth is going on? Maybe we should start a new thread on this in the Sony Xperia cross-device forum...
[Xperia Z2 Tablet General] yuzhengwen:
Indeed its a bug in Sony's Rom that I hope will be fixed in Marshmallow. Meanwhile, OGYouTube is the way to go.
[Xperia Z2 Tablet General] kulvertti:
Happy holidays to everyone. Have a nice peaceful time with your family. Seeing you hopefully next year with some updates.
[Xperia Z2 Tablet General] Gormsen:
Happy Holidays to you too. Thanks for all the work you've put into keeping us updated and rooted through this year :)
[Xperia Z2 Tablet General] fleckdalm:
Thanks for your great work and happy holidays! :)

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] Roter_Freiherr:
Dear All,

I got a very nice Christmas present: a Sony Z2 tablet sgp511 23.4.A.1.200 5.1.1 :)

Should I have to downgrade to install your zip file?

Thank you
[Xperia Z2 Tablet General] kulvertti:
Congratulations. This is indeed nice device. To install this you need root and custom recovery (TWRP recommend). As far as I know you can root 5.0 firmware correctly but not 5.1. So if you already have 5.1.1 firmware without root and custom recovery, you need to downgrade to rootable firmware.
[Xperia Z2 Tablet General] basic086:
Btw, I wanted to know your opinion : Do you think that stock 23.4.A.1.264 feels a bit slower compared to the latest CM12.1 nightly ? I've noticed that Cyanogenmod feels snappier all around.
[Xperia Z2 Tablet General] kulvertti:
It´s been a while since I was on CM so can´t really compare.
[Xperia Z2 Tablet General] basic086:
I've done a little experiment and here are my results :

-On Antutu scores, stock 23.4.A.1.264 has a score of around 49000 whereas CM12.1 has a score of 54000.

Sony must have CPU optimisation and thermal throttling set in early in their kernel, because under heavy load, stock rom will stay at around 45°C, whereas CM12.1 will go up to 50-60°C.

-I've fully charged my tablet, and it took around 1H20min of screen on time to get to 90% on stock rom, whereas on CM12.1, it takes around 40-50min to get to 90% battery life. This confirms the impact of the CPU management in CM12.1 on the battery.

-I've noticed that Bravia engine actually enhances the screen quality, making images and videos somewhat sharper on stock rom vs CM12.1.

Overall, all of these results made me stay on Stock :D

Thanks [MENTION=5032335]kulvertti[/MENTION] for bringing an easy to flash stock rom package for our Tablet Z2 :D Looking forward your Marshmallow package once Sony decides to hurry up a little ^^
[Xperia Z2 Tablet General] SANGER_A2:
Thanks very much again. But I think the link didn't get added properly.
[Xperia Z2 Tablet General] kulvertti:
Yes. Need to upload the zip file first. For some reason upload speed was not what I´m expected this time.

but now, OP updated with the first firmware update from Sony to this year with the link. Tough this is still android version 5.1.1.
[Xperia Z2 Tablet General] SANGER_A2:
Works great now thanks. I'm happy with android 5 still! I won't be installing 6 for a while after it comes out as there are bound to be lots of broken bits! ?
[Xperia Z2 Tablet General] melltuga:
I just got myself a (used) Z2 tablet, and have to say - thank you so much for your work. It's really appreciated (:

Edit: Quick question though: Just to be sure, can I just flash this in FlashTool, without doing anything else?
[Xperia Z2 Tablet General] kulvertti:
Thank you for your kind words. You need custom recovery (TWRP recommend) to flash this.
[Xperia Z2 Tablet General] wirelesskebab:
just thought I'd mention, the difficulties you are having with could not read /data/mediadrm/IDM1013/ay64.dat2 are related to winvine. Unfortunately windvine has stepped it's game up and is really ruining the party everywhere. I can't even have a custom recovery on my device without netflix crapping out, work arounds only provide standard definition content. hdcp content will be an issue when windvine is involved with custom anything.
[Xperia Z2 Tablet General] kulvertti:
Op updated. Added new marshmallow stock firmware with root and twrp custom recovery. This is major update and it may not work without full wipe. So make nandroid backup. Go to twrp do full wipe. Flash new firmware and reboot. After that you can go to twrp and restore your data from backup. Enjoy.
[Xperia Z2 Tablet General] WarCow:
Great job, I was waiting for you to post this :) Did a full wipe before installing and everything seems to be working fine. It was a little weird with that foreign language on the first startup though..i think it was Hebrew? :P

Btw, remember to change the post title ;)
[Xperia Z2 Tablet General] kulvertti:
Thank you. It is Hebrew because this is IL firmware this time. Also thanks for remind me about title.
[Xperia Z2 Tablet General] BabelHuber:
Thanks, just have tried it out, works well so far. The only really weird thing is that Dualshock 3 controller support has been removed :eek:

Of course this is Sony's fault, but I 'd like to get this back...
[Xperia Z2 Tablet General] CAL7:
Thanks, kulvertti. It seems only you have the love for this great tablet. One question: What version of Xposed works with MM?
[Xperia Z2 Tablet General] kulvertti:
It is SDK23.
[Xperia Z2 Tablet General] dex9mm:
So installed without a wipe just dlcavik and cache booted fine back up recommended as always

Booted fine really like the notifications tray
[Xperia Z2 Tablet General] dex9mm:
Lost the recovery though with the flash any advice on how to get it back
[Xperia Z2 Tablet General] szyslak4321:
I was able to get recovery back by flashing twrp 3.0 http://xdaforums.com/xperia-z2-tablet/orig-development/twrp-cwm-philz-recovery-collection-z2-t3052676 using fastboot.
[Xperia Z2 Tablet General] kulvertti:
I think might be good idea first to find out why you lost your recovery. For example if you have two twrp recoverys installed in different partitions of your device they likely conflict eachother. With this firmware twrp is also for LB and installed in "system" partition when with [MENTION=1372501]szyslak4321[/MENTION] suggestion it is installed in "fotakernel" and meant for UL (AOSP/CM). Sometimes busybox is the problem and not working correctly.

If you are on LB there is this:

http://xdaforums.com/showpost.php?p=66232079&postcount=376

if you want to try but maybe you want to start from scratch instead.
[Xperia Z2 Tablet General] dex9mm:
OK I might do like you say kulvertti

For my peace of mind should I just flash a ftf twice i.e. flash reboot flash again and just start fresh

My old xperia s tab seemed to be one partition was in use the other was flashed and then reversed with the reboot.

Here's where it gets strange every second reboot of the z2 tab on LP the boot noise/sound would be there and I know I disabled it in settings

My bootloader is unlocked so I'm not that worried but willing to figure out the reasons for the odd behaviour

I'll have access to a PC tomorrow so I can tinker with it then.
[Xperia Z2 Tablet General] asjstian:
Installed this right over 5.1 1, no wipe first.. Wiped dalvik and cache after, and everything seems to be running smooth ? Se there is a new option of remote share, but really was hoping for the new adoptable storage option here. Don't have it on my Z5 (root, 6.0) either, and tried a fix available for galaxy s7, but did not work for my phone. Think I'm gonna try on z2 tablet, and hope it will work there!

Anyhow, thnx a lot for the prerooted ftf!!

Edit: also installed xposed, and working smooth. It even ran LP version of gravitybox as I had this on my previous setup(have off course updated module to mm version now) ?
[Xperia Z2 Tablet General] CAL7:
Ditto and ditto. Many thanks to kulvertti!

Everything went well for me, dirty flashing over kulvertti's 5.1.1. Had a minor issue of exchange FC'ing that was fixed with a boot. The external sd card name change from "SDCARD1" to "exfat_uuid" caused a few hiccups, but were easily remedied.

If anyone has an idea how to implement adoptable storage, I'd appreciate any suggestions.

Edit: Add that I also flashed Xposed v82sdk23 and all my current modules updated automatically.
[Xperia Z2 Tablet General] fleckdalm:
Thanks a lot for your work on this tablet! :)

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] SeS85:
I like to build a separate ROM for my SGP512 to have the correct Model number in the device info ;)

Is there a reason that Nuts DualRecovery isnt used anymore or is the lastest Version still working although its based on the older TWRP 2.8.X.X ?

If DualRecovery doenst work anymore can you [MENTION=5032335]kulvertti[/MENTION] provide a .zip-File of the latest TWRP 3.0.X.X ? Cant find it :crying:

Thx in advance,

SeS
[Xperia Z2 Tablet General] psxan8:
Lost recovery as well...
[Xperia Z2 Tablet General] kulvertti:
At the moment Dualrecovery don't work on Marshmallow. To make everything work with your ROM you need little bit more than zip file with TWRP in it. However [MENTION=2822871]Wolfbreak[/MENTION] made flashable zip called RecRoot which combines TWRP with other tools to make it work with locked bootloader. You can find his thread in Z3 general section.
[Xperia Z2 Tablet General] SeS85:
Thank you, i found it! :good:

I'll try to include his RecRootV2.zip into my Rom with PRFCreator.

Greetings, SeS
[Xperia Z2 Tablet General] braulioacosta:
Hey, im unable to download the old SGP511 file, can someone confirm the link...

https://mega.co.nz/#!EdwQlbyI!Q4T1BQ...xfQBTY8aR2KEz8
[Xperia Z2 Tablet General] dex9mm:
Delete drivers were installed incorrectly
[Xperia Z2 Tablet General] tomtom72:
Works for me, excellent work. Thanks
[Xperia Z2 Tablet General] kulvertti:
Op updated and link should work now. Thanks for informing.
[Xperia Z2 Tablet General] kulvertti:
Sorry to hear. Could you share more information about what circumstances that happened. Locked or unlocked bootloader, another TWRP installed in different partiotion. Busybox you are using. All necessary files for TWRP still in you system etc.
[Xperia Z2 Tablet General] fleckdalm:
It seems that adaptive brightness isn't working anymore. The display always stays quite dark. Anyone else experienced this?

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] SeS85:
[MENTION=3309440]fleckdalm[/MENTION]: Auto-Brightness is not reliably working for me. Iam having that issue since i own the Tablet :confused:

I wasn't able to build a proper ROM for my SGP512, so i used [MENTION=5032335]kulvertti[/MENTION] 's ROM and flashed it right over my 5.1.1 ROMs with Cache/Dalvik Wipe and its working fine. Thanks! :good:

With my own ROM i got some wired bootloop: right after unlocking the Tablet via a pattern it restarted all the time. Thanks to a TWRP Backup I could handle that issue without much hassle.

How can i check where the Recovery is installed ? After the first boot with 6.0.2 and TWRP 3.0.2.0 the TWRP Manager-App said iam still using TWRP 2.8.2.0. After entering TWRP manually and rebooting, the App showed TWRP 3.0.2.0. However TWRP works, but i cant boot into Recovery using the Apps function "Reboot to Recovery". I have to shutdown the Tab and hold Vol- after powering it on. I like to fix that, any Ideas? :)

SeS
[Xperia Z2 Tablet General] psxan8:
Hello, I have a locked bootloader,Busybox 1.24.1 installed to system/xbin and had only twrp installed. I followed this trying to fix it with no luck though:

I actually did find and deleted the mm_twrp_folder and the chargemon file no taimport though. I'll have to do it from the beginning again
[Xperia Z2 Tablet General] Rusty_Gunn:
I tried to build my own and had the exact same problem. Recovered to an old version with flashtool. I did flash over lollipop, so that may of been the issue? Dont supose you ever found out where you went wrong in building your rom?
[Xperia Z2 Tablet General] NexusLush:
I did an in place upgrade and erased cache/dalvik. Tried to boot into recovery and ended up in a boot loop (would get to the swirly Sony background and then reboot). Got to recovery by holding down volume and power (or luck) saw twrp 3 and flashed again. It boots fine but I haven't tested recover since. One problem I have now is I can't write to my external SD card. Most apps see it as read only. Will check permissions.
[Xperia Z2 Tablet General] SeS85:
No i have no clue why my build failed that way. I build it the same way i did it for 5.1.1. Maybe the tools need an Update von 6.0.X...

After failing i used [MENTION=5032335]kulvertti[/MENTION] 's ROM and flashed it over my 5.1.1 ROM on the device.

Works fine so far, except i cant Backup with Titanium on my externalSD-Card because it says, that not enough storage space is free. But 40gb should be enough :D
[Xperia Z2 Tablet General] Rusty_Gunn:
i tried everything, some sort of security issue with the rom differs between 5 and 6. there were some alternate SU and recovery packages suggested in the PRFCreator thread that some were having luck with, but no luck for me, closes I go was booting, but very unstable. Went to a full factory recovery with 6. Would be nice to have root, but not the end of the world. Wait a bit until someone more knowledgeable than I sorts it out! :p
[Xperia Z2 Tablet General] thunder141:
You must create a new folder in Titanium itself with type DocumentProvider. You can then move your old backups in that folder. That works for me

Gesendet von meinem SGP511 mit Tapatalk
[Xperia Z2 Tablet General] kulvertti:
All of you whom lost TWRP recovery no need to start from scratch. Go here:

http://xdaforums.com/showthread.php?p=66493239

Download RecRoot v3 and run install.bat file via pc. Problem solved.
[Xperia Z2 Tablet General] kulvertti:
Nice to see you are making your own ROMs. To fix bootloop issua you have atleast two choises.

- With pc and Flashtool use your MM ftf -file and flash it by excluding "FOTAKernel", "Partition" and "System". In other words in "exclude section" tick these and don´t wipe anything. (Credits [MENTION=4302129]AlanDS[/MENTION])

- Or download "bootloop fix" from here: https://mega.nz/#!AJcwERiQ!FUmk6eS5aoVsFSZ1f4WZIELIt7sckPCj11n0AIdCNzU

(Credits [MENTION=599722]niaboc79[/MENTION] and [MENTION=5479767]machao44[/MENTION]) and flash it with TWRP.

By checking installing script and/or checking if you find "recovery.twrp.cpio.lzma" and other files with this install here:

/system/etc/mm_twrp_recovery
/system/xbin/busybox
/system/bin/chargemon

There might be problem with Stericson Busybox with this recovery so because this prerooted rom should install working one don´t use other one.

See my post #255
[Xperia Z2 Tablet General] NexusLush:
I don't know if I count as having "lost" recovery. When I tell titanium backup to reboot to recovery, it causes a loop. But I can get out of it by holding down volume down and power button to get to recovery. Not a huge deal.

The big problem I have now is the SD card being read only for many, many apps. I can't find a fix beyond "emailing the developers and telling them to update the app". I'd love to do the MM 6.0 Adoptable Storage, but it appears Sony has removed this. Do any of you know how to enable this? I bought a new external SD card to see if formatting a new one would give me the option.

---------- Post added at 12:37 PM ---------- Previous post was at 11:52 AM ----------

Sorry! Saw this just a few posts below, trying it now:

It won't let me post the URL, anyway, it's the one below about setting up an external SD card.
[Xperia Z2 Tablet General] redlabour:
RIC Defeat is missing in this Release. Help.....SD Card is not r/w anymore
[Xperia Z2 Tablet General] CAL7:
I seem to have full r/w. However, I admit to being totally confused about how MM treats the external sdcard. It's named exfat_uuid, which confuses some apps, but eventually seems to be findable and writeable.

Apps keep, newly so, asking permission to write to exfat_uuid but I just say yes and they all seem satisfied. Don't know what that's all about, but it works.

FWIW... I dirty flashed over kulvertti's 5.1.1 ROM, so maybe that helped getting r/w.
[Xperia Z2 Tablet General] redlabour:
No. I even flashed dirty. Even Titanium Backup and AppMgrPro cant r/w the old Folder. Cant be a error of Titanium and AppMgr. Anyway found RIC Defeat by myself. Doesnt help. SD Card is no longer completely r/w.
[Xperia Z2 Tablet General] NexusLush:
You need to follow the SD card thread below. I had the same issue but it works now.
[Xperia Z2 Tablet General] redlabour:
??? And how?? The Thread you talk about is only about Hybrid and Internal and not about External Use.
[Xperia Z2 Tablet General] NexusLush:
Basically, using an external SD card the way we have used it in the past doesn't work anymore. Technically it works, but it appears that very few apps are configured to properly ask for the new permission required for "read/write external storage" and unlike LP there is no way to change this at the system level. You can do hybrid storage or you can write to each app developer and beg them to update their code.
[Xperia Z2 Tablet General] randyradar:
Dolphin Browser stopped working

I just installed the latest firmware and it works fine but the Dolphin Browser isn't working. Any suggestions?
[Xperia Z2 Tablet General] kulvertti:
Working fine here. You could try to clear Dolphin Browser data and cache from settings app and reboot to see if that helps.
[Xperia Z2 Tablet General] redlabour:
WARNING: Don't force Sony Marshmallow Devices to use SD Card as internal Memory via ADB Shell. At first it seems to work. But if the normal internal memory is reached the Systems goes crazy because it scores the amount of available Memory at - and not in +. The ADB Shell Hack is only working correctly for Samsung and LG Devices!
[Xperia Z2 Tablet General] randyradar:
Dolphin Browser stopped working

Thanks for the quick suggestion. Unfortunately it didn't fix the Dolphin Browser problem. I even reinstalled the 6.0.1 firmware but that didn't fix the issue either. All other browsers work, so I am just not going to use Dolphin for now.

Just another input....I was using your 5.1.1 firmware prior to upgrading to 6.0.1. Everything worked just fine including the Dolphin browser. Strange.

Thanks,

Randy
[Xperia Z2 Tablet General] spider623:
thanks bro, i was going nuts not having a recovery lol, how you injected it into the kernel?

---------- Post added at 12:15 AM ---------- Previous post was at 12:14 AM ----------

they didn't update it, not sony's fault, also crappy on my nexus 6
[Xperia Z2 Tablet General] kulvertti:
For locked bootloaders you can´t modifyi kernel at all. So with this firmware recovery is installed on system partition.
[Xperia Z2 Tablet General] spider623:
I have unlocked bootloader lol, the way updates work now there is no reason not to have one
[Xperia Z2 Tablet General] chfauc:
****! :(

I 'm still waiting on the official OTA on my SGP511, and that's almost the only reason I wanted Marshmallow , the device has only 16Gb , just installed a quick uSD of 64Gb for expanding storage... scheisse, merde, mierda!

grrr :(
[Xperia Z2 Tablet General] NexusLush:
What are you basing this on? I have been searching around ever since you posted this, and can't find any evidence that backs up your assertion. I'm obviously concerned as I've done the shared storage and it has been working well so far. Where did you hear that this will eventually break on Sony products but not others?

---------- Post added at 11:54 AM ---------- Previous post was at 11:53 AM ----------

You can see my comment above. I combined my 16 internal with a very fast 128 card and am happy so far, but obviously concerned with what redlabour said.
[Xperia Z2 Tablet General] serjann:
kulvertti, friend. thanks for your attention to xperia firmware and what you do...

can u help us here http://xdaforums.com/showpost.php?p=66576007&postcount=76

i have on board sgp 512 flashed by flashtool http://xdaforums.com/showpost.php?p=66594206&postcount=5

Thx a lot
[Xperia Z2 Tablet General] kulvertti:
Thanks. Sure I can. Basically you can't directly root MM firmware. So you have to downgrade to rootable one with Flashtool. Since you have SGP512 you can use my rootable firmware from op and there is also link to instructions how to do it. After you have working root with read/write access to system install NUT's Dualrecovery. With working TWRP you can flash this prerooted MM firmware or make your own if you want to.

If you make your own notice that with MM firmware you can't at the moment use NUT's Dualrecovery because It is not compatible yet. Instead use [MENTION=2822871]Wolfbreak[/MENTION] RecRoot v3 from here: http://xdaforums.com/showthread.php?p=65856403. Last If you have bootloop issue with your ROM that you made see post #256 in this thread to see how to fix it.
[Xperia Z2 Tablet General] kulvertti:
Deleted.
[Xperia Z2 Tablet General] serjann:
Thank you very much for the quick response. With best regards.