yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] fergy:
CM-14.1 for Xperia Z5 (E6553)

Not working well: Back camera will work after first boot so please swap it with front camera. Once when You got it work and change to "selfie" (front) camera, it opening great. Will be fixed soon.

NOT WORKING AT ALL:

FP sensor (FINGERPRINT SENSOR)

FM tuner (CM version)

TIP: Try to put phone on the table and open camera. Be froward about it

Need testing: NFC

Working: Everything else

BUG REPORT: HERE

FEATURE REQUESTS:

HERE

All sources are available on github.

Stock Kernel is used for now *

without any patches

STOCK KERNEL: GITHUB

OTHER SOURCES: GITHUB

SONYXPERIADEV SOURCES: GITHUB

DOWNLOADS ARE AVAILABLE UNDER DOWNLOADS BUTTON

XDA:DevDB Information

CM14.1, ROM for the Sony Xperia Z5

Contributors

fergy

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: 7.0

Based On: AOSP

ALL CODE IS UNDER GPL AND WILL BE GPL COMPLIANT IN THE FUTURE

Version Information

Status: Testing

Created 2016-11-03

Last Updated 2016-11-25
[Xperia Z5 Android Development] klemen241:
hotspot tested?
[Xperia Z5 Android Development] fergy:
Here work but please (if You have a time) do a test.
[Xperia Z5 Android Development] CyNoob:
Isn't E6553 Z3+ or Z4? :/ Confused here.
[Xperia Z5 Android Development] klemen241:
yea just saw same haha, i think its a typo
[Xperia Z5 Android Development] fergy:
Welll, seems that Me are pretty well confused... :)

LOOK HERE

...

Ya typo
[Xperia Z5 Android Development] firminv:
Flash instructions

Just flash zip and do wipes? I would like to test.. I
[Xperia Z5 Android Development] fergy:
Yes.
[Xperia Z5 Android Development] aerostride:
Wonderful. This is something i have been looking forward to for a while.

Will test, will report.

Thank you for your work, [MENTION=352916]fergy[/MENTION]

Cheers,

-Aero
[Xperia Z5 Android Development] klemen241:
finger print reader wont detect finger when adding a finger

oh and storage in settings is a mess, shows only 306mb free lol
[Xperia Z5 Android Development] fergy:
Thank You for testing this.

Well, about storage, I wasn't sure how was You get just 306 mb free as I got in internal shared storage 4.52 Gb used of 29.12 Gb. Also got SanDisk 32Gb corrupted from "who know reason".

For fingerprint reader, I was update first post. It need attention with selinux policy. Will be fixed.
[Xperia Z5 Android Development] firminv:
Im getting error 7. Any advice?
[Xperia Z5 Android Development] Ashray_Vk:
Hi!

Greetings

Could you try adding support to z5 premium And it's dual sim twin too please ?

Thanks!

AVK
[Xperia Z5 Android Development] klemen241:
np. I had to go back to romx because i need the phone tomorrow, so i cant test further for now. WIll test when next update
[Xperia Z5 Android Development] aerostride:
Installed, waited approx. 30mins, restarted, waited 30mins again. SIM not detected at all. Provider T-Mobile, usually i have LTE in my current location. Sadly i cannot progress with the setup without the SIM Card. Using the ARM64-7.1-OpenGApps Stock package. (I do want the stock package.)

---------- Post added 4th November 2016 at 12:01 AM ---------- Previous post was 3rd November 2016 at 11:48 PM ----------

Try grabbing the boot.img from the rom.zip file and using the 3.0.2-x TWRP recovery SPECIFICALLY for the Z5 by zacharias.maladroit.

Flash those two files in fastboot and try again.
[Xperia Z5 Android Development] klemen241:
same here, after 30 minutes still no sim detected
[Xperia Z5 Android Development] aerostride:
Did you get through the initial setup? I get the ''No SIM Card detected'' prompt, then ''Copy data from other device'' (skip), then ''Log-in into your Google account'' and because i use two-factor authentication, i have to send the code to a phone with working SIM. But i can't since it isn't detected. When i click skip, i get thrown back to the ''No SIM Card detected'' prompt.
[Xperia Z5 Android Development] albertobom:
No sim card detected.
[Xperia Z5 Android Development] albertobom:
[MENTION=352916]fergy[/MENTION] any solution for no sim card detected?
[Xperia Z5 Android Development] HaoZeke:
Hey could you share the device tree you used? Or even the manifest? (repos used for compiling) I'd like to try to port it to the dual sim variant using the AOSP dual sim files...
[Xperia Z5 Android Development] stipi69:
Berdi86, have patiente, i am waiting too, hundreds, perhaps much more allso :)

I was once using hex tool or something similar to get some items in the game, it was painstakingly hard to do so much to get so little, developer has to think for multiple devices and end users up front, and it has to do it right, his reputation is in maybe in your or mine post or comments, so dont rush it, it will come... :)
[Xperia Z5 Android Development] Berdi86:
MOD EDIT English Translation added

I am writing now in my mother tongue. Huge praise to Fergy, God protect you! What would be the world without people like you? It is a pity that Sony and other software for their devices so spoofed software. Too bad that Cyanogenmod the Z5 has still not officially recorded, the device is over a year old. Please Fergy do not let your great project grind. Do you need any help? Should I donate you again € 5? If all those who donate to mod for their Z5 5 € donate, you never have to work again and have enough time ... Then would be helped all ... Will probably remain a dream. Please stay tuned, I expect the next OTA longing. Have CM always found great, but lately there is hardly any support. Maybe HTC is better. But still takes until I can afford the next device.

Ich schreib jetzt mal in meiner Muttersprache. Riesen Lob an Fergy, Gott beschütze dich! Was wäre die Welt ohne Menschen wie dich? Schade dass Sony und Andere für ihre Geräte so vermüllte Software anbietet. Schade dass Cyanogenmod das Z5 immernoch nicht offiziell aufgenommen hat, das Gerät ist über ein Jahr alt. Bitte Fergy lass dein großartiges Projekt nicht schleifen. Brauchst du irgendwelche Hilfe? Soll ich dir nochmal 5€ spenden? Wenn alle die nach nem ordentlichen Mod für ihr Z5 dir 5€ spenden, musst du nie wieder arbeiten und hättest genug Zeit...Dann wäre allen geholfen... Wird wohl ein Traum bleiben. Bitte bleib dran, ich erwarte die nächste OTA sehnsüchtig. Hab CM immer toll gefunden, aber in letzter Zeit gibt es kaum Support. Vielleicht ist es bei HTC besser. Dauert aber noch bis ich mir das nächste Gerät leisten kann.
[Xperia Z5 Android Development] albertobom:
English my friend is one of Xda rules.
[Xperia Z5 Android Development] madshark2009:
by any chance this could be compatible with Z5C?
[Xperia Z5 Android Development] albertobom:
Hi [MENTION=352916]fergy[/MENTION] everything okay bro? Long time no see.
[Xperia Z5 Android Development] albertobom:
[MENTION=352916]fergy[/MENTION] my friend,

Did you abandoned this project? It would be nice to hear from you.

All the best,

AB
[Xperia Z5 Android Development] smiley.raver:
I think there is a very good chance he has - he did warn everyone that if people didnt stop bugging him then we would just stop and [MENTION=5186486]Berdi86[/MENTION] just wont shut up and constantly asking when the new release will be uploaded - I wouldnt blame fergy if he has just stopped.

[MENTION=3923492]albertobom[/MENTION] - Its a shame as i was looking foward to a full working CM rom as I found them to be very well built and debloated.
[Xperia Z5 Android Development] stipi69:
Yes, rom is absolutely great to use and it wasn't even fully ready ;)

I am sad too, i bought Z5 80% because i wanted to try new roms and mainly because of cm13.. That never came, Now hoping for cm14. Prior i used cm 12.1 and cm11. So you see my dilemma??? Love sony and love CM, what to do, stay stock or change phone...

It would be a shame see this project to die.

Fergy, we encourage you to continue ;)
[Xperia Z5 Android Development] njvrensburg:
[MENTION=5186486]Berdi86[/MENTION] and alike, should be banned/blocked from this post, if they can't adhere to the developer's requests. [MENTION=352916]fergy[/MENTION] is doing outstanding work, to the benefit of all, free of charge. Who are we to push him and make demands? I don't blame him at all, but hope he will reconsider... Thanx Fergy... Most of us do respect your privacy and the fact that you're a working man and we appreciate your efforts, hard work and dedication.
[Xperia Z5 Android Development] kevjaN:
I change From z5 to oneplus 3t. [emoji41]
[Xperia Z5 Android Development] Berdi86:
Clamp on this loosen project, and waiting for the next ota for months or years... Like you see, one developer isn't enough, to build a stable good Tom, or see you any stable or new version here? Ferguson did good work at first, but he hasn't enough time to make it ready. I spend him a little bit money but it seems that other people don't this
[Xperia Z5 Android Development] fergy:
Due to real job, will be prolongued for some time. Not too long
[Xperia Z5 Android Development] stipi69:
Allright :cool: thanks for checking by Fergy...
[Xperia Z5 Android Development] njvrensburg:
Hey Fergy, good to have you back. On behalf of all, I would like to apologize for all the crap that was flying around. Please don't take offense and just know that we appreciate all your efforts. Welcome back.
[Xperia Z5 Android Development] M_T_M:
Last time I checked a donation was described as an act of kindness towards the person receiving said donation, right? Being that the case you or anyone "donating" money does not give you the right to any of the following but not limited to: DEMANDING ANYTHING HERE!!

I for one will like to ask you to reconsider your "act of kindness" towards the developer and realize that he rather do without your "donation" rather than deal with this type of attitude.

Please refrain from acting up like this ever again as I may be forced to come back and have anther chat session with you or anyone that decides to act up like this.

This is just a friendly warning so don't PM me with any complains about how rude I was...

Cheers,

M_T_M

Senior Moderator
[Xperia Z5 Android Development] albertobom:
[MENTION=352916]fergy[/MENTION]

Hi bro, how are you? Hope you are good.
[Xperia Z5 Android Development] core720:
No more updates?
[Xperia Z5 Android Development] Sovjet:
A few posts back the developer made a statement :)
[Xperia Z5 Android Development] fergy:
Hi.

First of all, I don't accept any money for this. Second, Merry Christmas to everyone. Third, Yes, I have very low spare time to do it. Fourth, one can do ROM without a problem. Fifth, will be out soon....please don't wrote stupidity and send any money as this is just "kindly" project.... We all want something new on our phones, so...
[Xperia Z5 Android Development] stipi69:
Merry Christmas to you too :)
[Xperia Z5 Android Development] albertobom:
Merry Christmas ? for you and all xda community. :good:
[Xperia Z5 Android Development] :
That could possibly sound like a stupid question but does "will be out soon" mean that you quit developing soon or that a new build will be released soon?
[Xperia Z5 Android Development] Sovjet:
Well i like the question i want to know too haha :D
[Xperia Z5 Android Development] zacharias.maladroit:
Sounds more like the first one,

but enough of that :eek:
[Xperia Z5 Android Development] HaoZeke:
Please stop bumping this thread. LineageOS which is the successor to CM is out on the original development thread.
[Xperia Z5 Android Development] goRt:
Its correct place!
[Xperia Z5 Android Development] fergy:
It's not.

You have there rom's for play withbin a mean time.

Due to my real life and job don't have a time at the moment and also don't have other device anymore so cannot test anything but on weekends as need phone.
[Xperia Z5 Android Development] leck06:
gracias lo probare en el xperia z5 dual (E6633)

---------- Post added at 09:29 PM ---------- Previous post was at 09:12 PM ----------

Do not download help
[Xperia Z5 Android Development] Zaisesl:
Solo inglés en xda.

This thread is a little bit aoutdated look for Haozeke lineage or myself5 lineageOS
[Xperia Z5 Android Development] fergy:
Yes, use Lineage or whatever.

Thank You

Cheers
[Xperia Z5 Android Development] Zaisesl:
Everything is working except the fingerprint and sim detect. I really like, Very stable for be a firste release.

Edit:

I flash it like 12 Am and go to sleep, when i wake up i have the bug with sim detection. Like 6 hours waiting and nothing happen with the sim.

The camera was fine, like all aosp/cm rom.

The bug of fingerprint but its clear in the OP

I had some glitches in the boot after wipe dalvik and cache.

For me its a very good rom. I really like it, if you can make work the Sim i will use it all days. Thanks!
[Xperia Z5 Android Development] klemen241:
yes i did, i was using everything normal, just no sim detected. I dont use two factor auth
[Xperia Z5 Android Development] EnesSastim:
Trying RN

Sim Not Working...

---------- Post added at 03:28 PM ---------- Previous post was at 02:54 PM ----------

I will use this rom, if you fix the "NO SIM CARD DETECTED" error.
[Xperia Z5 Android Development] fergy:
Well, please contact Me on private mail or on PM.

Thx
[Xperia Z5 Android Development] mrodhe:
cant get this rom to work? coming from xrom
[Xperia Z5 Android Development] DusteWest:
Sim does not work

Camera

and fingerprint.
[Xperia Z5 Android Development] klemen241:
came from x, did full format and flashed cm
[Xperia Z5 Android Development] stipi69:
waiting for next update, great first release :)
[Xperia Z5 Android Development] fergy:
Thank You [MENTION=535343]all[/MENTION] for report problems. Will try to fix SIM problems (but to be sincere) on My device (VIPnet-Vodafone) no problem with SIM recognition at all so, if anyone can send Me logcat and dmesg will be great, if not...ok, I'll find bug.

Also, fingerprint have problem with permissions, same as back camera. Front camera work great. Hmm, will be pretty stupid to swap camera to front so... hold on for it.

Cheers
[Xperia Z5 Android Development] fergy:
Please be patient. I am looking for bug report, so if You can provide logcat and dmesg, will be appreciated.

Thank You
[Xperia Z5 Android Development] EDGN:
Sounds very promising. Keep up your good work and i will switch for sure.
[Xperia Z5 Android Development] stipi69:
Oy!!!

Great first impression, I flashed it yesterday, will test it today and tomorrow and report, will try couple of sd cards :) camera and some apps, will post in my dropbox for new users to get the feeling how it goes...

Really great camera, I am impressed!!! I actually like it better than stock as far as ui goes, further testing will tell about quality. But i am sure, this ROM Will replace current stock for me...

So, situation after 26 hours:

- Sim dont work (Slovenia - Simobil) pin disabled

- Fingerprint not recognized

- Camera sometimes starts and works_ usually restart helps

- Sandisk 64gb class 10 not working for now, i cant formatt it to internal not to portable either

- AudioFX not working on speaker or headphones (Digital Noise Cancelling Headset MDR-NC31EM)

- Specific root related apps sometimes struggle to gain root acess

- Live display not working

- Flashlight not working

- 2, 3 apps that worked on LL and MM fail to start (black screen)

- no xposed as far as i have searched (but this is not developers non rom fault, will have to wait)

+ SANDISK 16GB ULTRA 1 - recognized and working :)

+ Battery life is excellent, partially, because it does not pull power for cellular signal.

+ NFC works

+ Bluetooth works

+ GPS works

+ Hotspot works / no Internet connection ;)

+ I have installed my regullar apps, downloaded videos and music, pics, storage shows approx. 14,98 gb used of 29.12 gb, before that I did a clean install

+ ROM is snapy, no random restarts, artefacts etc...

+ camera has a ton of features

+ as always cm... with LO RAM fingerprint and some Megabyte more of storage

Logcat:

https://www.dropbox.com/s/f7jtaxaw770yr74/cm14_e6653_xda_stipi69_logcat.txt?dl=0

Screenshots ALL OTAs:

https://www.dropbox.com/sh/anobnfh82s158ur/AAD6EAXVf4xXu_nWw0YOVCYMa?dl=0

waiting for next update :)
[Xperia Z5 Android Development] zacharias.maladroit:
can anyone provide logcat or dmesg output ?

To see what happens and/or why the sim card is not being detected

The external SD card in most cases is formatted with (t)exfat - so at least an exfat driver (via FUSE or in-kernel) is needed and the ROM made aware,

that's the reason access also doesn't work right now

Thanks
[Xperia Z5 Android Development] fergy:
Hi and thank You for this big help.

About sim card not working (don't know how mine work but anyway) I think that problem could be with ril daemon as modem is class 10 but latest N update reference to class 11/12 so maybe with an caf rild will things work.
[Xperia Z5 Android Development] stipi69:
R I L:

(5 minutes ago I didn't have a clue what that is)

The RIL is a program between the Radio and the ROM. It communicates with the hardware and supplies an interface for the ROM so it can use the hardware. (quoting Borat38, androidforums.com)

So my understanding is now that his is like for example:

Some developers say, flash that version "xyz" of stock ROM prior to flashing specific custom ROM so modem is updated...

Is RIL modem "driver"??

What RIL version does have developer preview 7.0 for Sony? Can we start developer preview and then flash cm14 ontop?
[Xperia Z5 Android Development] fergy:
Here is now what I was looking for (after made self logcat with other ril daemon):

11-06 17:40:27.047 6679 6679 E AndroidRuntime: FATAL EXCEPTION: main
11-06 17:40:27.047 6679 6679 E AndroidRuntime: Process: com.android.phone, PID: 6679
11-06 17:40:27.047 6679 6679 E [B][COLOR="Red"]AndroidRuntime: java.lang.IllegalArgumentException: column 'user_network_mode' does not exist[/COLOR][/B]
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.telephony.SubscriptionController.getSubInfoRecord(SubscriptionController.java:293)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.telephony.SubscriptionController.getSubInfoUsingSlotIdWithCheck(SubscriptionController.java:1627)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.telephony.SubscriptionInfoUpdater.updateSubscriptionInfoByIccId(SubscriptionInfoUpdater.java:582)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.telephony.SubscriptionInfoUpdater.handleSimLoaded(SubscriptionInfoUpdater.java:420)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.telephony.SubscriptionInfoUpdater.handleMessage(SubscriptionInfoUpdater.java:337)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:154)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6088)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
11-06 17:40:27.047 6679 6679 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

...so, this RED marked is problem
[Xperia Z5 Android Development] albertobom:
Looking forward for next update. :good:
[Xperia Z5 Android Development] fergy:
To clear things out... With flashing STOCK (aosp) 7.0 there is no any modem update/upgrade. You are (I think) on MM so, no any update is provided, especially from any aosp custom builds.

Here is only problem in vendor library's which is for stock aosp 7.0 ok.

Modem updates come with officially builds and You cannot (well, You can, but leave this beside) flash modem. Your modem IS updated, so leave those developers to flash their versions.

RILd (Radio Interface Layer daemon) is a layer which provides an interface to the hardware's radio and modem.
[Xperia Z5 Android Development] stipi69:
so we wait for next release :) great job sniffing this out
[Xperia Z5 Android Development] fergy:
Ya...You're right :) (at last for working modem)
[Xperia Z5 Android Development] stipi69:
Haha :cool: i think there will be much more as working modem :victory:
[Xperia Z5 Android Development] albertobom:
F5 f5 f5 f5 f5.... :D
[Xperia Z5 Android Development] EnesSastim:
[MENTION=352916]fergy[/MENTION] Can You add supersu and xposed to the new patch?
[Xperia Z5 Android Development] fergy:
I will not add xposed into it because don't have a time for supporting it.

For su, go into settings and enable root option. Toybox provide su support. If You insist on superuser instead of su (but don't know why would You want that) I will not provide anything except what cm provide.

Sorry and cheers
[Xperia Z5 Android Development] fergy:
Idea what is wrong with that cyanogenmod import? Don't have a time to check that out. Completely build is builded from zero, so "make clean". If anyone have a clue what was changed in CM to provide this error let Me know (btw, that is 14.1 upgrade. 14.0 is OK)

Thx
[Xperia Z5 Android Development] Tan Jun Hong:
Might wanna change the rom status to alpha instead of beta before people misunderstand you
[Xperia Z5 Android Development] zacharias.maladroit:
Re-Sync repo ?

or look for commits that touch those files and revert them ?

CM14.1 is probably a heavily moving target right now

Android 7.1 doesn't even boot on suzuran (Z5 compact)

Why not try to get CM14 working first ?
[Xperia Z5 Android Development] fergy:
[MENTION=231848]zach[/MENTION]

I got i boot. No problem at all. Everyone got it boot.

Also, no problem nowhere as I have working 14.1 (why not work on other providers except vipnet, need to be figured out).
[Xperia Z5 Android Development] fergy:
Isn't it in "DEVELOPMENT" thread? Also in Alpha nothing work. Here not work few things.

Anyway thank You for tip
[Xperia Z5 Android Development] zacharias.maladroit:
for me all those titles are pretty stretchable

Alpha could mean that most of it already works but it's glitchy or everything works but only part of the time

Beta is an improvement over that

[RC would then be daily driver material]
[Xperia Z5 Android Development] fergy:
New system.img in database. Think that now network work. Please test.

For wifi, don't worry, it work but not in this release as was just fix modem now. If that work for all I will fix wifi (or You can by sending fw_bcmdhd.bin to system/vendor/firmware)

Cheers
[Xperia Z5 Android Development] albertobom:
Dear Dev where is the new download? Can't find it. Only the old one.
[Xperia Z5 Android Development] fergy:
Mhh..not uploaded.
[Xperia Z5 Android Development] albertobom:
Lol :D

Please upload also the WiFi file. :svetius:
[Xperia Z5 Android Development] stipi69:
Hej will test it over night, working afternoon sadly waiting for the file ;)
[Xperia Z5 Android Development] fergy:
will be uploaded tonight
[Xperia Z5 Android Development] fergy:
updated.

OTA update is in download but PLEASE don't ask Me for any wifi problem... This is just network test thing. Thank You.

PS Testers, please let Me know if network work.

Cheers
[Xperia Z5 Android Development] stipi69:
Downloading, will test it and report later tonight.
[Xperia Z5 Android Development] fergy:
Thx.

Please push fw_bcmdhd.bin on right place. You have it in system/firmware system/firmware/wlan... blah. Path is changed.

Just push it to system/vendor/firmware and let Me know if Network work. Cheers
[Xperia Z5 Android Development] Zaisesl:
Downloading, i will post later!
[Xperia Z5 Android Development] stipi69:
GREAT, ALLREADY UP AND WORKING , SIGNAL IS UP, MOBILE DATA OK :)

But got hangs all the time, even after two clean flashes... couple of random reboots, but this was maybe my fault, dont know realy, you better wait for replys from other testers.

Because i need phone today and tomorrow i i have no time left for testing today, need to get some sleep :)

if you need some feedback i can test it trough wekend...

GOOD JOB