yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] kraatus90:
sadly no, im selling this device probably this week and i have to finish this kernel plus some other stuff.
[X 2014 Original Android Development] lpyyss:
Great

Nice Work! :good:

Finally a custom kernel for stock ROM on New Moto X.:fingers-crossed:

I just tried to use it with systemless root method. And the result was boot looping to recovery. Fortunately I recovered it to normal root method and everything is fine.

Any plans for systemless root method? :confused:
[X 2014 Original Android Development] Tinchoska:
Sad to read that.... Thus phone has no modding at all.... That a shame... By the way, nice phone you will have dude

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] Vinnom:
Woah! G5 is good acquisition!

Thanks for all your efforts towards this device, even if you going to sell it :)

Do you know what your friend did to get init.d to work?

EDIT:

I found out what I was missing to get my script to work: busybox! I just installed it and now my script runs like a charm hahahah

EDIT2:

I had confirmed only two things that I change with the script. Now, checking other things that had to change too, the script doesn't fully work yet =/

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] bornlivedie:
most phones don't, and that's thanks to locked bootloaders and popularity

take for instance the moto g first gen, it's a crappy phone, but has huge development, even more than the 2nd gen (which has almost cero) and the 3rd gen (which doens't have official CM13)

motorola phones are not that popular sadly, even less the premium ones

if you wan't a great phone with lots of development buy a Nexus phone, otherwise be content with what you have. What do you prefer, a Moto X with at least CM13 or G4 with a locked bootloader and crappy stock rom?
[X 2014 Original Android Development] Tinchoska:
I know that and that's why I stay stock, it's really, REALLY stable.... But having a kernel can give us lot of sot which, since lp, is really awful

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] bornlivedie:
In which way? I don't see any issues with it. The device perform really wells and the battery life is good for a phone this characteristics and a "tiny" battery.

I come from a G3 witch has identical hardware and I find the Moto X to be the better performer in every sense except camera quality (not that big of a difference though). Granted, its 1080p vs the QHD screen of the G3 but well...

Stock rom on LG phones are total garbage, and the G4 doesn't have any development at all, except for the EU model. Same with samsung, the exynos version is gargabe with no development at all. Plus, when you install AOSP on them, you lose all the funcionality of the stock rom and you are left with a ****ty camera. So, AOSP is not a great option here. You sacrifice too many things, besides battery life.

Sadly, unless you buy a nexus phone or a oneplus, you'll be left with little to no development at all

I'm just glad I have a smartphone that performs well and has a nice screen. I'll be staying with it for a year more at least, then'll see.
[X 2014 Original Android Development] swipe1553:
Hey, srorry for asking but can someone please get me a download link for 4.1?

---------- Post added at 10:51 AM ---------- Previous post was at 10:49 AM ----------

Hey, sorry can someone get me a download link for the latest version? please? THANKS! xD
[X 2014 Original Android Development] LeoS2016:
I think v5.0 isn't too far. Let's wait, certainly it will be more stable than 4.1
[X 2014 Original Android Development] swipe1553:
But I thought he bricked his device and was dropping support? Well that's what I read on the thread..
[X 2014 Original Android Development] Vinnom:
He got a new device, ia working on a new version (and the last), because he going to sell and buy anothet one (here is more update things in the thread :))

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] swipe1553:
My man you have brought us such good news! xD
[X 2014 Original Android Development] Vinnom:
Now I got things more clearly.

For some reason (I don't have a clue why), I got my profile script to work partially. ( profile which provides more balance between performance and battery, guided by this).

My optimizations regarding the governor, cpu boost and IO scheduler, are not being applyed through init.d, so I have to run the script manually for it to work. I'll keep digging and trying to discover why this isn't work properly.

My latest profile can be found here.

To apply it, just open terminal emulator and type:

su -c "sh /sdcard/profile" <- supposing that you saved it in /sdcard/
[X 2014 Original Android Development] Tinchoska:
So kraatus is not developing this kernel anymore?

Enviado desde mi XT1097 mediante Tapatalk

---------- Post added at 09:54 PM ---------- Previous post was at 09:47 PM ----------

Another one, wich one is better? V3 or V4.1? I mean, stability, performance and battery

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] Vinnom:
According to himself, he is until next version, yet to be released.

About the versions, people had reported that v4.1 rebooted too much. Please, use v3, as kraatus already told us a lot here in the thread. I myself just asked for v4.1 for tests reasons.
[X 2014 Original Android Development] swipe1553:
No major difference between v4.1 and 3, personally on v4.1 and I'm perfectly happy with it xD well you can always give it a shot and see if you its unstable for you too.
[X 2014 Original Android Development] Tinchoska:
Last one, trickster is working on this kernel?

Enviado desde mi XT1097 mediante Tapatalk

---------- Post added at 07:14 AM ---------- Previous post was at 06:22 AM ----------

Hey guys, I've found this problem, if I have the phone plug into the charger and turn it off (while plug in) it will turn off, boot into the white screen with the battery (not the one With % the previous one) and stay there for around 10/15 secs and then boot up doing like a hot boot cause I have my Sim unlock with full signal.... Any idea?

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] lpyyss:
Can anyone help me?

When using both v4.1 and v3, deep sleep is in unused CPU states and battery life is bad. How can I enable the Deep Sleep CPU state?:confused:

====================

After little time using v4.1, the unused CPU states table is empty now and time of Deep Sleep state is counted, sorry for trouble!
[X 2014 Original Android Development] kraatus90:
install better battery stats and see what's using cpu most of the time, uninstall that app.

p.s.- after using the test build in last 1 week, today i had 2 reboots :p . so it seems like it will take some more time to fix it.

i tried everything i can to solve but as im still learning, it will take some time fix it. or if you guys want i can make a simple build with tcp/fiops/kcal/voltage/etc. basic stuff. just that it won't have any optimization at all. so battery life will be almost same as stock kernel.

also, when anyone faces a problem please include log when you report. otherwise i can't really fix anything if i don't even know what is causing the problem. always read the op ,make backup before trying new build. and please read/search the thread before asking anything.
[X 2014 Original Android Development] Vinnom:
I used v4.1 a lot here and it worked good. But I had a few random reboots, which annoyed me (but it was expected, as many users reported). So I went back to v3 and I'm using it now ^^

Enviado de meu XT1097 usando Tapatalk

---------- Post added at 01:32 PM ---------- Previous post was at 01:30 PM ----------

Take your time man, don't worry :)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] nithin1992:
A simple build as well please? Sometimes its good to go back close to stock+kcal on those important days!
[X 2014 Original Android Development] Tinchoska:
On 4.1 I've got a random reboot...how do I get a log? It was on the table screen off and suddenly it reboot and stayed on a bootloop

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] rufik:
[MENTION=4825505]kraatus90[/MENTION] I think basic version could be handy, undervolting should give us some extra life, and kcal support is really nice.

There are a few people that basic version can satisfy I think :)
[X 2014 Original Android Development] Tinchoska:
Tomorrow will flash v3 that it seems to be the stable one..

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] swipe1553:
Just wondering what's the Maximum undervolt you guys could get? I'm at -120
[X 2014 Original Android Development] kraatus90:
it's different for every chip. what works for you. may not work for others.
[X 2014 Original Android Development] kraatus90:
Update

Lite version is up

Download

look at post #2 for change-log/features. also for the people who were having wifi mac address problems before, try this version i have included a fix for that. next version will come when i fix that reboot issue. till then enjoy.
[X 2014 Original Android Development] Tinchoska:
So on this lite version we still have the reboot and bootloop issue, right

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] kraatus90:
nope, because there aren't any big changes. just some added stuff like kcal,voltage, tcp,vibration/sound control etc.
[X 2014 Original Android Development] albatros_1994:
Just...thank you for this great kernel :highfive:

i'm really happy to see some progress
[X 2014 Original Android Development] nithin1992:
Running this, everything good so far. Thanks
[X 2014 Original Android Development] distho:
Tried flashing Lite #1 in TWRP and get 'creating init.d' then fail.
[X 2014 Original Android Development] kraatus90:
can you share recovery log ?
[X 2014 Original Android Development] Tinchoska:
I've just flashed the lite version and. ... after boot up, at the moment the phone ask to unlock the sim card and it decide to reboot before screen turn off, i know you said it's not fix that reboot issue, but I report it anyway

Enviado desde mi SM-T700 mediante Tapatalk
[X 2014 Original Android Development] kraatus90:
that 1st reboot is normal. but it shouldn't happen again, if it does please give me last_ksmsg/dsmsg. ( you can use kernel adiutor for that ).
[X 2014 Original Android Development] distho:
http://pastebin.com/0pnetQkM
[X 2014 Original Android Development] kraatus90:
have you modified your ramdisk ? try instructions in op for flashing and keep zip in mobile this time.
[X 2014 Original Android Development] Tinchoska:
Sorry to bother you with this silly/noob question, I didn't get the what to do when updating.... I have to flash the super Su modify boot, booting up and then krait? Again sorry for this silly question

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] kraatus90:
1.install root-boot-6.0-xt1092.img from here

2.install latest supersu.zip.

3.install this krait.kernel zip.
[X 2014 Original Android Development] jpmerrill:
Couldn't find anything searching. Does this kernel support Quick Charge/TurboPower? I've found most custom kernels don't.
[X 2014 Original Android Development] kraatus90:
if the stock kernel supports it then this does too. you will need Quick Charge certified charger for that. i don't have it so no idea.
[X 2014 Original Android Development] SaberJ2X:
working fine here, almost 5 hours of SoT with the Lite MM image
[X 2014 Original Android Development] notanoob:
I am not sure if any one checked but after flashing this kernel i am unable to connect to WIFI any more . Had just reflash stock XT 1092 image and tried
[X 2014 Original Android Development] kraatus90:
just flash the zip and you are good to go. so far i haven't found any bugs yet. faux sound will be in next update.

no issues here, can you check md5 for the zip is it same as ( d5daabfd5e750d8dc09353ddb37b2af6 ) ? . also did you root before installing this zip ?
[X 2014 Original Android Development] Vinnom:
Hoho, thanks for that :) it was pretty stable back then, when I used it, don't know for now, though. But you right, I like how the current hotplug is working. Sick battery life I'm getting here.
[X 2014 Original Android Development] juangcardoso:
Installed and working perfectely! :D

Bye yellow screen u.u
[X 2014 Original Android Development] notanoob:
Reflashed seems the kernel keeps changing Mac address . please check .
[X 2014 Original Android Development] kraatus90:
i haven't changed anything regarding wifi and nobody else is having any problems it seems. can you post any logs?
[X 2014 Original Android Development] notanoob:
Sorry I don't know how to pull log during reboot , but I have attached screenshots of before and after restart Mac address .
[X 2014 Original Android Development] Vinnom:
Try to grab last_kmsg.

After booting, open you terminal emulator and do this:

su

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

Exit

:)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Membrillo007:
Waiting for fauxsound support, just an awesome kernel
[X 2014 Original Android Development] Junior Passos:
Great work [MENTION=4825505]kraatus90[/MENTION] but I found a bug.

Init.d support don't work and probably all others commands in krait-post_boot.sh file.

Please, verify this. Thanks.
[X 2014 Original Android Development] jejeh:
Mmm maybe thats the reason why Synapse isnt working for me init. d issues ?
[X 2014 Original Android Development] gabriel_hart:
Sorry if this has been talked about and I've missed it - is this kernel for Lollipop, Marshmallow, or both? Is it specific to any models.

FWIW, I'm on an unlocked XT1095 with M. Fully stock atm since I'm finding that I need root less and less.
[X 2014 Original Android Development] Vinnom:
I'm using it for 6.0. I'm pretty sure that is for MM, although idk if from LP the bootimage had too much changes.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] likurik:
Thanks for kernel.I will apreciate to keep it alive :)
[X 2014 Original Android Development] roddem:
hi, thanks for your work

can we control the vibration intensity thorough this?
[X 2014 Original Android Development] kraatus90:
i thought its pretty clear from the thread title :silly:. yes its for stock mm rom only. all models.:)

its not working i know, that's why i didn't include it on feature list. im working on it.;)

in next update. :o
[X 2014 Original Android Development] gabriel_hart:
WOW. Seriously can't believe I missed that. You didn't just add that to the title, did you? :eek:
[X 2014 Original Android Development] Sgace:
Hello,

Got the same problem with changing mac.

Xt1092 stock M 6.0. Will try to get logs today.

Cheers
[X 2014 Original Android Development] roddem:
awesomeeeeee.. cannot wait.
[X 2014 Original Android Development] Vinnom:
Idk if it is true, but it seems only XT 1092 are getting wifi MAC change ?

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Tinchoska:
Is it possible that on 4.1 I had better sot than on this lite version?

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] kraatus90:
yep. all previous versions had lots of under the hood changes resulting better battery life. this lite version has non of those, so battery life is same as stock. but it's more stable. :)
[X 2014 Original Android Development] Vinnom:
It works.
[X 2014 Original Android Development] nithin1992:
Can you add slide to sleep into the kernel?
[X 2014 Original Android Development] Flipz77:
Fantastic work as always, kraatus!

Unfortunately my MAC address still gets randomly changed on every reboot. I've found a workaround for my particular home network but it's still a buggy bug for this awesome kernel. How should I get a log?
[X 2014 Original Android Development] swipe1553:
Please share your settings?
[X 2014 Original Android Development] Tinchoska:
Leave it stock

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] SaberJ2X:
exactly, leave it stock... I didn't touch anything, except the screen colors
[X 2014 Original Android Development] mikivila:
Hi KRATUS, where is frandom support?

I use two script random.mod to urandom
[X 2014 Original Android Development] kraatus90:
will see.

there's no frandom in lite version. :)
[X 2014 Original Android Development] Danny17va:
Hi Kratus, which version do you recommend for a better battery life?

Thank you mal, great work.
[X 2014 Original Android Development] bornlivedie:
read the latest posts (v3)
[X 2014 Original Android Development] mikivila:
Thanks,works fine and smooth the lite kernel:good:
[X 2014 Original Android Development] Jostian:
so far the lite kernel is great! really smooth, anyone got some settings for kernel auditor/synapse for the best balance of battery and performance, so many settings I have no idea which GPU?i/o scheduler etc etc to choose, so many options...
[X 2014 Original Android Development] Duo8:
I use fiops for io sched, westwood for tcp congestion.

Cpu gov interactive, max freq lowered to 2ghz
[X 2014 Original Android Development] swipe1553:
Why are all my cores on at all the time? Is there any chance, Hotplugs can be brought in? Thanks..
[X 2014 Original Android Development] albatros_1994:
Hotplug is disabled during screen-on, turn on and off cores increase overhead

---------- Post added at 10:11 AM ---------- Previous post was at 10:01 AM ----------

I'm testing Fiops now to see if the phone is more smooth... I set touchboost to 250ms and LMK to" very aggressive"(kernel auditor),linear -25mv and 300mhz@675mv. Much better than stock, and i can still do 3-4h sot(battery have over 1 year).

My problem is that Chrome is very laggy sometimes... Low fps and lag when scrolling up and down. Someone have the same problem? (Testing "gpu rasterisation" in chrome:flags)
[X 2014 Original Android Development] Duo8:
While I won't touch more settings until I have a deep understanding of the system, I certainly will try undervolting.

Chrome only lags (more like bugging out) when returning after having it closed for a while. With both gpu rasterisation on or default I got no lag.

Any site to test on?
[X 2014 Original Android Development] albatros_1994:
i've noticed lags scrolling down facebook a lot.

now using adreno-tz gpu governor...seem a little better to me
[X 2014 Original Android Development] Duo8:
Don't use fb so I wouldn't know. Tried tumblr and it's still smooth.

Maybe we just have different standards on "smooth".
[X 2014 Original Android Development] albatros_1994:
Gpu governor set to andreno-tz and reduced touchboost to 200ms. Now is Faster and more battery friendly:p

After 1 day(7am - 12pm)it still have 48% battery left(~3h sot)

I share my config:

Abovehighspeeddelay 30000

Gohighspeedload 90

Io is busy 0

Touchboost 200ms

Adreno-tz

Fiops

Lmk very aggressive 16-256mb

Entropy 256 read 512 write

Westwood tcp

Undervolt 300mhz frequency, is used 40% of the time

Wrote while driving, excuse me for some errors
[X 2014 Original Android Development] Tinchoska:
Having stock configs I have almost the same.... How it ends the day?

Enviado desde mi XT1097 mediante Tapatalk

---------- Post added at 08:41 AM ---------- Previous post was at 08:35 AM ----------

Another one.... What you use to modify that? On trickster there's no such stuff and on kernel Adiutor I can't find that

Enviado desde mi XT1097 mediante Tapatalk
[X 2014 Original Android Development] albatros_1994:
À

Kernel auditor.

Cpu>cpu governor tunables:

-Abovehighspeeddelay 30000

-Gohighspeedload 90

-Io is busy 0

-minsampletime 40000

Cpu:

-Touchboost :200ms

-Multicore power saving :Aggressive

Gpu:

-Governor:Adreno-tz

I/o scheduler:

-Fiops

Low memory killer:

-very aggressive

Entropy:

-256 read 512 write

Misc control:

-Westwood tcp
[X 2014 Original Android Development] juangcardoso:
Which version of Krait Kernel are u using?
[X 2014 Original Android Development] albatros_1994:
Lite #1
[X 2014 Original Android Development] kraatus90:
Update 5

Update #5 is here :good:

Download

change-log on post #2

so i have been using this version since almost 10 days. no reboot or any problems so far. getting 5-5:20 hrs SOT with 2-3 days of standby time. as i said before this is the last version because im selling my phone. i have tried everything i can gaming /benchmarking/yt ,all type of use cases to test stability and i had 0 issues so far, so if someone still gets a reboot or something i can't do anything anymore. hopefully you guys will be happy with it. thanks for your support. :o

My kernel adiutor settings -

scaling_governor interactive

above_hispeed_delay "20000 1400000:40000 1800000:20000"

go_hispeed_load 95

hispeed_freq 1036800

io_is_busy 1

target_loads "85 1267200:90 1728000:99"

min_sample_time 80000

timer_rate 30000

max_freq_hysteresis 100000

timer_slack 30000

cpu boost interval -40ms

Sync threshold disabled

input interval 250ms

input boost frequency core 1 729mhz

input boost frequency core 2 729mhz

input boost frequency core 3 disabled

input boost frequency core 4 disabled

gpu max freq- 330mhz

everything else is default.
[X 2014 Original Android Development] likurik:
On the auditor kernel i dont see 0 mhz,input boost freq core 3 and 4 minimum it's 268
[X 2014 Original Android Development] kraatus90:
use disabled option lol. 0/disabe same stuff.:)
[X 2014 Original Android Development] likurik:
ok.thank you! for noobs,it's important this information.
[X 2014 Original Android Development] LeoS2016:
[MENTION=4825505]kraatus90[/MENTION] Upgrading from krait kernel lite, do I need to wipe data in addition to flash boot+supersu+krait v5. Could a cache wipe be enough?
[X 2014 Original Android Development] kraatus90:
if you are on lite version, just flash v5 and wipe cache. if and only if you get any troubles after that, clean flash as i said in 1st post.
[X 2014 Original Android Development] Iktor:
[MENTION=4825505]kraatus90[/MENTION] First of all, tank you very much for this kernel, it really does improve my battery life. Right now im using version 5 with your tweaks.

I would like to ask something, is there any way we can create profiles or something ?, for example, i like to play games like real racing 3, with this kernel (tweaked or not), I have some fps drop, I switched back to the stock kernel and the game works with no issue, no fps drops or lag. Its not a really big deal, I just play that game 15-20 min per day or less.

But I maybe with kernel auditor is possible to create a "gaming" profile and once you are done switch back to "battery saver" one...

has anyone tried something like this?

Once again, thank you for this kernel!.
[X 2014 Original Android Development] kraatus90:
try this modded version of KA

http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[X 2014 Original Android Development] mikivila:
Hi krattuss again, on v5 release the SYS/DEVICES/SYSTEM/CPU/MSCHED_POWER_SAVING for multicore powersave is missing,i don't see any where,

Last edit:this is my settings for KCAL_CONTROL and dissable FSYNC and TOUCH BOOST, i think best for me,no need up to boost to 1540mhz, between up to 119400 is better

sorry for my bad english
[X 2014 Original Android Development] Xtremelyevil:
I seem to be having a strange bug concerning YouTube, youtube videos seem to load way slower on v5 than they did on v3.

Still searching what the issue could be, since I do doubt it's kernel related.
[X 2014 Original Android Development] Iktor:
Thanks! I will take a look
[X 2014 Original Android Development] kraatus90:
mc powersaving is removed because it's useless and doesn't improve anything. because of poor implementation.
[X 2014 Original Android Development] mikivila:
Yes its true that. Anyway works perfectly,

The youtube work fine for me
[X 2014 Original Android Development] locusto03:
Sorry if dumb question. Is there any reason this kernel wouldn't work with modified boot.img and systemless root? I just saw one post about a bootloop. Thanks.
[X 2014 Original Android Development] kraatus90:
it will work.