yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] someone755:
I will one day. Not soon though.

(I have a 39°C fever and a killer headache, and doing anything when you're like this isn't easy -- just check my commit history from today, it's just straight out ****ed up. I mean, more than it usually is lol.)

I did and it doesn't seem to be working. At least not on my end, it just seems to disable all LED action on notifications. You're more than welcome to try and report back on your experience though -- Z4 is on Drive already.

I also tried adding showp1984's thermal driver but no dice. It's accessible through sysfs but it doesn't do jack. The good news though is that one thing I added worked! It's an intelli_plug update. Nothing too spectacular though the hotplugging seems much better now.

EDIT: This is turning into more of a personal blog than a forum thread lol. Either the kernel is very good or few people use it. (I like to think it's the former.)

Z5 on Drive, if anyone is reading this and willing to test, please do so. Disable all kernel tweaking apps that apply things on boot though (or delete their data)!

The goal is this: Intelli_plug on by default, Mp-decision disabled by default, and intelli_thermal on by default. The main point of this one is updating the ramdisk and making a few things work out of the box.

You might ask yourself, "Why did this idiot make the boot.img 13MB? That's HUGE!" and I'll answer that I messed up when repacking the ramdisk. Sorry, honest mistake!

(I'm still a tad sick -- sick enough to be excused from work but also willing to bare through the headaches in order to mess around with kernels.)

Even more EDIT: If you're running the kernel, please vote on the poll. It'll give me an idea of how many people actually even run the thing, and I'll be able to make a few changes to my way of releasing (such as faster updates or less confusion (eg no more X or Z releases if nobody has them installed)).
[Xperia Z3 Compact Original Android Development] was12:
There is LED flickering problem on latest Z5X. [MENTION=4275152]someone755[/MENTION]
[Xperia Z3 Compact Original Android Development] C2fifield:
So I just wanted to say I use and love your awesome kernel ?. I basically only go on XDA anymore to check here for updates, but I usually only flash the zip releases because I'm too lazy to fastboot. I kept meaning to reply and actually thank you for all your work, but the XDA app is horrible to I try to spend as little time possible using it. Anyways thanks again and I look forward to all future updates and I promise to try and participate more :good:
[Xperia Z3 Compact Original Android Development] V1k70r:
I can confirm that intelli_plug is on by default, and mp-decision off. I'm not sure about intelli_thermal though.

This is also happening to me. I'm running the official CM12 nightly from April 7. Fiddling with the notification light settings in the Settings app doesn't do anything.
[Xperia Z3 Compact Original Android Development] someone755:
Thanks. Noticed this myself, but I get notifications so very rarely I forgot about it lol.

Glad to see you're enjoying it. Not that I'd suggest doing it, but TWRP can flash image files as well (at least the newest version can). It's how I flash a fair deal of kernels, actually (especially test builds that I don't bother putting in zips, so I have to reapply them after every CM update).

As for the XDA app, see the XDA One app thread. It looks pretty nice, though a lot of functionality is taken away (eg polls and text formatting -- posts with a lot of quotes are sometimes really hard to read). It's good enough to read the Forums though. (http://xdaforums.com/general/about-xda/alpha-official-xda-one-forum-app-t2899329)

EDIT:

More like N1nj0r amirite. okay ill see myself out

Thanks to you as well, haven't had the time to check whether or not my ramdisk things worked. I just did though, and saw that thermal is working as well, so that's a good thing.
[Xperia Z3 Compact Original Android Development] smorgar:
I've been using the kernel for some time but since i update CM12 via OTA it flashes the CM12 stock kernel over the kernel12 every time i flash latest nightly. Is there a way around that problem so i dont have to reboot again and flash the kernel after OTA update?
[Xperia Z3 Compact Original Android Development] someone755:
Don't know about the integrated updater, but CyanDelta has an option of adding additional zips to flash after the update. Maybe go check that out?

EDIT: Z5Xb? Maybe, I dunno. I fixed the ramdisk and hopefully the notification LED thing.

EDIT2: CM sources got a lot of updates, mostly wifi tweaks. It seems like a good time for another stable build.
[Xperia Z3 Compact Original Android Development] Zwulf:
Had some issues with Z5Xb - serious overheating and battery draining even when screen was off and apps were greenified. No issues with latest stable version - another great one, thx [MENTION=4275152]someone755[/MENTION]!
[Xperia Z3 Compact Original Android Development] someone755:
Install BetterBatteryStats. That'll tell you whether or not the wakelock you're experiencing is because of the kernel or an application. If it's the latter, I can't do anything about it (you can, however, install an app such as Amplify to rectify that issue).

Also check your kernel tweaking app to see if your changes are still stuck -- a change in governor or CPU freq may cause overheating (like setting the lowest freq to 2.5GHz, or setting the governor to performance). I don't know why, but it's happened to me as well that my settings were changed to some random setup that caused a lot of heat. Or if you're just running it all vanilla, without tweaking, try a reboot.
[Xperia Z3 Compact Original Android Development] Zwulf:
Tried anything of the things you mentioned except BetterBatteryStats (will install it though). Used ondemand governor and lowest freq to 300, wasn't changed randomly. But as already mentioned problem is gone with 03X stable. Thanks for your help! :)

Could figure it out tomorrow with test kernel to help you debugging (if it's not caused by an app) if you like.
[Xperia Z3 Compact Original Android Development] someone755:
Of course! Any help is welcome.

Bug reporting, also. That's a big thing lol.
[Xperia Z3 Compact Original Android Development] Zwulf:
[MENTION=4275152]someone755[/MENTION] Sadly could not reproduce the issue. Installed BetterBatterStats and flashed Z5Xb again, but overheating and battery draining didn't appear. If it should appear again I will figure out with BBS and will post the logcat. :)
[Xperia Z3 Compact Original Android Development] was12:
[MENTION=4275152]someone755[/MENTION] There is no intelliplug on O3X release.
[Xperia Z3 Compact Original Android Development] someone755:
There is. The app you're using probably just isn't updated for intelli_plug's new interface -- I noticed TricksterMOD is one of those apps.

Try Kernel Adiutor. For the most part, it can replace anything else you're using right now.
[Xperia Z3 Compact Original Android Development] murali_v_2000:
Does these kernels work with CM 12.1 ? Thanks...
[Xperia Z3 Compact Original Android Development] someone755:
We don't even have CM 12.1 for our device. At least, not official: https://download.cyanogenmod.org/?device=z3c

I saw jerpelea posted a test build to the thread, but so far, the only few posts about that build say that it doesn't boot.

Tl;dr: no kernel12 on cm12.1 until stable/official cm12.1
[Xperia Z3 Compact Original Android Development] murali_v_2000:
I am using 12.1 from http://xdaforums.com/z3-compact/development/aries-cyanogenmod-12-1-unofficial-t3084632. Boots and works fine. Not sure if we would ever get an official CM12.1 for Z3c :o
[Xperia Z3 Compact Original Android Development] someone755:
Oh I wouldn't worry too much about not getting 12.1. The sources that the ROM in the thread you've linked uses are actually CM's cm-12.1 branches.

Eventually I guess I'll have to make a 12.1 build anyways, but definitely not in the coming months. (Given I haven't slept in the past 24 hours, and intend to do an average of 4 hours a day of sleeping in the entire month of May lol.)
[Xperia Z3 Compact Original Android Development] Panic Brothers:
Thank you

:good::good::good:

First of all...THX for this work.

I'm still in testing but can confirm on my German Z3C with the CM-12 Nighly from 02.04.2014 I use your O3X Kernel (Permissive) and a special compiled XPosed Alpha version with "Not hooking native method" enabled.

right now with this hint from you:

I have the smoothest and Battery Life best Phone on this fu**/&%§"$ planet. I guess it is the best Device in this Galaxy :cowboy::cowboy::cowboy:

I think about spending Battery charge for IPhone Users.

Thank you so much. Donation is needless to say.

Regards

Panic Brothers
[Xperia Z3 Compact Original Android Development] Amr Nasser:
Important

Official CM 12.1 Is Out Last Night

Does This Kernel Work With It ??
[Xperia Z3 Compact Original Android Development] someone755:
I'm guessing you tried reading the thread but didn't manage to see the two posts above yours that discussed 12.1 compatibility.

The following quote tells you that I have no intention of updating anytime soon:

And this next quote tells you something more:

It apparently works for one user.

I don't endorse or suggest you do it -- it might work for you, and it might not (I don't know, I don't care and frankly I have many other things to worry about right now). But know this: I'm not fixing any errors that might arise from using my CM12-based kernel with CM12.1.
[Xperia Z3 Compact Original Android Development] tomcatoggo:
Hi guys!

I am following the CM topic on "our" device for quite some time now... because I really want to get rid of the Sony software (even though I already debloated it). If I got it correctly, most major bugs could already be tackled... and it is really daily driver ready. Except for one "major" bug: that fish-eye problem of the camera. And I am wondering, which part of the system (kernel, ROM etc.) is the one that causes it... I can't find answers to it... only the usual reports about the problem / bug itself.

So... why I am putting this here in this thread? Because I mostly want to address you (@someone755) with that question... not because I like to bother you... just because I got the impression that you have quite some understanding of the system. Do you know about the reasons for this problem? And: do you think it will be solved... soon... eventually in several months?

I want to emphasize that I don't want to push anyone to work on it (even though that'd be great of course : ) ...I will get CM this weekend on my device anyway I think because I guess / hope that it will not bother me that much.... but I mostly would like to understand it.

So hope you got some sleep menwhile... and may be you find some time to briefly explain... if you know about that.
[Xperia Z3 Compact Original Android Development] Myself5:
It's related to the Kernel. The Z3 devices have a wideagle lense. However, on CM all shinano devices use the rhine camera drivers (rhine = Z1) which are not having a wideangle lense. On stock the Camera drivers fix the fish-eye effect of the Wideangle lense, but on CM the rhine cam drivers don't even know that they need to do this, hence the fish-eye effect.
[Xperia Z3 Compact Original Android Development] someone755:
More on what Myself5 said here, if you're interested in the code: http://review.cyanogenmod.org/#/c/84800/ I''ll play around with that when I get some free time, until then either live with this issue or wait for somebody else to fix it.

(also woo a kernel developer is participating in my thread \o/
[Xperia Z3 Compact Original Android Development] tomcatoggo:
Thanks a lot for that explanation! :svetius:

...was I only too blind to find a good explanation as you just gave me somewhere else or is it as I said: only reports, but no answers?

How do you see the chances that it will be fixed (within a reasonable time... like 6-8 weeks I'd say)? As you explain it it actually sounds quite easy... like "just" change the drivers... but I guess if it was that easy it would have been done already.
[Xperia Z3 Compact Original Android Development] Myself5:
There is a reason why they use the rhine drivers on the shinano devices. It's not that easy :P I think it will defenetly get fixed at some point, the way the Camera is going to get supported on the Sony AOSP Roms (like OmniROM) will use a proper implmentation of the drivers. At this point it should be easy to port it over to CM. Can't give you any ETA tho, as I don't have one either ;)

or use MultiROM ;) *cough* spoiler alert*cough*

BTW: [MENTION=4275152]someone755[/MENTION], the kexec hardboot value in your kernel for aries is not correct ;) trying to figure out the correct one ATM.
[Xperia Z3 Compact Original Android Development] someone755:
So you finally got that working :P

I haven't really looked at code in over a month now, but I took these values from [MENTION=5169444]AndroPlus[/MENTION] -- if mine are wrong, his are as well (unless he's fixed them, but as I said -- I haven't seen code in over a month). He'll probably be able to tell you more.
[Xperia Z3 Compact Original Android Development] Myself5:
I'm in personal contact with him, so I know how he came on that value [emoji14] and I'll tell him that the value is wrong as soon as I got the correct one. And what do you mean with "finally" [emoji14] I have just recently started development for the Z3C as [MENTION=6431358]Panic Brothers[/MENTION] donated one to me [emoji14]
[Xperia Z3 Compact Original Android Development] someone755:
I meant "finally" as I have spoken with several people that tried to port MultiROM (and they've been trying for a few months now). Didn't mean you personally :P

Just hit me up once you do find those correct values, please. Wouldn't like to be the last one to update lol
[Xperia Z3 Compact Original Android Development] Myself5:
Check latest M5 Kernel commit, I just updated it. Now I just need to compile MRom 1 more time and do my final tests. Then it's getting release :)
[Xperia Z3 Compact Original Android Development] someone755:
Z6X uploaded if anyone besides me hasn't yet made the switch to 12.1 but would still like mrom.

(nothing new here 'cept for multirom fixes, all thanks to our savior Myself5)
[Xperia Z3 Compact Original Android Development] tomcatoggo:
I should really try that Multirom soon.

But I have one more question related to the camera: Something I also tried to find out, but never found an answer: the reduction of the picture quality (since today I can directly see the strong difference myself) is (said to be) related to the loss of the proprietary binaries from Sony. Does that only imply the "drivers" (as you mentioned before) or are there more (proprietary) files necessary to work on that?

PS: maybe I should say: I am unfortunately absolutely not a pogrammer (except for a tiny bit of VB)... but I try to understand the things as I am very much interested in the Android ecosystem... and admittingly also in a nicely working device :)
[Xperia Z3 Compact Original Android Development] someone755:
DRM keys are unrelated to the camera drivers. The latter are a way for the kernel to let the camera module interact and be controlled by the phone's software.

The DRM keys (as I understand) enable a select few apps (or an app's functions) on stock ROMs to run -- one of those apps (or app functions) is the one that controls the camera noise reduction.

EDIT: Also yay for VB. Learned quite a bit from that thing.
[Xperia Z3 Compact Original Android Development] tomcatoggo:
...and can you tell if there is a chance to reduce the noise without the "mercy" of Sony giving out some drivers (or other "data")?
[Xperia Z3 Compact Original Android Development] chikrron:
hey how can I boot into recovery? when I press vol + or vol - only appears cyanogen recovery :/ help please
[Xperia Z3 Compact Original Android Development] x34z89:
I am running CM 12.1 Nightly for my Z3C, but i would like to replace the stock CM recovery as it is highly limited in functionality.

Can i simply grab the recovery image and flash it with fastboot? Or do i need to flash your kernel as well? I wold really like to keep the official CM kernel.
[Xperia Z3 Compact Original Android Development] someone755:
No, unless a developer codes their own noise-reducing algorithm.

Your question actually raises multiple other questions about how this software works, but you'd need somebody that actually knows how device drivers and the Android System as a whole work to answer them.

Well the Cyanogen recovery is a recovery, so you are booting into the recovery. I don't see an issue here.

This kernel will only boot to whatever recovery you have installed on the fota partition -- if that is the Cyanogen one, that's the one you'll be booting into when you press the volume up key.

I've not yet had the time to try out CM12.1, but I've been told that the "old" "builds" of TWRP do not work with CM12.1. There is a thread (I think in the dev-section of the Z3C forum) that has a newer "build" available and is said to work with CM12.1. Grab that image and flash it.

The stock CM12.1 boot image has an extract_elf_ramdisk script available, so you will be able to simply 'fastboot flash recovery recovery.img' and be done with it. That is, if the recovery works.

I say "build" because none of the TWRP recoveries I've seen thus far are actually built from source -- they're merely zip-ported from other Xperia devices.
[Xperia Z3 Compact Original Android Development] someone755:
*bump*

I've rebooted this project, and kernel12 is now again a thing (maybe).

All of the changes are listed in the first 3 OPs, except for the fact that I am now a potato.

I can't believe I'm necroposting in my own thread. However I am a potato so I'm bound to be excused this once at least. Right?
[Xperia Z3 Compact Original Android Development] sm4tik:
Had a moment last night reading through your monologues. If you ever get anything but bored, you should do the same ;p

Decided to dump stock for a while again just to test/see the features of your kernel and so far its been all good! So good in fact that I don't recall using a cm12.1 kernel with a working thermal module yet, but intellithermal lowers ALL cores' frequencies, rather than just one like the stock cm kernel does, so a big thanks for adding it! I think I can sleep once again without holding my phone in one hand being afraid it might overheat because of some faulty app :D I don't recall seeing intellithermal in [MENTION=3816568]Myself5[/MENTION] 's M5 kernel either (last actively used version was 6.1).

Just as a small feature request I'd like to see a couple more CPU frequencies: 26x, 2419, 2573. With the lowest, I've had zero stability issues, 2419 let's you undervolt a bit further without losing any performance compared to stock max freq, 2573 let's you have a slight overclock with around the same voltage as the stock. I personally don't need huge overclocking (and judging by your kernel features, neither do you).

I'll be using this kernel now as it seems stable and I've no need to go back to stock lp for a while. Please let me know if you need some specific features to be tested!
[Xperia Z3 Compact Original Android Development] someone755:
Lolno. A month ago or so ago I read something I wrote when I first started this kernel stuff. I've never slapped myself harder.

I like my phone cool. That's why bought a water-proof phone, so I could cool it in water (and it's really effective, too! Battery down from ~45 to ~30°C in less than a minute!). Just hope the water seals keep working lol. Cold water isn't always an option though, so a good in-kernel thermal solution is the next best thing.

I'm not sure I can get the phone to work at 26 Mhz. Where did you even find those frequencies to test? o.o

As far as going lower with frequencies goes, it's matter of clock per voltage -- if the voltage is the same (or nearly the same), it doesn't really benefit anyone to go that low.

Under/over-volting/clocking is a bit of a binning issue though, not everyone gets the same voltage/frequency combo (and as you can see in the Androplus kernel, playing around too much with them causes a bit of an issue for some people).
[Xperia Z3 Compact Original Android Development] sm4tik:
..not 26MHz, but 26X MHz :) I don't remember the exact frequency available in both m5 & androplus. I know it won't make much difference in battery life with 300MHz vs 260MHz @5-10mV lower, but I think having the opportunity wouldn't hurt. Again, underclocking to 2.4ghz ~20mV lower (if it was available) than the stock max won't make much difference, but at the same time it allows you to undervolt the lower frequencies even more. I'm not really that much into science when it comes to clocking, but I've noticed that the higher you set the max freq, the higher you need to set the voltage on lower frequencies also. With 2ghz max freq I could undervolt the lowest frequency (26x.. again) under 650mv stable. Currently with max freq set to 2457mhz I'm down to 300mhz@690mv but won't even try to take it close to 650mv. It'll be an instant halt. This is with a pvs bin 7. Ofc thethere should be sane defaults to boot up with, but having a bit more user control would be nice :)

A good tip there with water cooling! Maybe next time I'm taking an ice cold shower I'll try to break some benchmark scores :D
[Xperia Z3 Compact Original Android Development] Myself5:
I always tried porting IntelliThermal, but never managed to get it working with inline kernel building, it always caused compiling crashes in combinition with the CM Thermanager. Going to take a look at your commits, congrats on getting it to work ;) Oh and you might not want to use Intelliplug 5.0, it's an unofficial version not being compatible with apps like Kernel Adiutor and seemed to not be stable at all on my experiences. Newest IntelliPlug by faux123 is 4.0.

It's 268MHz ;) That clock will nearly never be used when you actively use your Phone. It's more for Standby/Idle usage.

Commit for this would be here: https://github.com/Myself5/android_...mmit/5752c4c3c5be433dda377c1d756a3bccf3ab9f73
[Xperia Z3 Compact Original Android Development] someone755:
I used this: https://github.com/faux123/Nexus_5/commits/lp_mr1/drivers/thermal/intelli/msm_thermal_v2.c

And a fix: https://github.com/faux123/Nexus_5/commit/33ae17fed52d7fdb9a8b74ecad8934bab769d5e4

I don't know which version that is (probably 2, judging by the name), but it's made by Faux so it'll work :P

I can't even find anything in Faux's repos (or anyone else's for that matter) that would bear the v3 or higher name, so I just reckoned this is what's newest. I've had it for a while now, and I refuse to install anything without it. I'm honestly surprised you're getting issues, it's one of the smoothest cherry picks I've made \o/ (and another reason to avoid thermanager, that thing has caused me nothing but trouble so far)

I'll take a look at that, thanks!

Man cpufreq tables have changed since device trees have been introduced... Used to be so much simpler with msm8660 :P

EDIT: I'm an idiot when it comes to quoting, so that's now fixed.

Mistaken your intelliplug recommendation for intelli_thermal talk lol; I'm on 3.9 right now, 4.0 is causing me some issues and I don't have time to fix them yet. :c
[Xperia Z3 Compact Original Android Development] sm4tik:
Thanks for the commit link and the exact frequency. I guess I use my phone quite lightly, but it stays idle most % of the time. Mostly mail, g+, browsing, music etc. so in my case it makes a bit of a difference. I'm even having interactive set to 65% load up to 880mhz and still.. maybe I just suck at using these multimedia centers ;)
[Xperia Z3 Compact Original Android Development] someone755:
I added the 2419 and 268 MHz steps in r_02 but I couldn't figure out why overclocking wouldn't work (so that's a todo).

i love it when i can bump the thread and make it look like it isnt without context lol