yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
Your welcome :) Should I post stuff as I find them or PM you so you can update the OP?

Could you post trebuchet separately? That'd be a great help. I think the PA guys need to incorporate Aroma installer, because I don't think Google Now Launcher is as good as Trebuchet.

Keep up the good work, hopefully we'll get the camera drivers soon. I'll look to see if the camera module is the same as the Z2 tab, if so we may not need to wait, just take them from the other repository.
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
Oh, one more thing...

Xposed doesn't install through a combination of crap cyanogenmod recovery and other stuff which I can't profess to understand :p

Edit: I now understand that this is because of the shift from Dalvik runtime to ART. Getting CM12 to run Xposed will either require reverting to Dalvik (is this possible?) or waiting for the Xposed devs to rewrite Xposed.
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
When updating to a new nightly, you can flash over the previous build. When you do you need to reflash the ram disk/kernel update.

BUG REPORT: Rebooting into recovery from power menu doesn't work. Requires manual intervention at 'Sony screen'/purple LED.
[Xperia Z3 Tablet Compact Android Development] MasterTRL:
Intalled it and works fine as far as i can tell. Can´t move Apps to he sd card thogh (not enough space error) but that might be because of that known sd issue. I have general access to the sd though.

Cheers and thanks

Chris
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
What nightly are you using and did you flash the sd card fix?
[Xperia Z3 Tablet Compact Android Development] MasterTRL:
cm-12-20141228-0800-UNOFFICIAL-scorpion_windy is the file i have flashed. And i did flash the fix as well. I had no ext sd shown in file manager befor that fix but i have now after the fix. However, if i try to move any app i get the error that there would not be enough free space. Of course the 64gb card is almost empty...
[Xperia Z3 Tablet Compact Android Development] ejdan:
I can confirm that my fix is still required. The file /fstab.qcom still has msm_sdcc.2 but with my fix it is msm_sdcc.3

Qzerno, search your build tree for the file fstab.qcom and change the 2 to a 3. Do not try to add a new file as I suggested first.
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Post the stuff/bugs, thanks.

You can download Trebuchet here.

You need to wait for Xposed devs that they rewrite Xposed for ART.

I have add a new file and add a line to the makefile but still take the one from Shinano tree. I will change the one in the Shinano tree for now.

For next build you don't have to flash the fix hopefully.
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Hmm... That's strange for me it works. I will do a clean install and test again
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
This is what I get when trying to reboot into bootloader. Excuse the dodgy background sounds, my GF has some questionable taste in TV when she's not working on her PhD!

[YOUTUBE]xkFNs8VKPIo[/YOUTUBE]
[Xperia Z3 Tablet Compact Android Development] Qzerno:
I can't see the video, it's private.

If I do "wipe data/factory reset" this remove all my apps, because now if I do this I keep my apps.

Do anyone know how to compile a kernel with twrp or can you compile twrp separately?
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
The video should be sorted now, dude.
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
Is it just me or is the feature set in CM12 not as fleshed out as stock or CM11. It would be interesting to see a build a of CM11 for our Z3TC
[Xperia Z3 Tablet Compact Android Development] ejdan:
I beleive it should be possible to put a ramdisk with TWRP in the FOTA partition. The extract_elf_ramdisk tool (https://github.com/CyanogenMod/android_device_sony_common/tree/cm-12.0/extract_elf_ramdisk) will check for a ramdisk, unpack and execute it in place of the built in CM recovery.

export BOOTREC_FOTA="/dev/block/mmcblk0p16"

Maybe you could ask krabappel2548 how to make a compatible ramdisk and how to flash it.
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Hmm that's strange. If someone else can confirm this I will add this to the not working list.

CM12 is in development stage so yes not all feature's from CM11 are included

Hmm... interesting. Thanks I will ask krabappel2548 if he know how to do this.
[Xperia Z3 Tablet Compact Android Development] ejdan:
Battery capacity

Bug report: Battery capacity is reported as 6000 mAh but it should be 4500 mAh. This shows in the battery stats as "Miscellaneous" and a difference between observed and computed power use.
[Xperia Z3 Tablet Compact Android Development] sonnylumley:
battery drain issues

Im getting significant battery drain, 80% to 31% in 2 hours use this morning. Other than that the rom is smooth and quick (aside from known issues with camera).
[Xperia Z3 Tablet Compact Android Development] ejdan:
Install TWRP

I have now verified that is is possible to install TWRP in the recovery partition (FOTAKernel) using the following command in a root shell:

dd if=sgp611-twrp-boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

You install a normal boot image with kernel and ramdisk in this partition. The kernel is not used, only the ramdisk.

I used my TWRP (based on TWRP for Xperia Z2) from this post:

http://xdaforums.com/showpost.php?p=57049268&postcount=25

Of course it would be better to build TWRP for Z3TC from source but I do not have any plans to do that at the moment. The stock kernel with TWRP by krabappel2548 does not work, probably because the ramdisk is for the stock kernel.
[Xperia Z3 Tablet Compact Android Development] MasterTRL:
That is awesome bro! I was desperate for a way to do exactly that. It did work flawlessli!

Cheers

Chris
[Xperia Z3 Tablet Compact Android Development] moritz31:
I can try to include twrp in my Kernel, but i wait for root to save my drm keys,

For battery try to calibrate it, this issue can happen when the battery data gets coruppted by flashing a New rom
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Sorry for my absence the last couple of days I have been sick.

Where is that reported because I have searched but can not find it.

Hmm I don't have that. Which app are have installed? Try to do a clean install maybe it helps.

This is very nice! I will add this to the OP.

I will look if I can build TWRP for source.

Yes, there is. You need to download a wifi build. Which recovery do you use?

Can you maybe tell me how I can do that? so I can build aosp kernel with twrp for our Z3TC.
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Hmm strange. I have used this recovery (link) for the first time flashing.

Which error do you get if you try to install the rom?
[Xperia Z3 Tablet Compact Android Development] ejdan:
Here are two screenshots that shows the battery stats:

Ok, please do.

I think it is better to keep the CM12 kernel as close to standard CM as possible and flash TWRP in the recovery partition.
[Xperia Z3 Tablet Compact Android Development] Qzerno:
I don't have "Miscellaneous" by my battery stats. I will do a clean install and look if it shows up.

Oke, but if you flash the next nightly do need to flash TWRP again?
[Xperia Z3 Tablet Compact Android Development] ejdan:
No you only have to flash it once (and if you want to update TWRP of course). Since it is in a separate partition it is not affected when flashing CM12 which only updates boot and system partitions.
[Xperia Z3 Tablet Compact Android Development] finran:
SD Card fixed

Nice Build,

just wanted to mention that I don't have Problems with the SD Card. It is marked as buggy with a needed fix in 1st Post... don't know if anyone already said that the Problem seems to be solved.

Regards
[Xperia Z3 Tablet Compact Android Development] Dysen1ery:
is a diamond! thanks for big work !

I would like to ask, where i can see the changelog for each nightly builds. or its not implemented??

and another question, if there a chance that this CM will be the officially later?
[Xperia Z3 Tablet Compact Android Development] da900:
Erro flashing updater zip

I cann't install CM12 on my Scorpion (SGP621) because in recovery I always get a messege that my device is scorpion_windy. I am using this recovery/kernel with my stock fimware - http://xdaforums.com/z3-tablet-compact/development/advanced-stock-kernel-twrp-root-t2959720

And I even cann't install CM12 using build-in CyanogenMod recovery if flashing stock CM kernel before, because this recovery does not recognise internal or external SD cards. :( Please, help.
[Xperia Z3 Tablet Compact Android Development] apc:
The recovery is compiled for the WiFi models (scorpion_windy). To flash the rom for the LTE model (scorpion), replace the update-script file (cm-12-20150108-0800-UNOFFICIAL-scorpion.zip\META-INF\com\google\android\update-script) with the one from the scorpion_windy rom.
[Xperia Z3 Tablet Compact Android Development] da900:
Hi. Just one more question. My Scorpion can not connect to mobile network. At first start all was fine. But after I change network time to LTE (preferred) the tablet can't find any network. Any help?
[Xperia Z3 Tablet Compact Android Development] finran:
Bluetooth

Hi There,

i've been Testing this now about 2 Weeks... so I know its nothing official nor beta or even final. nevertheless some things work pretty nice and fluent for this stage.

one thing that's really annoying for me is the bluetooth connection. its really really unstable for me. that worked fine and stable in the sony standard firmware.

does anyone know if thats a CM thing? or primary cause of unofficial alpha build?

regards
[Xperia Z3 Tablet Compact Android Development] Noe_S:
The same happens for me. It doesn't matter if I use LTE och 3g. And if I get connection it looses it in a couple of minutes. And on top of that the battery drains very quickly. When I went to work yesterday the battery was almost full, when I came home about 9 hours later the tablet has turned of. The battery was empty.

This is too much of a bug for me so I'm going to use my backup. Unfortunately TWRP are not installed anymore so I guess I will have to install the advanced-stock-kernel again, or is there any easier way?

Have anyone tried the XZ Dual Recovery? It should work for Xperia Tablet Z3 Compact: SGP621, SGP641, SGP651 it says in the OP.
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
I flashed Advanced Stock Kernel that you mentioned above to use my backup
[Xperia Z3 Tablet Compact Android Development] ejdan:
Fix for camera?

Could this be the fix for the camera that we have been waiting for:

http://review.cyanogenmod.org/#/c/84805/
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Yes, the camera works finally!

and building TWRP from source is not yet succeeded.

Build with camera working is ready to download for scorpion windy(Wifi)!

Building right now for scorpion(LTE)!
[Xperia Z3 Tablet Compact Android Development] ejdan:
I can confirm that both cameras are working in this build but I have now problem playing video. Youtube and other apps can not play video. MX Player works but only with the software decoder, not hardware.

Tested with version cm-12-20150112-1913-UNOFFICIAL-scorpion_windy
[Xperia Z3 Tablet Compact Android Development] Qzerno:
When I'm at home I'll check this.
[Xperia Z3 Tablet Compact Android Development] moritz31:
Only root is Missing now :) for backing up Drm, did someone test the drm function restore?
[Xperia Z3 Tablet Compact Android Development] ejdan:
After a reboot everything seems to work fine again. No problem playing video. Sorry for the false alarm...

Edit: Some Youtube videos work, but not all.
[Xperia Z3 Tablet Compact Android Development] silver-alx:
Just installed last build on SGP621 and there is no mobile data completely
[Xperia Z3 Tablet Compact Android Development] BPinard:
No YouTube/video here either. Aside from that it is working well.
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
Is the recovery still the abysmal CM recovery or do we have TWRP or clockworkmod built in yet?
[Xperia Z3 Tablet Compact Android Development] Qzerno:
How do you mean root is missing? Root is by default disabled, you can enable root in developer options.

I can't play video's with quality higher than 360p.

Did you a clean install? Try to install it again.

It's still that recovery from CM. I'll add a solution to install TWRP to the OP.
[Xperia Z3 Tablet Compact Android Development] BPinard:
I can't seem to be able to get TWRP to install. I get an error that says 'no space left on device'. Thoughts anyone?

[IMG="twrp flashing error"]http://i.imgur.com/esy0zlz.png[/IMG]
[Xperia Z3 Tablet Compact Android Development] Qzerno:
That's my fault. The command should be this:

dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

I'm so sorry.
[Xperia Z3 Tablet Compact Android Development] BPinard:
That's quite alright. I just figured out another way to make it work.

For the record:

Download and place twrp.img from the OP into your fastboot directory on your computer.

Plug your tablet into your computer.

Reboot your tablet into fastboot mode (hold volume up immediately after turning the device on; the LED should turn blue and remain lit).

Hold down the shift key and right click in the folder where your fastboot.exe resides and click "Open command window here"

Type the following into a command prompt window on your computer:

fastboot flash recovery twrp.img

Then reboot your device and you will be able to use TWRP.

Special thanks to Qzerno.
[Xperia Z3 Tablet Compact Android Development] da900:
Is TWRP in first post for both Z3TC (WiFi and LTE)?

Also, could this TWRP be used with stock rooted ROM?
[Xperia Z3 Tablet Compact Android Development] WastedJoker:
Is twrp meant to be a bit skewed/small looking if flashing the file from the OP?
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Thanks for finding this. I'll test this and if it works will I add it to the OP.

I'm not 100% sure but I think it should work for LTE version. I can't test it.

For stock rooted ROM I don't know.

Yes, because this TWRP is original for the Xperia Z2.

I'm trying to build TWRP from source for our device but its fails every time :(
[Xperia Z3 Tablet Compact Android Development] WastedJoker:
Anyone else having issues playing videos in youtube using the PA gapps pack linked in the OP?
[Xperia Z3 Tablet Compact Android Development] anatole78:
Can't remember having any :/

And with the app getting updated through the play store well, that should solve it :)
[Xperia Z3 Tablet Compact Android Development] BPinard:
Yes, and the video playback issues aren't limited to the YouTube app. I don't think hardware acceleration is working properly. Twitch.tv app, for example, can play video, but not at the "source" setting. Plex will not play videos either. I'm not exactly sure what the issue is but I believe it to be related to hw acceleration. I also noticed that sometimes the device will forget which WiFi network I was connected to, so I need to re-select it and type in the password again.
[Xperia Z3 Tablet Compact Android Development] ikon8:
It's not a problem with the YouTube app. If you check the logs there's lots of errors about qcmediaplayer not being present and h264 and aac decoder errors.
[Xperia Z3 Tablet Compact Android Development] BPinard:
Anyone know what it would take to resolve that? Maybe building the ROM with the required components? I also noticed the "could not connect to camera" (difficult to reproduce) with google camera.
[Xperia Z3 Tablet Compact Android Development] WastedJoker:
Overall I'm happy with the latest version but I get very poor battery performance playing media. On default rom I could play 6/7hrs on mxplayer (with h/w decoding) and only use 60-70% battery. I just played 2.5hrs of movie (with h/w decoding) and it used 50%.

^^^Not sure if that is related to the above post about codec errors.

Edit: I've gone back to stock for the time being. I'll be keeping an eye on this thread though.
[Xperia Z3 Tablet Compact Android Development] ejdan:
Official CM12 nightly

I just tried the official CM12 nightly (cm-12-20150118-NIGHTLY-scorpion_windy.zip ) from http://download.cyanogenmod.com/?device=scorpion_windy

It still has the SD card bug which I tried to report weeks ago... The problem with HW video decode is also present in this build.

Changelog is available here http://www.cmxlog.com/12/scorpion_windy/
[Xperia Z3 Tablet Compact Android Development] da900:
Deleted
[Xperia Z3 Tablet Compact Android Development] Qzerno:
It looks like that they fixed the radio and the H/W decoding for our device's.

I have also reported that the micro sd card does not work.

I will stop with my unofficial builds if they make also nightlies for the scorpion (LTE).
[Xperia Z3 Tablet Compact Android Development] baastrup:
multiuser support with cm12?

Hi does the cm12 for z3 lte has multi user support?
[Xperia Z3 Tablet Compact Android Development] da900:
Yes
[Xperia Z3 Tablet Compact Android Development] da900:
Z3 TC LTE is on schedule for today built in CM jenkins. http://jenkins.cyanogenmod.com/job/android/ Will see if the build is sucsesful.:laugh::silly:
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Official nightlies are up for our device's:

Scorpion (LTE): http://download.cyanogenmod.org/?device=scorpion

Scorpion (Wifi): http://download.cyanogenmod.org/?device=scorpion_windy

I stop making unofficial builds for our device's.
[Xperia Z3 Tablet Compact Android Development] ejdan:
External SD card

SD card does not yet work with the official CM12 nightlies. If you need SD card you can restore boot from a backup of one of Qzerno's builds. Select restore in TWRP and make sure that system and data is not checked, only boot.
[Xperia Z3 Tablet Compact Android Development] ejdan:
Now the fix is merged to CM12 so we just have to wait for the next nightly.

http://review.cyanogenmod.org/#/c/86622/
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
I know the builds are discntinued but is there any chance of getting a mirror of TWRP for CM12 up? I can't get bugger all to work on the official nightlies without it
[Xperia Z3 Tablet Compact Android Development] ejdan:
You can use TWRP attached to this post

http://xdaforums.com/showpost.php?p=57049268&postcount=25

Follow the instructions in the first post of this thread to install it to the recovery/FOTA partition (NOT boot partition as in the other thread).
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
So this won't lead to a world of bootloops?
[Xperia Z3 Tablet Compact Android Development] ejdan:
I use it and it works fine but as always you flash on your on risk. Since it sits in the separate FOTA partition it will not affect normal boot. CM12 looks for a ramdisk in this partition and boots it when volume up is pressed instead of the built in CM recovery.
[Xperia Z3 Tablet Compact Android Development] ikon8:
Does quick charge 2.0 work for anyone? I assume once Sony releases the kernel source for their 5.0 build we'll get qc2.0 and double-tap to wake?
[Xperia Z3 Tablet Compact Android Development] D_JWhite:
I'd love to flash, but the twrp.img on [MENTION=2838792]Qzerno[/MENTION] 's server is no longer there :(
[Xperia Z3 Tablet Compact Android Development] Qzerno:
Yeah that's right. I had to reinstall my server because one of my hard drives was broken.

I will as soon as possible upload twrp.img to my server.

EDIT: twrp.img is up!

New Link
[Xperia Z3 Tablet Compact Android Development] Khaiyan:
Hi Qzerno,

Appreciate all your efforts. I'll be receiving my Z3 Compact Wi-Fi tablet. Could you confirm these are the right steps to take to get CM official up and running?

1. Unlock bootloader

2. Download TWRP image you've posted above

3. Flash it using instructions in the first post

4. Reboot into recovery and flash CM official + Gapps?

I just want to make sure I get everything right. Thanks :)
[Xperia Z3 Tablet Compact Android Development] ejdan:
No that will not work. You will need to flash a kernel and recovery to the boot partition using fastboot (not the recovery partition). Starting TWRP from the recovery partition will not work until you install the CM kernel.

I would suggest flashing the kernel from the CM12 nightly zip to the boot partition and TWRP to the recovery partition, all using fastboot. Then boot and press vol up to start TWRP.
[Xperia Z3 Tablet Compact Android Development] der_bert:
Hi Qzerno, hi Ejdan,

is there any chance you could post a twrp version for sgp621 (LTE)?

see post #92

I installed the twrp from your server on my SGP621 and now I can't install new nightlies as twrp "thinks" it is on a scorpion_windy device.

(I know there is the workaround of changing the update-script file, but that is no permanent solution)

Otherwise, could you please give me advice how to deinstall twrp again?

Edit: ok, this can be done by reflashing FOTA Kernel from ftf file

Thanks for your efforts!
[Xperia Z3 Tablet Compact Android Development] der_bert:
twrp for SGP621

Well, so I managed to create a working twrp.img for SGP621 myself.

The attached recovery file will allow flashing cm12 roms for SGP621, instead of getting that "this device is scorpion_windy" error message.

And - even more important - it will accept cyandelta created roms which isn't possible with the crappy cm recovery.

just unzip the attached file and flash twrp.img to the the FOTA partition as described in OP.

Please note that this is not a genuine build for the device, but an altered twrp.img file of the one provided in post #88, which again was originally for the Z2 phone.

I would also like to mention that I'm not even close to something you would call an android developer. I've simply unpacked the original img file and replaced all mentionings of sgp611/scorpion_windy with sgp621/scorpion. then i repacked it and was kind of surprised that this was all needed to work.

so use this with caution, I can't guarantee anything, only that it is working flawlessly on my device, and I won't be able to help you if something goes wrong.

Edit:

It seems as if CM12 has f***ed up sth with recovery since nightly_20150211. Rebooting to recovery doesn't work, and on start up the velvet led won't light up. It's still possible to boot manually into recovery, but then TWRP show's an empty sd card (it's not empty).

After uninstalling twrp, reboot to recovery is still not possible, but at least cm recovery has access to /sdcard.

Reflashing nightly_20150209 solves the problem.

So currently i would not recommend using a FOTA recovery (or at least not this twrp.img) with nightlies later than 20150209.

EditEdit:

as of nightly_20150214, cm12 is rebooting into (twrp) recovery again
[Xperia Z3 Tablet Compact Android Development] paratox:
anyone succeeded in building TWRP from source for SGP61X & SGP62X?
[Xperia Z3 Tablet Compact Android Development] Schuan:
Please continue developing. We need more stuff like this
[Xperia Z3 Tablet Compact Android Development] op3n:
twrp doesnt work...
[AT&T Samsung Galaxy Note 4] woowdy:
Hello everyone. Just want to ask if this possible. As you see in the photo, there is S Finder and quick connect. I can't find it on my at&t note 4. Is it possible to enable this feature?

View attachment 3080480View attachment 3080480View attachment 3080480
[AT&T Samsung Galaxy Note 4] thanitos:
S finder seems to just be a quick search feature and if you touch quick connect it asks to update.
[AT&T Samsung Galaxy Note 4] woowdy:
I know. I need the feature to be in the notification side by side like showing in the photo. S finder and quick connect are in the notification for quick access.
[AT&T Samsung Galaxy Note 4] thanitos:
Gotcha, looks like the att touch wiz version doesn't get that feature from what I dug up, so you'd want to get a tmobile version of touch wiz and use that
[AT&T Samsung Galaxy Note 4] woowdy:
Well, I don't do root stuff and don't know if I need to root to do that. Thanks anyway
[AT&T Samsung Galaxy Note 4] Mad383Max:
Why don't you just do it like this: