yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] nathansg7:
I have a weird problem with this rom, the wifi drops and reconnect multiple times (with a interval of 1-5 minutes), i've changed the default kernel for the NovaCore C1.5.4 and wifi keep dropping.

This problem occurs with all 2.4 and 5GHz wlans i've tested and the test was made with clean flash with open gapps / nanomod / none.

Obs: I don't know if it helps but my router is a TP-Link Archer C9
[Xperia Z5 Android Development] NextGeneration675:
This rom is very good i love this rom <3
[Xperia Z5 Android Development] zacharias.maladroit:
While we're at it (camera discussions):

[MENTION=5231789]nreuge[/MENTION] please give https://xdaforums.com/nexus-6p/them...4-google-camera-zsl-hdr-t3494435/post69475570

version 5.5.1 (ZSL) a try , and how its picture quality is,

there's also a 720p / 1080p 30fps video recorder included,

60fps leads the camera to crash, so clearing data/cache is necessary to have it work again, otherwise it crashes upon start :cyclops:

not sure how well it works with default Sony's "Stock" in-kernel camera drivers but with the enhanced camera drivers in my kernel (faster recovery) the pictures can be taken seemingly instantaneously :good:
[Xperia Z5 Android Development] jonoathome:
Just a heads up.. anyone getting the Google Contacts sync error after flashing micro gapps..

The problem is the Groups in the Contact app.. You add anything to them the Google Contact sync crashes, this is because the groups are not created at the Google end, only in the app.. Even if you create the groups it just adds another one in the app.. Further more any groups created in the app... then deleted continue to exist at the back end..

The offending groups are 'Family and Friends..'

Either dont add anything to these groups to avoid the issue.. or better still Flash the Google Dialler and Contact App to replace them located here >> https://xdaforums.com/v20/themes/root-nougat-google-dialer-app-v20-t3526735

Clear Data on Contact Storage and Google Contact Sync on reboot..
[Xperia Z5 Android Development] nreuge:
Thanks a lot Zach! Great news that this version - CameraNX-V5.5.1-ZSLHDR-signed - of this mod is working on our device!! :D (I had tried v6 yesterday but it didn't work...)

It's works fine with the rom "stock" kernel.

ASAP, I'll compare it with the other good camera apps I've already tested. We can expect a significant improvement thanks to ZSL HDR...
[Xperia Z5 Android Development] jonoathome:
Investigating further it seems creating any new group causes the Google Contact Sync to Stop.. Remove the group at the back end (Web ui) then clear contact storage fixes the issue.

Adding groups at the back end (Web ui) then adding the users is the only way to go, if you want to move forward with groups

Possibly a problem with the Contacts Storage element in the rom
[Xperia Z5 Android Development] teranova1:
Can i Know the link of Kernel and TWRP .. Im confused now .. :(
[Xperia Z5 Android Development] saiz136:
This is the latest and the most advanced kernel as of this date.

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

Credits to [MENTION=3037651]zacharias.maladroit[/MENTION], check the latest one (note this is only for crdroid roms)

TWRP can be downloaded on their website, just look for your device model.

Flashing TWRP needs a computer and an unlocked bootloader.
[Xperia Z5 Android Development] saiz136:
This is a custom rom + aosp thread. We don't have stock's here.
[Xperia Z5 Android Development] jonoathome:
Found another issue with the Contacts sync breaking. Sync Me.. It seems when that updates it breaks Contact Sync.. Flushing the Contact Storage data fixes it.
[Xperia Z5 Android Development] tge101:
I'd like to throw CameraNextMod into this mix. I've been getting fantastic shots with it and it gets the full 23MP. I have some on a date off issues recording video, but it might just be me needing to clean flash.
[Xperia Z5 Android Development] whalesplaho:
Camera next mod??? Which one is dat?

---------- Post added at 02:19 PM ---------- Previous post was at 01:40 PM ----------

Camera next mod??? Which one is dat?
[Xperia Z5 Android Development] jonoathome:
OK reading about this rom on this forum on other devices.. the Contact SYNC does seems to be a problem with Build 3.7 of CRDroid and wasn't about on version 3.5

However the rom for the Z5 is on version 3.6 of the Build...

Any chance this can be fixed.. its driving me mad.... :D
[Xperia Z5 Android Development] jonoathome:
Anyone got Android Pay working with this Rom. Enabled it, added card, but look like a right Ner nah when I get to the till and it doesn't appear to work...
[Xperia Z5 Android Development] whalesplaho:
[MENTION=1964056]HaoZeke[/MENTION]

Still having bluetooth sharing bug and whenever i connect my woofer 3.5mm jack to my phone it doesnt work buh headset works!
[Xperia Z5 Android Development] HaoZeke:
New build up.

v3.7_HZ3

Changelog

August security patched in! (Android-7.1.2_r29)

Fix battery drain for few devices.

Added new and shiny PIE from AOSPA

Added Pocket lock toggle from AOSPA

Added toggle to prevent accidental touch for navigational hardware keys.

Added toggle to prevent certain apps using significant motion sensor in order to improve battery life.

New icons for few stock apps. No more ugly green for messaging.

Updated music player and file manager apps.

Updated ART, bionic and few external libraries.

Improved doze service.

Misc bug fixes.

Device tree upstreamed.
[Xperia Z5 Android Development] MichaMichaMicha:
Thanks a lot!

One thing I noticed was that the fingerprint scanner unlock no longer works when screen is off. Is this something we can change via settings. I really liked that feature.
[Xperia Z5 Android Development] whalesplaho:
No fix for bluetooth receiving error bug?
[Xperia Z5 Android Development] HaoZeke:
Actually that was removed from the device repo... It essentially was one giant continuous wake lock so... It was really bad for battery.
[Xperia Z5 Android Development] HaoZeke:
I'm sorry I'm not getting any time actually... I just recompiled with the latest sources..
[Xperia Z5 Android Development] whalesplaho:
Oooooooooppppppppssssss... I understand brov, yhu have a life too!

Thanks for yur continous support for Z5... Please would be grateful if yhu can take a look please.

Thanks...

---------- Post added at 11:31 PM ---------- Previous post was at 11:30 PM ----------

Really like dis feature... No way to make fpc work?
[Xperia Z5 Android Development] Mostoul:
Hey dude. Any fix for AUX ?
[Xperia Z5 Android Development] vasquez:
How is battery life for HZ3? Downgraded to Mm because of huge battery drain
[Xperia Z5 Android Development] El Solido:
what is wrong with aux ?
[Xperia Z5 Android Development] Mysterio33:
I'm going to test this new build at the Weekend!

Didn't had any Aux-issues yet, Headset etc works as it should. Only the Bluetooth Bug I can confirm. But luckily, I don't need that feature often.

The deactivated fpc in Screen off is bad :( would be awesome, if someone could create a ZIP/addon to reactivate that Feature. My batterylife was good. Not perfect, but absolutely good enough to get over the day.

Thanks HaoZeke for your amazing Work!!!

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] whalesplaho:
I complained bout AUX issue here too..... It works fine with headset but doesnt work with my woofer or my car jack....

https://xdaforums.com/showpost.php?p=73670817&postcount=234
[Xperia Z5 Android Development] Mysterio33:
Mh okay. Haven't tested with my Car jack. Going to test it later. As well on v3.6, as on v3.7..

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] whalesplaho:
Okay brov.... Please post feedback later!!

Im still on 3.6, wish fpc works and Bluetooth receiving bug fix but [MENTION=1964056]HaoZeke[/MENTION] busy with other things....
[Xperia Z5 Android Development] arismelachrinos:
I have the same issue!! i thought it was a hardware problem
[Xperia Z5 Android Development] whalesplaho:
Its not hardware buddy.... Hope its fix!!!
[Xperia Z5 Android Development] freaky2xd:
How can I get the newest Xperia Apps like album.apk video.apk or music.apk?
[Xperia Z5 Android Development] Mostoul:
Magisk>download>sony app enabler>install>reboot>open play store > search and install sony apps.
[Xperia Z5 Android Development] albrow:
Can confirm that this build fixes the Aux issue. Used it for about 8 hours today in the car without any problems.

However, I have noticed two weird bugs with Quick Settings. Tiles further down the list can't be added to Quick Settings - they disappear mid-drag. Also, some tiles disappear after a reboot. Tapping the Edit button makes SystemUI crash, but once it restarts the missing tiles reappear and you can edit as normal.

Having said all that, thank you so much for the work you've done on this ROM. It's fantastic!
[Xperia Z5 Android Development] jonoathome:
Contact Sync issue well broken in this version. Though I know this is an issue with version 3.7 of this rom across the board.. Contact Sync breaks and stays broken once you upload or change an image to a contact. Clearing Contact storage at least stops the annoying force close, however the second you amend a contact to change the image, it breaks again.

Explains why Sync Me was breaking Contact Sync.

---------- Post added at 09:25 AM ---------- Previous post was at 09:21 AM ----------

Regarding fingerprint wake lock. In prefer it this way of its going to save battery life.. I suppose you could have an option in the rom for those who want it the other way. That being said it rarely worked right compared to stock Sony anyway.
[Xperia Z5 Android Development] Mostoul:
What do you think about battery consumption? I use the mokee rom and the battery is great. The only problem is personalization
[Xperia Z5 Android Development] jonoathome:
Twiddle with kernel Auditor.. You will see some improvements.. Disable tap to wake too.. It did get hot, but that seems to have improved with this version..
[Xperia Z5 Android Development] anjelz2012:
Please port to Z5P
[Xperia Z5 Android Development] freaky2xd:
What about Xposed Frameworkß Can the unofficial 7.1 sdk work with LOS?
[Xperia Z5 Android Development] saiz136:
I think someone posted here about installing the unofficial Xposed will cause bootloops. And imo, don't use the unofficial, will cause so many bugs! Not worth installing it btw.
[Xperia Z5 Android Development] Mostoul:
So how does the mokee ROM support xposed? Of course installed by default.
[Xperia Z5 Android Development] saiz136:
Because that is Mokee ROM? LOS based doesn't mean the same structures. I've been using this ROM for quite sometime but I'm having issues with gaming, switched to RR and my games run smoothly. Same concept bro. Try to install the unofficial Xposed if you want or custom kernel, but don't cry here if the problem occurs.
[Xperia Z5 Android Development] nreuge:
New build HZ3 works without issue for me up to now. Too soon to see if there is a difference in battery life.

BTW, my latest tests show that the CameraNX mod is not good at all (at least for our device). HTC Camera port, Open Camera ant this rom stock camera Snap are far better. Too lazy to upload my tests, trust me... My previous tests are here.
[Xperia Z5 Android Development] whalesplaho:
Camera NX quality is bad...
[Xperia Z5 Android Development] Mysterio33:
So, after one Weekend with v3.7 I can say, it's running smooth, no other bugs detected. Bluetooth issue is sadly still present :(

But AUX issue is fixed. In v3.6 AUX indeed wasn't working with Car jack. In v3.7 no problems.

Contact Sync is working flawlessly (using OpenGapps)

Battery is okay, but hadn't real Problems in v3.6, no difference..

Thx 4 this fantastic rom <3

As I already mentioned before, I would like the activate the FPC in Screen Off again. Would be awesome, if someone could create sth :)

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] nreuge:
At the price of battery life ? No thanks...
[Xperia Z5 Android Development] whalesplaho:
Tha fpc can be optional... I do really love to use fpc also!

Thanks to [MENTION=1964056]HaoZeke[/MENTION] for fixing tha AUX issue but would like to have tha bluetooth issue fix too....
[Xperia Z5 Android Development] jonoathome:
Change a picture in your contacts and report back.. Also using open gapps here..
[Xperia Z5 Android Development] Mysterio33:
Yeah okay, you're right. Just happened, Contact sync is crashing randomly (sometimes even after I simply open eBay-App?!) Weird..

Gesendet von meinem Xperia Z5 mit Tapatalk
[Xperia Z5 Android Development] jonoathome:
It doesn't like you changing the pictures it seems. Thats what causes it to crash..

For now you will have to turn off Contact Sync in your google account till a fix is issued..

If you want to sync your contacts, make the changes via your webbrowser on the phone.. Clear the data on contact storage and contact sync then re-enable contact Sync to sync back..
[Xperia Z5 Android Development] VejetQ:
60FPS camera

Hello, I'm trying to find a ROM that would let me record video 1080p60fps/720p120fps like on stock ROM. But every one that I install doesn't want to let me so. The only ones that I can record video like that are stock-based ROMs witch are not the best :/ Even there's no Nougat stock-based for Z5. Of course I tried many mods, apps etc, but no one of them is working. App crashes or when I try to record 60fps it just records 30fps. I don't know what else can I do with it... I'm trying to "fix" it since ~two months, and I'm starting to be done with it and install stock ROM ;-; Please, help me if you have any idea :crying:
[Xperia Z5 Android Development] zacharias.maladroit:
hack the imx300.so libraries or ask someone to do it for you,

then combine it with a camera app that can record 60fps (also might need hacking),

then you have that [no guarantees]
[Xperia Z5 Android Development] Azrael6947:
I cannot seem to get F2FS to work. I have tried both v3.7_HZ3 and v3.6_HZ2.

My steps are below -

1. Wipe Cache, Data, System

2. Flash the ROM zip

3. Wipe Cache, Data, System again, convert to F2FS

4. Flash ROM again, onto new file system

But it always ends in error with the recovery being unable to mount the F2FS partitions. I even flashed the recommended recovery again.

Does anyone know how to do it properly?
[Xperia Z5 Android Development] zacharias.maladroit:
The recovery, the kernel of recovery and all other components of the recovery support f2fs ?
[Xperia Z5 Android Development] nreuge:
The less the battery level is, the more the drain appears, or this is my battery dying slowly ??
[Xperia Z5 Android Development] saiz136:
It is normal to happen unless you have the Stamina mode on or some power saving trigger on your kernel.
[Xperia Z5 Android Development] Azrael6947:
I assume so. It is the recovery the ROM developer recommends.
[Xperia Z5 Android Development] HaoZeke:
Those are the right steps...

The recovery does NOT support F2FS.. I couldn't find any which does.

However the system and kernel do so you'll be fine.

I also use it sans recovery support.

EDIT: I compiled and uploaded a new TWRP image for F2FS.
[Xperia Z5 Android Development] jonoathome:
GPS doesn't fix well with this Rom.. I expect it's a kernel issue.. WAZE keeps losing GPS so very hard to navigate.
[Xperia Z5 Android Development] HaoZeke:
Probably not a kernel issue.. You're welcome to try another kernel... Zach builds several for this as well :)
[Xperia Z5 Android Development] thanhnguyen2075:
Xposed with magisk full work, sir?
[Xperia Z5 Android Development] HaoZeke:
Someone reported that the unofficial xposed is not working... I haven't tested it personally though.
[Xperia Z5 Android Development] thanhnguyen2075:
Ok, i'm waiting :(
[Xperia Z5 Android Development] whalesplaho:
I tried modding tha systemui but it fcs.... I even decompile and just recompiled tha systemui without editing n pushed to phone but it still fc... Anyone tried modding systemui please?

Thanks...
[Xperia Z5 Android Development] nreuge:
Yes, no pb for my part
[Xperia Z5 Android Development] jonoathome:
I get much better battery life from your kernel, less overheating too..

Zachs kernel however GPS worked fine, but that was on your previous version.. Not tried on this current version..
[Xperia Z5 Android Development] Siwarudraka:
Anyone, can i install this rom without twrp ? what method i can do ?

p.s : I cant unlock my bootloader because that i cant use TWRP

Thanks
[Xperia Z5 Android Development] Zaisesl:
Is only for unlocked bootloaders
[Xperia Z5 Android Development] saiz136:
If you can't unlock your bootloader then it's better to sell your phone and get a new Z5 or better phone, or stay in stock without the functionality of root, recovery or flash, and etc.
[Xperia Z5 Android Development] Danukz:
Will this Come For Z5P Too :D
[Xperia Z5 Android Development] whalesplaho:
Buddy please help me.... I would be so grateful!!

I cant get it working... Even without editing, just decompiling and recompiling gives fc!
[Xperia Z5 Android Development] Zaisesl:
Are you using apktool of ticlke my android? Because it gives a log when you finish to recompile. Maybe there said which is the problem
[Xperia Z5 Android Development] nreuge:
I've never had any compilation issue with LOS & crDroid

I'm using Tickle My Android v 14.4.0.2 (with apktool v2.2.2)

Don't forget to install the rom framework file...
[Xperia Z5 Android Development] whalesplaho:
Yeap i have tha rom framework-res.apk installed... I m using BDFreak tool with apktool v2.2.3 and v2.2.5 and same!

Will try TMA!

Thanks...

---------- Post added at 09:41 PM ---------- Previous post was at 09:38 PM ----------

BDFreak Apktool with v2.2.3 and v2.2.5 ....
[Xperia Z5 Android Development] nreuge:
Yes, but below 45% battery level, the drain is twice the normal drain... It shouldn't. Either this is a rom issue, either my battery is dying.

Guys, what do you think ??
[Xperia Z5 Android Development] saiz136:
The more you use the phone, the more heat it gets, the more the battery is stressed, plus background apps that keeps draining your battery if not hibernated properly.
[Xperia Z5 Android Development] nreuge:
I do know all that.

But for a given usage, listening for music for instance, the discharge rate is about 3.5%/h (quite normal), but when my battery level is below 45%, the discharge rate is about 7%/h.

So, either this is an issue with the rom/kernel miscalibrating the battery, either my battery is dying....
[Xperia Z5 Android Development] saiz136:
Well, so far LOS drains more battery than stock, either because of rom or kernel. And if your phone is about a year old, you might notice power deteriorating. The best thing is to tweak a little bit on kernel, or power saving features, also Greenify which can hibernate apps.
[Xperia Z5 Android Development] nreuge:
Yes, my Z5 is 21 months old... If its battery health decline is confirmed, I'll have to invest in a new battery soon... I'll wait for the 2018 Xperia flagships to buy a new phone (I know why but don't ask me pls...)
[Xperia Z5 Android Development] saiz136:
I'm waiting for Pixel 2!
[Xperia Z5 Android Development] HaoZeke:
New build out.

Basically an optimized version of the previous release (which was largely stock crdroid)

I say go for it.

For best results, use MicroG, switch to F2FS (use the recovery in the downloads tab) and please don't change kernels (if you go for F2FS)

I say don't change kernels because of the custom toolchain used for both the ROM and kernel. (apparently necessary for performance)

Changelog:

Rom and kernel builds with UBER (4.9) and SDCLANG (3.8.8)

Upstreamed kernel (85 --> 105)

Added Backported Binder (credits to [MENTION=3037651]zacharias.maladroit[/MENTION])

Archidroid Optimizations (yep those) [v4]

Misc stuff

If you do plan to use a custom kernel please do remember to check that it has:

My F2FS bringup (check my kernel source and merge the f2fs branch) [VERY IMPORTANT]

Uber GCC 4.9 (ideally, not that important)

[MENTION=3037651]zacharias.maladroit[/MENTION] maybe you could check the f2fs branch out? Custom kernels without it will crash for users who opt for f2fs otherwise...
[Xperia Z5 Android Development] zacharias.maladroit:
Now that's an exciting new release :good: :cowboy:

Please tell which f2fs remote branches or commits you merged / cherry-picked,

since I'm clearly NOT going to merge your branch with my current kernel stuff :p

(since there are also tags with commits / changes behind which I afaik cannot cherry-pick easily, haven't use git merge or pull in a while,

cherry-pick is so much cleaner)
[Xperia Z5 Android Development] HaoZeke:
Actually I did the f2fs stuff a while ago... I think I basically followed my way upstream to the latest f2fs commits from Jaegeuk starting from the oneplus kernel sources till everything worked...

The branch here https://github.com/HaoZeke/HZ_Kernel_sony_msm8994/commits/HZ_Kernel_f2fs was prepared for LineageOS's gerrit (except the last two commits there)

So it should apply cleanly to any lineage source...

Otherwise... I think there are a LOT of commits... something like 2000.. >.<

I believe it's also on gerrit with the topic f2fs_v1

(that can be applied from a lineageOS source folder with a simple repopick -t f2fs_v1 )

The repopick version has the benefit of also including the kitakami fstab changes required for everything (rom, and recovery) to play nice...
[Xperia Z5 Android Development] anjelz2012:
please port to z5 premium
[Xperia Z5 Android Development] Norup58:
So just to make sure I understood it correctly, if I want to get the full benefit of your ROM (F2FS being faster than EXT4) one needs to:

•	flash your compiled TWRP (F2FS) via ADB or can it be flashed via already installed Recovery (in my case: TWRP 3.0.2) ?

•	Reboot, re-enter Recovery and then flashed the ROM?

•	Will the external SDcard automatically be reformatted to F2FS?

•	Will a backup created in EXT4 be compatible with the F2FS format?
[Xperia Z5 Android Development] HaoZeke:
It's a little bit more involved...

So first you can try to use your current recovery but then you cannot read the data partition after changing to f2fs

The steps are :

1.Flash my TWRP

2.Backup your internal sdcard (/data)

3.Reformat /data and /cache to f2fs

4.Flash the rom

5.Flash a super user manager (SuperSU or Magisk)

6.Flash your gapps poison (real gapps or microG via nanomod)

7.Reboot

8.Profit.

Anytime after the reformatting (2) you can restore your internal sdcard backup..

There are some guides on converting to f2fs on XDA somewhere as well..

Note : Do not convert the external sdcard to f2fs..there's no point and its unsupported..

Twrp ext4 backups can be restored on f2fs partitions.
[Xperia Z5 Android Development] whalesplaho:
Thanks for tha update brov.... Is bluetooth fully fixed now??

---------- Post added at 01:19 PM ---------- Previous post was at 01:15 PM ----------

Its working perfectly now..... Thanks brov
[Xperia Z5 Android Development] jonoathome:
Update broken com.android.phone keeps crashing, using micro gapps, rolled back previous version.
[Xperia Z5 Android Development] albrow:
Same here. Using opengapps (Aroma installation). Rolled back to previous version with latest opengapps - works fine.
[Xperia Z5 Android Development] zacharias.maladroit:
Hm, those ArchiDroid optimizations are DA **** ! (in a good way) :good:

luckily we're using LLVM / CLANG for that otherwise the ROM would crash and burn (take a look at the gcc bug-tracker, there are lots of issues with graphite optimizations - among those broken code)

edit:

Are any special steps needed to add F2FS support to crDroid (actually LineageOS), the ROM itself ?
[Xperia Z5 Android Development] whalesplaho:
No such issue here.... Im using micro opengapps and working fine!
[Xperia Z5 Android Development] HaoZeke:
Just the kitakami fstab changes..

It's on Gerrit..

https://review.lineageos.org/#/c/184163
[Xperia Z5 Android Development] jonoathome:
Fresh install or Dirty flash?
[Xperia Z5 Android Development] zebasketteur:
what about battery life and SoT in the last rom version ?