yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] xVermicide:
actually I posted that in the proper thread, my friend. I was responding to a person who posted in here.

I love your code blue kernel, honestly. great work you're doing here, buddy. I used it for many months. :)

Sent from my Nexus 5
[Nexus 5 Original Android Development] eng.stk:
Lot's of info about that in the thread and g+ specially, search...

Sorry mate but if you're using something else atm that response is pointless.

This is Code_Blue thread, so there's no talk about others work (unless is something related to development). Keep the thread clean.
[Nexus 5 Original Android Development] luckana:
I have this strange issue running the latest version of code blue on a fresh flash of terminus rom. When i turn the screen on the homescreen flashes for a blink of an eye and then the lockscreen appears. Strange it does not happen everytime and it's annoying
[Nexus 5 Original Android Development] eng.stk:
Not happening here, I'm on a diferent ROM. Nothing to do with kernel.
[Nexus 5 Original Android Development] MatVekk:
Rom Cataclysm and kernel 806

- CPU min 300'000 / max 2'265'600

- GPU 200

300MHz - 700

422MHz - 725

652MHz - 730

729MHz - 740

883MHz - 760

960MHz - 770

1036MHz - 780

1190MHz - 800

1267MHz - 810

1497MHz - 845

1574MHz - 860

1728MHz - 885

1958MHz - 920

2265MHz - 975

- Governor: CPU blue_active / GPU simple

Inviato dal mio Nexus 5 Cataclysm 5.0.1
[Nexus 5 Original Android Development] luckana:
Wasn't happening when i was using uber-l so
[Nexus 5 Original Android Development] marf28101995:
Stop that bs

Its not kernel related... I tested terminus ROM and Code blue and that doesn't happen, just stop the noob game of everything is kernel fault
[Nexus 5 Original Android Development] luckana:
I just asked a question man wtf is wrong with you ? When it doesnt happen with the other kernel and i switch to this one and it happens...??! Can you think logically
[Nexus 5 Original Android Development] marf28101995:
Bla bla bla... Stick with uber then

Cheers
[Nexus 5 Original Android Development] eng.stk:
I could tell you a lot of tales of people clayming "I just changed kernel and had this issue" and in the end 99.99% has nothing to do with kernel.

Derped configs, files and configs from other kernels that interfere with Code_Blue, and the list goes on...

I use Purity, CM and a couple other ROMs daily and I have no such issues.

Either you have hard proof and logs backing up your statement or if we aren't able to reproduce it, there's nothing to do.
[Nexus 5 Original Android Development] tsimitsangaz:
Hello, any uninstaller available pls? thanx
[Nexus 5 Original Android Development] eng.stk:
Dirty flash your current ROM. BEst uninstaller you can have and works with every ROM and every kernel.
[Nexus 5 Original Android Development] marf28101995:
Uninstaller for what ? Kernel ?

Just flash the stock one
[Nexus 5 Original Android Development] tsimitsangaz:
yes I can flash the stock kernel but what about the libs that are inside the code blue zip? my os is stock 5.0.2 so i cannot dirty flash it only restore. thanks
[Nexus 5 Original Android Development] AA1973:
Restore your nandroid of /system which you made prior to flashing a custom kernel.

Edit. And flash stock boot.img of course.

#inb4...
[Nexus 5 Original Android Development] bknightt:
flash via fastboot the system.img and the boot.img from the google developers page image file, you will lose custom recovery and root, flash custom recovery via fastboot, and then flash supersu.zip, then choose the kernel you want and flash it via twrp, profit.
[Nexus 5 Original Android Development] Tylog:
Holy...

If I were to do it all every time i flash kernel, rom tests from us or whatever I was around the clock busy with kernel flashing :)

Stock Kernel, zip/img whatever you want, flash new kernel you want use, reboot. Done.
[Nexus 5 Original Android Development] bknightt:
errr, he's on stock image, and by the looks of it, didn't had an img.zip, or a stock kernel.zip, thats why i said to do it this way lol.
[Nexus 5 Original Android Development] Tylog:
https://www.dropbox.com/s/hp5m98wu6290zlr/Stock_Boot_img.zip?dl=0
[Nexus 5 Original Android Development] Blac Caesar:
So I've been searching dämn near everywhere, n I've come up with no solutions.. and it's starting to get annoying lol. Every time I flash Code Blue or any other CM kernel for that matter, it hangs at the Google boot screen n doesn't go anywhere.. I'm running the latest CM12 btw. Can anyone give me some advice?
[Nexus 5 Original Android Development] -iNSiGhT-:
Hi all,

Like I read few pages back, some users lost root by flashing this last r806.

I use NX ROM (latest version 7.2.4) and after flashing this r806 over r793, I lost superuser/root.

NX ROM is already rooted and I haven't had any issue with su with prior version of code blue (prior to r806).

I fixed this by flashing SuperSU but since my ROM was the same, what change in code_blue that breaks superuser?

Thanks.
[Nexus 5 Original Android Development] marf28101995:
Working fine here with latest version... Must be something with your setup

---------- Post added at 11:28 AM ---------- Previous post was at 11:27 AM ----------

I don't think something changed that could break root anyway SuperSU is much better ;)
[Nexus 5 Original Android Development] Blac Caesar:
Dämn it.. I can't figure it out either. I decided to try the latest CM just to see what it's like, bc I haven't run CM since my HTC Vivid ages ago.. but now I can't get custom kernels to flash. Just a little frustrating ya know, but thanks for your input. Guess I'll try something else
[Nexus 5 Original Android Development] eng.stk:
Code_Blue doesn't break root and there are no changes.

SuperSU doesn't need any kernel changes to work from several version now, use v2.40.

Superuser works fine, since several versions I already merged all changes made by CM.

People don't have issues with su, they just were forgetting to enable it in developer options because CM introduced that change.
[Nexus 5 Original Android Development] -iNSiGhT-:
Did you merged some changes between r793 and r806?

NX ROM is AOSP based, but there has not been new build since few weeks.

I tried to disable and re-enable su in developer settings without success.

Just to know so I can say to NX developer this last build doesn't work with the latest code_blue.

Thanks for all your work!
[Nexus 5 Original Android Development] bryanlimy:
I have the same problem, flash r806 on N5X and lost superuser. But SuperSU works better I guess

Moto 360 and Nexus 5
[Nexus 5 Original Android Development] xxRAMOTHxx:
What rom you running [MENTION=3873953]eng.stk[/MENTION]?
[Nexus 5 Original Android Development] marf28101995:
As he said lot of Roms purity cm etc etc
[Nexus 5 Original Android Development] eng.stk:
Some fixes related to supersu were previous to r777 even, so builds from then on are all the same.

I follow CM changes, there's selinux stuff ROMs need to have too.

Also if the switch in options doesn't work, you can force persist options on build.prop (for instance, I had to do so to have sdcard mount/unmount options on storage menu).

About OTG: And CM is going to merge this https://github.com/CyanogenMod/andr...mmit/bde5d8b1bd26e5594a134abee35f3cd9c8fe9466

Although this has nothing to do with kernel, which is full synced with CM, fully compatible with Superuser and SuperSU. I cannot fix what isn't broken.

Some people have issues with su because they use both enforce and permissive kwrnels without wipe, sometimes there's other dirty flash issues...
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r822

All right crew!

Just pushed r822, up we go!

This release was build with new toolchain Linaro 2015.01 Cortex-A15 GCC 4.9.3 with nice improvements by [MENTION=4825437]Christopher83[/MENTION].

Kernel compressed with newest LZ4-r127.

Added some cool patches to crypto (neon support and other enhancements), memory management fixes, scheduler fixes and improvements, blu_active scale improvements, cpuidle and display fixes.

And more than 11k thanks in xda, you rule posse :victory:

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

You keep the spirit alive!
[Nexus 5 Original Android Development] GTOJim:
I flashed the latest version of Code Blue and have root. Just passing this along as there were complaints about losing root with the previous release. Which I have been using and did not lose root.
[Nexus 5 Original Android Development] marf28101995:
https://plus.google.com/114982142929938200023/posts/VKf3aZpcrSP

;)
[Nexus 5 Original Android Development] acultr:
not multirom support?
[Nexus 5 Original Android Development] asdfasdfvful:
Have you tried it or are you just asking? I have multirom and code Blue is working just fine. I'm on the third latest build though
[Nexus 5 Original Android Development] acultr:
yes I try. I have not problem on 806,but on 822 see not my secondary rom.

sorry for my English
[Nexus 5 Original Android Development] vrda08:
[MENTION=3873953]eng.stk[/MENTION]

First, Respect for all your amazing work.

I very love your code kernel, it is amazing in battery managment.

Only one thing, bluactive is very good in perfomance-responsive-smoothness-battery.

In front of all responsive+battery, it is not perfect in smooth,fluidity. Thats can be checked in google calendar scroll.

In uber kernel there is good number of governors to choose, i test it all and find that Smartmax has amazing fluidity and battery-perfomance.I know there is small chance to see more governos in CB but to my thats will be unreal kernel.

I think CB with smartmax (or blumax,smartblu ;) ) will even more battery,smoothnes,perfomance,responsive than uber or any other kernel..

This is my small subjective opinion.. Hope all the best and keep it more great and blue!!!

Cheers
[Nexus 5 Original Android Development] and313:
The 822 gives me even better battery then previous versions really amazing! Ui is also smoother. Good work
[Nexus 5 Original Android Development] reyfista11:
i got "device not supperted" in ukm with 822. clean install on terminus
[Nexus 5 Original Android Development] tsimitsangaz:
how this blue monster works with on demand Gov in comparison with Blue_active?
[Nexus 5 Original Android Development] AA1973:
Force stop Synapse and clear its data in settings> Apps> all Apps (or via long press of synapse icon in recent apps)

In Terminal Emulator type

su

uci reset

uci

Should solve the issue. Hope it helps. No issues here.

Terminus 18.01 (primary ROM)

CodeBlue #822

SuperSU 2.44
[Nexus 5 Original Android Development] melbourne408:
R106 LTE min core 1, max core 2
[Nexus 5 Original Android Development] spirit1:
I'm testing 107. For now without any problems.

But... Piereligio_TrueRGBv6.6 would be a lot better (colors are colder) ;)
[Nexus 5 Original Android Development] alen1901:
I really dont like the idea of forcing other color profile by default, but ill test r107, like living on the edge :p just a question, why you decided to compile with 4.9.1? Now that 4.10 is out, 4.9 isnt really updated anymore and 4.10 is getting constant updates. You think 4.9 is now stable? Thanks.

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] Spectrum75:
alen1901 took the same thoughts from my mind :D

I believe its better to let users to choose what color profile they like.

( They still can do it, ok, but someone may want to leave everything stock after an installation )

Also 4.10 "seems" more promising but im not a developer so i cant make any real judgement here :p
[Nexus 5 Original Android Development] radicspeter:
Any chance to underclock the 300 MHz?

Sent by Nexus 5
[Nexus 5 Original Android Development] eep2378:
So you wanna go lower then 300? If so there is no real benefit. Results are negligible.

Sent from my Nexus 5
[Nexus 5 Original Android Development] eng.stk:
Yeah I likr v6.6 veryuch too, still deciding :)

I always use my fav gamma profile in Purified Kernel, users can easily change to the ones they want ;)

4.8 is stable and 4.9 is beta. Linaro supports 4.9 but not 4.10 wich is still alpha

There's no gain going lower than 300MHz/700mV
[Nexus 5 Original Android Development] benna:
I know it not nearly the same phone or technology, but on my Galaxy Ace, I found the 122MHz used MORE juice than 245 MHz:eek: So if you go lower than 300, dont know if it would help battery. What would be cool if we could go lower than 300 and you test it for us:victory:

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

Just after flashing r96, r104 was released. I just flashed r104 last night and now again a new version is out. I cant even test one version on a battery cycle. Either new updates is fast or my battery simply lasts to long:laugh::laugh: NOT complaining AT ALL:good: Keep up the good work!
[Nexus 5 Original Android Development] eng.stk:
Yeah you gotta move fast!

Normally there's only 1 build for week,sometimes 2.
[Nexus 5 Original Android Development] eng.stk:
BTW 4.9 just entered stable a couple days ago, but it seems slower than 4.8 with same flags. Still needs tweaking I guess, r106 is smmother than r107. Guess I'll stay with 4.8.3 for awhile
[Nexus 5 Original Android Development] pantmunu:
Is anyone getting ui stutters on the latest test build .. Or It could just be me. Using stock values. Hmm. Weird. Will be testing more. Let's c. And as always .. Awesome work. :)
[Nexus 5 Original Android Development] Hatshipuh:
I have, but so far I think I'm just thinking I'm imagining things, since sometimes I see them, sometimes I don't.

Guess I'll try if I see it with r106 too.
[Nexus 5 Original Android Development] MobileThrowAwayAcc:
Absolutely love this kernel, r106 at 80% from 5 hours since charge and 1.2 hrs SOT. Silky smooth with ART

One question though:

What would be a simple way to revert to the default gamma/color profile? I was blessed enough to have a very well calibrated screen out of the box.

Thanks again!
[Nexus 5 Original Android Development] eng.stk:
You can use franco display control from playstore and load stock profile.

Or you can do a init.d script
[Nexus 5 Original Android Development] andresee:
Where do you set the color profile. whats the tunable? Looking to write a init.d script.
[Nexus 5 Original Android Development] MobileThrowAwayAcc:
If you manage it, I'd love to get the script from you
[Nexus 5 Original Android Development] eep2378:
Here is the zip of all the color profiles for use with Franco's display app. It includes a stock profile. You can set on boot with his app too.

http://192.227.135.147/N5_ColorProfiles/ZIPs/

Sent from my Nexus 5
[Nexus 5 Original Android Development] andresee:
Thanks but was asking how its set in purified. So i can set it up in init.d.
[Nexus 5 Original Android Development] eng.stk:
You can set it on /sys/module/dsi_panel

You cannot change kgamma_send

The order is what appears on those files in the zip [MENTION=2838614]eep2378[/MENTION] posted
[Nexus 5 Original Android Development] andresee:
Perfect thanks... exactly what I was looking for. As always awesome work.

Set up a script but doesnt seem to stick. Ill keep trying.

I can run it manually for now.
[Nexus 5 Original Android Development] reyfista11:
thanks

fixed
[Nexus 5 Original Android Development] MatVekk:
The r822 is fantastic! More smooth, more battery... more stable!!
[Nexus 5 Original Android Development] janres155:
I thought something is wrong with my phone or battery because I'm getting poor battery life with this kernel. Then I switched back to ext4 partitions, previouly f2fs, and now I'm getting insane battery life again! I don't know why I had insane battery life with ext4 than f2fs, even same apps and kernel setup.
[Nexus 5 Original Android Development] mpgrimes:
Probably because it is a clean install.
[Nexus 5 Original Android Development] janres155:
I always clean install, that's why I'm curious about the results.
[Nexus 5 Original Android Development] BlazeForth:
Me too face this issue... Gonna move back to ext4.
[Nexus 5 Original Android Development] reyfista11:
Why is f2fs using much battery?

On what basis? I can't think the link between them
[Nexus 5 Original Android Development] janres155:
Idk, this is from my experience for a month in f2fs. Maybe due to read/write process? Not sure though.
[Nexus 5 Original Android Development] pulak861:
Will this 822 version work with cm 12 latest nightlies?
[Nexus 5 Original Android Development] travperk:
CB 793 seems to get me the most battery time. Is there some kind of magic in that particular build or maybe im crazy?

Running N5X 7.2.2
[Nexus 5 Original Android Development] luckana:
everyone always says different stuff about different builds man :D You cannot expect your experiences to be the same with someone else's ... For me, for instance, 822 has an amazing battery life
[Nexus 5 Original Android Development] drac0:
I'm using F2FS on both my /data and /cache partitions and getting crazy SOT with latest Code_Blue, so I doubt its F2FS, check your wakelocks and after converting back to EX4 well its probably due to clean flash. Cheers!
[Nexus 5 Original Android Development] eng.stk:
Why would I add 100 options that nobody uses?

This kernel is about stability and performance, keeping a battery friendly approach. I prefer loosing time to original work and keep the bloat away.

Either you want a more performance or conservative setup, you can easily change settings to your liking.

Use SuperSU 2.40, v2.44 is bugged.

This has already been widely debated.

Search is your friend.

No, f2fs doesn't use more battery.
[Nexus 5 Original Android Development] surrealjam:
Yes - it works great with the CM12 nightlies. I am using it with Jan 18th.
[Nexus 5 Original Android Development] Jax Teller:
[MENTION=3873953]eng.stk[/MENTION] which is your favourite kernel app these days for tweaking code_blue besides Synapse?:)
[Nexus 5 Original Android Development] Pmart317:
Are people just updating the Kernel through recovery over an old version? Wasn't sure if this was the right way or not.
[Nexus 5 Original Android Development] ciano865:
Yes I did or sometime I wait to flash a new CM12 nightly... I've never dirty flashed code_blue over other custom kernel
[Nexus 5 Original Android Development] Pmart317:
Yeah I meant over an older CB kernel. This is the only Kernel I have been with. It seems to be working fine just wanted to make sure this was the best approach.
[Nexus 5 Original Android Development] eng.stk:
UKM only.

Or i change the tunables directly with root explorer.

Sometimes i use Trickster, but very rare.
[Nexus 5 Original Android Development] Jax Teller:
Thanks a lot. I use ukm & synapse most of the times also.

I was just wondering if there was an app with more material design.

Btw latest releases feel faster. Great job.[emoji4]

I'm using your kernel with SlimLP.
[Nexus 5 Original Android Development] bigknowz:
init.d

I wrote a script to replace init.d files after flashing a new ROM. Got annoyed copying the files back to init.d folder and then correcting permissions.

#!/system/bin/sh
# 19-Jan-2015

# your init.d scripts backup directory
# change yourdirectory to the actual directory
scriptdir='/storage/emulated/legacy/yourdirectory'

initdir='/system/etc/init.d'

# create a variable for each init.d script
# change yourfile to the actual script name
file1='yourfile'
file2='yourfile'
file3='yourfile'

busybox mount -o rw,remount /system
# copy files back
cp $scriptdir/$file1 $initdir/$file1
cp $scriptdir/$file2 $initdir/$file2
cp $scriptdir/$file3 $initdir/$file3

# set permissions
# 755 for init.d files
chmod 755 $initdir/$file1
chmod 755 $initdir/$file2
chmod 755 $initdir/$file3

# 0.0 is root
chown 0.0 $initdir/$file1
chown 0.0 $initdir/$file2
chown 0.0 $initdir/$file3
busybox mount -o ro,remount /system

I have 3 scripts, you can create more variables if you have more (e.g. file4, etc.). If you have less, delete the extra lines of code. The script needs su permission whether you are using SManager or terminal.
[Nexus 5 Original Android Development] XeYex:
f2fs system?

Hi at all :)

I'm here to ask something a bit noob I think...Is it possible with this kernel to make system patition to f2fs?

Thank you in advance :)
[Nexus 5 Original Android Development] :
What do you think - could we find something in the OP about this?

Let's see...

Yes, yes here it is - right at the end of the OP.
[Nexus 5 Original Android Development] Isley_:
First I want to say thanks for the great Kernel, the performance and battery life is very good, and BTW I love the color settings, just I want to know if can you add a high fast charge level? Is just that, I wanna charge my phone faster. Anyway thanks for your hard work.
[Nexus 5 Original Android Development] Juzman:
I do a similar thing, except zip has hosts file, media_profile and modifies my build.prop, and removes apps I don't use.

After each ROM flash, I flash it and does what I need.
[Nexus 5 Original Android Development] Flowsen21:
Here is a great app with material design: https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[Nexus 5 Original Android Development] ciano865:
and it works fine with CB kernel :good:
[Nexus 5 Original Android Development] onesolo:
Can anyone tell me how I revert all the kernel changes made on the Synapse ??

I changed all the CPU Volt settings, I undervolted but now I'm getting some reboots or halts. I want to revert to the original values, but I can't remember the default values.

I just want, or reset Synapse kernel settings or someone tell me the CPU Volt values.
[Nexus 5 Original Android Development] frikakwa:
Did you try to just reflash UKM + kernel?
[Nexus 5 Original Android Development] marf28101995:
The fast charge is already there

The USB one and with wall charge one..

You can't get more than this

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

Or even more simple with less time... Just clean the data of the app and reboot
[Nexus 5 Original Android Development] onesolo:
Ok, that did the trick... I already did that but I just didn't reboot after that... so it would assume the same values...

But now I clean data and reboot quickly after that and it worked...
[Nexus 5 Original Android Development] gialakias:
[MENTION=3873953]eng.stk[/MENTION], I have seen before that you have included a stratosk patch. Is it possible to to implement his dt2w approach because in N4 is working I would say perfectly, or N5 has a different hardware to use his approach?

Sent from my Nexus 5
[Nexus 5 Original Android Development] eng.stk:
What it would bring of new and what's wrong with dt2w in N5?

Of course it's diferent hw...
[Nexus 5 Original Android Development] gialakias:
Well I am not an expert but from a user's view I can tell that the battery consumption is less in N4 than in N5 for dt2w. Just wondering if it could get better. Thank you for your answer, keep up the good work!

Sent from my Nexus 5
[Nexus 5 Original Android Development] ciano865:
In N4 dt2w works using a small central strip of screen with low battery drain I think this may the be diference with N5 BC dt2tw (half screen mode)
[Nexus 5 Original Android Development] eng.stk:
On my N4 days screen wake stuff used a lot of battery like on N5.

The problem is that our panels doesn't have low power modes (aka doze).

Having the panel detecting touches in half the sceen or full screen in mainly because it's better so users don't touch and unlock without wanting.

Also some panels detect better the touches in soem area of the matrix. Not the case with N5, works +/- all around.

This has nothing to do with better battery, it's the same: either the panel is on or off, doesn't matter if it only considers a small portion to use the touches or all the screen.

Only thing that improves the dt2w drain is to turn it off after some time (wake timeout) or buy a phone with a better panel with doze mode like the OPO, LG G3 or the N6
[Nexus 5 Original Android Development] Sigray:
How can I set other color profiles?
[Nexus 5 Original Android Development] tcat007:
Synapse/ukm
[Nexus 5 Original Android Development] ryukiri:
Is there a possibility to add a feature that makes dt2w automatically turn on only when charging?