yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Original Android Development] nicky-xda:
castor / LTE

Thanks alot for the newest version.

Unfortunately i get the error "com.android.phone" keeps stopping after an update from the version 04.2020 -> 27.05.2020.

After downgrading to 04.2020 no error..
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
In case this happens on clean flash without gapps as well, a logcat would be interesting
[Xperia Z2 Tablet Original Android Development] solved:
i don't have any issues ..

Castor/LTE, latest image - nano gapps - magisk , did a clean flash

calls working, kind of .. have to check the charging issue later

the only problems i see so far, is with firefox .. doesn't work really
[Xperia Z2 Tablet Original Android Development] hoktar83:
Hello everyone!

Unfortunately, moibil banking apps don’t work for me at all. I tried without MAGISK, with MAGISK, MAGISK Hide ... and many other variations. In each case, I checked the status with the "Root Bear Sample" program. In each case, it showed a different result. The following test points failed:

MAGISK with pure AICP 14 and 15 ROM: Test Keys, Dangerus Props

With MAGISK: Root Managed Apps, SU Binary, SU Exits, Root Native

With MAGISK and MAGISK Hide: SU Binary, SU Exits

Has anyone ever tried to perform a SafetyNet and Root Beer Sample check on AICP 14 and 15 ROMs?

What could be a good solution to run this ROM on your mobilbanking application?
[Xperia Z2 Tablet Original Android Development] :
I updated to AICP-q10.0_castor_windy_20200527_1149 yesterday. Unfortunately I'm still experiencing the bug where my screen turns to landscape mode when swiping up to open the recent apps overview..

Other than that it's a pretty solid rom. Thanks for keeping this old tablet up to date ?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Hm, this does not happen to me. Are you using the launcher that comes with the ROM, or another one (e.g. pixel launcher which comes with gapps)?

Are you using 2-button navigation or gesture navigation?

During testing what you described, I however found another bug, I wonder if it is related:

when using 2-button navigation, I can only enter recents by swiping from the edge that is bottom in landscape mode, no matter how I actually rotate the device and where the navigation bar is. I reported it to the rest of the team, since 2-button navigation is not a priority for me.
[Xperia Z2 Tablet Original Android Development] :
I'm using gesture navigation, but it also happens with 2 and 3 button navigation. I'm using the default Quickstep launcher.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
TWRP

I compiled a new TWRP which should work with encryption:

https://xdaforums.com/xperia-z2-tablet/development/recovery-twrp-3-4-0-castor-windy-sony-t4110865

I haven't tested it much yet, so feedback is welcome :)
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Hello,

New build has still the same - minor - problem with the screen switching to landscape when using the menu button on the right (castor windy)
[Xperia Z2 Tablet Original Android Development] schnuff*1:
Nice rom so far!

Only one problem: Camera/gallery does not save photos to SD-Card. Is this possible to solve for myself?

Thanks!
[Xperia Z2 Tablet Original Android Development] hunterb21:
dt2w

Hi,

how can i activate dt2w?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Settings / Display / Tap to wake
[Xperia Z2 Tablet Original Android Development] hunterb21:
oh thanks:good: - very simple
[Xperia Z2 Tablet Original Android Development] ze7zez:
I have damage on the motherboard. Bootloader is unlocked.

Fastboot and twrp work, but the system stops at Sony logo (stock rom) or boot animation (custom ROM) and reboot occurs.

Is it possible to disable the cores or reduce the processor clock speed in the twrp terminal in this ROM?
[Xperia Z2 Tablet Original Android Development] solved:
TWRP has nothing to do with the ROM , only a base to flash it.

Did u tried to flash AICP on your Device and now u stuck on the bootlogo?

What did u mean with "damage on the motherboard" ?
[Xperia Z2 Tablet Original Android Development] dazzingo:
Hi guys, been using this for a few months now (have installed 20200226 build) - noticed that when I hit the power button to wake the screen, half of the screen appears first then the other half appears a second later. It seems cosmetic/rendering - has anyone else seen this too? I don't have a screen lock, I can replicate this using swipe or no screen lock. It only appears when I first wake the device.

Thanks!

Darren
[Xperia Z2 Tablet Original Android Development] schnuff*1:
The same for me, but no further problen.
[Xperia Z2 Tablet Original Android Development] hunterb21:
I have another problem.

I turn off the tablet. When I turn it back on, only the Sony logo appears. The tablet does not start.

The only way is to start on the PC with USB and Flashtool and then click Reboot into System.

When i only restart then works fine!

My TWRP is 3.2.1!

My tablet does not start with TWRP 3.4.0.
[Xperia Z2 Tablet Original Android Development] solved:
when u stuck on the logo page .. did u tried to reset it via Power Button + Vol. up? maybe that will give ya a chance to restart

Did u reset the tablet after u flashed 3.4.0 ?

i mean , flash the twrp - then flash the custom rom and it should stick and work
[Xperia Z2 Tablet Original Android Development] hunterb21:
I tried. But does not work.

yes

I wanted to start TWRP to flash the image. However, I could not start TWRP.
[Xperia Z2 Tablet Original Android Development] flymetothemoon:
After flashing 3.4.0 it just reboots when I try to reboot to recovery. I am on CarbonROM (Android 8). TWRP 3.3.2.1 works fine.

Sorry, wrong thread! This belongs into the TWRP thread.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I uploaded new test builds. Nothing special, just a common sources update.

Since there seems to be the wish for official AICP 15.0 builds, but I haven't been using my z2 tablet much recently and I'm unsure how stable it actually is, I'd like to hear your opinion on whether it's ready.

If you tried out recent AICP 15.0 builds, it would be nice if you could participate in following vote: https://forms.gle/krngCEcnQ8kcxnaA7

Thanks!
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Thanks for the update, but the little flaw I already mentioned is still there.

When you want to switch between apps, the screen switch to landscape even if you are in portrait mode.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Yes, I started experimenting with it and will try to find a fix when I find time. It does not happen if you don't use swipe gestures and the "old" recents screen that you get e.g. by using a 3rd party launcher (in case you need a workaround).
[Xperia Z2 Tablet Original Android Development] lorisino:
Thanks!
[Xperia Z2 Tablet Original Android Development] Dior DNA:
[MENTION=6425591]SpiritCroc[/MENTION]

I had several popular XDA Android devices last decade ... but: I believe Sony Z2 tablet journey 4->10 might be a record distance (unless someone did better :confused:).

**CONGRATULATIONS** and thanks
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Official builds started

I enabled official AICP 15.0 castor/_windy builds, the first one should appear next friday.

In comparison to previous test builds, I also managed to fix the following:

- Recents screen rotating when having the screen in portrait orientation

- 2-button/swipe-up navigation in portrait orientation

- Delay to turn on the screen reduced by nearly one second
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
When you said next friday, you meant this one or next week ?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
For some unkown reason, the build server skipped the friday build targets, but we'll try to get you a build today instead
[Xperia Z2 Tablet Original Android Development] solved:
it's listed .. " aicp_castor_q-15.0-WEEKLY-20200718.zip " , *yay*
[Xperia Z2 Tablet Original Android Development] _Sherrif:
Has anyone been able to locate the INVICTRIX font apk on AICP 15? I add my personal fonts to the apk but have not been able to locate it on 15.

*These are the FONTS we select from AICP Extras
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Latest build fixes partually the screen rotation problem.

Now I'm not switching to landscape when toggling between apps, but I cannot use the tablet upside down.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
It works fine here.

Have you enabled "180 degrees" in Settings/Display/Auto Rotate Options?
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Yes every move is activated 0 90 180 270.

But the problem is elsewhere, in fact I cannot rotate at all my screen anymore...
[Xperia Z2 Tablet Original Android Development] borcky:
Fast BSS Transition (802.11r) not working.

Somehow Fast BSS Transition (802.11r) is not working on the latest release. I didn't test the releases before. Is it even enabled?

Full logcat after trying to connect to the network called "test-r": https://paste.momou.ch/?8a8518108fb4ccc9#EDvuphadAx9VtDdfE61Qb7Txg7PucxP8gnMnbATLA3XF

Could this be helpful?

07-26 11:18:01.969 412 412 W wificond: Copy constructor is only used for unit tests
07-26 11:18:01.973 412 412 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
07-26 11:18:01.974 412 412 W wificond: Copy constructor is only used for unit tests
07-26 11:18:01.979 412 412 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
07-26 11:18:01.982 412 412 W wificond: Copy constructor is only used for unit tests
07-26 11:18:01.985 412 412 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
07-26 11:18:01.988 412 412 E wificond: NL80211_CMD_TRIGGER_SCAN failed: Device or resource busy
07-26 11:18:01.988 1313 2121 E WificondScannerImpl: Failed to start scan, freqs=null
07-26 11:18:01.991 1313 2074 E WifiScanRequestProxy: Scan failure received. reason: -1,description: Scan failed
[Xperia Z2 Tablet Original Android Development] borcky:
Encryption not working as expected

Encryption (FDE, Full Disk Encryption) with enabled startup secret (passphrase,pin,pattern) is working on an ext4 formatted /data, even the new twrp is working this way.

But unfortunately, when disabling the startup secret (I have multiple users on the device, so I don't want to "share" the startup secret which is identical to the "owners" screen lock secret with the others), the devices fails to start up (bootloop).

Would enabling FBE (File Base Encryption) be a solution? Or are there other solutions?
[Xperia Z2 Tablet Original Android Development] Sbf93:
Is it save to dirty flash a official build over a previous test build or is it recommended to do a clean flash?
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
I dirty flashed without problem, apart from the rotation, which doesn't seem to be related.
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Problem solved after a reboot, very odd...
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Encryption is of no use if you can decrypt it without a secret. If you don't want to enter a secret during boot, don't encrypt your device.

I remember that back in the kitkat (?) days, there was a way to change the encryption password independently of the user login password - don't know if this is still possible somehow.

Dirty flashing should be fine.
[Xperia Z2 Tablet Original Android Development] ad_on_is:
Where can I get the recommended TWRP 3.3.1? I have Resurrection Rom installed right now, and would like to update. I flashed TWRP 3.4.0 but it keeps rebooting when trying to boot into recovery. I tried pollux TWRP 3.3.1, but the installation fails with the message: "This package is for device SGP..., castor; this devices is pollux.
[Xperia Z2 Tablet Original Android Development] Tunwin27:
Hi guys,

Good day.

Yesterday, I updated from Android 9(pie) to Android 10 Model SGP511.

I am having issue with cast(screen mirroring) since Android 9.

I did wirelessly connected to TV. And my tablet always restart itself. Is this known issue or I am only having this issue? Is there any issue with cast(screen mirroring) on Android 10?

Thanks Guys.
[Xperia Z2 Tablet Original Android Development] solved:
well, at first there is a 3.2.2 version of twrp for pollux

https://xdaforums.com/xperia-tablet-z/orig-development/ub-twrp-v3-2-1-xperia-tablet-z-t3735110

second , this rom is for CASTOR / CASTOR_WINDY Device .. so the Z2 Tablet not "Pollux", would be just Tablet Z .. i dont think it will work

[MENTION=6896348]Tunwin27[/MENTION] , u mean things like chromecast or xperia mirror sharing? i could check it out later
[Xperia Z2 Tablet Original Android Development] Tunwin27:
Xperia mirror sharing
[Xperia Z2 Tablet Original Android Development] L3ibnitZ:
Screen mirroring is working fine for me on Android 9 (aicp_castor_windy_p-14.0-WEEKLY-20200403.zip)

Have not tried Android 10 yet.
[Xperia Z2 Tablet Original Android Development] Tunwin27:
On Android 9, did you just connect? Or Have you play movie or play games something like that? Cos I tried watch movie it's restart itself. I tested three or four times same thing.
[Xperia Z2 Tablet Original Android Development] L3ibnitZ:
I did play YouTube videos ;)
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
About the rotation bug, it seems now that the screen gets lock in a position after some time (can't tell exactly how long).

The only way ro getvaround the problem is to reboot.
[Xperia Z2 Tablet Original Android Development] borcky:
That's why I'm asking for FBE (File Based Encryption, https://source.android.com/security/encryption/file-based). This way you can boot the device without secret. But I don't know how to enable it ... I think this has to happen on the rom side.

Unfortunately, in recent android versions it's not anymore possible to set an encryption secret independently of the user login password.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Hm, I think I experienced this once or twice in the past too (back on Android 9?), haven't found out why this happens yet, unfortunately
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I don't think I have seen any FBE backported to old devices like ours yet
[Xperia Z2 Tablet Original Android Development] ad_on_is:
Nevermind, I was able to install this rom with TWRP 3.2.2 (or 3.2.1). I thought that 3.3 was mandatory for installing, but it isn't.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I see I made a mistake in the flashing instruction, sorry!

Glad you figured it out :)
[Xperia Z2 Tablet Original Android Development] ad_on_is:
I don't know if this is just me, or some setting, but I'm experiencing some strange font-rendering issues in the app-drawer, which I was able to even capture on screenshot.

If you take a look at the row "Gmail - Magisk" you can see that the font is somehow disorted.

Happens only in the app drawer.

Tried Lawnchair 2 and same problem there.

I have 2 tablets, one being castor the other castor_windy, it happens on both.

When scrolling up/down the problem persists on the same row, so it doesn't seem like it's position-based or whatsoever

Sometimes the problem disappears while scrolling slowly, but as soon as I lift the finger up, it's there again.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
There were reports from sony z1 compact users who experienced the same (both on AICP and LineageOS), but to be honest, I don't even know how to debug this right now
[Xperia Z2 Tablet Original Android Development] stephenuk:
Won't connect to wifi, gives a list of wifi connections but after entering password it says failed to connect.
[Xperia Z2 Tablet Original Android Development] stephenuk:
Actually ignore last post. Works now after clearing data and reflashing rom.
[Xperia Z2 Tablet Original Android Development] mpunkt:
Confirming this bug in two Castor devices. Each cleanly flashed with latest AICP 15.0

Never had this problem with AICP 14.1
[Xperia Z2 Tablet Original Android Development] Bergfeex:
Battery is charging slowly

Hello and greetings from Belgium.

Maybe my question is asked earlier. But I have detected that my battery is charging slowly. Has someone else also this problem? Nevertheless, a lot of thanks for this ROM. Fine that my old Sony Tablet has gotten an upgrade.

Bergfex
[Xperia Z2 Tablet Original Android Development] pixbuf:
I just upgraded from AICP 14 to 15 but I can't find face unlock. It used to be there in 14, but now it's not. How can I get it back?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I can't remember having face unlock in AICP, was this maybe included in your gapps?

Either way, AICP won't add it (unless you find a good open source way maybe...), since a few ROMs already had their code being taken down because they used proprietary libraries without permission, if I recall correctly.
[Xperia Z2 Tablet Original Android Development] alfa_156:
hi i have a problem, when i turn off wifi and restart the black screen tablet. instead if the wifi is always on it works perfectly. is it the same to you? I apologize for the bad english i am with the translator. thank you
[Xperia Z2 Tablet Original Android Development] gquero:
Hi,

I recently revived my old xperia z2 tablet thanks to you using firstly AICP 14 and then AICP 15. I used recent gapps, magisk and all.

Today, i saw a notification for an update for AICP 15 so I clicked on it, downloaded, installed, all went well.

I noticed the boot animation was not the sameas before , used to be blue, now was yellow.

Until it restarted ... i now get constant Google Play services Errors, it kept my account and apps but I lost some config : no more widgets on the main page, no more app folders in the home screen bottom.

Is there something I can do to correct all that ? Re flash some new gapps ? Wipe everything and re install ?

Thanks for the help.

----------------------------

For those who may have the same problem : reflashing the gapps solved the problem, no need to wipe dalvik/cache

Thanks SpiritCroc for answering on the discord and letting us use our old tablet with up to date software !
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
An odd bug with latest build : I can't update Chrome, and it is the only app that has the problem.

Should I flash more recent Gapps package ?

Edit : and the rotation bug with the screen is still there
[Xperia Z2 Tablet Original Android Development] Lebannen74:
Hello,

Thanks for your work :)

I've installed aicp 15.0 on my z2 tablet yesterday (castor_windy / aicp_castor_windy_q-15.0-WEEKLY-20200925 - gapps - magisk) and I have 2 problems

1. On portrait mode, there is a lot of empty space on each sides.

Is the rotation bug ? is there a way to correct this ?

2. The safetynet check failed on "cts profile match" ? can this be corrected ?
[Xperia Z2 Tablet Original Android Development] Neppomuk_:
#2 You have the change finger print of you mobile. To do this load the magisk modul MasikHide Probs Config. Read the manuel how to select a working Finger Print. Don't forget the clear the storage of play service after change in apss to make change work.
[Xperia Z2 Tablet Original Android Development] Lebannen74:
thanks for your reply.

I don't find the value for Sony Z2 tablet in props.

I also search in AndroidDumps and firmware.mobi but i didn't find anything

does someone have the fingerprint ?
[Xperia Z2 Tablet Original Android Development] Neppomuk_:
Use the FingerPrint from Sony Experia Z2 D6503 (6.0.1)
[Xperia Z2 Tablet Original Android Development] Lebannen74:
it's working. thanks

for my knowledge, the FingerPrint from Sony Experia Z2 D6503 (6.0.1) is the same that for Sony Z2 Tablet ?
[Xperia Z2 Tablet Original Android Development] Neppomuk_:
Ehm, no. D6503 is the Experia Z2 CellPhone.
[Xperia Z2 Tablet Original Android Development] Lebannen74:
ok. better than nothing.

i will check if i can find the correct fingerprint pour Z2 Tablet
[Xperia Z2 Tablet Original Android Development] gquero:
I use the one from a Samsung Galaxy Tab 10.1, not sure if it is necessary but i wanted one marked for android 10.
[Xperia Z2 Tablet Original Android Development] AMGH1378:
Hi, I don't know if it's just me or not, but when I try to move an app in freeform mode, the app crashes (or even sometimes the device restarts) . Let me know if a log would help.
[Xperia Z2 Tablet Original Android Development] dex9mm:
So I have both castro and castor windy

Biggest request that I can ask is that can we get the same feature in a custom rom like this that is in the oem rom which is the shared storage function that is located in the storage section of the tablets oem rom it allows the tablet to see my shared hdd as a native folder this meant that it was seen by apps as been on the tablet

I would attach a screenshot but can't seem to upload a pic of what I mean

If somebody can point in the right direction of how to add this to a custom rom I am happy to learn cheers guys
[Xperia Z2 Tablet Original Android Development] Lebannen74:
hello,

I had a weird problem with the last version aicp_castor_windy_q-15.0-WEEKLY-20201009

The update removed Magisk and i was unable to install Magisk 21.0 again.

Everything was fine with TWRP but no root in Android.

Finally, I wiped Cache and ART/Dalvik and reinstall Magisk 20.4 and it worked.

After that, Magisk was updated to version 21 without problem and everything was back to normal.

If somebody has the same problem, you know what to do.

It seems that the updater failed to find Magisk Manager - the manager was hide - and then remove Magisk.

Any hope to fix it in futures releases ?
[Xperia Z2 Tablet Original Android Development] Lebannen74:
Hello,

same problem with last update 2020-10-16.

Magisk manager was not hide this time but root was still removed.

it seems related to the last Magisk 21.0 unable to install.

Can this be related to the changes between Magisk 20.4 and 21 ?

is it possible fix this problem ?
[Xperia Z2 Tablet Original Android Development] Dan Mornill:
Just to share that the rotation bug is present in every recent build, and appears after a few hours only (screen doesn't rotate any more).

Reboot is necessary to temporary fix it.
[Xperia Z2 Tablet Original Android Development] malk1101:
I think, the rotation bug appears when I plug to charge the tablet and I'm using the tablet too.

Enviado desde mi MI 9 mediante Tapatalk
[Xperia Z2 Tablet Original Android Development] flipside101:
Hi Ive tried 2 usb Ethernet adapters (1 old apple adapter and 1 ugreen) via a working OTG cable but niether seem to work on my castor windy but do on other devices.

Added a missed word on my original text to make the issue clearer
[Xperia Z2 Tablet Original Android Development] dex9mm:
Do you have to enable otg via the system settings

I think in android 10 it's a quick setting tile
[Xperia Z2 Tablet Original Android Development] flipside101:
No quick tile available but if I plug in other devices (wireless mouse and keyboard dongles) in they just work.

I've read some posts on xda and Reddit that seem to hint that having ethernet drivers in the kernel (at least on LOS devices) is a per device choice by the maintainer
[Xperia Z2 Tablet Original Android Development] dex9mm:
Bit confused do you want to use a USB stick with the otg or do you want to plug an ethernet cable in to the adapters
[Xperia Z2 Tablet Original Android Development] flipside101:
Ethernet I've not mentioned a usb stick , I did mention the keyboard mouse adapter to highlight the fact that items plugged in via the otg cable work without the need for any otg toggle
[Xperia Z2 Tablet Original Android Development] dex9mm:
Well you didn't say ethernet In your post just usb adapter so that's where I was confused

sorry dude when you said that the mouse and keyboard was working iit gave the impression that you were having trouble with usb

Ethernet adapter is a totally different thing to usb devices so why mention them

---------- Post added at 01:48 AM ---------- Previous post was at 01:45 AM ----------

Your daisy chaining them which can cause issue I would suggest getting a ethernet adapter with a micro USB connector