yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] Uclydde:
Okay, so I followed the steps for "General installation", and the rom is surprisingly smooth. The only issue I've noticed that isn't addressed in the original post is that vibration intensity is WAY higher than in the stock rom. Like it's actually pretty loud. I know it's a minor issue compared to some of the other things, but I'm just throwing that out there. I'll point out anything else I find.
[Xperia Z5 Android Development] atanu89:
Absolute legend! Thanks man. I'll get to testing once i get home off this drilling rig
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for testing :)

Actually it already was higher on AOSP, if recall correctly, but I'll ask the other devs if they noticed something out of the ordinary

Thanks

Thanks :)
[Xperia Z5 Android Development] Sovjet:
Thanks for this great rom, the only problem i encounter is that my phone keeps stuck in first startup (cyanogenmod logo) and that keeps going i force my phone to switch off after 45 minutes, is there something i do wrong i followed the in depth guide
[Xperia Z5 Android Development] zacharias.maladroit:
That partially is caused by the "stock" built kernel,

you can see whether is improved by flashing my custom kernel.

One observation (according to [MENTION=5864662]moonbutt74[/MENTION] afaik) led to the conclusion that the upstream (from sonyxperiadev) setting of coherent_pool=8M doesn't match with Sony's ("Stock ROM") setting of coherent_pool=2M,

and does no good for startup time (and reliability ?).

Another factor (like in most AOSP-based ROMs, Kernels) is that the kernel was built with a less tuned toolchain (gcc),

can't directly explain though why does leads to exactly that behavior.

Tl;dr:

Give the custom kernel a try - the "stock" kernel should work but for some reason sometimes it does not

custom has exfat + ntfs support to make microSDs work reliably and other things

Thanks :)
[Xperia Z5 Android Development] mitchum67:
Hi, I installed last version initial on my E6653. BT works fine for me, file-transfer with my tablet and pairing my Suunto Ambit3 watch. I have no BT-headset sorry.

Sensor's works also, tested with an app. Micro/speaker works also, but for me it is a little bit noisy.

During first Installation I used boot.img from your r46-alternate folder, but I got a bootloop. So I tested it with the boot.img from last AndroPlus and it works fine now. Also no glitches in bootanimation.

Thanks a lot for your hard work, all in all it works fine.

Device does not load on my Computer, only with my wallcharger ..?!?

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] zacharias.maladroit:
Hi mitchum67,

thanks for your feedback :)

Regarding the charging issue - I believe there is an option to choose between MTP file transfer mode when connected to PC or "charging only" mode,

but when connected to PC charging is slowly anyway - so it's best to charge it via wallcharger,

another explanation could be that the USB-port doesn't deliver much juice,

Tl;dr

afaik this "issue" also appeared on [MENTION=1077833]infected_[/MENTION] 's CM13 build,

it might be that it simply is an upstream thing (AOSP, too ?) or that it needs to be fixed for CM13

Thanks
[Xperia Z5 Android Development] deepongi:
yeah, the charging issue is strange and random. the phone goes under a period of time that charges it, and for no reason whatsoever, it stops charging.

if you start interacting with the phone, it starts charging again (?)

it's present on cm13, slim, pa, and almost sure its not present on aosp/omni. i need to reflash and double check it.

ill report about it even today.

regards.

edit: phone charges, but seems there's no indication of, besides the battery percentage indicator raising. seems the led doesn't always work. ss in attach.
[Xperia Z5 Android Development] paulle:
testing: installation without problems, flicker during/after boot is gone, sensors working fine (tested with sensor readout from f-droid), BT and NFC can't test (no devices for doing it).

Mic/speaker ok, for me seems to be no difference how they were before. Camera is a little bit better, but far away from good. Battery charging can't say for now.

edit: wall charging seems to work normal. The issues I had before with charging were only from time to time once/week or once/2weeks.
[Xperia Z5 Android Development] albertobom:
I've stated before that the charging issue happens, if you use the phone while charging. If you stop use it for 2m it's start charging again.
[Xperia Z5 Android Development] deepongi:
new build is up for testing. please report bugs after a clean install, and no mods.

http://infectedbuilds.net/downloads/sumire/cm_13.0/cm-13.0-20160701-UNOFFICIAL-sumire.zip

http://infectedbuilds.net/downloads/sumire/cm_13.0/cm-13.0-20160701-UNOFFICIAL-sumire.zip.md5sum

regards.
[Xperia Z5 Android Development] paulle:
thank you, but what is new in this build?
[Xperia Z5 Android Development] deepongi:
Code synced with CM, and device tree updates (sony/common). Check github for the commits merged.

Regards.
[Xperia Z5 Android Development] paulle:
Thank you for your work.

testing: installation without problems, sensors working fine (tested with sensor readout from f-droid), about charging can write nothing in the moment, but seems to be ok (just connected to the wall charger since some minutes). Camera as always with focussing problems and closed after the first shot. Torch is working.

edit: chargin with wall charger: charging LED was lightning, but the phone didn't charge for 3 hours. After disconnecting and new connecting the charger, phone charged normal. This issue I had before too (from time to time, once/1-2weeks).
[Xperia Z5 Android Development] andralex8:
Hello,

I saw in the original post that you have problems with SDcard speed. Maybe you already found a solution ?

If not, i maybe found something interesting while exploring differences between AOSP/CM kernel and sony stock kernel (I'm working on cyanogenmod for the Z4 tablet, same kitakami platform). I found by "accident" a piece of code present in the stock kernel that enable 40Mhz frequency for SDCC2, it's not in the kernel we use ( I'm not an expert, but it seem that SDCC = SD card controler).

This option is enabled for sumire and satsuki in the stock kernel, not for other kitakami devices (not for my karin_windy).

I made two commits to share with you, I hope it can help.

https://github.com/andralex8/androi...mmit/fc962eb2da710d672a4d6345442f0de3c43ac601

https://github.com/andralex8/androi...mmit/dfb04540911e80dc38170e3d8fba21724e97407b
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for those, [MENTION=6336863]andralex8[/MENTION]

I didn't pay attention to those changes since I didn't make a connection to the timing / speed - initialization - issues,

but now that you mention it, it could really help in this case,

Thank you very much ! :)
[Xperia Z5 Android Development] CHROME19969:
good news

i managed to dual boot cm13 and stock rooted MM .224 on my E6653 with multirom the funny thing is i didnt even have to flash the sunkernel

but used androplus v32b for the stock rom and it worked for the secondary cm13.

boot up speed is amazing for cm13 camera still not working shocker.

the only problem is that it stops booting when i flash the gapps maybe thats the only reason to use the sunkernel???

other than that its flawless.

EDIT: i was able to inject the sunkernel to see if it gets the gapps booting and it does boot without the gapps but with them i just get red led a line on the screen and reboot i think its important to mention that the horizontal lines start to appear again with the sun kernel and yes i made sure that it's the latest build kernel and rom wise.
[Xperia Z5 Android Development] andralex8:
You're welcome.

I know that kind of problem could be more complex and need more modifications, but if it's at least one needed element I'm happy to help :).

In a certain way you helped me for the z4 tablet by publishing your sources with CTXz.

An other thing, what is your status with the camera? I have the same problem with the z4 tab, the colors are inversed and the VCM actuator is not working, leading to a blurry image. Everything I tried didn't work. Sometimes I have correct colors but only when taking a shot and not in preview, or things like that. I'm thinking about using the camera blobs from the stock rom, but they seem to have endlessly dependencies and should probably need a wrapper. If you have a clue for an less complicated way I'm more than interested !
[Xperia Z5 Android Development] zacharias.maladroit:
The camera works acceptably, it can be used with Camera Next Mod for closer objects but under too much stress it can lead to hardlock of the device,

the MAX_ACTUAR_INIT_SET value needs to be lowered to 1000 (https://github.com/zachariasmaladro...mmit/2a986597dcc693d34bbe7f0ca1edfbcc476d04c6) at least for the Z5, not sure how it works out on the Z4 Tablet,

close objects are pretty sharp, farther away objects however are blurry and need tons of time to focus (if at all), sometimes it works and the quality is acceptable - but most of the time it's rather "short-sighted" (blurry, non-focused) :p

Reason is that the firmware lacks calibration (Alin mentioned/confirmed it), so we need to wait for updated camera blobs/drivers in general for more sharper pictures in the distance.

*) Mid-term solution would be to wait for a few driver/firmware bumps to have proper calibrated drivers (Alin mentioned that it needs a few attempts to get it right)

*) Mid- to Long-term solution (higher effort) would be to try out something like the following: http://xdaforums.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772 , not certain how it would work with our device - but I'm sure it'd also need calibrated camera drivers first or backported camera stuff from "stock" kernel or even "stock" kernel with aosp-kernel stuff merged in aka "Franken-Kernel"

*) Long-term ("Maximum Effort") would be to try to get the camera blobs to work via (most likely) wrapper - the aosp/cm13 based cam uses a much different driver without v4l2 driver so I'm not sure how difficult it would be to get it working (backporting to the AOSP-based kernel ? using Sony's "stock" kernel with CM13 ?)
[Xperia Z5 Android Development] andralex8:
Thank for your complete answer :).

I understand more why it's not working.

I will try your solution to have, at least, a working camera for short distance pics.

I finded that the stock kernel define a CONFIG_SONY_CAM_V4L2, used in the stock defconfigs. I'm not sure what it's really doing to the v4l driver, but I made a commit with the differences between the stock kernel and cm for every reference to CONFIG_SONY_CAM_V4L2 : https://github.com/andralex8/androi...mmit/57e3b9321f16b6a697f1355305dd4d73d09928a8 .

It seem to me to be a bit "light" as differences (even if grep tell me there is no other reference to this in the source code), but I've not finished my kernel exploration ;).

I have the impression to harass you with questions, but do you know what are the files in the vendor/camera folder in the stock rom? It seem to not having an elf header, so I suppose it's raw datas (Maybe calibration data?).
[Xperia Z5 Android Development] zacharias.maladroit:
Changelog

Kernel Source:

https://github.com/zachariasmaladro...mi_r2/commits/Sun-Kernel_cm-13.0_III.1_5_3_cm

ROM Source:

mostly

https://github.com/SonyAosp/

https://github.com/Sony-Kitakami/

https://github.com/sonyxperiadev/

ROM + Kernel:

6.0.1_13.0-20160706-UNOFFICIAL-sumire_DSDS_test

Thanks
[Xperia Z5 Android Development] Sovjet:
I had some problems with the last 2 builds, the phone is doing nothing and the cpu bumps 2 cores to the 1555 Mhz which results in horrible lagg.
[Xperia Z5 Android Development] RyTekk:
Try to use Elixir 2 to find what is eating cpu resource. In Elixir tap to Running, then tap left arrow symbol to change to "top" tap and see it (grant permission if it ask).
[Xperia Z5 Android Development] Sh4douw:
Hello,

I tested your new build, and so, I can say that the fingerprint scanner works ! :D

But, there is always no SIM card detection, and no SD card detection :/

You can see the screenshots in the attachments
[Xperia Z5 Android Development] Alessandro2553:
I have 6653 Sony xperia z5 and not working the sim. Not detected. But SDCARD recognized
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the attachments !

How about the attached kernel ?

alternatively:

Z5_dsds_Sunkernel_Permissive_vIII.1_2_9_dsds_t2.zip

that at least should let the microSD card work,

one (or even both) SIMs might work with it,

that suggests that the changes from the "Stock" Kernel are, indeed, needed for the AOSP/CM13 kernel for DSDS :confused:
[Xperia Z5 Android Development] Alessandro2553:
I try today and not working your last kernel. Not recognize sim. Or recognize for second slot in lockscreen, but in setting not sim appeared in 1 slot and 2 slot. Ty
[Xperia Z5 Android Development] Sh4douw:
Hello,

I just tried your new kernel. No fingerprint scanner anymore :(

Otherwise, the SD card is detected :D But it isn't the case for the SIM card
[Xperia Z5 Android Development] zacharias.maladroit:
Thank you very much for this valuable information !

This doesn't seem to make sense but at least explains why for some the fingerprint scanner seems to work for other not,

namely NONE :D

(can't figure it out yet),

concerning the SIM card detection, hm - gotta ask moonbutt74 or other Z5 Premium users who did experiments and testing ?

It feels like I'm back to square one like before,

but this is crucial to understand that CM13 in regards to fingerprint scanner - and especially the multi-sim behaves significantly different from Stock

(well, or other devices)

There's for sure lots of magic going on behind the scenes with the dtsi, dts files and functioning of the hardware of the different models ...
[Xperia Z5 Android Development] lovemyram4x4:
It nice to see something going on for the dual sim models now, i wish it would have started a week earlier as I had just purchased a regular Z5 and shipped back my Z5 dual(with a restocking fee + shipping).

I've got the standard Z5 up and running on the latest build and 1 day out in the field with it. So far I've found a few things that wrong, one is a big problem the others are more I wish they worked.

First that not so big deal, fingerprint was working but sometime during getting all my apps installed and things setup the way I like it is just gone(I guess this is somewhat common from above post). Double tap to wake is useless with out the option for proximity sensor preventing screen unlock if you put your phone in your pocket and walk around, having double tap turned off does help but if power button gets pressed you can still have all sorts of things happen(I've already had widgets removed, settings changed, phone numbers dialed). I guess I'll disable my smart lock stuff until there's a proximity option for lock screen(this would be less of a hassle if fingerprint was still working).

The big problem I had was while driving(BT streaming music and navigation) phone would quit charging at just above 100F(phone was only warm, not hot) I had put the phone in the AC vent in order to get it to charge. I'm not sure the AC vent will be enough if I'm driving one of the cars with an app radio especial if using WIFI direct and forget about taking a long drive if it's not hot enough to need AC(well I guess I could just bundle up). Ironically this is the reason why I stopped using my Z2 but that was caused by a hardware problem with charging circuit(magnetic failed completely, USB still sort of worked) but the phone work actually get hot.
[Xperia Z5 Android Development] Sovjet:
I noticed the same when i was playing a game my phone got warm and not too hot, i connected the charger and i lay it down on the tablet after a few minutes when the phone was on normal temps the charging started, somewhat weird but not a big problem at all (at least for me).

I can understand that it is very annoying when you are in a car.

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

I tested the CPU usage on my phone and i couldnt find anything disturbing so i will just flash an older build and see what happends :)
[Xperia Z5 Android Development] lovemyram4x4:
It's huge deal for me since I have a mobile business and take road trips at times.

I went out in another car today just around town, only streaming BT audio, climate control set at 75F, phone stabilized at about 111F(warmer than yesterday but still felt cooler than my other phones have felt) and phone didn't charge from the start because I was lightly using it before I got in the car. Also found BT takes forever to connect to this car's BT phone module but since GB each Android release seemed to get worse it. I did find that if I don't allow access to phone contacts it stays connected(at least with my Intel based phone-also running CM13).

I think there's set points that can be adjusted for the charging cut off temp, I had a quick look at one of the system files and found several instances related to charging but I think this is something in the kernal(not sure if the stock one is any different as I didn't even run it on this phone). Hopefully our Zach can adjust it up to something at least as high as 115F on the next update.
[Xperia Z5 Android Development] Cobinja:
Quick Settings

Is anyone else missing the quick settings that could be pulled down from the statusbar?

When trying to pull them down from the right part of the statusbar (that's how they are configured in Settings -> Status bar -> Quick pulldown) doesn't show quick settings, instead in logcat appears:
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=1013550]lovemyram4x4[/MENTION] can you please refer to the files and lines that you looked at ?

I took a look at the dt* files and only saw the temperature bits but not the actual values, unlike on the e.g. Oppo there are no explicit temperature values (?)

Seems like I need to look at other places but e.g. the qpnp-charger & dt* files were the logical conclusion and there is no info,

must be somewhere else ...

This (charging issue) is actually something we've been investigating for some time - the closest (and most likely) fix is coming from the Note 3 where this seemingly (or only in a similar way) also occured on CM13,

its dev is on holiday so we're waiting for the actual file changes that supposedly fixed the slow charging

Thanks
[Xperia Z5 Android Development] lovemyram4x4:
I don't think I found anything related to temp and charging(I believe everything related to charging was mV), anyway I only took a look at thermanager to see if there was anything in there I could try and edit.

It's got to be something in the ROM though, if the phone is off or I'm in TRWP it charges even if it's >115F.

Last night out of curiosity I checked battery temp while my phone had just been sitting on the night stand(slow charging display on dimmed >-41, -41 is the brightness setting I have set for 0 lux so however much more screen auto dims for inactivity) and it was already at 95F. I don't think it would take much CPU load, even a screen brightness on the bright side or quick charging(quick charge seems to do OK if display is off and ambient is low) to set over the limit.

I've noticed that with the handful of kernals/ROMs I've flash on the 2 Z5's I've had over the past week that all of them but one have a screen flicker until you're booted fully into ROM and turn display off then back on. I tried flashing the latest saber mod CM13(7-01) last night just see if my finger print stuff would come back and I didn't notice the flicker any more on the few boots I did since.
[Xperia Z5 Android Development] zacharias.maladroit:
Changelog

Kernel Source:

https://github.com/zachariasmaladro...kami_r2/commits/Sun-Kernel_cm-13.0_III.1_5_cm

ROM Source:

mostly

https://github.com/SonyAosp/

https://github.com/sonyxperiadev/

https://github.com/deepongi

Kernel

Z5_Sunkernel_Permissive_v13_III.1_5_2_alt.zip

ROM

http://infectedbuilds.net/downloads/sumire/cm_13.0/cm-13.0-20160712-UNOFFICIAL-sumire.zip

http://infectedbuilds.net/downloads/sumire/cm_13.0/cm-13.0-20160712-UNOFFICIAL-sumire.zip.md5sum

Thanks
[Xperia Z5 Android Development] paulle:
After install phone didn't charge (wall charging), after putting in/out the cable about 10 times, phone charged. Pictures with the back-camera are upside-down and camera closes after one picture.
[Xperia Z5 Android Development] zacharias.maladroit:
thanks for that report,

does the custom kernel help with camera stability and upside down picture ?

that wall charging behavior is a known issue which is currently under investigation
[Xperia Z5 Android Development] paulle:
This time, I flashed only the ROM not the kernel. Before I had flashed your update from 27. of June (Kernel and ROM).
[Xperia Z5 Android Development] deepongi:
the phone charges... this has been discussed before.

the issue is that theres no indication of it (no LED sometimes), beside you looking at the battery percentage rising..

regards.
[Xperia Z5 Android Development] lovemyram4x4:
Credit card reader now works with the build from yesterday(I wish I installed it before just now. I had to key in a credit card today, glad it wasn't a very big bill).

FInger print read still missing for me, at least for now. I didn't see an screen flickering boot but I didn't flash kernel after ROM so I'm sure it will return afterwards. I'll be flashing the kernel because I'm have the same lockup and reboot issues I saw with saber mod build(my finger print did show up after awhile on that one so hoping for the same with this one).

Edit: Credit card reader doesn't work with custom kernel and phone just rebooted on me while I was on the phone so maybe it has something to with some changes to CM after the 26th build and the 7th(saber mod's latest build).

Aside from my white balance being way off(red channel missing) my camera was only showing up as 13MP in camera FV-5, currently force closes.
[Xperia Z5 Android Development] andrearugo88:
No simcard detected

Hello, i just got my new Xperia Z5 E6633 and i followed this guide to the letter to get Cm13 on it. everthing went smoothly but when i boot it up my phone cannot detect any simcard. ive tried a gazillion different kernel versions and most ov them won even get my phone to boot. when it does, i sill get no sim card detected. The only way i can get my simcard to work again is by restoring my original recovery and flashing this kernel on it --> Aur-Kernel_Xz5+_dsds+_v4.0 . Has anyone else had this kind of problem? i've been banging my head on my pc for 2 days now and i cant seem to find any solution or any other person with a similar problem :(
[Xperia Z5 Android Development] dbcm:
Mine is not changing when cm13 is running. I've to turn it off to charge
[Xperia Z5 Android Development] ramyanihh:
No Simcard Detection & No SD Card Detection

Hopefully you'll fix it someday.

Thanks for the Effort!
[Xperia Z5 Android Development] zacharias.maladroit:
E6633 is a dual sim model (DSDS),

unfortunately those are still WIP (work in progress) and do not work yet,

for other Xperia devices there was a fix to get it working but since the Z5 series (Kitakami) is working differently (also there are problems with microSD detection that way),

it's unfortunately not supported yet,

sorry :(

What model ? Also E6633 or E6683 ?

sorry, it's a known limitation right now that it only works on single sim devices, also microSD detection is kind of tricky to get to work

it IS charging - but slowly,

known issue and same on [MENTION=1077833]infected_[/MENTION] 's other/ROMs builds

currently under investigation ...

Thank you
[Xperia Z5 Android Development] ramyanihh:
My phone is E6683. I would love to test it if you have a new build.

Keep it up!
[Xperia Z5 Android Development] hav0c:
What is the difference between this version and this?

http://www.infectedbuilds.net/downloads/sumire/cm_13.0/
[Xperia Z5 Android Development] RyTekk:
Infected_'s are built with SaberMod toolchain, this one is built with gcc I guess.