yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] CTXz:
I'm running a new build, however I already manged to try some fixes (most of them requested by [MENTION=4819888]oshmoun[/MENTION]). I can confirm that SIM is working, dex preoptimization is working and sensors are working. However I can't release that build since there is some extreme overheating on first boot which can sometimes cause a panic and then lead to a reboot. With that said, if your device isn't plugged to a PC, it will full crash after locking it. The next build should hopefully rule out those fixes ;)
[Xperia Z5 Compact Android Development] SamEkinci:
Oh ****... Soon as that sim is working you bet your ass I am hopping on this sucker for daily!!!
[Xperia Z5 Compact Android Development] CTXz:
New build released, download link has been updated

NOTE: New bugs have been found, "Not working" list has been updated

2016/03/20
- Added Thermal regulation to avoid overheating problems
- Fixed Red flashy frames
- Fixed RIL (SIM detection)
- Fixed Dex pre-optimization
- Fixed Camera
- Fixed Sensors
- Fixed Crash after locking device
[Xperia Z5 Compact Android Development] nilezon:
Good job! Keep it up
[Xperia Z5 Compact Android Development] Fozec:
Trying to install the rom but get this message:

http://imgur.com/GF63xZ5
[Xperia Z5 Compact Android Development] azizolmez:
Does it support e5803?
[Xperia Z5 Compact Android Development] gustav_b:
This is great news! I got my Z5C back in October but I haven't used it at all. I can't stand the Sonyified version of Android (and the lack of root access). When this project gets more stable it means that I will finally start using my new device on a daily basis.

So thank you CTXz!
[Xperia Z5 Compact Android Development] CTXz:
Check the Q&A
[Xperia Z5 Compact Android Development] :
wooops, that one is on me T.T

device detection is broken in twrp3

I'll release a new fixed version today ;)
[Xperia Z5 Compact Android Development] goRt:
Root's available for unlocked bootloader.

You need an unlocked bootloader to use this ROM.
[Xperia Z5 Compact Android Development] gustav_b:
Yes, I know, I referred to locked bootloader root. Original Sony Android with root would be bearable.
[Xperia Z5 Compact Android Development] Meonys:
Yes, yes, yes wohooo. Thank you for that and keep it up! :good::good::good::good:
[Xperia Z5 Compact Android Development] Fozec:
Tell me when a new version is out so i can install this awesome rom :D
[Xperia Z5 Compact Android Development] :
already is, check the thread please ;)
[Xperia Z5 Compact Android Development] :
[MENTION=6584695]CTXz[/MENTION]

Thanks for your work on that.

Do you think this will go official CM once it's stable enough? Would be nice to have 'official' support.

Regards
[Xperia Z5 Compact Android Development] Fozec:
You're awesome!!!

One problem tho, where is the new update? The link to android site doesnt work and we need to sign in?
[Xperia Z5 Compact Android Development] CTXz:
Hey, this is truly what I'm hoping for, but question is if the ROM will be ready enough and if they will accept it
[Xperia Z5 Compact Android Development] Fozec:
Everything else works like a charm! The things in the description is NOT working as mention. I'm looking forward for this to be updated, and maybe i can use this as my daily! :)
[Xperia Z5 Compact Android Development] Erepb:
ANT+

Guys, what about ANT+? Is it working?
[Xperia Z5 Compact Android Development] HeavyMoertel:
Regarding Bluetooth:

A2DP is fine (apps streaming audio media and so on)

HFP is still broken (calls over bluetooth are extremely staticky, noisy and garbled and after a few seconds it stops working)

Logcat is attached.
[Xperia Z5 Compact Android Development] wxo:
Mostly boot-loops while charging (and sometimes when not).
[Xperia Z5 Compact Android Development] maniac95:
i dont know if someone has the same problem but if you record with the mic the sound is very low
[Xperia Z5 Compact Android Development] erkkituo:
I did a clean flash according to the guide at the top of the thread, using cm-13.0-20160828-UNOFFICIAL-suzuran.zip

the battery mode selection is missing in the battery setting menu. Was it intentionally removed?

outgoing volume in calls is very low

pairing with bluetooth headset fails with message "Can't communicate with Jabra BOOST v0.6.0.".

E5823, using AndroPlusKernel_v31, build cm_suzuran-userdebug 6.0.1 MOB30Z 96220b14c4
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Really ? :confused:

Full-Quote

since

no-one seems to read the forum threads nowadays - not even one page back

:rolleyes:

independent if the issue was caused by using the Stock-based Kernel or not :p

I'm really curious why the stock kernel even works with CM13 :confused: (you checked the kernel version string in the Settings), right ?
[Xperia Z5 Compact Android Development] erkkituo:
Instructions unclear, **** got stuck in ceiling fan.

In seriousness, though, I'm confused. Which kernel was I supposed to use then (your earlier post does not specify)? It's currently showing 3.10.84-ge93ac8b ctxz@GLaDOS #1 Sun Aug 28 10:09:38 CEST 2016
[Xperia Z5 Compact Android Development] zacharias.maladroit:
You're good :good:

All posts which report problems always write it in the way as if they were running CM13 + Stock-based Custom Kernel / repackaged Stock Kernel

at the same time

(well, that's at least how I understand it, could be only me)

But apparently it's only needed when transitioning from Stock ROM / TWRP to CM13 :)

Thanks
[Xperia Z5 Compact Android Development] flopower1996:
One question. From which sources are the ROM built? Are there parts from the Xperia AOSP git, cm git (special things; not the rom part itself) or other sources?
[Xperia Z5 Compact Android Development] harry_turtle:
https://img.xda-cdn.com/cKWSvzAy4ySJF4oSj3VjLqv1zMM=/http://i.imgur.com/Vci4x.gif
[Xperia Z5 Compact Android Development] flopower1996:
This is so helpful...
[Xperia Z5 Compact Android Development] harry_turtle:
It's on the first page.

On topic:

Just installed it and it works great, except for the fingerprint sensor, I can't get the initialization to complete.

I'm running Androplus V36... I don't presume that would be an issue...

Edit: also experiencing the memory allocation error for the camera.

The frontcamera is responding perfect, although it looks too dark.

Still superpsyched. Thanks alot.
[Xperia Z5 Compact Android Development] beggar23:
You are the second guy here, admittingly using a stock-based kernel with this non-stock ROM... [emoji30]
[Xperia Z5 Compact Android Development] mangusmeister:
The androplus kernel is just to be used for installation of the rom.

This build is the best yet, I'm using focus camera from play store and if you use the tap screen to focus option I'm getting good results with fantastic battery and the locking up and lagging is totally gone. I don't use Bluetooth so that's no issue for me.

My new daily driver.
[Xperia Z5 Compact Android Development] harry_turtle:
Ok I get it, I indeed used v36 for installation. I also have 3.10.84-ge93ac8b.

So that shouldn't be the issue.
[Xperia Z5 Compact Android Development] beggar23:
Okay, I am sorry, a misunderstanding. [emoji72]
[Xperia Z5 Compact Android Development] cips17:
i have some problems when i try to enter in recovery mode from power button.

i've to use the pc for move in recovery mode.

i enable and enter the developer options, Enable Advanced Reboot, Select Reboot, Select Recovery and press ok, but restart in CM and doesn't enter in TWRP.

the rom works well and a little problem was for low audio during the calls.
[Xperia Z5 Compact Android Development] mangusmeister:
Use the marshmallow volume boost on these forums as that works for me but as for your recovery problem I'm not sure as I have no such issue. Make sure you do a clean install and flash all files at the same time meaning no booting in between. Example, flash ROM, gapps, superuser, exposed (if you use it) without booting and in that order. Worked for me.
[Xperia Z5 Compact Android Development] Kallu609:
HOLY CRAP! YES!

Installing ASAP, thanks for your great work.
[Xperia Z5 Compact Android Development] cips17:
sorry, i erase my phone completely. i started the intallation, after the exit of fastboot mode it enter in twrp directly without press any key. i do the clean install and flash without booting. but i've the same problem.....

what i'm doing wrong?!?:crying::crying:
[Xperia Z5 Compact Android Development] mangusmeister:
Have you flashed superuser? And if not make sure you have root turned on in developer options. For me I get no led on boot as it misses out the Sony splash screen but it still boots to recovery using the advanced reboot menu also switched on in developer options. When the phone reboots it does look like it hasn't worked as the splash screen is gone but after 5-10 seconds of nothing happening it goes right to recovery before anything else appears.
[Xperia Z5 Compact Android Development] pas2bol:
Hi CTXz,

Thank you very much for this great update :good:

There is an issue with the app "Music" : it can't play FLAC.

More detail in the log.txt below
[Xperia Z5 Compact Android Development] harry_turtle:
It was my own arrogance, I flashed again with your TWRP instead of the one I already had and used AP V31, fingerprint sensor is fixed.
[Xperia Z5 Compact Android Development] mele80:
So one should not install this from current recovery, but use cm13 own? I have xpower with androplus v36.

ps. One installed CM13 from current twrp anyway and fingerprint sensor works.
[Xperia Z5 Compact Android Development] mele80:
What is the best camera app for CM? Google camera seems to have issues (cant connect to camera)

Actually i have problems almost all camera apps (unable to connect, unable to start etc).

Okay i read that it might be memory problem....
[Xperia Z5 Compact Android Development] RaunoT:
Ok, after 6 days of daily use, these are some of the problems I've noticed currently. In no way am I blaming the developer(s), just posting this so maybe these issues can be fixed in future builds. Also, maybe it will help others choose whether to flash is or wait for the new build.

Ordered by my personal priority (descending)

*Charging doesn't work a lot of the time - I will leave charging over the night, and it will say "charging rapidly" and the led will flash up, however by the morning it will have dropped 20% instead of charging to full. This has happened every night for me. Also when using QS 2.0 whilist using the phone lightly (web-browsing), it still keeps dropping battery %. Usually I just reboot and leave it idle, then it will charge for me.

*Wi-Fi sometimes hangs, it will show its doing something, but it's not, and nothing will load. Also I get 20mbps on my home 5ghz network, while on stock I got 70mbps+ every time.

*Back camera doesn't load up 90% of the time, no matter what app you use. When it does, the quality itself is fine, if everything goes perfect (there is some weird wobble effect and also serious focusing problems)

*Calls are very quiet

*Audio in general is quiet on any media

*Audio recordings are very very quiet, by upping the gain by 20db, it's a bit better, but still quiet, however you can hear that there isn't any issue with quality, it's just quiet

*Flashlight works like 50% of the time

*Front camera colors are undersaturated

*Sometimes when swapping from Wi-Fi to data connection (by turning Wi-Fi off), there is no data connection and a reboot is required.

*Skipping tracks with volume keys is buggy

Once again, I realise that this ROM is in it's early phases and I'd like to say a huge thanks to the developer(s), cause CM is just far superior to stock once the quirks are sorted out :)
[Xperia Z5 Compact Android Development] schmolch:
I had a few reboots after adding another Bluetooth device (Garmin bike computer) but other then that everything works great. I used Bluetooth audio for about 15 hours without any issues.

I don't know if it was just me, but I had to install twrp-3.0.2 and androkernel v36 (iirc) to get the installation working.

Thank you!!!
[Xperia Z5 Compact Android Development] harry_turtle:
Yes, fastboot the recovery on the first page and use V31 kernel to be sure.
[Xperia Z5 Compact Android Development] wxo:
Agree with RaunoT. The charging is an issue. A lot of times I wake up at night to find the phone in a boot loop (charging at night). That makes the alarm clock pretty undependable.

Bluetooth connection with my car does not work. It may be because the sound is too soft, but I cant hear anything.

Great ROM otherwise. Hopefully, some of the stability issues can be sorted with the next release. This is pretty much the best gig in town with regards to the Z5C and ROM development. Keep up the good work!
[Xperia Z5 Compact Android Development] Tingles:
All in all, after I have gone over this post the past few months. Yeah I Lurk ;^) along with cyanogenmod.org I finally saw BT up and running. Grabbed this ROM and went to work. Had a few, what was easy to fix errors. Thankfully for these forums and my Google-fu, but mostly these forums and I have to say "Great Job by all involved, I Thank you."

I am up and running with what bugs/errors that have already been pointed out.

HA went to use the flashlight but ended up opening the browser to a nice white page and whalah, cleaned up the patio. Well grabbed what I had on the furniture.

Have Kali installed as well, with a few tries on installing that as well, with different appz, Have it running now on Linux Deploy and androidVNC Plenty of tuts out there.

Again Thanks CTXz for your work..... now off to find a good music app and maybe camera. I can wait patiently for any updates but CTXz, take a break, hehehe again, you deserve it.
[Xperia Z5 Compact Android Development] Sadman Khan:
What I don't get, is how Androplus kernel works on this? Isn't androplus Sony based and thus shouldn't work on any aosp or cm-based roms? :|
[Xperia Z5 Compact Android Development] leeoniya:
I was confused about this for a while too. The AndroPlus kernel is only used to flash CM13, but not actually run it. AndroPlus has the correct settings in the kernel that identifies the device as "suzuran" rather than "".

Installing CM13 via TWRP with other kernels will cause the flashing to fail with something like "This package is for device "suzuran", this device is "" (since other kernels are not tweaked to report the correct device name). During CM13 flashing, the kernel gets overwritten by the one in the CM13 package, which is AOSP-based.
[Xperia Z5 Compact Android Development] mele80:
Nice work from dev(s) with the ROM, hopefully they will continue working on this one.

I can agree wiht the camera problem, unable to start or connect to camera on most times. Also charging was funny, solid yellow/blinking yellow then no led at all and after that solid green. I have not charged since i installed rom correctly again ( used some other twrp instead cm's own twrp)
[Xperia Z5 Compact Android Development] harry_turtle:
Are you sure you installed CM correct?

I have not encountered half of your issues. Only camera issues and bluetooth seems to have a small delay.

Also have the feeling that one sensor of the fingerprint unit is not responding.
[Xperia Z5 Compact Android Development] mele80:
[MENTION=6057584]RaunoT[/MENTION] [MENTION=2026801]wxo[/MENTION] Do you use quick charger? I have Aukey qc 2.0 with one qc port and two regular ones. It seems that everytime i connect usb to qc port it stops loading and when usb is connected to regular port phone starts loading.

Could it be that qc is not working properly on this rom? Thus messes up the loading?
[Xperia Z5 Compact Android Development] RaunoT:
I use the exact same charger. Didn't think to try normal port, I'll try it out later, ty.
[Xperia Z5 Compact Android Development] mele80:
I have also Anker Powerbank which has qc capabilities and it has same issue as Aukey qc. Led blinking yellow, then stops and battery is not loading
[Xperia Z5 Compact Android Development] thisdatawrangler:
Followed the instructions :

- fastboot flash boot boot.img (Z5C_AndroPlusKernel_v36)

- fastboot flash boot TWRP-3.0.0.0-suzuran-v2.img

- fastboot reboot

so far so good

installed ROM, gapps, superuser, exposed

REBOOT : and all stays black (waiting for 5 minutes, phone is still not responding)

What did I do wrong ?
[Xperia Z5 Compact Android Development] mele80:
Should be fastboot flash recovery nameoftherecovery.img

Also not sure if it matter but in instructions v31 of androplus is used

Ps. For me booting was extremely laggy when i installed all the same time. (Rom, gapps, xposed, su)
[Xperia Z5 Compact Android Development] thisdatawrangler:
I used V31 before with the same result, that's why I moved to 36

tried that,

fastboot flash recovery TWRP-3.0.0.0-suzuran-v2.img​

now the phone won't go into TWRP at all :(
[Xperia Z5 Compact Android Development] mele80:
Can you go recovery with adb reboot recovery
[Xperia Z5 Compact Android Development] thisdatawrangler:
tnx, but didn't work...
[Xperia Z5 Compact Android Development] mele80:
Download androplus v31, flash first that and then cm recovery after that reboot
[Xperia Z5 Compact Android Development] thisdatawrangler:
:fingers-crossed:
[Xperia Z5 Compact Android Development] mele80:
Here too.
[Xperia Z5 Compact Android Development] thisdatawrangler:
got the message "Failed to mount '/usb-otg' (invalid argument)

ignored that and rebooted

all stays black ....
[Xperia Z5 Compact Android Development] mele80:
I have had that message in recovery, but all have still flashed fine
[Xperia Z5 Compact Android Development] thisdatawrangler:
flashing went ok though

---------- Post added at 04:57 PM ---------- Previous post was at 04:42 PM ----------

- fastboot flash boot boot.img (Z5C_AndroPlusKernel_v31)

- fastboot flash recovery TWRP-3.0.0.0-suzuran-v2.img

- fastboot reboot

not able to get into recovery mode

- fastboot flash boot boot.img (Z5C_AndroPlusKernel_v31)

- fastboot flash boot TWRP-3.0.0.0-suzuran-v2.img

- fastboot reboot

results in starting TWRP, and I'm able to flash cm-13.0-20160828-UNOFFICIAL-suzuran, supersu, opengaps, xposed (ignoring the "Failed to mount '/usb-otg' (invalid argument)")

push REBOOT => nothing happens but a black screen
[Xperia Z5 Compact Android Development] mele80:
Stupid question, but did you do factory resert, wipe data, cache, art/dalvik?
[Xperia Z5 Compact Android Development] thisdatawrangler:
did all that
[Xperia Z5 Compact Android Development] mele80:
Then try flash only rom and gapps, leavy supersu and xposed for later
[Xperia Z5 Compact Android Development] thisdatawrangler:
Installing rom and gaps went fine

I cleared Art/Dalvik and went back to the main menu.

From there I selected REBOOT, SYSTEM

all black ...
[Xperia Z5 Compact Android Development] mele80:
Then i really dont know what is wrong... Maybe cm13 zip is corrupted then
[Xperia Z5 Compact Android Development] thisdatawrangler:
can't believe that, I tried to download it twice, both times same result ...

: script succeeded result was [0.200000]

---------- Post added at 06:03 PM ---------- Previous post was at 05:41 PM ----------

It's funny that fastboot flash recovery did not work, I think something is going wrong there ...
[Xperia Z5 Compact Android Development] mele80:
I agree, fastboot flash recovery should be right command

Maybe u should start completely from beginning. Flash some other twrp and rom like xpower. See if it works and then flash CM
[Xperia Z5 Compact Android Development] killedbyghost58:
Thanks for your work! This one is better for daily use.:D:good:

But sometimes the camera cannot be used. The camera app said that it can't connect to the camera and the camera next mod FC.:p

I wonder if there is a way to fix it expect rebooting.
[Xperia Z5 Compact Android Development] thisdatawrangler:
Probably the boot.img is not working correct. What could be the cause of this ?
[Xperia Z5 Compact Android Development] mele80:
Boot img is just used for flashing recovery. When you flash rom it will flash new kernel also
[Xperia Z5 Compact Android Development] thisdatawrangler:
tried twrp-3.0.2-0-E5823-20160417.img as well , no success
[Xperia Z5 Compact Android Development] thisdatawrangler:
if so, I could start recovery as well immediately from fastboot ? fastboot boot TWRP.img

---------- Post added at 10:31 PM ---------- Previous post was at 10:30 PM ----------

if so, I could start recovery as well immediately from fastboot ? fastboot boot TWRP.img
[Xperia Z5 Compact Android Development] mele80:
Check post #413
[Xperia Z5 Compact Android Development] thisdatawrangler:
Well, tried it anyway, same result however : installation seems to work fine, but no restart:confused:
[Xperia Z5 Compact Android Development] mele80:
Try flash androidplus 31 and twrp for xperia stock roms. Boot to recovery and flash xpower or some other rom from there, see if it installs properly. After that start over with CM. That is all i can think of.
[Xperia Z5 Compact Android Development] thisdatawrangler:
it worked ! thanks a lot :good:
[Xperia Z5 Compact Android Development] mele80:
Do you have now CM or xpower?
[Xperia Z5 Compact Android Development] mele80:
So far;

1. Errors when opening camera and camera focus doesnt work always

2. Quick charging is not working

3. Battery life not so good comparing to fixed stock kernel(have to do some more comparing)

4. Fingerprint works, but not so good as in stock rom
[Xperia Z5 Compact Android Development] thisdatawrangler:
CM !
[Xperia Z5 Compact Android Development] mele80:
Cool! [emoji106]
[Xperia Z5 Compact Android Development] harry_turtle:
Same here. Battery life is about the same.

Had a few random reboots today, started logging and will post.
[Xperia Z5 Compact Android Development] largehamburgerhat:
This ROM has made a whole bunch of progress!

The only thing that was holding me back before was the camera, which works good enough for me now XD

I'm having one bizarre issue where if the headphones are plugged in before a reboot, and the phone boots up with them in, no sound will come out of them. If you unplug the headphones, no sound comes out of the speakers either. The phone will make no sound until you reboot the phone without the headphones plugged in.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Thanks for the report !

We're aware of it,

this might be caused by the change to 1.3.3 Kernel base,

there's an overflow happening ["tomtom_slimbus_irq: overflow error on RX port"] and the decoder doesn't seem to work for e.g. ogg files (ringtones !),

this happens on CM13, PA, OmniROM, AOSP and AOSP Nougat
[Xperia Z5 Compact Android Development] Noneangel:
Hi,

Could you help me please, I have trouble with the following commande :

fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (15444 KB)...
OKAY [ 0.347s]
writing 'boot'...
[B]FAILED (remote: Command not allowed)[/B]
finished. total time: 0.370s

I have unlocked the bootloader, and installed the usb driver from here. The boot.img come from Z5C_AndroPlusKernel_v34.zip (same result with v36).

Thanks
[Xperia Z5 Compact Android Development] zacharias.maladroit:
[MENTION=6042393]Noneangel[/MENTION]

disable

MyXperia

and NEVER forget to NEVER EVER use MyXperia with an unlocked bootloader,

there were already several hardbricks (non-recoverably broken phones)( due to it

This might allow it to flash via fastboot
[Xperia Z5 Compact Android Development] harry_turtle:
Did you allow unlock bootloader in developer options?
[Xperia Z5 Compact Android Development] lokybou:
info

Hello,

For information.

connection bluetooth music works but not phone calls.

the camera does not work systematically.

Video recording does not.

else's great good job dev!
[Xperia Z5 Compact Android Development] thisdatawrangler:
I flashed the Marshmallow firmware from xperia first (brand new phone :) with instructions from this link

http://sourcey.com/flash-android-sony-xperia-on-linux and went through the whole process again.

My thoughts are that after rooting the device I turned off USB-debugging:eek:

thanks a lot for your patience !
[Xperia Z5 Compact Android Development] Noneangel:
Yes I did.

It is disabled.