yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] airlessproject:
http://xdaforums.com/xperia-z/development/tutorial-xperia-z-zl-bootloader-t2153261
[Xperia Z Original Android Development] -droidberg-:
Great job mate. Is it compatible with cm 12.1 nighlty?
[Xperia Z Original Android Development] airlessproject:
disable mpdecision. it conflicts with this kernel's own hotplugging driver
[Xperia Z Original Android Development] zobanen:
MPDecision was turned off in Kernel Auditor right after installing of RR. All hangs/reboots of my SXZ + RR + AnyKernel was appear with MPDecision turned off.

But I still love this kernel because of usb fast charging )))
[Xperia Z Original Android Development] airlessproject:
edit: see below
[Xperia Z Original Android Development] airlessproject:
new build

https://www.androidfilehost.com/?fid=24591000424960677

fixed disabling of mpdecision

shouldn't cause reboots now
[Xperia Z Original Android Development] zobanen:
One more RR + AnyKernel hang and automatic reboot.

I has catch this reboot in RR extended settings while notification panes header picture choosing.

USB LTE modem mode + Charging + 70°C CPU
[Xperia Z Original Android Development] airlessproject:
yr logs are empty
[Xperia Z Original Android Development] airlessproject:
new build

https://www.androidfilehost.com/?fid=24694152805484039

compatible with latest CM nightlies, and all ROMs which will be released from today on, since they will have the CM changes too.

for ROMs built prior to today, please use my previous version (20160829)
[Xperia Z Original Android Development] lezuilaharry:
Thx for sharing new update.

But I found bugs, hotspot can't enabled. Can u fix it? Please! In new update I can change freq (before I use 18/19 Aug 16 can't change freq) my rom is RR
[Xperia Z Original Android Development] airlessproject:
for ROMs built prior to Sep/01 use the previous build, it's stated in the post about the latest build

changing freq has nothing to do with latest update compared to Aug/29 or Aug/18 so it's your error
[Xperia Z Original Android Development] lezuilaharry:
Well.. Now I use 20160829, hotspot back to before. But I can't change freq more than 1242mh, it's maximum my freq. Do u have any solution for this?
[Xperia Z Original Android Development] moeinxda:
When thermal feature is cooling cpu temperature with change the maximum frequency then after cooling the cpu, kernel personal configuration not restored.

GPU frequency configuration too .
[Xperia Z Original Android Development] airlessproject:
it's the thermal driver throttling the freq. wait for the CPU to cool and try to set the freq again.

when throttling happens during boot, it's not properly restored.

wait for the phone to cool, then set the freqs again.
[Xperia Z Original Android Development] lezuilaharry:
Haha, thx for yr opini. But too late, I flash another rom.

Now my rom is tesla from yr rom.. haha.. now freq has been fix. I can change any freq what I want.. lol

Thx bro for yr rom n kernel..
[Xperia Z Original Android Development] zobanen:
Hi Airlessproject!

Now I have a reboot with log taken after.

I have found mpdecision again but it was switched off in Kernel Auditor.

Kernel version is 20160829 (with mpdecision-off bug fix).

Sorry for empty logs from my previous message. It seems I have use SylLog improperly that time.
[Xperia Z Original Android Development] airlessproject:
No, kernel is version Aug 18, where mpdecision isn't disabled.

Next time you get reboot, apart from the log, also paste me the contents of /init.qcom.rc and /init.qcom.power.rc
[Xperia Z Original Android Development] Simon G:
Wifi not working with your Kernel on Cm13 Nightlys!!

I flash Last Update and install Syslog and Report Wifi working on Cm13 when not please Fix it

Wifi on Last Kernel is Working

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] zobanen:
Funny thing about my SXZ + RR + TWRP + Airless AnyKernel.

After flashing via TWRP 3.0.2 20160829 AnyKernel I have always Aug 18 date in Settings - About Phone - Kernel.

It was flashed several times without errors.

I dont know why this date is always 18 Aug )) But I still love this kernel because of fast charging feature!
[Xperia Z Original Android Development] Geekn0ob:
is there any Airless kernel for CM/AOSP based 5.1.1? looking for any kernel for CM 12
[Xperia Z Original Android Development] Simon G:
You can flash Kernel on Cm12.1 thats works good

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] Zacny04:
Hi, is it possible to add support for cm14? Flashing went without errors, but when i try to boot system it reboots after kernel logo and goes to recovery.

Wysłane z mojego Xperia Z przy użyciu Tapatalka
[Xperia Z Original Android Development] GingFreecss:
what app did you used on this last and 2nd to the last? thanks..
[Xperia Z Original Android Development] danishaznita:
Stability test and CPU Temp . lol
[Xperia Z Original Android Development] Sammy612:
please add support for cm 14...and if possible add new features:)
[Xperia Z Original Android Development] c1ph4:
Airless on Lollipops

First of all: thanks to Airless for current development on a Kernel for our stone age device! :good:

As I read this here is usually a LP Kernel, I gave it a shot, I am running PAC-Rom MR1. But: tried both versions, with modules form September 1st and without (version from May), both broke my Wifi.

Second issue I also had, mentioned several posts earlier, is the problem setting CPU frequencies higher than 1.2GHz. Underclocking went without problems, btw.

So, what I'm asking myself: what am I missing? TrueFriend-cz told us he got it working with the ROM I'm using, as I understood even with the version including modules.

Finally, it's a MM kernel and I understand that, LP isn't officially support, I just wanted to give it a shot. What are my alternatives? So far Kernel development for Yuga is like the same with ROMs: Not only the device is old. The beards of the devs too in the meantime, time to move on to newer devices. Qualcomm won't support our Yuga CPU with Nougat 7.x anyway. :crying:
[Xperia Z Original Android Development] Teroy26:
help

What is the best setting for battery saving? Tnx
[Xperia Z Original Android Development] truefriendcz:
All modules (wifi,bt,etc.), sync, off. Install from Google Play Hebf app and select Battery profile. This solution good for random using smartphone if you have 50%+ of day Display off.

For "nonstop" using smartphone is better solution: Download from Google Play Kernel Audiutor and uderclock cpu to 918MhZ with interactive governor with Max_sync value 1132MhZ. And enabling cpu cores save maximize (agressive). Hebf app no instal. Android do not like external Tweak apps (without standby mode) for battery life. And do not disable apps from settings (if you have disabled system apps, device have small highly battery compusion).

Xperia Z have small bug on WiFi... If you underclock cpu randomly high disconnecting from WiFi. (subjective).

Sorry my english.
[Xperia Z Original Android Development] KRISHNA JEYA KUMAR:
how to reduce brightness below minimum...... i have seen the code ... but i dont know how to use it

---------- Post added at 09:05 AM ---------- Previous post was at 08:49 AM ----------

thanks i got it.... i reduced minimum brightness... does it helps in battery life.. or simply works as a screen filter
[Xperia Z Original Android Development] Wadow:
Kernel support to stock rom lolipop or no...

Tankzz
[Xperia Z Original Android Development] danishaznita:
No , for that use zombie kernel
[Xperia Z Original Android Development] Gladiator00:
Is this recommended over stock kernel for CM13?
[Xperia Z Original Android Development] Wadow:
Do you have link...
[Xperia Z Original Android Development] danishaznita:
No i cant post it here , but , go to Xperia Z original development , scroll down a bit until you see [sony]Zombie kernel
[Xperia Z Original Android Development] schastang:
Hi!

Thanks for this great Kernel!

Is it possible to add "400 MHz" frequency for GPU overclocking?

No intermediate frequencies are available between 320 MHz and 487 MHz.

Thanks for your help!

Edit: sorry, I just found the answer on page 2. It's OK @ 400 MHz on my tablet Z so I'm surprised to read it's not stable on xperia z with same hardware components
[Xperia Z Original Android Development] YelloneK:
Is there a custom kernel for the Android 7.1.1?
[Xperia Z Original Android Development] pjohn23:
Lost Recovery

I lost recovery after flashing this kernel, used TWRP app, rashr but none of them worked and i only have stock android recovery. Rom is Stryflex marshmallow. any way i can revert to the kernel of the rom and reinstall recovery?

EDIT : For now reverted to stock Stryflex kernel, TWRP works there. hoping for a fix

made it work with official twrp 3.0.2. tnx dev:good::good:
[Xperia Z Original Android Development] oh fuuu:
Hey someone please kernel is better (simple,fast and more supportive)

1. Airless kernel OR

2. Doom kernel .

Please help me ,my device lags a lot and I am a beginner so I don't know much about kernels or you can help me through any other solution for my lagging device.

Running on lineage OS 14.1.
[Xperia Z Original Android Development] unrealRage:
Neither of these two kernel will work with LineageOS 14.1.

Lineage did not lag for me so make sure you did clean install/followed installation instructions.
[Xperia Z Original Android Development] gorillanobka:
Is airless still active?
[Xperia Z Original Android Development] Xian S2:
noo maybe somebody else can update the kernel for android 7
[Xperia Z Original Android Development] SONiX-GERMANY:
+1... ;)
[Xperia Z Original Android Development] riyoua:
hidg0 support ?

does this kernel or any other kernel for xpeira z yuga c6602 could add /dev/hidg0 and /dev/hidg1 ?

i couldn't find any kernel for Xperia Z with this compatibility .. any one could help ?

i have the phone and i can test and make an effort .. if any one have few knowledge about building a kernel or customize it maybe we can do something about it . . .
[Xperia Z Original Android Development] hani1337:
am running now on lp 5.1 with lb if i flash tesla rom this kernel works?
[Xperia Z Original Android Development] HMH16:
[MENTION=5396196]airlessproject[/MENTION] can I use this kernel on Resurrection Remix Oreo?
[Xperia Z Original Android Development] TwinkieMurf:
hello?

hello?

Is it possible to use this with the latest build of RR(oreo)?

Really need a kernel to improve my battery life, and I think this one will help.

edit: ignore the question above. [MENTION=5396196]airlessproject[/MENTION], can you somehow port this kernel to RR oreo? or can somebody continue the deed? lol, am i asking too much?yahh, i really wanna try this kernel out for oreo.
[Xperia Z Original Android Development] airlessproject:
I haven't tested it on LP ROMs but it should work.
[Xperia Z Original Android Development] -droidberg-:
just tried and it is working great job! Thanks!
[Xperia Z Original Android Development] TrueFriend-cz:
I tested on https://www.androidfilehost.com/?w=files&flid=39993 and this kernel is very super for this rom. Superstability, super charging time, supersmooth (on underclocked CPU with Assertive CPU optimize - no problems for smooth performances), looooong life time battery but only one problem: Wi-Fi not working.

This combination ROM+Kernel is best last 3 years from my all testing. Pity that does not work Wi-Fi.

Dev, do you can buld patch for 5.1.1 for fixing Wi-Fi on this ROM, please? Or continued project Tesla 5.1.1. from BrateloSlava?
[Xperia Z Original Android Development] airlessproject:
Wifi doesn't work on BrateloSlava's ROMs because he (we) never used modules. Here is a version of my kernel without modules. With it, wi-fi will work on Tesla 5.1.1 and all other yuga ROMs that don't use kernel modules. You may have to re-flash ROM or just delete the /system/lib/modules directory that was created by the main version of the kernel.
[Xperia Z Original Android Development] bubbeld:
is there a recovery in this kernel ? and should it work with mokee os ?
[Xperia Z Original Android Development] airlessproject:
It will contain the same recovery from the kernel of the ROM you are flashing it to, if it has one.

Also it should work with Mokee, but I haven't tested it.
[Xperia Z Original Android Development] unrealRage:
Thank you for the kernel dev.

I really like the way I can customize my device now.I will use it on LP thou.

Do you suggest keeping stock kernel settings for best battery life or I could tweak a bit just to squeeze a bit more juice out of my battery?
[Xperia Z Original Android Development] airlessproject:
You could try the following if you don't mind sacrificing some speed, but the battery life gain may not be huge:

underclock CPU minimum frequency to 192 MHz, increase CPU governor's up_threshold to 99, disable gentle fair sleepers and msm_hsic_host wakelock, maybe decrease maximum GPU frequency to 320 MHz, and if you are willing to take small risks you could also undervolt CPU to -50 or -100 mV.

Otherwise the default settings are just fine.
[Xperia Z Original Android Development] unrealRage:
Thanks.

When it comes to undervolting I used to take risks ,now I just want to settle.I don't mind sacrificing some speed in order to squeeze as much as juice possible without making my device slow (as hell).
[Xperia Z Original Android Development] Xspeed:
I know that this kernel is for MM, but I tried installing it on stock ROM LP anyway, since there aren't many kernels to use out here.

Everything works ok, WiFi, etc.... but the screen stutters when dragging or sliding. Could I get help with this?

EDIT: Just to note, my logcat is full of this:

E/qdhwcomposer(365): hwc_sync: ioctl MSMFB_BUFFER_SYNC failed, err=Invalid argument
E/qdhwcomposer(365): hwc_sync: acq_fen_fd_cnt=0 flags=0 fd=13 dpy=0 numHwLayers=6
[Xperia Z Original Android Development] airlessproject:
Just use Tommy's Zombie kernel for stock ROM. I can't provide support for it as this kernel is for custom ROMs only, in spite of the fact that many things work for stock.
[Xperia Z Original Android Development] sipe1:
Hello, wifi is not working on 6.0.1 Tesla based on AOSP. Here is logcat and dmesg.

If you need anything else just say.
[Xperia Z Original Android Development] airlessproject:
Why would you use my kernel on Tesla brah? It's the same one there :)

Btw it doesn't work because this kernel uses modules, I linked a version without modules a few posts before, for ROMs that don't use kernel modules (e.g. some LP ROMs)
[Xperia Z Original Android Development] sipe1:
Sorry, I didn't connect the dots :)

Thanks for awesome kernel! :)
[Xperia Z Original Android Development] airlessproject:
You're most welcome :)
[Xperia Z Original Android Development] masteriori:
To quote myself from the first page, any chance you could do that?
[Xperia Z Original Android Development] airlessproject:
Did you try tuning it yourself with Screen controls in Adiutor?

I'll try it for the next build, I'm on a kind of a break these days. :)
[Xperia Z Original Android Development] kael2404:
For me doesn't work script for lower brightness. Even tried with lower values and nothing changed. Script added via kernel adiutor
[Xperia Z Original Android Development] Delacor:
Kernel is awesome, Never had my Z running cool as now. keep up the work bro!

Gesendet von meinem ONE A2003 mit Tapatalk
[Xperia Z Original Android Development] airlessproject:
Did you write

#!/system/bin/sh

in the first line and make the script executable (chmod 755)?

Also on the first tunable, higher means more reduction. The second is on what value does it start reducing, so higher would mean earlier reducing.
[Xperia Z Original Android Development] kael2404:
Delete
[Xperia Z Original Android Development] kael2404:
Works good, but now there is problem with auto brightness
[Xperia Z Original Android Development] lucasvbr:
Hi friend, can you port this kernel to Xperia ZL ?
[Xperia Z Original Android Development] airlessproject:
Answered in post #11

What's the problem with auto brightness? Which values did you set?
[Xperia Z Original Android Development] kael2404:
On yours values auto brightness sometimes works and slider in quick settings doesn't make effect but sometimes autobrightness stops working for some time and brightness can be changed via slider. Need more time to see when exactly it occurs but I think it is changing on low brightness.

Also on other values (I dont remember but maybe "25"/"20" and "30") slider dims screen from right to half slider, and going from half to the left, screen is lighter
[Xperia Z Original Android Development] airlessproject:
Use 9/10 and 28 (there is a threshold value, that's why it dims right to half), also it may be the light sensor that makes it not work on auto brightness. I have always used manual brightness because the auto lowers it too much for me on medium/high ambient light.

This is unfortunately even worse on my Z3+, there it doesn't work at all.. Bad luck I guess :)
[Xperia Z Original Android Development] TrueFriend-cz:
Dev this kernel is supported Android 4.4.4?

Sent from my universe.
[Xperia Z Original Android Development] airlessproject:
I forgot that KK even existed. Try it, you may have luck, why are you asking me, did you think that I ever would get the idea to test it on KK?
[Xperia Z Original Android Development] TrueFriend-cz:
Yes. I tested before 30 min on PAC-ROM 201412xx. Do not have problems. One problem on WiFi. I will be back to LP :) KK no good idea :)
[Xperia Z Original Android Development] airlessproject:
Lol you can now try it on Jelly Bean [emoji2]

About the wifi, did you try both the modules and the non-modules versions? (the one I sent you for Brateloslava roms)
[Xperia Z Original Android Development] asakurato:
How does fast charge works? Is it safe to use such feature on this phone?
[Xperia Z Original Android Development] airlessproject:
When you plug the phone to a PC, it will charge faster, almost like it's connected to a DC charger.

While using fast charge, your device must be in "charging only" mode, i.e. you won't be able to use your SD cards on the computer.

Afaik, there's no risk in using fast charging because the actual amperage drop-down of normal USB charging is because of data transfer, which in this case is turned off.
[Xperia Z Original Android Development] Tr0NiX123:
After I flashed this kernel i have problem with charging Phone after few minutes phone get hot and battery isnt charging i tried changing cables and chargers only phone charges if is connected in PC but very slowly .. Thanks

Rom CM13
[Xperia Z Original Android Development] truefriendcz:
No JB is not for testing for me (i started from KK and testing KK+).

I tested on KK both versions of kernel. KK is good for old and new apps - old apps have code optimalization for old Android versions. But +- 20% apps have microproblems with WebView (on LP) after updates WebView many microprobles fixed (problems with show graphics elements on position, etc.). KK without WebView dont have problems. Android M is very stability (at WebView layers) but battery drain and highly usage (on yuga on test and beta versions). LP is optimal with Deactivate WebView but battery high usage.
[Xperia Z Original Android Development] airlessproject:
Not a kernel problem as it seems, I have tested it on RR (which is CM based) and had no issues...

I can't test this now because of RL responsibilities, I'll suggest that you try other build of CM or other ROM (I see some complaints about charging on CM based ROMs with their later builds).
[Xperia Z Original Android Development] airlessproject:
new build 20160524

- updated MAC address restore method due to change in CM trees

- misc. patches

---> Download <---
[Xperia Z Original Android Development] zakitheracer:
Anyone using this kernel has faced closig of apps in background even when you have free ram ?

Might be something to do with the linux 3.4.112 kernel
[Xperia Z Original Android Development] airlessproject:
Apart from the normal low memory killer activities (which can be tuned), no.
[Xperia Z Original Android Development] Trannhan:
I have tested on stock rom 5.1.1, everthing good but have one problem with screen animation.Please fix bug!
[Xperia Z Original Android Development] DahakePL:
Boots on stock 5.1 but animations are bugged and they behave really strange, it would be nice if you would find a solution :)
[Xperia Z Original Android Development] airlessproject:
This kernel is not for stock rom and I don't plan on making it compatible with stock.

The fact that it boots is pure luck and it isn't intended to be as such.

Ps Tommy's Zombie kernel is an excellent choice for stock.
[Xperia Z Original Android Development] DahakePL:
Anykernel is compatible with lollipop and mm roms but it needs small changes sometimes, Tomoms used Anykernel on Xperia sp and one kernel is universal for both 5.1 and 6.0, so that's no luck involved in this situation :p
[Xperia Z Original Android Development] airlessproject:
Anykernel has nothing to do with the actual kernel running well on a ROM. It's just a tool for repacking the ramdisk so the kernel would use the host rom ramdisk.
[Xperia Z Original Android Development] airlessproject:
Also I never claimed that making my kernel compatible with stock ROM would be too hard of a task, just stated that I'm not going to do it.

Pls check your entitlements gentlemen.
[Xperia Z Original Android Development] DahakePL:
Ah thanks for explaining :)

One more question, can you make overclock to 1.8ghz max?
[Xperia Z Original Android Development] airlessproject:
Nope, 1.7 is already the highest I've seen for our SOC
[Xperia Z Original Android Development] DahakePL:
Darklord made it to 1.9 I think
[Xperia Z Original Android Development] airlessproject:
His victory :)
[Xperia Z Original Android Development] DahakePL:
Your kernel is really awesome for mm roms.

Stable and has only necessary features
[Xperia Z Original Android Development] airlessproject:
It's okay for LP too, just not stock.. I posted a version somewhere in this thread with no modules for those LP roms which don't use modules.

See when BrateloSlava and I started developing it, we used the kernel on RR, then Tesla, then he continued building it for RR and Tesla for some time, and we never thought of keeping in line with stock compatibility, nor we ever booted stock ROM with it. Now the fact that it boots and only the lags are a issue, it seems we didn't diverge too much from being compatible with stock, and my guess is that only the adreno driver and related stuff need changing, but I really don't have the interest nor the time of taking responsibility to make it work on stock.

So, what's here is here :) thanks for the understanding.
[Xperia Z Original Android Development] Simon G:
I have flash Kernel for 10 Minutes on Vanir AOSP. The Performance is more better than before. Very fast.

Gesendet von meinem c6606 mit Tapatalk
[Xperia Z Original Android Development] tejas_kesaria:
Awesome

Thanks a lot this Kernel is just awesome.:D:D:D:)
[Xperia Z Original Android Development] truefriendcz:
I tested this kernel on Omnirom 5.1.1 last 3 days (no modules version) and best combination, but have problem with screen flicker only. Rom is very (very good) fast with this kernel. Minimal batt using, etc.
[Xperia Z Original Android Development] Simon G:
Kernel works on Lollipop?? I thougt just on 6.0.1??

Gesendet von meinem c6606 mit Tapatalk
[Xperia Z Original Android Development] Olegendary:
CPU cores go offline

Really great kernel thanks man! But I have this problem when cores go offline (for power save in presume) however personally like when they are all online. Turning off Mp_decision and messing with auditor's setting didn't help. Any suggestions to keep them all online all the time? (Do you need logcat for that?)
[Xperia Z Original Android Development] airlessproject:
I intended it to be used with MM but some guys here who like using LP tested it and found out that it works for some roms, especially Brateloslava builds of RR and GZR

Make a init.d script with this content:

#!/system/bin/sh

echo "4" > /sys/module/autosmp/parameters/min_cpus

and give it 755 permissions (rwx rx rx)