yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] HaoZeke:
Well... Of course it's impossible to expect Sony to release the camera blobs before the official android seven update...

As soon as they do release the sources the camera should be much much much better within a day itself.

Interestingly the main issue is resolution. If the camera resolution is reduced the chances of opening are higher.

Basically the camera is slow. It's the apps which raise the error and crash.. That's why non dedicated camera apps like the Instagram or WhatsApp one perform better... They simply wait longer for a response from the camera drivers....
[Xperia Z5 Android Development] HaoZeke:
Not yet... You could try the sound mods but most do cause boot loops so be very careful..

I'd actually be interested in including any which work so if you try do post feedback
[Xperia Z5 Android Development] HaoZeke:
That's... Well... I haven't seen it on any aosp kernels like I said.. But I think I saw a post about including it for snapdragon devices.. Will take a look soon
[Xperia Z5 Android Development] HaoZeke:
Well... Has this occured on an older kernel too?

No other single sim user can support this?
[Xperia Z5 Android Development] Kishan_Diepa:
Hi sorry for the late reaction. I've tried kernel version 2.99b1b and this one seems to be working. Having no problems with Bluetooth.
[Xperia Z5 Android Development] HaoZeke:
Thanks a lot ... I'll compare the configs and look into how it happened..
[Xperia Z5 Android Development] syl0n:
Whatsapp calls/messages is not coming through when screen is off/locked. Ideas?
[Xperia Z5 Android Development] HaoZeke:
Did you install naptime? If so you need to make sure WhatsApp is not optimized...
[Xperia Z5 Android Development] syl0n:
I had naptime but deleted it but it didn't fix the issue?

Also my wifi keeps shutting off even though its configured to stay on?
[Xperia Z5 Android Development] HaoZeke:
Did you disable the WiFi wakelocks? (actually I've disabled the wakelocks but my WiFi still works ok)

No deleting won't fix it... Just change WhatsApp to don't optimize..

Actually naptime sets values using root. Those aren't restored on uninstalling...

Which device by the way? And kernel version?
[Xperia Z5 Android Development] syl0n:
What are the WIFI wakelocks and how to enable/disable them?

My device is E6653 single SIM and latest PixN 3.3 kernel
[Xperia Z5 Android Development] HaoZeke:
Well they're enabled or disabled using kernel aduitor.. Or any other kernel management app...

Single sim... >.< it's very strange how a lot of people with the single sim face very strange problems..

Could you try kernel 2.99b1b or another older one?

A few posts ago [MENTION=1677271]Kishan_Diepa[/MENTION] was having Bluetooth issues which were fixed by that kernel...

But the WhatsApp fix is simple and a rom thing. It's the WiFi thing which is kernel related if at all...
[Xperia Z5 Android Development] syl0n:
I have no issues with bluetooth at all. Will try downgrading kernel. BTW do you have any plans to make CM14?
[Xperia Z5 Android Development] HaoZeke:
CM is dead so there's no point....

Anyway I've added a lot of cm tweaks in this...

I am working on android 7.1.1 (which corresponds to CM 14.1)

CM used to be my go to rom some years ago.. I used to base my xperia z3 roms off them...
[Xperia Z5 Android Development] syl0n:
Yeah sorry I meant Lineage OS.

Any how thanks for your help! I will report back if downgrading kernel solves my Wifi. Keep up the good work. This ROM is almost perfect only needs Camera and FP fixes!
[Xperia Z5 Android Development] HaoZeke:
Umm.. What's fp?

The biggest real issue is that cm based roms need caf based kernels... That opens whole new horizons of instability and then we'd be waiting not just for camera blobs but loads of other qualcomm sources...
[Xperia Z5 Android Development] syl0n:
Fingerprint
[Xperia Z5 Android Development] HaoZeke:
Oh, definitely. I hate not being able to use that. I've almost forgotten what it feels like to unlock with my finger :/

My new plan for both camera and fingerprint is back porting from marshmallow... Except I can't figure out which files are relevant to the fingerprint sensor yet... :D

That and android 7.1.1

Too many ideas, too much college coursework :/
[Xperia Z5 Android Development] TonskuDaigle:
I've E6653.

I had some problems with installing this and TWRP. Am still a bit afraid to install anything more permanent like the apps themselves in case something goes wrong :)

The symptoms remind me a lot of what happened with me and fergy's CM14 build quite some time ago.

But enough of those. I thought I had the instructions on how to do it all nailed down, but I suppose something just didn't go as planned.

What happened was that I did like the instructions said. Fastboot boot.img, then system.img and lastly twrp. Then installed the kernel from its thread. Started my phone and got to PixN version of my OS that I had previously installed. Got force close errors so I went to TWRP to see what's wrong and I got "invalid argument" errors all over the place whenever I tried to do anything. So I used TWRP to factory reset the whole thing and did the fastboot part again (boot, system and twrp, but no separate kernel anymore, just the one from this thread's 7z). This worked and the phone had been nullified as the data part was wiped as well.

So now I had the basis covered. But out of curiosity I went to TWRP to see what's going on in there and no matter what I did, I got error messages there as if it couldn't find anything. When rebooting the phone, it said I had no OS. But I rebooted anyway a few times, installed SuperSU 2.79 and ViperAndroid just to see if TWRP gives errors or if the OS gave errors while using the ROM. Needed SU for AdAway which is working fine now.

Am hoping to use Xposed at some point without problems too. Will probably try sooner rather than later.

Sure enough the camera wasn't working and isn't. I installed Open Camera and it does force close every now and then. But I rarely use camera anyway so as long as I got Whatsapp Web working, I was fine. And I did get it to work :)

I did enable 23MP mode from the extended settings.

Other than all of this, the ROM is very nice. The launcher I'd like to change to Apex as I'm used to it and I've certain settings that make it feel like it's what I want.

So, as for the ROM. Some pros and cons:

+ the PixN settings

+ very fast feel and decent battery life

+ debloated to my liking so no Sony s**t like Lifelog or What's New

+ Substratum although the lack of themes is still quite obvious

Negatives I just about covered in the beginning so perhaps it's the installation procedure and reliability regarding the procedure.

As for suggestions:

- ability to add menu button to navigation bar would be nice
[Xperia Z5 Android Development] HaoZeke:
Well, it shouldn't give you any grief... That's why I use AOSP as the base, so much more inherently stable than the weird CAF hybrid which CM became...

I've got this as my stable driver until two days ago when I started stress testing the new 7.1.1 version.

There probably won't be any xposed for android 7.1.1, are there any special features you miss?

I thought I might've added nav-bar settings... I'll recheck...

Did you got for the suggested TWRP? I never had any issues with that, though I only use it for magisk... That and full backups (NANDROID)

I can't imagine there being any problems changing to other launchers.. I use Apex myself, but I kept this as the default as I don't like defaults which advertise... There are of course as yet painfully few Substratum themes, some of them are frankly not up to the mark at all, even the paid ones...

Maybe if I ever get a break from Rom and kernel tweaking I'll put one out.. Kind of like westcript had a signature RR theme...
[Xperia Z5 Android Development] TonskuDaigle:
As i was typing about Xposed in my previous post, I wondered if it had even been released. But I assumed it had been since it's been quite some time since the Nougat came out.

I was wrong so enough of that :)

Yea I installed the 3.0.2 TWRP.

I've the Apex pro version so I don't know about ads. Along with AdAway all ads usually just don't show up. I like CM theme engine a lot and am sort of hoping to see something similar around at some point. Be it Substratum or anything else, as long as it works and has a variety of themes to offer. Sony's own themes tend to be either just about colors or way over the top with silly icons and whatnot. Pains me when I can't change just certain parts.

What I used the Xposed for was mostly for small snippets like (that are not included in your ROM already or haven't found them):

- the three dot menu and different navigation buttons (with the help of this module)

- XNotifications

- GravityBox as it has the option to add volume steps and quite a few other tweaks, but the volume steps is what I like
[Xperia Z5 Android Development] HaoZeke:
The biggest problem with the theme engine.. (I thought of porting it) is that it doesn't work in 14.1

The same problem... Themes needed to be updated... Which is why I chose substratum..

If there really are more themes there I might look into swapping substratum for cmte but it'll be a major rehaul... The commits for substratum are over 67 or so in multiple places.

Volume steps I can add but probably not user changeable.

This rom has adblocking inbuilt anyway ? via the hosts file...
[Xperia Z5 Android Development] TonskuDaigle:
Another Xposed feature I noticed using is the Marshmallow SD Fix which allows to write on SD card. It basically gives the possibility to pick apps with this permission, boot and voilá.
[Xperia Z5 Android Development] HaoZeke:
Well there's a similar Magisk module which basically exposes the external sd card through a mount point which is accessible by all apps..

This one to be exact

http://xdaforums.com/apps/magisk/magisk-v9-module-sd-write-access-t3503988/page2
[Xperia Z5 Android Development] syl0n:
Tried older kernels, wifi is still shutting off sometimes then takes a few seconds to come back on.
[Xperia Z5 Android Development] HaoZeke:
So I finished an optimized 7.1.1 build... Will probably upload it today after a few hours of testing probably...
[Xperia Z5 Android Development] DeathStroke:
Happy New Year bro. Well 2016 passed and we weren't able to get Nougat. Feeling hopeful this month??

and then i wish, you fix everything fast?
[Xperia Z5 Android Development] HaoZeke:
Happy new year to you too :D

I spent the whole night working on the 7.1.1 release so I'm beat for now..... Were there any aosp versions with a good camera? The marshmallow sources are out but the camera didn't seem to be much better...
[Xperia Z5 Android Development] husky69:
WiFi is stable for me, but WiFi Hotspot and Bluetooth randomly switch off on their own, with Bluetooth sometimes coming back immediately most of the times - but till then all audio has stopped :(

Using kernel 3.3 for now
[Xperia Z5 Android Development] TonskuDaigle:
From MM ROMs too? I've only tried Existenz and both SlimX and RomX. All of them had good camera.

You mentioned that you'd be having an update for us soon. Pardon my own stupidity, but I'm new with this fastboot ROM flashing after years of TWRP/CWM so you mind telling how to update? :)

Is dirty flash ok or a clean install preferred?
[Xperia Z5 Android Development] HaoZeke:
Firstly... Nothing polite is ever stupid :)

I always dirty flash the system....

Whenever you flash the kernel you'll need to reinstall your root method by twrp... Or if you're using Magisk just reinstall the main Magisk file... Modules don't need to be reinstalled...

Also with 7.1.1 it turns out the update is handled in the background.... I'm really rather impressed with it... So now that I got up I'll be putting the final touches and updating the op in a few hours..

Well... Those roms are stock based.... There's a difference between them and the open source ones..

A simple example is how certain drivers only work on stock roms or how the cyberian camera and others never work on non stock roms...

Has anyone here checked the camera on cm13 or aosp 6.0?

EDIT: - the update I'll be putting will probably not include a kernel file as I've not made any kernel changes yet and I'd rather not confuse people...

Or maybe I'll just leave it up to the user... I know somehow the kernel thread is rarely seen.. :D
[Xperia Z5 Android Development] HaoZeke:
That sounds like a serious issue...

If possible could you report this on the kernel thread?

I usually develop in an either or manner (either kernel or rom)

So it's easier if the bug reports are separately too...

Also... Maybe the new update might help (not sure since it's a rom update and this seems kernel related...)
[Xperia Z5 Android Development] HaoZeke:
I seem to be having trouble uploading the latest... It just stuck at the attaching stage.. After its md5 hash is displayed.... :/

Anyone got suggestions for places I can upload to?

I've also thought of setting up an ota system if I get enough time..
[Xperia Z5 Android Development] HaoZeke:
Well, sorry people, the DevDB upload is just not working.

I've applied for a basketbuild account. Hope I get it.

I'll be informed in 2 days apparently.. Says it might even take a week.

Any suggestions? I hate AFH (too many ads) and dev-host is not recommended by XDA...

Dropbox is impossible, I only have free account.

I'm open to other suggestions.
[Xperia Z5 Android Development] DeathStroke:
Google drive. ? many Dev's are using that.
[Xperia Z5 Android Development] HaoZeke:
Unfortunately.... I'm out of space there...

I guess eventually if the basketbuild request fails I'll have to make a new account for this on gmail...

Considering each build is ~520 MB and I have to upload each twice for both devices each Google account will only last for around 15 releases... That's discounting the kernel portion
[Xperia Z5 Android Development] L33Tgod:
Just use mega.nz you get 50 gigs and maximum speed.
[Xperia Z5 Android Development] zacharias.maladroit:
Just delete the older ones, the latest 2-4 releases should be enough :)

Good to know !

Thanks
[Xperia Z5 Android Development] HaoZeke:
Well, as per popular demand, new release is up on MEGA. :)
[Xperia Z5 Android Development] TonskuDaigle:
I haven't installed v5 yet, but as I was about to make a backup in TWRP, i got a bunch of "failed to mount" errors in the log.

Failed to mount '/system' (invalid argument)

Others besides system are: data, cache, firmware, appslog, oem, persists, lta-label, diag

At the beginning of the log it says:

E:Unable to find partition size for '/boot'

E:Unable to find partition size for '/FOTAkernel'

E:Unable to find partition size for '/ta'

E:Primary block device '/dev/block/bootdevice/by-name/userdata' for mount point '/data' is not present

E:Unable to find partition size for '/modemst1'

E:Unable to find partition size for '/modemst2'

Failed to mount '/data' (invalid argument)

Unable to recreate /data/media folder.

Updating partition details.

Then a bunch of those failed to mount variations. Then "...done" and "Full SELinux support is present."

So when I tried to take a backup, it doesn't find anything so there's nothing to back up.

And when exiting TWRP, it tells me there's no OS installed.

Something's not right and this is a problem as sometimes TWRP works just fine without errors, but sometimes it just gives all of these errors and nothing works :)
[Xperia Z5 Android Development] DeathStroke:
downloading on mega sucks.[emoji16]
[Xperia Z5 Android Development] HaoZeke:
I've always been making backups without any problems.... Maybe you should post this on the twrp thread linked in the OP?
[Xperia Z5 Android Development] HaoZeke:
Well soon the DevDB thing will be back soon... Hopefully.

I heard its related to XDA switching to https...
[Xperia Z5 Android Development] L33Tgod:
it sucks without browser extension, with it it goes like on torrent, max speed
[Xperia Z5 Android Development] L33Tgod:
i installed v5, everything is fine except settings, like if i want to open display or security etc it just crash, what to do. i did wipe and everything
[Xperia Z5 Android Development] zacharias.maladroit:
Can anyone please write about the standby battery drain in Airplane mode (including aggressive doze via e.g. Greenify) ?

Last time I monitored it on Omni Marshmallow it was 0.5% per hour which is way too much compared to Sony's Stock ...

Thanks
[Xperia Z5 Android Development] Sh4douw:
Look at the wakelocks. Maybe you have the same issue than me
[Xperia Z5 Android Development] HaoZeke:
I just checked and display is crashing on my device too...

I'll add it to the bug list and resolve it asap...

I'm not able to replicate a crash in the security settings though... Could you be a little more specific about how to cause that?
[Xperia Z5 Android Development] HaoZeke:
Hey have you tried it recently? I was plagued with that weird wake lock too...

At least for me it disappears when I turn off adb... Turns out it was having trouble figuring out if the USB was disconnected (for adb).
[Xperia Z5 Android Development] zacharias.maladroit:
Nope, wasn't that,

I even used Amplify and others to block wakelocks,

I looked through the kernel source of PixN Kernel and it already has some of the latest battery improvements I included in SunKernel

so the situation should be at least somewhat better,

that's why I want to know how current stats are on this ROM.

There are still some recent issues which are being discussed on Hangouts though ...
[Xperia Z5 Android Development] HaoZeke:
Well I've never tested in airplane mode... However with regular use it's never more than 1-2% idle, even with WiFi on.

That's using naptime for a similar (better?) agressive doze.

I should hope it's improved from omni marshmallow :D ( even base nougat is supposed to be improved over marshmallow..)

If anyone would test this I'd be glad to update the op with it...
[Xperia Z5 Android Development] zacharias.maladroit:
That's with Mobile Radio on, right ?

Sounds like that should be comparable to Stock then,

I'll see if I can find some time, will give you a list of some of the more recent battery savings related commits that should improve it significantly,

Having a Stock ROM + Kernel is nice but we need some more choice (and this ROM *IS* choice) ;)

So cam still crashes but it's usable after all ?

As long as it doesn't bring down the phone and reboots and only FC occasionally, it's "fine" for now ...

Anyone tried a 128 GB exfat formatted microSD ? Does reading exfat work now ?

I found some hits on the forum search but that didn't answer it

Thanks

edit:

What version of LLVM is this building with ?
[Xperia Z5 Android Development] HaoZeke:
Thanks for the praise :D

Well this is built with the aosp dev branch llvm.. 3.9.1

Exfat.... I don't think it's ready yet.. It needed more work in the vold section is required... Kernel side it should be ok though..

I have a working 128gb sdcard but it's vfat.

Yup the battery is reported with mobile data on..

I'd love a list of commits related to any fixes and optimizations :D

I was wondering if multirom has been implemented kernel side yet... That'd really fix everything. I could boot to stock when I'm going out and need the camera to work and otherwise stay with my own build...

I haven't run into any system fcs or reboots since version 4.... Yup cam is usable, though its frustrating to be the last person ready with the cam at parties :D

Also, the stock kernel seems to have a completely different camera framework... So it wouldn't help much to try diffs and ports from it...
[Xperia Z5 Android Development] TonskuDaigle:
The security settings crashes when you're attempting to enter security settings from main settings menu. Just force closes. Same with display settings, media&notification (pixn settings).

Other stuff:

- status bar battery % inside circle doesn't work, worked in v4

- the Superuser root access manager is a bit distracting as I have SuperSU installed, now when I try to enter SuperUser, it also force closes. I actually disabled the whole program, but when I enabled it again and rebooted phone, the menu item was gone :D

Did you check if the navigation bar menu button was in your ROM already?
[Xperia Z5 Android Development] HaoZeke:
Actually I'm redoing all the features for 7.1.1 based things...

I'll check if I can't implement a supersu or Superuser thing..

The status bar battery thing is in the op as a known bug...

My media and notifications are crashing too..

However, maybe it's because I dirty flashed? My security settings are working fine. I checked by changing the screen lock pattern...

I guess I'll have to rebuild the entire settings or check if the corresponding features exist in my code..
[Xperia Z5 Android Development] TonskuDaigle:
You mean because I dirty flashed? :)

Could be. Right now I'm less worried about the bugs in the ROM itself right now and a bit more troubled by the TWRP errors messages because they're saying as if there's nothing on my internal memory :D

However, I'm working on that.
[Xperia Z5 Android Development] HaoZeke:
Nah, to the best of my knowledge, dirty flashing will never be an issue with this rom.

Actually, sometimes it's even recommended, that way you'll get your settings preserved :D

I'll get back to the Rom after a quick kernel update (which should be out in a while).

Then sometime a bit later, I'll iron out the bugs and get this back on track..
[Xperia Z5 Android Development] TonskuDaigle:
Have you thought of making an installable zip of the rom now with mega available and basketbuild + ota in the near future? Would make the installation and all a whole lot simpler and I'd presume more "invalid user" friendly :D
[Xperia Z5 Android Development] husky69:
Using v4 I can't get camera to work anymore, it stopped working a few days ago. Tried Open Camera, Google camera, CamScanner, ProShot and few more apps, to no avail. Reboot doesn't help either.

Any hints how to solve?
[Xperia Z5 Android Development] TonskuDaigle:
Camera is an issue to pretty much everyone using the ROM.

HaoZeke opened up this issue a bit in the following post:

https://xdaforums.com/showpost.php?p=70281670&postcount=206
[Xperia Z5 Android Development] HaoZeke:
Well I have but, the issue is I'm working at a fast pace. Creating the installable zip takes another good ten minutes. Plus then there's the whole dirty flash clean flash issue.

This is so much faster. Plug in.

adb reboot bootloader

fastboot flash system system.img

fastboot reboot

:D

However I will definitely do the ota thing if I get a basket build account. Haven't heard back from them..

I'm working on the settings bugs. Fixed the lockscreen and media notifications one.

Once I fix the display one and add some features I'll release the upgrade.