yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Android Development] PVL_93_RU:
Install a kernel control app and reduce CPU frequency during charging
[Xperia Z2 Tablet Android Development] firefox-58:
Thanks! Have You a note for me what app suits this best. There are a lot of KernelControlApps in the store.

BUT... if I connect the tablet via Dock or USB to the power supply in lockscreen I can see:

Slow loading

And I fear that there ist the problem. kernel or whoever wants only to load slow? regrdless what supply I use? Also the SONY original one?
[Xperia Z2 Tablet Android Development] PVL_93_RU:
Kernel Adiutor, the one and only

https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor

It helped to boost the charging time from 0% to 100% to approximately 3-4 hours

Just set it to lowest possible frequency across all 4 cores (or choose the powersave governor which does that automatically)
[Xperia Z2 Tablet Android Development] firefox-58:
With a QC compatible charger it loads as follows:

- USB cable: QC status LED says it does QuickCharge - loading current 2000-2100 mA

- magnetic dock: QC status LED says it does NO QuickCharge - loading current also 2000-2100 mA

Dock does not recognize that I use an QC compatible loader and loader also does not recognize QC status... BUT it loads absolutely the same speed in dock or connected only by USB cable ????

But all works as expected and regardless about connectivity (dock or cable) the battery is filled up in the same time!
[Xperia Z2 Tablet Android Development] smoschi:
I got the same Problem like you. My German Z2 Tablet spg521 with last AICP 13.1 wont charge about magnetic dock too, but my others spg511 without errors:

Here my Post from AICP 13.1 Thread:

hey guys, i dont know whats going wrong with my spg521 when i try to charge it about usb plug or about my original sony docking station: The batterie is blinking between "Charging" & "not charging" every second ... on all my other Z2 tablets all are fine on the same docking stations.

Here a Video:

https://drive.google.com/file/d/1poe7WggQyubXS_hAe812UtQS4el1HhVgvw/view

Here the logfile:

https://drive.google.com/file/d/1COlZvTJzDjPE8v83f9tQptnpIRpamLmQ/view

Is my Battery broken?

Thank you guys
[Xperia Z2 Tablet Android Development] churchner420:
Will the castor windy version also work with the 32 gb wifi version?
[Xperia Z2 Tablet Android Development] solved:
Castor = LTE Version of Tablet

Castor Windy = Wifi Version of Tablet
[Xperia Z2 Tablet Android Development] :
hey, ill try to make a new build soon.

In other news, was talking to relative who was gonna give me castor on the phone, and he said it was carrier locked to o2, so hopefully ill still be able to unlock it. I should be getting it next week anyhow
[Xperia Z2 Tablet Android Development] Br4no:
I think there shouldn't be difference in case of z2 tablets. If I remember correctly, mine was locked by TMobile.
[Xperia Z2 Tablet Android Development] svenskon:
Is there any possibility for Google Widivine DRM Support. I dont even get the lowest Level so i cant download series from netflix for example
[Xperia Z2 Tablet Android Development] Godecki:
Why can't I exit full-screen apps? I mean, when swiping from any edge the navbar doesn't appear. The only solution is to bring out the gestures shortcut which brings the navbar back.
[Xperia Z2 Tablet Android Development] :
Hey, got the new castor! It seems to be okay, but the digitizer is broken, I'll be able to test better now..

Also, I'm waiting till rr merge security patch till I build, should be this weekend.
[Xperia Z2 Tablet Android Development] hillbicks:
I was wondering what standby times you guys are getting with this ROM. I recently switched from the latest available stock build to this and it definitively is worse than stock. I even installed kernel adiutor to use powersave profile when the screen is off and set the tablet to airplane mode. I would expect it to last a couple of days, maybe even a week, but it drains pretty fast. Energy consumption shows System as the main culprit.

Any advice/ideas?
[Xperia Z2 Tablet Android Development] :
Hey, new build is out! enjoy, castor will be tommorow.

if you have any abattery life issues in this build pleas mention as i did some tuning
[Xperia Z2 Tablet Android Development] Godecki:
I can confirm that when I had stock ROM the device during sleep mode was way more efficient and lasted 3-4 weeks on standby, now it extends to just a week or so for me

---------- Post added at 09:14 AM ---------- Previous post was at 09:13 AM ----------

Meh, anyone know the answer? :/ Is anyone else even experiencing it? I have just flashed the newest build and the problem still persists.
[Xperia Z2 Tablet Android Development] pedroivogama:
where's castor updated file?
[Xperia Z2 Tablet Android Development] bacon612:
Bluetooth isn't working for me on this new castor windy build. Dirty flashed from the last build with cache wipes. Anyone else?
[Xperia Z2 Tablet Android Development] alfa_156:
help I can not update on the latest firmware gives me error 7 I twrp 3.2.1-1. How can I solve?
[Xperia Z2 Tablet Android Development] :
Okay, i know why, ill fix next build

was waiting for feedback on windy

send dmesg and logcat

log please
[Xperia Z2 Tablet Android Development] bacon612:
here you go. Also noticed that camera doesnt work. Wont connect to camera. I personally never use it so it really doesnt matter to me but thought to mention it.

Thanks for your continued efforts. This is still a decent piece of hardware.
[Xperia Z2 Tablet Android Development] s8m:
WiFi MAC is incorrect. Maybe Bluetooth too but haven't tested.
[Xperia Z2 Tablet Android Development] alfa_156:
error 7 twrp 3.2.1-1

hi I can not install the update gives me error 7. how can i solve
[Xperia Z2 Tablet Android Development] Godecki:
It was previously mentioned in the thread. You can modify the file in zip that contains the ROM. Find a file named updater-script (I don't know in which folder it can be found atm). You should delete the "assert" part of the file using notepad. Then replace the original updater-script file and flash the modified zip.
[Xperia Z2 Tablet Android Development] alfa_156:
thanks godecki for the advice only when flash the rom on restart the screen goes black. but do I have to flash the rom clean?

sorry for my bad english I'm with a translator. thank you
[Xperia Z2 Tablet Android Development] Godecki:
I am not sure. When I was having the same issue, i dirty flashed and it worked
[Xperia Z2 Tablet Android Development] alfa_156:
thanks tomorrow I try to clean up everything and flash the rom again.
[Xperia Z2 Tablet Android Development] Malle355:
Yeah same problem to me. Bluetooth also not working on my castor_windy.
[Xperia Z2 Tablet Android Development] :
Hey, new update our for castor windy should fix issues in previous build, if no one spots any bugs castor build will be weekend
[Xperia Z2 Tablet Android Development] mathmath5151:
Hi, dirty flashed and Bluetooth is not working either on castor_windy :(

Besides that, thanks for your good work
[Xperia Z2 Tablet Android Development] :
Huh... Send a dmesg and logcat
[Xperia Z2 Tablet Android Development] mathmath5151:
Unfortunately, I think my tablet died testerday :crying:

Suddenly, the screen went black, the LED turned off (and never displayed any color since).

I've tried the volume up + power button method and nothing happened (no vibration after ten seconds, no light on the LED, just nothing).

Tried the same with volume down + power or just power.

Also, when I plug it to recharge it, the LED stays off (no red or green light showing it's recharging)

I don't imply it's because of the ROM, but if by any chance you stumbled across this issue and found a fix, I'd be glad to try it before buying a new tablet :)

Thanks
[Xperia Z2 Tablet Android Development] churchner420:
Is there fast charge inbuilt in the new version?
[Xperia Z2 Tablet Android Development] churchner420:
Bluetooth not working at all. Can't even turn it on. Fast charging still not included. I really need Bluetooth for my keyboard. Please fix this. I did a clean flash by the way. RR then open gappy nano and then magisk
[Xperia Z2 Tablet Android Development] :
Yeah, I'm looking into BT, not sure what issue is exactly yet though as it seems to just fail without any reason
[Xperia Z2 Tablet Android Development] churchner420:
BT bug solved yet? Really waiting for that because I need it for my keyboard and for a stable rom it is no good to have things like BT not working. When can we expect an update and a fix?

Implementing fast charge would also be nice ;)
[Xperia Z2 Tablet Android Development] bacon612:
I'm available to test if you need me.
[Xperia Z2 Tablet Android Development] Insane Assassin:
07-19 castor windy download registers as Z2 LTE version

Hey guys, did you mix up the uploads there? after flashing the castor windy rom, my z2 tablet registers as z2 tablet lte in windows explorer

Edit: disregard, all is fine, bluetooth doesn´t work though

Edit 2 :Audio FX is crashing constantly
[Xperia Z2 Tablet Android Development] :
Hey :) ive decided to stop rr for oreo due to space limitations but... Something else may be coming soon ;)
[Xperia Z2 Tablet Android Development] Insane Assassin:
lol
[Xperia Z2 Tablet Android Development] cryss83:
Hello there,

i just wanted to install this custom rom via TWRP, but the following happened:

quote

....

Skipping MD5 check: no MD5 file found

E3004: This package is for device: SGP511, SGP512, castor_windy; this device is .

Updater process ended with Error: 7

Error installing zip file '/external_sd/RR-0-v6.1.0-20180719-castor_windy-Official.zip'

/quote

any ideas on how to solve the problem?

I used the boot.img from your file and i´m using a SGP511

thank you.
[Xperia Z2 Tablet Android Development] _Sherrif:
When you say you USED THE BOOT.IMG did you fastboot flash it? Sounds silly but do you have the correct ROM and TWRP installed for your device. Error: 7, means you have the wrong ROM for your specific device.

You may already know all of this but I'm going to say it anyway just in case....

Castor_Windy = WiFi model

Castor = LTE model

Easy fix is to flash the boot.img of the ROM. Open the zip with 7zip and copy,

do not move or cu

t, the boot.img to a directory easy to locate. Then copy the boot.img to your adb/fastboot folder and fastboot flash it in download mode.

*Note, 7zip allows to copy sections/files/folders/scripts/etc. of the zip file without ever having to unzip it first. That is why i suggest using 7zip, this way there is no possibility of re-zipping the file wrongly after copying something needed*

Here is the command if needed "fastboot flash boot boot.img" without the quotes. Also, be sure you have "hide extensions for known file types" unchecked if using Windows. This way you do not have a .zip.zip or ,img.img file you are trying to flash or use.

I had this happen to my CW tablet a while back and took me all day to figure out how to fix. Memory serves correct you should NOT have to re-format or wipe everything, but if the after flashing the boot.img the device fails to boot, do a full wipe and format, then flash the boot.img, then reboot to recovery and flash the ROM, gapps if wanted and root method if wanted. You may have to re-flash TWRP after a full wipe, i can't remember, but have TWRP in your adb/fastboot folder just in case you need to re-flash.

Hope this helps....
[Xperia Z2 Tablet Android Development] cryss83:
sorry, if i was unclear: yes, i used fastboot to flash that...i have now tried twrp 3.2.1-s and this time i used the boot.img from the v.6.1.0-20180715 and now it says:

E3004: This package is for device: SGP511, SGP512, castor_windy; this device is sirius.

Updater process ended with ERROR: 7

Error installing zip file '/external_sd/RR-0-v6.1.0-20180715-castor_windy-Official.zip

I really have no idea :(

I just have the feeling that i messed it up down to the core...but i got no idea, on how to revert everything because it seems there is always something not working.
[Xperia Z2 Tablet Android Development] _Sherrif:
IMHO - I would try a full format of data, you have to type yes, and wipe of system/data/cache/dalvick/internal. Then reboot to bootloader and flash boot.img, and recovery if needed, then reboot to recovery and try to flash the ROM. If this doesn't work we can go to the FlashTool method and start fresh.

If the above fails I would start fresh with FlashTool and flash a new FTF and start over. If you are unfamiliar with FlashTool let me know via PM and i will get you the instructions to get you started fresh.

Don't want to clutter the thread with OT stuff like FlashTool so prefer to use PM. Don't give up yet, we can more than likely revive it with FlashTool. I just helped another in a similar predicament and we got it working, so keep positive and don't trash the tablet just yet.
[Xperia Z2 Tablet Android Development] churchner420:
Does that mean rr pie? ;) Would love to see Android 9 pie on the Z2 Tablet! Could you please update the Xperia Z2 (sirius) to Android 9 too? Would absolutely love it ;)
[Xperia Z2 Tablet Android Development] churchner420:
Hello opendata I hope you are well ;) anything new about that "something else" that is to come soon?
[Xperia Z2 Tablet Android Development] A.D.I.O.S:
please help me guys!

i flashed twrp recovery 3.1 from the link in the first post, rebooted and now my tablet seems to be bricked! (coming from twrp 2.something and stock lollipop rom+xposed )

there is a short vibration when holding down power and vol, but that's it.

when conntected to usb/ac the led flashes red and stays red while holding power button, but the display stays black.

my pc also doens't recognize it..

what the hell went wrong and is there anything i can do now? i have a nandroid backup and everything...

edit: i got my pc to recognize it as SEMC Flash Device, so maybe there is hope?

edit2: i tried flashing an original ftf via flashtool, but it aborts everytime near the end..

good news is, that it tries to boot now.. (with error message: The software update fails. Make sure that your phone is connected to the computer) and try again.

edit3: got it back to life with a kitkat ftf.. still no clue why a simple recovery update caused that
[Xperia Z2 Tablet Android Development] Proboarder2712:
The recovery included with this first post is for sirious(sp) which is for the phone version of the z2. thats why it had the something like twrp_3.2.1-s. You need to make sure you're flashing the right files. Aside from that I had the same thing happen. with multirom(redirected and downloaded/flashed the wrong file). I think it creates a kinda fake boot.img that wont let you rewrite. When I removed multi-rom I couldnt write to my boot but I couldnt load any roms as nothing would install. On top of that my boot loader wouldnt let my PC connect. I'm not sure what I flashed to get my PC to recognize but when I did my screen was like yours. Only a red bootloader light.

I think I then reflashed this rom and everything worked perfectly. I dont know how it worked and I dont plan on duplicating the issue but the short anwser I can give you is to KNOW what youre flashing. Some of the links provided would redirect me to a different device or recovery compiled for a different rom. If you wernt paying attention you could brick your device(if it were another type of device. After all I've done to this tablet I don't think it will actually brick unless the r/w boot sector is damaged/corrupted beyond repair.

---------- Post added at 04:38 AM ---------- Previous post was at 04:33 AM ----------

You may have to search other fourms for the correct recovery. I had to use the one from Carbon rom as he had the proper recovery for Castor.
[Xperia Z2 Tablet Android Development] kueppert:
Hi my front cam on sgp512 is not working. Has someone the same problem? Or an idea how to fix it?

Thank you, Thorsten
[Xperia Z2 Tablet Android Development] RiceDie:
Decided to flash new Rom without PC coming from RR android 7, device SGP-521 castor LTE

So I downloaded all files required.

Installed RASHR to be able to flash .img from android.

So with RASHR utility I installed as follows.

1. Flashed recovery TWRP-3.1.img

2. Flashed boot.img from zip as a kernel in RASHR.

3. Rebooted to TWRP

4. Done all the wipes etc. as in 1st post

5. Rebooted TWRP, install ZIP 'RR-0-v6.0.0-20180509-castor-Official.zip'

Now I get the following here are some of the main exttqctq:

Failed

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

Updater process ended with ERROR: 7

Error installing zip file /sdcard/download/RR-0-v6.0.0-20180509-castor-Official.zip

Shall I flash boot.img from PC?
[Xperia Z2 Tablet Android Development] KingKRoBot:
Yes try it. I have the same issue on older twrp version.
[Xperia Z2 Tablet Android Development] RiceDie:
.

True it could be the recovery. I will try first flashing boot img with ADB from the command prompt. Will report back.
[Xperia Z2 Tablet Android Development] kimboslice99:
castor-windy... bluetooth doesnt work, AudioFX stops constantly, otherwise Id be using this rom... its smooth and great on battery life, cant live without bluetooth though lol
[Xperia Z2 Tablet Android Development] L3ibnitZ:
I am also very interested in this.

That's the reason I am stuck with Android n
[Xperia Z2 Tablet Android Development] makis19:
hallo.

I want my xperia z2 tablet update (sgp521).

1. Musst first the bootloat unlock. ?

2. kann it with flashtool make?

thank's
[Xperia Z2 Tablet Android Development] _Sherrif:
[MENTION=2138544]makis19[/MENTION],

I take it you want to unlock your boot-loader and flash a custom ROM? Correct? Take a look through the threads for how to unlock, root and install TWRP. You should be able to find it in "Z2 Original Android Development"
[Xperia Z2 Tablet Android Development] makis19:
Dear Serrif

Sorry I wasn't clear enough. I want to do root the tablet (sgp521) and install the FW from the first post. ([ROM] [8.1] [LOS based] [Official] Resurrection Remix Oreo)

Do I have to unlock the bootload first? Or not? Thank you very much for your answer.
[Xperia Z2 Tablet Android Development] _Sherrif:
Yes you do. Follow this guide. https://xdaforums.com/showthread.php?t=2747676 Once you are unlocked with TWRP flashed you can install this ROM or any other for that matter.
[Xperia Z2 Tablet Android Development] Moroszyn:
Yes as the sheriff told you first before rooting and stuff u need to unlock bootloarder. Than I use adb for this coz its simpler for me so after bootloader is unlock you go to flashtool website and download the program. Than you must remove windows feature called driver signature enforcement. Than you need to go to the folder in which f.t. is installed and run .exe called flashtool drivers. Select your device and fastboot mode and flash mode. (check the drivers you need yourself coz i dont remember now if there was anything else). Than download minimal adb (i recommend the one where you dont need to install it). Now you need gapps and os on sd card and use magisk if you want netflix. Now copy recovery.img to the folder with minimal adb and open cmd as admin there. Go to dev options and enable usb debugging. Now turn decice off and connect it to pc holding vol up button. Now in cmd type “adb devices” and it should take fev sec for output if it takes longer sth is wrong and retry. Now that output is correct type fastboot flash recovery recovery.img or if u are lazy and self confident fastboot flash boot recovery.img now wait and after it finishes type fastboot reboot. If you typed flash recovery u might try to use vol up and down with power button to get to it. If you typed boot than it reboots you to TWRP. recovery.img file must be compatible with rom use the one that is plz. Sometimes recovery is in rom.zip file and you can extract it dunno what its filename is tho i think its boot.img but i am not 100 sure. Than u can use the tutorial listed here ps flash magisk last. Hope i helped. Ps i think u need adb for bootloader so 1/2 work is done. Remember to check if u can unlock bootloader in hidden service app. Ps while flashing rom you might get some fun errors that say rom isn’t for this device. Double check everything and you need to edit the rom files but hope it works 4u.
[Xperia Z2 Tablet Android Development] creditabricole:
Hi everybody,

Despite this thread is pretty old, I'm posting here to get some advice.

Thank to Opendata and other contributors, this RR ROM install ran perfectly or me. Almost every feature works nicely except Bluetooth.

Does anybody experience the same troubles ? When I try to enable BT, nothing happens. Just like if it was disabled what ever I do.

Of course other devices do not see the tablet.

If anybody has some knowledge about this, I would be happy to read his comments.

Thank you !?
[Xperia Z2 Tablet Android Development] bacon612:
Use the build from May not the newest one. Bluetooth works.
[Xperia Z2 Tablet Android Development] creditabricole:
You were absolutely right bacon612, thank you for sharing:o
[Xperia Z2 Tablet Android Development] babourian:
TWRP for castor?!
[Xperia Z2 Tablet Android Development] holmesmalone:
Use 3.2.1-cw.img from here: https://mega.nz/#F!KNA2CDpZ!pftQvfb0S642gsN2enOD9g

Then your ROM will flash correctly.
[Xperia Z2 Tablet Android Development] ad_on_is:
I just installed this rom and everything works fine, except Chromecast and screen mirroring.

Even though the X2 Tablet is listed as an optimized device: https://support.google.com/chromecast/answer/6293757, it doesn't work.

I use the Mi Box 3. When I press the cast-button on the tablet, the screen on the Mi Box goes black, tablet shows "Connecting" animation, and after a few seconds the tablet says "Casting screen to Android TV has ended". I have the Google Home app where I can see the Android TV (Mi Box) and even controll the volume from there.

Screen mirroring from my OnePlus 6T works fine.

Does anyone else have this kind of problem, or knows of a solution?

EDIT: I re-installed everything again, did not import any previous backups, but set up a new device, and everything works.
[Xperia Z2 Tablet Android Development] damwafu_08:
Sgp561

Hi. Can I apply this rom to sgp561 z2 tablet? Thanks in advance.
[Xperia Z2 Tablet Android Development] tjip_tjip_boem:
broken after flash boot?

I flashed my Z2 using fastboot like this:

fastboot flash boot boot.img
fastboot flash recovery twrp.img
fastboot reboot

after this my tablet does nothing anymore, i tried holding all the buttons.

if i directly try to boot twrp using:

fastboot boot twrp.img

i get this:

Sending 'boot.img' (11570 KB) OKAY [ 0.376s]
Booting FAILED (remote: 'dtb not found')
fastboot: error: Command failed

i am a beginner to this all i would appriciate any help :)
[Xperia Z2 Tablet Android Development] Michikrems:
hello forum

I flashed a wrong backup on my sgp521 with twrp. now only red led flashes. no recognition on the pc. hard reset and similar procedures without success. do I have to dispose of it or can anyone help?
[Xperia Z2 Tablet Android Development] casouzaj:
If a TA partition from another device was present in the backup you restored into your tablet, I'm afraid you have turned it into a paperweight. There's nothing you could do, by software means, to bring it back to life. I guess you'd need to replace its motherboard now!
[Xperia Z2 Tablet Android Development] Michikrems:
OK, that's not good where is this ta located? rom ram clear via pin to ground or something similar?
[Xperia Z2 Tablet Android Development] casouzaj:
It is a partition, like the system, data, FOTAKernel, etc, ones, except that it contains all the device's DRM keys, which are unique for each device.

When you restore a full nandroid backup it's a good practice to uncheck the TA box.