yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] aerozolic:
I got few questions about flashing this kernel. I'm sure you've seen those questions before already, so sorry for asking again.

I currently got stock rom with franco kernel running. If I want to try code blue then which steps do I have to take?

1. Remove fku

2. Flash stock boot.img and system.img with fastboot (do I lose any data if flashing system.img?) or remove red line from flash-all.sh and flash that instead?

#!/bin/sh

# Copyright 2012 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

fastboot flash bootloader bootloader-hammerhead-hhz12d.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.21.img
fastboot reboot-bootloader
sleep 5
[COLOR="Red"]fastboot -w update image-hammerhead-lrx21o.zip[/COLOR]

3. Root with cfar

4. Install busybox

5. Download twrp, copy it onto SD and boot into twrp

6. Flash code blue zip

Do I understand right or am I wrong? What's the purpose of busybox? Why is it needed for code blue?

thanks
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r703

All right crew!

Just pushed an update, lot's of goodies inside.

Merged blu_active with some patches from CAF, audio subsystem updates from CM12, tweaked cpu-boost is back (I know, never say never xD), filesystem and memory improvements.

I build with latest Linaro 2014.11 Cortex-A15 GCC 4.9.3

I merged F2FS and you need to know this:

fstab uses multi mount points (thanks to [MENTION=5105835]Cl3Kener[/MENTION]), so you can use ext4 or f2fs in primary ROMs

In case you want to use f2fs, I recommend using just for RW partitions (data & cache), because system needs selinux permissive and Code_Blue will be always enforcing by default

Keep in mind that converting from ext4 to f2fs or vice versa in data partition, it will delete all your sdcard data! Backup before you do it!

Using ext4 or f2fs in system is pretty much the same, prefer ext4 in RO partitions because has nice performance and it is compatible with new update_block ROMs

New multi mount doesn't play well with MultiROM on secondary ROMs, I asked [MENTION=3418703]Tasssadar[/MENTION] if it can be fixed.

In the meanwhile, if you want to use Code_Blue in secondary ROMs, just flash this zips after the kernel according to your data partition type: EXT4 or F2FS
[Nexus 5 Original Android Development] pianistaPL:
If I will convert only /cache and /data to f2fs and /system will stay at ext4, will every ROM boot fine?
[Nexus 5 Original Android Development] R3Lax1:
Yes
[Nexus 5 Original Android Development] AquilaDroid:
Welcome back [MENTION=3873953]eng.stk[/MENTION]! I'm sure all of us just breathed a sigh of relief (after the panic started). Thanks for the new release too...

From my Nexus 5
[Nexus 5 Original Android Development] Thunderbolt:
How can i install this new kernel correctly?
[Nexus 5 Original Android Development] marf28101995:
Flashing it in recovery like always
[Nexus 5 Original Android Development] Thunderbolt:
What about particion which dev recommend?
[Nexus 5 Original Android Development] nisby:
Is only if you want to use f2fs filesystem
[Nexus 5 Original Android Development] ZacksBuilds:
Does the latest kernel for lollipop still use the true_RGBv7 by default?
[Nexus 5 Original Android Development] Thunderbolt:
Exactly this is it. I want use it, but i need help to do this correct.
[Nexus 5 Original Android Development] Robert-:
Is this normal?:crying:
[Nexus 5 Original Android Development] marf28101995:
Yes is a modified v7

---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------

For something that for me isn't kernel related the values seems not to stick
[Nexus 5 Original Android Development] Spectrum75:
First of all welcome back mate ;)

Some quick ( very quick ) feedback.

Flashed with Terminus and Optipop, both as Secondary with the appropriate EXT4 patches.

Booted just fine. Speed and smoothness. :good:

Only problem ( ? ) is that ( due to audio subsystem updates from CM12 ? ) the sound volume seems too low/weak ?

Although the quality seems better.

I repeat it's a very very quick

feedback and maybe wrong, cause i have to leave, i will investigate more later at night or tomorrow, if it is something

on my side and not an update issue.

Thanks and welcome again :highfive:
[Nexus 5 Original Android Development] eng.stk:
I use faux sound driver as it is, no changes there. I normally use trickster and UKM to change it, tunable is available.

Levels do autochange to protect hardware, you can lock them I think.

Some apps like poweramp mess with levels think too.

I think quality is a little better, but theres some interesting performance and battery patches too.

Gain should be changed on faux driver these codec stuff should not mess with it.

Maybe base volume is a little lower because of quality improvements. For me it's ok though.

Cheers ;)
[Nexus 5 Original Android Development] pianistaPL:
[MENTION=3873953]eng.stk[/MENTION] Installed successfully your kernel on data and cache with f2fs. But now I see that copying from PC to phone is very slow. Can you check it out?

EDIT - nevermind, forget it :) All is working fine. GOOD JOB! :highfive:
[Nexus 5 Original Android Development] Berget:
Welcome back [MENTION=3873953]eng.stk[/MENTION] ! Downloading the new kernel now :)

EDIT:

Perfect! this version Allows the build in SU promission in CM12! love you man
[Nexus 5 Original Android Development] Tylog:
Yes it does

Edit :don't see last page on tapatalk.
[Nexus 5 Original Android Development] pianistaPL:
Is Multicore Power Saving disabled default or is there something wrong with default settings on my phone after install Code_Blue over other kernel?
[Nexus 5 Original Android Development] ichundu:
a quick noob question: is it safe to use several kernel managers at the same time? i use trickster mod at the moment but would like to play with sound settings a littble bit. can i tweak sounds with synapse or do i need faux sounds app?

Thanks in advance.
[Nexus 5 Original Android Development] R3Lax1:
Both apps may conflict if you set different cpu or etc settings in each on boot, otherwise should be fine.
[Nexus 5 Original Android Development] topgeardave:
I've had that problem, I ended up removing faux sound because it would create these horrible popping noise at the beginning of every song in Spotify if I changed poweramp value to 6.
[Nexus 5 Original Android Development] marf28101995:
Its disabled by default
[Nexus 5 Original Android Development] pianistaPL:
I unfortunately have some problems with sdcard. For example Spotify doesn't detect it and I can't download anything from the browser. I tried to fix this via Terminal Emulator and I changed Selinux to Permissive but it still doesn't work. But that's weird because Cabinet Beta is showing files without problems.
[Nexus 5 Original Android Development] cubalibre832910:
the latest version of this kernel is really fast and stable, but I have a problem with the OTG, I use stickmount and a 32gb USB formatted in ExFat, if I try to copy big files from USB to Nexus, the phone freezes during the transfer, and I have to restart by holding down the power button, it gives me the same problem with Franco kernel, however with the stock's all right. does anyone know what it could be?
[Nexus 5 Original Android Development] topgeardave:
Wrong thread mate, kernel won't do anything like that. If I were you I'd do a full wipe and start again.
[Nexus 5 Original Android Development] tcat007:
Which is best to try out faux sound settings, faux app or Synapse? I'm happy with v4a, but it's a pain to get set up each ROM update.
[Nexus 5 Original Android Development] Failyx:
Dat Idle Time
[Nexus 5 Original Android Development] carlese:
I noticed a little lower volume for notifications too.. Other than that everything is fine here!
[Nexus 5 Original Android Development] yukkio:
Yes, sound is a bit lower than the previous release.

BR.
[Nexus 5 Original Android Development] afraaa:
hooooooooooraaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa :good::good::fingers-crossed::fingers-crossed::good::fingers-crossed:

huuuuuuuuuuuuuuuuuuuuuuuuuuuuurrrrrrrrrrrrrrrrrrrrrrrrrrrrrrraaaaaaaaaaaaaaaaaaaaaaaaaaa :o:o:o:cyclops::angel:

the king is back , u made my nexus 5 battery crazy and i'm not worried anymore , gogole kernel is a battery killer . how can i live without blue kernel ha ? u made my day by your return :highfive: :D:D:D:D yeah call me crazy guys

funny thing is once we had a little argument with you about download link . . . and then i retun because u know why ? wait for it .. wait wait for it ... AWEEEEEESOMEEE
[Nexus 5 Original Android Development] peikojose:
Everything working as expected. Smooth and good battery life. Only problem has been reports already, sounds are too low. Is there a way I can make them higher?
[Nexus 5 Original Android Development] GtrCraft:
N5 volume booster in play store or change sound settings in UKM or Trickster
[Nexus 5 Original Android Development] reas0n:
Does formatting /data and /cache to f2fs work on every ROM? I wanted to do it on Minimus ROM, but when I formatted the partitions, they are changing back to ext4 after booting, WTF?

EDIT: nevermind, I did it ;)
[Nexus 5 Original Android Development] Spectrum75:
Well, the "problem" is that UKM and Trickster both have fewer volume steps than fauxsound app ( 10 instead of 20 ) and you can really

notice a difference only if you use a value from 14 and above ( in faux app i mean, at least in me case ). But in fauxsound app values dont stick,

idk if it is an incompatibility with lollipop ( haven't used it after LP ) or is it there any "conflict" between the sound driver and the CM12 audio subsystem updates.

But I have no technical knowledge, i'm not sure of course that the lower volume is due to CM12 audio and idk if there are similar "problems" in other

cases ( ROMs/Kernels ) with the specific audio subsystem updates or if a newer update will resolve them.

I have already tried N5 volume booster app after a long time, with a value for speaker to 94, not any noticeable difference as well.

What to mention, the "problem" applies mainly to speaker gain, with headset i.e. the volume is ok.

But except the above sound issue, where i'm sure we will all find a solution, the performance of r698 is brilliant ;)
[Nexus 5 Original Android Development] aldyu:
Guys, got a question about kernel building. I cloned google's kernel for our device here, https://github.com/android/kernel_msm, lollipop-release branch. I'm curious because it shows 3 strings after the version e.g. 3.4.0-g42750ec-00002-gf2f4239 but I only want it to be like the stock one which shows only one string e.g. 3.4.0-g42750ec, how to do this? I tried to add CONFIG_LOCALVERSION="" and CONFIG_LOCALVERSION_AUTO=y but still not working. What did I miss?
[Nexus 5 Original Android Development] sNiPe78:
I notice that too. I prefer like the previous
[Nexus 5 Original Android Development] anshmiester78900:
Guys i was on stock rom +rooted when i flashed this kernel the superuser is showing me this bug .

Any way to correct it ?
[Nexus 5 Original Android Development] Jamith:
I have two questions for you, formatting Data to f2fs wipe the internal storage? and how you did to keep the f2fs?, I tried to format cache with twrp but they change to ext4 when I reboot.

Thanks.
[Nexus 5 Original Android Development] bigknowz:
SuperSU

You need to download this and flash in recovery.
[Nexus 5 Original Android Development] bongio94:
I have a problem on Code Blue kernel. When i turn off the screen and then i try to turn it on, the screen turn on but it's all black :confused:

I'm on SimpleAOSP ROM
[Nexus 5 Original Android Development] aerozolic:
Backlight dimmer enabled and brightness set too low?

Sent from my Nexus 5
[Nexus 5 Original Android Development] bongio94:
Sorry for my ignorance but i don't now what Backlight dimmer is.

The brightness is still on default option!
[Nexus 5 Original Android Development] aerozolic:
I don't have code blue kernel so I'm not sure if dimmer is enabled for this kernel by default. Maybe somebody else can tell you

Sent from my Nexus 5
[Nexus 5 Original Android Development] bongio94:
Thank you anyway :good:
[Nexus 5 Original Android Development] scleone1987:
Is LolliViper4Android compatible with Code_blue?
[Nexus 5 Original Android Development] reas0n:
I had to make a full wipe before changing to f2fs (mark everything in advanced wipe)

EDIT: well, I've found out that there may be a problem with TWRP... I booted 2.8.1.0 TWRP, formatted partitions and everything is okay then. So just boot this recovery for formatting, and remember NOT to use the 'factory reset' wipe in TWRP
[Nexus 5 Original Android Development] pianistaPL:
Yes, but you may to need to change SELinux from Enforcing to Permissive.
[Nexus 5 Original Android Development] scleone1987:
What are the major differences between having a permissive kernel and an enforced one?
[Nexus 5 Original Android Development] Clayne:
At first, Google doesn't seem to work on Enforcing. At least for you?
[Nexus 5 Original Android Development] Hitmax117:
Are you using FauxClock for your Color Control by any chance? I had the same problem while using FauxClock.

I had to reboot and quickly uninstall FauxClock

Hopes this helps you out
[Nexus 5 Original Android Development] 19dragon98:
A question. Can i install new version of kernel over old previous version??
[Nexus 5 Original Android Development] eng.stk:
Well, CAF audio updates are going bye bye...

I'll revisit it in the future if we can make it play well with AOSP audio.

Build will be refreshed with a couple more goodies :good:
[Nexus 5 Original Android Development] Flamehell:
Sorry mate....are you going to upload another build now?Because i was downloading your new build right now......tnx a lot for your amazing job :)
[Nexus 5 Original Android Development] ironjon:
Sir, you are a beast!

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] topgeardave:
One good thing about caf audio is that it's much more battery friendly! Currently running terminus rom and it's working fine here :)
[Nexus 5 Original Android Development] reas0n:
But does the r703 still have audio tunneling? Actually I was listening to music without issues, I changed screen-off freq to 422(?)MHz just to check if PowerAMP is using the DSP so the music shouldn't lag - it worked great! (earlier the music was lagging even with screen-off freq on 960MHz)

I think I'll stay on this build if the only difference is audio..

[MENTION=3873953]eng.stk[/MENTION] are u planning to fix CAF audio (what is even broken?) soon?
[Nexus 5 Original Android Development] refedit:
Hey guys. Just flash update over previous and wipe cache?
[Nexus 5 Original Android Development] Spectrum75:
Everything is ok here with r703, no weak sound issue on speaker. :victory:

[MENTION=3873953]eng.stk[/MENTION]

I see in r703 changelog ---> " CAF audio subsystem updates ... "

Remained from previews changelog ...? :angel:

Many thanks for the update :good:
[Nexus 5 Original Android Development] eng.stk:
[YOUTUBE]Fk7TZfQGCoQ[/YOUTUBE]
[Nexus 5 Original Android Development] hocruxx:
Hi. Little question. My otg didn't work, the phone detect the mount but I can't see my USB folder in my file manager

Btw the last build running perfect on cataclym 5.0
[Nexus 5 Original Android Development] eng.stk:
It automount in /storage/usbdisk
[Nexus 5 Original Android Development] cipjanin:
lol i think the last version was 698... how come one 703?

i download it yesterday i think...

also what i need to edit to make the doubletap to wake?
[Nexus 5 Original Android Development] Traxex_:
In the newest version (r703), Synapse shows almost all CPU Governor values to be zero. Is this supposed to be like that or is there a way to restore the default settings?

Reflashing the kernel didn't help.
[Nexus 5 Original Android Development] galapagos:
Because he updated it? Did you try trickstermod?
[Nexus 5 Original Android Development] Clienterror:
He means it looks like 698 never existed even though it was up yesterday. If you look at the change notes 698 notes were deleted (along with the download for it) and replaced with 703. So he's asking, was there some huge issue with 698 that he patched it to 703 the next day and deleted 698 like I never existed.
[Nexus 5 Original Android Development] tcat007:
What do you use to get "no weak sound"? I'd rather not install v4a if I don't have to (but it at least doubles the volume).
[Nexus 5 Original Android Development] Spectrum75:
If you check some posts back you will see that I've tried different solutions, with no luck (except v4a is the truth). And the problem of the previous build wasn't mine only that's why dev removed the CM audio. Not such problem ever before with this kernel. But the appropriate solution I think wasn't to try third party apps. Now everything is perfect as usual [emoji6]

Cheers !
[Nexus 5 Original Android Development] VisionNN:
So what would be the major difference between this kernel and others like ElementalX and Franco?
[Nexus 5 Original Android Development] killer86th:
Bro, compare between kernels specs inside the mentioned kernels thread is a little disrespect don't u think? Please take this query else where or better yet, test them all yourself and feel the differences. Don't worry, changing kernels won't effect your data.
[Nexus 5 Original Android Development] yyz71:
Wow ? Naw I won't flame ya!! But coming here and asking that silly question. Come on man just flash the kernel let it settle then come back here and give you're opinion or some feedback dig?
[Nexus 5 Original Android Development] VisionNN:
Woah, im not trying to be rude. I respect the devs work, but XDA is flooded with different kernels so im asking what is it that this one does different. I could ask the same between ElementalX and Franco.

Instead of me wasting my time flashing and testing it, im asking people that are already using it to see what they like in this kernel, or what this kernel does better than others.

Its like me walking into a BMW dealership and asking how its different from Mercedes. They both do the same thing, but i need something to compare to.
[Nexus 5 Original Android Development] yyz71:
Hahahaha you're not serious are you!?!? Listen you walked into a car dealership they will tell you the same thing take it for a spin buddy vroom vroom.. Instead of wasting YOUR time:confused: Nothing will be spoon fed to you man.. You wanna flash but don't want to work for it nothing ventured noting gained:good:
[Nexus 5 Original Android Development] jaxbierley:
I always hear this talk about "letting a kernel settle". 1) is there any truth to that. 2) if there is, would flashing updates to kernels so constantly defeat the purpose of letting the kernel settle.

From personal experience it doesn't seem to be a thing. I've gotten the same battery life since 620. I'm just curious to know if there's some insight in this I don't know about.
[Nexus 5 Original Android Development] blakmazk:
Could some one Guide me a bit on using f2fs,

I am currently on rastapop and code blue.

What exactly would I need to do in order to make the data and cache partitions f2fs. Is a compatible rom required or any rom would work?
[Nexus 5 Original Android Development] killer86th:
Actually, the "letting a kernel settle" is true, but because our device, N5, is so strong to be noticeable between "settling" and "settled" state. I remember back in the ICS - GB time, it was very noticeable in my Xperia Arc S :cowboy:
[Nexus 5 Original Android Development] VisionNN:
They could, or they could also give me the specs on paper and explain what they all mean so if i like what i see, then ill take it for a test drive. No one comes into a dealership getting a test drive before asking questions about the car.

Im not asking to be spoon fed, im simply asking your experiences with the kernel.
[Nexus 5 Original Android Development] yyz71:
Ah here we go again specs i see hmmm.. Why not simply do you're research come to your own conclusion. See this way you're learn a thing or 2 without needing the help from others

that you could have done so easily..... Those question are not asked in dealerships mind you.. :rolleyes:
[Nexus 5 Original Android Development] killer86th:
Please, note that most of the devs are baking roms/kernel for free, therefore, the example u brought up wasn't very suitable to begin with...

In addition, if you could spare some time to read the first post, you would see the specs & features clearly stated, you could even see the changes between each versions if you dig deeper, amazing isn't it :highfive:?
[Nexus 5 Original Android Development] VisionNN:
Yes, i could do that, but for more information i would still ask people who know more than myself. Im sure you haven't learned everything you know just by doing research.

Anyways, I ain't trying to argue man, all i needed to know was why people use this kernel over others. A simple "battery is better", or "stability is better" would have been enough for me to try it.

Looking at what this kernel does looks the same to me as other kernels, which is why i ask people who have used it to explain what i'm missing.

---------- Post added at 11:22 PM ---------- Previous post was at 11:19 PM ----------

Oh i understand that and i respect the devs. Also i wasn't looking at it from a monetary perspective, I was looking at it from the perspective of information.

I did read the specs, they look similar to me as other kernels, which is why im asking you what i missed that makes this better or why you chose this over other kernels.
[Nexus 5 Original Android Development] yyz71:
Sure I learned from researched that's the only I learned anything and Yes I did have my questions but I was always willing to learn.. I call it lazy on your part simply as that man.. Oh and BTW I am not arguing with you just a discussion.. Everyone has there own user experience it's up to you too find you're own experience as well. Instead of replying just flash the kernel and enjoy some Code_Blue :cool:
[Nexus 5 Original Android Development] nedooo:
I'm sure your "contribution" here would not be missed by anyone.
[Nexus 5 Original Android Development] vtec_:
For me, code blue was NOTICEABLY smoother + an additional 40m SOT than Franco Kernel. This was using Code Blue r646 vs Franco r68. Just my personal experience.

Haven't tried Elemental X.
[Nexus 5 Original Android Development] modyt:
Enough guys. Let's keep the thread for CB discussions...

Sent from my Nexus 5
[Nexus 5 Original Android Development] VisionNN:
Im sure your "opinion" wont be either.

Alright awesome, will give it a shot. Thanks.
[Nexus 5 Original Android Development] Mr.Jay:
I love this kernel! It has a good battery life and it's smooth also. But I only have one problem, I have frequents random reboots... What can I do to solve it?

Sent from my Nexus 5 ?
[Nexus 5 Original Android Development] Vobi1024:
Don't UV if You do...
[Nexus 5 Original Android Development] topgeardave:
Which ROM mate? And does it random reboot when you've used the power button?
[Nexus 5 Original Android Development] Mr.Jay:
I'm on stock 5.0 installed via factory image. And the reboots were when I was watching a video (Streaming) yesterday and today playing boom beach

Sent from my Nexus 5 ?
[Nexus 5 Original Android Development] topgeardave:
If you could go in synapse and take the last_kmsg, that would be appreciated when you have a reboot. Copy and paste that kmsg onto pastebin and post the link here so eng.stk can figure out the cause of it.
[Nexus 5 Original Android Development] reyfista11:
Did this kernel support synapse? I install synapse and it says not compatible