yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
NACK, Sony put the limitation there for a reason,

feel free to fork the kernel and build one with that unlocked,

I'm not wiling to risk any (potential) harm to the phone and its users (see Note 7, that may be a physical cause, but still those batteries are no toys ...)
[Xperia Z4/Z3+ Android Development] _LLJY:
True, I was thinking why not, but the batteries are also manufactured by sony so yeah. PS: check WhatsApp.

---------- Post added at 03:32 PM ---------- Previous post was at 03:28 PM ----------

Although it shouldn't be too too much of an issue, I understand the reason why, but charging a battery quickly should only cause it to degrade slightly quicker plus heat, those are the only adverse side effects, the battery should have the ability to protect itself. But I understand why you don't want to take the risk so yeah I can live without it :)

After all noone wants a hot phone right?
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
The single sim variant has not limitation but the battery is the same. I think somthing bull**** is the resason why ds is limited.
[Xperia Z4/Z3+ Android Development] RyTekk:
Note 7 problem is came from hardware issue, not software actually. I researched that li-ion battery can accept the charging limitation upto 45 Celcius, and I had just remembered that my DK48 has a limitation at 9V - 1800mA so I decided to choose 1800mA for the unlocking, and my battery temperature has never came over 45 Celcius while charging, charged time has been reduced about 15-20 mins (you know that I pushed the limitation to 2100mA, so I have a certain (but not right at all) knowledge about it).
[Xperia Z4/Z3+ Android Development] _LLJY:
QC2.0 should not go above 9V 2A, it shouldn't damage the battery because the stock thermal engine is designed to throttle voltage at 42C, so it will never reach 45
[Xperia Z4/Z3+ Android Development] RyTekk:
There's a warn value to throttling and I removed it for the maximum charging, so my battery got 43-44.7 Celcius with 1800mA (using Anker PowerPort), and I live in tropical area so those one who live in temperate zone should get better temperature.
[Xperia Z4/Z3+ Android Development] _LLJY:
Get I metal case like I did, reduces temperature ALOT, I live in Singapore and the phone gets HOT good to know that someone at least can get 6hour SOT in an area just as hot as mine.(batteries hate heat)
[Xperia Z4/Z3+ Android Development] sarvar97:
Hi, there is a problem with last kernel. Recording video is very laggy. Taking photos is ok. I think its so because 5-6 cores are offline everytime. Can you make so that during using camera more cores are online for better performance and they go back to offline after closing camera?
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
In kernel adiutor change cpuquiet control to runable. For me solved your problem.
[Xperia Z4/Z3+ Android Development] nosiobadx:
Does this kernel work on CM?
[Xperia Z4/Z3+ Android Development] ccxex29:
It's based on vanilla.. Shouldn't normally work on CM
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
The video is still very laggy. No cpuquiet settings, no solotion.
[Xperia Z4/Z3+ Android Development] Fauzi alaik:
Try change the gorvernor and clock to stock

When i use elementalx, my video record very laggy, change to interactive the video record back to normal
[Xperia Z4/Z3+ Android Development] _LLJY:
Use Nightmare governor
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
Battery friendly?
[Xperia Z4/Z3+ Android Development] RyTekk:
Nope, but it's still in accepting, and the boost in power that it brings is awesome.
[Xperia Z4/Z3+ Android Development] phhuang:
Does anyone got wakeup issue with the latest version?
[Xperia Z4/Z3+ Android Development] danishsaleem.pk:
Is for Marshmallows 6.01???
[Xperia Z4/Z3+ Android Development] Streetrayzer:
ME TOO. I also have the problem that I get issues when I connect my phone to my head unit in my car. The sound stops and repeats... But I get a very good battery life.
[Xperia Z4/Z3+ Android Development] sarvar97:
Me too. Sometimes phone doesn't switch on by pressing power button. I have to hold power button + vol up button untill vibration and turn on again. It happens 1-2 times a day.
[Xperia Z4/Z3+ Android Development] LMcR92:
Same here I reverted back to the last version. No problem with wake up.
[Xperia Z4/Z3+ Android Development] ccxex29:
Undervolt feature please? To reduce heat from the SoC.
[Xperia Z4/Z3+ Android Development] _LLJY:
It's not possible without a lot of effort with the 810 because Qualcomm uses AVS which scales voltage automatically and it isn't easy to disable.
[Xperia Z4/Z3+ Android Development] sarvar97:
Which one kernel version is the best here? I like the last corona kernel but sometimes I have to reboot it (see the problem description above). The last but one has a problem with video recording lagging. The last not corona version has no problems, but has a huge battery drain when screen is off. During 8 hours my phone battery got from 100 to 30 percents while screen was on only for 53 minutes. So I have to reflash the latest corona version again where the battery life is better. Waiting for an update fixing this issue.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
[MENTION=2614659]phhuang[/MENTION] [MENTION=6126631]Streetrayzer[/MENTION] [MENTION=6252650]sarvar97[/MENTION] and everyone who were affected by this:

please try to remember what you did and how this wakeup problem manifested itself (how the phone behaved),

need more information to track it reliably down.

The latest Kernel should fix it (IPA wakelock changes reverted) but I'm not entirely sure whether that was the cause

Which kernel version is that exactly ? Thank you :)

Newest Kernel should address this issue and hopefully this doesn't occur anymore,

please also take apps or the ROM into account.

Thus Greenify, Amplify, App Ops XPosed, etc. might be very helpful in blocking wakelocks
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z4_Z3Plus 253_corona_III.1_9_4_6

[leads to Nirvana, AFH is currently too slow]

Notes

- ALL functions (well, most) have been tested and should work reliably (including FM Radio app, which still acts up from time to time)

- the Kernel (GUI) might be laggy, under investigation how to mitigate this, please consider that

this might save A LOT of battery

(lower clocked GPU)

-

YOU HAVE THE CONTROL: if the GUI is too laggy,

disable Adreno-Idler, State_Notifier (Adreno_Idler is the only user) and disable GENTLE_FAIR_SLEEPERS, this should improve it A LOT

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- default idle frequency for the GPU is at 27 MHz which might cause trouble with STAMINA MODE, might cause lagginess (currently under investigation), this might be a bit mitigated by using Adreno Idler (currently included)

- testing Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz (depending on your usage case it might improve battery time or make it worse and take longer for things to complete)

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to all devs who are working on Xperia devices and of course all of the other devs on XDA, 4pda, etc. etc.

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_4
[Xperia Z4/Z3+ Android Development] LMcR92:
The 1.3.2 I think screenshot attached. All others above caused some abnormally high temperatures while doing basic stuff Browsing UI, messaging and music listening in the background. And the latest two I had that wakeup issue. I can't really recall the cause but it didn't happen as often if I used my phone lightly or less apps running.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
1.5.2 or 1.3.2 ? :confused:

afaik 1_3_2 was only available for CyanogenMod 13 and on Sumire and/or Satsuki (Z5, Z5 Premium)

thanks
[Xperia Z4/Z3+ Android Development] LMcR92:
[MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z4/Z3+ Android Development] sarvar97:
Ok, sometimes, not very often, when you want to turn on the screen by pressing power button nothing happens. Screen is still off. I tried to make a call to my phone from another phone. I can hear my phone ringing but screen is still off and you can't acceppt a call. When I hold a power button I can feel an easy short vibration like when a power menu opens. Seems like phone is on but screen is off and touchscreen is off too. I can only just reboot my phone pressing power button + volume up button and turning on phone again. It happens at least once a day and it happened maximum 3 times in one day.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Thank you :)

Okay, that kernel source doesn't include the following:

- KTM <-- --> BCL mitigation + algorithm changes

- NO overclock (?) :confused:

- it's still based on the patched up Kernel source when Alin was absent for some time, III.1+ Kernels use latest Sony Xperia Dev copyleft Kernel source [this shouldn't actually be the cause]

Since everyone CANNOT seem to agree whether to use overclock or NOT,

I can revert overclocking solely and see whether it improves things,

overclocking the little cores seem to cause lots of heat ( according to [MENTION=6791680]_LLJY[/MENTION] ),

but the thing is that even with overclocking the little cores consume significantly less than the big cores and getting the scheduler/phone to mostly only use little cores can be

pretty beneficial battery consumption wise ...

LMcR92, you tried any of the modified thermal engines whether those cause the phone to produce less heat ?

Is the battery consumption increased with the newer kernels compared to e.g. II.1_3 ?

Or is it actually better ?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
That's a pretty detailed report, thank you !

This points to a bit more suspects,

so this didn't happen with previous kernel versions ?

Let's see if the reverts fix this
[Xperia Z4/Z3+ Android Development] sarvar97:
No, it didn't. I don't know about first corona version because I didn't use it for a long time because of video recording issue, but in previous kernels I hadn't this issue. Going to check the latest kernel. Will write here if it happens again.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Make sure you use one of the big.LITTLE adapted cpu governors (if you changed from alucard or interactive),

interactive is the most reliable.

nightmare, darkness, zzmoove and alucard might also work,

using one of the others (such as, smartmax, bluactive, etc.) might cause this kind of "behavior" since they haven't been optimized and ported yet to big.LITTLE (snapdragon 810, etc.)
[Xperia Z4/Z3+ Android Development] katabroc:
Is it possible to use this kernel to play pokemon go?

I flashed it over a stock rom, and right after (without booting) flashed systemless supersu, and su hide.

But the game doesn't open, probably safetynet stuff.

Thanks!
[Xperia Z4/Z3+ Android Development] LMcR92:
I use darkness governor, Row for internal and noop for external I/o. Darkness seems to be very reliable as it is the one I use mostly. I don't use any thermal mods just now had problems with locked frequency's. Updated to new kernel will give feedback after first cycle.

Edit. Since using the newest update heat is back to "stock", performance is great no lags/stutter and battery is good no more drain on lockscreen or wakeup issue's as of yet. :svetius:
[Xperia Z4/Z3+ Android Development] hanney:
Has anyone else had problem with Gps, location services while using the latest kernel? Or is that just me doing something wrong ?
[Xperia Z4/Z3+ Android Development] Streetrayzer:
[MENTION=3037651]zacharias.maladroit[/MENTION]:

I'm using CORONA III.1_9_4 on NagasakiROM 1.5. I also gut this wakeup issue about 1-3 times a day. When I push the power button the screen doesn't turn on. When it happens the phone reboots after a while... Using big cores clocked Max to 1.3 GHz, darkness governor and little clocked to also 1.3 GHz, interactive governor.
[Xperia Z4/Z3+ Android Development] RenkaHinkaru:
you should update to the lastest version 1_9_4_6
[Xperia Z4/Z3+ Android Development] hanney:
--Can't delete these
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Kernel afaik is using tobias.waldvogel's repacked initramfs so traces of supersu is included ?

If there's a way to repack initramfs without traces of root and the stock kernel can be repacked with it,

I could try to use that ramdisk instead ...

flash to III.1_9_4_6 and leave max frequency at default (overclocked) and use interactive,

that should work better
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona (Interim build)

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z4_Z3Plus 253_corona_III.1_9_4_7

[leads to Nirvana, AFH is currently too slow]

Notes

- Bluetooth transfer worked for me

- lagginess for sound playback, bluetooth, etc. should be "fixed" with re-enabling of CPUBOOST

-

disable

CPUBOOST for better battery sayings like before

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_4
[Xperia Z4/Z3+ Android Development] Fauzi alaik:
With the lastest version wakeup issue gone, leave it all night and check it work perfectly with alucard gov, thanks!!:good:
[Xperia Z4/Z3+ Android Development] katabroc:
Question

Zacharias, thanks for the reply.

I've dirty flashed this kernel over my stock rom, reflashed supersu beta (systemless) and suhide and everything is working now.

Will let you know if I find any bugs.

Ty very much!
[Xperia Z4/Z3+ Android Development] sarvar97:
I can confirm that there is no screen off issue in 1.9.4.6 version. Using underlocked kernel with darkness governor.
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
Please let the charging power at least 1800mAh what the UCH10 can! Thank you.

I bought this charger and my wifes z3 compact have 1800mAh. For me 1520 max.

Btw battery time is great now. I have got 5h+ SOT.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
I built a kernel with a different ramdisk included,

this uses the ramdisk which is supposed to work with Pokemon Go

it's an internal testbuild for Beta Crew but I'm not sure if there are even Z4/Z3+ users amongst :cyclops:
[Xperia Z4/Z3+ Android Development] Streetrayzer:
[MENTION=3037651]zacharias.maladroit[/MENTION]:

I'm using your latest kernel with PokémonGo but I'm not able to play PokémonGo it's loading without an end... I've done a fresh install with the kernel...
[Xperia Z4/Z3+ Android Development] _LLJY:
It's because of safety net... Pokémon Go doesn't work with rooted devices(latest update)
[Xperia Z4/Z3+ Android Development] katabroc:
It works

Thank you Zacharias, it's working. Will test and see if there are any bugs.

Best Regards
[Xperia Z4/Z3+ Android Development] katabroc:
As a 6533 (dual z3+) user, I tried all different possibilities to make the game work on a root device.

The only setup that does work is using a stock rom, with Zacharias Kernel or Bruno$0 kernel.

You have to make this steps:

1 - Flash stock

2 - Boot

3 - Flash Kernel (Zach's or Bruno) and TWRP

4 - Boot

5 - Flash Su systemless mode (SuperSu 2.78 SR1) and then Su Hide (0.53)

6 - Boot.

7 - Config Su Hide (ls -lnd /data/data/com.nianticlabs.pokemongo and then /su/suhide/add #####)

I tried every possibility to make safetynet work with Nagasaki ROM, but could not make it... Will stick to stock ROM with Zach's Kernel (it is better for battery).
[Xperia Z4/Z3+ Android Development] pou_gh2:
i need to change cpu voltage plz make it changeable plz plz plz i need to undervolt it to get the heating down
[Xperia Z4/Z3+ Android Development] _LLJY:
You can't undervolt the snapdragon 810, it's simply close to impossible because of qcom #blameqcom
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona [Testing]

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z4_Z3Plus 253_corona_III.1_9_10

[leads to Nirvana, AFH is currently too slow]

Notes

- ALL functions (well, most) have been tested and should work reliably (including FM Radio app, which still acts up from time to time)

- the Kernel (GUI) might be laggy, under investigation how to mitigate this, please consider that

this might save A LOT of battery

(lower clocked GPU)

-

YOU HAVE THE CONTROL: if the GUI is too laggy,

disable Adreno-Idler, State_Notifier (Adreno_Idler is the only user) and disable GENTLE_FAIR_SLEEPERS, this should improve it A LOT

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- default idle frequency for the GPU is at 27 MHz which might cause trouble with STAMINA MODE, might cause lagginess (currently under investigation), this might be a bit mitigated by using Adreno Idler (currently included)

- testing Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz (depending on your usage case it might improve battery time or make it worse and take longer for things to complete)

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to all devs who are working on Xperia devices and of course all of the other devs on XDA, 4pda, etc. etc.

Sauce

https://github.com/zachariasmaladro...Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_10
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
Please let the charging power at least 1800mAh what the UCH10 can! Thank you again.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
I'll take a look,

it needs careful consideration and might still be pretty conservative (but have 1800 mAh)

no promises though ...
[Xperia Z4/Z3+ Android Development] LMcR92:
You want faster charging buy a Qc Quick charge 2.0 charger. I have a Aukey with a Qc port and 2 smart ports.

AUKEY Quick Charge 2.0 42W 3 Ports USB Charger for Samsung Galaxy Note 7 (2 Port AiPower 5V/4.8A+1 Port Quick Charge 2.0 12V/1.5A 9V/2A 5V/2A; Included a 20AWG 3.3ft quick charge micro USB Cable) -Black https://www.amazon.co.uk/dp/B01336MO8I/ref=cm_sw_r_cp_apa_TMw9xbB0MZ2DN
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
I have 1800mAh Sony UCH10 charger. My wife z3c got 1750mAh with this charger, i got 1200mAh with the same charger. That means for me, i have less power becouse the kernel.
[Xperia Z4/Z3+ Android Development] LMcR92:
Are you using any thermal mods? With smart temperature I get a huge drop is charging current. Other than that I get fast charging on normal and Qc. Did you enable fast charging in kernel auditor?
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
I dont use any thermal mods. Not necessary for me cus i am not playing games. In kernel adiutor the fast charging is enabled, but i tought that for charging from pc.
[Xperia Z4/Z3+ Android Development] pou_gh2:
ok i got it ty for your answering,and this kernel doesnt root it seems to get rooted but some apps says your device doesnt root and in kernel auditor i turn some cores off but they turn on why?????????can you fix or show me a way to fix
[Xperia Z4/Z3+ Android Development] _LLJY:
1.maybe the app is broken

2. You can't control cores on the 810 either, you will have to use a different interface like msm_performance or core_ctl
[Xperia Z4/Z3+ Android Development] pou_gh2:
no app is not broken because when i use nagasaki rom it works but when i use stock rom i see this error,and plz say what is the msm performance,what is the msm?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
okay, forget it

in the light of the smoking, burning and exploding Note 7 phones (lithium battery technology like ours (!)),

it's better to leave everything at stock values which are deemed safe by Sony.

Not taking any chances ...

Look, quick charge 2.0 or 3.0 is supposed to work with higher voltage and current (9V, 12V, 30V), etc.

If you're using UCH10 and it's not comparable to tested values:

http://www.portal.xperiasite.pl/uch10-recenzja-i-test-superszybkiej-ladowarki-od-sony-czesc-2/

(us google translate or Chrome + google translate)

something is wrong with either your ROM, thermal, battery or charger

as tempting as it is, I'll leave it at

qcom,fastchg-current-ma = <1500>;

Sony set it up that way and I won't risk anything

Will take a look at Sony's AOSP Kernel though and see how it's handled there,

if there the current is higher I'll adapt ...

thanks

edit:

yep:

it's the same:

https://github.com/sonyxperiadev/ke...qcom/msm8994-kitakami_sumire_common.dtsi#L251

qcom,fastchg-current-ma = <1500>;

the actual value that is interesting is:

https://github.com/sonyxperiadev/ke...qcom/msm8994-kitakami_sumire_common.dtsi#L259

somc,step-charge-current-ma = <2100>;

and that clearly indicates that it's charging fast enough with quick charge (?)

Anyway if it's not charging enough keep your phone as cool as possible,

the thermal mitigation values are pretty aggressive so it'll limit to 1500 or even lower

will take a further look into it,

something else might be at cause ...
[Xperia Z4/Z3+ Android Development] fromhungarytolnacounty:
Thank you very much. You are the best. I never disappointed any german (co-worker) people.

I can proudly take the risk of detailed testing, if somehow will be possible for the end.

With the latest kernel i got 1540 mAh, which is pretty good, but not good as z3c or single sim z3+.

Thats not your fault i know long time ago, and i dont blame you if you doesnt take the risk.

The greatest will be, for me a personal kernel with higher values, for test, and you have no responsibilities any wrong thing what can happen (what i dont think so).

Im a simple welder, if i would know how to linux kernel, i would do it.

Best regards.
[Xperia Z4/Z3+ Android Development] pou_gh2:
alot of people said this mod(SmarTemperatureX)does not work with your kernel,and i enjoy your kernel plz fix this problem that i can use your kernel,and plz get the heating down and improve the battery life ty