yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Olegendary:
Oh now I'll have to learn how to do those init.d scripts, I'm just a average rom junkie not too much experienced in programming) anyway thanks for quick reply man great job
[Xperia Z Original Android Development] airlessproject:
No big trouble just mount system rw with any root explorer (fx, root etc) and create the file in system/etc/init.d with a name e.g. 10hotplug and put that code above in it, save it and give it 755 permissions
[Xperia Z Original Android Development] :
Is it possible to disable swee2sleep only for statusbar? The feature is handy and i like to use it on navigation bar, but it messes with brightness control in statusbar.
[Xperia Z Original Android Development] airlessproject:
Unfortunately not.
[Xperia Z Original Android Development] R4GE199:
Amazing kernel! Using it on the latest RR build and no problems so far. Can you please tell me how to enable wifi auto connect? Every time i enable wifi, I have to tap on my SSID and manually connect it.
[Xperia Z Original Android Development] IronHydeFeLix:
Sir great work again.totally love the kernel and performance.Battery life is amazing .

i'm facing a problem though ..i recently installed the latest RR and flashed gapps and after the first boot i flashed your kernel and i lost the default recovery and i had to flash supersu.

and also the CPU frequency doesn't change sometimes it keeps changing to 1242Mhz even if i choose 1512Mhz. (Mpdecision is disabled)

Thanks for help. hoping to hear from you soon
[Xperia Z Original Android Development] unrealRage:
Disable CPU Mutlicore powersave.
[Xperia Z Original Android Development] airlessproject:
Not kernel-related.

You probably didn't lose the recovery and supersu due to flashing my kernel. It uses Anykernel2 which simply repacks the host ramdisk, in which the recovery is located, with my kernel-only image (I don't provide a ramdisk). So it must have been something else.

The cpu frequency drops to 1.2 GHz due to thermal throttling because the cpu is probably warmer than the threshold temperature. You can increase this threshold in Adiutor - Thermal or let the phone cool down a bit.

Greetings!
[Xperia Z Original Android Development] IronHydeFeLix:
Sir actually i meant to type was that i lost my default root(the one available in developer option) after flashing your kernel. Thank you for replying
[Xperia Z Original Android Development] airlessproject:
That's strange, even that shouldn't happen by just flashing this kernel...

The procedure is: Anykernel2 unpacks the currently running boot image, which consists of a kernel image and ramdisk, then swaps the original kernel image with mine, replaces the modules, puts the same ramdisk in the new boot image and flashes it.

No apparent relation to losing root whatsoever.
[Xperia Z Original Android Development] op3n:
hi. pliz tell me what can i do in this situation: when an aplication from store is finish to install, phone become lagy; if i install one and i want to download another one,phone is start to block. Mpdecision is disabled, also multicore power saving. i observed that happen only when i install applications. Thank you
[Xperia Z Original Android Development] mirsaeed.namdar:
How can i extract boot.img of this kernel from the zip file?
[Xperia Z Original Android Development] itsnie:
Maybe because of old hardware with the newest applications [emoji12]
[Xperia Z Original Android Development] op3n:
go to sleep man :)) .. really this kernel wtf, i dont know what can i do with it. do you have it installed? and...?
[Xperia Z Original Android Development] itsnie:
Yes i have install this kernel with my xz ofc, but i'm also facing your problem, my xz become very laggy when i install some app with a big dalvik-cache, but i have try all of marshmallow roms with nor without this kernel and all are same lol [emoji12]
[Xperia Z Original Android Development] op3n:
aha.. problem is the battery consumption is same....nothing change. anyway :)
[Xperia Z Original Android Development] Kuciak:
There is any 5.1.1 version of this kernel?

btw. working fine on RR 6.0.1 & very nice battery life
[Xperia Z Original Android Development] truefriendcz:
Dev, do you can update kernels?
[Xperia Z Original Android Development] DahakePL:
Can you update this kernel please :)?

Some new stuff or something should be nice
[Xperia Z Original Android Development] Kuciak:
+1
[Xperia Z Original Android Development] airlessproject:
Patience friends, for now it works good, I'm using this last version and have no problems.

When I get some more free time I'll see about getting new stuff into it.
[Xperia Z Original Android Development] DahakePL:
Yes it does work good :)

But we want new features haha :D

Regards

---------- Post added at 09:58 AM ---------- Previous post was at 09:49 AM ----------

What's the best CPU and GPU governor and perhaps some other settings for good performance and great battery life (this aspect is my main priority) ?
[Xperia Z Original Android Development] Kuciak:
Impulse = battery + performance
[Xperia Z Original Android Development] kael2404:
Can you try to fix autobrightness when setting custom min brightness values?
[Xperia Z Original Android Development] airlessproject:
What's wrong with it?
[Xperia Z Original Android Development] kael2404:
Auto brightness sometimes stop working with no reason
[Xperia Z Original Android Development] airlessproject:
Some logs would help
[Xperia Z Original Android Development] kael2404:
Ok. I will grab it in few days. But this occures very often with your script to lower brightness
[Xperia Z Original Android Development] airlessproject:
Ok we'll see the logs but in the worse case you'd have to use manual brightness when lowering the minimum
[Xperia Z Original Android Development] kael2404:
I grabbed the log via catlog app. Auto brightness isn't working at all now. Brightness changed via toggle and slider.
[Xperia Z Original Android Development] airlessproject:
hmm, what ROM is this? I see some error and disconnection of the illumination-service but I can't exactly see its cause..

can you get any longer log from this (up and down) and possibly dmesg too?
[Xperia Z Original Android Development] kael2404:
Ok. But maybe tomorrow. I'm using Tesla 25 june build
[Xperia Z Original Android Development] airlessproject:
Did you flash my kernel on Tesla? If not, why not ask this in the Tesla thread
[Xperia Z Original Android Development] kael2404:
Because I thought Tesla has the same kernel and this script is kernel related
[Xperia Z Original Android Development] airlessproject:
yep no prob then.. I'll see what can be done, and in the meantime do get that longer log and use manual brightness to avoid this bug.
[Xperia Z Original Android Development] kael2404:
I got the log with syslog app. Last logcat I sent was long enough, during recording I was changing manual br. to auto and vice versa and changing slider on both modes. Tell me if I took this log properly, cause I never reported logs before.

Edit: I guess it will be easier for you to use your script and on auto mode try to change slider.
[Xperia Z Original Android Development] airlessproject:
Yes it was almost long enough, but I couldn't see the exact reason that caused those illumination crashes. I'll see what can be done now, with SysLog the logs are just fine.

As I said in other threads (maybe in this one too) I'm in the middle of personal stuff that keep me from fully devving and testing stuff on my yuga so all things will see a slight halt until I get more free time.

Sorry about that and thanks for the understanding
[Xperia Z Original Android Development] C35ceperis:
Add msm hotplug dev tankz
[Xperia Z Original Android Development] airlessproject:
we'll see, we currently have ARM Auto Hotplug whose settings are not visible in Adiutor but imo does its job well nevertheless.
[Xperia Z Original Android Development] C35ceperis:
Oc tankz dev.... :good:
[Xperia Z Original Android Development] TrueFriend-cz:
What editor can display settings?
[Xperia Z Original Android Development] airlessproject:
An init.d script must be used to directly write to the sysfs files. But there aren't too many parameters afaik, just min and max cpus online
[Xperia Z Original Android Development] ProudRed:
Can you suggest me some changes I can make to the kernel settings to get maximum SOT ?
[Xperia Z Original Android Development] op3n:
mistar airlessproject, tell me or give me pliz a link with some advices bicoz this kernel sometimes device become blocked when install an aplication. I want to have same settings llike old kernel adiutor. Thanks u if u advice me and if not, dont forget me, i know ur adress and i will come to u :))
[Xperia Z Original Android Development] airlessproject:
:)

Can you get me some logs? It never gets blocked for me on installing apps and I very much doubt that it's the kernel that causes that for you. Also the default settings are just fine for general use..
[Xperia Z Original Android Development] op3n:
is working now; thanks for your want to help
[Xperia Z Original Android Development] C35ceperis:
Update kernel dev...
[Xperia Z Original Android Development] DahakePL:
Works with RR 5.7.1?
[Xperia Z Original Android Development] airlessproject:
Yes it should
[Xperia Z Original Android Development] DahakePL:
I will test to confirm that
[Xperia Z Original Android Development] airlessproject:
Thanks, I'm too busy to test it on every build of every rom (ofc I tested it on RR when I released it) but due to anykernel2 it should work on any rom.
[Xperia Z Original Android Development] airlessproject:
At default it's pretty close to getting maximum SOT..

Otherwise, if you don't mind a relative performance decrease, set Multicore Power Saving to Aggressive, underclock CPU & GPU max freq to 1134 and 320 MHz respectively, use ondemand CPU governor with up_threshold at 99, disable Gentle Fair Sleepers, turn off (only) msm_hsic_host wakelock, and if you don't mind risking random reboots a bit (although you shouldn't have problems with this value), set CPU undervolt to -100mV.
[Xperia Z Original Android Development] maxrealliti:
Please make this kernel for xperia zl (odin)
[Xperia Z Original Android Development] cypher187:
It works so far... But little performance issues and many crashes on RR.

First could be because I optimized the config for battery time... So I don't wonder. But with kernel shipped in RR the whole system / UI runs much smoother - but battery time is not good on the other side.

Second... I don't know. Many app crashes and Pie doesn't work, too (system ui crashes). With kernel shipped in RR Pie works without problems and there are less crashes (since update to 5.7.1 I didn't have any crashes yet).

Logs said system ran out of memory very often so apps were killed (while browsing internet.... using Facebook... reading in XDA) - at this time I also want to point out that I'm no developer ;) I was just trying to understand the logs... which is also not as easy as it sounds, sometimes.

First I thought it's a problem with RR but as I see it now with the shipped kernel and I got nearly no problem at all.... I'm not sure... Feels like problem between RR and AnyKernel.
[Xperia Z Original Android Development] airlessproject:
Please try changing the settings for Low Memory Killer in Kernel Adiutor to the "Medium" or "Aggressive" preset.. Also feel free to experiment with the bars and set other values.

Other than this - I have no explanation.. I run my kernel on Dirty Unicorns currently and before that on Ground Zero Tesla and Validus ROMs and I never had such problems..

But then RR is CM based and all these are AOSP based so there may be something I am missing and I never used a CM based Marshmallow ROM.

However, it's my advice that you revert to using the RR/CM kernel if you have so many big problems with my kernel, like frequent and unexplained crashes, after you try changing the LMK values.
[Xperia Z Original Android Development] cypher187:
I already tried to change those values. What I found out is that after installation I needed to change the values, because LMK was too much aggressive and I couldn't run multiple apps in background. After I found that out, I wiped system every time before I installed an update, flash AnyKernel and GAPPS and that helped a lot but still crashes while using a lot with multitasking.

And I think you're right... All problems felt like a kind of incompatibility - but not a big thing. As you say, RR is CM based, not AOSP. Difference between CM kernel and AnyKernel seems to be a little too big.

Too sad... I like your kernel and the amount of settings. Will try your DU port for Yuga. As I know it's this kernel, right?
[Xperia Z Original Android Development] airlessproject:
Yes, I use my kernel in all ROMs I build.

When I get some more time to spend with my Z I'll definitely try using RR with my kernel for a while and see what's happening with these crashes and such.
[Xperia Z Original Android Development] unrealRage:
When it comes to undervolting I go with safe approach ,drop values and use CPU stress apps (like Antutu stability test) and if it doesn't set mV values even lower and stress again.Undervolting is just repeating this process.When you find voltages sweet-spot I suggest you to test if for few days then you can apply it at boot (even though if unstable voltages freezes your device you should be fine ,as kernel auditor will set them back on default values but better safe then sorry).With lower voltage you may go with higher clocks as for example 1620MHz clock will now use same voltage as 1134MHz clock (but 1134MHz clock will use even less mV).

There will be a lot of "trial and error" ,but better grab your pencil and start finding your perfect voltage.
[Xperia Z Original Android Development] airlessproject:
I just ran RR with my kernel and got this Slim Recents crash - it turns out it's caused by CPU Governor..

Did you by any chance use the impulse CPU governor when you got those crashes? If not, what gov did you use?

I tried with ondemand afterwards, and had no problems, so please try changing the governor and see if this will be fixed.
[Xperia Z Original Android Development] cypher187:
Yes, crashes with SlimRecents I had, too.

I used yankdemand, berryallen, and some other. Hehe but never ondemand. :)

I will try it. And thank you for your support.
[Xperia Z Original Android Development] Simon G:
I have Flash Kernel on Cm12.1 last Nightly. Works great. But what is in Battery Option the USB Fast Charge? Work it? What is mean with Fast Charge on Kernel Audiator. Loading Battery faster??

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] cypher187:
It is for charging via USB from PC. If this is enabled in kernel and USB connection in developer settings is set to charging, then USB data is disabled and charging via USB is faster then. There's no effect for charging via power adapter.
[Xperia Z Original Android Development] akpa:
this kernel have recovery?

after flash it i lost recovery

---------- Post added at 10:31 AM ---------- Previous post was at 10:31 AM ----------

this kernel have recovery?

after flash it i lost recovery
[Xperia Z Original Android Development] truefriendcz:
Dev, please update
[Xperia Z Original Android Development] airlessproject:
new build 20160727

- misc. changes, mostly related to memory management

---> Download <---

for those who don't know, please don't flash this kernel on my ROM builds (Tesla, Validus, Dirty Unicorns) as Wi-Fi won't work.

this kernel update will be in next version of all those ROMs.
[Xperia Z Original Android Development] ProudRed:
Hi Dev. What would be the best governor for battery on your kernel ?
[Xperia Z Original Android Development] airlessproject:
Already answered in detail, post #129
[Xperia Z Original Android Development] Daedroza:
Mentor, will you please push the changes to Github?

Thank you :)
[Xperia Z Original Android Development] airlessproject:
Pushed, look at cm-13.0-test and mm6.0-test branches
[Xperia Z Original Android Development] op3n:
of course man, work :) work in any room :) Bravo developer!
[Xperia Z Original Android Development] TrueFriend-cz:
Bug: Kernel 2016-07-27 on CM13 2016-07-30 - Audio: play on repro-speaker...

App: MX Player: no sound

App: Music Speed Changer: sound ok

Apps used different sound driver (maybe HAL, or device).

Music Speed Changer plaing audio directly... If installed anyone effectizer on other ROM (Tested on 5.1.1, Equalizer, V4A, etc.) playing without effects. MX Player and many soft plaing with effects.
[Xperia Z Original Android Development] airlessproject:
No.

Maybe.

Yes.

Logs, please!
[Xperia Z Original Android Development] op3n:
when i switch on lte network and browsing, temp of cpu is going until to 60 grade celsius and better; is something damaged to the motherboard of phone or i can do somtin in kernel mod? i mention i did what is in ur post (129#) and is much better for battery and also for temperature of cpu with thats "edits". thanks!
[Xperia Z Original Android Development] patricio159:
It is compatible with the Sony Xperia ZL ?
[Xperia Z Original Android Development] airlessproject:
Not yet, maybe soon..
[Xperia Z Original Android Development] op3n:
hei "airless" :) in latest version of RR 5.7.3, let me without sound in media, when i play a song, or on youtube or radio,etc. When u will have time, try to solve that issue. THanks :)
[Xperia Z Original Android Development] op3n:
that "Script" work only when have airless kernel flashed
[Xperia Z Original Android Development] airlessproject:
Yes. It's actually BrateloSlava's patch

Soon :)
[Xperia Z Original Android Development] danishaznita:
Yes? . waiting for it ?. I have a question . could we raise the hard limit of Overheat shutdown ? Back in (zombie kernel) i raised it to 97C to combat it ?
[Xperia Z Original Android Development] op3n:
of course u can but only if u promise u-ll not scream. I dont know how u have this idea....u want to keep in ur hands a phone which can reach 80C in outside...u are smart kid :))
[Xperia Z Original Android Development] airlessproject:
No, you can't raise the shutdown limit because there isn't a (tunable) variable for that in the kernel. In this (simple) implementation of the thermal driver, the only tunable parameter is throttle threshold temperature.
[Xperia Z Original Android Development] danishaznita:
Eyy m8 ?, i dont even bring it outside (would just shutdown and refuse to boot) just using it at home
[Xperia Z Original Android Development] airlessproject:
He meant on the outer side of the phone :) btw the thermal in this kernel is pretty successful in maintaining normal temperatures by throttling, so you can experiment with the throttle threshold to avoid shutdowns. I keep it around 65-67C and the default is 65, with that value it has never shut down for me, goes at maximum 70-75C (no heavy gaming tho but again it will throttle similarly)
[Xperia Z Original Android Development] DahakePL:
No sound (music, videos etc) on latest AOSP with this kernel
[Xperia Z Original Android Development] airlessproject:
Yes update is due soon
[Xperia Z Original Android Development] airlessproject:
https://www.androidfilehost.com/?fid=24591000424955265
[Xperia Z Original Android Development] op3n:
ohohooooo. thanks a lot "airless"!!! its working like a fish into the ocean :) u are a good boy :))
[Xperia Z Original Android Development] danishaznita:
Warning ! Several picture ahead ? [MENTION=5396196]airlessproject[/MENTION]

Heres the stock voltage , 850mv on the lowest freq

After that immidietly brought it down to 700mv , A -150mv undervolt . for those who wonder . my cpu Binning is 1 . the worst binning

Then i set out to stresstest to see stability as well and temperature control in this kernel (i only done 12 min test as its night time and i dont want to fall asleep. Burning my room down)

Very impress with the management , it stays at 1512mhz until 70, then it drops to 1242mhz and stays at 76C ... Here are the graph

Bottomline is . I love this , will try to install heavy game and see how she perform , no hard shutdown yet . btw , my battery is jumping all over the place each reboot . is it software bug or hardware defect ? Been experiencing this since i bought it
[Xperia Z Original Android Development] DahakePL:
<3 Many thanks
[Xperia Z Original Android Development] truefriendcz:
Last builds Kernel is full compatilable with pac_yuga_LP-MR1.Unofficial_20160305-192400.zip LP family ROM. (tested - ok)
[Xperia Z Original Android Development] DahakePL:
Good to know :)
[Xperia Z Original Android Development] golf60:
No wifi on dirty unicorns with new kernel
[Xperia Z Original Android Development] DahakePL:
It was already said to not flash airless for his roms, they already contain airless kernel but with some changes thus your wifi gets broken
[Xperia Z Original Android Development] Simon G:
Kernel Works on Vanir and AOSP without errors. The Other Roms how Dirty RR and Tesla are to complex for an error free Working with Custom Kernel. Its just a thought from me

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] DahakePL:
Because they already have airless on board
[Xperia Z Original Android Development] airlessproject:
RR doesn't have it, so idk what he really meant
[Xperia Z Original Android Development] DahakePL:
I'm using it on rr and it works just fine
[Xperia Z Original Android Development] airlessproject:
Yes that too.. I guess he'll clarify his thought
[Xperia Z Original Android Development] GingFreecss:
any settings for kernel adiutor? thanks
[Xperia Z Original Android Development] zobanen:
I have a lot of reboots with this kernel on RR 5.7.3. in different situations. Built-in kernel is more stable for me. Sorry, I have no logs now.

From the other side: only Airless AnyKernel has USB Fast Charging. This feature saves me in my travelling when my XZ is my navigator.
[Xperia Z Original Android Development] airlessproject:
Please do provide some logs when you can.

I haven't had a reboot for many months now in any situation, on the ROMs I use (Tesla, Validus, DU)

I don't know what can be wrong with this kernel when used in RR, without logs I can only speculate. I am also not in the position to use RR as a daily driver to find out these reboots myself. If anyone else has a reboot, please take full logs with SysLog or Adiutor right after the device starts up, after the unwanted reboot.
[Xperia Z Original Android Development] zobanen:
Hi, Airlessproject!

I have catch one reboot on RR with your AnyKernel and grab logs after it. It's attached. It was PlayStore session, I have see apps screenshots and my SXZ was freeze for minute with reboot after.
[Xperia Z Original Android Development] zobanen:
Another RR + Any Kernel reboot logs. Heating issues are possible becouse of charging, navigation and direct sunlight.
[G3 Q&A, Help & Troubleshooting] arnduros:
Hey guys!

If searched a lot for a threat regarding this problem, but I only found general overheating issue threads. So please don't be too harsh on me for opening a new one.

I have the LG G3 D855 (16 GB with 2 GB RAM). I'm on Fulmics 5.0, but it's basically on every ROM I've tried since Lollipop.

My G3 gets very hot (up to 75 C° or 167 F°) when I play games, even with "simple" ones like Crossy Road or Clash Royale. Yes, it warms up when I use Chrome or other apps, but never that much, it just gets a little warm. But games really make a small oven out of my G3. Funny thing is, I have Xposed installed and use the module "Performance profile" to throttle the CPU to about 1200 MHz and GPU to 300 MHz in games. It still gets hot, as if I havent changed anything. But I can see the toast notification that the profile kicks in as soon as I start the games.

I've already swapped out the battery (for a new, original LG one and a 6000 mAh extended battery - problem persists). I have Greenify installed and use it for Facebook etc. I have frozen all unneccessary apps like LG Health. I've (clean) flashed different ROMs, I've tried different kernels, it gets maybe a little bit better, but the problem still persists. I changed my DPI from 640 to 550 if that is of any interest.

Other than that, my G3 works like a charm!

Maybe you guys have any advice