yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] kraatus90:
no problemo , as i said i'll see what i can do and hopefully it will be on next update.:)

btw doesn't it already has a great speaker ? i mean it's pretty loud and clear for me. :confused:
[X 2014 Original Android Development] Mennpiko:
Hi, I'm trying to add Kcal support to the last CM13 kernel, I got unpacked yours kernel and CM13, but can not find where I add the code Kcal, I hope can help me, thank you

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] kraatus90:
you will need to add these -

https://github.com/kratos090/kernel-motox2014/commits/KRAIT-v1?author=savoca
[X 2014 Original Android Development] Vinnom:
Wow, I tried to do what you did once, but since college was kepting me so much busy, I didn't try anymore. Just now I was think "it would be cool if someone compiled a stock kernel for us". Great bro, great. I will test tomorrow ( almost 3 am here in Brazil now) and later I report my experience =)

And thanks for trying to turn it compatible with synapse. I like it much more than kernel adiutor =P

And if I would have some request, it would be to have alucard hotplug. Isn't very popular, but I like the controle it gives =)
[X 2014 Original Android Development] fajarlazuarding:
Finally a custom kernel for stock ! Thanks mate will try later ;)

Edit : done flashing this kernel and all run smoothly. I just figured about fsync, kernel adiutor is showing disabled while you stated in OP, it was enabled by default. Don't know which one is wrong lol.

And one question, I can't find any color profile inside kernel adiutor 'screen' menu, is this supposed to be like that ?

If yes, any chance you'll implementing that feature ?

Thanks.
[X 2014 Original Android Development] jejeh:
Thanks for the kernel....

No problems sofar on a xt1092
[X 2014 Original Android Development] kraatus90:
it is supposed to be enabled by default.

for kcal , you will need to change values by yourself. yes it's supposed to be like that. this is what i use - R-233 , G- 213 . B- 255, saturation intensity - 18. other values are default.
[X 2014 Original Android Development] fajarlazuarding:
Thanks for the clarification and setup value. Looks better.

Well, If I can request one more feature, please add backlight dimmer. Really appreciate it :)
[X 2014 Original Android Development] glauberlima:
Hi [MENTION=4825505]kraatus90[/MENTION].

I've been compiling a custom kernel for our beloved XT1097 as well and I have plans to make it available here at XDA soon.

Did you manage to flash yours via fastboot? Mine is booting fine by running fastboot boot myKernel.img although this error message is the only thing that I get when I try to permanently flash it via fastboot flash boot myKernel.img:

hab check failed for boot

It's weird since it's 100% pure stock.

I've never tried to flash it via TWRP btw.

Thanks!
[X 2014 Original Android Development] Vinnom:
Ok, flashed it and everything running smoothly ^^

Flashed UKM and Synapse fully working =)

Thank you [MENTION=4825505]kraatus90[/MENTION] for your work ^^

And as I said before, only request I would make, would be to add alucard hotplug.
[X 2014 Original Android Development] kraatus90:
make sure that the size of kernel is not more than 9.96 MB , that's the limit . and for reducing the kernel size use xz compression. also even after doing that you will get some warning but it will work. ( same as flashing twrp it gives a warning but recovery still flashes and works) it's because size mismatch.

first i'll test it by myself and if it's stable and not doing and problems i'll include it in next update. ( although the current hotplug works great )
[X 2014 Original Android Development] juangcardoso:
Awwwwyeeeaaaahhhhhhh! Lots of question, brother!!!!!!!!!

-I have root and Xposed installed, can I install your Kernel or I have to do a "clean" installation?

-This Kernel is compatible with Xposed MM?

-For now, there are any bugs?

And congratulations for your work, I saw many peoples saying good things about This Kernel xD

Edit:

-This Kernel has "Faux sound control" support?

And sorry my bad english xD
[X 2014 Original Android Development] Jostian:
Just wanna say thanks to kraatus90 for his time and effort in providing us with this great Kernel, its much appreciated!
[X 2014 Original Android Development] kraatus90:
you're welcome :good:
[X 2014 Original Android Development] BootloopedMillennials:
Turn off MPDecision even if only hotplug choice (CM13)?
[X 2014 Original Android Development] kraatus90:
nope leave it as it is, because in order to get benefit from no hotplug there are some kernel modification is required which cm13 doesn't have.
[X 2014 Original Android Development] dmourao:
Installed the lastest version yesterday, no problems so far.

Thanks!
[X 2014 Original Android Development] miller_ab:
I've just installed the V2 and I'm having wifi problems. It refuses to connect.

Is anyone experiencing this? Does it have a solution?

EDIT: I've tried flashing the wifi-fix file and now it doesn't find any wifi networks available. I'll wait a bit and keep trying the newer versions.

Quick question: What can I tweak form the stock kernel with Kernel Adiutor in the meantime?
[X 2014 Original Android Development] igor_anta:
I'm kinda confused here so please help me :)

I see a lot of CM13 comments so is this stock, are there version or does it work for both? Also does 2.0 have FauxSound and is the WiFi issue present in 1.1 for all users or just for some?

Thanks, keep up the good work. Cheers.
[X 2014 Original Android Development] kraatus90:
it's only for stock 6.0 rom. there's no FauxSound on v2 because it makes 0 difference. only some people are having wifi issues not all of them.
[X 2014 Original Android Development] Jostian:
As far as I know (what I did) is that you must flash the stock root and boot kernel for your phone model AND flash V2, worked for me (I had wifi issues after only flashing v2), did you do this?
[X 2014 Original Android Development] thiagodm:
Thank You! Working great with LITE STOCK ROM.
[X 2014 Original Android Development] kraatus90:
update 3

KraitKernel_v3 is Here!!!

as always, flash stock boot.img first then flash/patch with su. then flash v3 zip.

Download

Changelog: v3

media: radio: Fix building and loading the IRIS transport

wcd9320: add a simple sysfs interface that allows for headphone and mic register value customization ( headphone and mic vol boost )

disable crc check

block: Disable add_random

Add SIO and FIOPS i/o schedulers

init.d fix thanks to Junior Passos
[X 2014 Original Android Development] karanrajpal14:
Can I install this on cm 13? Will it cause any issues?
[X 2014 Original Android Development] JimYoung:
It just won't boot!!
[X 2014 Original Android Development] JeyanthMandava:
Does this support double tap to wake ??
[X 2014 Original Android Development] Flipz77:
Isn't it a bit redundant on a moto x?

BTW still no luck with wifi.

XT1092 retde converted to 1095
[X 2014 Original Android Development] JeyanthMandava:
hahah yea ok!
[X 2014 Original Android Development] nithin1992:
Not a fix, but why have you converted to 1095 for? XT1092 has Marshmallow as well, makes sense to switch back
[X 2014 Original Android Development] Vinnom:
I flashed v3 hahaha

It is great, thx ^^

Just to report that dirty flash over older version worked for me :)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Flipz77:
You're right, thing is that the 1095 firmware I'm on came as a convenient zip by Agisci. If something goes wrong, you just reflash and everything's OK
[X 2014 Original Android Development] Vinnom:
Ok, I'm reporting back, just for information of others.

I dirty flashed v3 over v1.1, and everything works right. Issue: random reboots, so don't do this hahahaha

Edit:

After noticing the random reboots issue, I reflashed, but following [MENTION=4825505]kraatus90[/MENTION] steps. But, form some reason, min cpu freak keeps trying to change back to sync threshold value. I can see this behaviour at synapse and kernel adiutor as well.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] kraatus90:
sync threshold or cpu-boost value ? it will change min frequency to whatever you set on cpu-boost frequency every time you touch the screen. i have set it to 0:1190400 1:1190400 2:0 3:0 for me , means only two cores will jump to 1190mhz every time i touch the screen. there's a small problem though , in kernel adiutor cpu-boost frequencies goes back to 14xx mhz every time i reboot the phone.

btw are you still facing reboots ? :confused:
[X 2014 Original Android Development] Vinnom:
Ah ok, so it is a normal behaviour. Btw, synapse reports that it is staying more at low frequencies, so everything is good. I will just adapt my profile script to this new mode, because it is write thinking in hotplug hahaha

No more reboots, sir =)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] kraatus90:
yes , cpu stays in lower frequencies more because , all cores are online so tasks finishes quickly thus saving power. also because of no hotplugging, there's no power waste in online/off-lining cores. also you will get more battery life during video playback compared to stock kernel.

P.S.- from next version i'll switch toolchain to google's stock 4.9, because i think all that custom toolchain mumbo-jumbo is just placebo. i could be wrong but i think using stock toolchain is better for stability. ( although, kernel is pretty stable so far) if only i could fix those wifi problems some people are having, this would be perfect :o.
[X 2014 Original Android Development] BootloopedMillennials:
Tried profiles based off of these? I like how they scale the frequencies especially the Ghostpepper. It favors the lower frequencies saving battery.

I'm testing a modified Ghostpepper on my Moto X. Streaming 20mins of Youtube at 50% brightness dropped me to 97%. Phone didn't even get warm.

http://xdaforums.com/showpost.php?p=64646565&postcount=903

http://xdaforums.com/showpost.php?p=64586457&postcount=662
[X 2014 Original Android Development] Vinnom:
I didn't try hahah I like to play with stuff by myself, just to learn and see how things are done and how I can affect things for better or for worse hahaha I think this is my scientist side, after all, I study physics ^^

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Tinchoska:
Guys what about battery life?

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] Vinnom:
It is good and if you use the settings provided in the link [MENTION=3382406]Visi0nofExcellence2[/MENTION] shared here then you'll probably be good.

[MENTION=4825505]kraatus90[/MENTION] for some reason, I the phone stuck and do nothing more (I have to force reboot) when changing gpu governors. If I'm not mistaken, in v1.1 it worked fine.

Ah, one more thing, do you prefer to use "bug reports" tab than report it here?
[X 2014 Original Android Development] BootloopedMillennials:
A correction he can't use those direct settings they are meant for Nexus 5X. Provides a base for a custom Moto X setting.
[X 2014 Original Android Development] kraatus90:
does it happen when you change it to simple ondemand gov ? if yes than i know about it, i forgot to fix it. it will be fixed in next build :)

you can post logs here. :good:
[X 2014 Original Android Development] gabrielsena:
how to root with this kernel?
[X 2014 Original Android Development] Vinnom:
Oh yeah hahaa happens when trying to change to simple ondemand ^^

Ok :)

Will you include westwood tcp congestion control? It is a good one :)

Oh, always forget to ask. Had you heard about Ultra Kernel Samepage Merging uksm? It is better than stock ksm, can you consider to implement it?

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] BootloopedMillennials:
I am not so certain about the timer slack setting of -1 on our Moto X.

https://android.googlesource.com/kernel/common/+/android-3.4/Documentation/cpu-freq/governors.txt

Edit: Going to ask [MENTION=5886947]soniCron[/MENTION]
[X 2014 Original Android Development] Vinnom:
Hmm, I've been setting mine to 30000 us, and timer_rate to 20000, so I've 50000 for re-evaluate.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] nitsua98:
What are your settings for this modified ghostpepper?
[X 2014 Original Android Development] Vinnom:
Just flash supersu.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] BootloopedMillennials:
I've been bouncing between 30000 and 40000 too.

[MENTION=5886947]soniCron[/MENTION] responded and confirmed that since the frequencies and loads favor the lower end they counteract the timer slack -1 trying to keep frequencies at the higher end. Theoretically of course, use or not at your own discretion.

Testing it with 40000 I got down to 50% after 2:47:xx screen on and 12:17:xx total time off charger. 50% brightness on Wifi. Was not impressive as sounding the phone was in deep sleep for 8:xx:xx. Back to the drawing board.
[X 2014 Original Android Development] gabrielsena:
Não entendi. Tinha usado o SuperSu do Junior Passos mas ficou preso na tela de boot

----------

I do not understand. I had used the superSu Junior Passos but got stuck on the boot screen
[X 2014 Original Android Development] kraatus90:
flash boot.img from here and flash supersu2.52. after that you can install this kernel if you want, and you'll have root too.
[X 2014 Original Android Development] igor_anta:
So does version 3 have FauxSound? I know it was removed in the 2.0 (or another minor update) but I can see some small changes regarding headphone and mic volumes in the latest changelog.
[X 2014 Original Android Development] kraatus90:
no fauxsound , but there's a small version of franco sound control. it allows mic and headphone volume gain.

Edit: new version is up ..

Download
[X 2014 Original Android Development] iron maiden:
Hello very thanks great kernel for stock 6.0

regards..
[X 2014 Original Android Development] thomstrack:
I just installed and it's working fine. No issues. Performance seems great. Tomorrow I'll see about battery life.

Thanks for the amazing work!
[X 2014 Original Android Development] Vinnom:
Well, I've been testing the script for v3 and I think I have good settings here (but there is a lot room for improvement).

Who want to test it, download and apply from here.

EDIT: Idk why, but I still can't use init.d =/

EDIT2: I'm using greenify and Idk if somebody else is using it too, try the new experimental features (shallow hibernation and agressive doze). Both are native supported features from marshmallow (shallow hibernation doesn't even require root access) and it seems that are very good for battery life when screen is off.
[X 2014 Original Android Development] ksd316:
Thanks for the profile, but synapse won't load it. :-/
[X 2014 Original Android Development] renzs:
[MENTION=4825505]kraatus90[/MENTION]

Hi, I flashed version 4 using twrp 2.8.7.1 and wiped cache and reboot and device went to bootloop and auto back to recovery.

So I reflashed stock boot.img with fastboot and have lost wifi on stock kernel now.

Anyway to regain wifi without reflashing stock image?

Thanks
[X 2014 Original Android Development] kraatus90:
that's why always make a backup first. anyway flash this.
[X 2014 Original Android Development] thiagodm:
Hello Vinnom. A very noob question. Where/how i use your script?
[X 2014 Original Android Development] Vinnom:
Isn't for Synapse. In fact, Synapse isn't loading profiles, so I'm sharing profiles that are scripts that you have to run. Sadly, I couldn't make it work at boot time yet, so everytime your phone reboots, you'll have to run this script.

Hi man ^^

Juat save it in your /sdcard and run the commands at terminal emulator:

su
sh /sdcard/profile

Or you can save it wherever you want, jus remember to change the location in the 'sh' command.

Alternatively, terminal emulator have a widget where you can save a command and everytime you touch it, it will open the terminal and run.

If you want to use it, just put the widget in your homescreen, in the field "arguments" type:

su -c "sh /sdcard/profile"

Type a shortcut label as you wish and save it :)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] renzs:
I actually had planned to make a backup when I booted to recovery but when I got in, flashed the kernel instead..haha..was too excited.

Before flashing the restore zip I tried to flash again V4 and this time booted normally and flashed SuperSU 2.67 and everything working fine

Thank you
[X 2014 Original Android Development] BootloopedMillennials:
Look at Doze settings editor. Few presets built in but best tailored to your usage.

http://xdaforums.com/android/apps-games/root-doze-settings-editor-android-t3235130

Take care of wakelocks it's not ununsual to see little drain when screen off. 0-1percent every 6hrs.
[X 2014 Original Android Development] thomstrack:
I had a bootloop with charger connected. When a removed charger, the device boot normal. I don't know if its a coincidence or not.

About root, I had root with this method, only flash Krait v4 and works fine.

And yes, for security I do a backup of system and boot before. ;)

---------- Post added at 02:51 PM ---------- Previous post was at 02:25 PM ----------

I don't know that it's showing right, but Kernel auditor (or other kernel app), show GPU only on 3 frequencies (27Mhz, 100Mhz and 200Mhz). I don't understand, because minimum frequency it's 100Mhz.

It's only showing wrong or there is a problem with GPU frequencies?

(PS: all settings it's stock)
[X 2014 Original Android Development] kraatus90:
can you see other frequencies in max-min frequency selection option ? normally when gpu is idle, it will show 27mhz , and when you touch the screen it will jump to 100-200mhz depending on load, minimum frequency is 100mhz and that 27mhz is the slumber mode frequently ( idle). that's why you can't select 27mhz as minimum. i hope that helps.
[X 2014 Original Android Development] thomstrack:
No, 27mhz don't apears on max-min frequency selection. Alright, 27mhz == idle.

Thanks for de explanation.
[X 2014 Original Android Development] iron maiden:
Hello my profile does not apply

Very thanks

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] iron maiden:
Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] ksd316:
It needs to be typed correctly in terminal emulator. "sh /sdcard/profile" There is a space after the "sh" but no spaces between the rest. Worked for me
[X 2014 Original Android Development] iron maiden:
And now it is right

Very thanks

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] igor_anta:
Just flashed 4.0, everything is working perfectly fine, I'll report battery use after a day or two.

Just one question, how do I use the franco sound control feature? Or is the audio gain automatically applied?
[X 2014 Original Android Development] Vinnom:
Yes, the only message when the script is applied it is about init.d folder (it is expected).

You have to use synapse or kernel adiutor to change those params, at sound section.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] iron maiden:
Hello widget is correct? thank you

you bring the version 4.0 kernel krait? is the version that I have now

sorry my english.
[X 2014 Original Android Development] Vinnom:
No, it isn't hahaha

You're typing a space char after /. There is no space, it has to be as writen here:

su -c "sh /sdcard/profile"

Copy this and paste :)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Junior Passos:
[MENTION=4825505]kraatus90[/MENTION]

There's something strange about this new kernel version.

After using the v4 , the phone rebooting sometimes.

Yesterday happened 2x, today happened again.

It was in my pocket and felt vibrate when caught he was in boot animation screen.

I restored stock kernel and the problem stopped.

So I believe it is something with the kernel. That never happened when I was using earlier versions.

Please give a checked to see what's happening.

Thanks.

PS : I've done a clean install and still not resolved.
[X 2014 Original Android Development] kraatus90:
are you using it with su2.67 ? im also facing the same problem, but su2.52 gives no troubles. still im trying for solution. :)
[X 2014 Original Android Development] Junior Passos:
I am using 2.52 too.

Exactly the same version as posted on my topic of root marshmallow. ;)

I don't know why he is giving these reboots. :(
[X 2014 Original Android Development] kraatus90:
hmm , it's really weird. can you give some logs , any specific scenario when it happens ?
[X 2014 Original Android Development] Vinnom:
Guys, try to use supersu 2.65 as it is a stable release.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] karanrajpal14:
Any chance you could support CM ROMs as well? There aren't any custom kernels for it. What do you say? I'd love to use this.
[X 2014 Original Android Development] kraatus90:
Honestly i doubt i'll use cm13 because stock rom now supports layers and it's rock stable . so there's very little to gain from cm13, still though i'll make cm version only after snapshot release. :)
[X 2014 Original Android Development] Junior Passos:
I don't believe the problem is the version of supersu.

Always I used this version and I never had problems.

But I will switch to version 2.65 to see if solves. ;)
[X 2014 Original Android Development] Eichbauuusch:
I've got the same problem. I have about one reboot the day. I also use Version 4 and SuperSU 2.52.
[X 2014 Original Android Development] gabriel_hart:
I, too, question that it's related to super su. I'm currently not rooted (haven't been since MM) but have gotten a few reboots on v4. I wasn't seeing any reboots on previous versions.
[X 2014 Original Android Development] Vinnom:
I really don't believe it neither, but as supersu 2.65 is stable version, it is better to use it as it is newer :)

Any result from trying it? As I'm still at v3 (tbh I didn't even see v4 post hahaha) I didn't test v4.

Well, I just need to share this. I was reading a post from AA about facebook alternative apps. It happens that there they spoke about "performance gain" (but it tells that it is said by the users and is not confirmed) after uninstalling facebook main app. I decided to make a test, and well, pcmark proved that I had some gain in performance.

I'll attach screenshots before and after uninstalling facebook and twitter app, and replacing them by Metal.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] BootloopedMillennials:
Sweet. I went to cm13 since it offered 20% more battery life than stock rom (even before tweaking governor). Though that was before I discovered your kernel, stock would have been much better with it.