yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] BrateloSlava:
Hi!

Who a try to change GPU governor to conservative?

Attempting to enter a command to nothing lead...

echo 'conservative' > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor
[Xperia Z Original Android Development] SuperHanss:
Try:

echo "conservative" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy
[Xperia Z Original Android Development] BrateloSlava:
Bootloop :(
[Xperia Z Original Android Development] Black_Eyes:
will you update this for your L release?
[Xperia Z Original Android Development] danny19901:
It will eventually please be patient as L hasn't even been out a month yet everyone is still working on it and implementing new features for custom roms etc...

TAPATALKED WITH MY TAB S 8.4

My Z3 app Ports to all devices
[Xperia Z Original Android Development] thomas1991_12:
My L release already has KMA kernel.
[Xperia Z Original Android Development] thedark1979:
Hello ,,, is this kernel work with Android 5 Lollipop ?
[Xperia Z Original Android Development] Diatomix98:
No.
[Xperia Z Original Android Development] hutilicious:
did you even read the very first post above yours?:confused:
[Xperia Z Original Android Development] thedark1979:
Yes. But some time with simple trick you can do a magic .
[Xperia Z Original Android Development] Ghost ic0n:
Just thought I'd give a shout-out to this amazing kernel as I flashed it yesterday along with the latest CM11 nightly. I have to say, even though this kernel hasn't been updated in months, it is still (IMO) the best KitKat kernel out there for the Yuga. It has plenty of options in the kernel settings and most importantly, the battery life is the best available without sacrificing performance. Device doesn't come close to heating up as much as it usually does after modifying the Intelli-thermal settings. Again, still the best usable kernel out there for the Yuga.

EDIT: Wow, the difference in battery life of this kernel vs. others is ridiculous. With other kernels, I can only watch 2 1/2 episodes of Breaking Bad on Netflix before the battery gives in. With this kernel, I can easily watch 5-6 epsiodes while still having a few percentage left to rush and put the phone on charge, lol. Again, excellent job, Thomas. Sad to see you move on to another device. However, your legacy for the Yuga is sincerely preserved. :)
[Xperia Z Original Android Development] CosmicDan:
QFT - every word. Also, thanks to you for bumping this thread. This kernel needs to be added to the DevBB (or whatever will have it appear in the 'Kernels' tab of Xperia Z).

I got an Xperia Z for cheap a few days ago, and since then I was struggling finding a *stable* AOSP solution. All firmwares (CM11, Pac, PA, etc.) stock kernels have either heat issues or the intermittent "bzzt" sound issue (apparently it's a blobs thing, whatever that means; but I'm on .283 FTF so I've no idea what that excuse is about) and all other kernels had their own issues (lightning = severely unstable, MEOW = obsolete, etc.)

Also, I wanted something with FauxSound support

I was worried that I got a dud phone and was about to roll my own kernel, until I saw this thread bumped and your reply - excellent timing! Thanks again to you and the KMA developer for making a no-bull kernel with excellent performance and battery life. It's only been one day of heavy use in my CM11 + Xposed + KMA setup and all my daily apps, but I've not had a single problem.

And yes, the battery life is crazy good. Some kind of sorcery going on there. I did some quick research on all the governors and I settled on HYPER, apparently it belongs in the "battery-saving" category of governor but the UI and Wake-up responsiveness is very impressive.

Cheers!
[Xperia Z Original Android Development] Ghost ic0n:
Glad I could be of (indirect) help! And yes, this kernel is quite magical with its performance-battery life ratio. I'm currently running Interactive as my go-to governor along with SIO scheduler and Westwood TCP congestion. Even though this set-up does not generally fall under the battery-saving category, it is nonetheless extremely battery efficient and performs better than any Yuga ROM/Kernel combination I have ever booted.

In case you would be interested, this same (amazing) dev also worked on Lollipop for a little bit before getting a hold of a Nexus 5 (and thus quitting work on the Yuga).

xdaforums.com/xperia-z/orig-development/exp-lollipop-xperia-z-t2929369

I have never tested it. But with it being a product of this same dev AND having KMA kernel built into it, I can definitely vouch for it. The only thing I may have to suggest, for ethical and fairness purposes, is that it was last updated November 30th of last year and considering the hot mess Lollipop is by itself (thanks for that, Google), I would proceed with caution.

- icon.
[Xperia Z Original Android Development] mostafaz:
hi

what is this mean?why ?i have this issue too.

can u explain more ? step by step

please
[Xperia Z Original Android Development] Ghost ic0n:
Not to burst your bubble dude, but this dev got a Nexus 5 a while back and has since stopped all work on the Yuga. Therefore, I highly doubt you'll get an answer from him. :(
[Xperia Z Original Android Development] CosmicDan:
Thanks for the info. I did actually have one problem with this kernel but may be Xposed or DashClock causing it - I had a "wake" issue while playing music and leaving WiFi range. I.e. walked out of my house, tried to skip a track via volkeys (CM11 implementation) and the phone was unresponsive. Screen also wouldn't power on. However music kept playing. After about 30 seconds it all "caught up" - a few tracks were skipped and my screen turned on and off a few times :)

Even with that, kernel is still my first choice (only choice really). Tried to reproduce this error but couldn't, so may have been a one-off instance. Or it could be an issue with WiFi driver, not sure.

I am experienced in kernel development so I 'all try to trap it in logcat/dmesg to find the cause.

Regarding lollipop, I've been most interested in pabx's lollipop as it's apparently flawless. But if it has poor sound volume then its a deal breaker for me - but open source is :) I may roll my own kernel for a solution to that.
[Xperia Z Original Android Development] Ghost ic0n:
Hmmm... Must be Xposed. I have had no issues at all with this kernel and Xposed modules (especially the ones that aren't geared directly for Xperia devices) can be problematic at times. Then again, this kernel hasn't been updated for months now, so to be fair, it could be the kernel.

Nice to hear that you're into kernel development! I too have heard great things about Pabx's Lollipop ROM, so I may have to check it out some time. Sound volume can be boosted with the Aroma Stereo Mod for the XZ (you can catch it usually at the top of all threads in the themes and apps forum). Now, as a lazy perfection-seeking user, I would kill (and I mean kill) for a kernel that's derived from KMA kernel source code. That combined with Pabx's LP ROM and we may have a reason for all KK users to upgrade and never look back. So, what do you say, buddy? :D
[Xperia Z Original Android Development] CosmicDan:
You'd think it's Xposed but I think it's DashClock. Managed to get it to reproduce (seems to happen under high memory use) and disabling lock screen allows instant wake again. Toggled lock screen on and off a few times to confirm.

Either that or an Xposed module (like Gravity Box) is messing with the lock screen despite me asking it not to. With that said, I can live without Xposed so I'll give it a go without it for a few days.

I saw Aroma Stereo Mod, but it doesn't mention anything about headphone amplification. Faux's sound patches are open though so I'm sure it could be worked-in to an LP kernel.

Tempting, I may have to wait for Xposed for 5.1 before I bother personally. Stock AOSP is unusable for me, if only for volskip mod as I use phone for main music player. But if both KMA and pabx kernels are open and have decent commit logs I'm sure I could whip something up. If I do though I'll pass on 90% of the extra governors - an extra two or three at most. Too confusing otherwise; our SoC's will one day revolt from this over governance :D

Anyway, the base would obviously be pabx's kernel - I'd just pick and choose specifics from other kernels and port them over. Time is not something I have a lot of lately, though it's def. of interest to me.
[Xperia Z Original Android Development] ShiShTuBaBu:
Download link

Can anyone give me the download link please? I need this kernel badly :( Google drive link showing 404 error. Help please.
[Xperia Z Original Android Development] Borias:
I uploaded it. Thanks to thomas1991_12 for his permission. KMA-kernel.zip
[Xperia Z Original Android Development] ShiShTuBaBu:
Thanks
[Xperia Z Original Android Development] Tobbyax:
With this build, I have a reboot after the dalvik compilation “Optimizing apps…”. And then, it reboots again and again, just after the screen brightness goes lower at the end of the boot process. Here is the last_kmsg.

Thanks! :)
[Xperia Z Original Android Development] thomas1991_12:
My own build is up too:

Fixes spotify;

https://drive.google.com/folderview?id=0B7XCSgymRoP0TjNDaGFneDRoLVE&usp=drive_web
[Xperia Z Original Android Development] deepongi:
i warn that was a test build..

either way, use latest thomas build or my latest nightly, compiled after that one... both are fixed.

regards.
[Xperia Z Original Android Development] :
Had the same problem. Both with Thomas his latest build (20140512) and Infected's (20140513).

Initial install of Thomas' 20140512 build went fine, but when I rebooted my phone just now, it failed. Installing 20140513-INFECTED didn't help either. Tried both builds with both Dalvik and ART.

Unfortunately I don't have any logs anymore, because my Macbook decided to hang itself as well just after I re-flashed M6-INFECTED... -_-'
[Xperia Z Original Android Development] deepongi:
Do a data wipe. Solved my issues.
[Xperia Z Original Android Development] alnikki25k:
Hey [MENTION=2228255]thomas1991_12[/MENTION]. Good job with the builds.

I noticed you added Gamma control.

I suggest you pick up these two commits instead of the ones from Doom (He had some trouble getting it to work)

Also, always insmod the gamma module from the Ramdisk itself (Faster and more stable that way)
[Xperia Z Original Android Development] luckydude:
does the rom have sony apps like walkman and video and ... ??
[Xperia Z Original Android Development] FateNozomi:
Nope, it's just CM11. If you want them, go find a thread with flashable sony media zips or just normal apks.
[Xperia Z Original Android Development] thomas1991_12:
For some reason both doomlords and your suggested commits crash my kernel.. Just reboots after insmodding. Need to figure out why, but not much time.
[Xperia Z Original Android Development] FateNozomi:
So how's the gamma control going, I saw some new commits!
[Xperia Z Original Android Development] thomas1991_12:
Its done and working (at least with fauxclock, not tested anything other). Upload will be done in a couple of minutes.
[Xperia Z Original Android Development] golfgtiedition30:
Is it possible to add faux sound control patches into this rom?
[Xperia Z Original Android Development] iKillCypher:
Hello thomas1991_12

pabx has updated his firmware

Based on Sonys 10.5.A.0.227 blobs

Using sonys new sensors framework

Fixed reboot-into-recovery

Fixed UI-Hang during manual carrier selection

Upgraded WLAN driver to 3.2.6.137-HEAD

Upgraded to Linux 3.4.86

Dropped CAF patches for now to solve some graphical glitches

maybe you can drop it into your KMA CM11.0 any idea what has happen to FXP ? no progress on Xperia Z so far..
[Xperia Z Original Android Development] thomas1991_12:
I wont be integrating 4.4 blobs until the kernel source releases, no point in debugging otherwise.. No advantages neither.. And he doesn't have CAF merged, which I have and I would like to keep it that way. Reboot to recovery works fine in my build.
[Xperia Z Original Android Development] Burag:
[MENTION=2228255]thomas1991_12[/MENTION]

Most of your forks (I've checked at least those: android_device_sony_qcom-common, android_device_sony_common, android_device_sony_yuga, android_hardware_qcom_display-caf, android, android_bootable_recovery, android_build, android_system_vold, android_device_sony_fusion3-common) are out of date compared to current CM repos. I've looked quickly through those missing commits and some of them look rather important (ffmpeg and stuff ;p).

Could you merge all your forks before the next build?

:fingers-crossed:
[Xperia Z Original Android Development] iKillCypher:
faux sound control patches :)

would be nice also you can pretty much add the updated DSPManager from OmniROM
[Xperia Z Original Android Development] Burag:
Please, do not.

This is CM build and so it should be as close as possible to CM.

If Omni team updated DSPManager, they should contribute it back to CM and post revelant pathes on CM gerrit.
[Xperia Z Original Android Development] thomas1991_12:
I use my own updated local repo's, I removed the online ones from my github as they werent up to date.

Btw: I have uploaded a new build. Build after this one will have this new experimental flags;http://xdaforums.com/showthread.php?t=2754997&__utma=248941774.911236738.1400064072.1400161831.1400442136.10&__utmb=248941774.1.10.1400442136&__utmc=248941774&__utmx=-&__utmz=248941774.1400442136.10.6.utmcsr=xdaforums.com|utmccn=%28referral%29|utmcmd=referral|utmcct=/xperia-z/orig-development/cm-11-0-cm-11-sony-kernel-blobs-t2708325/page12&__utmv=-&__utmk=235053826
[Xperia Z Original Android Development] :
I was just wondering where those went !

Do you plan on uploading the updated repos? I'd like to use them to build other ROMs (PAC to be specific ;) )
[Xperia Z Original Android Development] FateNozomi:
I checked your repo just now and I noticed android_device_sony_yuga repo is missing, I thought that there was fixes inside such as reboot to recovery and the updated snd_soc_msm from .569. So am I still able to get a working build without your android_device_sony_yuga patches?
[Xperia Z Original Android Development] thomas1991_12:
They are still in my builds, only I dont have the repos uploaded. You can however cherrypick them from the cyanogenmod gerrit (they are on there).
[Xperia Z Original Android Development] bujcri:
Does it have FM radio?
[Xperia Z Original Android Development] rlees85:
Thats one hell of a list of governors/schedulers... :eek:

Any recommendations?

Haven't upgraded for a while, will try todays build :) cheers Thomas!
[Xperia Z Original Android Development] aidfarh:
Hi Thomas,

I have a question about the kernel. GCC 4.9 and above now supports -march=armv7ve. Have you considered using this instead of -mcpu=cortex-a15? I've tried googling, but I've not yet found what's the end result difference between -mcpu=cortex-a15 and -march=armv7ve, or is there no difference at all?

If anybody else knows the answer to this, feel free to chip in.
[Xperia Z Original Android Development] Tobbyax:
[MENTION=2228255]thomas1991_12[/MENTION]

20140519 is fine, thanks! (20140518 was stuck at the CM boot animation), but it seems there is no root.
[Xperia Z Original Android Development] rlees85:
Same here... I seem to have root in the ROM itself but not in recovery. ADB SHELL just gives "/bin/sh not found" or something to that note... I guess it is something to do with user/userdebug. Would be nice to have SHELL access back in recovery as I and I guess others would use it a lot...

Installed TWRP for now to get round it :)

The ROM itself seems spot on though!
[Xperia Z Original Android Development] :
Same here. Did a fresh install and root was not working.
[Xperia Z Original Android Development] thomas1991_12:
Root is indeed not supported by default on user builds. But I made some fixes to fix that. Is it only nog working in recovery or in the ROM also?
[Xperia Z Original Android Development] :
Both. The Superuser menu option is missing, and there is no way to enable anything in Developer Options.

I tried to get it back by installing SuperSu (flashed the zip) but that didn't do much, in fact, when installing the binary from the app, it says the installation failed..

When I was in recovery I could see the binary in /system/xbin/su (after mounting /system) but it didn't seem to work, couldn't get root access.
[Xperia Z Original Android Development] rlees85:
Just recovery for me. ROM seems fine, superuser seems fine as does adb shell and su. Only issue is recovery. Not sure why I'm having less trouble than everyone else again lol I dirty flashed if that helps. I'm also using ART.

I guess must be something kept in /data that allows mine to work, such as development mode already enabled.
[Xperia Z Original Android Development] thomas1991_12:
Im doing a clean build that will hopefully fix root issuess, my root is working fine too. To get shell access in recovery you need to mount /system manually in recovery. Then it works for me.
[Xperia Z Original Android Development] manxp85:
Installed the ROM 3 days ago (used official CM 10.2 previously) and found it's not suitable for daily use. Re-flashed ROM twice (hoping that problems will be gone, but no effect). Here are problems I found:

Can't change notification sound. No matter what notification sound I choose, it has no effect - the default one is still used.

VoIP apps work poorly. I use RedPhone and Viber, 9 out of 10 times I can't hear other person, or vice-versa.

Unlock screen freezes often. Waking the phone up and trying to unclock screen ends in reboot (have to reboot manually using the power button). Happened 6 times so far. Using standard "slide to unclock" option.
[Xperia Z Original Android Development] thomas1991_12:
In about an hour ill upload a new build which should be more stable, last build had some issuess.
[Xperia Z Original Android Development] manxp85:
Thanks, will try that
[Xperia Z Original Android Development] :
Thomas can you please tell me which toolchain do you use to build the kernel and which to build the ROM? I'm getting libc segfaults when i build with justArchi's toolchain :(
[Xperia Z Original Android Development] thomas1991_12:
Sabermod 4.10 for kernel and sabermod 4.8 for ROM with justarchis flags applied. You can find the toolchains on

https://bitbucket.org/Cl3Kener
[Xperia Z Original Android Development] aidfarh:
Hi [MENTION=2228255]thomas1991_12[/MENTION],

Using your rom/kernel, with DriveDroid, I am unable to host any image files as CD-ROM drive. After some testing, I've identified the offending lines on your kernel source code. I've made a pull request to your kernel code. Hope you can look at it.
[Xperia Z Original Android Development] hutilicious:
Hi thomas,

Will you port new 4.4 blobs as well?
[Xperia Z Original Android Development] thomas1991_12:
The OTG thing should be fixed in the next build. As for KitKat blobs, I still need to wait on the kernel source code release, I will then of course give it a go. But lately I have been trying on getting the 101 closed source sensors to work, but no success yet. So if anyone has any idea as to why the new sensors won't work in CM you are very welcome ;) Probably something in CM source or config files..
[Xperia Z Original Android Development] Burag:
[MENTION=2228255]thomas1991_12[/MENTION], please don't forget about:

:)
[Xperia Z Original Android Development] doomhammer07:
There are new builds in thomas1911_12's Google drive... Changelog for those?
[Xperia Z Original Android Development] thomas1991_12:
New build is up (27-05):

Finally got the .101 sensors to work, so full sony 4.3 kernel+blobs experience on CM11 :) This should make getting 4.4 kernel+blobs (once source is released) easier. Also fixed the cdrom lun (thanks to [MENTION=2961094]aidfarh[/MENTION] for the tip). Check OP for more.

EDIT: Updated build (with updatedramdisk.zip at the end), this has a reorganized ramdisk which should suit the blobs better and is closer to stock sony.
[Xperia Z Original Android Development] sekac55:
I dont have recovery under 27-05 build. Anyone else ? Next isse is that my exfat sd card wont be readen.
[Xperia Z Original Android Development] thomas1991_12:
I do have recovery. Ill add exfat in next release..
[Xperia Z Original Android Development] sekac55:
I tried to flash the boot.img over fastboot but it didnt helped. Still no recovery. But the battery life is great. Exfat would be very usefull thank you :)
[Xperia Z Original Android Development] hutilicious:
Try clean install i have recovery too
[Xperia Z Original Android Development] Supersaiyan.IV:
Aloha.

Just switched over from PAC to KMA and I must say that I'm definitely here to stay. First of all, awesome work, and thanks for making this.

I've installed cm-11-20140527-UNOFFICIAL-yuga-updatedRamdisk and PA gapps mini, and haven't had any significant problems thus far. Note that I also updated my C6603 baseband with C6603_10.5.A.0.230_Stripped.ftf prior to flashing.

ROM scores 19885 in Antutu benchmark (Multitask: 3536, Runtime: 909, RAM Operation: 989, RAM Speed: 913) which is surprisingly low, spotify works, ART has not shown any problems. Linaro provides smoothness, and batttery time looks good.

There's significant lag after boot, but I assume that's related to the ramdisk. The CM-inherent 2s delay screenlock bug is there. Wifi works, both ac and agn.

Overall I love the direction this ROM is taking :)
[Xperia Z Original Android Development] FateNozomi:
For some reason, I can't reboot into recovery with volume button, have to use adb. Any idea why?
[Xperia Z Original Android Development] buche23:
No idea why, but confirmed, can't access recovery using Vol-Up during startup. With the boot.img from 20140525 it's working fine.
[Xperia Z Original Android Development] thomas1991_12:
Yeah I know of the problem, Im trying to fix it right now.
[Xperia Z Original Android Development] thomas1991_12:
Thanks for your feedback, good to have some postive feedback instead of just bug reports :good:
[Xperia Z Original Android Development] buche23:
Might be worth checking in with Infected. He had the same issue and afaik already has a fix.

And I admire your work, donated (not much but a bit a while ago), and this is by far the best ROM I had on my XZ ever.

So yeah, to me u da man!
[Xperia Z Original Android Development] deepongi:
Thomas fixed the recovery issue at the end of the afternoon. My build at 11 o'clock was a false positive :P
[Xperia Z Original Android Development] thomas1991_12:
My latest build fixed it, you can now enter recovery with both up or down volume.
[Xperia Z Original Android Development] iKillCypher:
I got to say you did some impressive work with the rom I dont know what has happen to FXP but you added life into xperia z once again I switched from stock to your rom :) :good:

will be looking forward to other updates in the near future ; )
[Xperia Z Original Android Development] FateNozomi:
Sweet! Like the way you handle things so fast XD
[Xperia Z Original Android Development] iKillCypher:
Oh Wow after so many months

FXP/CyanogenMod haven updated the originals blobs ? thomas have you submitted the new changes ?

https://github.com/TheMuppets/proprietary_vendor_sony/tree/stable/cm-11.0

cause dont tell me cyanogenmod 11 is going to be based on sony blobs even when the new blobs and kernel are out ?

Sony .101 source and blobs ?
[Xperia Z Original Android Development] buche23:
From what I see on Gerrit http://review.cyanogenmod.org/#/c/61012/ the status is this:

I could not find any indication that this cross device testing is ongoing.

On the new build: Recovery: Fine, GPS and brightness(the two sensors I do actually care about) working really good, very stable, very fast.

Buche
[Xperia Z Original Android Development] thomas1991_12:
Thank you very much [MENTION=3825370]buche23[/MENTION] for your donation!

As to the current status of the upstream cm-11.0;

They are still using the old 4.2 blobs. Whats mainly holding them back on updating is that nobody seems to be testing it on other fusion3 devices.
[Xperia Z Original Android Development] iKillCypher:
that's such a pity. if you ask me.. :silly: anyone possible if you add soundcontrol to our ROM ? :D