yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] ibuza:
I have a similar problem with listening to music via bluetooth. Music cuts out quite often. The problem seams also to be related to the other Bluetooth device. I got the problem with my car but not with a rental car I drove or a bluetooth-speaker.

Another part of the problem is that sounds stops quite often, when the track changes. I descripted that problem and provided logs here: https://xdaforums.com/showpost.php?p=72560525

You could try CarbonROM (download / board ). So far I had no audio cuts with it.
[Xperia Z5 Android Development] tge101:
Do I have to do a full wipe coming from Carbon?
[Xperia Z5 Android Development] whalesplaho:
Just fo factory reset n yhu set.....
[Xperia Z5 Android Development] tge101:
What? I'm trying to not have to start over
[Xperia Z5 Android Development] whalesplaho:
i understand yhu buddy..... but clean installation is always advisable so as to track bugs!
[Xperia Z5 Android Development] msch.:
Hello World, first post here ;)

Thanks for this great work and all the time whish went into.

I was on my way to get NFC working while screen is off or locked but couldn't get it to work( red a lot, some solutions but not for 7.1.2)

Does someone has a plan or how to or already finished NFC apk for this feature?
[Xperia Z5 Android Development] SpeederT12:
EDIT: Flashed crDroid ONLY with a data wipe beforehand in order to fish out bugs if any appear. Rom boots normally, but for some reason it nuked my TWRP. I had one since some time so I didn't flash the one from the thread. Recovery is gone and now when I go to reflash pc doesn't recognise device in fastboot. More accurately, it doesn't take any driver I attempt to install. Flashtool- Flashmode and Fastboot + device drivers resulted in no device being recognised by "fastboot devices". Adb in os works fine. Suggestions please, I didn't flash anything else so I do not even have Gapps.

EDIT 2: Solved. Refer to https://xdaforums.com/xperia-z/help/help-findiing-installin-s1boot-fastboot-t2218143 if you need help.

EDIT 3: Wow this is the hardest rom install I've ever performed. NanoMod Playstore is giving me an error : "Error while retrieving data from server RH-01". Please help.
[Xperia Z5 Android Development] HaoZeke:
Sorry you're having a hard time..

Did you check your microG settings to see if all the checkboxes are ticked?
[Xperia Z5 Android Development] SpeederT12:
I'm now using Gapps (micro) and while looking through the rom settings in Cr settings I found enable signature spoofing disabled, which is disabled by default for some reason. I suppose that if I found it earlier it would've fixed the issue. Could I reinstall nanomod over Gapps? I also suggest enabling signature spoof by default
[Xperia Z5 Android Development] SpeederT12:
APPLIES TO 20170921 AS OF 22.11.17!

So I've had this for 2 days now which gave some time to get some initial impressions.

Customization: Pros: A LOT of settings, really loved that part. Weather in notibar is really neat. *Almost* everything works as expected. Cons: Camera button settings (wake-up) do not work. No setting to disable half-press to sleep which is extremely annoying considering how easy it is to press during normal handling.

Stability: Really good. Haven't encountered any system crashes. Call audio is broken, cannot adjust in-call, NO noise suppression which results in other party hearing themselves only. Phone is EXTREMELY speedy. Boots MUCH faster than stock. Doesn't crash apps when overheated. Which brings me to..

Battery and CPU Managment: Boy is this a mess. Unfortunately, the battery life is mediocre at best. Haven't been able to improve it significatly, even with the use of [MENTION=5033594]korom42[/MENTION] 's LXT and FSC. Charging appears to be randomly slow, but not a big problem. Overheats less, but still does sometimes.

TL;DR: A decent ROM, my first on this device. Battery life is pretty bad. Performance and features are great. Kernel seems to be kinda bad honestly, recommendations for a new one would be much appreciated.

EDIT: Updated to reflect observations
[Xperia Z5 Android Development] feNNec2008:
CrDroid screenshot issue with original browser

"Screenshot is not authorized by the application" ??? Screenshots work but not for the browser. How to troubleshoot it without installing a third party app?

General comment by the way: Wonderful rom, with low battery life.
[Xperia Z5 Android Development] jim.root:
Hi, any audio performance fix? [MENTION=1964056]HaoZeke[/MENTION]

I experienced that volume suddenly getting high for a while when playing music or video.

Second, audio volume getting smaller and when i plug / unplug charger while play music / video.

Btw, crDroid is best custom rom i ever tried for Z5, love it!

Thanks
[Xperia Z5 Android Development] HaoZeke:
That's strange... Could you maybe try a Logcat.?
[Xperia Z5 Android Development] jim.root:
Thanks for reply

I mean, the audio mostly getting high when first launch music/video app or on resume. But is not take too long.

It can be kernel problem?

Any kernel do you suggest to use?
[Xperia Z5 Android Development] HaoZeke:
Actually... There are better kernels, especially Zachs and I had meant to base this kernel off his for future releases but I haven't gotten around to it.

Unfortunately I cannot suggest a kernel if you're using F2FS as your file system..

As far as I'm aware this is the only kernel with F2FS support... Otherwise if you're not using it, go for zachs
[Xperia Z5 Android Development] HaoZeke:
New build out. Check OP for the changelog.

Unofficially I'm expecting better battery life but it's not in the changelog since I haven't made sure of it yet.

EDIT: A small encryption bug made me revoke v5 in favor of v5.1

If you don't use encryption and updated to v5, you don't necessarily need to update to v5.1 [almost the same features, just that 5.1 has working encryption and the kernel is upstreamed to 3.10.89]
[Xperia Z5 Android Development] frabe8378910:
[MENTION=1964056]HaoZeke[/MENTION]

I haven't followed any Z5 threads in detail for a while ... - sorry for being so ignorant ;) - but your post catched my attention.

Do we have a functional encryption (FDE) which do not stop SIM operation on this ROM?
[Xperia Z5 Android Development] HaoZeke:
Yup we do... But I've not tested it with sim locks, not that that should matter
[Xperia Z5 Android Development] FaserF:
First of all thanks for this awesome rom. I am going to install this now on my girlfriends Sony Z5 as daily driver, hopefully everything is working well.

Now I have a question, on which version is your F2FS TWRP based on? And are you going to update it anytime? :)

EDIT: it's based on TWRP 3.1.1-0

Some notices about this rom:

- First boot really takes some time :/ (5-10 minutes) [Thougt it would bootloop but than it came up :) ]

- The bootanimation looks really crappy :D But thats nothing anybody should care about
[Xperia Z5 Android Development] HaoZeke:
Well I would consider updating it but not right, I'm off development for a month or so.

Also as best I understand there are no major updates for nougat systems,

https://twrp.me/site/update/2017/12/09/twrp-3.2.1-0-released.html

The changelog shows it's mostly configuration changes and oreo stuff.

I will update it eventually though.

Subsequent boots should be pretty snappy..

Glad you like the rom :D
[Xperia Z5 Android Development] TrafalgarD:
please port to xperia z5p e6853, really like this
[Xperia Z5 Android Development] brdelphus:
I've been using it for almost 4 months and it's indeed a nice job. I found a few things that called my attention:

1- fingerprint works perfectly after adding new finger (which is the same finger anyway) then after a while it wont work anymore, I have 3 fingers added which are the same finger and it doesn't work when i try to unlock it after some time. I've even erased finger database for a new one, same results.

2- When using multiusers if you switch from user to user on daily basis, the battery icon shows inaccurate battery levels, like phone needs to recharge. if you restart it shows back accurate results like 80%. if you start switching users again, bug reappears.

That's all I could find so far.
[Xperia Z5 Android Development] FaserF:
After nearly 2 weeks of usage I have the following things to report and would be happy about any help:

- My major issue is that the battery life is really worse compared to completely stock (which the Z5 was before), is there any known issue?

- Mobile Data randomly stopped working once

My config:

F2FS

Your TWRP

Magisk 15.2

the rest is stock, some of crdroids features enabled
[Xperia Z5 Android Development] HaoZeke:
As such, all custom roms have lower battery life when compared to stock roms..

Personally I use Nanomod instead of gapps and icebox to freeze apps I'm not using.

I get stock like values that way...
[Xperia Z5 Android Development] HaoZeke:
Thanks for the heads up.. I haven't managed to replicate the first issue yet, will test the second later too..

Are both these issues still present on the latest versions?
[Xperia Z5 Android Development] MisterFynn:
Really nice!

Hey, i tested alot of Roms for the Z5 but till now this one is quiet the best.

But there are some issues. I live near the border to another Country. I dont know if somebody testet the Roaming right now, but when i go to the border my Z5 logs in the other countrys net and Roaming is deactivated. What is really bad ... I know i could have the net from my country. Therefore i cant go online. I cant change the networkstation too..

Another thing i noticed is that there is a little cross beneath my networkindicator, i dont know why, because i have access to the internet. (Only if i am logged in my countrys net.)

Would be cool if you could look after that.

Edit:

I solved it myself.

1. Dial *#*#4636#*#*

2. Phoneinfo

3. Networktype = LTE/UMTS auto (PRL)

4. ???

5. Profit

mfg MrFynn
[Xperia Z5 Android Development] Ptamigi:
Hey guys

I feel microphone isnt good enough . Any solution would be appreciated?

:(
[Xperia Z5 Android Development] 924973961:
Thank you, friends.

I can't download it.

Do you have any other links?
[Xperia Z5 Android Development] Yanun:
+1 Can someone upload rom to gdrive,mega etc.? :)
[Xperia Z5 Android Development] gyeltekin:
same here, any other links?
[Xperia Z5 Android Development] 924973961:
mega or google drive
[Xperia Z5 Android Development] gyeltekin:
anything you want
[Xperia Z5 Android Development] Yanun:
[MENTION=8692360]Quantumkk123[/MENTION] [MENTION=8192795]924973961[/MENTION] No more errors when downloading files placed on xda.You can go ahead and download HaoZeke's crDroid. :)
[Xperia Z5 Android Development] 924973961:
thanks ！it's okey.
[Xperia Z5 Android Development] MisterFynn:
Hay, i got an issue with otg. It only works when i restart my phone. When i replug the stick in it stops working. Is there help ? :]

i have tried to activate it, but there is no Option :/
[Xperia Z5 Android Development] HaoZeke:
Could you get a logcat?
[Xperia Z5 Android Development] mrdope16:
battery drains too quickly

installed mods:

thermal mod v1.7
[Xperia Z5 Android Development] shawamawa:
Hello, quick question. As of now this ROM is not compatible with Z5 Premium, so is it possible that if i flash CrDroid and on top of it flash the Lineage Os Kernel of the Z5 Premium, will it work. [MENTION=1964056]HaoZeke[/MENTION]
[Xperia Z5 Android Development] HaoZeke:
It's almost certain that it won't work.. The proprietary files are similar but slightly different so they need to be compiled.

I might get back to the rom by the end of next month.
[Xperia Z5 Android Development] HaoZeke:
That's really very poor. Mine isn't that bad though.. Use nap time and ditch the mods.
[Xperia Z5 Android Development] lampard464:
I'm bad too

how can I do that???
[Xperia Z5 Android Development] brdelphus:
Sorry for the "delay" answering this post. Well, the fingerprint bug comes and goes and I'm already suspecting it's a hardware fault. The changing user one, i am not switching usernames anymore but i was using your last version of the time and it was really quite easy to replicate and hopefully, you found it as well. Yeah I'm still using your rom cos it is by far the best z5 rom we can find around the internets... Indeed a good job sir, thank you for your time on this one. Also, any news ? Oreo ? cr-droid new version ? I noticed that using nanodroid the mobile gps fix takes longer than the usual, but i can live with it. To be honest with you, your rom was reinstalled a couple of times due to mistakes i've made using it, but it never ever crashed on me. Looking forward for a new version as stable as last one is.

thank you
[Xperia Z5 Android Development] MisterFynn:
No, sorry. I got a new Phone ^-^
[Xperia Z5 Android Development] Mostoul:
OTG NOT WORKING :confused::eek:
[Xperia Z5 Android Development] findbuddha:
Just installed this ROM (only wiped system and cache from a Haozeke LOS build from April). Flashed ROM, latest open gapps, Magisk 13.3.

Failed SafetyNet unfortunately. I believe this might be a result of the LOS devs decision to comply with Google's request about SafetyNet.
[Xperia Z5 Android Development] Phantasm4489:
Look in the magisk modules repository for universal safetynet fix. This module might be of some use here. It works for me at least on aosp in conjunction with magisk hide
[Xperia Z5 Android Development] findbuddha:
Thanks! This worked perfectly. Now if only my bank would support Android Pay
[Xperia Z5 Android Development] HaoZeke:
Already discussed. Wait for the next release. It'll be HZ1
[Xperia Z5 Android Development] Devo7v:
This can also be fixed by applying a patch to the kernel which LOS has decided not to do. I wasn't sure if crDroid had included the patch but it sounds like they haven't. [MENTION=1964056]HaoZeke[/MENTION]: do you know crDroid's stance on this? Would it be possible to have a separate flashable kernel with the patch included in the OP? The Universal SafetyNet Fix it more of a workaround than a solution.
[Xperia Z5 Android Development] Mysterio33:
Installed this ROM yesterday, no bugs found yet. Great work, amazing ROM!! Only question I have: you recommend to install Doze AND Naptime? Together? I've normally used Greenify. Is Greenify now unnecessary?
[Xperia Z5 Android Development] HaoZeke:
Doze and Naptime work in complimentary ways... Doze, unlike what the name suggests is actually an internet blocker..

I actually still use greenify... But I'm not sure if it's useful. Mainly I use it to keep track of my doze sessions..
[Xperia Z5 Android Development] HaoZeke:
Well.. This is a custom rom, I'll look into why LOS chose not to include it.. If I disagree I'll just patch the kernel from the next release.. There are already plenty of kernel changes..

Could you direct me to the patch though?
[Xperia Z5 Android Development] Devo7v:
https://github.com/sultanxda/androi...mmit/3a450b89a44c5e2eb357ff797298c6201c78e3b3
[Xperia Z5 Android Development] HoiFung:
I use this and feel better than greenify.

https://play.google.com/store/apps/details?id=me.piebridge.brevent
[Xperia Z5 Android Development] nreuge:
Can someone attach for me the email.apk ?

(I had deleted it but I need it again)

Thx in advance
[Xperia Z5 Android Development] sirdoha:
Here it is :)

https://drive.google.com/file/d/0Bzoz6cdHobZmakdheDdYUXFCU2s/view?usp=drivesdk
[Xperia Z5 Android Development] thetitanium:
Hey! I am on 6.0.1 stock! Can I directly do a clean flash of this rom? And is it possible to go back to 6.0.1? If yes, how?
[Xperia Z5 Android Development] ibuza:
These are the steps to install this rom if you want the possibility to go back to stock (with full features of the Sony software):

1. Downgrade to an old Android stock firmware that is compatible with the TA-backup-scripts using Flashtool.

2. Backup the TA-Partition to safe the DRM-keys. (Otherwise some Sony software does not work with all features, if you go back to stock.)

3. Put phone in Developer Mode and activate the possibility to unlock the bootloader

4. Put firmware.zip and gapps (pico/nano) on internal sdcard

5. Unlock the bootloader using Flashtool and the code generated on the Sony website.

6. Boot into bootloader mode and flash TWRP recovery using Flashtool

7. Boot into TWRP recovery

8. Wipe partitions except data partition (internal sdcard with the firmware)

9. Install firmware and gapps

10. Success

If you want to go back to stock you should restore the DRM-Keys and then use Flashtool to flash the stock firmware.
[Xperia Z5 Android Development] zrima167:
Will there be version with fingerprint not always on in the future?
[Xperia Z5 Android Development] El Solido:
You can now backup on marshmallow using dirtycow v2
[Xperia Z5 Android Development] HaoZeke:
New Build Out...

Changlog (HZ1) from the OP:

1. USB OTG Support

2. F2FS Driver Updates

3. SafetyNet Kernel Patches

4. Native exFAT Support

5. Added ZEN, BFQ, SIOPLUS, SIO, VR and FIOPS Schedulers

6. KSM Updates
[Xperia Z5 Android Development] manolis.camenos:
Hi great rom but i can't activate usb otg
[Xperia Z5 Android Development] A.T.Field-Beast:
Though the LOS has Chinese, the "crDroid Setting" doesn`t have Chinese.:crying:

(What`s more I find the fingerprint could be used to unlock the phone while the screen doesn`t light, that`s great:cool:)
[Xperia Z5 Android Development] HaoZeke:
Sorry, I built the ROM with the older kernel... Will Update soon...

In fact... [MENTION=4386116]frabe8378910[/MENTION] and other encryption enthusiasts...

I was testing the newest stuff I was playing around with... and... Guess what?

:D

Well.. Sadly there's still no signal with encryption enabled.. Making this no better than MoKee yet.
[Xperia Z5 Android Development] LordGravewish:
I am getting no network after flashing this ROM on my E6633, with no SIM cards detected. Any ideas?

I flashed latest stock firmware, which boots fine (and works correctly, detects the SIM cards, etc). Then I flashed recovery, and wiped data/cache flashing this ROM on top.

Am I doing something wrong? Searched all over and can't find anything, so going back to stock for now.
[Xperia Z5 Android Development] frabe8378910:
So just one further step necessary, before I need to reflash my decive... [emoji16]

Thanks a lot for continuous work.

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] manolis.camenos:
Realy great rom I hope to update soon, I can't wait :p
[Xperia Z5 Android Development] cptMikky:
Would a 3rd party kernel do or should we wait for the next build?

As for encryption - cool! I'll have some time in the next few weeks to fiddle with it :)

-cM.
[Xperia Z5 Android Development] Mostoul:
anyone have AUX issue ?
[Xperia Z5 Android Development] HaoZeke:
For the new release... xD

Just building you guys a flashable zip..

Credits go to SODP, [MENTION=292537]oliver[/MENTION] and [MENTION=3816568]Myself5[/MENTION]...

And me a bit. :D
[Xperia Z5 Android Development] HaoZeke:
Latest out.

Changelog:

[*]Built with UBER 4.9 (same as the ROM)

[*]GCC v5 to 7 support.

[*]PowerSuspend 1.7

[*]LZ4 Support.

[*]KCAL Support (from me)

[*]GPU at 27MHz

[*]WLAN Wakelock toggles

[*]Arch Power

[*]Gentle Fair Sleepers Interface

[*]MSM MDSS From ElementalX

[*]ElementalX extra backlight dimmer

[*]Added exFAT

[*]Enabled Kexec

[*]Overclocking

[*]Added Westwood and CDG TCP Algo

[*]Add Lazytime mount option for ext4

[*]module: Enable ecryptfs loading

[*]Remove SafetyNet checks
[Xperia Z5 Android Development] anjelz2012:
please port to z5p
[Xperia Z5 Android Development] whalesplaho:
Damn.... Dose changelogs looks promising [MENTION=1964056]HaoZeke[/MENTION]!

Bigups man....
[Xperia Z5 Android Development] JachuV6:
Hello,

Is it possible that this ROM is compatible with the SONY SCR 42 case? Before i thought this case works only with NFC but now i realized that NFC is required only to download application
[Xperia Z5 Android Development] nreuge:
Hello from the top of the Aiguille du Midi, altitude 3840m (at right the top of the Mont Blanc)

Pic taken with the Snapdragon Camera in panorama mode ^^
[Xperia Z5 Android Development] HaoZeke:
Not slated for a release yet... (too many, too soon might make it seem weird)

But good things are coming xD
[Xperia Z5 Android Development] fash99:
I can't understand what gapps i have to install. Sorry, but recently the steps and a few things are changed in this world of android and the custom roms

EDIT: was just a matter of configuration and now works playstore. Thank you
[Xperia Z5 Android Development] whalesplaho:
Flashed ROM and its great... Still testing but camera doesn't have touch to capture. Bigups [MENTION=1964056]HaoZeke[/MENTION]
[Xperia Z5 Android Development] whalesplaho:
Where to get snapdragon camera buddy!?
[Xperia Z5 Android Development] layotu:
i have one of the eight core, ever busy at 100% cause battery drain.
[Xperia Z5 Android Development] nreuge:
This is the rom default camera.. This camera is great.
[Xperia Z5 Android Development] HaoZeke:
Try the Alucard governor..

It's my own favorite.
[Xperia Z5 Android Development] R00t911:
Works android pay?
[Xperia Z5 Android Development] whalesplaho:
Tha default one is called snap.. Cyanogenmod Camera!!!

Which Xperia apps mod are yhu using?

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

@HaoZeke i m facing some probs here

1. I made twrp backup and tried to restore back but after showing bootlogo, it started showing blank screen n going off n on.

2. Tha camera app doesn't have touch to capture....

3. My google contacts is not syncing.... Cant get my contacts back!

But everything else works great and smooth... Thanks for dis ROM!! :good: :highfive:
[Xperia Z5 Android Development] cptMikky:
[MENTION=1964056]HaoZeke[/MENTION] is encryption supposed to work completely in HZ2 or just the "bugged" variant without cell service? As I'm getting the latter...
[Xperia Z5 Android Development] HaoZeke:
It works completely for me. It wasn't working with f2fs but the current release doesn't use f2fs anyway.
[Xperia Z5 Android Development] HaoZeke:
Which gapps did you install? O.o

Touch to capture is not a rom feature... Use a different camera app..

Which os were you trying to restore from? O.o
[Xperia Z5 Android Development] cptMikky:
I must be doing something wrong then. Did a clean install, everything worked, then encrypted and ... "emergency calls only" on both SIMs :/

I'll look into it but any pointers as to what to do or try would be useful.

---------- Post added at 02:26 PM ---------- Previous post was at 01:49 PM ----------

@HaoZeke have you got your sim cards PIN-protected in your fully functional scenario?

---------- Post added at 02:57 PM ---------- Previous post was at 02:26 PM ----------

Ok, disabling SIM PIN makes the sim work again on an encrypted phone. Kinda defeats the purpose of encryption but at least it works.

My guess would be there is some kind of race condition at encryption PIN entry screen at boot as for a fraction of a second I can see the SIM PIN entry screen overlaying the encryption PIN input.

Perhaps postponing baseband init until after the phone is unlocked?
[Xperia Z5 Android Development] whalesplaho:
I flashed microgapps.... I did before and it works but i modded tha systemui and den flashed buh was getting fc so i had to reinstall tha rom cos i didnt backup!

2. Thanks no prob!

3. From dis rom, i flashed Xperia app mod but tha camera was showing black, so i tried restoring my backups! Dis mod, https://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-addon-7-1-2-xperia-package-rr-t3650952/

4. My status bar is kinda of clustered up.. I moved clock to center from tha cdroid settings!
[Xperia Z5 Android Development] cptMikky:
Right, and now, for no apparent reason, both sims stopped registering completely - "no sim card".

I'm confused.

What could have possibly happened?