yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
Don't forget that RR has an in-built Wakelock Blocker !

I get very high partial wakelocks for *alarm* and *launch* which make no real sense

gotta see if that helps :)

Also be aware that certain wakelock are actually NEEDED for clock/alarm, so if you're disabling it - you'll most likely miss out on important dates :cowboy:
[Xperia Z5 Android Development] klemen241:
this is true, first time i experimented with locks blocks my alarm didnt wake the phone up haha. Also do you suggest flashing stock N or do i just flash over MM, and what recovery to use
[Xperia Z5 Android Development] spat24:
hi,

[MENTION=3037651]zacharias.maladroit[/MENTION]

to install this version in this post, i flash kernel first and this fabulous rom after ?? isn't it ??

Sorry for my french English :D and thanks
[Xperia Z5 Android Development] Push3r:
Hey zacharias,

after dirty flash new build 20170402 i have System FC after restart....

switch back to first 20170320 build with I.4_6 kernel. (Now i have much better DeepSleep with new Kernel...)

How can i send a logCat when my system FC after restart ??? Not operable with system forceclose :confused:
[Xperia Z5 Android Development] spat24:
Hi,

i'm just finish to flash this awesome rom with lots of things inside....

thanks

the bootanimation is amazing

Edit : [MENTION=3037651]zacharias.maladroit[/MENTION]

first, i would to thank you for this rom.

all is good for the networks (cellular data, wifi and bluetooth with my watch) it's very fast on 4g+ (i'm on Bouygues). The Sound is better than stock rom.

just one problem, the battery drain but i just flash the rom yesterday and i'm going to wait fiew days.

I'm Phonandroid's member and i share about your rom in the forum.

Really good job, Thanks.
[Xperia Z5 Android Development] anjelz2012:
work in E6853?
[Xperia Z5 Android Development] spat24:
Hi,

I'm go back to another rom to try.

This rom is really good but i had some troubles with Bluetooth in my car and during calls.

Thanks
[Xperia Z5 Android Development] klemen241:
Rom is great, everything works and tons of modifications available. Just need to test battery
[Xperia Z5 Android Development] 4RM4N1:
any informations about battery life would be nice. Looking for a new rom since SlimX didn't have a update in a long time.
[Xperia Z5 Android Development] klemen241:
i would say moderate, better than linage and worse than slim
[Xperia Z5 Android Development] CaeLum764:
Deleted

Reason: Error on my end.
[Xperia Z5 Android Development] ReversedPosix:
When will the new build come?
[Xperia Z5 Android Development] Zaisesl:
[MENTION=3037651]zacharias.maladroit[/MENTION] for now the only thing i miss is the fingerprint sensor. And this rom is perfect, i love it. Maybe you can add ambient display? Or if its in the rom i didnt saw, sorry.

And is this abbandoned? or just delayed?

thanks!
[Xperia Z5 Android Development] balrajs99:
[MENTION=3037651]zacharias.maladroit[/MENTION] will you update this rom with fps fixed?
[Xperia Z5 Android Development] Azrael6947:
Cannot change SELinux to permissive

Has anyone had any luck flipping SELinux from enforcing to permissive? I'm needing to change it over for Magisk Hide but nothing will flip it, it is stuck on enforcing.

Any help would be really appreciated.

Also, great ROM. Works flawlessly, good camera and everything else.
[Xperia Z5 Android Development] L33Tgod:
Kernel adiutor, init.d, new script :

su

setenforce 0

save and check apply on boot
[Xperia Z5 Android Development] Azrael6947:
I tried that, along with trying the switch in the settings, and a magisk script. None of them work and they end up disabling Magisk and killing root permanently, requiring me to reflash the kernel and the magisk.
[Xperia Z5 Android Development] L33Tgod:
Root with supersu and then use this method.
[Xperia Z5 Android Development] zacharias.maladroit:
New release is available

Folder:

https://drive.google.com/drive/folders/0BykGGWB96CBQek5aYnA3ckI3YW8

ported Nova kernel ("NovaCore") is also available [had to build single and dual sim kernels separately, microSD works]

security patchlevel August 5th, built-in spoofing for microG (not tested)

unrooted by default ...

kernel needs a bit of additional security changes but it's patched up already against "Stack Clash"
[Xperia Z5 Android Development] zacharias.maladroit:
good grief that hotplug and thermal handling is horrible :eek:

the kernel needs changes ...
[Xperia Z5 Android Development] zacharias.maladroit:
Just a heads-up,

if you're having a big microSD card and lots of Music, videos, etc.

the following will happen:

Magisk v13.x is active A LOT of the time for me,

currently the system was indexing the media (android.process.media),

but com.google.android.gms also is draining a lot for whatever reason

luckily the ROM has a specific wakelock / alarm blocker and also can block wakelocks for that via PrivacyGuard

still: if you don't need to pass SafetyNet , give Magisk v12 a try if v13 is draining for you too much ...

media scanner has trouble with small, large, etc. files,

so creating a .nomedia file took care of it
[Xperia Z5 Android Development] zacharias.maladroit:
afaik that problem meanwhile should have been fixed (in lineageOS base, so it should also work here),

haven't gotten to test it yet though

no volte support that I know of
[Xperia Z5 Android Development] s.hossein:
Google maps force closed after flash microg
[Xperia Z5 Android Development] zacharias.maladroit:
thanks for the testing,

do other apps relying on the location services work ?

microG is currently WIP, I haven't even managed to get location services to work in my last test on CarbonROM :angel:

CC: [MENTION=1964056]HaoZeke[/MENTION] do you have experienced any similar issues ?

I'm using the following line on local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="packages/apps/GmsCore" name="microg/android_packages_apps_GmsCore" remote="github" revision="master" />
</manifest>

Kernel got updated

https://xdaforums.com/showpost.php?p=73575026&postcount=2157

Changelog

line_discipline bluetooth driver has been reworked - should work more reliable

fixed dt2w - works now

raised mitigation frequency to 960 MHz, while the device it hot it should be more smooth, fluid now (thermal engine/throttling still makes sure it doesn't get too hot)
[Xperia Z5 Android Development] UriahNazarian:
Omggggggggggg

Please release this rom for z4

As usual, You don't have z4 Probably ?
[Xperia Z5 Android Development] saiz136:
Anyone having issue with Google Maps wakeup? Using the latest kernel.
[Xperia Z5 Android Development] zacharias.maladroit:
could be the signature faking for microG, not really sure if there's a connection here

you're using gapps, right ?

Anyone else ?
[Xperia Z5 Android Development] saiz136:
Yeah, actually PicoGapps, then installed Maps on PlayStore.
[Xperia Z5 Android Development] zacharias.maladroit:
No, but luckily z4 is in the same family (kitakami) ;)
[Xperia Z5 Android Development] sirdoha:
Zach-sama recently successfully ported RR for the Z4 here: [ROM][7.1.2][E6533/53] Resurrection Remix N 5.8.4 for Xperia Z4 (ivy) [UNOFFICIAL]

Finally, Z4 users have a great stock rom. what a relief after suffering from the "hot and sexy" snap810 :silly: Happy flashing!

---------- Post added at 01:25 PM ---------- Previous post was at 01:12 PM ----------

anyone know how to switch from Carbon ROM to RR without losing data? what should be wiped or kept? thanks in advance
[Xperia Z5 Android Development] zacharias.maladroit:
Titanium Backup Pro is probably best bet - look around for "batch restore" or similar

https://android.stackexchange.com/questions/40883/selective-batch-restore-in-titanium-backup
[Xperia Z5 Android Development] saiz136:
Yeah I also recommend Titanium Backup, for games, backup obb or data folder manually by copy and paste on your SD card and put them back when restoring. Restore the app first before the files.
[Xperia Z5 Android Development] sirdoha:
Thank you guys. I'm flashing RR!
[Xperia Z5 Android Development] zacharias.maladroit:
Just noticed the following:

MusicFX app has its effects enabled by default (both for speakers + headphones),

so that might cause a higher battery consumption.

Disable the effects and battery consumption might be much lower (allowing the offload to work).

If you're using additional sound mods that, of course, also increases the battery consumption and prevents the offload of audio processing to kick in,

keeping the CPU active
[Xperia Z5 Android Development] Zaisesl:
Thanks. I really love this rom. But is there any chance you can add ambient display?

Thanks in advance
[Xperia Z5 Android Development] saiz136:
[MENTION=3037651]zacharias.maladroit[/MENTION] you mentioned to me about magisk high battery drain, and disable android logging? How to disable it and does it have negative effects in the future?
[Xperia Z5 Android Development] zacharias.maladroit:
This requires careful tweaking of the doze brightness and other things,

can you point me to a repo or changes necessary ?

I know that it's possible on Stock ROM but didn't figure out yet how to add it to e.g. RR or LineageOS

there's also: https://play.google.com/store/apps/details?id=com.achep.acdisplay&hl=en

Android logging for now needs to be kept on , otherwise Magisk keeps on looping,

I've made the point at the Magisk thread, not sure though if it'll get fixed,

that's obviously a bug, if disabling logging leads to looping and battery draining Magisk behavior ...
[Xperia Z5 Android Development] saiz136:
Yeah, using SuperSU for now! [emoji16]
[Xperia Z5 Android Development] zacharias.maladroit:
New test-kernel for RR,

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

changes include

PDesire Auralia v11.0

improved IRQ handling

(already mentioned)

.

WiFi PowerManagement is back ! (consumption is too high for my taste) - please report for idle WiFi drain

big-core off value has been lowered from 74°C to 68°C which should be way more friendly :eek:

switched to 7.2.1 Linaro Toolchain [testing]

several stability-fixes

optimized compiler flags

several bluetooth stability-fixes, this should make reliability much better (?)
[Xperia Z5 Android Development] sirdoha:
Will this release fix the YouTube distortion audio bug?
[Xperia Z5 Android Development] zacharias.maladroit:
There's no audio distortion in existence for me - so I cannot and will not fix it ;)

You mean with speakers ? with headphones ?

at what volume ? what setting of FauxSound ?

Audio Mods ? you're out of luck :p

Please describe a bit :)

Pushed another kernel, that has more fixes to rfcomm protocol of bluetooth, that should affect Android more.
[Xperia Z5 Android Development] sirdoha:
Well, I think i figured it out. Because I used OgYoutube, which supports Background Music while screen off. Therefore, as the kernel hibernates the background apps to save battery, it disturbs the audio stream which leads to audio distortion.

Btw, both speakers and headphones have this issues. At all volume level (the audio actually stop for less than a second, distorted like an old CD), no fauxsound or any soundmod enabled.

P.s. this also happened when playing music with Internet browser while screen off.
[Xperia Z5 Android Development] saiz136:
Sounds like issue with the app itself, does this also happen on Spotify? I've been using Spotify but no distortion when screen is off.
[Xperia Z5 Android Development] zacharias.maladroit:
New test-kernel for RR,

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

changes include

WiFi PowerManagement is back ! (consumption is too high for my taste) - please report for idle WiFi drain

big-core off value has been lowered from 74°C to 68°C which should be way more friendly :eek:

switched to 7.2.1 Linaro Toolchain [testing]

several stability-fixes

optimized compiler flags

[BACKPORTS] several bluetooth stability-fixes, this should make reliability much better (?)

underclock of the BIG core to 1536 MHz, underclock of the little core to 1344 (best efficiency)

fixed additional Hz references in drivers to prepare for higher timer rate

sched: prefer awake CPUs over idle [might save more energy]

core_ctl: online delay - keep cores offline for 0.5s (500 ms) once unplugged (cooler, makes more sense)

core_ctl: additional fixes

timer-rate raised from 100 to 1000 Hz (smoother, less battery drain, better race-to-idle)

enhanced rwsem implementation for ARM [fixme ? arm64 ?]

re-add of: don't hotplug the perf(ormance) cluster on BCL event, since we're downclocked and cooler, performance should stay at or close to max all the time

qseecom & other few fixes

a few other things not mentioned

P.S.:

if you want a super-quick camera - give the following ZSL (zero shutter lag) apks a try:

https://chromloop.com/2017/02/downl...nexus-2015-phones-base-google-camera-4-3-016/

works great on Z5,

camera taking is seemingly instantaneous :)

30 fps video recording for 720p or 1080p seems available [not tested]

do NOT try 60 fps - that crashes the camera ;)
[Xperia Z5 Android Development] saiz136:
Awesome! About the camera [MENTION=3037651]zacharias.maladroit[/MENTION], I've been using Google Camera stock that comes from Gapps and the pictures taken there are more sharp in my point of view.
[Xperia Z5 Android Development] korom42:
[MENTION=3037651]zacharias.maladroit[/MENTION]Hey bro, we can't thank you enough for the work and effort you putting trying save this phone :cowboy:

I've a suggestion idk if its possible, I'm no programming expert but as I know your kernels are based on AndroPlus source which is discontinued, I found this thread of CM14.1 FrancoKernel from a very respected developer for OP2 which has same sp810 cpu and same specs ? I wonder if it's possible to be ported fully/partially I've no idea how easy diffucult that is .. but it would be interesting to see how it will perform and see a bit of change since he claims it has the best of the best

https://xdaforums.com/oneplus-2/orig-development/kernel-francokernel-r1-20th-march-t3576338 / Source:Github

Oh and also I'm currently working on a balanced thermal engine to reduce heat without losing performance actually maybe even improve it . without need to kernel undercloking I tested on RR + your kernel NovaCore_I.1_n_1_10_C_1_5_4 and seems very promising I'm strictly only on core_ctl when temperature < 54 so slowly and gradually underclocking frequencies ( starting at 36C much better and effective way than stock) until this point I think hotplug is not necessary with my thermal engine settings (at least from the tests I've done) , Above 54 big core are set to 384Mhz and Hotlplug kick in but it doesn't seems that the kernel is reading hotplug temperature from the thermal_engine.conf file .. I guess the kernel has its own values right ? for that I'd to set min online big cores to "4" and its working well cooling down is fast and temperature rarely goes above 50-52C on heavy load I'll post it when ready as soon as I finish all the testing
[Xperia Z5 Android Development] zacharias.maladroit:
Agreed, that ZSL cam is seemingly optimized for faster picture-taking but focus might be a bit out of touch ;)

Hi korom42,

thanks,

not sure why everyone is still saying that the kernel is based on AndroPlus when clearly (since several releases, in fact), it's NOT, it's entirely "original development",

I've taken a quick look at that repo and all of the key commits towards battery saving are already in,

in fact in this kernel there are several additional ones, and lots of scheduler-related changes are purposefully LEFT OUT (cpufreq changes as well, since they have been shown to increase battery consumption significantly),

the battery consumption might NOT be at an ALL-TIME-LOW but it's very close to it,

to get the LOWEST battery consumption the kernel and commits would have to be tested by a per-commit basis for at least 1-2 weeks each which is unfortunately IMPOSSIBLE :(

Also there's the issue with significantly higher battery consumption on the non(Sony)-Stock ROMs,

not really sure (yet) what exactly is the cause for that when e.g. a pretty similar (or even same kernel) is used between Sony Stock and e.g. LineageOS but the battery consumption is still significantly higher on LineageOS,

that's only on the Z5, btw,

on my Note 3 battery consumption on LineageOS or Resurrection Remix is pretty much the same compared to Samsung Stock,

there might be a few improvements on Samsung Stock, but not that extreme like on the Z5.

The thing is not about thermal development / heat generation itself,

it's the much higher battery consumption when going with higher frequencies, I haven't grasped the connection fully yet,

but if you e.g. tried out the early EAS kernels - battery life was seemingly exceptional (even when full performance wasn't available):

The "magic" behind it ? keeping at the lower frequencies as much as possible and highly-efficient frequency-scaling + scheduling.

Okay, please keep us updated - I'm certain the thermal configuration isn't at the optimum in terms of efficiency and coolness,

that shows again the power of the community :D

edit:

I've ported / added a few scheduler changes which didn't work out so well in the past,

let's see how they play out with the current kernel source,

obviously the full-blown scheduler setup drains battery - so perhaps we're more lucky with a rather selective one on top of the existing source ...
[Xperia Z5 Android Development] saiz136:
I have RR back when I have my HTC M8, and I'm glad to have RR on my Z5, and I think this feature of RR for me is I don't basically use, because I don't want some features or notification to be turned off. What are your blocked settings? I really don't know what wakelocks and alarms I should be blocking. [emoji849]
[Xperia Z5 Android Development] zacharias.maladroit:
I don't usually use a wakelock blocker,

only the "*alarm*" wakelock is blocked via the wakelock blocker,

and e.g. ES File Explorer Pro via "Privacy Guard" under "Device"
[Xperia Z5 Android Development] zacharias.maladroit:
New test-kernel for RR [1_8_2]

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

changes include

several scheduler changes that are supposed to send the CPUs faster to sleep (potential power savings)

MUCH lower hotplug and throttling temperatures = cooler [need feedback if the whole concept of the 2 sets of temperatures were understood correclty]

raised the little core temperatures a bit for better performance, less lag

cpu-boost: input boost now with high priority scheduling ! (less lag/latency)

avoid IPI on hot plugged cores (mostly only applies to big cores / less overhead ? more smoother/performance ?)

reverted: optimization flags - this SoC is crap - thus back to little/light optimizations

reverted: WiFi PM

WiFi driver: updated to .160 source [kudos to [MENTION=8041676]GreyLeshy[/MENTION] for diffing the source]

WiFi driver: updated to .436 (Japan) source [kudos to [MENTION=8041676]GreyLeshy[/MENTION] for diffing the source]

WiFi: fixed power saving tweaks so that pre-set limits + settings match

added: PowerSuspend 1.7

added: Adreno Idler

reverted: default frequency of the GPU of 27 MHz (might have been too laggy), need feedback how it works out with Adreno Idler now

RCU: several additional improvements - much less overhead, less wakeups (better battery ? better smoothness ?) + fixed a case where booting would fail

camera: reduce framedrop, reduce latency

camera: fix nullpointer exception

a few other things not mentioned

This needs a quick test if it's more or less stable,

there were a few random reboots (during charging, one after long mp3 playback on PowerAMP) - so you're forewarned,

most should have been stabilized again (reverted flags, etc.),

potential instability could still be there though (7.2.1. Toolchain).

If this is usable, I'll build the other kernels for CR, crDroid, Z4/Z3+, etc.

I'm currently using the Z5 as daily driver since it has the best sound output quality, so not much other development, testing, etc.
[Xperia Z5 Android Development] TrevorAshley:
Which one to download for E6653
[Xperia Z5 Android Development] zacharias.maladroit:
It's pretty simple:

E6653 - single SIM = _sum ending

E6683 - dual SIM = _sum_dual ending

:)
[Xperia Z5 Android Development] zacharias.maladroit:
New test-kernel for RR [1_8_5]

(changelog for 1_8_2 + changes in between)

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

(sort by date to get the latest kernels listed properly)

changes include

several scheduler changes that are supposed to send the CPUs faster to sleep (potential power savings)

MUCH lower hotplug and throttling temperatures = cooler [need feedback if the whole concept of the 2 sets of temperatures were understood correclty]

raised the little core temperatures a bit for better performance, less lag

cpu-boost: input boost now with high priority scheduling ! (less lag/latency)

avoid IPI on hot plugged cores (mostly only applies to big cores / less overhead ? more smoother/performance ?) [tracked down: stability issues - so reverted]

reverted: optimization flags - this SoC is crap - thus back to little/light optimizations

reverted: WiFi PM

WiFi driver: updated to .160 source [kudos to [MENTION=8041676]GreyLeshy[/MENTION] for diffing the source]

WiFi driver: updated to .436 (Japan) source [kudos to [MENTION=8041676]GreyLeshy[/MENTION] for diffing the source]

WiFi: fixed power saving tweaks so that pre-set limits + settings match

added: PowerSuspend 1.7 [stability evaluation, perhaps this helped with much better idle drain]

added: Adreno Idler

Adreno Idler tweaks to make it more aggressive (needs feedback, testing)

reverted: default frequency of the GPU of 27 MHz (might have been too laggy), need feedback how it works out with Adreno Idler now

RCU: several additional improvements - much less overhead, less wakeups (better battery ? better smoothness ?) + fixed a case where booting would fail

camera: reduce framedrop, reduce latency

camera: fix nullpointer exception

reverted PDesire Audio: even though sound was better, there was potential for overflow (?) of buffers and thus recurring "blip" with it and FauxSound enabled, also there was a constant "rrrrrrr" sound on lower volumes -

very annoying

(at least for me - instead of discreet white noise from default sound output) - so going back to non-PDesire Audio for now

enabling High Performance Mode by default for anything else but 24bit/192kHz

additional optimization flags [stable, those have been reviewed to work (fixme: need evaluation for bugzilla on graphite flags)]

FauxSound: unlock microphone settings [this should fix the "too low" microphone]

a few other things not mentioned

Cause for instability seems to have been found ...
[Xperia Z5 Android Development] TrevorAshley:
Thanks man. All the other kernels there was confusing me, but i got it now.
[Xperia Z5 Android Development] TrevorAshley:
How can i switch enforcing to permissive?
[Xperia Z5 Android Development] adoniseu:
Hello everyone

Hi everyone, I had RR on my samsung galaxy s2 and loved it, now i got an Xperia Z5 and I want to install RR on it but not sure which build to choose that will work with my phone, can someone please tell me which build name corresponds with the Xperia Z5

Thank you for the help.
[Xperia Z5 Android Development] sirdoha:
Flash zach's kernel. It automatically set the se linux to permissive.
[Xperia Z5 Android Development] sirdoha:
how to use the Fauxsound?
[Xperia Z5 Android Development] abhijithsvarma:
Thanks for this amazing rom

You are gr8 bro. This is better than lineage os 14.1 . Gr8 work bro. Keep it up. Now waiting oreo version.
[Xperia Z5 Android Development] zacharias.maladroit:
FauxSound Sound Control, EX Kernel Manager, etc.
[Xperia Z5 Android Development] adoniseu:
hi

can you tell me what file you downloaded for the xperia z5, i dont know which one to choose from the long list of names. thank you
[Xperia Z5 Android Development] jack748lim:
Getting error 7 even after checking updater-script with assert line.

I used FTF patched kernel and Root guide to root my phone.

Is anyone having similar issue?
[Xperia Z5 Android Development] TrevorAshley:
Hi, are you talking about the latest kernel?