yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] genunix64:
Seems it was not uploaded correctly (this is exactly what md5 checksums are good for and why everyone should verify important things like ROMs). Uploading again (ETA 10 mins).

BTW I am thinking about merging+building+uploading nightly builds of this ROM automatically. Or best would be making this build official (what about CTXz? ;) I am not a C-dev but maybe can help at least with something)
[Xperia Z5 Compact Android Development] mele80:
I love nightlies :).
[Xperia Z5 Compact Android Development] MakeHav0:
Lovely idea :)
[Xperia Z5 Compact Android Development] mele80:
Took genunix64's latest build to testdrive and it seems that works better now. Only crashes ocassionally and camera works good again after force close from task screen
[Xperia Z5 Compact Android Development] tramtrist:
For the ongoing updates like the one just released by genunix64 or CTXz do we need to wipe data for each install or can we just install the .zip over the current version?
[Xperia Z5 Compact Android Development] Raphos:
Look at page 51, #509
[Xperia Z5 Compact Android Development] tramtrist:
Read that before :p Thanks for the reminder. I was wiping cache/dalvik but that post makes it clear (again) :)
[Xperia Z5 Compact Android Development] mele80:
Oh yeah quick charging still doesnt work :(
[Xperia Z5 Compact Android Development] rtimoff:
From what ROM/build you have flashed this CM build? I have been coming from XPower with AndroPlus v. 36 on the board, and stuck on flashing process for one hour, tired to wait and restore my backup. BTW, made all wipes.

Отправлено с моего E5823 через Tapatalk
[Xperia Z5 Compact Android Development] mele80:
From kryptonian, but i Have also flashed it earlier from xpower
[Xperia Z5 Compact Android Development] mele80:
Here is log from camera crash

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

Ps. There is focus problem after switching back to camera mode from video mode
[Xperia Z5 Compact Android Development] mele80:
https://drive.google.com/open?id=0B0VlKBTmvXArUmJ2LWJxMjB4WTA

Here is log for attempting to charge woth quick charger, if someone is interested
[Xperia Z5 Compact Android Development] harry_turtle:
This ROM is now officially awesome. (And I think, personally ready to go out of beta)

The main issue still is the camera, it does work and it is actually quite decent, but it still crashes alot.

Also the light exposure to the camera determines a good and bad pic. See here.
[Xperia Z5 Compact Android Development] harry_turtle:
Video works? Mine crashes every single time when I switch to video.
[Xperia Z5 Compact Android Development] mele80:
It works when camera doesn't crash at start
[Xperia Z5 Compact Android Development] harry_turtle:
On 13.0-20160925-UNOFFICIAL-suzuran?
[Xperia Z5 Compact Android Development] mele80:
Genuix64's builded one
[Xperia Z5 Compact Android Development] cips17:
How about the sound during the calls? The audio is a big problem to fix?
[Xperia Z5 Compact Android Development] flopower1996:
​

So, I've been using this ROM (13.0-20160918) for a few days now, here's my conclusion:

The biggest problem is the camera. It works from time to time but crashes a lot. Output is really bad and video is limited to 720p.

The fingerprint sensor works as expected and even works when the screen is off kinda like a touch button - which I like.

Call quality is good enough but the volume is not adjustable.

Bluetooth Audio works but the sound is not that good compared to Sony's stock rom.

Bluetooth Calls works for me but again sound quality is not that good.

Patch level is sep 2016. Sony: shame on you!

Performance is really good. Nothing to complain here. But I'm not playing any games, so my usage is kinda low.

SD card works. Mounting and data transfer is no problem.

Boot time is good aswell even with encryption turned on. But the sony bootloader splash screen doesn't appear. So there is a little vibration and 10 sec later the normal cm boot logo appears. Kinda confusing.

Things that I couldn't test: GPS, quick charging, battery life.

Conclusion: I really like this ROM and it's my new daily driver. I don't like Sony's stock ROM that much, so this is a good ROM for me. But the camera is barely usable (maybe porting the stock camera - if possible - would help?!) and sound could be better aswell. But overall it's daily driver ready. And Sony, a six month old secruity patch level is really bad, shame again on you!

So what could be next?

Well make it official and let jenkins build that nightly goodness. ;)

In my opinion the Z5C, Z5 and Z5P are really good phones. But the lack of official and unofficial dev support makes progress very slow, variety of ROMs and quality of ROMS really rare. PA has an official build for the Z5C http://get.aospa.co/official/suzuran but it wasn't updated in over a month...

Hope this helps a little bit...
[Xperia Z5 Compact Android Development] jonasdundrar:
Really nice ROM! I only have 2 problems. First of all recording video does not work except for in snapchat but then there is really low fps. And second, microphone very very very low. Anyways, really good job!
[Xperia Z5 Compact Android Development] flopower1996:
:cyclops: Can quote myself :D
[Xperia Z5 Compact Android Development] bushako:
I couldn't agree more. Sony has some great devices with amazing built quality and design but the software development side is a major let down for me. Having an official CM support with a fully functional cm rom would be a God send. And I wouldn't blame Sony either considering they are developer friendly so what exactly is the reason for the lack of support from the development community? Price point, availability?
[Xperia Z5 Compact Android Development] flopower1996:
Sony is indeed dev friendly. My guess is lack of interest. The Z5 series - and for that matter the X series - never took really off. Before the Z5C I had a Nexus 7 (2012) and a Nexus 4. Dev support was really good on that devices as it is for the One plus phones. Heck even the Nextbit Robin has more support then the Z5 series...

---------- Post added at 07:16 PM ---------- Previous post was at 07:13 PM ----------

But then the AOSP code from Sony is not that good. The camera is broken for ages and even the overall stability is not 100%.
[Xperia Z5 Compact Android Development] bushako:
I've come from a line of Nexus devices last ones being the N6 and N5x so I know exactly where you're coming from with regards to development. Personally, I think, like most manufacturers Sony doesn't see much profit in supporting older devices or much dev support as they would with releasing new hardware and simply moving on. The percentage of power users is very small and right now given Sonys position in the smartphone market, they'll need to put up every bit of resource into competing with other manufacturers which doesn't leave much for anything else. Atleast that's the most logical reasoning I can think of right now.
[Xperia Z5 Compact Android Development] Berni-0815:
Try "open camera". These app crashes less than the one including in the rom ("only" 30% crash :eek: ) but the pictures are very over-exposed.

But it works... :D
[Xperia Z5 Compact Android Development] flopower1996:
Haha yeah, Camera Zoom FX is another option. But as you said. The pictures are very over exposed and in general not really usable.
[Xperia Z5 Compact Android Development] SolidHal:
Bug Report: Suggested Google Apps "stock" package causes flashlight and camera issue

READ EDIT/UPDATE AT THE BOTTOM

I found that if you install the latest build of this ROM (09/18), which is not linked by default in the main post, without installthe the google apps package at the same time my device has no issues with the camera crashing or with the flashlight not working. I then installed the "stock" package of google apps and once again my camera and flashlight stopped functioning properly. I then reflashed CM and tried the "full" google apps package instead. Still the same issue. I then reflashed CM and installed the "aroma" package which lets you choose which google apps to install. I made sure not to install the Google Camera App and that seems to have done the trick. I now have a fully functional camera app and flashlight. The only other thing I changed with the CM stock camera app was the "Touch Focus Duration" , which I set to infinite. It now focuses properly on the object I tap.

TLDR to get camera and flashlight working;

Reflash this ROM, the version released on 9/18.

Install the "aroma" google apps package

make sure to not select google camera

Let me know if anyone's found any issues with this solution.

EDIT/UPDATE:

post #588
[Xperia Z5 Compact Android Development] flopower1996:
I tried the camera even without any gapps and it crashed.

Is it stable for you only with the Aroma gapps?
[Xperia Z5 Compact Android Development] tramtrist:
[MENTION=7774134]SolidHal[/MENTION] I assume you installed this from scratch (wiping data), right? Has the camera continued to operate since you made the post?

I can live without gapps if that fixes the camera.
[Xperia Z5 Compact Android Development] mele80:
He said that chosed aroma gapps and deselected google camera.

I have always installed pico gapps it doesnt come woth google camera, but still camera doesnt work
[Xperia Z5 Compact Android Development] Berni-0815:
Same here.
[Xperia Z5 Compact Android Development] tramtrist:
Actually I'm more interested in [MENTION=7774134]SolidHal[/MENTION]'s ROM installation method as I think that could impact the overall result. If gapps was previously installed without wiping data maybe it's still there impacting the system even though he flashed the rom. Just a thought but only he can answer if the issue is still resolved.
[Xperia Z5 Compact Android Development] mele80:
Dunno, maybe installing even pico does something but i doubt it. And anyway when installing new rom you should always wipe data/cache/dalvik.

Hopefully camera crashing can be avoided this way, that would be great
[Xperia Z5 Compact Android Development] SolidHal:
[MENTION=4836016]flopower1996[/MENTION] [MENTION=5677791]tramtrist[/MENTION] [MENTION=3334381]mele80[/MENTION] [MENTION=7749536]Berni-0815[/MENTION]

I always do a wipe of Dalvik/ART cache, System, Cache and Data the install the ROM through the recommended TWRP build.

The version of the ROM I use is the one from 9/18

I then booted the device without installing google apps and found my camera working with the stock CM camera app and my flashlight toggling properly.

I then wiped again, erasing the same parts as before, are reflashed the ROM and the aroma google apps.

My specific google apps selections and extras selections (may be important as they preserve the stock apps) are attached. If you place all four of the attached files in sdcard/Open-GApps/ you'll be able to load these in the aroma installation process.

I have had one crash but immediately reopened the app and it functioned. (Ive opened it probably 10 times in the past 24 hours) I may try the version the other user on this forum with these aroma settings to see if I can completely eliminate the crashing. Let me know what you guys find.
[Xperia Z5 Compact Android Development] nielsh:
Does you camera work properly? Like, is it not laggy as described in the main post?

I can use my camera once every reboot, and after that the camera is "unreachable". When I can use it the back camera is very laggy and can't focus properly. Also, video recording is not working at all.

Is this still the case for you, or is it really fully functional in your case (using your method)?
[Xperia Z5 Compact Android Development] do_salah:
Hi,

Does the DRM functions work on this rom considering this is using androplus?

Thanks!
[Xperia Z5 Compact Android Development] HeavyMoertel:
So far, so good. I like how many things are already working despite it being a pre-alpha. Wifi, Mobile Data, GPS, all there already.

One thing is rather annoying though: That everything comes to a crawl after a while and I don't know about the reliability of putting in into standby for about a few seconds. I'll also investigate the brightness issue.
[Xperia Z5 Compact Android Development] CTXz:
I'll test a new build soon. I can confirm the following things already :

Camera button and volume buttons are now supported and can be set to shortcuts in the settings menu

Calls no longer have weird numbers

Calls now have sound but extremely choppy so still nothing really changed there

I've updated the kernel headers

Aand i have been working with the brightness Settings, however I didn't Test them yet
[Xperia Z5 Compact Android Development] HeavyMoertel:
Good going!

What I found out about the sluggishness: Only one CPU core (cpu0) is being used, and one of the small ones at that. All others are stopped (according to CPU-Z and Usemon)
[Xperia Z5 Compact Android Development] CTXz:
By the way, I meant to say camera buttons are NOW supported and not NOT supported

Typing on a phone can be dangerous :D
[Xperia Z5 Compact Android Development] CTXz:
Alright, I'm doing some progress in terms of calling. I've managed to fix the choppy audio problem, so caller input is hearable and perfectly clear now, however the mic doesn't work yet, meaning people on the other side will not be able to hear you. I asume this is related due to either some invalid xml configs or due to sony_extn_device searching for a mic parameter file that is located (hopefully) in stock. My hopes are to pull that missing file, and who knows if the mic will work!
[Xperia Z5 Compact Android Development] leeoniya:
[MENTION=6584695]CTXz[/MENTION], thanks a ton! I'm watching this thread like a hawk. I have an unlocked/rooted (zombie kernel) E5823 sitting idle waiting for this ROM to at least be somewhat usable for primary calling/data functions.

BTW, let me know if you want some money as additional motivation :D
[Xperia Z5 Compact Android Development] nilezon:
+1, incl. the donations part
[Xperia Z5 Compact Android Development] CTXz:
Remember guys I'm doing this as a hobby and so I'm not doing this for any money whatsoever.

I already have enough motivation when I see how messy the Sonys ROM is in terms of layouts and menus :D
[Xperia Z5 Compact Android Development] Sadman Khan:
Your work is amazing! Keep going man :')
[Xperia Z5 Compact Android Development] Marco20:
Finally a cm. This is just awesome, i've waited for this since i bought the phone. Thanks for the work. :) :thumbup:

Gesendet von meinem E5823
[Xperia Z5 Compact Android Development] damo99:
Cheers dude, really appreciate the work you're putting in, will be awesome to have CM again! Gonna wait for the calls to be more stable then i'll give it a go. Keep up the good work!
[Xperia Z5 Compact Android Development] Pox4eveR:
Best thing than a hobby is to make money from a hobby!

NICE WORK!

+1 for the donation
[Xperia Z5 Compact Android Development] CTXz:
New build released, links have been updated

2016/03/22
- Fix microphone
- Add settings for camera button
- Add settings for volume rockers
- Fix sound on calls
[Xperia Z5 Compact Android Development] Marco20:
I tested the rom 0320. After first boot the lags are strong, but after a second reboot i works pretty good. Apart from that, the rom is already very good, for a alpha (just a impression from me :) ). Most function are running good, but i faced the problem (which is perhaps already known) that the phone don't detect my sdcard and, i know it's not important, but the music visualization looks like it's running in slow motion. I hope this is one of the things, which can be fixed in the nearer future. :)
[Xperia Z5 Compact Android Development] TexHuk 3:
Build loved,the only one that does not see SDcard.For me, this is critical,as a music lover. :)
[Xperia Z5 Compact Android Development] globalnode:
So far so good! I will switch to that ROM from stock ASAP calls work normally.

Please tell, if you want some money for you great job. ;)
[Xperia Z5 Compact Android Development] DeathStroke:
PAC-Man, oh God, someone said it. ?
[Xperia Z5 Compact Android Development] duttyend:
Assertive Display

Hello @CTXz,

First of all, congratulations for your work !

Will you be able to implement Assertive Display as in stock Sony ROM where it shows in build.prop as :

ro.qcom.ad.calib.data=/system/etc/ad_calib.cfg

ro.qcom.ad.sensortype=3

ro.qcom.ad=1

[IMG="Assertive Display"]https://www.qualcomm.com/sites/ember/files/styles/optimize/public/blog/managed-images/assertive-display-feature.jpg?itok=fVRoJk9M[/IMG]

Cheers ! :good:
[Xperia Z5 Compact Android Development] Nounouf:
Hello,

I'm happy to see a custom rom being developped.

I hope the Z5C will run a bit faster on this one, as I'm a bit disappointed it sometimes runs slower than my OnePlus One (CM rom).

Cheers.
[Xperia Z5 Compact Android Development] wifestealer:
don't quote whole op
[Xperia Z5 Compact Android Development] harry_turtle:
No it doesn't. It wasn't clear for me as well in the beginning but for installation it uses Androplus kernel, but the zip contains it's own kernel.

Even if it was Androplus kernel, there is no necessity for DRM as there is no sony software in CM.
[Xperia Z5 Compact Android Development] Lemming0815:
What does this mean in terms of drm third party software such as Netflix? Does that work on this ROM?
[Xperia Z5 Compact Android Development] beggar23:
I think this applies to Sony's camera and image processing features only. I bet Netflix works fine on CM but cannot confirm.
[Xperia Z5 Compact Android Development] harry_turtle:
Aah. The DRM fix has nothing to do with third party software. So all of that will work.

Sony uses software to enhance photos and audio for example. When you unlock bootloader this software will no longer work because it requires a code that is deleted when unlocking bootloader. The DRM fix tells the software the code is still there, so that the Sony software will still work.
[Xperia Z5 Compact Android Development] Berni-0815:
Tried this (with the build from 9/26) but camera is not working. Tried it several times. No way.

Then I flashed pico gapps. No change. The aroma gapps are too much "unknown land" for me, sorry. But the pico gapps will not install any camera app too.

Then I restored my backup and the camera works two of three times (~70%). This is ok for me... :)
[Xperia Z5 Compact Android Development] SolidHal:
Update

After three days of use the camera apps still crashes. Strangely enough, it was alright for the first and most of the second and now randomly crashes on open about 30% of the time. Not sure if this was actually due to something I installed or if I just got lucky for the first couple days. I'm going to keep messing wit this to see if I can narrow down the culprit. Based on the logs and some quick googling, some forums suggest it may have to do with the camera preview not being the correct size but I'm not so sure about that since it works most of the time and looks to be the correct size.
[Xperia Z5 Compact Android Development] CTXz:
There is no "real percentage" on how often the camera fails or works, from what I can see it's mainly memory (RAM) related, meaning more background services = more crashes. It's very hard to fix such issues as there can be multiple causes. About current ROM status, planning to do merges again, however I'm very occupied re-working the vibration motor driver to support intensity scaling(in kernel only tough) with some successful results however its facing lag issues where vibration timers stack and cause a queue. This occurs when the keyboard is spammed in a shorter time than the vibrations timer. The solution would be to build an live, parallel, side by side multi thread interrupt that handles interrupts while vibrating, but that requires furthermore research.
[Xperia Z5 Compact Android Development] Lemming0815:
Is this an exclusive behaviour on this phone? Is there something you can copy across from other kernels? It sounds like a very generic issue...
[Xperia Z5 Compact Android Development] CTXz:
It's this device. There are two issues with the viration motor.

1. It reaches it's max velocity way to fast. Infact it's reached at about 50ms and a keytype for most keyboards do 60ms.

2. The voltage can't be regulated, we're living in a digital world so this makes sence. Either you put in that volatge or you don't meaning no voltage scaling involved, EVEN IF THE DRIVERS SAYS WE'RE DEALING WITH AN LDO Circuit!

I'd rather blame issue one however
[Xperia Z5 Compact Android Development] zacharias.maladroit:
And you've a pretty interesting approach to tackle that :good:

Thank you :)

Sounds like allocation issues with the camera which were being discussed upstream on the Linux Kernel Mailing List some time ago,

I would have tried a fix myself but several attempts still lead to a non-booting phone, I don't know :confused:

Anyway please try adding the following patches from

https://github.com/zachariasmaladro...1_9_10?after=N6gb1ms28wOuKim3jVJwdQe+HQ4rMzQ5

https://github.com/zachariasmaladro...1_9_10?after=N6gb1ms28wOuKim3jVJwdQe+HQ4rMzE0

gitcp 86f3d6b45d1535d5fcb078bdf3c4eb5cb664ad06..d1716388dfdbfbd9c5da6cb3b8e29ffe9af5ce84

or actually only a subset:

gitcp 4dfa6df7f928f5ea0567406087899fddb8dd29c1..d1716388dfdbfbd9c5da6cb3b8e29ffe9af5ce84

(mostly vmalloc),

make sure to enable compaction in kernel

perhaps the success rate can be raised by running compaction more often (e.g.

echo 1 > /proc/sys/vm/compact_memory

)

we can try to do this first manually (e.g. creating a script via script-manager and running it a few times before launching the cam) and see if it has an effect on success rates of pictures taken.

KSM with same page merging might also help in this regard in combination with compaction.

With the improved zram memory fragmentation might also be lower,

upstream (Linux Kernel) has support for memory compaction ("de-fragmentation") of zram, too and of unevictable pages)

both afaik aren't included in at least 3.10 Android Kernel
[Xperia Z5 Compact Android Development] Berni-0815:
Sorry, volume DOWN has to be pressed while pressing die power button, exactly as harry_turtle says. Then wait a while.

My fault... :angel:
[Xperia Z5 Compact Android Development] Lemming0815:
Is it possible to reserve some ram for the camera app? Like a startup script that tries to allocate a specified amount until it succeeds and only then continues starting the app.

I know it's more a workaround than a fix...
[Xperia Z5 Compact Android Development] zacharias.maladroit:
It would have to be done at bootup and permanently reserved (e.g. it's done like that on the Galaxy S),

not sure how it's currently handled on the Z5 family
[Xperia Z5 Compact Android Development] flopower1996:
Could you investigate in the camera problem?
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Nope, sorry, won't gonna happen fast (or at all),

I'm currently close to 100% occupied in other areas.

And that clearly takes precedence over anything else
[Xperia Z5 Compact Android Development] Raphos:
Hi, if you and CTXz have a break is someone still working on this project ?

The camera crash is really problematic... I don't know which other ROM to install. Living with cm since my s4 mini and z3c...
[Xperia Z5 Compact Android Development] genunix64:
Or maybe use bountysource to fund fixing of most critical issues:

- camera (crashing and some minor issues)

- phone calls (volume, echo on remote side)

What do you think (zacharias.maladroid + CTXz)?
[Xperia Z5 Compact Android Development] Myself5:
Tell me about that Bounty height and I might tell you that the phone calls issues are fixed. While I am at that, I might as well tell you that performance got drastically improved by some things. AND I might tell you that on M, Camera is working totally fine.

I might as well just give you the fixes if you're asking nicely :P Maybe the good guy [MENTION=4819888]oshmoun[/MENTION] will share his last PAC 6.0 build, who knows. If not, I'll force him to do so, BWAHHAHAH!
[Xperia Z5 Compact Android Development] MakeHav0:
This is the best comment this phone's community has seen in ages. Wow man I'm really excited!!
[Xperia Z5 Compact Android Development] rtimoff:
[emoji1] [emoji2] [emoji3] and it's like time for fresh flash, Saturday, weekend...

Отправлено с моего E5823 через Tapatalk