yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] st-er:
I use the magnetic charger, and fast charging works fine for me with the 20170620 build.

But when unplugging the cable, the screen is activated and will stay on until I manually press the power button. After this manual press, the display timeout starts working again. I observed this behaviour also on previous builds.

A log can be found at pastebin.com/3EPY4c7m

Unplugged around 07:51:09, manual sleep 07:53:51, configured display timeout is 30s.
[Xperia Z3 Compact Android Development] Tokusea:
Hey all, I flashed the latest version of this ROM but my Recovery will not activate anymore. If I try to enter TWRP on boot or restart the OS into recovery my device just bootcycles, Any ideas?
[Xperia Z3 Compact Android Development] casouzaj:
If your previous recovery was installed in the system partition, it got wiped out when you installed Carbon ROM. Put your phone in fastboot mode (turn it off and hold vol+ whilst connecting the USB cable) and enter:

fastboot flash FOTAKernel recovery.img

To boot into recovery, starting with your phone turned off, hold both the power and volume down buttons. When it vibrates to start up, release the power button. When the screen lights up, release the volume down button. The recovery you have flashed will come up.
[Xperia Z3 Compact Android Development] Tokusea:
Thanks for the response, So I need to download FOTAKernel and flash it via adb? It is not possible to use TWRP with CarbonROM?

Do you have a link for the kernel/img file :)
[Xperia Z3 Compact Android Development] casouzaj:
No, FOTAKernel is the partition you'll install the recovery image to. And you'll do it through fastboot, not adb.
[Xperia Z3 Compact Android Development] Tokusea:
Makes sense, thanks I have it working now. Although my FOTAKernel TWRP has a strange bug with screen tearing
[Xperia Z3 Compact Android Development] casouzaj:
Which TWRP image version have you flashed?
[Xperia Z3 Compact Android Development] lostboykev:
So far the latest build has been rock solid for bluetooth, wifi and gps during day to day use. At least that's what I'm experiencing so far. Great job Myself5!
[Xperia Z3 Compact Android Development] drorcun:
download official twrp app from playstore, select z3c, and flash it by the application, it's so simple..

D5803 cihazımdan Tapatalk kullanılarak gönderildi
[Xperia Z3 Compact Android Development] FlintStoned-:
Curious question, if I would change from Los to carbon, what are the correct steps for this process?
[Xperia Z3 Compact Android Development] subinsg:
Full wipe and flash via twrp.....worked for me...
[Xperia Z3 Compact Android Development] mhmtrk:
1. wifi signal is so weak.

2. Can anyone share FotaKernel link, please.

Thanks.
[Xperia Z3 Compact Android Development] flipside101:
https://www.androidfilehost.com/?fid=961840155545571844
[Xperia Z3 Compact Android Development] mhmtrk:
thanks but I installed the FotaKernel after installing the ROM. And the bootloop...
[Xperia Z3 Compact Android Development] murard:
Hello,

After a quite night I found my phone healthy after the overnight traditional charging reboot.

BUT : No Softkey anymore. bye bye "Back / Home / and Menu" ...

I have tried sofkey Enabler (need to be root) without success

Thanks to "simple control" I can emulate the button on the right hand side but any solution to restore default buttons would be great ...
[Xperia Z3 Compact Android Development] flipside101:
This recovery I linked you works for me across LOS and LOS based ROMS I've tested so I'm not sure why it bootloops you. It may help other diagnose your issue is you can add more information

Ok, so what was your install process

Did you dirty flash the ROM, have you tried a clean install?

Do you have any other MODS installed or is it just the OM and GAPPS?
[Xperia Z3 Compact Android Development] okij:
Hi [MENTION=3816568]Myself5[/MENTION],

could you please merge the latest changes to the devicetree for tomorrow's build? (Last time it was merged is already 14 days ago.)

Thanks in advance. :)
[Xperia Z3 Compact Android Development] mhmtrk:
I did it again with a clean flash. it is ok. thanks.

but weak wifi signal and charging slowly problems are still...
[Xperia Z3 Compact Android Development] markurt30:
i flashed today version.... simply great! there is a kind of force touch, fantastic :) :laugh::laugh:
[Xperia Z3 Compact Android Development] okij:
What do you mean with "a kind of force touch"? :confused:

I flashed today's version too and it's working very smooth so far. [MENTION=3816568]Myself5[/MENTION]: Thanks a lot for also syncing the devicetree! :)
[Xperia Z3 Compact Android Development] markurt30:
that's it: if you press any app, it's as usual. if you keep press (for example telegram) yo'll have some possibilities, without open the whole app.

i have also found new notifications in standby, great update.
[Xperia Z3 Compact Android Development] eric-200:
nice rom. thanks
[Xperia Z3 Compact Android Development] dddestiny:
random reboot when charging
[Xperia Z3 Compact Android Development] markurt30:
i found a bug... in latest version avalaible vocal registration on whatsapp and telegram has a very very low quality.

anyone has my same problem?
[Xperia Z3 Compact Android Development] jaakkos:
Current encryption support for z3c?

Is full-device encryption enabled and working for z3c? Has anyone tested it?
[Xperia Z3 Compact Android Development] mhmtrk:
I want to put the thermanager.xml file in this rom( from the latest unofficial lineage rom because there is no slowly charging problem in lineageos rom). for slow charging problem. is it logical? :silly:
[Xperia Z3 Compact Android Development] Myself5:
Please read the thread.

IIRC its working, but I havnt tested it on my own yet.

I believe [MENTION=6979267]nailyk[/MENTION] got it working though.

Despite that it should be the exact same file, you can do that.
[Xperia Z3 Compact Android Development] mEREHAIGE:
Sorry if it has been discussed earlier in this thread already but at least I couldn't find anything. I have found couple of wierd bugs... Sometimes my device doesn't wake up, I mean any of the hardware buttons don't respond and also the tap to wake doesn't work. Only way to wake up the device is to restart by holding down the power button together with the vol keys. Another bug I've noticed is sometimes when leaving from WiFi network range the mobile data does not become available. I can make and receive calls but the data is not working and it doesn't show E, H+ nor the LTE on status bar either until I restart the phone. Any ideas? Otherwise the rom is very good and smooth as butter, thanks to OP!!!
[Xperia Z3 Compact Android Development] djgigi94:
You mean mic gain? I want to install this rom for a friend in his z3c. Maybe [MENTION=3816568]Myself5[/MENTION] can explain this. Thank you
[Xperia Z3 Compact Android Development] markurt30:
yes. that's correct. i hope it will be fix soon
[Xperia Z3 Compact Android Development] thencamedroid:
I had both problems (more often the mobile data problem) in the 6/20 version, but can't say about the latest one (6/27) as I installed it only yesterday. So far looks solid. Thanks for the great ROM.
[Xperia Z3 Compact Android Development] nailyk:
HW encrypt don't works at all. Only SW for now.

CC: [MENTION=680628]jaakko[/MENTION]	https://xdaforums.com/z3-compact/development/cr-5-1-carbonrom-t3529766/post72834574
[Xperia Z3 Compact Android Development] mEREHAIGE:
you're right, I have been on 6/27 for 6 days now and haven't experienced these bugs anymore :)
[Xperia Z3 Compact Android Development] okij:
I still had

on the latest 06/27 ROM, so it's not fixed yet.
[Xperia Z3 Compact Android Development] mEREHAIGE:
you're right, losing data connection after leaving wifi range just happend to me about an hour ago, so that is not fixed either :(
[Xperia Z3 Compact Android Development] ted!:
Deleted
[Xperia Z3 Compact Android Development] okij:
Downloads currently not working

[MENTION=3816568]Myself5[/MENTION]: The download links for today's CARBON-CR-5.1-MOO-WEEKLY-z3c-20170704-0804.zip (return info: "Not Found"), but also for the older weeklies (return info: "{"FileInfo":{"Path":"/z3c/CARBON-CR-5.1-MOO-WEEKLY-z3c- ...") are not working.

Please have a look after it when you have time. Thanks. :)
[Xperia Z3 Compact Android Development] Myself5:
Yeah, noticed and we're working on it.
[Xperia Z3 Compact Android Development] okij:
Thanks for fixing it so quickly, DL is working again! :highfive:
[Xperia Z3 Compact Android Development] markurt30:
Have you fix mic gain? thanks in advance
[Xperia Z3 Compact Android Development] AndroidenKalle:
Weekly 20170704-0804 with brightness control by sliding across the status bar. :good:
[Xperia Z3 Compact Android Development] casouzaj:
Wow! Today's build fixed the mic muting issue when OK Google is set to any screens. Thanks a lot!
[Xperia Z3 Compact Android Development] BrotherZero:
Just flashed this and it's working great and looking very professional. Nice work!

Some questions.

1. Is this a completely open source ROM? What is it based on? Was curious since it included Substratum and I wondered if that is open source.

2. Is there any way to chose which home screen should be THE home screen (when you press the home button, now it always ends up on the most left home screen, when I would like to map the home button to the middle screen).

3. Is there any way to map any hardware key to TAKE (not just open the camera app) a photo?

Thanks for all the good work!
[Xperia Z3 Compact Android Development] mhmtrk:
How about wifi signal and charging speed?
[Xperia Z3 Compact Android Development] okij:
Wifi signal is fine, although a bit weaker than on .291 stock ROM. Screen cast via Wifi isn't working though. Charging speed is fine and on par with .291 stock.
[Xperia Z3 Compact Android Development] BrotherZero:
Anyone else got issues with getting MicroG working on this ROM? I installed MicroG via F-droid and I followed the steps in this posts to allow signature spoof.

https://xdaforums.com/z3-compact/development/cr-5-1-carbonrom-t3529766/post72490313#post72490313

Just like that photo I have all the boxes ticked except:

"Play Store (Phonesky) has correct signtarue: Either the installed Play Store (Phonesky) is not compatible or signature spoofing is not active for it. Please check the documentation on which applications and ROMs are compatible. "

When installing Signal it complains about me not having Play services.

I have no google account on the phone though so is that maybe it? But when I try to add a google account in settings, the phone wont let me and gets stuck saying "Just a sec...".

EDIT: Was pleasantly surprised to discover that CarbonROM is one of the ROMs with the most implemented MicroG Support. Although I still can't make Signal work on it.

https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing
[Xperia Z3 Compact Android Development] Tassifar:
Feature request to the developer... Is it possible to add the LTE tile in the quick-settings menu, like in the original firmware by Sony?
[Xperia Z3 Compact Android Development] AndroidenKalle:
For me too. But I think it is not necessary for Signal.

New versions of Signal doesn't need Google Play services (GCM - Google Cloud Messaging). https://github.com/WhisperSystems/Signal-Android/commit/1669731329bcc32c84e33035a67a2fc22444c24b
[Xperia Z3 Compact Android Development] BrotherZero:
Oh, I knew that GMC is not required for Signal any more but I wanted to try out MicroG, see how big the difference in batterylife would be. And as well, I need MicroG for the Protonmail app.

I think you do need that box checked because my Protonmail app is also complaining about me not having Google Play services.

I'm at my wits end here since I tried installing the APKs from MicroG's site, as well as flashing a zip from this site (https://shadow53.com/no-gapps/setup-guide/microg/) yet nothing works. And the documentation on MicroG's site says that CarbonROM supports signature spoofing out of the box.
[Xperia Z3 Compact Android Development] kmilopunk:
I have a ROM based on the official one. I want to install this ROM but I did not unlock the bootloader. What should I do first?

Can I do the bootloader unlocking from this ROM (martinillia ROM)?

After unlocking the bootloader what should I do?

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Compact Android Development] nelrulz:
https://xdaforums.com/z3-compact/general/guide-newbshow-to-291-mm-z3clocked-t3536395

Please search the z3 compact section, there are guides for everything
[Xperia Z3 Compact Android Development] BrotherZero:
Updating my situation if you or someone else had the similar problem.

Turns out it was human error. When I went into setting/apps/cog/app permissions/spoof package signature/ I forgot to also show system apps(because I had flashed MicroG and FakeStore as a zip and not installed it with an APK), so I never gave fake store spoof signature permission. Hence Signal (or any other app that requires Play Services) not working. Also true, Signal doesn't require Play Services anymore, but I wanted to use MicroG (GCM) instead of the frequent polling Signal does without it, to save my battery life.

Warning, if you use the APK for MicroG from F-Droid, it is outdated and you apps that requires Play Services will complain about that. Go to MicroG's site and download the latest preview from there.

https://microg.org/download.html

Long story short, CarbonROM works excellent with MicroG, you just have to make sure you ticked every box (and there are a lot of them...) to make it work.
[Xperia Z3 Compact Android Development] mEREHAIGE:
Does the Kernel12 work on this rom?

https://xdaforums.com/z3-compact/orig-development/cm12-kernel12-22-2-2015-t3037663
[Xperia Z3 Compact Android Development] subinsg:
[MENTION=3816568]Myself5[/MENTION] thanks for the great ROM....works perfect...

Few requests:

1.is it possible to increase the overall minimum brightness of screen when using adaptive brightness.

2.adding actions on the navigation bar...like double tap home button to sleep etc...

3.dark theme like in RR ROMs.

4.double tap to wake by checking proximity sensor.

5.and finally cursor control in navigation bar.

6.display timeout option for ambient display.

Thanks again for the rom.its awesome!
[Xperia Z3 Compact Android Development] difto:
You can set the overall brightness by increasing or lowering the brightness cursor when using automatic brightness. Also in night situation people may want the minimum brightness their screen is actually capable of displaying...
[Xperia Z3 Compact Android Development] kmilopunk:
Hello, my question is timely. I can do the unlocking of the bootloader, install twrp and then this ROM? Being in a modified official ROM 291 with root and recovery

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Compact Android Development] st-er:
Actually, this was working in previous releases. Seems to be broken in latest 20170704 release.
[Xperia Z3 Compact Android Development] someone755:
Idk mate why not? The kernel base is the same anyways.

Just pop into the kernel thread if there's issues and I'll blame it on Myself5 lol.
[Xperia Z3 Compact Android Development] BrotherZero:
Been using the ROM now and I'm really digging it!

Some questions, requests and possible bugs:

BUGS

1. Bluetooth for calls does indeed work. But the quality for high definition audio calls like in Signal, Wire, Hangout etc is really low. Closer to a regular cellphone call. What could be the reason for this?

2. Gesture typing is available as an option in the settings, but it doesn't work on the keyboard. Could this possibly have something to do with the AOSP Android keyboard is open source, but the gesture typing part isn't? Should disable this option if possible then.

3. The clock widget oddly changes size. It doesn't require more space, the grid doesn't become bigger or smaller, but the clock shrinks and grows back to normal size. The size of my widget is 2x1.

REQUEST/QUESTION

1. Is it possible to disable the lock screen? To me it's highly annoying to have to wake the phone (double tap, works beautifully) and then have to swipe away the lock screen and THEN enter your cord or gesture pattern(this was the case with stock ROM as well). I'd rather just knock knock and then enter code.

2. Take photos with the camera button or any other hardware button (volume up or down) when in the camera app. Even better, be able to wake phone up with camera button and take photo.

I don't want to come across as ungrateful with this post. The ROM is really awesome, and I really appreciate all the hard work.
[Xperia Z3 Compact Android Development] okij:
I used all versions from 2017-05-30 onwards and double tap to wake by checking proximity sensor wasn't working in any of these. I didn't try the versions before 05-30 though, but I also really would like to see this feature which prevents accidential wake-ups while carrying the phone in pocket.

Proper support of the camera button is coming :), as [MENTION=3816568]Myself5[/MENTION] wrote here on the [PORT] [STOCK SONY CAMERA] [Z2, Z3, Z3c] for Nougat ROMs thread:

[MENTION=3816568]Myself5[/MENTION]: What's the current state of this?

Also [MENTION=3816568]Myself5[/MENTION]: There have been some worthy updates to the devicetree, as you can read here:

- Official welcome back MPDecision!
- July 5 Security Patch
- Kernel patches
- Enabled AVRCP 1.5 Profile again
- Experimental 3AM reboot fix (Needs feedback)

I'm positive that the 3am reboot has been fixed by the according commit shinano: Modify fstab for nighly trim op.

It would be great if you could sync the latest commits from the devicetree for the next weekly. :)
[Xperia Z3 Compact Android Development] Myself5:
I currently barely have time, so no development for me atm (this means no news on the cam button) but I'll see if I can merge the upstream changes of the Lineage tree this weekend.

The July security patches are merged already and will be included in next weeks builds.
[Xperia Z3 Compact Android Development] BrotherZero:
Obviously I'd be thrilled if you had tons of time to perfect the ROM but it's still damn amazing that I get up to date security updates on a 2 year old phone the manufacturer forgot a long time (don't think I even got regular security updates while they supported the phone). Just awesome.
[Xperia Z3 Compact Android Development] okij:
On GitHub I saw that you already started merging the upstream changes, thanks a lot! :cool:

I read on the LOS threads that unfortunately the 3am reboot bug still hasn't been fixed by the shinano: Modify fstab for nighly trim op commit. I don't have this bug at night, since I usually charge during the day, but I get the reboot often when the device has been fully charged but still connected to the charger, so I was quite sure that it was fstab / fstrim related. Let's hope that they will find a fix soon.

[MENTION=3816568]Myself5[/MENTION]: I tried if setting CarbonFibers -> Buttons -> Advanced Button Options -> Camera button, Long press action from "Open camera" to "No action", but even then the Camera app is opened when (short-) pressing the camera button. :eek:

For comparison: In LineageOS, short-pressing the camera button always takes a picture when the camera app is running, whereas only a long-press of the camera button starts the camera app.

Therefore I think that it's just a small bug in the Carbon source code which has to be fixed in order to take pictures with the camera button. I'm not a programmer, so I don't know where to look in the source code, but I'm quite sure that opening the camera when (short-) pressing the camera button is currently sort of hard-coded and therefore overrides the functionality of taking pictures. IMO, it would be sufficient to remove this small part of the code in order to make the camera button work. (Or maybe the according line has to be changed, so the action which is triggered by short-pressing the camera button is changed from "open camera" to "take picture").

I know you don't have much time (well, it's Summer after all! ;)), but I would be happy if you could have a look after this.
[Xperia Z3 Compact Android Development] wmg.architect:
Facebook application has problem with loading media. Is it possibly happening from Rom?
[Xperia Z3 Compact Android Development] kmilopunk:
Hello,

I installed the ROM and in one of the post lei that was also installed magisk, I would like to know how it is used because I frequently use the Root in the cell phone by Droidwall
[Xperia Z3 Compact Android Development] casouzaj:
I installed Magisk beta v13.0(5e... : the penultimate one, not the last one), from here https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589, and the Ultimate Safety fix v10.1 (not the beta one), both in the same TWRP session. After I turned my Z3C phone up, I launched Magisk Manager and ticked the Systemless checkbox, because I use AdAway. I can pass SafetyNet and my phone shows as Certified in Play Store settings.
[Xperia Z3 Compact Android Development] BrotherZero:
Since you seem to have been testing this thoroughly, did you try any apps using high def audio? Bluetooth is working fine on regular phone calls, but it doesn't seem to be able reach high def using apps that supports high def audio over the internet.

Also does wifi hotspot work for you?
[Xperia Z3 Compact Android Development] kmilopunk:
Hi thanks for the prompt reply

Yesterday install everything but not what you tell me about safynet, where can I find it?

on the other hand .

It gets very hot when I use it normally. this is normal ? Or should I do something with the kernel

Enviado desde mi Xperia Z3C mediante Tapatalk
[Xperia Z3 Compact Android Development] casouzaj:
Sure! It's here https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t360043. After you install it through TWRP, after the Magisk zip, it will be shown as an active Magisk module.
[Xperia Z3 Compact Android Development] okij:
I'm happy with the sound of the Mpow Cheetah, although I don't know if it's actually running on aptX. Since the aptX codec is included in the ROM, it should use aptX, but I don't know how to check this. Also I don't have the Mpow Cheetah with me ATM.

Yes, I just tested it. My wife's phone received data via Wifi without problems.
[Xperia Z3 Compact Android Development] bhhalu:
Hi!

Great Rom so far.

But:

The Camera is extremely slow and stutters a lot. In comparison to the stock or stock-based roms in stutters extremely.

Is there something I missed?

Regards
[Xperia Z3 Compact Android Development] okij:
aptX codec support

[MENTION=3816568]Myself5[/MENTION]: Since [MENTION=3838455]BrotherZero[/MENTION] asked, I now tested if my Mpow Cheetah BT headphone is using aptX codec when listening to music. There is no according entry in logcat, so unfortunately so far it isn't used yet.

The aptX support has been merged to the devicetree just 7 days ago, see this commit, so obviously it wasn't included in your current weekly from 2017-07-04.

But I also cannot find this commit in the CarbonROM Changelog, so I'm wondering if it hasn't been merged yet!?
[Xperia Z3 Compact Android Development] Myself5:
I completely rebased the devicetrees, our changelog does not notice that.

Though, you should note that aptX also requires ROM sided support, which Carbon does not have ATM. We want to look into it but for some reason nobody in the team actually has aptX compatible BT audio devices, so that kinda fell behind the desk.
[Xperia Z3 Compact Android Development] okij:
[MENTION=3816568]Myself5[/MENTION]: Thank you for the fast reply! :) (Sorry, I already used up my 8 thanks for today.)

P.S.: I will test if aptX might work on the next weekly, even though you said that also the ROM must support it - who knows, maybe we're lucky.
[Xperia Z3 Compact Android Development] kmilopunk:
[MENTION=3816568]Myself5[/MENTION] g Thanks for being attentive and for this excellent ROM, has given new life to my cell phone

Enviado desde mi Xperia Z3C mediante Tapatalk
[Xperia Z3 Compact Android Development] BrotherZero:
I think I got a Sony SBH60 at my girlfriends place I'd happily offer as a small payback for all the good work you done. I'll check tonight. Which country are you in?