yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Original Android Development] flipside101:
Can you not get to the rom website https://dwnld.aicp-rom.com/ ???
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
This ROM is for the Sony z2 tablet, and most likely not compatible to your device.
[Xperia Z2 Tablet Original Android Development] wingenieur:
Hi,

I've just recognized this.

Is there anybody to provide the latest official Pie build (think it was from April 3rd 2020)?

As long as there aren't official builds for Q, it would be nice to have.

Btw: Nice work, amazing that you care about our good old Z2 Tablet and even release Q for it!
[Xperia Z2 Tablet Original Android Development] _Sherrif:
The link to the official PIE build is in the OP
[Xperia Z2 Tablet Original Android Development] wingenieur:
Hmmm... is it just me?

The official site does no longer provide any ROMs.

The links to the "test builds" are down.
[Xperia Z2 Tablet Original Android Development] _Sherrif:
[MENTION=9863324]wingenieur[/MENTION],

Yes i see the AICP 14.0 downloads are not there any longer. Spiritcroc may be ready to make AICP 15.0 OFFICIAL :D

FYI - If you still need a copy of AICP 14.0, I have one from 4/3/20 or about that date anyway, that i can link to you (i only have CASTOR_WINDY though). Just let me know if you need it and i can send to you once i get home from work today.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Official 15.0 builds

Official AICP 15.0 castor/_windy builds should start soon.

If you are on AICP 14.0, a clean flash is required for upgrading!

I recommend you to do a backup before flashing.

If you want to report bugs etc. for AICP 15.0 please refer to this xda thread.
[Xperia Z2 Tablet Original Android Development] Ryū Kenden:
Hi SpiritCroc, I have to ask. Would you personally advise upgrading from 14 to 15? Other than for security reasons are there other improvements in performance for example (I would really be interested to know since I have a old battery on it with some problem)?

Would you also advise to upgrade TWRP before installing this ROM?

Thank you!
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I don't think there are significant performance changes. However, there were some (small) bugs introduced, you can check the known issues in the respective thread to evaluate.

Would I advice to upgrade? Depends on what you want. If you have a working setup that you're happy with and don't want to re-setup, feel free to stay with the old version. If you want the latest Android/AICP features and some more active development for the ROM, you can upgrade.

You can also do a backup and try out if you like it before deciding on what to do. Due to some (TWRP?) bug, you might need to re-flash the ROM after restoring the backup, however, so make sure that you have your previous AICP 14.0 zip handy when taking that approach.

Since I haven't tried the new TWRP on Android 9, it is probably the safer approach to upgrade TWRP after upgrading the ROM, but it would be interesting to hear if it works the other way round as well.
[Xperia Z2 Tablet Original Android Development] tanis73:
Can someone reload the link for AICP 14/P9 version please
[Xperia Z2 Tablet Original Android Development] _Sherrif:
Link to download the last AICP 14.0 ROM zip, the last one i downloaded anyway. The ROM download in the below link is for a CASTOR_WINDY (WiFi Model).

https://drive.google.com/drive/folders/0BwBZlgiV0lNiV2x5SFYwMGlmNUU?usp=sharing

If you need a CASTOR Download, specify in your post and a CASTOR user may be able to assist :fingers-crossed:
[Xperia Z2 Tablet Original Android Development] Ryū Kenden:
I see, thank you! I'm very happy with the 14 to be honest, I think I'll stick with it for a little while.

Have a nice day!

I have the two last ROM for Castor, if anyone is interested, just contact me.
[Xperia Z2 Tablet Original Android Development] DoubleByrd:
Recovery Mode

Hey SpiritCroc and others,

I've been trying to install AICP 14.0 for a while now, but without success. I have an SGP512 that is on stock firmware. It is really starting to slow down and show it's age, so I thought trying a custom ROM would help. I have flashed custom ROMs on phones before, but this is my first run at this tablet. I have been following the instructions in the OP. I have unlocked the bootloader successfully - but not rooted.

1. Download the ROM and GApps and transfer them to your device. - Done

2. Boot to recovery (latest TWRP from the CarbonROM thread recommended when coming from Android < 10, on Android 10 TWRP >= 3.3.1 recommended). - This is where I'm stuck. I have flashed TWRP from the CarbonROM thread as recommended, but no matter what I do, I cannot seem to boot into recovery and I have no idea what the issue is.

As per https://developer.sony.com/develop/open-devices/get-started/flash-tool/useful-key-combinations/, recovery is supposed to be "Volume down + Power key". But it never boots into recovery and TWRP - it just boots back to the stock firmware. I have also tried:

fastboot reboot recovery (after flashing TWRP to recovery)

fastboot boot TWRP.img

and it did appear to reboot. My windows OS is then recognizing the tablet, I can access the tablet filesystem (USB is still connected, but it's not booted into the stock firmware), but I don't see anything on the tablet screen.

I've also tried both suggestions at https://xdaforums.com/xperia-z2-tablet/help/recovery-mode-access-z2-wifi-tablet-t4116927, but still no luck.

So I am stumped on how to proceed.

Anyone have any suggestions?

EDIT: Ok, I think I may have discovered something in another thread - the TWRP I downloaded is only to be used with custom ROMs already installed - not with stock Sony.

"Wait!!!!! are you installing TWRP on SONY Stock OS???? The versions of TWRP here are for custom roms. If you are using AICP or similar custom rom, then the above questions will help us narrow down the issue."

So now to track down a TWRP (or another) recovery that will work with stock Sony ROM until I get it converted over to AICP....
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Right, for stock rom, you need a different recovery. If I remember correctly, I used this one back then: https://xdaforums.com/showthread.php?t=2794175

Any particular reason why you chose AICP 14 over AICP 15?
[Xperia Z2 Tablet Original Android Development] DoubleByrd:
Thanks SpiritCroc. I'll try that one and see how it goes. I mostly chose 14 over 15 as this is my wife's tablet and there are still a few issues listed with 15. Do you feel 15 is stable enough even for a "regular" user?

EDIT: I've been trying to use the DualRecovery, but still no luck. But I see that it says it needs Lollipop to make this work? Do I need to downgrade the firmware to android 5 and then use again?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
15 is still being built, 14 is not supported officially anymore. 15 is stable enough for me, but I can't speak for "regular" users - best to try out yourself.

I don't know what the requirements for dualrecovery are. Usually, when no recovery works, I just flash the full ROM using fastboot. If you want to flash the full ROM using fastboot to bypass recovery troubles, I might be able to upload the required files later (you need boot.img, system.img and userdata.img, I'm not sure if you can extract them from the flashable zip, but I get them when compiling the ROM myself).
[Xperia Z2 Tablet Original Android Development] N_L:
Can someone share castor(lte) rom with me, please? I tried 15 but I'm having few issues that make my tablet useless and everything ran great on 14 :/

Issues on 15 is bunch of apps crashing instantly or randomly,youube slower and sometimes not getting video running at all etc.

I'll try clean flash of latest 15 again and edit if somehow it fixes it
[Xperia Z2 Tablet Original Android Development] SkyHigh76:
I uploaded the one from April to my google drive.

aicp_castor_p-14.0-WEEKLY-20200403.zip

drive.google.com
[Xperia Z2 Tablet Original Android Development] N_L:
Requires access, and I needed to download it again :x
[Xperia Z2 Tablet Original Android Development] N_L:
I downgraded and everything works great again except the newest firefox. I'm running some older version now but would love to have it fixed.

Newer firefox, 80+ releases, cause os to hang and then tablet reboots. Google led me to https://github.com/mozilla-mobile/fenix/issues/5663 and I see lineageos had it fixed, aicp15 as well but due to 14 not being supported I'm out of luck. I need some help with integrating that fix in my os if anyone is kind enough to offer a hand.
[Xperia Z2 Tablet Original Android Development] Ching.chen:
Dose anyone had castor version?

I can't find the file anymore.....

THX for your help.....
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Update TWRP

Not much information if you want someone to look into it
[Xperia Z2 Tablet Original Android Development] solved:
yeah shame on me , switched the twrp and install error is gone and magisk now sticks ..

thanks for the tip
[Xperia Z2 Tablet Original Android Development] hommer101:
Using it for roughly two weeks now and quite happy with it. Only thing missing for me is the charge indicator led
[Xperia Z2 Tablet Original Android Development] BSfriend:
The charge indicator led works perfect here.
[Xperia Z2 Tablet Original Android Development] PVL_93_RU:
How fast does this ROM charge/discharge? AICP 13 goes from 1% to 100% in roughly 1.5-2 hours, but it also destroys the battery pretty fast, even with the perfomance profile adjusted into lower consumption
[Xperia Z2 Tablet Original Android Development] BSfriend:
Here my stats for charge and discharge
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
The exception is not related, I have that on z1 compact too with working mic.

Could you maybe try whether the issue also exists with permissive sepolicy (you can set sepolicy mode in Settings/AICP Extras/System behaviour if your device is rooted), or on clean flash without gapps?

Can other castor (LTE) users report whether they have the same problem? Holding back official builds for now until I figure this out.

EDIT: to clarify: same problem = microphone issues during call
[Xperia Z2 Tablet Original Android Development] BSfriend:
This problem?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Yes
[Xperia Z2 Tablet Original Android Development] BSfriend:
Call in and call out works here without problems.

GApps Pico installed
[Xperia Z2 Tablet Original Android Development] bacon612:
I used fastboot to flash the above 3.2.1-c twrp and it didnt seem to take. My previous TWRP was 3.2.1-1 and it still shows that that is the TWRP that is on my tablet. Fastboot gave no errors flashing 3.2.1-c. Im on a castor windy. Just looking for netflix to work this rom is awesome.
[Xperia Z2 Tablet Original Android Development] Br4no:
Hi,

I'll try after I'm back from vacation on Thursday because I left the tablet at home.

Thank you!!!
[Xperia Z2 Tablet Original Android Development] ReincarnaXeon:
Can worth it seri docomo, apakah bisa dijalankan di seri docomo..

introduce me Alfian from Indonesia, South Kalimantan before and after I apologize.

*the conclusion is, can the Sony Xperia Z2 docomo series tablet be run on the aicp ROM

the link

https://xdaforums.com/xperia-z2-tab...-aicp-14-0-p9-0-castor-windy-sony-z2-t3884236

awaited reply thank you
[Xperia Z2 Tablet Original Android Development] ReincarnaXeon:
series docomo is worth it?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I don't know, it seems like it's a quite similar if not the same device, so it might work. Of course I can't guarantee anything.

No need to PM me with the same question, I read here too, you won't get more/better results by sending me PMs.
[Xperia Z2 Tablet Original Android Development] ReincarnaXeon:
oh, sorry.
[Xperia Z2 Tablet Original Android Development] Br4no:
Hi,

I tested with clean flash, without gapps and calls worked. Then I flashed opengapps arm nano for pie and it again stopped working...
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Good to know, thanks.

I heard the "ok google" detection from the google app which is included in nano gapps can cause issues like this, so maybe you can try disabling it or use pico gapps
[Xperia Z2 Tablet Original Android Development] Br4no:
No problem, welcome. So I've already tried pico and it works with that package...

Thank you!!! Maybe just disabling "ok google" detection would help too...
[Xperia Z2 Tablet Original Android Development] Br4no:
Hello [MENTION=6425591]SpiritCroc[/MENTION]

I'd like to report few bugs I found.

1. Rotate screen icon position is wrong.

- when you disable screen rotation and the device is rotated, then an icon indicating rotation appears in navigation bar. That icon should be aligned to the left or right, probably. You can't even touch it, but it triggers screen rotation when you click on the left or right edge of the navigation bar. I'm attaching screenshot.

2. Navigation bar recent button disappears.

- when you choose smaller display size, then the navigation bar misses recent button. Screenshot attached.

3. Can not access camera error.

- if I take few more pictures, the camera shows an error (I had HDR activated). Screenshot and logs attached.

4. It is not possible to switch screenshot QS to take partial screenshot. Don't know if this is a bug. But it works on other pie ROMs I'm currently using.

Thank you for amazing ROM!!
[Xperia Z2 Tablet Original Android Development] Br4no:
Screenshot for rotation icon (the one in previous one with rabbit is wrong ?)
[Xperia Z2 Tablet Original Android Development] koron393:
Navibar

Try this setting.

[IMG="Navibar setting"]https://dl.xda-developers.com/thumbs/4/6/3/4/2/8/4/4634284.png[/IMG]

https://xdaforums.com/attachment.php?attachmentid=4634284&d=1541342857
[Xperia Z2 Tablet Original Android Development] churchner420:
Will this be officially available on the AICP website soon?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
As soon as all is ready.
[Xperia Z2 Tablet Original Android Development] churchner420:
Cool ;) and how close are you to getting all ready?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Device specific should be fine, servers need update and possibly some more ROM polishing. Maybe getting some more devices ready. No time estimations like always.
[Xperia Z2 Tablet Original Android Development] Br4no:
hello [MENTION=6425591]SpiritCroc[/MENTION],

i can not turn on bluetooth on the latest build. So maybe another bug has been found. Attaching logs and screenshot with bt exception.

Big thanks!!!!
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Thanks for the logs (screenshot is rather useless though). It works on my device. So it was working for you on earlier builds? Have you tried clean flash?
[Xperia Z2 Tablet Original Android Development] Br4no:
I dont know about earlier builds, if it worked or not. Will try clean flash then and let you know.
[Xperia Z2 Tablet Original Android Development] Br4no:
Cleaned cache and it works again. So no issue.
[Xperia Z2 Tablet Original Android Development] churchner420:
First of all thanks for bringing pie to or Z2 Tablet ;) I really enjoy the rom. But there are a couple of bugs:

1. When using gestures being on the homescreen in landscape mode I can't access the recent menu by swiping up

2. Clock seconds option is missing

3. LOS battery settings missing like 'power saving', 'efficient', etc (not a bug but would be nice to have

4. Fast charging ist not working not even with a magisk module (I might be using the wrong one though, any ideas of a good fast charging module), AICP 13.1 charges with 2,7A I think and AICP 14 just with 1,5 or so...

5. When using Google Sans font the lockscreen font is bolt all the time, that is a known bug when nor being on a Pixel device. A good friend of mine told me that:"Add ss03 line in widget big thin style" I have attached a picture where you can see it. I hope that helps. Then the lockscreen would look like the ipxel lockscreen when using Google Sans

All in all it just runs absolutely amazing thank you again
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Thanks for your feedback.

1. Works for me, maybe worth a try increasing the navigation bar height

2. I think we have that on the TODO list somewhere (so we're aware of that one)

3. We're not lineage based for pie, so depends on whether someone in the team sees the need and has time to bring it in

4. Hm. Don't know what might have changed in that regard, but doesn't bother me too much to be honest, slower charging should be healthier for the battery

5. Google Sans font was removed again actually (so will be gone in the next build) in order to relieve us from legal headaches
[Xperia Z2 Tablet Original Android Development] churchner420:
Oh and 6. Why is the camera shutter button in the camera app on the top rotated to portrait?

Thanks very much for your quick answer :angel:

1. Nope that didn't change a thing unfortunately... Might be the double tab for camera feature that causes the problem. Is there a way to turn it off? It's not launcher dependent either...

2. That's cool because I can't live without seconds and the seconds can't even be turned on with a third party app at the moment...

3. Oh ok that explains it... Would be a nice feature cause I am the kind of guy who rather saves some battery instead of having everything running perfectly, well I could use the battery saver but that step is one too far for me ;)

4. If you could add it I (and I think others too) would be very pleased because the tablet charges for about 3,5h from 0 to 100 which is bloody long and with 2,7A it was about 2h which is way better ;)

5. The font is gone already I think, I'm using the Google Sans font module for Magisk. But the problem appears with nearly any custom font. And fixing it is just adding a line as far as I know and you've already got the picture showing the needed code for it. So, I would really appreciate it if you'd fix it :fingers-crossed:
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
It looks fine for me, maybe you disabled auto rotation? Sometimes camera apps have issues on our device because they're not optimized for (landscape) tablets, there should be good third party alternatives out there too...

Double tab for camera on the navigation bar? I don't think I have that...

So you are not only reporting an issue with a Magisk module and not of the ROM here, but also want me to fix it? :confused:
[Xperia Z2 Tablet Original Android Development] churchner420:
Well, I'm just making a suggestion ;) and since it's just adding a line I thought you could do it
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Wouldn't it make more sense to ask the creator of your Magisk module? Or what am I missing why I should be involved here
[Xperia Z2 Tablet Original Android Development] churchner420:
The bug is not module related. It happens every time I install Google Sans as a custom font even if I just install it via FontFix. Google is the only one who has fixed it yet on its Pixel devices. So I would be happy if you would fix it in your ROM ;)
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Ah, now I get what the issue is. Sorry I didn't inspect your picture closely enough (I don't think a picture is a good means for this matter).

Could you link a commit / a proper source so we can push to our code review with proper authorship and evaluate it?

(Btw this looks like something themes could "fix" too, technically speaking)
[Xperia Z2 Tablet Original Android Development] churchner420:
I haven't got any lines of code for you, sorry but this is a patch for the XZ2 called existenz by niaboc79: https://drive.google.com/open?id=1lajs0CQEtB-8SsPoo1NFtznxOBngMutY . He fixed it in there, he said it's just about adding the ss03 line that you can see in picture. I think the code is somewhere in SystemUi.apk. Should be findable by decompiling the apk ;)
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Decompiling apks won't help anything with authorship...

Can you please try out the latest build and see if it makes you happy? :)
[Xperia Z2 Tablet Original Android Development] churchner420:
Will try it later ;) have you added the seconds option for the clock and the line for there font fix?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
clock no, font yes
[Xperia Z2 Tablet Original Android Development] churchner420:
Ok will try it later then. Thank you for adding the line :) February patches included? How about fast charging? I really need fast charging because it's charging slowly as hell...
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
February patches: yes, fast charging: please lower your expectations
[Xperia Z2 Tablet Original Android Development] churchner420:
Right thanks, is there a module for Magisk that aktivates fast charging?
[Xperia Z2 Tablet Original Android Development] PVL_93_RU:
Something I've noticed - the Always-On Display feature sometimes causes the tablet to just.. "freeze". I'm not exactly sure how to reproduce this, but looks like it has to do with the device orientation, most of the time when I encountered this was if the device is in portrait, the screen is turned off, a notification comes, the screen lights up to show the text and the icon, I rotate the device into landscape, and it's like.. nothing happens. Just black screen. Turning the screen on/off does nothing, and not even necessarily rotating the device back into portrait fixes the issue. I've decided to just turn the feature off completely to avoid it.

Also, I'm not sure if it's in the pipeline as far as upcoming features go - but a Perfomance Profile slider (or maybe even further customization) would be really cool to have, I liked using it on Resurrection Remix Oreo if I wanted to consrrve some battery or go a little bit in, while AICP doesn't seem to have that.

OF course using something like Kernel Aduitor is an option, but I feel like messing with the CPU/GPU frequencies from the stock settings messes up the device too much
[Xperia Z2 Tablet Original Android Development] churchner420:
I have just tried the new build. The clock is fixed now and the double tab home for camera is gone. The clock just looks stunning now. I attached a picture or you [MENTION=6425591]SpiritCroc[/MENTION]
[Xperia Z2 Tablet Original Android Development] PVL_93_RU:
BTW [MENTION=6425591]SpiritCroc[/MENTION] something seems to have gone terribly wrong with the February 19th build - I've clean flashed it just the other day, and the device discharges once it reaches 70% battery left, followed by a shutdown. The setup I've been using is exactly the same as on the build I've used prior, so I'm pretty sure this isn't caused by any of the apps I have installed.

Here's the graph:

[IMG="RIP Battery"]https://i.imgur.com/odLvTE2.png[/IMG]

As you can see it just drops down to 1%, and I barely reach 1 hour of SOT

I don't know if I should try resetting battery stats or rolling back to an earlier version or something else. This shouldn't be caused by the battery itself either, the device charged/discharged just fine while I was on the mid-January build
[Xperia Z2 Tablet Original Android Development] stephenuk:
Do I need to flash android pie firmware first before installing this rom as I am getting an error message in twrp saying that the device is not an xperia z2 castor windy
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I haven't experienced this on my tablet yet. The graph looks like a typical "battery is dying" graph to me on first glance, I had that on my z1 compact before I replaced the battery.

Flash the latest version of TWRP for your device (you can get one from the CarbonROM thread)
[Xperia Z2 Tablet Original Android Development] PVL_93_RU:
I don't think it's caused by the device's battery, I've rolled back to mid-January build and am not encountering such sudden shutdowns

Edit: on second thought, indeed that might be the sign of it.... but why did it only appear after a ROM reflash? Super weird