yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Spectrum75:
Hmmm..be careful ...this is not only -50 UV.

In many frequencies you have much more, -75 or even -100.

Default/stock mV_table is :

300mhz: 775 mV

422mhz: 775 mV

652mhz: 795 mV

729mhz: 805 mV

883mhz: 825 mV

960mhz: 835 mV

1036mhz: 845 mV

1190mhz: 865 mV

1267mhz: 875 mV

1497mhz: 910 mV

1574mhz: 925 mV

1728mhz: 955 mV

1958mhz: 995 mV

2265mhz: 1050 mV

Some one correct me if i am wrong pls.
[Nexus 5 Original Android Development] Wh1t3Rose:
I get a 500 internal error when clicking the download link. I've used 2 mobile web browsers. Chrome and Javelin.
[Nexus 5 Original Android Development] eng.stk:
You mean download link in OP?

Works fine...

Weird... logs?

There's no need for that... there's something with your setup mate

What ROM is DU? Don't know that one.
[Nexus 5 Original Android Development] reddvilzz:
DU is for Dirty Unicorn Rom [MENTION=3873953]eng.stk[/MENTION].

People in LS rom saying that your r414 doesn't seems to work anymore with the recent builds of LS maybe do you have any idea on what's causing the problem? I'm using the 15/9 build with 414 and it still works though. I'm not sure is it the kernel or the ROM itself so I tried to ask here just to clarify
[Nexus 5 Original Android Development] MrMarques01:
DSP tunneling refers to audio decoding performed by the DSP module rather than the CPU, which improves battery life when listening to offline music.

A quick google would have helped: http://www.androidpolice.com/2013/1...duces-battery-consumption-when-playing-audio/
[Nexus 5 Original Android Development] asdfasdfvful:
I believe it only isn't working for the blood builds, which weren't compatible with any custom kernel before (never used it but that's what I saw)
[Nexus 5 Original Android Development] reddvilzz:
But some unofficial build from the LS blue commit still showing not working in the latest version though
[Nexus 5 Original Android Development] asdfasdfvful:
Ah my bad. Disregard my comment then
[Nexus 5 Original Android Development] Gallardo994:
I made several reboots so I doubt that my current logs are gonna help somehow. I'll wait so it appears again (I managed to get that after “updating android” screen when it got rather warm. Then it cooled down but didn't remove CPU freq limit. Synapse changed it on boot to 80 degs, maybe that's the reason. The CPU itself was 65. After cooling down - less than 50.).

Sent from Nexus 5 using garbage^W Tapatalk
[Nexus 5 Original Android Development] eng.stk:
Why is always a kernel not compatible with a ROM and not the other way around? :rolleyes:

If that ROM is AOSP ( or CAF now too) it should work. Unless they did weird RAMdisk changes.

Also, delete any /etc/init.d scripts you have on that LS ROM, maybe that's it

EDIT: looks like that ROM is using F2FS from some versions on. You need to format system, data, cache and dalvik in ext4.

They have a script that should detect the partition FS. I don't support F2FS in my kernels.

You can use also a updater-script from that ROM builds that were working (change the file in zip, flash ROM, delete init.d scripts, flash Code_Blue)

Well maybe the values got applied in between UKM sets, because these days I flashed a couple of ROMS, change to ART (with clean ROM without t all my apps restored, which is a good practice to stress less the device) and temps went up and down nicely, reset after nicely too.
[Nexus 5 Original Android Development] nezlobnyj:
there were a couple of LS Blood builds which re-formatted /system partition to f2fs (you can easily check an update-script)

latest 01-10 build introduced script to check what filesystem your /system partition use and act accordingly

mount | grep -q 'system type f2fs'

SYSTEM_F2FS=$?

if [ $SYSTEM_F2FS -eq 0 ]; then

mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/system

elif [ $SYSTEM_F2FS != 0 ]; then

mkfs.ext4 /dev/block/platform/msm_sdcc.1/by-name/system

fi

as simple as that
[Nexus 5 Original Android Development] Phazmos:
Ah, the cancer is spreading. Now other devs are wasting time on personal/unofficial builds.

There's a reason liquid hasn't put out a build recently, but some can't wait so there are others building and sharing.

And that's the problem, not your kernel. You really shouldn't bother, I'm sure you have plenty enough on your plate already.
[Nexus 5 Original Android Development] reddvilzz:
Well if I know about kernel and ROM compatibility maybe I will explain that here :P

Some of them said they already delete the init.d from the previous version but still bootloop on their part.

Thanks for the solution maybe I will share it in the LS thread and see if it will help them out.

EDIT: how to format the partition back to Ext4? Just format all of it while clean flashed the rom? Or do I need some tools or script for that?
[Nexus 5 Original Android Development] AI0LIA:
For caf rom which have I to download ? Stable or test?

Sent from my Google Nexus 5 [SlimKat]
[Nexus 5 Original Android Development] daigoro64:
The test one.
[Nexus 5 Original Android Development] bigknowz:
Another kernel

[MENTION=3873953]eng.stk[/MENTION], the kernel I flashed last year renamed a couple of files. Do I need to follow these instructions or leave the files as is?

Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so

Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
[Nexus 5 Original Android Development] proyatzu:
Just read :/
[Nexus 5 Original Android Development] eng.stk:
If you want to fladh Code_Blue just leave it, they will be renamed anyway.

But you flashed a kernel... last year!?
[Nexus 5 Original Android Development] bigknowz:
Last year

Got the phone in December, enlightened by blue this past spring. Thanks for the quick reply.
[Nexus 5 Original Android Development] Grondinm:
thank you [MENTION=3873953]eng.stk[/MENTION] again for all your work. Pulled in your latest changes working like a charm
[Nexus 5 Original Android Development] dannyella:
If i flash this kernel on CM, will i still be able to adjust screen color calibration in CM settings?
[Nexus 5 Original Android Development] reddvilzz:
[MENTION=3873953]eng.stk[/MENTION] I can't find a way to format the partition from f2fs back to ext4 even searched both in xda and Google show me nothing about that.

Can you explain a bit more how to do that? Really love your kernel so it feels wrong not using it :P
[Nexus 5 Original Android Development] ChimneyBoy:
Yes. Tested it on Monday and settings stuck after reboot.
[Nexus 5 Original Android Development] occtec:
[MENTION=3873953]eng.stk[/MENTION] awesome kernel, nice and snappy. Long time Franco user but really lovin this kernel so far... Looking forward to future progress. Thank you
[Nexus 5 Original Android Development] ho0o0o11111:
I am still new to this kernel (just 1 week), this kernel is just amazing, extremely snappy, stable and battery friendly.

(Code_Blue 414 + Mahdi rom)

3.5hrs SOT, 2days+16.5hrs, still 8% left.

(all default settings)

Thanks for this nice work. :good:

By the way, sometimes when I reboot the phone,

the max frequency of CPU stucks at 960-1190Mhz (Blu_active). Reboot solved the problem though.
[Nexus 5 Original Android Development] Shane_IL:
Switched to this after 7 months on Franco, it's really good. Thanks for all the work.
[Nexus 5 Original Android Development] eng.stk:
On TWRP go to Wipe -> Advanced Wipe -> Select your partition -> Repair or change File System

Then it will say your current file system, hit Change File System to bring back ext4 and hit Repair

Yes you can use Color calibration in Display & Lights, it changes color in the screen in realtime when you move the sliders, pretty cool :)

I tested on CM M10
[Nexus 5 Original Android Development] reddvilzz:
Ah okay will try it. Anyway will you add support to f2fs in the future?
[Nexus 5 Original Android Development] eng.stk:
Nope I don't need it. ext4 is good enough.

I want a slim kernel.
[Nexus 5 Original Android Development] reddvilzz:
Well I tried changing f2fs to ext4 following the steps you told me and it says I have no OS when I'm trying to boot to system.

But with that ext4 then trying to flash back the LS ROM ended up on error while flashing it. So I have to re wipe everything again or change it back to f2fs to make the ROM flashable

Is there any steps that I do wrong? Or is it the ROM can't be turned back in ext4? Badly need to use your kernel but unable to find solution to do it though.
[Nexus 5 Original Android Development] eng.stk:
Format your partitions to ext4 like I said. After you did to all, reboot to recovery (don't reboot system).

Then try to flash the ROM (make sure system is unmounted), you need a version with that has that script working.

Or use the updater script from a previous version that doesn't have this F2FS stuff.
[Nexus 5 Original Android Development] supersonictt:
[MENTION=3873953]eng.stk[/MENTION]

Great kernel, been using for couple of days and it is amazing :)

Just a quick question: am using FKU (paid version) along with your kernel, everything is going great, but I noticed that on franco kernel, the FKU shows the "Speakers amp" setting, but when using code blue, this option is not available anymore. I believe both kernels use faux sound, am I right?

I also have Elemental X Kernel app installed, with it I can adjust the speakers volume, but wanted to know why it is not showing in FKU.

One more question -out of curiosity- will code blue support s2w and s2s in the future versions?

Thanks a lot :)
[Nexus 5 Original Android Development] eng.stk:
francosound is not fauxsound.

My advice: use something like UKM.

My kernels will only have dt2w. Even that is not certain to stay forever...
[Nexus 5 Original Android Development] supersonictt:
Thank you for the reply :)

Well, you mean UKM with Synapse, right? Or is there anything better than Synapse?

Thanks a lot again for your help, I really appreciate it.
[Nexus 5 Original Android Development] Gips3yD4ng3r:
There is nothing better than Synapsd
[Nexus 5 Original Android Development] occtec:
[MENTION=3873953]eng.stk[/MENTION] im on the latest stable build r414 using MAHDI rom. Just had a full reboot after navigating into settings from within the app drawer. Could you please check out the attached logs, hopefully they will be of some assistance. I am using faux clock and have not modified the kernel settings in anyway only use it for custom color profile.

The attached bugreport once extracted has the appropriate kernel logs.

Hopefully they will be of some help :)

Thanks in advance
[Nexus 5 Original Android Development] reddvilzz:
Okay I will try it again this afternoon.

What updater script? I'm sorry but I do not understand where to look those updater script

Edit: okay found the updater script. Is it the one in meta-inf/com/google/android?

Than I just replace the working version with the newewt build that's all?
[Nexus 5 Original Android Development] Tylog:
I can send you a "Slim" Kernel :D Hehe.
[Nexus 5 Original Android Development] reddvilzz:
Finally able to change it back to ext4 now back to code_blue kernel :D
[Nexus 5 Original Android Development] BTT8:
Will turning on dt2w drain slim to minimal battery or is there a big difference for those that are using it?
[Nexus 5 Original Android Development] reddvilzz:
As far I use it not a big drain happened. Especially when I set the timeout to only 3 minutes to suspend the drain quite big

But if you turn it on all the time probably around 1 - 3% an hour for the drain. Not quite sure the exact value
[Nexus 5 Original Android Development] eng.stk:
Don't see nothing out of ordinary kernel wise...

last_kmsg is from recovery, you must reboot once after flashing to get a proper log.

And use pastebin next time is better for me ;)

Well, it uses +/- 3% more hourly...
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r422

Hey guys!

Just pushed r422, some new stuff for your hammerheads to test :cool:

I added new touch firmware, some cpu_idle fixes from nVIDIA (can improve bat or not we'll see) and blu_plug fixes and improvements.

Now, blu_plug doesn't lock cores on screenoff: it will hotplug cores normally so people that need a little more power can have it.

The ones that don't need it (if load is low), it will stay in one core like previously. But you can set any amount of max_cores in screenoff, can set 1 like on previous builds or set higher if you need to. RIght now it's max 4 cores in screenon, max 2 cores in screenoff.

I also fixed max freq was not setting properly when using powersaver_mode.

Get involved, test, play, donate, help, contribute.

You keep the spirit alive!
[Nexus 5 Original Android Development] iLockhart:
Just flashed r422 :D Gonna start testing it now...

Thanks for you work!!
[Nexus 5 Original Android Development] vipinbp:
Flashed r422.. r414 seemed slightly laggy when compared to r398.. Thought it was something that I did..

Anyway, After 422, it seems to be super smooth again.. Thanks Sir :)
[Nexus 5 Original Android Development] radicspeter:
Purity + new code blue feel that i'm flying over the universum!

We know that your kernel is the most capable of developing here and you always try to do your best! Thanks you to help here, to develop and etc... ;)

#staycodeblue
[Nexus 5 Original Android Development] Tylog:
Good posting. Rui is a good guy. I got to know him better by working together / testing the kernel. Makes always fun and we have a lot of fun + the result one of the best Kernel out there. :) posts like yours are the right way to motivate.

Greetings
[Nexus 5 Original Android Development] alen1901:
just heads up, my theme update for purity lovers is live too, double flashing today ;)
[Nexus 5 Original Android Development] occtec:
I understand what you are saying and I find it quite odd as I always wait for a few minutes just after flashing a new kernel for everything to load after first boot, then I always reboot. When you say last_kmsg is from recovery, what do you mean?? My Nexus did a full reboot which is normally kernel related I thought, it's weird that the logs didn't show anything. Anyway hopefully latest update had rectified what I has experienced. As for pastebin never had a reason to use it before, could you please explain where I can or how to upload to pastebin.

Cheers
[Nexus 5 Original Android Development] trjlive:
To get the last_kmsg, there are several ways, basically you need to run a terminal command with su perms on your device. You can do so from a Terminal Emulator app, use the Terminal Command feature in recovery, or even use adb shell from your computer.

The command you want to run is:

(if using Terminal Emulator, you need su perms)

Then run this command:

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Then hit enter, and then you will find a file in the root of your sdcard called "last_kmsg.txt". You can then open this file and view the contents using any text editor app.

As for how to upload to pastebin, it's pretty self-explanatory if you just go to the pastebin website. You go to the site, there's a big text box you can paste into and then click the submit button, and then copy the resulting URL.
[Nexus 5 Original Android Development] goabunny:
I tried this kernel few days ago and I noticed everything was snappy and battery friendly as well. But today when I tried to take some pictures, camera processing was very slow. View finder also was very laggy. After taking a picture, it takes about 6-7 seconds to process the picture. Anyone experienced this ?
[Nexus 5 Original Android Development] marf28101995:
Nope.. Are you using the latest version?
[Nexus 5 Original Android Development] Nucleotide:
r422 running fantastic for me at the moment. Performance wise it's great. I'm sure battery will also be the same but that will take a day or two to really judge.

Thanks a lot [MENTION=3873953]eng.stk[/MENTION] for the solid work once again. ;)
[Nexus 5 Original Android Development] goabunny:
Yes. Using the latest version. Attached is my screenshot.
[Nexus 5 Original Android Development] Andromendous:
So far almost gone through a whole charge in about 2 hrs. On the last update i got 4-5 hrs. Other than that seems the same, maybe a lil faster. Clean flash btw, nearly same exact usage and apps
[Nexus 5 Original Android Development] alonsoch:
cm

this work on cm11?
[Nexus 5 Original Android Development] asdfasdfvful:
I'm pretty sure there is a caf version. Read the op
[Nexus 5 Original Android Development] alonsoch:
mmmmm i don't see the CAF version.... really im reading the OP....
[Nexus 5 Original Android Development] xXfuzzXx:
On download page there is also a button for test-builds, there u will find the cm version.
[Nexus 5 Original Android Development] swat4samp:
Caf builds will be in test folder.
[Nexus 5 Original Android Development] Nucleotide:
Says CAF in the title and had you actually read the OP, you would have also seen where to locate the CM/CAF builds. :rolleyes:
[Nexus 5 Original Android Development] onecrzyasian:
For some reason, i noticed that after thermal throttling, my max cpu freq does not return to its original state. Any ideas why? Im running r422 and on mahdi linaro.
[Nexus 5 Original Android Development] Tylog:
http://www.engstk.org/code_blue/downloads/test/ caf one - CM one.
[Nexus 5 Original Android Development] neFAST:
Got a high battery drain with 422, back to previous build it is ok. Am I the only one?
[Nexus 5 Original Android Development] R3Lax1:
Provide some screenshots of battery history. All's fine for me.
[Nexus 5 Original Android Development] sirovai:
All is better than ever here.
[Nexus 5 Original Android Development] Hatshipuh:
Anyone got the issue that with fast charge activated, the iPad charger isn't recognized as AC but USB instead and charges really slow, whereas with Franco it gets recognized as AC and charges respectively faster.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] Aerowinder:
/system/lib/hw/power.msm8974.so-bak

/system/bin/thermal-engine-hh-bak

Do these files exist for you? Also, have you altered the stock CB thermal settings?

Idle battery seems a little worse. About 60% of what I'm used to seeing with this kernel. But I need more time to test before I can say that with any kind of confidence.
[Nexus 5 Original Android Development] vrda08:
If I need to rate this kernel from 1-10. My rate is 100. Yes, for real.
[Nexus 5 Original Android Development] amphi66:
Interesting:

I have the /system/lib/hw/power.msm8974.so-bak file, but find /system/bin/thermal-engine-hh_disabled instead of /system/bin/thermal-engine-hh-bak. Is this normal?

Also note that after a successful Synapse boot I see "S=1728" where I have set CPU, but the slider is all the way to the right and the 1728 point is a grey dot. What does that indicate? Wrong thread, I know. Thanks.
[Nexus 5 Original Android Development] Gips3yD4ng3r:
Same here
[Nexus 5 Original Android Development] carlese:
The 1728mhz on boot happens to me too..
[Nexus 5 Original Android Development] sirovai:
eng.stk sorry for asking this to you... Could code_blue make the com.android.systemui process force close? What's your opinion about that?

Edit: I'm on Paranoid beta 3
[Nexus 5 Original Android Development] eng.stk:
Nope.
[Nexus 5 Original Android Development] amphi66:
Ahhhhhh, but what does it mean?
[Nexus 5 Original Android Development] eng.stk:
Looks like you have something interfering with kernel settings.

Don't use apps to set values on boot and clean any init.d scripts.
[Nexus 5 Original Android Development] Nucleotide:
Better then ever here. Excellent idle and while under load.

Download Wakelock Detector from the Play Store and see what it's reporting. You've got something running in background that's not happy I think.
[Nexus 5 Original Android Development] carlese:
The only app I use is synapse.. Shouldn't I use it?
[Nexus 5 Original Android Development] amphi66:
No apps setting values at boot (except Synapse) & only init.d scripts are:

50selinuxrelabel

90userinit

99SuperSUDaemon

UKM

The userinit script looks at /data/local where the only script is RootToolsMount. Don't know where that one came from
[Nexus 5 Original Android Development] vrda08:
I think,it set max available cpu freq.. Because of boot,phone gets hotter and intellithermal uses lower max cpu freqs.
[Nexus 5 Original Android Development] amphi66:
Thanks. I will move my questions to the Synapse thread where they belong.
[Nexus 5 Original Android Development] sirovai:
We need to check core control?
[Nexus 5 Original Android Development] eng.stk:
Those are only used by mpdecisio, no need since we use blu_plug.
[Nexus 5 Original Android Development] eng.stk:
Isn't powersaver_mode on?
[Nexus 5 Original Android Development] carlese:
Nope..
[Nexus 5 Original Android Development] sirovai:
Thanks [emoji1]
[Nexus 5 Original Android Development] choosetobelieve:
Hi Guys,

Are you using all default settings of this kernel or you still tweak sone values? Thanks
[Nexus 5 Original Android Development] marf28101995:
Default are the best.. I only Uv a bit
[Nexus 5 Original Android Development] amphi66:
Not for me either. Should it be?
[Nexus 5 Original Android Development] Nucleotide:
I loving r422 at the moment. Battery life, performance, everything is fantastic.
[Nexus 5 Original Android Development] choosetobelieve:
I am still old 350. I feel that this versiin is really good for battery and performance.
[Nexus 5 Original Android Development] Nucleotide:
I'd try r422 to be honest. I was sitting on r350 as well. Decided to give 422 a shot and honestly can't fault it at all.
[Nexus 5 Original Android Development] reddvilzz:
Sometimes I encounter that too. Especially when the temperature kind around warm - hot. And with that keep getting systemUI force close though and also sometimes when downloading something makes the status bar freezing so badly and sometimes force closing the systemUI.

Do I need to give you the log [MENTION=3873953]eng.stk[/MENTION]
[Nexus 5 Original Android Development] corleone48:
Hello.

I've a drain with idle GSM..?

I've a install intelli3g but it doesn't change something

I'm with the latest purity ROM and blue kernel .

Thx for jour advice
[Nexus 5 Original Android Development] trjlive:
A device will always use battery power to maintain a cellular connection. The stronger the cell signal is in your area, the less power the phone has to use to maintain a connection. It can run the radio at a very low power. However, in your screenshot, your signal appears to be very low. This means that the device has to increase the power usage of the radio to maintain a cellular connection. That's why you'll notice your device uses significantly more battery with a weak or no signal.

The same goes for wifi signal. Any time the available signal level is quite low, the device will boost the power to the built-in radio hardware to try to maintain a connection for as long as possible, even though this will drastically increase battery consumption. In your case, your device has been on for more than 20 hours, likely with a very low signal level, so I wouldn't be worried from what I see in this screen shot.

If you're worried about the drain, you could try locking your phone into 3G mode. It's highly likely that the 3G HSPA coverage in your area is stronger than LTE (since HSPA is an older technology, it's deployed footprint is often larger), so unless you really need the LTE connection, you could probably get better battery life by staying on the slower HSPA network.

Although, really, the cell signal has nothing to do with the kernel, so this is really off-topic for this thread. I would encourage you to search and post more about your signal issues in more appropriate threads.
[Nexus 5 Original Android Development] corleone48:
Thnks for your detailed answer.
[Nexus 5 Original Android Development] janres155:
I think Intellithermal is what causing the CPU max frequency to change to lower frequencies. I noticed this when my device reach certain levels of temperature, CPU max is decreased to 1728 or 1497 but will gradually increase as the temperature gets cooler.

Regards,

Janres
[Nexus 5 Original Android Development] Mranggapo:
sometimes PA systemui are force closing, idk too mate. but thats not affected by kernel