yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] Quaicheist:
Non-gapps user, prefer F-droid. All working okay.
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Maybe bootloader is old.
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
yeah, it was a problem with the boot.img,. thanks for the offer but who has the problem is [MENTION=7269746]takeoverkids[/MENTION] and seems that him can't install the rom.
[Xperia Z3 Tablet Compact Original Android Developm] milox_x:
First of all thanks [MENTION=5688409]koron393[/MENTION] for your fast investigation and repair. New cam is working fine and I can also save the pictures on SD Card. Audio is fixed partially, volume for example in youtube works great and also turning volume down doesn´t make any problems anymore. But after the fix music player started to make problems. If i want to turn volume down in music player then music player is not playing sound, I must rewind and then it is working fine. Do you need help for this? Logcats that I could provide?
[Xperia Z3 Tablet Compact Original Android Developm] sebarkh:
Im getting no audio in games, Netflix and UI sounds OK.

Doublechecked:

with copied files from the zip and without. No sound in games.

Edit: restored the 0601 build. The sound in games is back again.

611
[Xperia Z3 Tablet Compact Original Android Developm] jerzees:
For the record: audio works fine for me on 0106 (SGP621 here). On 0109 I've missed offload fix zip...
[Xperia Z3 Tablet Compact Original Android Developm] RedWave31:
Question : can I keep my 7.0.1 boot image with TWRP injected? And just flash the rom directly (with the necessary wipes of course)?

I'm amongst the ones (scorpion windy EU) that CANNOT, whatever I do, flash a recovery to fotakernel without losing twrp. It just won't stick whatever I do.

I had to use "RootKernel" to "inject" TWRP 3.0.2 into a LOS 14.1 boot image after unlocking bootloader.

I'm trying to update my boot image to 8.1.

Edit:

Managed to find Rootkernel for Oreo but that .new.dat.br file is giving me headaches.

Could someone upload me

/system/vendor/etc/fstab.qcom

/system/vendor/etc/init/hw/init.qcom.rc

/system/vendor/etc/init/hw/init.target.rc.

I'll upload Fused Boot 8.1.0 + TWRP if successful ;)

Thanks ;)
[Xperia Z3 Tablet Compact Original Android Developm] takeoverkids:
Anyone give me a hint how to do that? "Update bootloader to stock 23.5.A.1.291."

Im not at home right now, but i guess i can read out over fastboot, what bootloader version i have.
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
Come to think it, i never knew how to know what bootloader version i have, hahahaha.

For update your bootloader you have to flash the last stock rom (23.5.A.1.291) via flashtool, and then proceed to the boot and recovery installation of this rom.

For to do this last thing in the forum there are plenty of information
[Xperia Z3 Tablet Compact Original Android Developm] takeoverkids:
Thanks. That's what I guessed. Long time I used the flash tool. So I will try to go the way back to stock.
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
No I can't.

Please use 2.4GHz freq or xposed (but not supported).

Or push fix restriction code to google.
[Xperia Z3 Tablet Compact Original Android Developm] glyrakos:
1)I use TWRP_scorpion_windy_3.2.1.3_3.4_201801. I own SGP612. I still have 29/4 version because I cannot install the latest due to fact I can't access TWRP...

2) It seems that after today update through google play everything is ok. Just for your information on the first run the video were not played immediatelly when after scrolling I had one in the middle of the screen. This fixed after some soft resets. After that were the pictures. Now they are ok too!
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
I flash 20180531 ROM and TWRP_sorpion_windy_3.2.1.3_3.4_201801 to SGP611. I can reboot into recovery from reboot menu.

Please try re-flash TWRP from fastboot and press vol up when rebooting.
[Xperia Z3 Tablet Compact Original Android Developm] CrazyPeter:
Status: Alpha

That is clearly wrong, this is production quality.....
[Xperia Z3 Tablet Compact Original Android Developm] Blackout83:
updated my sgp611 with latest version, no issues so far.

just dirtyflash aicp (aicp_scorpion_windy_o-13.1-UNOFFICIAL-20180531.zip) and magisk (Magisk-v16.0.zip) with twrp (TWRP_scorpion_windy_3.2.1.3_3.4_201801)

thanks koron!
[Xperia Z3 Tablet Compact Original Android Developm] PureMAD4:
Working well so far on my 611 no issues as of yet. Loving your work thank you so much. I'll try to donate again soon as I can
[Xperia Z3 Tablet Compact Original Android Developm] pandan80:
For who want to know quick charge is working or not check this picture
[Xperia Z3 Tablet Compact Original Android Developm] zinko_pt:
Lock screen says it's slow.

Stock ROM supported fast charge, so it's not the charger.
[Xperia Z3 Tablet Compact Original Android Developm] pandan80:
Yes says slow charging...but actually is working
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
[MENTION=4300756]pandan80[/MENTION]

How about offline AC adapter charging?

Sorry off mode charging.

I don't have watt checker.

Lock screen indicator is certainly kernel sysfs strength.
[Xperia Z3 Tablet Compact Original Android Developm] shaolin95:
Sorry just trying to clarify..if I upgrade to the latest version, I will only be able to connect to my 2.4Ghz wifi?

Thanks!
[Xperia Z3 Tablet Compact Original Android Developm] glyrakos:
Hello,

I reflashed the same recovery and entered after reflashing and dirty flashed the new rom version. All ok with rom but still I cannot access the recovery either from advanced reboot or from power off by pressing first the power button and when vibrates only the volume up button. I can see a purple light on top left and the SONY logo. Then desappears for 1 sec or less and again the SONY logo and then it boots up in rom.

The same result also with bootdroid app... So when new rom comes I have to reflash recovery to enter for flashing rom!!!
[Xperia Z3 Tablet Compact Original Android Developm] PureMAD4:
I've been using this app to check the charge rate with different chargers and cables etc.

https://play.google.com/store/apps/details?id=com.gombosdev.ampere

Seems to work pretty well

---------- Post added at 11:36 AM ---------- Previous post was at 11:34 AM ----------

Recovery still here for me just checked. All fine and I'm on a 5ghz network so that's working too
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Umm... I can't understand.

Please try to use this recovery.

Or re-flash bootloader and recovery.
[Xperia Z3 Tablet Compact Original Android Developm] mironicus:
After upgrading to the latest version I lost root access, even though I installed the superuser.zip without any error message after the image as usual.

I get the message that the su-binary is outdated.
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Yes.

It's outdated.

Google it.
[Xperia Z3 Tablet Compact Original Android Developm] PureMAD4:
Try this for root.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Flash the zip with TWRP as usual .
[Xperia Z3 Tablet Compact Original Android Developm] pandan80:
Off tablet 5v 1.4 or 1.6A

On tablet 9v 1.4 or 1.6A

And the VPN still no working....
[Xperia Z3 Tablet Compact Original Android Developm] Fishaffair:
I have made clean install the lastest stable rom for scorpion windy and i have problem with speaker noise too. I do not know why i have this problem, Kernel Auditor and AudioFX do not help.
[Xperia Z3 Tablet Compact Original Android Developm] traketto:
On my sgp621, with 05-31 build rom, tethering on 5gz band works fine.

Is it normal? I have supposed that 5gz band tethering should be disabled in source code.
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Blinking red lamp

Hi! Very cool project, I like it and I'm gonna donate.

I have just one problem - after flashing, red lamp quickly blinks on my device about every 2 seconds. Also, when I restart device, it goes into power saving mode. Seems like device thinks that battery is empty, even through it is full (battery indicator shows 100%).

May be I should have charged it to 100% before flashing?

What can I do to fix it?

UPD. I charged my device to 50%, wiped everything and uploaded ROM again. Unfortunately, the problem stays.

Also, I forgot to mention that red lamp is always on when I am charging device - like if battery was low.

Some adb logs from device wile it is charging here: gist.github.com/jehy/45c75bf372dbe556a623b116449909ab

I think that messages like

look rather suspicious.

UPD2. I disabled "automatic power saver" in "battery saver and perfomance" and all issues were gone.

Then I enabled it again... And everything is still fine.

I think that maybe default low power percent was about 100% or more - that's why device always tried to go into power save mode.

UPD3. Donated to AICP :)
[Xperia Z3 Tablet Compact Original Android Developm] glyrakos:
I flashed your recovery, but still the same... When I flash TWRP, independently version, first boot is always in TWRP and if I don't reflash any rom I can't see it. Only TWRP. When rom flashed i cannot re-enter TWRP!

When you say re-flash bootloader you mean different procedure from the one in the following link? https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Thank you.

Update : the right command for flashing any recovery is fastboot flash recovery twrp-xxxx-scorpion(_windy).img and not boot that is stated in this https://xdaforums.com/z3-tablet-compact/general/how-to-sony-xperia-z3-tablet-compact-t3629791

So now I can enter immediately in TWRP. I flashed back the 29/4 version because latest version causes much less S.O.T
[Xperia Z3 Tablet Compact Original Android Developm] shrek42:
Many thanks for making available your amazing ROM to all of us. We would be lost without you.

Here are some minor inconsistencies I found when comparing the latest

ROM (20180531) with the previous one (20180429). Maybe you might

consider fixing this with the next ROM (if they are valid causes at all).

My current setup:

* aicp_scorpion_o-13.1-UNOFFICIAL-20180531.zip

* open_gapps-arm-8.1-nano-20180527.zip

* TWRP_scorpion_3.1.1.3_3.4_201711.img

(1) Android-Settings -> System -> About Tablet

The "Android version" and "Android security patch level"

probably do not to match:

Android version: 8.1.0.OMP2-171019.029.B1

Android security patch level: May 5, 2018

Expected combinations are:

OPM2.171019.029 <=> Apr 2018

OPM4.171019.016 <=> May 2018

OPM6.171019.030 <=> Jun 2018

But maybe the B1 in 8.1.0.OMP2-171019.029.B1

is making the difference. Please ignore if I'm mistaken.

(2) Android-Settings -> System -> Developer Options

When entering "Developer Options" for the first time

after a factory reset:

Android Debugging is (ON) by default, but should be (off)

by default.

Maybe a matter of taste. I'm happy with both defaults.
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
[MENTION=8106187]shrek42[/MENTION]

This is android-8.1.0_r26 sources.

See

https://android.googlesource.com/platform/build/+log/4679623877477308085dcefc7261868ea7d49d47

OPM2.171019.029.B1 -> 2018-05-05

OPM2.171019.029 -> 2018-04-05

OPM2.171026.002 -> 2018-04-05

Version number is different by tagging. Please see other tags like android-8.1.0_r30

ADB is my taste.
[Xperia Z3 Tablet Compact Original Android Developm] milox_x:
[MENTION=5688409]koron393[/MENTION] Is there any chance that you will make this ROM Treble compatible?
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Project treble needs vendor partition. Our device does not have vendor partition.

I know xperia Z2 developers work in progress to treble compatible. They use cache partition as vendor partition.

If upstream sources change to need treble absolutely, I will match codes to treble compatible.

But I don't feel much need treble now. I think it is better to work stability.
[Xperia Z3 Tablet Compact Original Android Developm] nicke85:
Before i tried this project on beginig and it didn't stable so i went to 5.1.1 version, but now have tried again this rom and must say thay I'm supprised, well done!

SGP611 iz a live again!
[Xperia Z3 Tablet Compact Original Android Developm] Lucidus3:
Significant Motion Detector steeling battery

I've ran this rom for a couple of weeks now and overall I like it. It's stable and lean. However I've noticed my battery life has been really bad on my SGP611. My device looses about 6% a day just being idle with screen off (or around 0,5%/h).

When I check in Better Battery Stats I see that Significant Motion Detector is active for about 70% of the time since I last charged. All this while the device is laying flat on a table.

Is there a way to disable Significant Motion Detector so that my battery life can be improved? (didn't manage to find anything on this in my google searches..)

[IMG="Significant Motion Detector in BBS"]https://pasteboard.co/Hq8nreL.png[/IMG]
[Xperia Z3 Tablet Compact Original Android Developm] Shimaran:
Hi

Once again I can't enter recovery mode.

Pressing the volume buttons when booting doesnt do anything...

Pressing down or doing nothing : led flashes in orange then tablet boots

Pressing up : led becomes purple and tablet reboots...
[Xperia Z3 Tablet Compact Original Android Developm] Lucidus3:
I had the same problem, what solved it for me was to flash twrp into the FOTAKernel and not into recovery or boot - i.e. fastboot flash FOTAKernel TWRP_xxxx.img.
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Everything is still wonderful, just one little bug report - camera button is partially covered with navigation bar and is half visible.

By the way, I would like to see this ROM as both official lineage ROM and aicp official ROM, it would be pretty cool.

Upd. And one more problem - I just discovered that after update my tablet can no longer see 5ghz access point (those networks were visible before and are visible on my lineage os phone right now).

Seems to be related to this:

https://www.reddit.com/r/LineageOS/comments/5thoj6/htc_one_m7_wifi_issues_with_5ghz/

https://jira.lineageos.org/plugins/servlet/mobile#issue/BUGBASH-904
[Xperia Z3 Tablet Compact Original Android Developm] shaolin95:
So only 2.4ghz WiFi with the latest ROM?
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
I can see and use 5ghz in my windy without problems, with the last version.
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
I think that it can depend on regional settings and on wifi point 5 GHZ channel, just as described in links I attached. You should simply check it.
[Xperia Z3 Tablet Compact Original Android Developm] CrazyPeter:
Connected to 2.4ghz WiFi, put tablet into airplane mode and it instantly rebooted.

Latest build.
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
I installed wifi analyzer and checked if I could see some 5Ghz networks.

Here is the result from my xiaomi mi 5s, running latest Lineage OS build (you can see that everything is okay and there are many 5 Ghz networks.)

And here is the result from my Sony Xperia z3, running latest ROM from this thread. None of 5Ghz networks are visible.

And if I use android wifi manager, I see same picture - all networks for my xiaomi, and no 5 GHz networks for my Sony. Since 5GHz works for other people, I suppose it has to do something with regional wifi settings like here. Those should be removed from Lineage OS long ago, but...
[Xperia Z3 Tablet Compact Original Android Developm] shaolin95:
Dang it. So everyone in the USA will get no 5ghz with the latest ROM?
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
I'm from Russia, and there were no mentions of 5Ghz problems aside from mine, so you should possibly be okay. Just give it a try.
[Xperia Z3 Tablet Compact Original Android Developm] Blackout83:
Nice Update (aicp_scorpion_windy_o-13.1-UNOFFICIAL-20180623). Standbytime is amazing!

(i use the App: WiFi Automatic to Switch Wifi on/off 2min after lockscreen.)

one question: twrp can't handle encrypted device? i decryptet (reflash) mine, because i can't make full-backups with twrp if encrypted.

btw: i use 5ghz with no Problem.
[Xperia Z3 Tablet Compact Original Android Developm] shaolin95:
Has anyone found a way or google apps apk that has a working Ok Google ? By working I mean that it allows you to say Call X person and it works. No matter what, with every version of this rom I always get a sorry I cannot make calls yet. Even starting navigation randomly stops working but the calling part never does.

Thanks!!!!
[Xperia Z3 Tablet Compact Original Android Developm] jacktheriefla:
No Probleme here with 5Ghz Wifi.

Beside that: Am sitting on an old TWRP Version 3.0.2-0

But everything if fine.Is there a need to Upgrade?

---------- Post added at 07:29 PM ---------- Previous post was at 07:23 PM ----------

Great Work Dev Team :)
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
I think that I also have a bug like this - after encrypting storage, TWRP started asking me for unlock pattern, and my pattern which works fine in OS, does not pass in TWRP...
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Wi-Fi 5GHz country code issue is Google or your government issue.

I will not fix it.

[MENTION=9149700]Blackout83[/MENTION] [MENTION=9214112]jehy_rus[/MENTION]

Decryptable TWRP is now testing. Please try this.

https://xdaforums.com/showpost.php?p=76410814&postcount=300
[Xperia Z3 Tablet Compact Original Android Developm] Blackout83:
thanks koron.

i look Forward to try this twrp-version at next Weekend. I will give Feedback here.

btw: in standby (with wifi off) my device needs in >10h just 1% battery! this is amazing!
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Yup, this really seems like a kind of regional issue. But:

1) My phone with Lineage OS 15 works fine with 5Ghz

2) Sony tablet worked fine with 5Ghz before updating to this ROM

3) I tried changing channels on my WIfi access point, but seems like my Sony on this ROM does does not see any 5Ghz networks, whatever channel I set.

Is there nothing we can do? I suppose it can be related to Sony Wifi drivers.

Thanks! Just tried this, got same result - "unable to mount storage" + "Failed to decrypt data". Tried both pattern and PIN - nothing works. May be I should wipe all, install ROM again and encrypt once again?
[Xperia Z3 Tablet Compact Original Android Developm] Fishaffair:
Sorry, is where the Changelog to the latest build ?

And what is about problem with noise in speaker on low volume , has this bug still existed on last build?

Thanks for answers!
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Suddenly I managed to get 5Ghz to work. Those two topics helped me:

https://xdaforums.com/xperia-z/help/5ghz-wi-fi-t2171212/page4

https://talk.sonymobile.com/t5/Xperia-X-Performance/Wi-Fi-5Ghz-troubles/td-p/1147600#gref

Seems like Sony devices check your country by sim card on device startup, and apply random WiFi restrictions based on it. I removed my sim card, rebooted and now I can see 5Ghz networks. Unfortunately, I have to choose between sim card and 5 GHz WiFi, and of cause I want them both! Can we do anything about this restriction?

Seems like country data can be overwritten, as described here:

https://xdaforums.com/showthread.php?t=2051751
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Encrypting device right now seems pretty dangerous.

I installed latest TWRP which should support decryption but it did not work for me - so I could not install any updates or patches via TWRP.

Decrypting device is only possible via factory reset, but factory reset is done via TWRP... So it did not work for me. I tried wiping and formatting partitions but it did also did not work for me and even rendered tablet unusable. To repair it, I had to change patition types to FAT and then back to ext4. After it I was able to use TWRP to install ROM once again.
[Xperia Z3 Tablet Compact Original Android Developm] Razor99:
Hello guys, excellent job with this ROM!

I have just one issue:

Random reboots when I hit volume down / up / power button.

I tried full wipe and reflash, nothing helped.

I do not have a log cat now. Does anybody else have this issue?

SGP621 LTE version
[Xperia Z3 Tablet Compact Original Android Developm] alex9x:
Hello guys, please, help with SPG621.

I have flashed SGP621_23.5.A.1.291_1290-1594_R2D from flashtool to update bootloader, then flash aicp_scorpion_o-13.1-UNOFFICIAL-20180623 from twrp-3.0.2-0. Then boot system and all was OK, but no recovery. Then I flash TWRP_scorpion_3.1.1.3_3.4_201711.img via fastboot - and device now not powering or blinking led. When I insert it - windows shows unrecognized device with USB\VID_0000&PID_0003\5&7F73DFC&0&1 on windows 10 and unknown device on windows 7.

I make twrp backup of 23.5.A.1.291, then make wipes and install aicp_scorpion_o-13.1-UNOFFICIAL-20180623, it boots and looks amazing, then I try to make backup, but could not enter recovery and start flash recovery downloaded from this topic :(

Any help are welcome.
[Xperia Z3 Tablet Compact Original Android Developm] jehy_rus:
Another word on using 5Ghz Wifi in Russia (it is completely broken, but only for Russia and may be some other countries, and it applies only to LTE edition).

It is a well known problem on many Android distributions and phones, there is much discussion of this problem here. To make the long story short, when you are connected to mobile network, available Wifi channels get overwritten based on country data from mobile network.

It is really strange that my mobile phone on Lineage OS 15 does not have this problem, even through SIM cards are pretty same (from the same operator).

Suggested fix from the thread above is to remove call to function "setWifiCountryCodeFromMcc" - it is the one that breaks everything. It usually referenced from "/system/framework/telephony-common.jar", but on this ROM this jar is empty. But I found that this function is referenced from /system/framework/arm/boot-telephony-common.vdex. I suppose this package is open source and we could remove this call? Also I thing that there should be somewhere a table which contains MCC codes and Available channels. It would be best to fix this table.

By the way, setWifiCountryCodeFromMcc is met in this source and it calls "setCountryCode" from here.
[MENTION=5688409]koron393[/MENTION] could you take a look at it?

Working and ugly solution

I installed magisk 16.0, installed Xposed Framework with magisk and then installed Xposed module for wifi fix (which sets country to UNKNOWN and it fixes 5 Ghz problems). Voila, 5Ghz working. But I would prefer not installing magisk and Xposed (which can both break OS) for such fix. We have open source ROM, not some proprietary code, and it should be possible to fix it without such hacks.
[Xperia Z3 Tablet Compact Original Android Developm] Fishaffair:
Sorry, is where the Changelog to the latest build ?:eek:
[Xperia Z3 Tablet Compact Original Android Developm] Quaicheist:
AICP extras > about
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
I already know this code. But I will not fix it.

https://xdaforums.com/showpost.php?p=76685910&postcount=377
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
[MENTION=9149700]Blackout83[/MENTION] [MENTION=9214112]jehy_rus[/MENTION]

I re-build TWRP with latest omni sources. I test encrypted windy device and decrypt in TWRP successfully.

Please try this?

(Sorry raw is not testing for now)

For raw

TWRP_scorpion_3.2.2-4_3.4_201806.img

For windy

TWRP_scorpion_windy_3.2.2-4_3.4_201806.img