yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] :
Here is the link from Basketbuild:

https://basketbuild.com/filedl/devs...BON-CR-5.1-MOO-WEEKLY-aries-20170107-1330.zip
[Xperia Z3 Compact Android Development] ted!:
Thanks a lot!

Greets ted!

---------- Post added at 08:05 PM ---------- Previous post was at 07:20 PM ----------

Pls excuse my nooby questions... I try to flash the update dirty over first cr5.1. and it says that it can't identify Z3c. My phone would be a " ".

Has anyone an idea how to flash it anyways without wiping around?

Greets ted!
[Xperia Z3 Compact Android Development] :
Find the updater-script in "META-INF/com/Google/Android"

Open it and remove the first line starting with "getprop"
[Xperia Z3 Compact Android Development] ted!:
Bunch of Thanks to you...

Greets ted!
[Xperia Z3 Compact Android Development] baxxter106:
The new weekly build seems not to be build correctly...it shows an error when i try to download.

"This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>

<Code>BlobNotFound</Code>

<Message>

The specified blob does not exist. RequestId:1179e1ff-0001-008f-6e24-6962a0000000 Time:2017-01-07T20:25:53.5417192Z

</Message>

</Error>"
[Xperia Z3 Compact Android Development] coderex96:
Same problem :(
[Xperia Z3 Compact Android Development] ted!:
Try this

https://basketbuild.com/filedl/devs...BON-CR-5.1-MOO-WEEKLY-aries-20170107-1330.zip
[Xperia Z3 Compact Android Development] Myself5:
This one works too:

https://carbonrom.blob.core.windows...BON-CR-5.1-MOO-WEEKLY-aries-20170107-1330.zip

File got uploaded to the wrong directory it seems. I'll talk to our server master.
[Xperia Z3 Compact Android Development] FlintStoned-:
Hi,

Is there an installation guide with the requirements? Is there also a list with known issues?

Kind regards,

Flint
[Xperia Z3 Compact Android Development] someone755:
Camera is f'ucked. Works most of the time, useful none of the time. There's some minor screen tearing for some panel types.

That's all I know of, though there are probably more bugs with the 3.10 kernel which end users don't really care about.
[Xperia Z3 Compact Android Development] baxxter106:
the most disturbing "bug" - but NOT rom related - is the missing xposed framework for Android 7 ;)
[Xperia Z3 Compact Android Development] FlintStoned-:
Oops, big xposed fan. I compare this rom with the CM Rom and wonder which one is better and stable. I don't know what the difference is and which one is better.
[Xperia Z3 Compact Android Development] Myself5:
I'm working together with the lineage people (yes, I work with them, I am not just leeching devicetrees) on fixing the issue.

(It's not fixed on todays build yet)

I'll look into it. Is there a chance you can get me some logs? My Z3C is used as a Linux server at the moment, so grabbing logs is kinda hard. Also, assuming you refer to last weeks builds: check the builds that are compiling at the moment, see if that one's better.
[Xperia Z3 Compact Android Development] okij:
I had this issue when I tried to dirty-flash from Carbon ROM to Lineage OS or vice versa, which is not possible. Their System UIs are differently customised and so their data is not compatible to each other.

But dirty-flashing from 05-30 Carbon ROM to 06-06 Carbon ROM worked for me. If you use a Substratum theme (which I don't) you could try to disable it before flashing, maybe this helps.

Could you please provide a changelog when the compiling is ready and the build online? Thanks. :)
[Xperia Z3 Compact Android Development] Myself5:
You cant flash from Lineage to Carbon because the Carbon Weeklies are signed with our custom production keys. You can't crossflash builds with different signatures.

The suggestions with subs might actually be the cause though, [MENTION=2037863]Frostbourn[/MENTION], try that ;P

For a changelog: https://carbonrom.org/changelog
[Xperia Z3 Compact Android Development] okij:
Yes, but it doesn't tell us which LineageOS fixes have made it into the CarbonROM build. Did you update the devicetree to latest LineageOS?

Edit1: On the changelog I saw that "Longpress back to kill app" feature has been added. Thanks. :) Edit2: I've just installed the new Weekly, but couldn't find this feature in the settings yet (I looked both in CarbonFibers and Developers settings).

---------- Post added at 05:37 PM ---------- Previous post was at 05:35 PM ----------

I've just seen that CARBON-CR-5.1-MOO-WEEKLY-z3c-20170613-1426.zip now is online. :)
[Xperia Z3 Compact Android Development] okij:
Good news about BT call bug!

[MENTION=3816568]Myself5[/MENTION] and [MENTION=4550727]xkeita[/MENTION]: Some good news about the BT call bug:

I've installed CARBON-CR-5.1-MOO-WEEKLY-z3c-20170613-1426.zip and tested BT calling with my BT headsets. Not only the Mpow Cheetah Gen-2 is working, but also the Jabra Easycall, which didn't work on LineageOS from 2017-06-07 yet.

Thanks [MENTION=3816568]Myself5[/MENTION] for syncing with the LineageOS devicetree and thanks [MENTION=4550727]xkeita[/MENTION] for making more (probably all?) BT devices work for BT calls! :victory: I will make you guys a donation for some cold drinks later this evening. :) (Do you have a PayPal-account, [MENTION=4550727]xkeita[/MENTION]? Please tell me via PM.)
[Xperia Z3 Compact Android Development] markurt30:
hi guys, i have installed latest version, but i still have something goes wrong:

reboot in recovery, from power button doesn't run. i have to switch off, and press vol down + power button.

fotocamera, sometimes, on first run has icons not avalaible. anyone as me?
[Xperia Z3 Compact Android Development] difto:
Yes, start the camera in portrait orientation
[Xperia Z3 Compact Android Development] markurt30:
ok, thanks. i hope will be debugged anyway
[Xperia Z3 Compact Android Development] Frostbourn:
Turning off the substratum do the job! Thank you.

I also noticed the strange bug. During the call the screen is off all the time. I can't do anything, even disconnect a call..
[Xperia Z3 Compact Android Development] gomutan:
everything working?
[Xperia Z3 Compact Android Development] ted!:
The "kill-app" feature on doubletap or longpress is amazing, but only on camera button? Is it possible to get it for softkeys on navigationbar?

Greets ted!
[Xperia Z3 Compact Android Development] Myself5:
Yes we're working on that. Currently its only working on hardware buttons, to which in case of the Z3C is just the cam button.
[Xperia Z3 Compact Android Development] ted!:
Thx Myself5. You're the best!

Greets ted!
[Xperia Z3 Compact Android Development] ted!:
One more question. Why is my screen randomly changing brightness without having adaptive brightness enabled?

Greets ted!
[Xperia Z3 Compact Android Development] casouzaj:
Running this ROM for the last couple of days. It's very fast and stable! Differently from the LineageOS firmware, there's no Bluetooth disconnections, and my Bluetooth devices that didn't handle calls on that ROM, which are the Sony SBH80 stereo headsets and the Pioneer MVH-X378BT car head unit, work just fine here. Thank you!

The only issue they seem to share, audio related, is the "OK Google on any screen muting the mic" one.
[Xperia Z3 Compact Android Development] wmg.architect:
Very good performance and stability. I have 3 points:

- charging is slow, Sometimes battery drops down with plugged charger if I use some heavy apps

- Screen brightness is going up and down randomly with no adaptive setting.

- updater is giving me there is new update. But i am already on last weekly version.
[Xperia Z3 Compact Android Development] Myself5:
1 and 2 are caused by a rather strict thermal management. That might be adjusted in the future.

3 is WIP. We know the Updater has issues, and are working on Bringing back the former glory of CarbonDelta :)
[Xperia Z3 Compact Android Development] wmg.architect:
Thanks for fast response..

I am just wondering, is there any tweak to control nav bar? I used to make it smaller
[Xperia Z3 Compact Android Development] lostboykev:
Bluetooth works after the latest update!
[Xperia Z3 Compact Android Development] wmg.architect:
Is magisk working well with anyone?
[Xperia Z3 Compact Android Development] Kogarou-:
Can someone me explain how to install this?

I am not new to flashing 3rd party roms etc but there are no instructions here/they are confusing, and I didn't want to be spoonfed either, but oh well.

I have twrp and a full backup with slimm 1.8, what should i do?
[Xperia Z3 Compact Android Development] ted!:
- do full wipe (system, data, cache, dalvic, internal storage) via twrp

- flash latest cr build

- flash gapps

- flash magisk

- enjoy!

Greets ted!
[Xperia Z3 Compact Android Development] Kogarou-:
Thank you for your help, but now I get this:

(ascii art of carbon rom)

Patching system image unconditionally...

E1001: Failed to update system image.

Updater process ended with ERROR: 7

Error installing zip file "usb-otg/CARBON-CR-5.1-MOO-WEEKLY-z3c-20170613-1426.zip"

Updating partition details...

...done

I get this error with both TWRP 3.0.2-1 (i had it before) and 3.1.1-0
[Xperia Z3 Compact Android Development] ted!:
Follow this:

https://xdaforums.com/showpost.php?p=71537723&postcount=5

Greets ted!
[Xperia Z3 Compact Android Development] Kogarou-:
i only have these lines on the META-INF\com\google\android\updater-script :

ui_print("Target: Sony/D5803/D5833:6.0.1/23.5.A.1.291/2769308465:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));

I suppose this is normal? I'll copy the edited zip anyway while you answer

Thanks for your help honestly!

Edit 3: here is my updater-script:

(getprop("ro.product.device") == "D5803" || getprop("ro.build.product") == "D5803" ||
getprop("ro.product.device") == "D5833" || getprop("ro.build.product") == "D5833" ||
getprop("ro.product.device") == "z3c" || getprop("ro.build.product") == "z3c" ||
getprop("ro.product.device") == "aries" || getprop("ro.build.product") == "aries") || abort("E3004: This package is for \"D5803,D5833,z3c,aries\" devices
this is a \"" + getprop("ro.product.device") + "\".");
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
ui_print(" ,...., ");
ui_print(" .,lx0XNWWWNKOd:. ");
ui_print(" .:eek:WMMMMMMMMMMMMMMMXo. ");
ui_print(" .oWMMMMMMMMMMMMMMMMMMMMM0, ");
ui_print(" cWMMMMMMMMMMMMMMMMMMMMMMMMMO. ");
ui_print(" .OMMMMMMMMMMMMMMMMMMMMMMMMMMWd. ");
ui_print(" .KMMMMMMMMMKkdlllldkKMMMMMMMO. ");
ui_print(" OMMMM` x;. .;xWMX; ");
ui_print(" :MMMM ..` .;. ");
ui_print(" KMMM .o; ");
ui_print(".MMM .0M; ");
ui_print("'MM` .KMMl ");
ui_print(".MN xMMM0 ");
ui_print(".NM ,MMMMM: ..");
ui_print(" dM :MMMMMW' .k ");
ui_print(" .N cMMMMMMW; 'Xc ");
ui_print(" ,x;MMMMMMMMx. .oW0. ");
ui_print(" ,.NMMMMMMMMWx' lNMK. ");
ui_print(" ,NMMMMMMMMMMXx:'. ..:o ,MMO. ");
ui_print(" .kMMMMMMMMMMMMMMNXXXNMMW NWl. ");
ui_print(" ,OMMMMMMMMMMMMMMMMMMK Xd. ");
ui_print(" .oKMMMMMMMMMMMMMKc :. ");
ui_print(" .:okKNWWWNKdl' ' ");
ui_print(" ''...`', +' ");
ui_print(" ");
ui_print(" carbonrom.org ");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.200000, 10);
ui_print("Flashing boot.img");
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.100000, 0);
ui_print("Enjoy CarbonROM!");
set_progress(1.000000);
[Xperia Z3 Compact Android Development] subinsg:
Remove this

(getprop("ro.product.device") == "D5803" || getprop("ro.build.product") == "D5803" ||

getprop("ro.product.device") == "D5833" || getprop("ro.build.product") == "D5833" ||

getprop("ro.product.device") == "z3c" || getprop("ro.build.product") == "z3c" ||

getprop("ro.product.device") == "aries" || getprop("ro.build.product") == "aries") || abort("E3004: This package is for "D5803,D5833,z3c,aries" devices

this is a "" + getprop("ro.product.device") + "".");
[Xperia Z3 Compact Android Development] Kogarou-:
Still getting the exact same error 7 :(
[Xperia Z3 Compact Android Development] Myself5:
please get a recovery.log from after flashing. You can get it with

adb pull /tmp/recovery.log

That allows me/us to help you better.
[Xperia Z3 Compact Android Development] okij:
List of current bugs and missing features

Hi [MENTION=3816568]Myself5[/MENTION], here is my list of current bugs and missing features, based on my personal experience in the past two weeks. In this list I left out the bugs which have to be fixed the LineageOS devicetree. For some bugs I'm not sure if they are only part of the devicetree, so sorry if I post them here too and please tell me to which bugs this applies.

99% of the ROM is already working fast, stable and as expected. I'm very happy with it. :) Thank you for your great work! :good:

Bugs:

Screen Cast is not working stable yet. I tested this with our LG TV (model number 49UF8509). While on stock .291 it is working without problems, on CarbonROM it is hardly connecting and once the Z3c screen is shown on TV, it is full of artifacts and the connection is lost again almost instantly. Also streaming of YouTube videos doesn't work. It seems to me that the WiFi connection between the phone and the TV is very weak for some reason.

In Lock Screen it is not possible to launch the camera by long-pressing the camera button.

When the screen is off, it is not possible to launch the camera by long-pressing the camera button.

Camera is not focussing when half-pressing the camera button. Note: Open Camera does focus as expected, but not LineageOS's Snap Camera which is currently also used by CarbonROM. The source code from Open Camera can be found here.

Camera is not taking a picture when full-pressing the camera button. Instead the camera app is starting again or (if more than one camera app is installed) you see the dialogue that asks which camera app to start. Note: this issue applies to all camera apps I tested, i.e. Snap Camera, Open Camera and Google Camera.

Missing but useful features:

When entering the PIN on lock screen, it has to be confirmed by pressing on the checkmark symbol. On .291 it is sufficient to just enter the correct PIN, which is more convenient.

Double Tap To Wake could be made safer by checking proximity sensor. Currently this is not the case and this can lead to wrong wake-ups when the phone is carried in the pocket and then accidentially e.g. starting the phone or camera app. On .291 I used the "Proximity wake-up" feature in GravityBox, which after a double-tap to wake event first checks if the proximity sensor is not obscured (i.e. the phone is not in a pocket) before turning on the screen. The source code for this feature can be found here.

When charging via magnetic connector, the phone enters Desk Dock Mode. This can be extremely annoying, because it also happens when the phone is in Car Mode and the charging power is turned off and on, which leads to leaving Car Mode and entering Desk Dock Mode. On .291 I used an Xposed module called Disable Desk Dock for this purpose. Further information can be found here and the the source code can be found here. (@nailyk said to look after this issue when he gets his Z3 D6633, so if it should be part of the devicetree, you can then simply merge it.)
[Xperia Z3 Compact Android Development] Kogarou-:
It took a bit of time since ADB didnt want to collaborate with me, but here it is

https://gist.githubusercontent.com/...8a95147da7b36bc31cfb10490c27ebdd/recovery.log

>formatted everything but external_sd and usb otg (where i was going to copy the log) with make_ext4

>selected install, selected external_sd, where the zip was, and error 7
[Xperia Z3 Compact Android Development] Myself5:
Hum that looks like a strange error. Did you confirm the zip is OK? also, I dont think its related, but could you try using a different twrp?

The error looks pretty much like some error on your device. Also, try just using TWRPs "Wipe" Menu to format the partitions.
[Xperia Z3 Compact Android Development] Kogarou-:
> Did you confirm the zip is OK

well i did download the 2 times when we re doing the "delete lines in updater-script" thing, but i could always re download the zip a 3rd time

>you try using a different twrp

I've been flashing 3.1.1-0 for this, ill load 3.0.2-something if you'd like

>Also, try just using TWRPs "Wipe" Menu to format the partitions.

Sure, ill do that and use the "use rm -rf" too

Ill reply to you with results asap.

I could've just gone and nuked the phone to retry everything from the stock rom, but I know how it is to be like in your side, knowing what's happening here will be helpful for you.

---------- Post added at 05:43 PM ---------- Previous post was at 05:15 PM ----------

Edit1:flashed an older twrp

fastboot flash recovery twrp-3.0.2-1-z3c.img
target reported max download size of 536870912 bytes
sending 'recovery' (13092 KB)...
OKAY [ 0.425s]
writing 'recovery'...
OKAY [ 0.874s]
finished. total time: 1.299s

Edit2:normal wipe uses either make_ext4fs and/or rm -rf, depending of what i have on the settings

Edit3:downloaded the rom for a 3rd time and applied the edits, same error 7

Do you want me to nuke my phone and install the stock rom? I have a TWRP backup with my previous rom /system, /data etc, so i can theoretically go back without much pain
[Xperia Z3 Compact Android Development] Myself5:
I guess starting from stock would indeed be the best idea here. Not really sure what that error is caused by.
[Xperia Z3 Compact Android Development] Kogarou-:
After hours of sweating, flashing spanish .291 FTFs from here:https://xdaforums.com/showpost.php?p=56046548&postcount=2

And the pain of understanding how to install the recovery, from here https://xdaforums.com/z3-compact/general/guide-newbshow-to-291-mm-z3clocked-t3536395

And doing the "wipe everything from your phone and install the rom" (yes this was a tutorial all along)

its finally working!AAAAAA :highfive:

Thank you Myself5 and subinsg for all the help you gave me, even if it didn't help directly, your support made me not quit from this pain in the ass situation. :D

Now, let me ask a technical question. Nougat requires mandatory support for vulkan, even tho SOC of z3/z3c doesnt support it afaik. What trickery have you done? :confused:

T H A N K Y O U

---------- Post added at 07:35 PM ---------- Previous post was at 07:18 PM ----------

So here are the list of bugs i ve found so far

I can't boot to the recovery nor restart to the recovery

flashing the recovery again and retrying the above gives no success
[Xperia Z3 Compact Android Development] Myself5:
Vulkan is a requirement to pass the CTS, and to be allowed to officially ship Nougat on your phone as a OEM. It does however not mean that your phone has to support it for Android to _work_ on it. Short story: Vulkan is not working on that build, Android is working fine, but OEMs would not be allowed to ship Nougat.

For Recovery: Thats a bug with the bootloader which doesnt support reboot to recovery.

Just turn off your phone and start it up with Volume Down + Power to get into recovery.

Glad you solved it now, enjoy Carbon ;)
[Xperia Z3 Compact Android Development] Kogarou-:
I've only now started to install my stuff from before, can't wait to use it everyday!

There are just a few things that aren't as good as everything else, one is the recovery thingie, it's more a inconvenience than a problem, and the other is that the phone automatically shutdowns when the battery hits 0%, at least did it 2 times today. Haven't had anything else, and the rom looks pretty solid honestly!

The phone takes no time to boot and shutdown, it actually worried me on how fast it was the 1st time XD

Keep it up, this rom feels promising
[Xperia Z3 Compact Android Development] FcukBloat:
excuse me but.. what is the phone supposed to do when the battery gets completely discharged? stay alive with a miracle?
[Xperia Z3 Compact Android Development] Kogarou-:
I didn't write the sentence correctly, sorry, I've been way too much tired.

I meant the phone instantaneously shutdowns, it doesn't do the "Android is shutting down..." thing. Couldn't the flash memory become corrupted for having a 'power loss' while writing data? :confused:

Also i'm amazed at how fluid my phone is, this is by far my favorite 3rd party rom!
[Xperia Z3 Compact Android Development] FcukBloat:
ah ok now i see :o yes dunno if it is intended so..
[Xperia Z3 Compact Android Development] difto:
It is probably linked to you battery being a bit out of calibration (thinks it has more power left than it really have) then when the voltage reach the cut-off threshold the battery safety cut it to prevent damage. Normally after one/two times it should be recalibrated and report correctly its level to the system (which will then shutdown it cleanly)
[Xperia Z3 Compact Android Development] murard:
Hello World,

First I will thank Myself5 for his amazing work on that ROM !!!

I will share my experimentations since this could help...

I started struggling to get twrp to flash that rom :

Latest version did not work so I had to drop down to twrp-3.0.1-0-z3c.img	12.1M	2016-04-01 13:17:58 ED

to deal with the ZIP Signature issue I unticked the signature verification.

Strange thing : after flashing several times TWRP I saw that the version was stucked to twrp-3.0.2-1 even rebooting bootloader will not solve that...

I had to stop electrically the phone and restart the flash to get the 3.0.1 installed.

Issues I could solve by scrolling up in down the forum :

Phone Call will not work ( people would not ear me while I could ear them ) : Disable "OK google" in all screens will make the job !!!

YES both phone and "OK google" will work after that ...

BUG THAT I WOULD LIKE TO BE SOLVED :

No more LTE ( 4G ) with this ROM, only H+ will appear ...

I use the a french network provider called FREE.

It would be great to have LTE back again :D

Overnight reboot while charging : is not such an issue but is boring.

Thanks for your future help.
[Xperia Z3 Compact Android Development] subinsg:
New release.....!!
[Xperia Z3 Compact Android Development] murard:
Hello, I could solve the LTE issue by using the following settings :

Dial the following number : *#*#4636#*#*

then under menu telephon informations

"define the prefered network" take "Global/TD-SCDMA"

Then put "mobile alimentation" on OFF then ON again.

You are done 4G LTE works !

I verified that these settings are kept after reboot .

Strangely it will switch back to LTE/UMTS auto (PRL) for me and kept working fine...
[Xperia Z3 Compact Android Development] shrazy:
The link for the weekly from yesterday does not work. There comes an error
[Xperia Z3 Compact Android Development] casouzaj:
The old issue of the mic being muted during calls on the phone itself, if 'OK Google' is set to any screens, is still present. Possible workarounds: 1- turn off 'OK Google' in any screens, or 2 -Use a Bluetooth headset.

Very good firmware, nonetheless!
[Xperia Z3 Compact Android Development] AudioSculpt:
I confirm.

There aren't functional link on Get CarbonROM
[Xperia Z3 Compact Android Development] Kogarou-:
I could provide a mega link for the latest weekly, not sure if OP would let me.

It's SHA-1 is

25EBA42493265734B2F5C8438613BCC2088CB69D
[Xperia Z3 Compact Android Development] wmg.architect:
Hello.. Is there any tweak to make navigation bar smaller (in hight). With no xposed I hope there is an alternative for this option
[Xperia Z3 Compact Android Development] mhmtrk:
charging is slowly for me with new release(Charging does not progress while the display is on.) wifi signal is not very good and miracast not stable yet. thanks a lot for this great rom.