yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] thomas.raines:
Damn... the wifi strikes again...lol... what rom? Get me a logcat. SlimRoms and Slim based Roms haven't been updating their sources. Tell your rom dev to update their hardware files.

As for the CPU spike, that is an issue with mpdecision. I'm aware of it, but since your the only one who has reported it, I thought it was just me...lol... I'm working on, but for now, use TricksterMod and set the frequency lock to on and make sure you have it to set it at boot. This will override mpdecision and will stop the cpu spikes.

F2FS is in the works, but because of my current backlog on other devices, roms, and kernels, I have been able to get to it. Please be patient and hopefully I can get the support for F2FS in there by this weekend.

On another note, after my current build is done compiling, I will have 4.4-3.1 ready for release. I will also have a new ROM that my boys and I have been working on... It goes great with lz-kernel, but then, there will be another thread for that...lol
[Nexus 4 Original Android Development] bart.found:
Hi, my signature says it all! I'm on last slimkat weekly! Already set on boot with frequency lock, but the CPU still went to 1800... For WiFi issue I have to wait tour next release... Or slim next build?
[Nexus 4 Original Android Development] thomas.raines:
You're right, your signature does say it all...lol

For the wifi issue, slimroms has not updated their hardware_qcom repos in a long time. Because of other repos that have been updated, wifi and bluetooth is failing. Tell your rom dev to update their hardware_qcom repos with another source, it tell slimroms they need to get off their butts and fix it... I know this from experimenting with a few slim based roms for the last couple weeks.

As for the cpu spiking to 1800, try turning off mpdecision in trickstermod. the frequency lock worked for me, but you cpu could be acting differently. I'm guessing you looked at your last_kmsg to see what caused the kernel panic and it says something about L2 cache not syncing and then another line about CPU0 trying to spike to 1800? BTW, I am working on a fix, but it's taking a while because of other projects.
[Nexus 4 Original Android Development] bart.found:
I tried to report your istance, but they say that their sources are up to date!! this is the link http://xdaforums.com/nexus-4/orig-development/rom-slimkat-mako-t2508720/post52520548#post52520548 post #6815

I think that you could solve this issue together! Also because other kernels I tried on slimroms didn't suffer that..

about the second part of your answer... I tried to lock the frequency but it still went to 1800, however I didn't try to turn off mpdecision! ...and... I don't know how to read that log and where I can find it! XD
[Nexus 4 Original Android Development] thomas.raines:
As for the wifi, I just looked at SlimRoms main source and they have updated their hardware_qcom_ wlan and bt... But your Rom dev said he is compiling the wifi as a module instead of a driver. There is you problem right there... It's not going to work unless I change back to compiling wifi as a module, or he changes his to be a built in driver. I would like to change mine, but most roms compile wifi as a built in driver. changing my source code would break the kernel for most other roms...

so if you want to use my kernel, you are either going to have to tell your rom dev to change his code or get a new rom

As for the CPU spike, how did you find out that it was doing it? Which CPU is it? I was hoping dvfs would throttle it down, but it didn't... Looks like only cpu0 is being controlled with any cpu app (well, the 4 that I tried). But i'm working on it...

If you want to see why you got a random bootloop:

after the phone has rebooted, connect the phone to your computer, start adb shell in a terminal then type

cat /proc/last_kmsg

then near the end of the output, it will tell you why it rebooted (kernel panic) and if you scroll up just a tad, you will what caused the kernel panic...

​
[Nexus 4 Original Android Development] bart.found:
Hi, Most of the kernels I tried have two versions.. one working with all AOSP roms and one for CM based or other roms.. I like a lot slimrom cause it is cleaner than the stock one!! I don't really want to change it.. for now! XD

well, I noticed that phone's back overheated, so I went to trickstermod information tab and saw that frequency went to 1800/1512 (this fraction is a bit weird XD) if I didn't touch the screen it came back to 94MHz but sometimes all the four cores went to 1800...

No random reboot till now, but this is a precious information for the future!
[Nexus 4 Original Android Development] thomas.raines:
All 4 CPUs went to 1800? Do you have them throttled to a lower max setting?

Good news though. I got sec_dvfs_dual working properly. It hasn't stopped the spikes, but now the phone isn't wigging out when it does spike. I haven't had a reboot in 2 days now and I'm not using trickstermod anymore for anything. I'm using kernel tweaker which is built right into my rom. Unfortunately, it doesn't have a freq lock button on it, but like I said, sec_dvfs_dual is working right and doing it's job... More info on this, the only CPU that can be throttled is CPU0 or the first CPU since it never goes offline. The other 3 CPUs, since they go on and offline as needed, cannot be controlled. I think this is where the issue is. I'm putting together an update package and will have it out in a bit...
[Nexus 4 Original Android Development] thomas.raines:
Update available

Read changelogs for details...

Enjoy
[Nexus 4 Original Android Development] sean222:
I didn't notice F2FS in the changelog?! I'm ready to take this baby for a test drive :)
[Nexus 4 Original Android Development] thomas.raines:
I'm working on it. I wanted to get this release with sec_dvfs_dual out so fix those having the issues with cpu spikes and instability... Have patience grasshopper...lol

BTW, I my best time was a 12.3 @ 153 mph on the 1/4 track today. I'm not done with tuning the car, and I still have the supercharger to put on. But I'm so close to having a 10 second V6! Yay! lol

I know that has nothing to do with anrdoid, but I just had to share...
[Nexus 4 Original Android Development] biron_w:
Can't download latest version as it says the file is not found.
[Nexus 4 Original Android Development] oliver7:
Worked for about 19hrs. Then i wanted to enable wifi where it got stuck doing so. Then reboots. And continuing reboot after reboot. Stock rom.
[Nexus 4 Original Android Development] Yadro:
I also had issues with wifi,it kept staying on turning wifi on.

Tried flashing stock kernel and then lightning zap but no luck the same.even dirty flashed rom and still same issue.my rom is twistedkat based on slim.
[Nexus 4 Original Android Development] oliver7:
That's exactly what's happened here.
[Nexus 4 Original Android Development] biron_w:
Is the download link broken for anybody else?
[Nexus 4 Original Android Development] leather.face:
Hi biron_w :) ... I have now tested the downloadlink for the Nexus4-LightningZap_p4.4-3-1.zip and goo.im is by me working ... But for me, this kernel is nothing, there are better ;) ... Have a nice weekend!

Regards

leather.face
[Nexus 4 Original Android Development] gorilla p:
So I checked out this kernel and it has a lot of potential. I like the refreshing approach that strays away from some of the more mainstream kernels with adding some governors that are popular for other devices. I also like that you added the 94.5mhz freq. There are a couple things that I didn't like that I wanted to comment on however...

1 - The LionHeart governor ran horribly for me for some reason and I don't know why. OnDemand ran perfectly.

2 - I noticed that the voltages were set really high. I lowered them by 10000 across the board and that is where most kernels are at. I typically have my 81 MHz@69500. So 94.5mhz@75000mv should be more than sufficient. This will help users to save some battery life without sacrificing performance.

3 - I also saw that mpdecision is the default thermal control with no mpdecision controls available in Trickster. A lot of people don't like the touch boost and disable it if given the chance. This is why the most popular kernels (AK, Hells Doctor, etc) have went away from it and are now using msm Hotplug.

Just my $.02. I hope this helps.
[Nexus 4 Original Android Development] QUIETLYloud:
Wow... I know your parent's taught you "if you don't have anything nice to say don't say anything"

Sorry for the o.t. and good luck with the development
[Nexus 4 Original Android Development] thomas.raines:
Lionheart can be finicky. I have a total of 9 devices, out of those 9, it works on 8, but if I enable it on that last one, the phone goes all whacky and starts acting like it's running windows millennium... just all kinds of crappy... but others with the same device, have no issues. It's a phenomenon...lol

You are right, the voltages are showing to be very, very high... I didn't even notice this, until you pointed it out. It's now fixed, but next update isn't complete.

The whole mpdecision, thermald and everything in between has been a thorn in my side. I'm working on the conversion to using msm_hotplug and it will be in the next update as well.

Thanks for your feedback...
[Nexus 4 Original Android Development] gorilla p:
Not a problem, I'm happy to help. I saw the list of devices I. Your Sig and figured you might be new to N4 kernels and unfamiliar with the voltages so I thought I should mention it. Thanks for taking it correctively and not as an insult to your work.

I imagine the reason you mentioned above is why I've never seen that governor available for the N4.

We typically see the following governors...

OnDemand, Intellidemand, interactive, intelliactive, performance, conservative, Wheatley and recently StockDemand. AK had added ElementalX for a short period and it was an awesome performance/battery balance but I'm not sure what happened to it.
[Nexus 4 Original Android Development] biron_w:
There's really no need for comments like that. If you don't like it then fair enough but you shouldn't come into a thread just to slate somebody's work.
[Nexus 4 Original Android Development] gorilla p:
I think there's a reason the comment was just ignored. Not worth the wasted time.

However if kept up with, I see this kernel having potential.
[Nexus 4 Original Android Development] thomas.raines:
Update available. Read the changelog...

I've been running it all day and it seems much more stable. thanks @gorilla p for the info on msm_hotplug

And, the voltages are correct. They are just reported in uV not mV like we are all use to...
[Nexus 4 Original Android Development] biron_w:
Link still isn't working :confused:
[Nexus 4 Original Android Development] gorilla p:
It is, message on site says they're moving servers. I was able to download it.

I'm having a problem with the freqs.

I tried Synapse and Trickster to set my max freq to 1350, and it's ramping all the way up to 1728 for extended periods. I tried OnDemand and Intellidemand.
[Nexus 4 Original Android Development] biron_w:
For some reason the link wasn't working with Chrome but it works fine with FireFox.
[Nexus 4 Original Android Development] thomas.raines:
That's odd... guess that's why I don't like chrome... I prefer flat black...lol
[Nexus 4 Original Android Development] thomas.raines:
get me a dmesg and a logcat when it occurs. Note the time. Only cpu core 0 stays online so it can be throttled; however, cpu core 1-3 go on and offline as needed, and they are not throttled. Therefore, they can spike to max freq. The purpose of msm_hotplug and sec_dvfs, is to limited they're usage and only add the cores as needed. I personally don't like the fact that they switch and would prefer they stayed online at all times just ramped down to the lowest possible freq until needed. But this has been they way the code has been written for multi-core devices since I've been developing.
[Nexus 4 Original Android Development] kosaidpo:
which app you guys recommend to modify the parameters and all thanks ?

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] thomas.raines:
TricksterMod
[Nexus 4 Original Android Development] thomas.raines:
Update available.

Read the changelog. Very important!

Enjoy!
[Nexus 4 Original Android Development] Almayce:
This looks interesting, fresh breeze among the kernels here. I'm gonna try it out once I get home. Looking forward to the aroma thingey. Keep it up! :)

So my WiFi is borked on latest mahdi Rom with this kernel. I saved the log during the process if that helps, I can provide it.
[Nexus 4 Original Android Development] thomas.raines:
If wifi is broke, I'll need a logcat from when you try to turn wifi on... The install log will tell me nothing... Maybe a dmesg as well...
[Nexus 4 Original Android Development] gorilla p:
4.4.3 custom kernels are breaking WiFi on most Roms, even 4.4.3 Roms. Try flashing 443 WiFi revert zip from bit.ly/makostuff and see if it helps

Sent via Mental Telepathy
[Nexus 4 Original Android Development] Almayce:
Here it is. Logcat and dmesg. Also im not gonna try WiFi revert for now. It works on ak, hells doctor/core along with mahdi.
[Nexus 4 Original Android Development] thomas.raines:
The linux version is still 3.4.0.*

The lightning zap maintenance version is 4.4-3.3, not to be confused with kitkat 4.4.3. I know this can sometimes get confusing.

Thanks for the logs. You deffinitely have an issue with the wlan drivers not loading, but it's caused by the rom and not the kernel. You are missing some files from /system/vendor/firmware/wlan/prima, which are WCNSS_qcom_cfg.ini and WCNSS_qcom_wlan_nv.bin.

I don't know much about mahadi rom, but you can either find another rom that contains these files and place them in the correct spots, or talk to your rom dev about it.

On another note, I saw some other things in your dmesg that has raised a flag with me. Can you go ahead and get me the install log as well. Also, what, if any, app are you using to control/tweak your kernel, cpufreq, uv, gov, etc?
[Nexus 4 Original Android Development] Almayce:
Okay, but it's weird. Like I said WiFi worked on ak, hells core and hells doctor. I will try another rom along with your kernel, but not today, it's too late.

What flags are we talking about anyway? Something wrong with my phone or coding? Also if it helps, I flashed latest ukm script for synapse along with your kernel to control the tunables. U can find it in general section. Synapse is on play store. I'll provide the log tomorrow as well if it's okay, I deleted the previous one.
[Nexus 4 Original Android Development] Yadro:
Same with me,i really loved to try out this kernel because of the governors but always broke the wifi.

P.s i am also on mahdi atm.
[Nexus 4 Original Android Development] Almayce:
log is here, i hope it doesnt matter that i tried to install it on cm based rom. didnt realize it at that time and i have no time. also i spent like 30 mins trying to upload the frikkin log from phone to no avail. i just literally had to sit behind pc and do it there. SO MAD!
[Nexus 4 Original Android Development] thomas.raines:
It's in the rom. As much as I would like to make things perfect for everyone, there are some things that I cannot control. I stated before that the mahadi rom is missing some wifi files. Even though other kernels do not brake wifi on this rom, my kernel is a hybrid kernel. I have designed it to work on most caf and aosp roms. Keyword being most. On a good note though, I am working on a solution with this issue...

I'm sorry that this has become very frustrating for you. Not sure exactly what went wrong, but the "flag" that I saw is related to cpufreq. In your last post, the reason for that flag I saw was answered when you said you are using a script to control the tunables... I would suggest you take another look at that script as it may not be working correctly, and in fact causing more harm than good, i.e. battery usage, performance, stability, etc...
[Nexus 4 Original Android Development] gorilla p:
A lot of custom kernels are breaking WiFi in 443, won't the 443 WiFi revert zip fix it?

If anyone runs into this issue, try downloading the WiFi revert zip from bit.ly/makostuff and flash it. That has fixed the issue for most.
[Nexus 4 Original Android Development] Almayce:
Well I had no problems with the script so far and I am pretty much a layman in this area. you should point out the problem you see to [MENTION=5658634]apb_axel[/MENTION] . He upgrades the script on regular basis and I'm sure he'd be willing to talk to you about it.
[Nexus 4 Original Android Development] anoymonos:
Not sure if this is part of the WiFi issue but I also notice that tethering hotspot is also broken. I am running stock 4.4.4.
[Nexus 4 Original Android Development] Wassupdog:
Does this kernel has Gamma and Sound control?
[Nexus 4 Original Android Development] thomas.raines:
There is a wif fix and a wifi revert out there. I used the wifi revert on a 4.4.4 rom and no luck, but the wifi fix corrected the issues. I have updated my device files, but since I normally only compile the kernel with no external files, flashing that wifi fix.zip might be the best option for now. at least until everyone is updated. As soon as I find the source for it again, I will post a link in the OP...

Gamma yes, sound no... I was working on adding the sound control but got side track on other projects and forgot about it. It's been added back to the todo list...
[Nexus 4 Original Android Development] Mortal Eternity:
Hi Thomas,

Does your kernel supports call recording? i m on mahdi 4.4.4 rom... and the stock kernel with it does not support call recording feature...
[Nexus 4 Original Android Development] thomas.raines:
I don't know... never tried/used it... seems like that would be in the rom and not the kernel though...
[Nexus 4 Original Android Development] Mortal Eternity:
hmmm.... well i asked because i have read it somewhere in the app i m using that my phone shuld have a kernel installed which supports 2 way somthing.... never mind... Thanks though, its such a great kernel... i will be visiting ur thread often, please keep up the good work bro :)
[Nexus 4 Original Android Development] Almayce:
Download link is broken for me for some reason :/
[Nexus 4 Original Android Development] thomas.raines:
If you can get me a little more info about it, like what app and such, then I can look into it and possibly add it...
[Nexus 4 Original Android Development] thomas.raines:
Nice... I'm working on merging my works to a different file hosting server. Goo has totally screwed things up and I can't even access my own account...
[Nexus 4 Original Android Development] thomas.raines:
Download link has been update... Sorry bout that guys and gals...
[Nexus 4 Original Android Development] Mortal Eternity:
Thanks for your kind consideration :)

i m using this software: https://play.google.com/store/apps/details?id=com.skvalex.callrecorder&hl=en

you can see the kernel related information by following the link (in its description - 2 way call recording is required in kernel)
[Nexus 4 Original Android Development] thomas.raines:
Have you tried the app to see if it works? It says all you need is root. But it also says, Kernel - recording method for phones based on old chipsets by Qualcomm; root is required. This method doesn’t guarantee 2 way call recording
[Nexus 4 Original Android Development] Mortal Eternity:
yes i did... i can only hear my voice... :D

mentioned software is working fine with my other 2 sets i.e. SGS4 active and Casio G'zone Commander 4g.
[Nexus 4 Original Android Development] thomas.raines:
well, I'm not real sure what support it needs, because I searched the code and compared it to that of a few patches I found, and it has been in this kernel since

Date: Wed Jul 25 15:04:41 2012 -0700

That's the actual date tag in the commit.

Have you tried recording with the hands free speaker on? I have read that on some devices, that is the only way to record both conversations.

Have you listen to the playback of your recording on a pc with the volume very high, because I also read that the other party can be very faint (something with the volumes).

So without knowing exactly what kernel support that app needs (and an empty paypal account), I'm not too willing on diving in to adding this to my project as it will be VERY time consuming and a total PITA even if you can get the app dev can shed some light on it... Not to mention, the mako-lz kernel isn't due for an update for a couple weeks still as I am catching up on other projects...

***EDIT***

I just found a free version of that app here on XDA. I installed and tested it out. It worked flawlessly. I used the caf recording option. I recorded a call with both the speaker on and off. Both calls came out clear as bell. When you installed the app it asked if you read the entire description and you have to confirm. It also told you that if there was an issue you would read the entire description again, and then contact the app dev at his email for further support. This is one way to really make me unhappy. I spent over 3 hours googling, talking to fellow kernel devs, and reading and diffing several lines of code. That was 3 hours I could have spent updating my 9 other devices I have sitting in front of me. The most important one being my wife's. What I do here is on my time and my dime. I don't waste yours, so please read (not just check the boxes), and don't waste my, or any other dev's, time.
[Nexus 4 Original Android Development] thomas.raines:
Update available for Lollipop 5.0

Been running great on BrokenOs 5.0 for the last 48 hours. Super smooth and super fast as always.
[Nexus 4 Original Android Development] jacoghi:
Thanks for sharing! I'll be using it for a whole cycle to test battery life.
[Nexus 4 Original Android Development] icu64:
What's broken os?
[Nexus 4 Original Android Development] Rohit02:
would like to try this ROM.
[Nexus 4 Original Android Development] Sir_gpm:
https://www.androidfilehost.com/?w=files&flid=18722
[Nexus 4 Original Android Development] icu64:
Link to thread please?
[Nexus 4 Original Android Development] rjunraj:
Can we change color profiles with hellscore kernel manager app or trickster mod app ??
[Nexus 4 Original Android Development] jacoghi:
Has been running without any issues, but there's a kernel wake lock. Just reporting, since I got 4 hours sot in average for the last couple of days, so, not a biggie. Thanks for the great work.
[Nexus 4 Original Android Development] thomas.raines:
BrokenOs is a project that a good friend of mine started and asked me to join. We were tired of the bs that came with working on bigger teams and projects. It's a super light weight, super fast, extra smooth rom that is packed FULL of features without sacrificing performance and battery life. We are still in the earlier stages of development for Lollipop 5.0, but we will be releasing it soon.

Not sure about hellscore kernel manager, but trickster mod for sure...

Thanks. I am aware of it and am working on it.
[Nexus 4 Original Android Development] fr3quency:
[MENTION=4145127]thomas.raines[/MENTION]

89prop sets this:

setprop debug.composition.type c2d

Any difference between c2d, dyn, gpu & mdp? I searched Google but all I found was some old noobish answers.
[Nexus 4 Original Android Development] thomas.raines:
Good question...

This basically tells the rom how to handle touch responsiveness, smoothness, redraws, and what not. I tested the debug.compisition.type with the various flags and I found that c2d works best on the mako. dyn and gpu were a close second, but caused some intermittent lag issues with hardware overlays. Although, I haven't really revisited this since jb, so you can try the other options and see what works best. My results were based on benchmark tests with 3d fps. But if you want to try the other options, just change it with a text editor, save and reboot... I would test it myself, but the lp-caf branch for BrokenOs is behind and I'm trying to get it up to par so we can have our alpha release of Broken Pop...
[Nexus 4 Original Android Development] thomas.raines:
Update available

Enjoy!