yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] tomascus:
What broke it was your suggestion to not limit WBS to 8kHz as here: https://xdaforums.com/showpost.php?p=73066839&postcount=1226

Which I tried and obviously you can see it's broken.

Just let the devs do what the devs do if you don't have any idea.

And for the last last time, Carbon device trees are almost identical, don't need to mention it a million times.
[Xperia Z3 Compact Original Android Development] okij:
Sorry, I was just trying to help! :(

As I wrote here, I found some hardware manufacturer sources which say that WBS is working at 16kHz, so I suggested to try this too. Now we tried it, it isn't working, and this can be reverted again. What's the problem? I also would have been OK if you just had made a test build for me and PM'd me, so we could have sorted this out without putting out a new build for all.

Yes, I know that. But as we know too, for some reason the same device tree (without the forced 8kHz) has working BT on Carbon, so either Myself5 did some commit to the Carbon devicetree which we don't know, or something BT related outside the devicetree is different on Carbon. That's why I suggested that Myself5 might offer some help on this.
[Xperia Z3 Compact Original Android Development] tomascus:
My upload speed is slow, won't be able to upload a build for now. If there's something outside the device tree then it's out of my control.

But BT calls work okay with both those commits together so nothing needs touching, and it'll work again next release.
[Xperia Z3 Compact Original Android Development] hipi0101:
Hello, i can not install Magisk Module with the new Update Version, but magisk 13.3 is successfully installed :/
[Xperia Z3 Compact Original Android Development] :
Try reinstalling the ROM and Magisk,if it doesn't work report it to Magisk thread.
[Xperia Z3 Compact Original Android Development] HandyE:
Overnight 3:00 reboot daylight saving time related?

First of all: Big Thanks for this great ROM. Now I am lucky with my z3c again :)

Just a (probably stupid) interjection: Is it possible that the reboot while charging at about 3:00 is in some kind related to daylight saving time calculation or so? Just, because this "event" is also at 3:00 (from 2:00 to 3:00 or 3:00 back to 2:00).

Perhaps this might be a stupid blather, but I am not an android developer so, please forgive me.
[Xperia Z3 Compact Original Android Development] pinky0r:
thanks again for your great work :)

I immediately installed yesterday's update because of "Stock RIL blobs used now instead of AOSP, hopefully might improve stability with data connection"

Unfortunately yesterday's Version somehow broke the mic, at least during a phone call nobody can hear me. Maybe related to the Bluetooth/spotify fix?

I am back on Version 7/07 for now :)
[Xperia Z3 Compact Original Android Development] cartonspam:
hardware clock

Hello, [MENTION=4675360]tomascus[/MENTION].

Would you please check this issue, as seems like we use the same kernel for Z1 and Z3.

Does it work on Z3?

-------------------------

If you disable time sync in settings, you will have wrong time upon reboot. Hardware clock do not sync.

This seems to be a kernel issue, but I don't know where to put this bug report for kernel developers.

honami:/ $
honami:/ $ su
honami:/ # hwclock
Fri Jun 5 21:56:12 1970 0.000000 seconds
honami:/ # date
Sat Jul 22 11:25:20 MSK 2017
honami:/ # hwclock -w
hwclock: ioctl 4024700a: Invalid argument
1|honami:/ # hwclock
Fri Jun 5 21:56:31 1970 0.000000 seconds
honami:/ #
honami:/ # uname -a
Linux localhost 3.4.0-lineage-gd5be845 #1 SMP PREEMPT Tue J
l 11 13:14:38 CEST 2017 armv7l
honami:/ #
[Xperia Z3 Compact Original Android Development] ONDevil:
[MENTION=5332893]Rom[/MENTION] Devs

Yesterday i flashed the newest Rom to try the Bluetooth Fix. Call over BT Headset is the biggest issue for me.

Now i try to help a bit. I have 7 BT Headset's and test a bit.

I can confirm the Plantronics M100 (very old Headset) works now. This Headset use old BT Version: 2.1 specifications with EDR and Hands-Free (HFP) Profile 1.5 and Headset (HSP) Profile 1.1

So every BT Headset with theese specifications should work now ;)

New Headset's with BT 4 and up don't work for Calling.

The charging reboot issue is fixed? -Today was the first time (wit theese Rom) my Phone don't ask me for Pin number :) great :)

Now i have a Question for workaround with new BT4 Headset's. while pairing a BT Device the device and the phone handle out with which protocoll and BT Profiles they work together. Where i can find the BT Connection Profile for the paired device? Because my newer BT4 Headset is backward compatible with old protocolls but i have to modify the connection profile and don't find where the phone save theese files?
[Xperia Z3 Compact Original Android Development] :
Anyone have an issue with microphone in calls?

Will post logs when I have time.
[Xperia Z3 Compact Original Android Development] skysurfer1111:
With the new rom I have no problems at all with BT calls or audio. I use the headset from Taotronics TT-BH08.

No issues with mics. Reboots at charging (at around 97% load) independend of the daytime.

Very good work, thanks to all devs.
[Xperia Z3 Compact Original Android Development] claudiobar:
pinky0r and I do

but in my case might be related to using ****ty companies haha (FreedomPop, VOip)
[Xperia Z3 Compact Original Android Development] :
Okay somehow it fixed itself,microphone works fine.
[Xperia Z3 Compact Original Android Development] pinky0r:
Not for me it appears, it really fixed itself? :eek:
[Xperia Z3 Compact Original Android Development] Kucharskov:
Everything works perfectly, phone is more smoother (maybe its placebo) after dirty flashing update. But always i have one problem:

- I installed TWRP by "fastboot flash boot [here TWRP].img"

- I entered to TWRP to install ZIP, supersu addon and GAPPS

- After boot i cant boot again to recovery. After pressing vol down - LED changes to violet, next to orange and phone reboots :/

How to back recovery?
[Xperia Z3 Compact Original Android Development] zEminho:
this ROM have anything to prevent overheating?

What is the recommendation to avoid overheating while playing games?

sorry for my english
[Xperia Z3 Compact Original Android Development] Jean Graff:
Try this code in fastboot that will solve this problem

fastboot flash FOTAKernel [TWRP].IMG
[Xperia Z3 Compact Original Android Development] pinky0r:
Now my mic is working fine aswell without doing anything O_o
[Xperia Z3 Compact Original Android Development] tomascus:
All these posts about broken mics yet no logs or anything whatsoever, so I wished to the microphone gods to fix your mics since I can't fix problems when I don't even know what they are. :silly:
[Xperia Z3 Compact Original Android Development] claudiobar:
Hi Tomascus. I understand your point, yet... I can't imagine how a log would be able to capture the problem with the issue. It's not a system error, no app crashing or the like. :eek:

Personally, I don't almost use calls at all, so I barely have a chance to try. And in my case, the issue could be related to being a cheap-o and using FreedomPop instead of a regular carrier. Dunno...
[Xperia Z3 Compact Original Android Development] spdrfx:
You haveto push the volume down AFTER te led starts lighting.
[Xperia Z3 Compact Original Android Development] tomascus:
Hi everyone,

I've updated the second post with installation instructions for anyone who is stuck.
[Xperia Z3 Compact Original Android Development] :
It's all a mixed bag,when I wanted to get a log the microphone started to work fine again lol,don't know how it fixed itself,maybe just a system bug,maybe it is something similar when the camera didn't work on first boot that it would be the same for the microphone now,but that would be just me making guesses.
[Xperia Z3 Compact Original Android Development] pinky0r:
Same here with the logs ;)

Apparently your prayers worked :D

Unfortunately the mobile data issue persists with 7/21 :(

I'll try to grab some logs next time it happens
[Xperia Z3 Compact Original Android Development] tomascus:
New release is up.

I wanted to test fluence again to get mic working during calls with OK google detection enabled.

If any mic quality issues occur, fluence can be disabled in build.prop as usual:

change:
ro.qc.sdk.audio.fluencetype=fluence
to:
ro.qc.sdk.audio.fluencetype=none

Changelog:

- Reenable fluence
- Decommonise audio configs with shinano
- Revert test BT calls change
- Cleanup of blobs
[Xperia Z3 Compact Original Android Development] okij:
Thank you for the new release! :)

Some feedback after using it for some hours:

Mic is working fine during calls.

BT calls are generally working fine again. (Sorry again for the hassle I caused some days ago.)

Bug: BT is still de-/reconnecting randomly, which also happens when having an active call.

The issue of missing data connection indicator (E, 3G, H+ etc.) seems to be fixed, as it didn't disappear yet (usually it did at least once an hour).

Mobile network strenght seems to me better than before.

Could you please add an additional check to the handling of long-pressing the camera button? When long-pressing it, the default camera app is always invoked, even if it's already running. Problem is that you don't get a picture when pressing slightly too long on the button, but just re-start the camera app, which can be pretty annoying because of some missed snapshots.

This check should be something like this:

if(camera button has been long-pressed)
{
if(camera hardware is already in use)
{
send "camera button event" to take picture;
}
else
{
start default camera app;
}
}

With this additional check, the button behaviour would be as good as on stock ROMs.

Edit: I thought about it again and with the above mentioned check, there would be an unnecessary delay (= duration of the button press) when taking a picture. So (to have the camera button behave like on stock ROMs) the check should be something like:

if(camera button has been pushed down && camera hardware is already in use)
{
send "camera button event" to take picture;
}
else
{
if(camera button has been released again and was long-pressed)
{
start default camera app;
}
}
[Xperia Z3 Compact Original Android Development] :
Soo when I am using my Bluetooth headphones and I am the same time on Snapchat or an intensive game the sound cuts out,basically when the device starts thermal throttling it cuts the sound and reconnects 30 seconds later,I'll get logs very soon.

Also,using 21/7 build,and the headphones are ARCTIC P604 Bluetooth headphones.

EDIT: Here is the log(had to upload to seperate link because the file was over 512KB):

https://www.mediafire.com/?irutxkwdasddtt4
[Xperia Z3 Compact Original Android Development] pinky0r:
21/07 mobile data and in call mic appear to be fixed now, thank you!
[Xperia Z3 Compact Original Android Development] khalisz:
Hi :)

I use Z3C.

Thanks a lot for this amazing work.

Just think now for me, The root doesn't work.
[Xperia Z3 Compact Original Android Development] tomascus:
Have you tried reading 2nd post? Root needs to be flashed separately as it doesn't come by default
[Xperia Z3 Compact Original Android Development] lynxeon:
Flashlight sync issue

Since the first release of this ROM I has the same problem when I take a photo and I want to use flashlight due to light conditions. The result is a blurred, dreadful photo. I think the flashlight lights before or after the capture time. I hope to you ([MENTION=4675360]tomascus[/MENTION]) can resolve that big issue which worsen our greatful camera. Thank you very much.
[Xperia Z3 Compact Original Android Development] tomascus:
Yeah, personally I'm a little clueless with bluetooth as I haven't got any bluetooth devices to test with nor have any experience messing around with them.

I tried spending time on getting bluesleep working (the way bluetooth worked on cm 12.1) but had no luck, so if I nor anyone else can think of a good solution then

the only thing that can be done is wait for when I start working on Android O which has A LOT of bluetooth changes to hopefully improve reliability.
[Xperia Z3 Compact Original Android Development] :
I am not a dev of any sort but is it possible to use stock MM bluetooth drivers on LineageOS? If that is possible then maybe it would work the way it should?
[Xperia Z3 Compact Original Android Development] tomascus:
The kernel uses exact same drivers from marshmallow but the HAL and other such libs are CAF and cannot be touched.
[Xperia Z3 Compact Original Android Development] :
Oh okay,btw that is the only "major" issue I have,I don't mind the rebooting over night since I don't even notice it and so far the ROM hasn't lagged even once.

And also,every time I put in a new mp3 to my SD card I have to reboot the phone in order to "re-scan" all of the mp3 files,that has been on every music player like that,seems like some sort of permission issue,what can I do? Cannot really provide logs can I?
[Xperia Z3 Compact Original Android Development] tomascus:
Rebooting overnight is a major major issue. I don't know in what world where having random reboots isn't. :p:p
[Xperia Z3 Compact Original Android Development] :
Yeah I know but I don't mind it,for me it is like I just set a reboot timer and then I don't need to reboot the phone for a whole day.

P. S. Please read the post before literally just edited it in the second you replied.
[Xperia Z3 Compact Original Android Development] tomascus:
What I was trying to say is that you don't get to decide what is a major or minor issue, doesn't matter if you don't mind it personally. It is abnormal behaviour.

Not too sure about your mp3 issues, I just copied a test mp3 onto my external microsd card and the music player (Phonograph) detected it straight away
[Xperia Z3 Compact Original Android Development] :
Ohh sorry didn't understand the first time.

And it does actually find the mp3 file if you copy it from a computer from MTP mode but when you for example download a mp3 file to your phone and then transfer it over to your sd card I need to reboot.
[Xperia Z3 Compact Original Android Development] tomascus:
I downloaded an MP3 on my phone, moved the file to sdcard and it still works. Can't reproduce here. :cool:
[Xperia Z3 Compact Original Android Development] :
Well,great lol. Maybe it is a problem with my phone who knows,I already re-installed the ROM multiple times,it ain't much I can live with it. Thanks for the help anyways.
[Xperia Z3 Compact Original Android Development] khalisz:
Yes I did it as well.

Then I've installed the SuperSU zip and this one worked :good:
[Xperia Z3 Compact Original Android Development] Robot76:
Yes, I also have no problems transferring freshly download songs from Internal to External, plays immediately...

[emoji7]

** I transfer using MiXplorer, from emulated/0/ Internal to External /mnt/media_rw/

I am using Sony Music Player...

Downloaded using Fildo.

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Original Android Development] :
I used ES File Explorer and copied from /storage/emulated/0 to /storage/323B-0D26 which is my sd card
[Xperia Z3 Compact Original Android Development] Robot76:
How about downloaded photos jpeg's?

Have you tried settings/apps/your music player/Data Storage, wiping data

And also SDMaid, do a scan, and clean thing's up a bit...

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Original Android Development] :
Also noticed that I can't delete pictures from the Sony album which are stored on my sd card,they will show as deleted but when I re open the album app the pictures show up again.

I said I tried re-installing the ROM fresh and resetting,nothing helped.
[Xperia Z3 Compact Original Android Development] nailyk:
You should try a format (not factory rest: twrp, wipe, format data, enter yes). All datas will be lost then don't restore anything.
[Xperia Z3 Compact Original Android Development] :
Tbh also did that before when I was switching to F2FS,and then I found out it slowed down my phone and then I lost my backup and had to go from scratch,and then I backed up,managed to somehow go into a bootloop and then re-installed the ROM and restored the backup.
[Xperia Z3 Compact Original Android Development] Robot76:
Try editing the file 'platform.xml' in,

/system/etc/permissions/ to:

<permission name="android.permission.WRITE_MEDIA_STORAGE" >

<group gid="media_rw" />

<group gid="sdcard_rw" />

</permission>

If the above already exists, then

use the following location to read and write:

/mnt/media_rw/Dinkec27extsdcards-name_here (instead of /storage/Dinkec27extsdcards-name_here)

[emoji7]

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Original Android Development] :
The lines were already added,copying files to that location didn't make a difference...
[Xperia Z3 Compact Original Android Development] Robot76:
Go to this post, and try the cwm sdcard permissions fix file at the end of that post:

https://xdaforums.com/showthread.php?p=67020687

Not sure why your sdcard permissions are wrong..

Try a different file manager? Have you tried copying all your files off that card and reformating via twrp...

[emoji7] [emoji52]

**wherever you go leave likes...

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Original Android Development] okij:
The issue of no mobile data connection after leaving WiFi network is still there.

[MENTION=4675360]tomascus[/MENTION], [MENTION=4550727]xkeita[/MENTION]: Doing just a soft reboot doesn't re-establish the mobile data connection, just a full reboot. I hope that this information helps fixing this bug.
[Xperia Z3 Compact Original Android Development] khalisz:
Hello,

I've the same issue of no mobile data connection after leaving WiFi network is still there. Also without the wifi.

I have to reboot the phone to get back the mobile data connection.
[Xperia Z3 Compact Original Android Development] :
So I first tried a different file explorer and it didn't work,and then I flashed the zip,tried using ES which is the one I usually use,and it didn't work,and then with the other explorer it worked finally,so thank you [MENTION=6905152]Robot76[/MENTION]
[Xperia Z3 Compact Original Android Development] tomascus:
Okay. If there's no logs, no DETAILED information like signal, location, lte/3g whatever, or any other relevant information, then I really don't know. I've heard about this issue a few times already and so far no one has provided any useful information to help solve it.
[Xperia Z3 Compact Original Android Development] khalisz:
Yes you're right. I'll do it.
[Xperia Z3 Compact Original Android Development] misiek83:
On my Z3C I used earlier Carbon rom. On Lineage OS everything is working great. Phone is not rebooting when charging at night. No issue with no mobile data after leaving WiFi. Only one problem here, WiFi signal could be better.

Wysłane z mojego Xperia Z3C przy użyciu Tapatalka
[Xperia Z3 Compact Original Android Development] spdrfx:
In that case, move closer to the router :)
[Xperia Z3 Compact Original Android Development] misiek83:
On stock rom in home or work I have 90-100% WiFi signal but on this one I have only 60-70% signal.

Wysłane z mojego Xperia Z3C przy użyciu Tapatalka
[Xperia Z3 Compact Original Android Development] okij:
I can confirm this. This sometimes also leads to higher battery drain when the signal is weak.

I still hope that the devs can implement the .291 stock WiFi drivers (AFAIK there currently would be issues with the timeservice if stock drivers were used.)
[Xperia Z3 Compact Original Android Development] tomascus:
There are differences in how the wifi drivers work on stock vs how it is currently.

On stock, the wifi driver was built as a external module and loaded as one. In the current implementation, the driver is 'mounted' on sdcc3 instead.

It seems that ever since Cyanogenmod, there was a push to get rid of the use of external modules and just make everything built into the kernel, so that kind of rules out using stock wifi drivers.

And no, stock wifi drivers cannot be easily adapted for use for the second method of mounting on sdcc3 as it's completely missing the 'infrastructure' necessary. There might be a hacky way of doing it or something but frankly I'd rather not waste my time on those things. Furthermore, the stock wifi driver uses some weird version with a different layout for code and would make applying security patches difficult, so you have more potential security issues on it compared to the current drivers we use.

So that leaves us with this. :silly:

PS: by devs you probably mean me, since I'm the only one that bothers working on the kernel. Also, none of these past posts have been about development
[Xperia Z3 Compact Original Android Development] nailyk:
Disabling kernel modules is a google choice for "security" purposes.
[Xperia Z3 Compact Original Android Development] okij:
IDK, you're probably the only one left working on the kernel, since e.g. [MENTION=6979267]nailyk[/MENTION] used to work on it too.

And users giving feedback about what's alraedy working well and what's not working well yet IMO should be part of development too.

---------- Post added at 08:38 PM ---------- Previous post was at 08:37 PM ----------

So you have to follow that choice even if it means worse signal quality?
[Xperia Z3 Compact Original Android Development] tomascus:
Yeah security is a big priority, it's a requirement for lineageos and I would prefer security anyway.

That's besides the point, as I said stock won't work on lineageos so that's that.
[Xperia Z3 Compact Original Android Development] okij:
From what I read it seems that the newer versions of the non-stock blobs have issues. What about using the older non-stock blobs according to this commit?

(Please PM me if you make a test build, so I will test it on both 2.4 and 5 GHz bands before you release it to the public.)
[Xperia Z3 Compact Original Android Development] tomascus:
I don't have time for that. I believe Carbon reverted the newer blobs so you can compare wifi signal across that ROM and this one
[Xperia Z3 Compact Original Android Development] okij:
It's a pitty that you don't have time for impoving WiFi quality. I mean, I directly pointed you to a commit which would be worth testing and could be easily included in a test build, but you rather decide not to try it. :(

No, I don't think so. At least bcmdhd.cal is the same on both CarbonROM and LineageOS and doesn't contain the changes of the commit I pointed you to. (Maybe [MENTION=3816568]Myself5[/MENTION] can give some info on this, as I couldn't find the blobs to compare them.)

Also the WiFi signal quality was the same on Carbon when I last tried it about two weeks ago, i.e. lower signal strength and sometimes (depending on signal strength) higher battery drain than on stock .291, also on 5GHz it only connects at 200 Mbps versus 433 Mbps on stock ROM.
[Xperia Z3 Compact Original Android Development] tomascus:
No means no, can you understand? Just stop.

It's easy for people not working on this to tell the devs what to do, because they don't need to even spent any effort or time.

I don't want to do this as a full time job and i'm borderline sick of this stuff, I don't need people telling me what to do either.

And yes, it was reverted on Carbon two weeks ago https://review.carbonrom.org/#/c/2294/
[Xperia Z3 Compact Original Android Development] okij:
That's not true. Today I spent about 1-2 hours of my time for researching and to give you some constructive input on the WiFi issue, because I wanted to help. After your harsh reaction it seems to me that I had better spent it with my family.
[Xperia Z3 Compact Original Android Development] tomascus:
As I said, using these wifi drivers seemed like the only solution and believe me, I tried getting stock working before. So unfortunately it's here to stay even if it gives lower signal quality.