yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Original Android Development] stephenuk:
Thanks that worked. Didn't work with a dirty flash so had to do a clean installation but wow looks gorgeous love the dark transparent theme ???
[Xperia Z2 Tablet Original Android Development] fridgeS3:
Hi, if i try to install 20190219 version, i received in TWRP this message:

E3004: This Package is for device: SGP511,SGP512, casto_windy; this device is sirius

i had install the 20190118 version without problems

is ist possible, that the boot.img in 20190219 is wrong?
[Xperia Z2 Tablet Original Android Development] Br4no:
Do you try to install it on xperia z2 phone?? This rom is for z2 tablet. If you have z2 tablet then your device is incorrectly recognized as sirius for some reason.
[Xperia Z2 Tablet Original Android Development] stephenuk:
I can only update to AICP-p9.0_castor_windy_20190112_1551 otherwise i get 'updater process error code -7
[Xperia Z2 Tablet Original Android Development] fridgeS3:
no, i tried to install it on a Z2 Tablet wifi; as i wrote, the previous version installation was fine, only the februar version shows this error

i had a look in build.prop at /systems and there is no sirius...^^
[Xperia Z2 Tablet Original Android Development] _Sherrif:
I have had that happen to me a few times. Not sure what causes it to happen, but when it does i take a copy of the boot.img from the ROM and fastboot flash it, then install the ROM. Always works for me...

i always flash the boot.img in download mode.
[Xperia Z2 Tablet Original Android Development] fridgeS3:
ok, i tried this, didn't help

what i did:

extract boot.img from 20190219

flash via fastboot without errors

reboot to recovery

try to install AICP-p9.0_castor_windy_20190219_1124 - same error

after this i had a bootloop - > restore previous boot.img from nandro backup
[Xperia Z2 Tablet Original Android Development] stephenuk:
Also power amp crashes when adjusting volume with hardware buttons
[Xperia Z2 Tablet Original Android Development] stephenuk:
Ok managed to get the latest rom installed (AICP-p9.0_castor_windy_20190112_1551 ). Wiped system. Tablet just freezes reboots when at android setup screen
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Flash the latest version of TWRP for your device (you can get one from the CarbonROM thread). It looks like you're using TWRP for the z2 phone (sirius).

Try wiping cache, and if that's not enough, try clean flash; if that still doesn't work a log might help
[Xperia Z2 Tablet Original Android Development] stephenuk:
I wiped the whole system and flashed the latest version. Same thing happens. It loads to the language set up screen as normal then freezes and reboots.
[Xperia Z2 Tablet Original Android Development] PVL_93_RU:
[MENTION=296309]stephenuk[/MENTION] please put the log under a spoiler, you're really not helping cluttering the page like that
[Xperia Z2 Tablet Original Android Development] stephenuk:
My apologies, redited and added a log attachment
[Xperia Z2 Tablet Original Android Development] fridgeS3:
oh what a shame, i had a sirius TWRP in my castor-windy-Folder

but your second tip didn't helped. next days i'm busy and tried again
[Xperia Z2 Tablet Original Android Development] nicky-xda:
Battery & charging issue since ver 2019-02-19:

I cannot charge the device because it's re-starting all the time: it restarts, than charges for some minutes and restarts again.

Also i have battery drain of about 25% per day in standby, wihout using the device.

No such issue on the earlier ver. from jan 2019, so that i had to revert to that version.
[Xperia Z2 Tablet Original Android Development] pixbuf:
No charging problem but the battery drain is crazy. I will probably go back to the January 18 version.
[Xperia Z2 Tablet Original Android Development] nicky-xda:
I must add that i have the charging issue on the dock. I never charge by the usb cable plugged in.
[Xperia Z2 Tablet Original Android Development] pixbuf:
Reverting to the Jan 19 release was not a good idea. After flashing it wouldn't accept my PIN; I was completely locked out. I'm trying a clean flash now. Fingers crossed.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I uploaded a new build, can those that experienced issues introduced with the february build please test and report if it's better like on previous builds again?

If AICP is crashing, a logcat and dmesg from running/freezing AICP or last_kmsg after crash with resulting reboot would help more than a TWRP log (sorry if I wasn't precise enough).

Clean flash = wipe system, cache, dalvik/ART cache and data; then flash AICP. If you're using gapps, please also try without.
[Xperia Z2 Tablet Original Android Development] nicky-xda:
---

On first sight, after testing for ~1 day: No issues any more with charging/restarting & battery drain on the newest build 2019-03-02.

Battery on standby seems even better - optimised in some way? - with only about 2-3 % in 24 hours.

Excellent work, well done...thanks a lot!
[Xperia Z2 Tablet Original Android Development] fridgeS3:
it's crazy, the March version could now be installed over it normally
[Xperia Z2 Tablet Original Android Development] churchner420:
What is new in the latest March build? March security patches? Clock seconds?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Official Pie builds should start this week.

No. Please check our gerrit instead of spamming this thread
[Xperia Z2 Tablet Original Android Development] pixbuf:
Yeah, me too. In 8 hours of idle time I barely lost 1% of battery charge. Great job, Spirit Croc. I'll send you some beer money later.
[Xperia Z2 Tablet Original Android Development] stephenuk:
Was able to install March release. No major issues so far however camera app crashes when taking picture. No clear recents option in recent apps meaning each app has to be closed individually.
[Xperia Z2 Tablet Original Android Development] halfcoast:
That caught me out as well. Scroll to recently leftmost side and there is a clear all option
[Xperia Z2 Tablet Original Android Development] Harv234:
No install possible

Hello,

first of all I want to say 'thank you' to all those who brought this great work online!

Here's my problem:

I tried to install the version aicp_castor_p-14.0-WEEKLY-20190308 on my SGP521 castor with twrp multirom 3.0.2-0. This device already runs the 13.1 version without problems. When I try to install the zip file I get the following output from twrp:

Updating partition details

...done

Ful SELinux support is present.

MTP enabled

Installing the zip file '/external_sd/aicp_castor_p-14.0-WEEKLY-20190308.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

E3004: This package is for device: SGP521, SGP541, SGP551, castor; this device is .

Updater process ended with error: 7

Error installing zip file '/external_sd/aicp_castor_p-14.0-WEEKLY-20190308.zip'

Notice the empty device (this device is .)

What happens here?

Is there a newer TWRP image I did not find?

Greetings

Harvey
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I recommend using the latest TWRP from the CarbonROM thread.
[Xperia Z2 Tablet Original Android Development] Harv234:
I downloaded the latest TWRP to my PC, but I don't get it on the Tablet. I installed the Multirom TWRP some time ago and I remember I had to struggle a lot to get it working - and it was the only one working.

But I forgot the exact steps to reproduce.

I am on a linux PC (archlinux) and adb and fastboot are installed. If I boot to the bootloader via 'adb reboot bootloader' I can see the device:

[root@obelix scripts]# fastboot devices -l

CB5126UFGA fastboot usb:1-5

I try to flash the TWRP via:

[root@obelix download]# fastboot flash recovery TWRP_Castor.img

target didn't report max-download-size

Sending 'recovery' (15824 KB)...

OKAY [ 0.519s]

Writing 'recovery'...

OKAY [ 1.063s]

Finished. Total time: 1.599s

But when I reboot to recovery the Multirom TWRP is still there.

So it looks like the flash process worked but it does not.

I am at an end here.

Greetings

Harvey
[Xperia Z2 Tablet Original Android Development] Br4no:
Maybe try to flash back the stock with emma and repeat the proccess. Just an idea, I dont have experience with multirom...
[Xperia Z2 Tablet Original Android Development] Harv234:
It's done! I had to flash the recovery and then immediately reboot into recovery without starting the system. Now the latest TWRP 3.2.1 is installed and I was able to flash the latest AICP 14.0.

Now testing...

Thanks to all who pushed me in the right direction!
[Xperia Z2 Tablet Original Android Development] Harv234:
Ok, looks good so far. Unfortunately connecting via LTE does not work. The service Provider (in my case o2-de) is showed in the status bar but disabling WLAN and connecting via LTE seems not to work. There are no APNs in the settings and trying to save an APN for my provider leads to the hint, that this user is not allowed to do this.

Known bug?

Greetings

Harvey
[Xperia Z2 Tablet Original Android Development] stephenuk:
DSP manager does not affect audio
[Xperia Z2 Tablet Original Android Development] nicky-xda:
charging on the DOCK: display goes on

Charging our z2 by usb is not really comfortable, so i always do it on the dock.

But when i put the tablet on the dock for charging the display always goes on, and i have each time to switch it off manually.

The same the other way round: When i take the tablet off the dock it goes on.

[MENTION=240137]spirit[/MENTION]: Is there a way to deactivate the going on of the display whne charging on the dock? Or maybe could you implement a switch for that in the settings?
[Xperia Z2 Tablet Original Android Development] wxxsfxyzm:
Two little questions...

1.OpenCL can't be detected in AIDA64 though lib file OpenCL.lib exists under folder /vendor/lib

2.sRGB cannot be enabled in 'developer settings'

I've noticed that they're common issues in custom ROMs ,can someone tell me why?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
I don't have a dock, but I'd try out Settings/AICP Extras/Other UI tweaks/Wake on plug. Disabling this achieves the effect at least for charging with USB, and sounds like it should work for dock too.
[Xperia Z2 Tablet Original Android Development] nicky-xda:
Thanks a lot for the hint, but this is of course the first thing i did. But the setting for USB does not work when on the dock.

By the way, i do not use a dock but simply a magnetic cable for the dock connection on the tablet, which is a very comfortable thing for charging and i can recommend it fully :)
[Xperia Z2 Tablet Original Android Development] AMGH1378:
Problem with Wifi

Hey Everyone :)

I Don't know is here a right place for this question or not but I have a problem with wifi after flashing this rom.

I can turn wifi on or off but it doesn't find any available networks and keeps showing 'Searching for available Wi-Fi networks'

Even wifi hotshot is not working and when I turn it on it turns off automatically.

Any Solutions?
[Xperia Z2 Tablet Original Android Development] sinclairzx:
Hi, at first thanks alot for ur great work and the support for the Z2 tablet.

Arrrghhh....

At this morning I did the OTA-Update (with aicp-app) from 13.1 to 14.0 (march-updates) and after reboot my system crashed. A lot of apps (playstore too) said "closed again" and didn't work.

I tried all, but nothing won't work more.

Now I backup my internal data and will do a clean recovery.

Tablet SGP521 with twrp 3.2.1 .

Any idea why the OTA-update destroyed my system??
[Xperia Z2 Tablet Original Android Development] Br4no:
Wifi works great here. Try cleaning dalvik&chache or do clean flash.
[Xperia Z2 Tablet Original Android Development] AMGH1378:
Thanks for your answer! but I tried that before and it didn't help.

I have discovered that wifi isn't working even in other custom roms :eek: but I'm pretty sure it was working on stock rom.
[Xperia Z2 Tablet Original Android Development] Br4no:
For me it works with no issues.

So, maybe try to go back to stock and see if it still works.
[Xperia Z2 Tablet Original Android Development] AMGH1378:
OK I'll try that.

Update : Flashed the stock rom and wifi was working

Flashed this rom again and tried turning airplane mode on and rebooting after that wifi is working even with airplane mode off

But after evey reboot I need to do these steps again.
[Xperia Z2 Tablet Original Android Development] nicky-xda:
The following work-around for that was working until the earlier AICP 14, from jan. 2019:

- 2 apps installed: Sony SmartConnect & Screen lock

- in "SmartConnect", a new event for "charging dock", and for "start/end action" of this event the shortcut of to the app "screen lock".

But unfortunately this stopped working on the newest ver. from Febr. 2019. Has there been any change that makes SmartConnect not working any more?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Clean flash is required when upgrading to a new android version (like AICP 13.1 android 8.1 to AICP 14.0 android 9.0)
[Xperia Z2 Tablet Original Android Development] Stratokraken:
Hello, I can't install... What should I do ?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Update TWRP (preferably use the latest one from CarbonROM thread)
[Xperia Z2 Tablet Original Android Development] pitors:
Can I get TV Sony App (remote control) for this rom?
[Xperia Z2 Tablet Original Android Development] Stratokraken:
Another problem with the last TWRP...
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Which TWRP version did you install? Is it exactly the same output? The relevant line in your screenshot is the line above the red text.
[Xperia Z2 Tablet Original Android Development] Stratokraken:
I edited my post with a screenshot, it wasn't really the same error and I have now TWRP 3.2. 1-1

Edit: I found the solution alone ! I repair the system partition on TWRP, thanks for your help
[Xperia Z2 Tablet Original Android Development] Ferris_B:
Hello. I have also TWRP 3.2.1-1.

The auto update boot well on twrp but nothing happens.

I can update manually with the zip from dwnld.aicp-rom.com

Same for Someone else?
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Yes, automatic flash with updater is broken right now, but will be fixed in the next build so update to the builds after that should work, sorry for any inconveniences :o
[Xperia Z2 Tablet Original Android Development] pitors01:
IR remote control it works on this rom?

Wysłane z mojego Xperia Z2 Tablet LTE przy użyciu Tapatalka
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
No, unfortunately sony uses a closed source solution instead of the open AOSP one.
[Xperia Z2 Tablet Original Android Development] Ferris_B:
Thank you.

By the way. Before the auto update downloaded the ROM in AICP-OTA. Where is it stored right now?

I ask the question to win some space
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Should be /data/ota_package/update.zip right now
[Xperia Z2 Tablet Original Android Development] nimra89:
Hi,

Netflix and Amazon Prime Video apps aren't working, in 13.1 it worked flawlessy. Do you have maybe a solution for it?

Thanks in advance,

Armin
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Since I don't use any off these apps, I wasn't able to properly debug it yet. If you can provide a logcat (and possibly also a dmesg) while trying to play a video, I could look into this further.
[Xperia Z2 Tablet Original Android Development] solved:
it is a widevine thing .. netflix won't work on custom roms, on the z2 tab
[Xperia Z2 Tablet Original Android Development] Harv234:
Wifi still isn't working for me until now. WLAN is working. I came from AICP 13.1 where the Wifi connection was working as expected. But with 14 I can't get it to work also not by playing with airplane mode like it was suggested above in the thread. It seems that the hardware works because the Service Provider o2-de is shown in the left upper corner and LTE connection is shown when enabling wifi. But I can't establish a data connection. It looks like there are no APNs defined on the tablet and the tablet won't let me define my own APN. The APN page says something like 'apn definition is not allowed for this user' (translated from german)

Again: this was working on 13.1 with the same hardware.

Greetings

Harvey
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Do you have multiple users set up?

Can you share the exact message that the APN page says so I can search it in the code (German message is fine too)?
[Xperia Z2 Tablet Original Android Development] schnuff*1:
I have also O2-germany as provider and I'm using WiFi at home also with AICP 14.0.

I never had a problem with mobile or wifi data.

So, I think, the problem is not to search in AICP ?

Greetings....
[Xperia Z2 Tablet Original Android Development] Harv234:
No multiple user setup. The exact message is

'Die Einstellungen für den Zugangspunkt sind für diesen Nutzer nicht verfügbar' on the APN settings page.

Greetings

Harvey
[Xperia Z2 Tablet Original Android Development] nimra89:
But it was working in 13.1? The download function was working too.

Here are the logcat files: Hope i did it right

dropbox.com/s/quyondlfdretc0z/Log_2019-03-28_20-07-35.txt?dl=0

dropbox.com/s/72qjj6mu1ey2bqw/Log_2019-03-28_20-14-53.txt?dl=0

Thanks again!

Armin
[Xperia Z2 Tablet Original Android Development] Michel_Ney:
Hi,

First everthing works fine on my device ( lte). THANKS TO THE TEAM.

For the problems with prime video and netflix:

AMAZON PRIME video is working on my device.

Netflix I am not using at time.

Perhaps if you have rooted, you should use magisk as root Solution togeher with magiskhide props config ( i have installed as magisk module)

Also i have also installed amazon appstore. Perhaps it helps.

Greetings m.
[Xperia Z2 Tablet Original Android Development] Michel_Ney:
Hi,

On my device, the system works fine - thanks to AICP team.

One little thing:

I must modify the rom zip before flash, if I want update to new release.

If I want to flash a new version using trwp

I get the error message:

"E3004: This package is for device: SGP521,SGP541,SGP551,castor; this device is."

As workaround i found out, that if I delete the related lines in the Zip

Folder

\META-INF\com\google\android

file

updater-script

Than with the modified zip, it works.

Also strange( and I think with same origin) : the OTA starts on installation the recovery mode with trwp.

What is the reason - false trwp or?

Thanks

Martin
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
All your questions have already been answered - please spend some time doing some research in this thread next time.

The TWRP error message means you're using an outdated TWRP, recommended is using the latest one from the Carbon ROM thread.

The OTA issue is known and will be fixed in the next builds.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
The only place in the code where I found that message is in the Messaging app, so I wonder whether you reached the APN menu from settings or from somewhere else?

Also, do you have GApps installed / which ones? Can you maybe try again without gapps?

Your log contains some interesting lines, thank you.

I pushed new test builds (castor_windy: here, castor: here) that address these, can you please test and report back?

Since fixing sepolicy issues can be quite a repetitive process, I pushed also permissive builds (castor: here, castor_windy: here) to speed it up, so if above mentioned build does not work, can you try out this and provide logs?

Also don't mind the bootanimation in the test build, I'm trying out something to better differentiate my test builds from official builds.

You can get the official AICP bootanimations as flashable zip from the AICP website.
[Xperia Z2 Tablet Original Android Development] Michel_Ney:
Hi,

my trwp was this from carbon rom. But the link for my device offers two twrp files. my choice for my device was wrong TRP_Castor.img( it has the newer date) . I tried out the other trwp in the link - now it works. My failure sorry

Have a nice weekend,

M.
[Xperia Z2 Tablet Original Android Development] L3ibnitZ:
Thank you for your amazing work.

With the test version AICP-p9.0_castor_windy_20190331_1313.zip

Netflix and Amazon instant video are both working as the should including the download feature.

Clean install, nano gapps and magisk 18.1.

I like the boot animation :D
[Xperia Z2 Tablet Original Android Development] amirbabourian:
hi tnx for for this rom i have problem wifi dosn't work

hi man

tnx for update rom

i hvave problem wifi don't work

do you have pelan for this

help me tablet sony z2

AICP-p9.0_castor_20181229_1322
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Great to hear it works on the permissive build, that means there is hope :)

Since I'd like to get it to work on enforcing builds, can you get a logcat while using these apps? Have you also tried with the enforcing build if it is already fixed there as well?

Great that you like the bootanimation too, haha

hi man

no plan, wifi is fine here, your report doesn't provide much information (what does "doesn't work" mean here? logs?)

tnx if you understand
[Xperia Z2 Tablet Original Android Development] AMGH1378:
I think I have made a log file but I am a beginner and I don't know is it right or not :eek: :

https://ufile.io/uk3hr

Edit : As I said I have the wifi problem ( wifi doesn't find any available networks and wifi hotspot doesn't turn on. )
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Log is correct, thanks. In some cases, a dmesg might help too. I hope I get some time to look into it later.

Is that a castor (LTE) or castor_windy (wifi only)?

If I recall correctly, you already tried getting back to stock and then flashing AICP over again, correct? Was that the latest stock ROM?

Are you using official builds? Have you tried out my test builds (sometimes our build server for official builds does weird things)?
[Xperia Z2 Tablet Original Android Development] AMGH1378:
Thank you so much!

Log with dmesg :https://ufile.io/rcgqk

It is a castor

And yeah I have tried the latest stock rom and wifi was working and after flashing AICP wifi is broken again.

I am using official builds and I have tried your test builds in this thread and sadly it didn't work.
[Xperia Z2 Tablet Original Android Development] SpiritCroc:
Have you (and others with wifi issues) tried out permissive builds if these have it fixed, and can you please try out if you haven't?

I found some denials in your log that might be related.

Permissive builds as posted earlier:

- castor: here

- castor_windy: here

If permissive builds fix it (and maybe also if they don't), can you please also post a logcat and dmesg with them?
[Xperia Z2 Tablet Original Android Development] AMGH1378:
Yes I have tried them and it didn't work. Here is the log : https://ufile.io/q9jg8
[Xperia Z2 Tablet Original Android Development] Harv234:
First, thank you for your interest and hard work here!

I reach the APN page via Settings -> Network and Internet -> Mobile Net -> Extended -> APNs (all translated from German so names might slightly differ)

GApps are installed in the nano version.

FWIW, I have tried the permissive builds for castor but the problems stays the same.

If you have no other ideas I will do a clean install next. But this needs some preparation concerning apps installed on the tablet.

Do you want to see some logs before?

Harvey
[Xperia Z2 Tablet Original Android Development] L3ibnitZ:
I tried the enforcing build first, that didn't work.

But I can reflash it, try it again at the weekend and get logs.

For now i did grab the logs for the working permissive build.

https://www.dropbox.com/s/o3cnxfnjb...1313_Netflix+PrimeVideo_Working_logs.zip?dl=0

I hope it is useful.