yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Android Development] dpalac3:
phone error

Hello, flashed RR on e6553, working great, using RR on my xperia ZL, but perfomance wise its suffering, but working flawlessly, so i flashed on my z3+ working great except, one small problem.

When making a call, or listening to a recording on whatsapp screen turns off, as when making a call so u dont touch touchscreen- but when i remove from ear or even dont move it at all, just press call and screen turns off and u CANNOT turn it on in any way, except when on other end drops the call, atm i got a workaround using power button to end call, but it cant be used all the time, and was intresting as recording in whatsapp also turns off screen- music and video doesnt and eradio doesnt., so im quite stumped in what could be wrong- on what basis does the phone recognize u have it on ear or in hand? , becouse i ordered new Frame LCD Touch kit, as mine had nonresponsive touch line- maybe chinese forgot to install some sensor...
[Xperia Z4/Z3+ Android Development] amirhunter666:
The cause of this problem is the rom.you change yor rom.i had same problem and i flashed official sony rom.i dont know why this rom get same bugs after a few weeks
[Xperia Z4/Z3+ Android Development] Aravind RaJ:
I built latest or recent version of RR and i'm using it as my daily driver.

Link is https://mega.nz/#!AqBxxQ6R!anJVNUpKxX0qYukKAHeWPTFphV55U0HwI0SOhC5JgZM

Think it might be helpful to other Z3+ users : )
[Xperia Z4/Z3+ Android Development] Patricmac:
What's new? Any android Oreo/P features?

Any bug?

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

What's new? Any android Oreo/P features?

Any bug?
[Xperia Z4/Z3+ Android Development] Aravind RaJ:
it's the last version of RR for Nougat.

I'm using it as my daily driver for more than 2 weeks and it's running fine without bugs.
[Xperia Z4/Z3+ Android Development] Patricmac:
Does it have latest security patch or what's new?
[Xperia Z4/Z3+ Android Development] Akmal95:
How to installation
[Xperia Z4/Z3+ Android Development] sabri dolah:
Looking great...
[Xperia Z4/Z3+ Android Development] HBK_Rishav:
I am trying to build ressurection remix rom from the sources but getting this error!

What to do now?
[Xperia Z4/Z3+ Android Development] sabri dolah:
Reflash stock rom then try it again
[Xperia Z4/Z3+ Android Development] HBK_Rishav:
I'm compiling the rom, not flashing it!:)
[Xperia Z4/Z3+ Android Development] sabri dolah:
Yes of coz..sory from noob..:D
[Xperia Z4/Z3+ Android Development] d_g_m_2000:
hello, i really hope you can make it happend... i also have that error when i try to build unofficial lineage... i google it and found this solution:

This will do the trick:

export LC_ALL=C

Add it to your bashrc file or equivalent.

also find this "trick" on a web site calle Hacks&Geeks...

Just type the below command in the terminal and the error will be fixed

export USE_NINJA=false

i hope this help you and really really really hope you can make it...

thank you for your hard work!

p.d. i'm also a noob
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Since I've been getting requests lately due to Google's updated Google Drive policy - here's the updated share link for the Z4/Z3+ kernels

Z4_Z3Plus_Resurrection-Remix_5.8.4_Android-7.1.2 (including NovaCore in the Folder):

Z4_Z3Plus_Resurrection-Remix_5.8.4_Android-7.1.2 - Google Drive

drive.google.com

Z4_Z3Plus_Resurrection-Remix_5.8.5_Android-7.1.2:

Z4_Z3Plus_Resurrection-Remix_5.8.5_Android-7.1.2 - Google Drive

drive.google.com
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
a more detailed listing - from what I could reconstruct from the google drive contents:

I don't plan to leave those kernels up forever (Google Drive is 75% full with kernel and ROM stuff) - so get them if you need and while they are still available !

Z5 / Z4|Z3+ (ivy) (asian variant) [+/- single SIM | DSDS - specific versions mentioned]::

ROM + Kernels available:

----------------------

----------------------

Z5 / Z4|Z3+ (ivy) various kernels (stock ROM ? | different Android versions)

Z4_Z3Plus-Kernels - Google Drive

drive.google.com

----------------------

Z5 / Z4|Z3+ RR (Resurrection Remix) ROM - Android 7.1.2 (RR 5.8.5) (Kernels + separate ROM available):

Z4_Z3Plus_Resurrection-Remix_5.8.5_Android-7.1.2 - Google Drive

drive.google.com

----------------------

Z5 / Z4|Z3+ RR (Resurrection Remix) ROM - Android 7.1.2 (RR 5.8.4) (Kernels + separate ROM available):

Z4_Z3Plus_Resurrection-Remix_5.8.4_Android-7.1.2 - Google Drive

drive.google.com

------------------------------------------
[Xperia Z4/Z3+ Android Development] Oveana:
Great ROM. My only complain is lack of menu button long press split window function. Slow battery charging too. Thank you so much
[Xperia Z4/Z3+ Android Development] airtelmaza:
please post some screenshot here
[Xperia Z4/Z3+ Android Development] pradeepvg:
Wowwwww waiting for stock quality cam app. Ty for this great work
[Xperia Z4/Z3+ Android Development] feizhel_vandrago:
is this compatible with ivy_dsds?
[Xperia Z4/Z3+ Android Development] airtelmaza:
Z4_Z3P_SK_ENF_vN_RR_NovaCore_I.1_n_1_10_C_1_5_4_ivy.zip this kernel for this ROM?

---------- Post added at 02:35 AM ---------- Previous post was at 02:32 AM ----------

Announcement from zacharias.maladroit: Stock kernel, stock ROM camera quality...... expected release date?
[Xperia Z4/Z3+ Android Development] pradeepvg:
Amazing ROM...

less heat..

Butter smooth and fast

Good camera

Cons:

Not pre rooted

Battery draining

Can't set minimum brightness

Volte not available
[Xperia Z4/Z3+ Android Development] UriahNazarian:
Yeah
[Xperia Z4/Z3+ Android Development] pradeepvg:
Battery draining a lot.

Fast charing is not working (Sony uch10 quick charger)
[Xperia Z4/Z3+ Android Development] airtelmaza:
not booting to recovery please help

---------- Post added at 07:50 AM ---------- Previous post was at 07:29 AM ----------

recovery not working checked both methods . please help
[Xperia Z4/Z3+ Android Development] UriahNazarian:
Battery consumption is equal to los

I guess, With this speed and smooth, this is a natural thing
[Xperia Z4/Z3+ Android Development] UriahNazarian:
Turn off

Flash twrp 3.1.1.0 with adb fast boot

Press the down volume & power

After vibrating

Abandon the both keys
[Xperia Z4/Z3+ Android Development] airtelmaza:
bootloop. please help
[Xperia Z4/Z3+ Android Development] UriahNazarian:
How do you flash?

You should flash with fastboot
[Xperia Z4/Z3+ Android Development] prosnz:
Where do you get 3.1.1.0 from for the z3+?
[Xperia Z4/Z3+ Android Development] airtelmaza:
from official site.if you have for z3+ please give me the link
[Xperia Z4/Z3+ Android Development] prosnz:
But I don't see if it's supported. There's no device called "ivy" in device list.
[Xperia Z4/Z3+ Android Development] airtelmaza:
finally got twrp 3.1.0.0 for ivy z3+

download link https://drive.google.com/open?id=0B_osbFJ8DvSkM091QWFIc2d4NUk
[Xperia Z4/Z3+ Android Development] UriahNazarian:
https://xdaforums.com/crossdevice-dev/sony/twrp-3-1-0-z5-z5c-z5p-t3571050
[Xperia Z4/Z3+ Android Development] pradeepvg:
Omg 73 degree temp also the CPU max and min frq 384mhz, I can't change it via kernal audior. Revert back to stock rom
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
ugh, something in the ROM or apps were interfering with frequencies,

core_ctl is more dynamic in frequency-handling so you can't pinpoint it

73°C of what ? cpu ?

that's with heavy usage and most likely only for a short time (and applying to the big cores),

there's a reason the processor is kept active (e.g. MediaScanner after a new ROM flash, etc.)

anyway - this ROM is not for you
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Guys, if you're listening to Music or Watching Video, etc.

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)
[Xperia Z4/Z3+ Android Development] ramonet666:
The problem is with the patched kernel don't use it just let the original kernel of résurrection :) everything works fine for me
[Xperia Z4/Z3+ Android Development] airtelmaza:
thnaks, now the heating and laging issue solved. but the battery draining problems exist. any solution
[Xperia Z4/Z3+ Android Development] severezer0:
Everythings work well don't see any bug atm i also use customkernel and use kernel adiutor to limit cpu clock i notice one thing that gpu clock sometime go even lower than minimum freq it's only 27Mhz and i think it's a good thing less battery drain less heat, anyway it seem to work well for now i'll report if found some bug
[Xperia Z4/Z3+ Android Development] richmaster1o2:
Where can i get the original kernel?
[Xperia Z4/Z3+ Android Development] op3n:
unrar the boot.img from rom
[Xperia Z4/Z3+ Android Development] op3n:
to me is working normal the custom kernel, but after a while is doing what he want, doesnt matter if i set to 1550 mhz the big cpu and the little to xxx, he set itself, how his muscle want. probably have demency. Also bravo for implementing screen saturation in kernel; without it this sh*ity mobile is black/white :good:
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Actually apologies,

I underestimated the issues the Z4 (or probably Z5 compact) also must have when it's hot outside / in the environment.

The Z4/Z3+ clearly needs an underclocked kernel with and optimized thermals

Thanks

The values aren't cached in the governors, there's no support for that,

once the cores got hotplugged (removed) the values are lost.

Yeah, some panels aren't so great so KCAL is a nice help with them :)

Thanks
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
You want cool ? You get cool !

(testing kernel, might be somewhat more unstable)

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

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

[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)

a few other things not mentioned

kudos to [MENTION=5051294]frap129[/MENTION] for part of the changes :)
[Xperia Z4/Z3+ Android Development] UriahNazarian:
Which governor do I use to consume less battery?

---------- Post added at 04:47 AM ---------- Previous post was at 04:42 AM ----------

I use from conservative now

Bu i dont know about zzmoov & alucard

---------- Post added at 04:57 AM ---------- Previous post was at 04:47 AM ----------

I guess, zzmoove is very slow, similar powersave

Is correct?
[Xperia Z4/Z3+ Android Development] op3n:
alucard for battery excelent. https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[Xperia Z4/Z3+ Android Development] UriahNazarian:
Alucard Better than from conservative?
[Xperia Z4/Z3+ Android Development] op3n:
67. Alucard

Summary:

PERFORMANCE: GOOD, BATTERY LIFE: EXCELLENT, COMPATIBILITY: GOOD

Description:

Alucard is based on ondemand but has been heavily tweaked to bring better battery life and performance. It has been known to be battery friendly without sacrificing much performance.

5: Conservative:

Summary:

PERFORMANCE: OKAY, BATTERY LIFE: OKAY, COMPATIBILITY: EXCELLENT

Description:

This governor biases the phone to prefer the lowest possible clockspeed as often as possible. In other words, a larger and more persistent load must be placed on the CPU before the conservative governor will be prompted to raise the CPU clockspeed. Depending on how the developer has implemented this governor, and the minimum clockspeed chosen by the user, the conservative governor can introduce choppy performance. On the other hand, it can be good for battery life.

i use alucard and is very ok. i used in past conservative but is make the cpu very slow and isnt good in multitask. now depend what u do with ur phone. Feel free to test alucard and make a comparision with conservative :)

---------- Post added at 09:31 AM ---------- Previous post was at 09:20 AM ----------
[Xperia Z4/Z3+ Android Development] Oveana:
Configurations--- Buttons--- Navigation bar--- Dynamic nav bar color
[Xperia Z4/Z3+ Android Development] op3n:
thanks, but in some apps like textra or messenger,etc is same..gray
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Conservative is pretty great - use it in combination with touch- / inputboost

zzmoove is pretty smooth (the name says all ^^ ) but also offers enough performance, performance isn't 100% but it should be enough to watch videos, browse, etc.

interactive should give best smoothness but at higher power consumption, with tweaks it can be smooth AND battery efficient (https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557) but that guide might need a few changes with the lower max frequencies

alucard is a pretty good allrounder, battery efficient, smooth and cool - consumption might be a bit higher than the tweaked/optimized interactive

yeah, alucard is pretty great, have used it in the past extensively
[Xperia Z4/Z3+ Android Development] op3n:
i have a problem; i try to edit the mixer_paths but cant (this file is on a read-only filesystem. U will not be able to save any changes...blabla...first remount it as read/write - that is saying to me.) So i remounted but still cant make changes in system.
[Xperia Z4/Z3+ Android Development] naz roy:
Anything I may need to know about this rom or the alucard kernel before I fash it. Though I followed the whole thread I wish more roms for this device could be uploaded.

---------- Post added at 06:21 PM ---------- Previous post was at 06:07 PM ----------

Thank you zacharias for this rom...[emoji108]
[Xperia Z4/Z3+ Android Development] op3n:
guys, can u mount ur system read/write ? i use fx file explorer and i want to increase sound in headphones bcs is too slowly and cant modify sistem (even i tryed to mount,remount it)...is same. or Zacharias, can u add in kernel some sound modify option?
[Xperia Z4/Z3+ Android Development] davisml:
I can with Root Explorer.
[Xperia Z4/Z3+ Android Development] op3n:
great. i will try to flash a fresh ftf coz i think is problem of my dirty phone :)) . thanks
[Xperia Z4/Z3+ Android Development] naz roy:
Still yet to flash mine, awaiting sim card trays and SD tray I shipped from US. I can't wait to use this rom
[Xperia Z4/Z3+ Android Development] Oveana:
Thank you so much. But I didn't like it. It was both hot and laggy. I don't think reducing cpu frequency solve anything.
[Xperia Z4/Z3+ Android Development] naz roy:
Does the Alucard help a lot as mentioned earlier?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Okay,

thanks a lot for the feedback,

can you please tell your usage pattern (what you are using your phone for ? where is it laggy ?)

Usually it should help to reduce the frequency there's however lots of more places that can be tweaked and modified to lower (or keep low) the temperature :)
[Xperia Z4/Z3+ Android Development] Oveana:
Daily stuff like YouTube and chrome. Scrolling and transitioning between stuff.
[Xperia Z4/Z3+ Android Development] op3n:
if you use chrome with max brightness/video and not for search and read only, also youtube, is make ur cpu bicom hot after a while...i think is normal; that happen also to me. Or if somebody have some "haks" ,tweaks,etc for setup the kernel. this "stove phone" pliz tell us.

---------- Post added at 12:08 PM ---------- Previous post was at 12:06 PM ----------

nobody know... i am nobody :)) so man, try man. do u want to come to u and use ur phone? or u can send it to me :D

---------- Post added at 12:08 PM ---------- Previous post was at 12:08 PM ----------

nobody know... i am nobody :)) so man, try. do u want to come to u and use ur phone? or u want make a gift for christmas
[Xperia Z4/Z3+ Android Development] naz roy:
If you only read my earlier post you'll understand.[emoji3][emoji3]
[Xperia Z4/Z3+ Android Development] ramonet666:
The problem with this ROM is heat and impossible to use kernel auditor to change anything :( shoukd kernel be flashed or what?!?
[Xperia Z4/Z3+ Android Development] naz roy:
Somebody recommended alucard, wanted to know if it helps heat reduction or it's just a battery optimizer. I don't have mem tray so I won't flash the rom without having a stock backup. Maybe someone tried it...
[Xperia Z4/Z3+ Android Development] ramonet666:
I've tryed all ROM and heat os always the problem i'm know on original rom with kernel from m-rom chinees and i think it's ok
[Xperia Z4/Z3+ Android Development] op3n:
my frend, to me is working very ok. i have a lot of programs (not games) installed and the heat is start only when i install a big app or many, when i navigate on chrome for a while, youtube,etc. I use interactive for big cpu limited to 1440 mhz and little to 960 mhz MAX (only little is alucard). The GPU is limited to 560 mhz -powersave. That is my configuration and is very ok. I remember first time also to me was very hot the cpu when using with first version of kernel, but now with this version doesnt still the problems.

For some apps u can use greenify for magisk and hibernate them.

...

In my case, this rom is working excelent until now, and i have it almost for a week . cpu is maxim 55-60 grade celsius when i wrought it. So, any one who have a device which reach 70-75 grade C in max usage, his phone have bad problems bcs isnt a general problem of Z4.
[Xperia Z4/Z3+ Android Development] doctorsworld99:
Can anybody plz tell me how to root this rom... I've flashed d rom ,testing kernel and also installed twrp via fastboot.but whenever m flashing supersu.zip.....my phone struck at RR logo...plz help
[Xperia Z4/Z3+ Android Development] davisml:
I usedSR3-SuperSU-v2.82-SR3 and it worked fine. J just flashed in TWRP.
[Xperia Z4/Z3+ 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=0BykGGWB96CBQWmkyUzBWMFRYcWs

(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 Z4/Z3+ Android Development] op3n:
u can flash magisk
[Xperia Z4/Z3+ Android Development] ramonet666:
Why all those kernel without supersu !!!!? And why kernel auditorium can't change any CPU frequency
[Xperia Z4/Z3+ Android Development] naz roy:
I want to know more about governors tweaking
[Xperia Z4/Z3+ Android Development] naz roy:
Bootloader unlock allowed yes...I'll proceed

---------- Post added at 01:38 PM ---------- Previous post was at 01:36 PM ----------

Here it is.....
[Xperia Z4/Z3+ Android Development] op3n:
ramonet, after installing the rom, gapps and kernel, flash MAGISK from here https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 . this will help u to have root without install supersu or other blabla. If doesnt work well, do a fresh install.

Kernel adiutorium memorise ur changes of cpu, etc, but u must check option "apply on boot" (check after u make the changes how u want). Also the changes after reboot(in kernel ad) are "optimized" after some minutes. For example: if u applied ur new settings (on boot), after reboot will lasts some minutes untill u'll see the changes even if the notification saying to u: "kernel is applying settings".

If nothing from what i tell u now isnt working for u, wipe everithing(not sdcard),and install again in this order: rom,gapps,kernel,magisk and etc.

---------- Post added at 08:20 AM ---------- Previous post was at 08:18 AM ----------

https://xdaforums.com/xperia-z4/general/guide-safe-bootloader-unlock-restore-t3386915
[Xperia Z4/Z3+ Android Development] SprindFinorilar:
I am wondering how I can update newer kernel, just TWRP flash?
[Xperia Z4/Z3+ Android Development] SprindFinorilar:
OK, I have tried. And the RR inside kernel is more hot than M-ROM 1.6, and I changed to test ver.2 kernel, and all 8 cores works at the same time. I can not turn off any of them with Kernel Adiutor, which touches like the dragon is on fire. So I switched back to RR inside one. Acceptable for me. Will still find ways to make the temperature down.
[Xperia Z4/Z3+ Android Development] ramonet666:
I will try this all juste un case to ne relaxer as u :) thx for ur help ans juste another question. Why un every reboot everything stocks again ans after 3 5 minute i van use kernel auditor and do what i want
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
extract the boot.img

fastboot flash boot boot.img

that's what I'm always using, anyway

the CPU hotplugging is managed dynamically with core_ctl,

EX Kernel Manager allows fine-grained control so that you can set it, that e.g. only 1 little and 1 big core are online most of the time.

With Kernel Adiutor you cannot really do that since the up and down thresholds cannot be set

(I'm using Kernel Adiutor Mod, so not sure if that changed in Kernel Adiutor, but in Kernel Adiutor Mod only the number of cores can be set,

and since there are NO up and down threshold to be set [the thresholds are at "0" (zero) for the little cores], ALL of the little cores are kept online ALL of the time)

In EX Kernel Manager you can change those thresholds that they e.g. match with the ones of the big cores (60 up, 30 down) so that the little cores are ALSO plugged dynamically

Hope that helps