yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] CTXz:
this isn't facebook. You don't abuse the thank system here. Please open up a this kind of poll somewhere else on Facebook but not here. If you're trying to pressure me to fix Bluetooth by spamming "Guys am I the only one who needs <Insert broken thing here>? How many are waiting for <insert broken thing here>. I'm only waiting for <insert broken feature here>". I'll fix what I can fix. Bluetooth is unfortunately a very hard problem since it has to do with UART buffers. If you're so desperate for it than come and maybe start working on it yourself.

Did I forgot to mention that i'm also just a human? Cause I also got many other things to do than tracing back code after code to find out what's wrong.

Sorry if I was too harsh/rude, CTXz
[Xperia Z5 Compact Android Development] mazenetic:
Sorry about that. I am new and accept the harshness - this is the internet :) .

The purpose (although not executed properly) was to get a discussion started on the Bluetooth roadblocks.

Are there any links/info we can use to get started assisting research on the UART buffers problem? If this is still the wrong place for this, again I apologize.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Attempt bluetooth transfers, or simply enable it,

then get the dmesg, logcat output and see whether you find meaningful solutions (kernel or ROM patches, threads that mention similar error message, etc.) for the error message and post it in a different developer thread

That would be really helpful :)
[Xperia Z5 Compact Android Development] creebefu:
Stupid question (and I have tried searching for this), but how do I get the device into Recovery? If I 'fastboot reboot' the screen remains blank and I just have a green LED (with cable still attached that is). If I turn the phone off and then press power button it vibrates but, again, the screen remains blank. I don't get the white Sony screen?
[Xperia Z5 Compact Android Development] harry_turtle:
Wow, that's very nice. I hate my Z5C for the same reason. (battery drain in stand by)

I love CM and this might just tip the balance in keeping my Z5C.

CTXz, thanks alot!

Quick question: as the colors are incorrect, will I still be able to scan QR codes with my phone? (For Signal Desktop Messenger)
[Xperia Z5 Compact Android Development] zacharias.maladroit:
It's more a thing of Camera focus than colors, the preview on stock camera is b0rked, but the colors are so - so,

use Camera Next Mod app, that should get you better pictures (Macro not too bad, general lacks a bit of focus due to lack of focus-ability of the cam).

With recent camera changes (VCM2 actuator) + recent blobs (drivers/firmware) focus hopefully works
[Xperia Z5 Compact Android Development] damo99:
I also experienced the phone randomly dying when i flashed to 20160417 release, couldn't switch it on and had to force shut it down. I flashed back to the previous release and it stopped doing it. I thought i'd give it another try with the latest release and it died twice the same day, so i fully charged it and left it in battery saver mode for a day and a night, then switched it back to balanced battery setting and it hasn't died since.
[Xperia Z5 Compact Android Development] CTXz:
Hey, this looks like a CM issue and should be resolved by the next build
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Thanks for the heads-up ! :)
[Xperia Z5 Compact Android Development] featzhang:
Just noticed a thing,if I turn on the phone while it's charging(showing that white charing animation),it won't boot up,just flashing red lights.

Using latest build with E5823 and flashed xposed v84.
[Xperia Z5 Compact Android Development] tanto124:
Issue report:

Model: E5823

Phone sleeps till die if I don't use it for a while(sometimes short like 10minutes sometimes long like a night). Cannot wake it up, so I have to shut it down by force and power it on again. I guess it might be the Android doze's problem.

The issue has been appearing since 4/12 build, which was the build I got started with.

Things I have tried:

Change battery mode ---- no effect.

Add Android System, Shell to the Battery optimization ignore list ---- no effect.

Turn on wifi hotspot ---- no effect.

Factory reset ---- no effect.

Remove SIM card ---- no effect.
[Xperia Z5 Compact Android Development] Marco20:
Problem is already known and maybe a problem of cm itself, please read the posts above...
[Xperia Z5 Compact Android Development] tanto124:
Oh..sorry about that, I didn't read carefully.
[Xperia Z5 Compact Android Development] CTXz:
Alright guys, after some time I got my stuff sorted again, I'm still having a small battle with my tablet atm but development for the z5c should start soon again ;)
[Xperia Z5 Compact Android Development] blackstar1744:
Quick question. I'm quite sure I'm following the install instructions exactly but during installation I get the message "Failed to mount '/usb-otg' (Invalid argument)" and a black screen with a solid red notification light after installation. Any suggestions on what I may be doing wrong? I should be doing an advanced wipe from TWRP and then installing cm-13.0-20160417-UNOFFICIAL-suzuran.zip, right?
[Xperia Z5 Compact Android Development] harry_turtle:
Do you have Z5C AndroPlusKernel?
[Xperia Z5 Compact Android Development] blackstar1744:
Yes. I initially flashed v26 but then went back and flash v20. After several attempts at installing the zip file from TWRP I did notice that even after attempting to install CM13 and repeatedly getting the "Failed to mount '/usb-otg' (Invalid argument)" message during the process, TWRP does notify me on reboot that I do not have an OS installed. I don't think flashing AndroPlus's kernel is an issue nor is installing TWRP but for whatever reason installing CM13 is a no-go for me :confused:
[Xperia Z5 Compact Android Development] zacharias.maladroit:
The usb-otg error shouldn't really cause this behavior (I got that error message, too),

there might be mount points or device nodes missing, but it should be something else.

You tried power off the device (vol up + power), then normally powering on - and see whether it boots up CM correctly ?
[Xperia Z5 Compact Android Development] blackstar1744:
I just re-tried the entire process from the beginning. When I try to power on the phone it vibrates but the notification light does not come on. My plan is to download E5823_32.1.A.1.185_CE.ftf (2.33GB :crying:). I'm hoping I can flash this and get the phone back to factory condition.

I just realized I made the rookie mistake of trying to flash the recovery TWRP-3.0.0.0-suzuran-v2.img using the boot option. I flashed the Android 5.1.1 firmware and started over paying closer attention but I never see the yellow light spoken of. The notification light simply goes off and eventually returns as flashing red. TWRP has to be flashed using the command 'fastboot flash recovery TWRP-3.0.0.0-suzuran-v2.img', correct?
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Yes,

actually it got to be flashed in 256M (megabyte) steps for safety reasons, since there might be a limitation in transfer size, etc. etc.

hence, just do the following and you should be back on track:

fastboot -S 256M flash recovery recovery.img

fastboot flash boot boot.img
[Xperia Z5 Compact Android Development] blackstar1744:
After some more work I've come to realize that TWRP 3.0.0.0 provided through the link in the sticky for this thread simply does not run on my phone but TWRP v2.8.7.0 works fine. Although I am still unable to install CM13 as I get the following error during installation:

system partition has unexpected contents after OTA update

E: Error executing updater binary in zip '/sdcard/Download/cm-13.0-20160417-UNOFFICIAL-suzuran.zip'

Error flashing zip '/sdcard/Download/cm-13.0-20160417-UNOFFICIAL-suzuran.zip'

Does anyone have any suggestions for what I should make of this error message? Perhaps I should stick to the stock kernel when updating instead of using Z5C AndroPlusKernel v20 by [MENTION=5169444]AndroPlus[/MENTION]?
[Xperia Z5 Compact Android Development] blackstar1744:
I still haven't had any luck installing cm-13.0-20160417-UNOFFICIAL-suzuran.zip but some online research has shown me that the error 'Error executing updater binary in zip' has to do with the ROM not being compatible with the bootloader. Could this problem relate to the build number I'm running prior to trying to install CM13? Do any of you recall what build number you were running when you loaded CM13? I currently have build number 32.1.A.1.163 installed (Android version 6.0).
[Xperia Z5 Compact Android Development] :
not the case here ;)

if I'm guessing right, you're using 2.8 twrp? you'd need to use version 3.0 to flash the zip
[Xperia Z5 Compact Android Development] blackstar1744:
You were right, problem solved! But the actual source of my problem was that previously I was not running the most recent build (32.1.A.1.185). Because of this I couldn't install TWRP 3.0.0.0 and because of this I was trying to install with TWRP v2.8.7.0 and running into issues.

Moral of the story, build number must add up. Thanks to everyone who replied to my posts!
[Xperia Z5 Compact Android Development] harry_turtle:
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/latest-updates/

2016-04-22: AOSP Marshmallow binaries for Android 6.0 and AOSP Lollipop binaries for Android 5.1 updated with improved connectivity, stability and camera functionality. We’ve also added the second camera actuators for Xperia Z3 and Xperia Z4 tablet. In addition, we’ve added the camera actuator for the Xperia Z5 family for Android 6.0.

I assume camera should be an easy(-ier) fix now?
[Xperia Z5 Compact Android Development] CTXz:
Yeahh, almost. We're working on it ;)
[Xperia Z5 Compact Android Development] Lemming0815:
What exactly are you expecting from the latest blobs? Do you need any help testing or reviewing code?
[Xperia Z5 Compact Android Development] creebefu:
I'm currently trying to flash MM.185 onto my phone but it's stuck on flashing data - the green bar hasn't moved for over 30 minutes. Did yours take a while to flash?
[Xperia Z5 Compact Android Development] wxo:
I'd recommend waiting on the next build. The existing one is great, but there are a lot of stability issues (especially while charging) that detract greatly from it's overall awesomeness. A lot of this looks to be addressed in the next release.
[Xperia Z5 Compact Android Development] creebefu:
Thanks for the suggestion - do you have any idea when that might be? I only ask because currently my Z5C is a brick... currently using my old Moto X (2013). I'm trying to get MM.185 firmware on there but it's getting stuck when flashing (see screenshot). It's been like that for over an hour. "]
[Xperia Z5 Compact Android Development] wxo:
lol no I don't know and am in no way involved with the development of the ROM. Typically asking for an ETA gets you roasted on a spit :)

That said, it's rare that you truly brick a device (others might disagree), but I've landed in hot water several times messing around with my devices, but have always been able to recover.

As a true novice and know-nothing user of other people's hard work, I'd suggest re-flashing the OEM recovery and kernel and finding yourself a copy of the one click root software. That would likely get you a working phone while you wait for the next update to drop.

You'll learn a lot for your hear-ache if that's any consolation :) Good luck!
[Xperia Z5 Compact Android Development] creebefu:
Well I'm definitely not asking for an ETA :) Just if you had any idea (if it was mentioned else where on this thread).

I'll give what you suggested a go. Cheers :)
[Xperia Z5 Compact Android Development] androidpurist:
Easy fix mate. You're using Flashtool 0.9.22 which has a problem flashing the modem, update to the latest one 0.9.22.1 (as the notification at the top says! ;)) and you'll be golden.
[Xperia Z5 Compact Android Development] palomino7:
In installation I had problem in point "After exiting fastboot wait for the notification light to turn yellow (it says yellow if you can't read it) at the Sony logo" ... but finally I installed this rom successfully but unfortunatelly without camera is this system not usable for me. :(
[Xperia Z5 Compact Android Development] CTXz:
Ok before you guys think I'm dead, I'm not. I've just been busy like always. I've spend the majority of free time on C++ practice and turns out debian got corrupted, so I'm finally here again with Arch (Ima post a screenshot of my new flashy high-tek hacker desktop soon). Now this doesn't mean I'll just Straight into Z5C development. I've got some work to do with my Galaxy tab s2 and now that my friends Xperia X arrived (cool phone guys, gj sony), i'll get my S5 mini back and will run some Security patch updates for CM. Then we can start talking about the Z5C again. The next issue will be keeping track of Upstream again :/
[Xperia Z5 Compact Android Development] palomino7:
Me works it with Flashtool - 0.9.18.1 (by Androxyde) and Stock version - E5823_32.1.A.1.185_CE.ftf ... it took about 15 minutes. I think that 1 hour is too much but it's possible. After this flashing I was able to flash kernel, recovery and CM13 listed in this topic without problems.
[Xperia Z5 Compact Android Development] Lemming0815:
The time it takes to flash your phone may depend on USB connection speed. Try USB 3 if you can
[Xperia Z5 Compact Android Development] harry_turtle:
Not 100% sure but I believe the Z5 family doesn't support USB 3.0
[Xperia Z5 Compact Android Development] leeoniya:
[MENTION=6584695]CTXz[/MENTION], it seems like the X series is a mixed bag [1]; some things are marginally better while others are worse. I got the Z5c specifically because it was smaller and all X phones are 5" plus all but the top-of-the-line have sub-IP68 ratings and lower res camera (though this spec is far from the whole story WRT photo quality). Is there something in particular that you think is much better about the X series phones?

[1] http://www.androidguys.com/2016/02/25/what-has-changed-xperia-z5-vs-xperia-x-lines/
[Xperia Z5 Compact Android Development] CTXz:
I appreciate that you took time for this response, but I recommend re-reding the quote. My friend owns the xperia X, not me. I never said that I will work on CM for it, instead i'm getting my Galaxy S5 mini back (He had it until the X came out here) where I released CM already wayy before the Z5C, unfortunately it's lacking many security patches as we didn't update it in a while
[Xperia Z5 Compact Android Development] palomino7:
Right. It can be used USB 3.0 but is limited version of USB 2.0 -->

http://www.notebookcheck.net/Sony-Xperia-Z5-Compact-Smartphone-Review.153830.0.html
[Xperia Z5 Compact Android Development] rolo143:
Can someone please share wallpapers of this rom? :)
[Xperia Z5 Compact Android Development] pitrus-:
Of course...

http://lmgtfy.com/?q=Cm13+wallpapers+download

There you go
[Xperia Z5 Compact Android Development] hbartoloni:
It really affect the bluetooth issue??? I mean, I connect mi music to my car by Bluetooth..... So that's gonna be a big problem??

Btw Sorry about my English

Enviado desde mi E5803 mediante Tapatalk
[Xperia Z5 Compact Android Development] tramtrist:
WJU update ?:|
[Xperia Z5 Compact Android Development] Lemming0815:
Don't Push it, Bro
[Xperia Z5 Compact Android Development] krosola:
Can someone report on the performance of the Z5 compact under this build in comparison to Sony's MM?

Sony's software is just not good enough. This phone suffers from serious performance issues and I was under the impression that this project was meant to fix this.

But i'm afraid it's being abbandoned. Really sux
[Xperia Z5 Compact Android Development] Sadman Khan:
Use stock 224 for now. It's great actually
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Not sure what magical woo woo you were expecting of CM13, AOSP or other ROMs :confused:

Yeah right, give "Real Life" and "Real World" precedence over XDA and immediately projects are "abandoned" if they're resting for a few days or weeks,

look:

Torch and Cam changes are depending on Sony (upstream) releases (blobs), unless firmware blobs with calibrations are dropped and available and the Cam api supports, drives the torch (LED),

there's not really a point in doing new builds

or were there changes in CM13 that you urgently need to have ?

Also: the fingerprint reader in infected_'s build might work - but it's sluggish, slow, etc. - so also not really usable as a daily driver

Tl;dr:

nothing changed - why a new build ?
[Xperia Z5 Compact Android Development] schneeee:
Hey, great work, thanks for working on this on your private time. I've read this thread and have a few questions, sorry if I might have missed something.

Can you guys provide any link or info about the differences between the CM13 Rom and the sony stock android? Last CM I've known was 11, and I would like to know which additional features and customization options this rom provides, apart from obviously not having the sony bloatware and gapps.

Second, how can I update build version, apart from downloading zip, manually copy and update - Is there some convenient OTA possibility? I think I remember a buddy of mine whose custom N4 with TWRP did all the work, only thing he had to do was reboot the phone, rest was automatic.

Also, when I flash custom rom and then switch back to stock rom (as mentioned in the opening post), will I be able to use stock OTA updates again just like when the phone was brand new?

Last question, do you know if android N is supposed to come to the Z5 compact? If so, what does that mean for this rom - If you provide a new rom based on android N, how long after stock release will it be released; Is this a matter of weeks, months, or years? Just asking about the general lifecycle of these things, to understand the processes.

Again, thanks for your time, good evening.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Changelog

Kernel Source:

https://github.com/zachariasmaladro...mi_r2/commits/Sun-Kernel_cm-13.0_III.1_5_3_cm

ROM Source:

mostly

https://github.com/SonyAosp/

https://github.com/Sony-Kitakami/

https://github.com/sonyxperiadev/

ROM + Kernel:

6.0.1_13.0-20160628-UNOFFICIAL-suzuran_r46_alternate

I'd recommend to start anew but in the case of a backup you can test the OTA:

OTA:

cm_suzuran-ota-2d42325b66.zip

Whoever is running the latest test build, can you guys please test if the following works:

NFC

bluetooth

calling (mic loudness and quality)

mic/audio recording

calling via headset [tested with Xiaomi Piston V2]

sensors

everything else that is supposed to work

MHL does NOT work

not sure if ANT+ can be get to work at the current state of the ROM

Thanks !
[Xperia Z5 Compact Android Development] iiicentury:
Running the latest test build.

Whenever i try to call someone the phone reboots
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Hi iiicentury,

thanks for testing it out !

Does the reboot also happen if someone calls you ?

Anything else you can see in relation to rebooting ?

You entered the number (for calling or chose a number), pressed the green phone earpeace and then it immediately reboots ?

What ROM version did you run before flashing CM13 ?

Did you update to ROM version 224 via Flashtool + XperiFirm before ?
[Xperia Z5 Compact Android Development] civicsr2cool:
I'll test, can I flash from .200 lollipop?
[Xperia Z5 Compact Android Development] ansuz:
Testing ...r46_alternate. Calls work OK. Bluetooth works OK! Still having trouble with the camera.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
did you ever have a Marshmallow ROM on your phone ?

currently I/we are trying to figure out whether this is the cause for some of troubles (in fact this was a theory for a long time),

you're welcome to test but please be prepared that it might be unstable (reboots during calls or other),

so please do a backup of all your data that is important to you,

then proceed

Thank you !

Thanks ansuz,

what ROM were you on before ?

yes, camera improves once a firmware is released which makes the camera calibrated,

currently it lacks calibration,

thus objects farther away than ~ 60 cm are hard to focus on or stay un-sharp

edit:

the custom kernel might be a prerequisite to stability

can't say anything about the stock kernel since I only tested with custom kernel

So please try both cases: stock kernel and with custom kernel

Thanks
[Xperia Z5 Compact Android Development] ansuz:
I did a dirty upgrade from CTXz's "cm-13.0-20160417-UNOFFICIAL-suzuran". 224 official was before that.
[Xperia Z5 Compact Android Development] civicsr2cool:
tried 6.0.0 for a few days then went back to lollipop. having trouble with the ftf for 6.0.1 so i haven't updated yet. now that bluetooth is working ill give this a shot.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
That might be the cause,

I had quite lots of trouble when dirty-flashing updates of CM13 (well, at least on this device),

you by chance still have a TWRP backup of the previous ROM state ?

I'd recommend to start anew but in the case of a backup I could upload the OTA zip-file for you to test if that improves stability

okay, that will be interesting to see whether it causes trouble but I believe it'll work fine (well, I hope so) :)
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Please give the following OTA file a whirl (in case you have a backup),

cm_suzuran-ota-2d42325b66.zip
[Xperia Z5 Compact Android Development] ansuz:
I did indeed have a backup. Your OTA was magical.

Camera still has the focus issue you talked about, but no other issues!

Bluetooth, GPS, calls (in and out) all continue to test OK.

Thank you for your work on this phone!

---------- Post added at 08:02 PM ---------- Previous post was at 07:57 PM ----------

I should add that this is with the Camera Next Mod.
[Xperia Z5 Compact Android Development] iiicentury:
Yes it also happens if someone calls me. As soon as i press the call button or when i get a call the accept button it reboots but immediately to the CM boot animation (no sony logo)

I was on the stable build before i dirty upgraded to the test build. But it happened also on the stable build.

I was on .224 customized DE then wiped everything like you said and flashed the CM 13 zip
[Xperia Z5 Compact Android Development] zacharias.maladroit:
So it never worked for you in basic functionality before - ever ?

How about the OTA ? Can you try that ?

Please give this build a try on its own (NOT dirty updating;

Backup all your important data, make a TWRP backup maybe

then

formatting dalvik, /cache, /system, /data

Internal Storage and microSD can be left intact)

After that flash the ROM +/- custom kernel,

You tried the ROM only ?

Then another time with the custom kernel ?
[Xperia Z5 Compact Android Development] mangusmeister:
Any help with camera next mod? Downloaded the lib installer and flashed it then v22 mod for cm 13 but just keeps closing?
[Xperia Z5 Compact Android Development] iiicentury:
No i never could call on CM. I reinstalled the rom with clean install and still nothing. Even with the OTA.

And I never tried a custom kernel.

I change to stock untill this works..
[Xperia Z5 Compact Android Development] fratzika:
I flashed it in multirom. It works if i don't flash gapps and custom kernel. If i do that, the rom won't boot (i waited up to 10 minutes).

I will come back with more feedback as i test.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Try the following APK: https://www.androidfilehost.com/?w=files&flid=53956

What a bummer, there must be a reasonable explanation why it fails for you only / in your case :confused:

okay, thanks please keeps us informed !
[Xperia Z5 Compact Android Development] iiicentury:
Maybe it has something to Do with the gapps? Or xposed?
[Xperia Z5 Compact Android Development] mangusmeister:
I removed the libs from cam next thread and v10 works great now thanks.