yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] Myself5:
​

CarbonROM is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled roms, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best rom we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.

NOTICE: THIS IS AN EARLY BUILD. There will be changes in the release branches like changed/removed features or similiar.

BUGS:

We found the camera to be a little wonky on occasion. Working on that. Currently waiting between pictures is working around the issue.

Video Recording is not working

Please feel free to look, build, and use our code at CarbonROM's GitHub...

Disclaimer:

While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash! These builds are experimental and can contain Bugs (as listed above). Make sure to do backups.

Support:

We spend an astonishing amount of time developing this software. We can't spend much time on XDA as a result, so if you need support, please try the following:

1) Search. Search, search, search. Yes, you. I don't care how unique or important your question is, it's very likely someone has adressed it already. Especially if you're even close to new at this.

2) Read our FAQ, which can be found on our website. Carbon FAQ

3) Ask a question in your device forum. Someone will no doubt try to help you. Warning: this help may come in the form of telling you it's a dumb question that has been asked before. See step 1 - such are the perils of asking questions when you haven't done the research yourself. Android is about helping yourself.

4) Join our Discord server! There, you can connect with other Carbon users and our developers, and you can get quicker responses to your bug reports. The invite link is right below.

5) Please keep bugreports to this thread or Discord. Do NOT create a Jira ticket. This is still in early development so we don't accept any bugreports yet.

Download

Download Mirror

Join the CarbonROM Discord server

Meet us on Telegram

GitHub

Kernel source

Remember, every penny you send to us goes right back into the rom. It's used for hardware, server costs, etc - all the things that help us make Carbon better with every release. Your support means the world to us! If you've enjoyed Carbon, please consider a donation toward this goal. Thank you, and we hope you continue to enjoy Carbon!

XDA:DevDB Information

CarbonROM, ROM for the Sony Xperia Z3 Compact

Contributors

Myself5, CarbonROM

Source Code: https://github.com/CarbonROM

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

Based On: AOSP

Version Information

Status: Beta

Created 2019-03-02

Last Updated 2020-02-08
[Xperia Z3 Compact Original Android Development] BoriaTheButcher:
I'm so hyped for this rom, using cr 6.1 so far and its rock stable while beeing smooth. Will test 7.0 soon.

Thank you :)
[Xperia Z3 Compact Original Android Development] heross:
delete, wrong theme.
[Xperia Z3 Compact Original Android Development] betacrypt:
Yes! So excited to see this
[Xperia Z3 Compact Original Android Development] yxagasasgas:
Just pointing out that Double-tap to wake is still broken in the latest build. Battery drain that started with the previous build is also still the same (nearly 20% over a 6 hour night).

Thanks for the good work otherwise and keeping older devices up-to-date!
[Xperia Z3 Compact Original Android Development] okij:
reserved
[Xperia Z3 Compact Original Android Development] heross:
Why must accudrain so poor in custum rom? Actual i`m back to stock and drain over a 12h night is only 2%.
[Xperia Z3 Compact Original Android Development] yxagasasgas:
This is a new-ish issue that started with the end of January build, in previous builds of CR7 (that aren't hosted anymore), battery usage was just fine, and I would expect that to get fixed again.
[Xperia Z3 Compact Original Android Development] PolloGrande:
Tried it for the last day, was on CARBON-CR-7.0-TBA-UNOFFICIAL-z3c-20190129-1316.zip for the last month. And I've noticed some great improvements so far:

the great news:

I wasn't able to reproduce the lockscreen and notification bar bugs anymore.

docking the phone seems to work now also without problems

viewing .gif and videos directly in Whatsapp is working again

performance is splendid

the bugs still present:

battery drain seems to be still present (but no problem getting over a day with moderate screentime for me)

the camera: video recording is not working at all. changing between front and back camera multiple times doesn't crash anymore, which is great. The bug about the second picture crash while using the stock camera app is still present. Taking multiple pictures directly in whatsapp is working. Frontcam does show a correct live picture and taking a picture does work as long as you don't try to use the display flash (stuck on display flash).

double tap to wake doesn't work

Not tested: USB and Wifi tethering

Well, I can live with the few bugs listed above for now, as long as you don't use the camera too often or just use Whatsapp for taking pictures directly, nothing is stopping me from using this rom anymore.

Thanks for keeping my favourite phone up to date!
[Xperia Z3 Compact Original Android Development] mxperial:
Big thanks to [MENTION=3816568]Myself5[/MENTION] and the team to keeping z3c alive!

Clean flashed the 29/01, dirty flashed 02/03 and dirty flashed 21/05 (using modules from here). Regarding to bugs these are the most visible that I encountered so far:

battery drain still high in my view but I'm still investigating (It seems a bit better than the last CR6.1 tho)

video recording is kinda broken!? I don't know how but I managed once to get video from front camera, using back camera it didn't work at all till now. Switching between cameras and modes also make the camera stops. While playing music I tried to record videos and when the camera stopped the music switched or also stopped every time (don't know if it matters or not). Fixed on 21/05/2019 build

manual network selection not working (cannot select network but it connects fine on automatic mode) Still present on 21/05/2019 build

clock overlay even after changed its position, after taking screenshot or pulling down the status bar it disappears (minor bug) Fixed on 21/05/2019 build

I suspect there might be an issue with alarm since I set up it to 6:12 and it rang at 6:22... I'll keep investigating trying to get logs..

No FM Radio..

Every time a new app is installed using 'files', screen freezes (trying to get logs)..

Offline charging not working(?)

Logs and screenshots are attached. Will update this as I find more relevant things...

Cheers!
[Xperia Z3 Compact Original Android Development] casouzaj:
The latest build (0302) brings big improvements to GPS navigation. It seems to be working now. The bugs I've faced are the following:

1 - WiFi tethering is still not working for me. After toggling it on, it starts the process, turning the WiFi radio off, but it is automatically toggled off right afterwards, and WiFi is turned back on.

2 - Screen cast seemed to connect, at first attempt. My smart TV showed the connection screen, but my Z3C phone undergone a soft reboot. Further attempts showed no TV sets available in my local WiFi network.

I'm keeping this ROM, anyway. Thank you very much!
[Xperia Z3 Compact Original Android Development] nokian95ita:
hi, nfc payement is working on this release?
[Xperia Z3 Compact Original Android Development] okij:
First impressions

[MENTION=3816568]Myself5[/MENTION]: Thanks a lot for making cr-7.0 for the Z3c! :victory: I know that it's not finished yet, so I want to share my own first impressions.

Since I have a spare second Z3c, I used my working cr-6.1 installation from my first Z3c (which I transferred via TWRP backup) and installed cr-7.0 plus 9.0 Gapps ontop of it.

Basically it works, but I have a big problem using an SD card. If I already have it inserted when booting up cr-7.0, the phone reboots at lock screen or soon after unlocking. If I don't have an SD card inserted when booting up, everything is fine and I can use the phone, but as soon as I insert a card, it reboots.

This behaviour stays the same even after freshly formatting the SC card on my PC. And - before anyone asks - I have the same problem after clean-flashing cr-7.0, so it's not caused by dirty-updating from cr-6.1.

Does anyone else have such SD card / reboot problems and knows how to solve them?

I just did another test after fully removing the partition from the SD card by using a partition tool on the PC and then letting the cr-7.0 phone do the formatting. Now it seems to work well, no reboots anymore. Now the card is formatted in FAT32, whereas before it was formatted in ExFAT, so probably ExFAT support is missing or buggy!?

About battery usage: As some users already wrote, so far it's worse than on cr-6.1. During standby at night, the cr-6.1 phone had a battery drain of only about 0,3 %/h, whereas the cr-7.0 phone had a battery drain of about 1,8 %/h. On the cr-7.0 phone, the mobile network ("Mobilfunk") consumes more than on the cr-6.1 phone, so maybe that's the culprit?

About double tap to wake: It's working for me, but I had to activate it via Kernel Adiutor.

About camera: I have the same problems which have already been mentioned.

General: CarbonROM 7.0 already seems to run smooth and stable. What's great is that I can use EdXposed (I mainly need it for the Disable Desk Dock module because otherwise I wouldn't be able to properly use my car holder) but at the same time still pass SafetyNet and use banking apps (putting them on the black list of EdXposed).

For now, I will stay on cr-6.1 for daily usage until the battery drain and camera problems have been fixed, but I will update cr-7.0 on my second Z3c and see how the development goes on. I likely will also make and maintain a "user experiences and issue list", like I did on the cr-6.1 thread (I already reserved post #6 for this.)

Keep up the great work! :cool:
[Xperia Z3 Compact Original Android Development] Barciej33:
Same here. I did a clean flash and I couldn't manage to pass the lockscreen. I didn't have such a problem on the 20190129 version.
[Xperia Z3 Compact Original Android Development] yxagasasgas:
SD card worked without issues for me, 32GB FAT32.

Can also confirm that enabling DTTW from within Kernel Adiutor works.
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=3816568]Myself5[/MENTION], about the so far not working exFAT on Pie: They seem to have the same issue on the LineageOS 16 thread:

But unfortunately it's not solved yet.

Maybe you and [MENTION=8746471]NeoArian[/MENTION] could work together to fix this issue? :fingers-crossed:
[Xperia Z3 Compact Original Android Development] Myself5:
New build

Just finished uploading a new build.

Small Changelog:

March ASB

Hotspot fix thanks to [MENTION=8746471]NeoArian[/MENTION]

Other reported bugs are currently WIP. E.g. we made some breakthroughs on Video recording, more on that soon.
[Xperia Z3 Compact Original Android Development] odiad:
Hi myself5. The new release of ROM does not work for me. I flashed clean, but after some seconds after first boot the phone rebootet (home screen was already appeared). And it robots anytime shortly after boot. I can e.g. just insert sim pin, but at least then the phone is booting again.

I tried first flashing with gapps, but also without flashing gapps, so only ROM, shows same result.

Greetings Odiad
[Xperia Z3 Compact Original Android Development] okij:
I bet that you are using an exFAT formatted SD card, since I faced the same problems.

Your only options ATM are not to use an SD card or to format it in FAT32 file system (which has some drawbacks of e.g. not supporting files > 4 GB in size).

Hopefully the devs will get it fixed soon. :fingers-crossed:
[Xperia Z3 Compact Original Android Development] casouzaj:
I turned my Z3C phone, running the latest 0310 build, off, then, for test purposes, inserted an exFAT formatted card into its slot, and turned it back on. For me, a specific popup message came up stating that that card was not supported, but no unexpected reboots. I wonder what might cause reboots in your case? The Gapps package, perhaps? I use the opengapps mini one.
[Xperia Z3 Compact Original Android Development] okij:
I don't know, but I didn't try the 03-10 build yet. Maybe the popup message was added in this build to prevent the system from not working at all?
[Xperia Z3 Compact Original Android Development] Myself5:
Not intentionally. although I did experiment with some of [MENTION=8746471]NeoArian[/MENTION]s kernel commits in that build so it's possible they at least don't force reboots anymore.
[Xperia Z3 Compact Original Android Development] odiad:
Hi,

yes - without sdCard the ROM works. When I insert SDcard then the phone reboots. I have not tried to change formating the SD card. I will wait until it works correctly...

Greetings Odiad
[Xperia Z3 Compact Original Android Development] casouzaj:
Sometimes I face some general lockups, followed by a soft reboot. I couldn't identify any particular situations for such a behavior. I know that it has happened because I have that 'SD card issue. Tap to fix' entry in the status bar. Then, I turn my Z3C phone off and back on, and I see that my SD card is correctly handled. It has no issues, whatsoever.

Anyone, any thoughts?
[Xperia Z3 Compact Original Android Development] yxagasasgas:
Probably a slightly different issue, but yes, sometimes when locking the phone and then immediately waking it again, it goes back to sleep after a second or two (usually while inputting the unlock code) and becomes unresponsive for a few seconds. Only once did it permanently lock up and I hard to hard reboot it.
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=3816568]Myself5[/MENTION]: I just had a look at the CarbonROM Gerrit and am wondering if yesterday's commit sepolicy: Grant mediaextractor access to files over all sdcard fs types might fix the exFAT reboot issue? :fingers-crossed:
[Xperia Z3 Compact Original Android Development] NeoArian:
I guess sadly no because it doesn't work on my lineage either which is permissive. So I assume that the problem is not sepolicy related.
[Xperia Z3 Compact Original Android Development] Myself5:
Not my commit so I wouldn't know :P Although mediaextractor is not mission critical. worst that happens without a properly working mediaextractor is that you can't read any media (like music) from the SDCard. it's not responsible for those kind of crashes.

Also, that^
[Xperia Z3 Compact Original Android Development] okij:
That's a pity. So a fix for those crashes is not in sight yet?
[Xperia Z3 Compact Original Android Development] BigOneT:
Hello,

very good Rom Thanks a lot. For 2 or 3 days i have donate you 10$, i know it is not much but i hope it helps you!
[Xperia Z3 Compact Original Android Development] mxperial:
[MENTION=3816568]Myself5[/MENTION]

Not sure if you are aware that recently [MENTION=8746471]NeoArian[/MENTION] managed to fix the LED on our device, kindly look at the post if not.

Not asking for ETAs, but since there were the server problem this month and there were no CR7 build for Z3c this month, with this new fixes, video recording and led, I think, the device is closer of a stable/official CR7 rom?

Cheers!
[Xperia Z3 Compact Original Android Development] NeoArian:
Hy! The camera is not related to this change, I had accidentally removed the credmgr script so credmgrd wasn't even started. Camera works again now :)
[Xperia Z3 Compact Original Android Development] mxperial:
Hey [MENTION=3816568]Myself5[/MENTION],

Just linking it here as well (you might know it atm), the camera seems to be nearly fully fixed now. Big thanks to [MENTION=5688409]koron393[/MENTION] for pointing it and [MENTION=8746471]NeoArian[/MENTION] for the quick test.

I guess that the only major problems left is the exFAT issue and FM radio, right? FM radio and exfat seems to be fixed! Thanks [MENTION=8746471]NeoArian[/MENTION]

Cheers!
[Xperia Z3 Compact Original Android Development] okij:
Thanks a lot [MENTION=5688409]koron393[/MENTION] and [MENTION=8746471]NeoArian[/MENTION] for finding fixes for the camera, exFAT and FM radio on Android Pie for the Z3c! :victory:

[MENTION=3816568]Myself5[/MENTION]: I hope that you find some time to merge these fixes in CarbonROM too so that we can soon enjoy a stable cr-7.0 on the Sony Shinano devices. :)
[Xperia Z3 Compact Original Android Development] PioneerSeeker:
My device Z3 D6603 on this beta version of cr7.0 is getting heat up. No special useage but only Facebook WhatsApp XDA app Facebook messenger and stock apps of this rom I am using.

It's the processing unit of Mobo not the battery.

But all works fine on stock roms.

Now what could be the problem... I flashed the stock version of open gapps in which you find almost every Google app you see in factory default roms.

???

Also any solution for very very slow image processing specially when open a HD photo.???
[Xperia Z3 Compact Original Android Development] okij:
[MENTION=3816568]Myself5[/MENTION]: In hope that it's of any help for you, I made a summary of the fixes for Android Pie which have been commited lately by [MENTION=8746471]NeoArian[/MENTION] and [MENTION=5688409]koron393[/MENTION]:

Mic in phone calls:

commit on GitHub

XDA post for reference

Hotspot:

netfilter commits on GitHub

XDA post for reference

LED:

LED commits on GitHub

XDA post for reference

FM radio + AudioFX:

commit on GitHub

XDA post for reference

Camera:

commits on Gerrit (part 1)

commits on Gerrit (part 2)

XDA post for reference

exFAT:

commits on GitHub

XDA post for reference
[Xperia Z3 Compact Original Android Development] Myself5:
New update with a bunch of updates (basically all above and more) will come later.

Should be pretty much ready to go official now.

ALSO fixed the issue that would not allow booting to the recovery via init_sony (the Press Volume when LED lights up thing) when Magisk 19 or higher is installed.

Fix is here:

https://review.carbonrom.org/c/CarbonROM/android_device_sony_common/+/9276

That fix has also been applied to cr-6.1.
[Xperia Z3 Compact Original Android Development] Myself5:
New build

22507dd4a8d13ccddf12c29b7248da98 CARBON-CR-7.0-OPAL-UNOFFICIAL-z3c-20190521-1121.zip

New build contains plenty of fixes and should be the last build before we go official unless another issue appears.

Booting to recovery with Magisk 19.x is fixed too, otherwise there's fixes from [MENTION=8746471]NeoArian[/MENTION], [MENTION=5688409]koron393[/MENTION] and [MENTION=5258151]drakonizer[/MENTION].
[Xperia Z3 Compact Original Android Development] mxperial:
Dirty flashed over the previous build, camera works perfectly now! Didn't test the other fixes yet (hotspot and exfat), but noticed that FM radio apk is not present, is that right?

Also noticed other minor bug regarding clock and status bar, will add it here later. The screenshots were added, as you see, when toogle the button it appears that something appears on the left top of screen(?), to get it normal just need to pull down the status bar.

The max volume problem also experienced, as pointed here and here, volume starts high when playing music then get reduced automatically(?)

Noticed in call problem with these new settings as well (some members reported it on lineage thread), so as a quick fix (it seems that it is related to the noise cancelling as the other mic was now included in the configuration). My quick fix was replace the following lines in the build.prop (magisk module also attached, didn't test it tho):

persist.audio.anc.enabled=true false

persist.audio.handset.mic.type=analog digital

persist.vendor.audio.handset.mic.type=analog digital

persist.vendor.audio.fluence.audiorec=true

persist.vendor.audio.fluence.speaker=true

persist.vendor.audio.fluence.voicecall=true false

persist.vendor.audio.fluence.voicerec=false

ro.vendor.audio.sdk.fluencetype=fluence endfire

Cheers!
[Xperia Z3 Compact Original Android Development] okij:
Thanks a lot [MENTION=3816568]Myself5[/MENTION] for implementing the fixes in the 2019-05-21 build! :)

I installed it on my second Z3c and want to give a first feedback:

(+) ExFAT formatted SD cards are working fine now.

(+) Camera is working fine now.

(-) I can't select SD card for storing photos in stock Sony Camera. [MENTION=7384824]mxperial[/MENTION]: Is this possible for you? (I'm not using your Magisk module, but flashed the stock camera via TWRP as I did in cr-6.1, but this shouldn't make a difference for this issue.)

(+/-) Charging LED works, although it's very dim.

(-) LED notifications don't work yet. (Maybe there's a board config or a build prop setting wrong or missing?)

(-) FM Radio app is missing, as [MENTION=7384824]mxperial[/MENTION] already noticed, so I couldn't test.

(+) Battery consumption in standby was great last night, it's much better than with the build from ~2 months ago that I tried. Although I haven't tested with a SIM card yet, I think that battery consumption is on par with cr-6.1. Also I have to say that so far I tested with Magisk 18.1 since I had battery drain with 19.0 and 19.1 when I tested it on cr-6.1. I will try Magisk 19.2 soon too.

I haven't tested further yet but will post on this thread if I find out more.

[MENTION=7384824]mxperial[/MENTION]: Thanks for your testings with the persist.vendor.audio settings. Please keep us updated. Also one question about the dark theme for the settings in your screenshots: Is there a system setting to change to dark theme or did you apply a substratum theme?
[Xperia Z3 Compact Original Android Development] mxperial:
Thanks mate for your detailed test! about stock camera not sure, TWRP and magisk should be pretty much the same as you said. However, I'm still learning, atm no idea how to tackle this problem.

There is a setting :)

Go to settings -> Display -> Advanced and under theme options set: Device Theme: Always on and Use black theme.

I guess it was the only thing I changed.

Also [MENTION=4916555]okij[/MENTION], did you have the max volume problem as well or not? Volume starting high and then suddenly get lowered automatically?