yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] l3nkz:
:good: This sounds really awesome. Can't wait for the update. Will this also include a fix for the ringtone problem?

Since you are using the ROM as a daily driver, can you tell something more about call quality, echo during calls and whether it is possible to change the sound level while being in a call?
[Xperia Z5 Compact Android Development] nzzane:
Possibly not, I am looking into why there are no stock ringtones, presuming its a problem with the stock tree
[Xperia Z5 Compact Android Development] pou_gh2:
ok thats right,ty
[Xperia Z5 Compact Android Development] Krakophyst:
I haven't heard how the microphone sounds in calls for myself, but have not got any complaints from the other party when calling them.

On my side quality seems fine, no echo or anything, though the earpiece volume was very low.

I was able to fix this by editing /etc/mixer_paths.xml, and changing the value of "RX1 Digital Volume" for the path names "handset" and "anc-handset" (both of them are found somewhere in the line 19xx range) to "94".

Now I can hear the other party loud and clear :D
[Xperia Z5 Compact Android Development] l3nkz:
Since Saturday, I've also been using this ROM now as my daily driver. So far most things work great :good: Thanks again for the awesome work.

During the installation I had some problems. I only could install the ROM via adb sideload. So I think that my recovery is maybe broken. Is there a supported/recommended recovery for this device (that also can handle an encrypted phone)? I found various different threads in this forum but none of them looked really promising. In addition our device is not listed on the list of supported devices on twrp.me, so I had no luck finding a good recovery there either. Maybe [MENTION=5997713]nzzane[/MENTION] could add a link to a good recovery to the installation instructions?

However, during my testing I recognized the following things that don't work or just work partially (some of the things have already been reported by others):

Camera not working reliably (sometimes (2 of 3 times) it works with OpenCamera and very seldom (1 of 10 times) with other apps), picture is upside down, front camera is weirdly stretched (seems to be rotated by 90°)

LED only working for charging and SMS not for other apps (e.g. K9Mail)

Flash light (torch) not working at all

Call volume is relatively low

Not possible to change ringtone

Phone hangs occasionally (had this problem twice since Saturday, both times when changing some settings (bluetooth and finger prints))

On the other side the following things seem to work properly, at least as far as I could test:

Finger print sensor (I didn't have any problems at all with the sensor; it always works)

Wifi connections (WPA, WPA2-PSK, WPA2-Enterprise, No encryption)

Bluetooth as well as sound via bluetooth

Speakers

Voice and SIP calls

GPS

Wifi hotspot

Reboot into recovery

Unfortunately, I am missing some features in the ROM. However, I am not sure if those were features which are only available in CM/LOS ROMs since I only used such ROMs until now:

Global 'sync' option (tile + setting)

Quiet hours

System profiles and automatic switching

Anyways, please keep up the great work :good: The ROM is already awesome and gets better with every release :D
[Xperia Z5 Compact Android Development] nzzane:
Hey!

So because the Z5C is sadly not that popular with developers there are no 'official' builds of recovery, my personal fave is Zachs kernel not too sure how well it works with encrypted phones though sorry, but has a good and really reliable build of twrp 3.0.2
[Xperia Z5 Compact Android Development] nzzane:
Small update for stability, f2fs and some memory leaks.

Camera is still being worked on by the legend [MENTION=3816568]Myself5[/MENTION] and the legendary team of devs over at CarbonROM
[Xperia Z5 Compact Android Development] Raphos:
Hi,

Thanks for the update.

Has fingerprint function disappeared ?
[Xperia Z5 Compact Android Development] nzzane:
It shouldn't have?

Why do you say that?
[Xperia Z5 Compact Android Development] Raphos:
In your last build fingerprint doesn't work anymore (maybe I'm the only one).

Nothing to see about that in device security settings.
[Xperia Z5 Compact Android Development] nzzane:
Does the fingerprint work but fail at enrollment?
[Xperia Z5 Compact Android Development] Raphos:
No, no. Like I told you, there is nothing about thingerprint anywhere. In settings, security, device security I just see screen lock. It's just like the phone doesn't have a fingerprint sensor.
[Xperia Z5 Compact Android Development] nzzane:
Weird, have you tried re flashing the latest release?

If that doesn't work then there is something in the device trees I need to fix
[Xperia Z5 Compact Android Development] mattiri:
I installed the newest rom but there are still issues with the external SD-Card. I can't write to the card. I tried to reformat the SD Card (with phone and PC) but still can't write :(.

The last ROM where this worked was the build from 2017-01-26.
[Xperia Z5 Compact Android Development] Peccia:
Hi, today i decided to un**** my phone by putting new kernel and twrp 3.0.2 :)

i then saw this ROM, so i will give it a go in the next few days

the installation is flawless, no problem at all, my version is 5.1 (20170207-0530) gapps nano arm64 7.1

phone is snappy, even tho i had it completly clogged before so might be my impression

first considerations

-there is the fingerprint implementation with menu and everything but it doesn't seem to receive the finger input (she said...) and then i can't find it in the menu after the first boot

-photocamera doesn't work at all, not even open camera

-bluetooth is fine tested with philips bluetooth headphone, there is a bit of background noise, just before and after sound is streamed to the headphone

-audio calling is fine, mic a bit too low, will test reception as well as battery life

-tested nfc with a tag, works read/write/format

-loudspeaker is working fine, not really loud but wasn't really before either - stereo btw

-earpiece works, radio app don't know when they are, not worky worky

-lte is worky worky

will post update if there are news and will update is there are update :D
[Xperia Z5 Compact Android Development] l3nkz:
Thanks for also testing the ROM. The more people test it, the better it will get and the sooner ;)

Regrading the camera problem: Have you tried starting the OpenCamera app multiple times? Sometimes the camera is not working for me as well, but most of the time (2 out of 3) it just works.

Regarding the finger print menu: You can find the menu to add/change your finger prints at settings->security->fingerprint.

Btw: Which kernel are you using?
[Xperia Z5 Compact Android Development] Peccia:
Hi, i'm using corona 5.11

Really,no fingerprint option to be seen

Will test camera some more
[Xperia Z5 Compact Android Development] l3nkz:
Hm, I am not sure, but if I remember correctly the corona kernel is only tested with Stock Android and not AOSP which CarbonRom is based on. So it might be that this is a kernel<->ROM mismatch problem. I still use an AndroPlus kernel on my phone and fingerprint sensor is working flawlessly here. But I am also still on 20170129-0123 build of the ROM, so it could also be that something went wrong with the new build. Somebody else also said, that he is missing the fingerprint sensor. I can try the new build later today, and check whether the fingerprint sensor is also not working for me.
[Xperia Z5 Compact Android Development] Raphos:
AHi,

That's what I told you about fingerprint. After a new installation, in settings you have "suggestions", " use fingerprint ". If you choose this, you can set the unlock pattern and memorise a fingerprint.

It was impossible for me to enter a fingerprint, it was just like the sensor wasn't working.

After hiding the fingerprint suggestion, I didn't find anything about this function in the settings...
[Xperia Z5 Compact Android Development] nzzane:
Dear xda users ;)

I will be working to fix fingerprint as soon as I can - however this is not my current goal, LineageOS is my goal, once LineageOS is working I will begin to patch more of Carbon. (Mainly I am getting super pissed with Lineage and just want it to work)

In the meantime I will be releasing Carbon source updates and what not, but may not work specifically on some bugs.

Thanks everyone for testing and trying this out, and being patient with this ROM :)

P.S: A lot of the fingerprint problem is related to the source code, but I will be working with myself5 to get this working :)
[Xperia Z5 Compact Android Development] Lemming0815:
I can confirm, no fingerprint option here with the latest build. It worked before in Jan build.

No torch either.

Sounds like device tree
[Xperia Z5 Compact Android Development] Dn_nS:
No clue...

I hope someone can help me with my problem...

Flashed this rom 2 times., both times the rom is not rooted.

When i go into TWRP (3.0.2), my entire internal storage can't be mounted (system, data, etc) and capacity is 0 mb.

However, I can boot to the rom and access my int. storage just normal.

Searched Google... no fix found

Searched XDA... no fix found

Flashed different versions of TWRP (all 3.0.2).... no result

Everytime I boot in TWRP it asks me to "stay in read-only" or give it read/write access, but both give me the same result.

I hope someone can help me or point me in the right direction.

(BTW, the first time I removed the rom, so I ended up recovering the whole phone to stock and then redo the whole, unlock, root, flash etc. routine)
[Xperia Z5 Compact Android Development] l3nkz:
This is normal, the ROM is not rooted by itself. You have to also flash a root like SuperSU or similar ones. I personally flashed SuperSU in systemless mode and it works flawlessly.

I have the exact same problem. I can't access my internal storage from the recovery. Only the SD-card is accessible. However, I thought that this is a problem with my recovery because I am still using an older version of TWRP (3.0.0-2).
[Xperia Z5 Compact Android Development] Dn_nS:
How did you do that? :o

Personally used multiple TWRP's, most of them 3.0.2. Hope someone know's the exact problem and/or solution.
[Xperia Z5 Compact Android Development] Gewiz:
You can try this ver 3.0.2

https://xdaforums.com/showpost.php?p=66232457&postcount=160

Worked great for me so far.

Or try the newer 3.0.3

https://xdaforums.com/showpost.php?p=71019713&postcount=187

However i don't use this rom, so i cannot say if it should work.

Also encryption can make problems
[Xperia Z5 Compact Android Development] l3nkz:
Download the flashable SuperSU-zip from here and flash it together with the ROM and GApps, or anytime later.

If you want SuperSU to be installed in systemless mode you need to create a file at /data with the name .supersu and the content SYSTEMLESS=true before you flash the zip. You can achieve this for example with the following command in the adb shell or the shell in TWRP:

echo "SYSTEMLESS=true" > /data/.supersu
[Xperia Z5 Compact Android Development] Dn_nS:
You are awesome!!! :D

I was using the 3.0.2 you posted but the 3.0.3 solved the issue for me. (never knew there was a 3.0.3 for suzuran)

Made my day :good:
[Xperia Z5 Compact Android Development] l3nkz:
Awesome :good: Thank you very much for sharing the links. I will try the two recoveries and share my experience as soon as work allows it.
[Xperia Z5 Compact Android Development] Gewiz:
Was released just yesterday;)
[Xperia Z5 Compact Android Development] nzzane:
There is an issue with TWRP and the /data partition - this is not a CarbonROM problem
[Xperia Z5 Compact Android Development] Dn_nS:
Good to know :good:

I would like to add that after flashing 3.0.3, I can't boot to the rom again.

Although when I flash the rom again, it boots fine (also no data lost), but I'm back at 3.0.2

Is it possible for you (or me perhaps) to replace the 3.0.2 recovery with the new 3.0.3 recovery?
[Xperia Z5 Compact Android Development] Gewiz:
Really? But you flashed the recovery to the fota partition and not to the kernel's, right? What was your command?

Sorry to ask, but this mistake was made by others before
[Xperia Z5 Compact Android Development] edc9781:
I have been using the latest release for 2 weeks now and it runs smoothly. Beside the know issues I realized 5Ghz WIFI is not working, 2.4Ghz works well though.

thanks for all the effort working on the rom.
[Xperia Z5 Compact Android Development] Dn_nS:
afaik; fastboot flash recovery recovery.img, right?
[Xperia Z5 Compact Android Development] Lemming0815:
For me, 5ghz WiFi connections works with no issues. Hotspot only works with 2.4 GHz though.
[Xperia Z5 Compact Android Development] nzzane:
Lack of Updates:

Hey everyone, sorry for the lack of updates over the last week, I have been pushing my computer to the max trying to get LineageOS to work :)

Once LineageOS is in a stable (stable enough at least) condition I will release a new update - mainly stability and hopefully camera fixes ;)
[Xperia Z5 Compact Android Development] Gewiz:
Absolutely correct.

This is strange, will may try it myself, if i find the time for and let you know my experiences
[Xperia Z5 Compact Android Development] l3nkz:
Today I played around a little bit with the recoveries (TWRP 3.0.2 from here and TWRP 3.0.3 from here) with the following results:

- fastboot flash recovery twrp 3.0.2 and adb reboot recovery --> can't mount system and data, only sdcard accessible in recovery, ROM boots fine

- fastboot flash recovery twrp 3.0.3 and adb reboot recovery --> can't mount system and data, only sdcard accessible in recovery, ROM boots fine

- fastboot boot twrp 3.0.2 --> system, data and sdcard are accessible in recovery

- fastboot boot twrp 3.0.3 --> system, data and sdcard are accessible in recovery

My question is now, why can't I access system and data when I reboot into the recovery and not directly fastboot into them? Has this something to do with my instelled kernel? Which kernels do you guys use?
[Xperia Z5 Compact Android Development] nzzane:
I had this problem in stock Nougat, I have a feeling TWRP 3.0.2 isn't properly optimised and when it is installed into the system it can't access the Nougat data partition
[Xperia Z5 Compact Android Development] Gewiz:
Ok guys, so i did a little testing by myself.

Flashed twrp 3.0.3 to my device, and from there installed carbon. After boot of carbon i did restart from OS directly into recovery and twrp 3.0.3 was still there.

But i had the same problem that system and data partition couldn't be mount. I once had the same problem with the stock rom too. I can't really remember what the problem was, but i think it was related to a kernel i used. It dissappeared after flashing some roms/kernels.

But it's not really a big problem, since there is a way to start TWRP with all partions mounted. You just have to turn of the device completely and boot into twrp right from startup.

Just hold Vol- and press power until vibrates, but hold Vol - until device is in TWRP. This way you need no pc to fastboot from.
[Xperia Z5 Compact Android Development] GMK666:
Hi there,

first of all thanks a lot for your work.

Yesterday I insalled this one with pico gapps.

- I have a hole bunch of ringtones.

- Open Camera does not work

- Fingerprint sensor option is there, but does not recognize my finger at all.
[Xperia Z5 Compact Android Development] nzzane:
Thanks for the feedback!

As soon as I fix up some of the device tree errors and kernel problems I will release a build with working stock camera - same as Lineage

And will hopefully fix up fingerprint too :D
[Xperia Z5 Compact Android Development] GMK666:
Thank you, I cant wait to update to the upcoming version :)

Today I experienced some crashes of the virtual keyboard.

BTW I have the same issue with TWRP (same for 3.0.2 & 3.0.3) - mounting only works for the internal storage and only with a start from a turned off phone.
[Xperia Z5 Compact Android Development] Dn_nS:
Tried to install twrp 3.0.3 again....and it stays and I can still boot.

Thought everything was working now, until I went to the internal memory....0 mb...wtf?

I did the exact same steps like before; adb flash, remove cable, direct start to twrp.

1st attempt: internal storage mounted, can't boot to rom (restarts to twrp), installed rom again, data still there, twrp was back to 3.0.2

2nd attempt: can't mount storage, can boot to rom, data still there, 3.0.3 stays

I hope someone here wil come with a solution, have really no idea where to look for the problem/solution
[Xperia Z5 Compact Android Development] edc9781:
Indeed, after rebooting the phone the 5Ghz networks where detected, don't know what went wrong. Now it works well.
[Xperia Z5 Compact Android Development] GMK666:
Updated experience:

- Torch not working.

- With Bluetooth (tested with 2 different speakers) the whole phone freezes completely. Tested with Netflix and Bubbleupnp. It works for a couple (5-15) of minutes first, then crashes.

EDIT:

- Shortcuts from the homescreen and quickstart are disappearing.

- Cant start phone while plugged in (I think that's known).

- Front LED didn't light up while loading. Neither orange nor green.
[Xperia Z5 Compact Android Development] nzzane:
Bluetooth and torch will be fixed in the next release, trying to get the stock blobs to work, they are being a bit retarded though..

Basically carbon will become like Lineage with stock camera blobs etc. But still mainly be an aosp rom.

I will be looking into the Shortcuts, LED and bootup for you once carbon decides to like me ;)
[Xperia Z5 Compact Android Development] Offworld99:
To all users with the TWRP mount issue:

I don't know where the problem lies, but for me TWRP (3.0.2) works just fine when I shut down my phone , and power it on while pressing the vol down buttom the entire time. This way it will go straight into TWRP and won't give mounting errors.

Edit: the issue has already been adressed in an earlier post.
[Xperia Z5 Compact Android Development] nzzane:
Update is coming! ;)

Included will be (Should be atleast) Stock camera - same as lineage

and some other improvements to battery, display etc etc! :D

As long as I can keep away the Compile monsters that break everything good (i.e errors while compiling because of stupid little things)
[Xperia Z5 Compact Android Development] GMK666:
Hey buddy,

one small issue: When taking a screenshot often the menu (shutdown, reboot, screenshot etc.) is still in the picture.

Cant wait for the new version. Unfortunately I don't have time the next few days.

Btw if you need any compute-power I'd be happy to give my CPU something to do ;)
[Xperia Z5 Compact Android Development] Myself5:
Thats fixed already on the Carbon source, the new build should have that fixed.
[Xperia Z5 Compact Android Development] nzzane:
A new BETA build is being uploaded, stock camera and stock blobs.... However Carbon is now in the same boat as Lineage with no wifi yet - this is why it is a beta release.

Check the Downloads page for "CARBON-CR-5.1-MOO-BETA-suzuran-20170302-0756"
[Xperia Z5 Compact Android Development] Lightheaded:
Is it correct that the wifi is expected not to work?
[Xperia Z5 Compact Android Development] l3nkz:
Yes, this ROM is now in the same state as the LineageOS ROM where the Wifi isn't working either. It is some problem with the kernel that [MENTION=5997713]nzzane[/MENTION] and others currently try to solve. You can look at the LineageOS thread in this forum for more information.
[Xperia Z5 Compact Android Development] nzzane:
Yep the kernel is being a bit of a turd, I am working with some Kitakami devs to figure out why it isn't loading the wifi driver. The nice thing is now carbon uses the lineage kernel so I only need to work on one kernel..
[Xperia Z5 Compact Android Development] GMK666:
Damn it, I can live without bluetooth and camera for a while, but no wifi is a dealbreaker. Have to skip that one :(
[Xperia Z5 Compact Android Development] nzzane:
Only the beta has broken wifi :P
[Xperia Z5 Compact Android Development] GMK666:
Tried it yesterday and today a bit.

Camera works.

I had to switch back again, because titanium backup wont start. I need either TitaniumBackup or Wifi.
[Xperia Z5 Compact Android Development] CubeDev:
Used ROM: CARBON-CR-5.1-MOO-UNOFFICIAL-suzuran-20170207-0530

Interesting ROM so far. WiFi works quite well, the camera is broken (but that got fixed in the beta as I see). Also an issue for me is that my SIM-card doesn't connect to my provider (Vodafone.de). It simply says that there is no service. The SIM-Card itself gets detected, and the phone also manages to find the correct APN aswell as the correct network, but doesn't want to connect (log after selecting service provider: https://hastebin.com/uhaqicoqip.sql).

I've also noticed this error, yet I'm pretty sure it's not the cause.

How can I debug or preferably fix my issue? A full logcat has been provided in the attachments below:
[Xperia Z5 Compact Android Development] CubeDev:
I've tried using CM13, but I've got the same issue there, so it's probably something on my side. Flashing the stock firmware right now. Hoping for the best...

Edit: Stock firmware's SIM service works well. Not sure why custom ROMs don't connect to my SIM-provider...
[Xperia Z5 Compact Android Development] GMK666:
Tried bluetooth with my car radio today. Ford sony. Everytime you or your partner picks up, the bluetooth connection stops.

I had this with mm too, but it got even worse.

It would be wonderful to fix this, because it worked like a charm with my z1 compact.
[Xperia Z5 Compact Android Development] divansantana:
Using TWRP 3.0.3 + CARBON-CR-5.1-MOO-UNOFFICIAL-suzuran-20170207-0530 + supersu app.

Tried installing opencamera frm f-droid and it fails with:

"failed to open camera. May be in use by another application".

The default camera app doesn't work either.

What am I doing wrong?

Secondly, a while ago I flashed 'Z5C_AndroPlusKernel_v43' kernel. Would that kernel still be in place or would the carbonrom zip have replaced that.

Which kernel is most stable/best to run with this carbonrom.

---------- Post added at 03:45 PM ---------- Previous post was at 03:34 PM ----------

Newbie Q regarding this.

I just simply flashed SuperSU-v2.79-201612051815.zip after carbonrom.zip from recovery.

What am I missing. Ie Why does one need to go into the above effort to do all that and not just what I did. Am I missing some functionality. root seems to work fine.
[Xperia Z5 Compact Android Development] divansantana:
Wondering if anyone knows if AOSP and Carbon app should have the exchange services app and Exchange option in the default email app available.

On my phone the option isn't there similar to this bug[1].

[1]: https://xdaforums.com/z5-compact/development/rom-carbon-rom-cr5-1-t3538826/page15
[Xperia Z5 Compact Android Development] l3nkz:
If you just simply flash SuperSU on your phone without the preparation step that I posted, SuperSU will be installed in system-mode. That means that the su-binary will be installed in your system partition. This can be a problem if you want to use some apps that check for rooted phones (aka. that use SafetyNet). If you don't intend to use such apps than there is no problem with flashing SuperSU in system-mode.
[Xperia Z5 Compact Android Development] Gewiz:
Afaik no more need for this preparation if you want systemless. On Marshmallow or nougat roms, SuperSu will automatically install in systemless mode.

This was also the case for my device running mm stock.
[Xperia Z5 Compact Android Development] nzzane:
Update from me: over the weekend I will be compiling new builds of lineage and carbon (there will still be no WiFi sadly), mainly just a bug fix update, nothing big. I am working alongside some great developers and hoping to get WiFi working soon (For those that don't know, it's the kernel that isn't working, as it doesn't have the suzuran drivers, sadly they are different drivers from most other Xperia's)
[Xperia Z5 Compact Android Development] divansantana:
I'm interested in what the users here prefer between CarbonROM and LineageOS and why?

Also interested in [MENTION=5997713]nzzane[/MENTION] view since he develops both :)