yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] okij:
I didn't really test audio yet, but I also didn't hear anything strange yet. ;)

I compared the settings the current cr-7.0 build.prop (which are from this commit) with the settings of the cr-6.1 build.prop and they are exactly the same (just the HAL names have been updated). Since I don't have audio problems with cr-6.1, I assume that these build.prop settings should also work for cr-7.0.

[MENTION=3816568]Myself5[/MENTION] and [MENTION=8746471]NeoArian[/MENTION]: Please have another look at this commit, IMHO there is one line which can be deleted and one which has to be added:

- persist.audio.handset.mic.type=analog \
+ persist.vendor.audio.anc.enabled=true \

The first line isn't needed anymore, because now there's persist.vendor.audio.handset.mic.type=analog.

The second line is a substitution with the new HAL name for the old line persist.audio.anc.enabled=true which has been deleted in the commit.

The obsolete first line shouldn't do any harm, but maybe the missing second line is needed to fix audio?

[MENTION=7384824]mxperial[/MENTION]: Please test with your Magisk module if just deleting the first line and adding the second line fixes the audio issues that you observed.

I now tried if deleting the app data of the Sony stock camera helps, but even after granting storage permission again, I still can't select SD card for saving pictures (it's greyed out in the camera settings). Could you get a micro SD card and test this too?

[MENTION=3816568]Myself5[/MENTION]: Do you know if there has been a change again from Oreo to Pie in the way that apps can access the external SD card?

Strange, I don't have Theme Options under Display -> Advanced. Is there anything else which I have to activate before?

Can you confirm the LED issues that I reported this morning (Charging LED is very dim and LED notifications don't work yet)?
[Xperia Z3 Compact Original Android Development] yxagasasgas:
I'm running with 19.2 and standby battery consumption is massively improved over the previous build. :good:

I can also confirm that saving to micro SD card does not work with the stock Sony camera app.
[Xperia Z3 Compact Original Android Development] NeoArian:
persist.audio.handset.mic.type=analog i have kept this because I haven't found any Info about this property (should be dropped at all).

persist.vendor.audio.anc.enabled=true doesn't seem to be HAL part either so I haven't updated it. By the way, you can just test it by setting it locally on your phone. https://github.com/z3c-pie/device_s...mmit/d2658b178b4a8b95726768f2712e40ab28f5b0ab

About the LED, I was sure that notifications first worked for me, but it doesn't work anymore for me now.
[Xperia Z3 Compact Original Android Development] okij:
Yes, persist.audio.handset.mic.type surely can be dropped, but I assume that this property has been renamed to persist.vendor.audio.handset.mic.type, so IMHO this one should be kept, just like you did in your commit here.

If you look at the scheme of the other (re-)namings, I'm pretty sure that persist.audio.anc.enabled must be renamed to persist.vendor.audio.anc.enabled and not be dropped.

"anc" is an abbrevation for "active noise cancelling" and IMO important for proper audio function. :)

Thanks for confirmation!

Is the charging LED quite dark on LOS 16.0 too? I can barely see it on Carbon 7.0, whereas it is working with normal brightness (like on stock ROMs) on Carbon 6.1.
[Xperia Z3 Compact Original Android Development] pawloland:
I have los 16 flashed and I also don't see led flashing with notifications. Regardless LED isn't dim while charging or while discharging.
[Xperia Z3 Compact Original Android Development] NeoArian:
I strongly doubt this. I can't find any reference to this. Even on github there is not a single line including this property (GitHub search) except my mismerge.

This is not part of the OpenSource Audio Hal which we compile. This property is set for a proprietary blob by sony most likely which is obviously not updated.

This seems fine to me. I am gonna look into the notifications soon.
[Xperia Z3 Compact Original Android Development] mxperial:
I'd noticed the same thing you pointed but didn't test it, I'll test it later...

Since yesterday I tried different combinations and the one that I was quite satisfied I listed here and in the lineage thread, however, some users reported that it didn't worked for then, so I'll keep testing it then.

Yes, it is confirmed here as well, I don't know if it is related or not, but using Album apk, it is possible to see photos and videos on sd card but cannot delete then, using a logcat I saw that some permissions were denied, I'll add the photo here later. Photo and log added, any guesses?

Strange, I'll add the photo here later. Photo added

LED seems fine here, I'll look better a it later as well...
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=7384824]mxperial[/MENTION]: The funny thing is, if I enter "theme" in the search box in Settings, it shows "Use black theme" as result, but if I tap on this, it goes to the Display settings and "Use black theme" isn't there. :p

So maybe this part of the settings is just missing in the German translation!? (@Myself5)
[Xperia Z3 Compact Original Android Development] mxperial:
I update my last post with the screenshots for you to see. I think [MENTION=3816568]Myself5[/MENTION] might know more about that?

Also noticed another bug (maybe?), date and time seems to be reset after a restart, even when the automatic date and time is enabled, is that correct? The time got updated after few seconds tho (when the automatic date and time is enabled).
[Xperia Z3 Compact Original Android Development] Myself5:
Themes don't show when you have substratum installed. Although I really should rework that logic some day to only show a warning.

The "time bug" has always been a thing on Sony devices. Looks like timekeep (Sonys way to workaround that) has some issues, otherwise you wouldn't see that.

I'll take a look.

[MENTION=4916555]okij[/MENTION] the way Android is designed there will never be an entire option missing because of translations. Instead, if a string is not localized in the requested language it will first fallback to the parent language (e.g. if Portuguese-Brazil doesn't exist it will fallback to just Portuguese) and if that doesn't exist it's falling back to the default, non localized language, which is English US.
[Xperia Z3 Compact Original Android Development] okij:
Thanks for this hint! I just uninstalled Substratum and now the Dark option is in settings and works well. :good:

Substratum was still installed because I made an update installation from cr-6.1 to 7.0.
[Xperia Z3 Compact Original Android Development] happys29d:
Plz complete this to official. And also add Sony music. And Google camera. , carbon Oreo ROM equalizer not working
[Xperia Z3 Compact Original Android Development] Airgio:
Which version of twrp do you suggest?
[Xperia Z3 Compact Original Android Development] spcd:
- I've got the audio problem as well. Volume starts on a normal level and then lowers automatically.

- I have changed some options in my status bar. For example battery percentage and also the network traffic indicator. When the traffic indicator appears the battery percentage dissapears behind the clock.

- in cr6.0 my Bluetooth would constantly disconnect from my car and android auto had problems. In this version it works perfectly!
[Xperia Z3 Compact Original Android Development] elfrawg:
Hi,

the last version made such huge improvements, it's now my daily driver since the camera has been fixed, thanks for all the effort!

I have my own audio problem that I haven't seen reported so far: In call volume is incredibly loud, the lowest level can be heard by everybody in the same room.

I don't remember if this was already on the previous cr7.0, with cr6.1 I didn't have that issue.
[Xperia Z3 Compact Original Android Development] mxperial:
[MENTION=3816568]Myself5[/MENTION] recently I noticed that manual network search still not working on the last build, will provide logs again (if it's not related to my dirty flash(?))

Also is it possible to add the camera button feature to the rom as it is present on aicp? commits here and here?

Playing with my phone a bit more I've noticed another strange thing about volume/sound; here is the steps to reproduce it:

- Lower down the volume till you can't hear nothing;

- Start to play a song;

- Increase the volume till you start to hear something (around 20 - 30% of max volume)

- I've noticed if you leave the phone with the screen on, everything works just as it should be, however, if you lock the phone using the power button, after some seconds the sound decreases and you barely can hear something, then it increases again till the level defined previously, and the process repeats again (lowering and increasing). New network log is also attached.

Logcat is attached, but I filtered it with the "audio" word, hope you guys can reproduce it as well, as it might help to solve the volume/sound problem)

Thanks again!

Cheers!
[Xperia Z3 Compact Original Android Development] casouzaj:
I keep using CR-7.0 (the latest release, of course) in my Xperia Z3C phone. Thanks a lot to [MENTION=3816568]Myself5[/MENTION] and other contributors. Nevertheless, it's my backup phone now. I terribly miss CR7.0 on my new daily driver, the Xperia Z5C

Please, make make CR7.0 for this device too.

Thanks again, anyway!
[Xperia Z3 Compact Original Android Development] Flamedog:
just giving a heads up on the previous posts:

- i also experience changes in volume, just randomly watching a youtube video seems to increase/decrease the volume while youre watching.

- Call volume is also very loud, and the volume slider barely makes a difference for that
[Xperia Z3 Compact Original Android Development] Myself5:
I'm looking into the Audio issue ASAP. If someone could confirm: This was fine on the previous builds, right?
[Xperia Z3 Compact Original Android Development] okij:
I can't say because I'm still using cr-6.1 as my daily driver, but AFAIR there haven't been complaints about changing audio volume etc. in older cr-7.0 builds both here and on your Z3 cr-7.0 thread.

Other issues which keep me from using cr-7.0 as my daily driver yet are:

Notification LED is not working yet and charging LED is very dim.

Sony Stock Camera and Sony Album can't access SD card yet for saving and deleting pictures.
[Xperia Z3 Compact Original Android Development] mxperial:
Yes mate, it was fine before the last build (the build from 10/03 had sound and calls fine), don't know if it will help or not but I've been playing with build.prop and audio_policy_configuration with no success (apparently the only files changed(?))(I even tried to revert it to what it was before the commits). I've also seen that the last security bulletin has some "media framework" changes, so maybe it is related to it, maybe? No idea..

Cheers!
[Xperia Z3 Compact Original Android Development] Myself5:
So 10/3 had it too? I've only seen report of it on the may builds
[Xperia Z3 Compact Original Android Development] mxperial:
No, no, the build from 10/03 had sound and calls fine, only after march build these issues appeard (since we don't had an april build, on the may build the issue appeard, not sure if can be something introduced on april that could have caused the issue as well)

Cheers!
[Xperia Z3 Compact Original Android Development] elfrawg:
Beside the audio problem with the very loud in call volume I had yesterday evening the problem that my microphone was no longer working in phone calls.

I did several testcalls, I could hear the other party, but they couldn't hear me.

A reboot of the phone solved the problem. Made a few calls, so far it didn't happen again.
[Xperia Z3 Compact Original Android Development] PolloGrande:
I can confirm these issues, call sound is always on max volume, except when connecting a bt headset. And most of the time people on the other end of the line can barely understand me. Restarting fixes the microphone problems, but volume is till stuck afterwards. And sometimes I don't even get a connection at all while trying to phone someone. None of these Issues did exist before the recent update.
[Xperia Z3 Compact Original Android Development] mxperial:
Hy [MENTION=3816568]Myself5[/MENTION],

Just confirming that you saw this post, recently I also noticed another bug that is kinda bothering me, when battery gets 15% or lower, the red notification led keeps on, consuming all the rest of my battery in few minutes, don't know if it was mentioned before or not. (I guess the normal behavior should be blinking and not always on for the notification led)

Cheers!
[Xperia Z3 Compact Original Android Development] sugarbrie:
I have TWRP 3.2.3.0 installed from Carbon CR-6.1.

Is it OK to use for 7.0 or do I need something newer? Thank you !!
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=3816568]Myself5[/MENTION]: Three bugs have been fixed by [MENTION=8746471]NeoArian[/MENTION] recently:

Audio volume:

revert this commit: https://github.com/z3c-pie/device_sony_shinano-common/commit/6d942e2459fa154691dbb781b960d33cb5c8b739

XDA post for reference

Notification LED:

commit on GitHub

XDA post for reference

Manual Network Selection:

commit on GitHub

XDA post for reference

Please implement those fixes in CarbonROM 7.0 too where applicable. Thanks in advance. :)

Thanks [MENTION=8746471]NeoArian[/MENTION] for finding the fixes and posting the GibHub links. :highfive:
[Xperia Z3 Compact Original Android Development] ronnay ryukay:
You can use this for fix problem sony media apps in pie

https://xdaforums.com/crossdevice-dev/sony/magisk-module-sony-media-apps-inlclude-t3938579
[Xperia Z3 Compact Original Android Development] okij:
Thanks looking after this issue! :) However, on the OP of your thread you wrote:

So if I get it right, your Moduel doesn't allow yet access SD card on Pie with Sony Camera (Cyberian Camera)?

The Camera app is the Sony app which I still use the most, so it would be awesome if you could fix write access to SD card also for Sony Camera on Pie. :fingers-crossed:
[Xperia Z3 Compact Original Android Development] ronnay ryukay:
Yes...

Later...
[Xperia Z3 Compact Original Android Development] Myself5:
Fully aware of them as I helped testing with the Audio stuff.

P.S. b2d46be0a1b898f40c88027c01fb3786

June ASB

https://fonts.carbonrom.org/

Audio Fixes

Network chooser fix
[Xperia Z3 Compact Original Android Development] okij:
It's great to see this collaboration between Carbon and LOS devs! :highfive:

Thanks for the new 2019-06-17 build. :) I installed it yesterday evening on my 2nd Z3c.

It's nice to have a small weather icon and temperature on the lock screen again, I missed it since about Nougat days. Is this a new Carbon feature or a new Pie feature in general?

What about [MENTION=8746471]NeoArian[/MENTION]'s fix for notification LED? Can't it be applied to CarbonROM? On the new build, I still did't get LED notifications for E-Mails etc., and like on the previous build, the charging LED is working, but it's brightness is only a fraction (maybe 20%) in comparison to stock ROM or cr-6.1.
[Xperia Z3 Compact Original Android Development] yxagasasgas:
While nice in theory, I have questions about this. Where are the settings that govern this and where does it derive its permissions from? Which weather data provider is being used?
[Xperia Z3 Compact Original Android Development] Myself5:
There's currently no Settings part to disable this feature, which is one of the reasons it's not merged yet. The permissions are granted to the WeatherClient.

Source for the weather client that updates the view on the lockscreen can be found here: https://github.com/kazerine/android_packages_apps_WeatherClient

The providers used are weather.com and sunset-sunrise.org.

[MENTION=4916555]okij[/MENTION] LED stuff still requires some work. We currently do not have any LED customizations in Carbon so these need to be implemented first. Although, I did enable the toggle to disable the Notification LED, and in theory the LED should work just fine. Need to look into this again I guess.
[Xperia Z3 Compact Original Android Development] yxagasasgas:
One of the reasons I'm asking is because I was never asked to provide permissions, and I couldn't find anything in app permissions. There is a Weather Information Provider in the App Ops section of the Carbon Fiber settings, which is how this app appears to identify itself according to

android_packages_apps_WeatherClient/res/values/strings.xml, but according to that App Ops page, it never asked for location information and taking the permission away does nothing.

For now I've blocked the hostnames and that seems to have killed it. I understand these are unofficial pre-release previews and all that, and I am grateful you provide these, but please sort out the permissions for this.
[Xperia Z3 Compact Original Android Development] Myself5:
Permissions, as for every non user facing Android system application, are granted by default using xml configs (in this case here: https://review.carbonrom.org/c/Carb...rg.pixelexperience.weather.client-default.xml). There is nothing "wrong" with the permissions. As said before, on the official version there will probably be a switch for this so this is not an issue anymore.
[Xperia Z3 Compact Original Android Development] yxagasasgas:
Given that it sends location data to multiple third-party services, I disagree. If in the final release this is an opt-in feature that doesn't automatically start transmitting location data on first boot without informing or acquiring consent from the user, then I have no issue with it.
[Xperia Z3 Compact Original Android Development] Dabronik:
Hi I have a problem, because sometimes the SMS comes only when I unlock the screen and when someone calls me it says that I am unavailable even though I have full coverage, someone knows what's going on. I also have a problem with lineageOS 16.
[Xperia Z3 Compact Original Android Development] servicioswebavr:
Thanks (BTW, no FM Radio)

I have recently installed and I am so grateful to the developers, great job!

The only thing I miss right now is the FM Radio. Any roadmap to include?

Thanks again!
[Xperia Z3 Compact Original Android Development] frht5382:
Is Offline gps work this rom? I mean just a-gps no wifi and mobile data
[Xperia Z3 Compact Original Android Development] rhino2000:
I've just put this on my daily driver. Thanks so much for the work that has gone into this.

I was looking for the settings to switch location mode between what used to be device only (only gps), high accuracy (everything) and battery saver(wifi and bluetooth).

I have tasker usually switching these but there's a few more hoops to just thorough to get this working, but I don't see those option just in the settings.

Also I did a clean install, i forgot to flash magisk. Is it safe to flash magisk after the image has been flashed and apps installed or am I best to go with a clean instal after magisk?
[Xperia Z3 Compact Original Android Development] Snake_Aiz:
Hello,

I have a issue: after flashing this rom, my z3c keeps restarting.

Help?

Thanks
[Xperia Z3 Compact Original Android Development] rhino2000:
what have you done so far to try and fix it?

was it a clean or dirty flash.

My first step would be to reflash after a complete wipe, can you boot into recovery?
[Xperia Z3 Compact Original Android Development] Snake_Aiz:
I tried several times to flash it.

Then I did all by the book with rooting and all the steps, if I flash any version of 9 (I saw here 2 versions) either is rebooting and can't get into recovery or not working well (ex: camera is black, the apps won't work, no signal).

Now I have again Sony's Rom.

I will try again maybe next week, from scratch :)
[Xperia Z3 Compact Original Android Development] mxperial:
[MENTION=3816568]Myself5[/MENTION]

Just wondering (not asking for eta tho), there is a plan to push z3c cr7.0 builds to official? If yes, can you share what still need to be done?

I'm using it as daily driver for a long time, everything running great so far! Only there is the need to include the FM Radio, also, any chance to get a august build?

Many thanks! Keep the good work!

Cheers!
[Xperia Z3 Compact Original Android Development] Myself5:
As the name suggests the new build is SIGNED with custom keys (the Carbon release keys) and can be considered an RC.

That means you need to do a clean install for this build but will be able to dirtyflash the official builds once they drop.

Unless there's any upcoming issues, the shinano family is scheduled to go official ASAP.
[Xperia Z3 Compact Original Android Development] mxperial:
Thanks for the quick update mate!

Not sure if it was supposed to happen but I dirty flashed the last build over the old 17/06 build and its working great so far, however, I don't see the FM radio yet, maybe because my dirty flash? or it still not into the build?

Great news!

Cheers!
[Xperia Z3 Compact Original Android Development] dbk-gravity:
Thanks for the good work.

the image is running so far it can judge very well.

Mistakes I had in the past have been fixed.

but a new trial version has been added.

the volume fluctuates constantly.

the volume is at maximum.

I start for example Yutube, the reunion starts loudly and reduces itself automatically.

at night I want to hear an audio book. Volume also 10%

that's not possible if it's too loud or suffers too much.
[Xperia Z3 Compact Original Android Development] rhino2000:
I was just asking about this very issue in the general section.

I just did a complete clean flash and it was still doing it.

It affects me most with maps directions, starts out loud but i cant hear the end of what its saying.
[Xperia Z3 Compact Original Android Development] Myself5:
It's a ROM issue. I had that fixed before but it looks like I either forgot to push the fix or reintroduced the issue in some followup.
[Xperia Z3 Compact Original Android Development] rhino2000:
Thanks for replying [MENTION=3816568]Myself5[/MENTION], I spent a week wondering what i had done looking for a sound normalisation setting. :laugh:

I'll pop back to a previous build for now and keep an eye out for a fix.

Thanks for your work on this. These phones have plenty of grunt to keep running and with this work they have the security too and saves another handset from obsolescence.
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
Anyone experiencing lack of 5GHz wifi on this ROM? I used search on this thread with no success.

What I did:

1) Enter recovery, format cache,data,internal storage and system, install CARBON-CR-6.1-NOCT-RELEASE-z3c-20190824-1158.zip, open_gapps-arm-8.1-pico-20190904.zip and Magisk-v19.3.zip, reboot to system, just after Welcome screen I see my 5ghz AP to choose.

2) Enter recovery, format cache,data,internal storage and system, install CARBON-CR-7.0-OPAL-UNOFFICIAL-z3c-20190819-2110.zip, open_gapps-arm-9.0-pico-20190904.zip and Magisk-v19.3.zip, reboot to system, just after Welcome screen I see only 2.4ghz AP's to choose, no 5ghz!

Tried several times without success, also with CARBON-CR-7.0-OPAL-UNOFFICIAL-z3c-20190617-1346.zip and Lineage 16.0... NO 5GHZ WIFI.

I appreciate for any help, thanks.
[Xperia Z3 Compact Original Android Development] casouzaj:
No problems with WiFi connection to my 5GHz home network in the CR7.0 0819 build.
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
Thanks.

Can anyone confirm this on latest builds?

Or where I can download 0819 to check?

Eh, you meant 20190819-2110 build, that I already tried... Then I have no idea why it's happening to me... May be problem in my AP, but CR 6.1 connects without problem as well as my Linux laptop.

Despite this minor problem, CR 7.0 seems perfect for me, probably fastest ROM I ever used on my z3c.