yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Android Development] _Sherrif:
Verify everything Proboarder2712 stated. I agree aounds like either you have a bad download or you are suing the wrong TWRP version. Here is the link to get the proper TWRP https://xdaforums.com/xperia-z2-tablet/development/7-x-x-carbonrom-cr-5-1-t3654983 it is in the first post about halfway down, can't miss it.

Since you said noob, the

wifi only is castor_windy and the lte is castor.

Hope our suggestions helps...
[Xperia Z2 Tablet Android Development] fribriz:
Privacy Guard is hanging & sometimes causes reboots. Is this common with the rest of you?
[Xperia Z2 Tablet Android Development] Ulfsark:
I got it working by putting a new copy of the rom and gapps on a sdcard, tried adb sideloading first but that failed.

Happy days now, just got that annoying audio FX stopped working (edit:fixed). Searched the thread and there's a new build coming which fixes it.

Many thanks again for swift and great advice :good:
[Xperia Z2 Tablet Android Development] kueppert:
Has someone the same problem then me? Front cam is not working correctly. The picture is flickering. Someone knows what to do here?
[Xperia Z2 Tablet Android Development] Godecki:
Why isn't face unlock avalaible via Smart lock?
[Xperia Z2 Tablet Android Development] _Sherrif:
I have never even seen an option for face unlock. Did Nougat have this option? I use a pattern to unlock and have never noticed FACE recognition in 8.1 or even in Nougat.

.

I may be mistaken, but i don't think it is available for us.
[Xperia Z2 Tablet Android Development] Godecki:
Well, I've been using it when I had official Sony software. Such a pity it isn't avalaible now! But I enjoy patterns that are bigger than 3x3 :)
[Xperia Z2 Tablet Android Development] Ferevat:
hello, thanks for your work

I tried to flash boot.img but i get an error remote: size too large, does anyone have an idea ? thanks
[Xperia Z2 Tablet Android Development] _Sherrif:
help us help you.. More details are needed, what ROM you coming from, you on the latest FW for Z2 tablet, build being flashed, Root method used, System modules flashed i.e XPOSED,gapps flashed, etc. the more info we have the better chance someone can help you...
[Xperia Z2 Tablet Android Development] Ferevat:
thanks, well i haven't done much, it's ont the lastest firmware from sony, i just followed instructions on a another site to unlock bootloader, which worked. the next step on this tutorial was to flash boot.img

i have a z2 tablet wifi, not rooted, not anything, it's the first time i experiment anything on it

sorry for my lack of knowledge, and thanks again
[Xperia Z2 Tablet Android Development] Ferevat:
i'm ashamed, it appears i clicked on the wrong download button, everything is working now since i have the right files, thanks again for your help
[Xperia Z2 Tablet Android Development] _Sherrif:
Ok, i am assuming you have the latest TWRP for castor_windy (WIFI MODEL) installed? If not here is a link; https://drive.google.com/drive/folders/0BwBZlgiV0lNiQmo1c1VHakVJcUE use the 3.2.1 version. This will need to be fastboot flashed.

If needed instruction for TWRP & boot.img flashing >

1. get tablet into bootloader mode (FROM POWERED OFF HOLD THE VOL UP BUTTON THEN PLUG IN THE USB TO YOUR COMPUTER. THE LED WILL TURN BLUE) it may be vol down, been awhile.

2. Once in download mode, go to your computer and open a CMD PROMPT (from your adt-bundle folder, open sdk folder then hold the SHIFT BUTTON and RIGHT CLICK PLAT-FORM TOOLS and select Open CMD prompt here).

2a. I always put the items i want to flash/install in the PLAT-FORMS tools folder as this is where the CMD prompt is pointed to and prevents having to CD everywhere. Your choice though.

3. when cmd prompt opens enter: "fastboot devices" to ensure you are connected to the device, should see fastboot and id, if good then enter "fastboot flash recovery recoveryname.img. The recovery name should be the name of the TWRP img you are flashing.

4. Now with TWRP installed, fastboot flash the boot.img, (fastboot flash boot

boot.img

) if you change the

boot.img

name to something else, be sure to update the name. NOTE: be sure not to remove the boot.img from the original ROM zip just get a copy from the ROM zip. FYI-7z makes this process very simple.

5. After flashing boot.img and TWRP.img then enter fastboot reboot in the cmd prompt. During the boot up start pressing the vol up button when you see the SONY logo, The LED will turn orange and boot into TWRP.

6. From TWRP install the ROM, the GaPPS-if wanted, and a Root Method-if wanted. Then reboot and setup.

If it is still not booting up you may not have updated your FW. The newest FW will show the SONY logo in the center with XPERIA at the bottom centered, the splash screen immediately before the bootanimation starts. If you need to update your FW you will have to use FlashTool. THere is a forum thread about FlashTool. I also have the program and the most current i can find FTF in the link above with TWRP img, you will just need to look around for it. FYI - feel free to use anything in the link above, it was shared with me so i always re-share.

Hope this helps.....
[Xperia Z2 Tablet Android Development] lordramex:
Managed to install, but I have a problem - when ever I start to play anything related to audio pops up a message "AudioFX has stopped". Actual audio is playing and works, just need to tap on screen to get rid of message.

Error mesage:

imgur.com/a/uXNm8"]https://imgur.com/a/uXNm8

Image of system settings, have no idea how to create some log or something that might help to troubleshoot the issue

imgur.com/a/duZxf"]https://imgur.com/a/duZxf
[Xperia Z2 Tablet Android Development] Proboarder2712:
Anwsered multiple times including 3 pages ago. I'm not trying to be a **** but please try searching the thread before posting :)

I'm guilty of it too.
[Xperia Z2 Tablet Android Development] lordramex:
sorry, my lame fingers somehow mistyped the search term, I guess :(

and thanks for info
[Xperia Z2 Tablet Android Development] :
Yeah it broke yet again :(. Basically, I arrived home a few days ago and when I went to turn my castor on, nothing happend, However I did get a red light when plugged into usb, I had a chat with soon and he says its a BL panic which I think may be related to moisture damaging hardware. But I still might be able to get another castor as a family member had one that i think she broke digitiser of so I will contact her. Anyhow I'll still try to provide builds :)
[Xperia Z2 Tablet Android Development] kueppert:
A few days ago I had the same problem again... They sometimes occurs. Was with the old original firmware the same. I than let it without power 2-3 days and then plug the power cable in. I think it is a normal problem with Sony Xperia tablet z2?!
[Xperia Z2 Tablet Android Development] :
Hmmnn, maybe be able to save it still then! Though it didn't work today either
[Xperia Z2 Tablet Android Development] Proboarder2712:
One thing I had noticed when installing your ROM the first time.... I either flashed a corrupted boot file or the wrong twrp or both but I was getting the same thing of the bootloader being the only thing which would load up. I'm not trying to say you're dumb by asking but does fastboot work for you? I'm curious if your boot image was somehow corrupted.
[Xperia Z2 Tablet Android Development] kueppert:
Opendata, have you been able to start your tablet again? If not I can eventually translate the text from German to English where I found the steps to get my sgp512 work again...
[Xperia Z2 Tablet Android Development] firefox-58:
Had tried to remove AudioFX via Titanium backup. System does not boot afterwards :(

HOW have You deleted the app? Directly with a file manager?
[Xperia Z2 Tablet Android Development] firefox-58:
Another issues with latest build:

- Loading in the dock is a w f u l l y slow!

- If the tablet is in the dock an loads every hour the screen wakes up and do not go to sleep again. I can send it to sleep with powerbutton, but this repeats nearly every hour.

-AudioFX can not be deleted via crdroid settings / system app cleaner. You can select AudioFX and press the waste basket. But nothing goes deleted.

Is there any problem with deep sleep in the latest build?

AFAIK these problems do not exist with older builds from february.
[Xperia Z2 Tablet Android Development] Proboarder2712:
AudioFX normally deletes with Titanium. Not sure why yours wont.
[Xperia Z2 Tablet Android Development] firefox-58:
Hi,

deleted the APK with total commander and successfully restarted the Tablet

All OK so far now
[Xperia Z2 Tablet Android Development] Freedomalfa:
is auto rotate fixed in last version ?
[Xperia Z2 Tablet Android Development] _Sherrif:
Auto rotate works fine for me. I will say i did have one time when my CW-Tab got stuck in Portrait and would not go to Landscape. What i did was put the tablet in Auto-Rotate or Landscape, the opposite of what it was, get to landscape and lock it in. Then i did a reboot and put to auto and have had no more problems. Not sure if this fixed the problem or mine was something all together different but have not had any more issues with auto rotate. Worth a try if having issues with auto-rotate.
[Xperia Z2 Tablet Android Development] :
good news! i am going near my relatives near the end of june and he has agreed to give me his broken screen castor, however a new build should be tommorow
[Xperia Z2 Tablet Android Development] smoschi:
Hey guys,

I got a new spg511 with original firmware (6.0.1), so i need some infos: Can i flash this rom directly after i unlock bootloader? Or i have to flash rooted 402 firmware at first?

Thx
[Xperia Z2 Tablet Android Development] fribriz:
I flashed directly after unlock from 5.1.1 stock. So what do you think?

Most importantly, flash bootloader and the correct twrp first.
[Xperia Z2 Tablet Android Development] fribriz:
Will you build an update with QC 2.0 as in Sirius?

Thanks.
[Xperia Z2 Tablet Android Development] :
Yep, but due to the fact that I found more bugs on Sirius (also apply to castor) that I only just fixed (music on SD, offline charging, and Instagram issues) I don't have time to build today,BL there will definitely be a build tommorow, unless any more bugs come along:D
[Xperia Z2 Tablet Android Development] t_bone77:
I have a similar Problem. I use Firefx and have graphical errors and firefox crash every 5 minutes

version is: RR-O-v6.0.0-20180325-castor-Official.zip
[Xperia Z2 Tablet Android Development] romeo_coi:
[MENTION=7796065]opendata[/MENTION] thanks for your hard work to keep our devices up to date :good:

As I can see your castor is running android P? Have you ever try this build with 3.x.x kernel to test if it's stable enough for a daily use? :p. And what do you mean with "fully supports treble"? Because AFAIK all we need is re-partition the tablet for a new /vendor partition in order to get treble support, it doesn't depend on kernel version (or at least 3.x.x kernel still good for treble support).

Hi guys, do you have quick charge working with the last stable build? QC 2.0 was working flawlessly in stock Sony fw: Ampere apps shows 2.5 ~ 2.9A, but in RR (I tried february builds) and latest Carbon builds it doesn't work (I haven't tried LOS yet). All I can get is about 1.2A, it's somehow annoying since I need to turn off the screen and wifi to shorten the charge time.
[Xperia Z2 Tablet Android Development] :
New builds are now uploading, these should have QC 2.0, switch to intelliplug by default aswell as hopefully having offline charging fixed
[Xperia Z2 Tablet Android Development] _Sherrif:
New builds for Castor & Castor_Windy are up on the site. Grab'um while there HOT!!!!

Thanks again opendata...
[Xperia Z2 Tablet Android Development] bacon612:
im getting setup crashing with a clean flash on my castor windy. What date and build of open gapps is everyone using to get this to work?
[Xperia Z2 Tablet Android Development] _Sherrif:
[MENTION=4429707]bacon612[/MENTION],

I used the 12-30-16 PICO Gapps. Did not have any issues. If you need or want to try those Gapps let me know by PM
[Xperia Z2 Tablet Android Development] bacon612:
Thanks for that. Ill play around. I got used to the LOS builds having the navigation buttons on the left side of the screen rather than centered. I checked in the settings to see if I could move them but didnt see an option. Am I missing it or is it not possible?
[Xperia Z2 Tablet Android Development] bastard79:
im have the same issue, two buttons are on left and on on right :/ - for now back to AICP
[Xperia Z2 Tablet Android Development] i_am_root:
Hello Everyone.

Nice to finally see RR for the xperia z2 tab. Tried to flash the LTE (castor) version and failed. Don´t know why. When I boot the first that greets me is a message saying the system stoped working. After that I select my language, tip next. This is where I get stuck, beacuse usually one is asked to log in to the wifi. Not this time. After the language the setup wizard asks if I want to backup from any other device or not. No matter what I choose, the setup wizzard crashes and sends me back to select the language.

Actally flashed many times, trying only RR, boot, boot to TWRP, flash gapps, boot, ending in fail. Flashing RR, gapps, superSU, boot, fail. Flashing only RR, boot, fail. Before flashing of course wiping data/ system/ dalvic/ cache. Can´t figre out what I am doing wrong.

I know it has nothing to do here, but I am only mentioning beacuse there might be something to it. Flashed AICP N and it worked.

Tried to flash LOS 14 (on another device) and I got the exact same error pattern. This RR is based on LOS as far as I can see.

Am I doing something wrong? :confused:

Would appreciate help because I know RR ist nice.

BTW: why has RR a 3.4 kernel and AICP 3.10?

No, I am not a pro dev. Actually this is the first post, so dont hate too much.
[Xperia Z2 Tablet Android Development] :
You need to redownload gapps and i use 3.4 because linrage uses it and the camera quality is better also a new build wich fixes lte will be up today

its not possible

castor is broken a fixed build is being built
[Xperia Z2 Tablet Android Development] kueppert:
I had the same problem... After I flashed TWRP 3.0.0.0 and then flashed the ROM again, I got a failure message, but I restarted my tablet and after that everything worked fine for me. I don't know if the old TWRP was the solution

Ps: before I used TWRP 3.2
[Xperia Z2 Tablet Android Development] bam80:
Hi, thanks for the ROM!

Does this ROM goes Deep Sleep while charging? If not, can this be achieved?
[Xperia Z2 Tablet Android Development] :
A updated castor version has been uploaded and it should work fully now, it also contains the may security patches.
[Xperia Z2 Tablet Android Development] madbehaviorus:
Can i dirty flash the New Version without problems?
[Xperia Z2 Tablet Android Development] :
I only have wifi (windy) so I'm not certain but it might work.
[Xperia Z2 Tablet Android Development] DiLeon:
Bluetooth and WiFi keep being disabled and cannot be switched on. Tested on fully wiped SGP521 (castor) with just the rom installed.
[Xperia Z2 Tablet Android Development] :
I think there's an option to disable that in settings ?
[Xperia Z2 Tablet Android Development] DiLeon:
Of course I tried to enable both of them but that's not possible. You can move the slider to the right (on position) but in both cases the activation fails without any error showing up and the slider moves back to the left
[Xperia Z2 Tablet Android Development] PVL_93_RU:
So you're saying that WiFi is broken in the latest build from May 2nd?
[Xperia Z2 Tablet Android Development] DiLeon:
Yes, at least for the castor build (SGP521). Fully wiped and flashed without having installed gapps or supersu on top. No Wifi, no Bluetooth - only LTE working
[Xperia Z2 Tablet Android Development] PVL_93_RU:
Well that's where the problem lies most likely
[Xperia Z2 Tablet Android Development] DiLeon:
No, gapps don't add any hardware functionality. That's part of the rom. But: during the 1st try, I've installed gapps. Same result. Did you test it yourself? Is it working for you?

Would help if somebody else with a castor device would give some feedback.
[Xperia Z2 Tablet Android Development] PVL_93_RU:
I've had cases when flashing an AOSP ROM without flashing GAPPS resulting in wireless connectivity broken (while the mobile data worked as intended), so my advice to you would be try and flash the ROM and GAPPS in one sweep

Also, [MENTION=7796065]opendata[/MENTION] can you please state and provide a link to which recovery exactly do we need to flash? I've tried flashing the boot.img from the ROM zip and then the TWRP 3.0.0.0 provided by [MENTION=5621191]rcstar6696[/MENTION] and it results in the recovery not being able to access the system partitions (can't get the read-write access for some reason)
[Xperia Z2 Tablet Android Development] :
You need to flash the one extracted from the rom, try wiping the system partition
[Xperia Z2 Tablet Android Development] :
Yep, was running p before it broke, this wouldn't work on a 3.x.x kernel because with this I am using the open source graphics driver - freedreno along with a lot of other open source things (makes porting p way easier) that are blobs on stock, these open source things, however require the use of a newer kernel.

With trebel basically, all the blobs are hard coded to load their files from /system Which makes it very hard (100+ blobs) to do . However with mainline all the drivers are open source so I can easily change them to load from vendor.

As for partions I am currently using the cache partion as vendor and the actual /cache is now bind mounted to a dir in /data, this saves you from repartitioning which would probably brick your device.

When I get a new castor I'll look into releasing my android build so people can try it out.

Edit: you just make me look into doing trebel with 3.4, let's just say I'm looking into it and have managed to do a small amount of blob editing already
[Xperia Z2 Tablet Android Development] kiney:
I'm getting error 7 in new castor windy build
[Xperia Z2 Tablet Android Development] :
Are you using the latest twrp 3.2.1
[Xperia Z2 Tablet Android Development] kiney:
Yes.

First I was in 3.1 then get the error. Then I install 3.2.1 then I get the error but this time it said that I have a Sirius, then I install Sirius recovery but same error as first time.

I redownloaded the zip and such and same.
[Xperia Z2 Tablet Android Development] :
If it says you have a Sirius that's why you need castor recovery
[Xperia Z2 Tablet Android Development] kiney:
But I have a Wifi only tablet and I have been installing castor windy builds all the time without issues. The only time it says I have a Sirius is with 3.2.1 recovery. With others they don't specify what I have, just give the error.
[Xperia Z2 Tablet Android Development] :
I mean you need castor windy recovery or just remove asster line from updater script
[Xperia Z2 Tablet Android Development] merlin_zaraza:
The same for me
[Xperia Z2 Tablet Android Development] fribriz:
Getting Error 7 as with others here. Device displayed as Sirius. Twrp 3.2.1-1 from your link in OP. Alternatives?
[Xperia Z2 Tablet Android Development] :
I wasn't even aware I had a link, use recovery in carbon thread
[Xperia Z2 Tablet Android Development] Indru:
Hello,

When trying to stream network video from either my PC or my WD Cloud via VLC for example, or ServiiGo, or any other app that allows video streaming from network, my Z2 Tablet suddenly reboots to recovery. Anybody has this issue?

In ServiiGo, I also get "AudioFX has stopped working" and "EasyCon has stopped working" prior to reboot. In VLC it simply reboots. I practically cannot watch video from network.

It started happening after I installed this ROM (Android 8.1 version). It was a clean installation.

I am interested in a fix as well as details from people having the same problem.
[Xperia Z2 Tablet Android Development] pintuxik:
There is a workaround for Error 7.

You should delete first 3 rows in META-INF\com\google\android\updater-script to skip device check.

Works for me.

I believe thats twrp bug ported from Z2(sirius).
[Xperia Z2 Tablet Android Development] kiney:
Using castor windy recovery 3.2.1 from carbon thread solved the problem for me.

Now flashing, let's see how's fast charging working :D

Thank you!!

Edit: is there something need to do for the quick charging??

Still slowly charging and also with magnetic charge which was charging fine before. Screen still turning on with offline charging.

Edit 2: well now for some reason QC 2.0 is working fine with USB cable. Maybe at first battery was too low. I'm so happy, less than 2 hours to full charge from 16%, before it would get the full day. Still screen turning on when offline charging but well, that's not a big deal for me. Magnetic one still slow.
[Xperia Z2 Tablet Android Development] :
Dmesg please
[Xperia Z2 Tablet Android Development] fribriz:
Yup, that worked.
[Xperia Z2 Tablet Android Development] Indru:
There are also issues with streaming audio from network. Tablet just shuts down.
[Xperia Z2 Tablet Android Development] _Sherrif:
[MENTION=4921566]Indru[/MENTION],

What app(s) / service(s) are crashing while streaming? I use Slacker and Spotify to stream music without any problem and use YouTube to stream videos time to time, again without problem. What app / service are you talking about problems with? Also, get a log so someone can look at, who can read them, and help pin point the problem.

Also, do you have any third party tweak apps like

XPOSED

installed? This maybe the culprit if you are using an Xposed app which is blocking connectivity.
[Xperia Z2 Tablet Android Development] Indru:
[MENTION=2694800]_sh[/MENTION]eriff:

VLC, ServiiGo. I am talking about network streaming, not YT or Spotify. Streaming from my personal server using VLC or any other app that has this capability.

No Xposed.

Where would I get the logs from? I'm a noob with this.
[Xperia Z2 Tablet Android Development] Michel_Ney:
Hi

Short question : i did not find it in instructions: is it necessary to unlock the boot loader?

I am assuming it is not necessary, because not in instructions... But I sm not sure...

Thanks for answer

Martin
[Xperia Z2 Tablet Android Development] romeo_coi:
I can't believe we will have P builds too early. As for treble, I saw some devices have useless /cust partition (Huawei, Xiaomi...) which can be used as /vendor but it's so impressive to know you used /cache partition, I'm not a dev so I can't understand all of the steps you have done, it looks like you have modified the recovery to support new partitions?

P/s: What a bad luck, right after my above post, my windy suddenly restart and turn off itself at 75% off battery. Now it's completely dead: not charging, no LED blink, neither buttons combination nor red button work ... All I can do is wait for the battery totally drain out to zero, then see if it'll able to recharge and start.

Edit: For treble with 3.4 kernel, even if it will working fine with all the edited blobs (so we will get the P sooner), personally I think it's better if you keep your working on the new kernel :).
[Xperia Z2 Tablet Android Development] alex_37_Spain:
I am very happy with 25-mar compilation and everything work ok... Would you update anymore?? Log with changes??
[Xperia Z2 Tablet Android Development] :
I did update a few weeks ago
[Xperia Z2 Tablet Android Development] alex_37_Spain:
Updated! Everything working fine :o
[Xperia Z2 Tablet Android Development] :
https://lh3.googleusercontent.com/-...0/Screenshot_Treble_Check_20180520-200638.png coming soon to a tablet near you - this time with more features
[Xperia Z2 Tablet Android Development] grensman:
Does this room support HD from Netflix, or will I need to by a new tablet for that to work?
[Xperia Z2 Tablet Android Development] :
Yeah, it's a known issue, I'll look into it

Yep, hex edited everything to load from vendor and used cache as vendor, will test gsis once systemui works
[Xperia Z2 Tablet Android Development] FateZero:
Fixed
[Xperia Z2 Tablet Android Development] firefox-58:
Loading with USB cable or the dock is awfully (6-8 hrs) slow. Power Supply is the original SONY delivered with the tablet

Any hints ?