yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] NeoArian:
No need to "unflash" anything, just flash it to FOTAKernel from Fastboot and you are fine ;)
[Xperia Z3 Compact Original Android Development] subinsg:
[MENTION=8746471]NeoArian[/MENTION] thanks for your reply......but its still the same... Can't boot into recovery.... I try to to get into recovery by vol down button... Led light changes.... Screen goes blank from Sony logo for some time and the whole thing starts again....

edit:hold up!!!thanks its working now!!!but it factory reset my phone too on first initialization....don't know how........and also i cant seem to boot into recovery from the system....i have to do it manually...or it ends up the same way i mentioned above...might wanna look into it...

Thanks for your work!!!
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening, probably your ROM wrote to factory reset to /misc (misc is used for commands to recovery like factory reset, OTA etc...) but your old recovery hasn't mounted the misc partition so never executed these commands. At least on my lineage reboot to recovery works fine (is necessary for working OTA anyway) so if it really doesn't work on carbon ROM I'm sorry but won't have enough time to take a look. (I would say it's something on your end anyway because I have based my trees on Carbon's mostly)

Have a nice day!
[Xperia Z3 Compact Original Android Development] NeoArian:
Great news! I have fixed FMRadio + AudioFX. I will push a build very soon!
[Xperia Z3 Compact Original Android Development] NeoArian:
Good Evening!

As announced FM Radio and AudioFX is fixed, the build is done and uploaded to https://sourceforge.net/projects/ep...age-16.0-20190503-UNOFFICIAL-z3c.zip/download

It would be great if some people test any function related to audio, i haven't found problems so far, if you do please report it here!

Happy flashing and have a nice day!

EDIT: FM seems to be not working correctly, it works when connected to a bluetooth speaker while opening the app. I will take another look :D
[Xperia Z3 Compact Original Android Development] pawloland:
Are previous camera changes reverted or new implemented so camera works as it was.... maybe better?
[Xperia Z3 Compact Original Android Development] NeoArian:
The camera works like to was before, so photos work mostly and video recording in 1080p Sometimes works, camera modifications are not reverted but don't harm so far.
[Xperia Z3 Compact Original Android Development] NeoArian:
[MENTION=4916555]okij[/MENTION] found out that it is related to the latest magisk. So you can go back to older magisk if you need this feature for now.
[Xperia Z3 Compact Original Android Development] frht5382:
When will the camera work perfectly? Isn't there any solution?
[Xperia Z3 Compact Original Android Development] pawloland:
There is no ota for me. Is it intencional?
[Xperia Z3 Compact Original Android Development] NeoArian:
Yes, I have forgot to push OTA yesterday.
[Xperia Z3 Compact Original Android Development] tblr0ne:
Unfortunately incall-volume stopped working (it's fixed rather loud volume, you can't make it sound louder/quieter, it's just the slider moving) with the 0423 release. Besides that, great work!
[Xperia Z3 Compact Original Android Development] mxperial:
Hey [MENTION=8746471]NeoArian[/MENTION], just tell me if I am on the correct thinking, I was looking for devices which uses the same msm8974 and I found out that htc m8 uses it and has camera fully working (photos and video recording), but I know just a little about dev, so looking at the commits I saw these that seems to not have to been added to z3c tree(?):

here,here and here.

I don't know if these commits were implemented or not, maybe implemented differently on z3c device?

Didn't try the last version yet, only listing it here as it might help figure out the weird behaviour of our camera, maybe? or even [MENTION=455439]bgcngm[/MENTION] could give you info on whats was done on m8 to fix camera on pie? Cheers!
[Xperia Z3 Compact Original Android Development] NeoArian:
Hy,

All the commits you linked are for sepolicy, but we still use permissive (means it doesn't block access) so our problem is definitely not related to sepolicy. Between devices with similar SOC's can be some similar stuffs but the camera is in this case different implemented so we can't just take their patches. ;)

Good night!
[Xperia Z3 Compact Original Android Development] mxperial:
I see, thanks for the reply anyway

I will keep learning in the mean time then :D

Cheers!
[Xperia Z3 Compact Original Android Development] pawloland:
In AudioFX when i have selected main speaker i can't use sliders for bass and virtualizer. I don't know if it should be like that (never used it before). Besides that everything seems to work (except fm radio).
[Xperia Z3 Compact Original Android Development] IanTester:
Any other D5833 users trying this ROM? LTE doesn't work for me. I have to change to 3G.
[Xperia Z3 Compact Original Android Development] themu:
First, thank you for your development. The Rom works pretty well in general.

I flashed the new Image after flashing your newest twrp and made the following experiences.

AudioFX:

Some MP3 Files just play noise with AudioFX on. It seems that skipping songs might be related to the problem.

I also can't use bass and virtualization with the integrated speakers.

FMRadio:

Not working, but not of importance for me.

Camera:

Mostly like described. Sometimes pictures are having vertical stripes.
[Xperia Z3 Compact Original Android Development] pawloland:
[MENTION=8746471]NeoArian[/MENTION], i experienced problem regarding loudness. When i play video on yt with volume set to maximum it isn't played with maximum volume. I have to power off device (with volume set to maximum and video playing), quickly turn on and play video which at start is played louder (i think it is the real maximum) but after a second or two it becomes quieter, as it was before my operation. I achieved the same resultat by switching from yt with video playing to another app and back to yt.

Edit1: on the main speaker of course

Edit2: it seems that it applies to audio in whole system.:rolleyes:
[Xperia Z3 Compact Original Android Development] koron393:
Hello [MENTION=8746471]NeoArian[/MENTION]

Could you test this libshim_camera patch?

http://gerrit.aicp-rom.com/c/AICP/device_sony_msm8974-common/+/90425

http://gerrit.aicp-rom.com/c/AICP/device_sony_msm8974-common/+/90428

I tested with my SGP621 scorpion.

I could record videos with back (main) cam.

Thanks.
[Xperia Z3 Compact Original Android Development] NeoArian:
Hey!

Many thanks for linking me these! I will definitely try them with pleasure!!

Have a nice day!

EDIT:// Bad news for everyone who doesn't like a working camera, taking multiple photos is fixed, videos are fixed. Great job [MENTION=5688409]koron393[/MENTION] !!
[Xperia Z3 Compact Original Android Development] NeoArian:
Good late-evening,

i have pushed another build to OTA where i have partially reverted the audio patches, AudioFX effects seem to work (as far as i can trust my ears ;P). [MENTION=9699281]pawloland[/MENTION] please test if you can reproduce your problem with this build.

Apart from the audio configs it includes [MENTION=5688409]koron393[/MENTION]'s camera shim update so we can record videos and take multiple photos in a row. Many thanks and respect to his work! I have tested OpenCamera, everything seems to work fine there (even 4k video recording) but in snap the videos recorded by the back camera will miss the last 2 seconds (at least for me, will take a look later). We finally getting into the near of a really stable, fully working pie build! Am i right that so far just exfat and FM is broken until now?

Download: https://sourceforge.net/projects/ep...age-16.0-20190506-UNOFFICIAL-z3c.zip/download

Happy flashing and Good Night!
[Xperia Z3 Compact Original Android Development] frht5382:
Now everything works perfecty.Lockscreen, camera, insta videos all works.Thank you so much [MENTION=8746471]NeoArian[/MENTION]
[Xperia Z3 Compact Original Android Development] RacingZivi:
Sounds great to have a working camera!

Maybe it's just my phone but since the March build I have weird sound quality at phone calls: The other side has a massive hum and echo of own voice and I can hear the other side hardly.

Did a full wipe yesterday and flashed again with the latest build, gapps nano and magisk. But the effect remains.

Does anyone have or had the same problem or knows what to try to fix this?

Big thank you to [MENTION=8746471]NeoArian[/MENTION] and [MENTION=5688409]koron393[/MENTION]!
[Xperia Z3 Compact Original Android Development] NeoArian:
I don't have a sim card in my phone anymore, middle April builds worked fine for me. Can someone confirm his problem?
[Xperia Z3 Compact Original Android Development] frht5382:
can not reduce the volume of the handset and how to fix it noisy?

Sama problem [MENTION=8611736]RacingZivi[/MENTION] [MENTION=8746471]NeoArian[/MENTION]
[Xperia Z3 Compact Original Android Development] tblr0ne:
Speech quality seems to be reduced as well. And I'm not entirely sure, if it was introduced with the 0423 or 0424 release.
[Xperia Z3 Compact Original Android Development] pawloland:
Unfortunately yes, issue is still present. I have sended you private message, please take a look.
[Xperia Z3 Compact Original Android Development] Bore1:
Heya

love the rom but got 2 probs one autorotate doesent work at all and latest update only front camera works ,back one is blank tried another camera app and got same rsult

---------- Post added at 12:38 PM ---------- Previous post was at 12:23 PM ----------

oook did fresh install via TWRP (previously did the update from system) and now camera works but autorotate is still not working

Camera was not working cause i installed wrong superSU ,but now when installed correct one camera working fine )
[Xperia Z3 Compact Original Android Development] dmksp:
Same problem. auto rotate not working here on my device

On stock and other roms works
[Xperia Z3 Compact Original Android Development] tblr0ne:
Autorotation is working without any problems.

You might want to re-check your settings.
[Xperia Z3 Compact Original Android Development] Bore1:
all enabled ,atleast all setings i know of and still no rotation .I know that sensor by itself is ok.

just to be sure that my phone isnt faulty installed Carbon rom and everything works perfect gyro,proximyty, light sensor and soo on
[Xperia Z3 Compact Original Android Development] minixperia:
I don't know what's taken from my phone, but any recovery flashed doesn't work, neither the first nor the last ones are modified to work with ota..

I tink the end is near :crying:

Or i do somting wrong when flash it
[Xperia Z3 Compact Original Android Development] pawloland:
[MENTION=4605043]minixperia[/MENTION]Probably it's related to magisk.
[Xperia Z3 Compact Original Android Development] minixperia:
You know how i can go back to the old magisk? :confused:
[Xperia Z3 Compact Original Android Development] pawloland:
I was also wondering. I think all we can do in this situation is uninstall magisk (button is on the bottom of magisk menager app), then flashing old version (only if uninstalling newest one solves issue) and waiting till newer version of magisk will include fix.:rolleyes:
[Xperia Z3 Compact Original Android Development] minixperia:
[

I have flashed the recovery in boot partition to force the phone to start in recovery, then i've uninstalled magisk via uninstaller zip , then i have installed the latest release of the rom that i have in the phone memory, then i have flashed the recovery in the fotakernel, and then i've do the update..

Now update work

Thanks [MENTION=9699281]pawloland[/MENTION] ,

But i haven't follow the thread for more time, and i have lose this important information..

Ps. You know whitch version of magisk don't give any problem at the system/recovery?

In the latest build the audio is more lower, but more more more lower than then previous build.

[MENTION=8746471]NeoArian[/MENTION]

Up

I notice that the music start playng loud and then go lower
[Xperia Z3 Compact Original Android Development] okij:
Magisk 19.0 is working well in terms of entering the recovery, but it can produce massive battery drain when the Magisk hide feature is enabled. Therefore I reverted to Magisk 18.1 at the moment.

BTW, on the Z3c you can still enter TWRP (on the FOTAKernel partition) with Magisk 19.1 installed by first turning off the phone and then pressing the Power + the Vol-Down button simultaneously until the phone vibrates. Also [MENTION=9699281]pawloland[/MENTION] FYI.
[Xperia Z3 Compact Original Android Development] frht5382:
Call volume too noisy and when I open music The sound goes high first and then decreases.
[Xperia Z3 Compact Original Android Development] casouzaj:
[MENTION=4605043]minixperia[/MENTION], which version of Magisk version was causing you problems? You see I'm not running this ROM, but the latest CR7.0 one, instead, with the latest Magisk Canary build (19101), and no Magisk issues here, whatsoever. What's strange in this case is that CarbomROM is based on LineageOS.
[Xperia Z3 Compact Original Android Development] StarGeneral:
Just installed using TWRP 3.3.0 and everything seems to work flawless. Thank you very much for your work!
[Xperia Z3 Compact Original Android Development] NeoArian:
It seems like the sensors are broken on recent builds (at least on my device) but I have flashed back an old build (march something, should have definitely worked) and it still was broken. I will try a format data and full reflash as soon as possible and take a look into this problem. Can anyone on the latest build test with sensors Multitool from playszore for example wether it shows more then battery, GPS WiFi and proximity?
[Xperia Z3 Compact Original Android Development] usarodnakuze:
I have tbese four too. But proximity doesnt seem to work, all the rest are perfect tho.

Thank you so much for the ROM it works great!
[Xperia Z3 Compact Original Android Development] NeoArian:
Sorry, i don't understand you quite well. Do you have these 4 and some others? Or do you have these four and nothing else?
[Xperia Z3 Compact Original Android Development] koron393:
exFAT problem is kernel related.

stop passing nameidata * to ->d_revalidate()

stop passing nameidata to ->lookup()

don't pass nameidata to ->create()

drivers/exfat is not merged around this nameidata changes...
[Xperia Z3 Compact Original Android Development] NeoArian:
Funny thing is that I just looked at these 3 commits yesterday. I have dropped the exfat nofuse driver though and switched to the sdfat driver which seems to be the better method because of newer driver I guess. They are on my test list anyway, have you already tested this?
[Xperia Z3 Compact Original Android Development] tblr0ne:
I'm running the latest build and all sensors seem to be working as intended and are shown in Sensor Multitool.
[Xperia Z3 Compact Original Android Development] pawloland:
I can see a lot more informations. Every sensor seems to work properly.
[Xperia Z3 Compact Original Android Development] NeoArian:
Many thanks guys, so I don't have to continue looking through my changes for a derp, it might be a local problem then :)

Btw I'm testing exfat right now :)
[Xperia Z3 Compact Original Android Development] mxperial:
Did you get the latest TWRP from anywhere or compiled it yourself mate?
[Xperia Z3 Compact Original Android Development] RacingZivi:
I can confirm working sensors as well.
[Xperia Z3 Compact Original Android Development] NeoArian:
I assume he is taking about my build from here: https://xdaforums.com/showpost.php?p=79438068&postcount=220
[Xperia Z3 Compact Original Android Development] NeoArian:
Well, even after a whole clean flash my sensors don't work (kinda ironic that I face a bug and seem to be pretty alone with no? :D), but therefore exfat and FM fully works, I will see the logs about sensors and test an old build :eek:
[Xperia Z3 Compact Original Android Development] usarodnakuze:
I do have the same problem, sorry for not being clear before. Can there be some difference in sensors among devices?

The only sensor related log i can see is this:

05-08 22:13:11.098 E/LightsService(718): Light requested not available on this device. 2
[Xperia Z3 Compact Original Android Development] mxperial:
My bad, haven't looked properly at the first post, thanks for pointing it anyway!

That's great news, thanks again mate!
[Xperia Z3 Compact Original Android Development] Bury.pl:
Hi this is my first post under XDA roof ;)

This is my first contact with Android, before (and still) I using Jolla Phone with SailfishOS.

I wana try LineageOS, but i have problem with TWRP. I cant install it on Sony Z3C.

- I using Linux,

- using platform-tools_r28.0.3-linux

- TWRP ofcourse: twrp-3.3.0-z3c-arian.img

- Android 6.0.1 (23.5.A.1.291) kernel 3.4.0-perf-gc14c2d5

- bootloader unlocked

- and it is my little war in terminal:

bury@nova:~/Downloads/platform-tools$ sudo ./adb devices
List of devices attached
YT9110HG0P	device

bury@nova:~/Downloads/platform-tools$ sudo ./adb reboot bootloader
bury@nova:~/Downloads/platform-tools$ sudo ./fastboot devices
YT9110HG0P	fastboot

bury@nova:~/Downloads/platform-tools$ sudo ./fastboot flash FOTAKernel twrp-3.3.0-z3c-arian.img
Sending 'FOTAKernel' (14846 KB) OKAY [ 0.468s]
Writing 'FOTAKernel' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

EDIT: Sorry for to big image :(
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening, to me it seems like your bootloader is not unlocked, unlock allowed doesn't mean that it is already unlocked :).

If this is possible you can take a look here to unlock it correctly https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Good luck and good night :)
[Xperia Z3 Compact Original Android Development] Bore1:
light ,proxymyty and gyro not working for me pluss when playing audio sound is normal few seconds and then goes down few notches.Really hope there be fix soon , i really like this rom.

---------- Post added at 03:31 AM ---------- Previous post was at 03:28 AM ----------

ure not alone, have sensor problem also, flashed carbon rom just to test my sensors and everything is fine on that rom
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening, I have tested a bit and flashed older builds, so far I can tell that sensors are broken since 0423 build, I'm going through the commits and push a fix tonight or within the upcoming days :)

Funny thing is that flashing build from march and flashing back recent builds will make sensors work :D
[Xperia Z3 Compact Original Android Development] Bore1:
Yay that is really great news :good:
[Xperia Z3 Compact Original Android Development] frht5382:
Did you look call sound and mic latest build?
[Xperia Z3 Compact Original Android Development] NeoArian:
No, the sensors are way more important. Also the sound seems fine to me after a quick test ..

Edit: sensor problem is found, I have accidentally moved a sensors config file from system to system/vendor
[Xperia Z3 Compact Original Android Development] IanTester:
[MENTION=8746471]NeoArian[/MENTION]: The kernel in your TWRP build does not include F2FS support, even though the TWRP program does (and the kernel in this ROM does too). Can you fix this?
[Xperia Z3 Compact Original Android Development] NeoArian:
I will take a look, this is related to the kernel, in twrp we have used Sonys prebuilt Kernel Release, i will replace it with ours soon and test it :)
[Xperia Z3 Compact Original Android Development] NeoArian:
Good morning!

I have pushed an build to OTA and sourceforge.

Changelog:

* Enforcing sepolicy

* Fixed sensors

* Fixed FM Radio

* Fixed EXFat, sdfat and vfat

* Camera works fine

* May Android Security Bulletin

* Sound seems fixed

Download: https://sourceforge.net/projects/ep...age-16.0-20190510-UNOFFICIAL-z3c.zip/download

Happy flashing!
[Xperia Z3 Compact Original Android Development] Bore1:
Huge thanks all seems to work fine even sound is fine now ;)
[Xperia Z3 Compact Original Android Development] LaRazón:
Thanks again, that list looks great!

I am getting random reboots to recovery though, got any idea what that all could be about? Actually, I gave the z3c to the kid and it always reboots like 10 seconds into Hill Climb Racing. Same thing with YouTube Kids.

e. I'm using the recommended twrp into fota kernel.

e2. updated to the latest version, have not had a reboot yet. Hope that fixes it. Thanks again, the update was as smooth as anything. :fingers-crossed::good:
[Xperia Z3 Compact Original Android Development] NeoArian:
Good evening,

i will take a look and test a bit. It would be great if someone else can confirm it :)

Have a nice day!
[Xperia Z3 Compact Original Android Development] minixperia:
My display at high brightness it flashes

I have some system ui crashes..

Sometime not work totally.

Audio have the same problem of the previous build, start highest and go lower
[Xperia Z3 Compact Original Android Development] subinsg:
Haven't had any crashes or high brightness flashes....works smoothly so far....u might wanna try to wipe everything and start......issues I've faced are related to audio as u said ....and also high in call volume plus it sounds noisy....
[Xperia Z3 Compact Original Android Development] NeoArian:
Hy! So i wasn't able to reproduce the first 2 problems either, but i'm aware of the audio bug he means. [MENTION=9699281]pawloland[/MENTION] sent me a video about the maximum audio level, which decreases itself after some seconds of playing audio. I see exactly the same on my clean installation. To test the gaming stuff with reboots i downloaded a benchmark called Antutu and it ran successfully.
[Xperia Z3 Compact Original Android Development] minixperia:
I've do a downgrade to the 20190605 and all the ui crashes disappear..

The only problem that i have is the volume

And the red led always on (instead of flashing) when battery low, it causes a discarge of 5% every hour, my usually discarge is 1% every 3 hours

Camera work well 4k not work on stok camera but work in other camera app, 720p work but not good, 1080p work perfectly..

I prefer to use Manual Cam in this app 4k work so good

It is more simply and intuitive to use, only the video at 720p lag..
[Xperia Z3 Compact Original Android Development] NeoArian:
Could you tell me a way to reproduce it? I haven't got any on my clean installation.

Do you mean the decreasing max. volume?
[Xperia Z3 Compact Original Android Development] minixperia:
I don't have a idea how to ricreate the problem but my phone go crazy after the update, but in safe mode work quite well without ui crashes, i can try to flash again the rom manually, because i have updated via ota

Yes, the volume at 100% start at 100% and in a few second go at approximately 40% also if it is always set at maximum

The notification led turned on without interruption creates excessive consumption, it should flash with quite distant interruptions

For the display flashing usually i have do tis problem wen drm fix not work in the stok rom but i don't understand because i have this problem in this ROM.

I post 3 photo

1 and 2 display flashing

3 previous build not flashing at maximum brightness

In the photo 1 and 2 you can se a central part of the screen much brightness
[Xperia Z3 Compact Original Android Development] LaRazón:
Flashed the latest firmware and now there have been no unexpected reboots. Hope that it remains that way. Thanks again, you've been really helpful.
[Xperia Z3 Compact Original Android Development] themu:
The rom seems pretty stable to me, thanks!

Camera works fine, but no more 4k video (was working in the 20190506 built, for me only with opencamera)
[Xperia Z3 Compact Original Android Development] NeoArian:
I can't reporduce this at all. You might try to reflash the ROM.

Great to hear!

I will see about this. :)

I have update the first post today, any thoughts or maybe i have missed something?