yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] elvetemedve:
I would like to share the list of problems I've run into while using the DIRTY-NEEDS-v10.3 June 17 build of the ROM:

- I cannot make phone calls, the process stops at the dialling phase (it should be fixed by now as SpiritCroc wrote)

- The phone does not enter into sleep mode, draining the battery fast. It can be seen on the Settings > Battery > History Details window that there is a continuous line next to the Awake caption. When I enable the Battery saver mode manually, it goes to sleep mode as I expect. All of my app have the "Optimising battery use" option set in the Settings > Battery > Battery optimisation menu. The only exception is Google Play services.

- Sometimes the battery is not charging when I plug in the micro USB cable. I need to reboot the phone to get the battery charging operational again. (Maybe it has something to do with the fact that my battery is dying. I've ordered a replacement battery and will see if this issue is related or not.)

- The back camera freezes after taking a picture. The image is saved, but I cannot make a second one. Error messages says "Can't connect to the camera.". I need to reboot the OS to be able to take another photo. Front camera is not affected, that works well.
[Xperia Z1 Compact Android Development] david320te:
Build 01/07/16:

Camera has got great quality. I'd say picture quality itself can be on par with stock. Unfortunately Automatic White Balance is total crap. Saturation is also not that great and it could use the denoise algorithm a lot of Cyanogen based roms have. Also, the stock camera app isn't very good. The problem with the camera loosing connection is not fixed either. I suspect something is locking up the CaperaAPI or the HAL...

8,3 MP 16:9, Full-Auto, OnePlus Camera (ISO 908, 1/7 Exposure)

OpenCamera, Full-Auto

8,3 MP 16:9, Auto except white balance (ISO 963, 1/7 Exposure), SnapCamera HDR

20 MP 4:3, Auto except white balance (ISO 386, 1/14 Exposure), SnapCamera HDR

20 MP 4:3, Stock Camera App and manual white balance...pretty bad Autofocus also

Kernel-Lockups seem to be gone, Speech quality is better but some people still hear themself faintly in the background...but it's getting mighty hot. Hit 60°C on the battery and forced it to turn off...but that was only the first boot.

Seems also a bit snappyer. Battery drain is huge though....i'm going to flash the other kernel and test.

So far, great work [MENTION=6425591]SpiritCroc[/MENTION]

If i can help with something, let me know :) I've bought a Galaxy Alpha for daily use, so i can test things on my Z1C if needed...can also help with dev ;)
[Xperia Z1 Compact Android Development] spoidar:
I managed to get USB ADB working one more time by some sequence of plugging/unplugging the cable and enabling/disabling the service, but it's definitely broken OOTB on a clean flash of DU-m_amami_20160701_1426. Maybe dirty-flash upgrading from some earlier versions would let it work and something is missing now? I can't do that now as I just got my phone functional in time for work. ADB works perfectly every time in my recovery, so the problem is not related to the rest of my setup here. I also note that there's no ADB authorization in this ROM, is that a CM-specific feature or removed here on purpose?

If this is the same thing I've noticed on 20160701_1426, the battery is actually charging (check using Ampere, or watch percentage increase), but the system/UI does not update correctly to indicate charging status.

Google Camera is still a little flakey on 20160701_1426, but the standard camera app works fine.
[Xperia Z1 Compact Android Development] elvetemedve:
For me the percentage went down while the USB cable was plugged in. So it's clearly not a GUI problem in my case. Most likely my faulty battery caused this. But that does not explain why do I need to reboot the OS. That's why I think it must be a software bug.

I'm not aware of multiple camera apps. I use the one which comes bundled in the ROM, called Camera.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
AWESOME! I'm using build from 25.06 and i love it! Trying new build...

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
So. 2 last builds are stable, and not bad to daily usage, but I found some issues.. Mentioned many times camera (but it because Sony binaries are experimental), camera don't work in apps like messenger, snapchat, instagram, very slow charging, and (I'm not sure if this is the reason) after applying any theme from Google play and after few reboots phone may never boot up, you must do factory reset.

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] MaxRink:
so, i also found some issues:

i got heavy batterydrain while using headphones to play music, over speakers everything is fine.

The second i plug in headphones (without mic and button, just plain stupid headphones that are extremely easy to drive) google now pops up and starts listening for input. even after i dismiss it, google remains at the top position of batteryusage in the batterytab ikn the settings.

I see two options with this:

a) if nobody else has this problem, then my headphonejack is ****ed up or

b) there is a bug in the rom which causes this
[Xperia Z1 Compact Android Development] SpiritCroc:
If anyone want's to help with development, contributions are welcome; if you know how to fix/improve stuff, just create a pull request (repositories can be found out by looking at my local manifest mentioned in the first post) or tell me to fork a repository first if I haven't already.

Just tried clean flash, still working fine for me.

Only issue using USB for me is that sometimes ADB recognizes the device, but cannot communicate for whatever reason. For those occasions, I've created a script that executes

sudo adb kill-server

sudo adb start-server

(if you're not using Linux, I have no idea). But I had this issue on many, probably even all ROMs I had on my amami, so I didn't think about it being ROM-related.

I didn't have any problems using themes, maybe it's an issue with the theme?

No google should be included in the ROM, maybe it's your GApps?
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
I don't know.. Used a few themes and the same at all.. But without any themes there's no problem.

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] MaxRink:
im using the normal DU-GApps atm

but i also had that issue using other gapps, but not with RR using the same gapps

so i suspect the ROM. I dont have access / time to debug it myself though (exams@uni)
[Xperia Z1 Compact Android Development] paulo_andre:
This is a known problem with this phone. There is a bug with the headphone detection, it can't detect normal headphones and thinks it is a headphone + mic combo.

Because of this, it thinks the button is always pressed and calls google. I think only Ressurection Remix rom had a fix for that, not even CM.

Another fix is to disable google or install some app that disables input for that button.
[Xperia Z1 Compact Android Development] Jinghis:
Hi all!

Recently I flashed this ROM, and I have a little bit of problem with it: No contact sync :D. I reached in the permissions and the concatc sync permission is on, but still nothing, any help?

Edited : Sorry fixed it, just had to launch the calendar app, to make it sync, I don't know why is that happened
[Xperia Z1 Compact Android Development] SpiritCroc:
DU v10.4 is out
[Xperia Z1 Compact Android Development] MaxRink:
no build yet or am i blind? :P

good2know

ill see if i find the correstponding patch in [MENTION=4800636]OmarEinea[/MENTION] s repo
[Xperia Z1 Compact Android Development] SpiritCroc:
Google drive is weird... I removed first upload because it was corrupt, reuploaded, downloaded, everything was fine; now, the new downloads were in the trash...

Restored, should be accessible now
[Xperia Z1 Compact Android Development] MaxRink:
Also i got the issue that my battery only charges when its colder than 45°C

That threshold is lower than in Stock 5.1 (where it is 55°C iirc)
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
But via magnetic cable you can charge always.

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] mkdmc:
Hi.

I wiped system/data/cache

but when I try flash the rom, twrp says : unmount of /system failed no such volume

Edit : Fixed
[Xperia Z1 Compact Android Development] mkdmc:
How can I boot into recovery?

I flashed twrp 3.0.2 via fastboot.

and I followed thread guide for entering to recovery.

But I couldn't.
[Xperia Z1 Compact Android Development] Jesusnagler:
You must flash twrp with fastboot

Another way isn't possible

twrp 3.0.0.2

CM12.1

?I use Google translation?
[Xperia Z1 Compact Android Development] mkdmc:
I did but I can't get into twrp
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
You must power off your z1c and power on with pressed vol -

Wysłane z mojego D5503 przy użyciu Tapatalka

---------- Post added at 11:24 AM ---------- Previous post was at 11:19 AM ----------

Help! I've installed latest build,and my Amami charging I very slow. Sometimes when charging, battery percent getting low.

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] mkdmc:
I flashed DU rom today. It's really great.

I hope that you fix the bugs.

- Random reboots

- Camera quality is great, but it's not stable

- Seems that radio is not working

- Boot in recovery option is not working

- Charging is too slow

Thanks
[Xperia Z1 Compact Android Development] MaxRink:
regarding my headphoneissues:

here is a logcat i took while plugging and unplugging different headphones (all without mic and / or button)

https://gist.github.com/MaxRink/011e46697d4ffbe29db34c445727926d
[Xperia Z1 Compact Android Development] H0bi:
i installed a new root app on the latest version.

but the app didn't get root acess. the app keeps searching for root.

same on a nother root app i installt for testing.

anyone the same problem?

greez Hobi
[Xperia Z1 Compact Android Development] MaxRink:
ya, the latest build has a broken supersu apk. either just download it from the play store or download the flashable zip from chainfire
[Xperia Z1 Compact Android Development] EpicLPer:
Horrible camera with this ROM for some reason, not sure why... Completely dark, you were almost not able to see something, flashed Stock again now since no other ROM on Marshmallow seems to support the camera well.
[Xperia Z1 Compact Android Development] H0bi:
Thanks alot! Sometimes the solution is so simple :D
[Xperia Z1 Compact Android Development] MaxRink:
any noteworthy changes in the build today?
[Xperia Z1 Compact Android Development] mkdmc:
[MENTION=6425591]SpiritCroc[/MENTION] Please tell us what has changed on newest build
[Xperia Z1 Compact Android Development] SpiritCroc:
Changes from upstream (DU code updated, merged changes from omni rom device tree), as done with every release.

Mainly improved sepolicy and fixed date/time in twrp recovery; DU changelog for weeklies can be found in Settings/About phone/Changelog/Weeklies.
[Xperia Z1 Compact Android Development] MaxRink:
i got issues with the camera

im unable to launch it, i just get a cant connect to camera error

reboot helps once, but after opening the cameraapp once the same error appears

logcat: https://gist.github.com/c986ba029f88e262f3e4cc47986e4032
[Xperia Z1 Compact Android Development] SpiritCroc:
Recently, there was a commit on AOSP device tree concerning camera that I reverted because it caused some issues for me when trying to use the flashlight. I think camera access was better with it, though; I uploaded DU-m_amami_20160717_1014_test if you want to try it out with the commit
[Xperia Z1 Compact Android Development] mkdmc:
Camera stability, focus and speed is much better on this version. 20.7mp and some more resolutions now appear on external camera apps. But I have lost camera api2 functions. Now I can't take raw pictures.
[Xperia Z1 Compact Android Development] levone1:
[MENTION=6594010]mkdmc[/MENTION] - do you know why some ROMs show only black screen with 3rd-party camera apps, but app still functions and takes pictures? I've had it happen with DU, and Vanir ROMs. Not such a big deal with DU, since included camera is pretty decent, but Vanir is CM, and auto-focus doesn't work properly on Snap app, so to not be able to use a 3rd-party camera is a deal-breaker, as far as using the ROM or not. Seems like a hw overlay issue, but disabling doesn't help. Any other ideas?
[Xperia Z1 Compact Android Development] mkdmc:
I'm an android camera developer. I'm looking for a solution for the bug you said.

For now I have a solution! just rename persist.camera.HAL3.enabled=1 to persist.camera.HAL3.enabled=0 on build.prop.

Most AOSP and CM camera bugs fix by this way! but... you will lose all camera api2 features.

I'll try to find a better solution.
[Xperia Z1 Compact Android Development] GNUDroid:
the 20160716 DU build is the first for me, which allows for me to use apps like barcodescanner or whatsapp-web. :)
[Xperia Z1 Compact Android Development] levone1:
Thanks. I'll give it a try.

---------- Post added at 09:17 AM ---------- Previous post was at 08:56 AM ----------

That did it. Thanks so much, I've been looking for this for months. Hopefully we'll figure out how to do it with raw...
[Xperia Z1 Compact Android Development] levone1:
Well, I guess manual focus must be one of those camera api2 features, since I can't get it to work on any app, which kind of takes away from the point of being able to use 3rd-party cameras. It's the auto-focus that's not working...
[Xperia Z1 Compact Android Development] SpiritCroc:
I've added a poll so that you can decide on which build camera is working better for you; please choose so I can keep it in future builds
[Xperia Z1 Compact Android Development] MaxRink:
still go the same issue. one pic and then i have to reboot to take another

edit: kernellog, logcat and eventlog

https://drive.google.com/open?id=0BypkMcQf0x3UODVqSXlnWHdMN2c

maybe that helps you
[Xperia Z1 Compact Android Development] GNUDroid:
Ignore my previous post. Now I see that it is really not working everywhere; and if: only 1 time.

I have a question about the last two builds: Do they just differ in build.prop line?

Meanwhile we may wait for another build, does anyone have a solution for using the newer builds (20160715 or ...17) without going back the old build from 20160708 ?

E.g. the question is: Which libraries to exchange in the 2 new build's with the ones from 20160708_1027.zip to get the camera working again?
[Xperia Z1 Compact Android Development] SpiritCroc:
Yes, apart from updated DU code, only the persist.camera.HAL3.enabled value differs in the builds.

I searched my device tree for commits since the 20160708 build concerning camera, but didn't find anything (apart from the camera HAL prop), so camera should be the same on 20160708 and 20160715… :confused:
[Xperia Z1 Compact Android Development] fjällräven:
Call volume not adjustable

DU Rom is really fine!

Problems:

bad camera

call volume not adjustable
[Xperia Z1 Compact Android Development] Turbopuschel:
Unfortunately for me, no camera build works better than the other, or at least both are not at all satisfactory because after I take the first photo and exit the camera screen and then return later, the camera app will say something like "no connection to camera" until I reboot. This happens with both the 07/15 and the 07/17 build. (Well that is if I understood correctly that I could make the 07/15 build INTO the 07/17 build by editing build.prop line persist.camera.HAL3.enabled=1 to persist.camera.HAL3.enabled=0 and restarting the phone).
[Xperia Z1 Compact Android Development] GNUDroid:
because of both problematic builds, i back to the 20160708 build. but with maz-1 kernel from 20160713.

another bug which may be rom-related: did anyone have had ghost-touches after approx 1/2-2 days auto brightness enabled? i'm not sure, what my problems (since weeks on du + always maz-1 kernel) caused. now since i disabled auto-brighness i have no ghost-touches (yet). :)
[Xperia Z1 Compact Android Development] munjeni:
Did you look into booth dmesg & logcat when it ocours? It would be a good help to devs to fix that bug
[Xperia Z1 Compact Android Development] GNUDroid:
you are right. next time i'll do
[Xperia Z1 Compact Android Development] Kazter:
Hello together,

I am using an old DU Rom (Dirty Deeds v10.3) and want to update. But I cannot enter TWRP. I am trying now one hour with the instructions on page one:

- Shut down your phone

- Press and hold volume down button

- Power on

- Keep holding the volume button until the sony logo is visible on your screen

Is there another trick? My version of TWRP should be "Z1-lockeddualrecovery2.8.26-RELEASE.combined.zip".

I am thankful for any help.
[Xperia Z1 Compact Android Development] Jesusnagler:
You must flash it with fastboot

twrp 3.0.0.2

CM12.1

?I use Google translation?
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
Well.. I've installed last build yesterday, and I have experienced charging issue (charging only sometimes), fast battery draining, and sometimes on YouTube screen becomes black, and I have to lock and unlock screen (sometimes a few times) to get it working. Also in settings, the device number is unknown, I tried to edit build.prop but not working. Anyway your rom is good and can be used as daily driver :)
[Xperia Z1 Compact Android Development] SpiritCroc:
You need real recovery from this thread.

Concerning Youtube: it might help to disable HW overlays in developer options.

Concerning device number: I'll probably fix it in the next release; you should be able to fix it by editing build.prop though, just add something like ro.product.model=amami and reboot
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
Thanks for reply. The worst problem is the problem with charging and draining, the rest is bearable.
[Xperia Z1 Compact Android Development] John.D..:
Why, if i install the latest ROM and GAPPS - Google apps and system ui (and other more apps) "has stopped"? But if i install only ROM, without GAPPS, all working perfectly.
[Xperia Z1 Compact Android Development] NeoAqr:
Can you change default Sharpness on Camera from 2 to 0 please? I found an app that can shoot photos at 20.7mpx (ProCapture) but the photos are over sharpened and I cannot adjust sharpness on ProCapture like Snapdragon Camera
[Xperia Z1 Compact Android Development] Turbopuschel:
Regarding this option I have the problem that HW overlays are enabled after every phone reboot. Is this normal or a bug? Do others have the same problem?
[Xperia Z1 Compact Android Development] Kazter:
Thank you. Recovery is working great now!

Gesendet von meinem unknown mit Tapatalk
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
Are u using opengapps? If no, just use them.
[Xperia Z1 Compact Android Development] SpiritCroc:
That's not a system wide setting, default sharpness in Snapdragon Camera is set by the app itself (proof: search for pref_camera_sharpness_default)

I think that's the default behaviour, it's the same for me
[Xperia Z1 Compact Android Development] Arnostek:
add proximity wake flags

Hello, thanks for great work, could you add proximity wake flags into android_device_sony_amami?

Subject: [PATCH] add proximity wake flags

---

overlay/frameworks/base/core/res/res/values/config.xml | 10 ++++++++++

1 file changed, 10 insertions(+)

diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml

index ca198f5..866e32e 100644

--- a/overlay/frameworks/base/core/res/res/values/config.xml

+++ b/overlay/frameworks/base/core/res/res/values/config.xml

@@ -116,4 +116,14 @@

For example, a device with Home, Back and Menu keys would set this

config to 7. -->

<integer name="config_deviceHardwareKeys">96</integer>

+

+ <!-- Proximity check on screen on -->

+ <bool name="config_proximityCheckOnWake">true</bool>

+

+ <!-- Proximity check timeout -->

+ <integer name="config_proximityCheckTimeout">100</integer>

+

+ <!-- Proximity check on screen on default -->

+ <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>

+

</resources>

--
[Xperia Z1 Compact Android Development] SpiritCroc:
I did it, but the feature doesn't seem to work for me.

I've uploaded my test build for you to try out (20160726_1401_testProximityCheckOnWake); if it works for you, I'll keep it in; otherwise I'll remove it again
[Xperia Z1 Compact Android Development] Arnostek:
It worked for me when I made my own build with your manifest (without last few lines of your customizations). I could also try your build, but I'm not sure when. I'll let you know. Thanks.
[Xperia Z1 Compact Android Development] SpiritCroc:
Well, if you already tested it with an own build and it worked, it should also work in my build.

The setting that got enabled by adding the overlays just didn't seem to change anything to me, but that might be just me not knowing what to look for
[Xperia Z1 Compact Android Development] MaxRink:
i guess is should prevent powering on the display when you press the powerbutton while the device is in your trousers (aka when the proximity sensor is covered)
[Xperia Z1 Compact Android Development] SpiritCroc:
That's what I expected too, but it looked to me that display still turned on (both in trousers or when manually covering the sensor). But I can keep it in in case it works for you/others
[Xperia Z1 Compact Android Development] levone1:
Did you see the new AICP thread? - http://xdaforums.com/sony-xperia-z1-compact/development/rom-aicp-11-0-mm-6-0-1-amami-t3428288 Not sure how, but somehow he fixes the black screen with api2 intact. Explained here - http://xdaforums.com/showpost.php?p=67936929&postcount=190
[Xperia Z1 Compact Android Development] mr djé:
Am I the only one to have horrible battery life using AOSP or CM based Rom? I tried CM12/13 and I'm now on DU, thinking that will be better with an AOSP rom instead of CM but that the same s&€#t ?

My battery life is normal on any stock based rom but from now i'm losing 10% each hour! This morning i wake up with a dead phone which was at something like 40% yesterday... 40% battery consumption doing absolutely nothing is just not possible
[Xperia Z1 Compact Android Development] karamancho:
root your phone, install betterbaterystats and see whats draining your battery
[Xperia Z1 Compact Android Development] elvetemedve:
I noticed similar thing happening. It went down from 100% to 12% during ~10 hours. After that I replaced the battery, and time went up to 1 day.

When I bought this phone 1.5 year ago, it was 2-3 days.

I noticed a weird Watt number in battery statistics of Google Services (screenshot is from the latest DU ROM with latest open GApps):

[IMG="Battery_usage_of_Google_Services"]https://s32.postimg.org/snfk4axrp/Battery_usage_of_Google_Services.png[/IMG]

That number must be less then the maximum capacity of the installed battery which is 2300 mAh.

So I'm wondering if that's a bug in Android or I have a faulty hardware (or planned obsolescence).
[Xperia Z1 Compact Android Development] mr djé:
Forget to say it but 'got exactly the same weird thing in google service battery using...

Yesterday i removed Lux, Amplify, Xposed and Greenify and the battery using is saying more than a day!

Don't know what happened but that's ok for today... I don't know but it may be the localisation settings for google service which can drain the battery... I'm at the office today and not moving so that's maybe the reason...
[Xperia Z1 Compact Android Development] frief:
Hi,

thank you, seems close: ANT+ Demo(1) says "ADAPTER_NOT_DETECTED" but in ANT Checker(2) only one relevant item seems to be missing (Built-in firmware).

Greetings,

(1) ANT+ Demo is downloaded on Google Play

(2) ANT Checker is downloaded from Github https://github.com/ant-wireless/ANT-Android-SDKs/blob/master/ANT_Android_SDK/Tools/Android_ANTSupportChecker_1-2-0.apk