yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] twist3d0n3:
Fauxclock.

Working fine on RR, can't say i've noticed any differences from the previous build in terms of smoothness.
[Moto G Android Development] Flashhhh:
Not a major update

It was just about intelliplug fixes and color control driver
[Moto G Android Development] casshern94:
haven't try any other rom...

will try one now...how bout bliss pop rom?
[Moto G Android Development] Flashhhh:
Well it's your personal choice

Bliss pop is good too
[Moto G Android Development] bhanu9999:
No it is also not working. Only philz or cwm works
[Moto G Android Development] Dr. Brawler:
I use 2.8.4. Works fine

---------- Post added at 06:44 PM ---------- Previous post was at 06:29 PM ----------

Also d2w n s2w work flawless on brokenOS. Maybe try it or one of aneriks slimLP builds. I'm not sure if anyone else is using slim base
[Moto G Android Development] alistassio:
Hit, I'm getting "error executing binary in zip..." when I try to flash.

Is there a fix?

Thank you :)
[Moto G Android Development] reversegear:
Didi you solve the not able to flash issue.

Me too have the same issue with R45 :)

Edit : i solved it by extracting the zImage and flashed using Hurtsky zip :)
[Moto G Android Development] dan.man:
No I still haven't got the issue resolved. But I think if I clean flash this ROM and then flash the kernel maybe it could work then, but I would have to take backup of all the data then and I am too lazy to do it. :)

EDIT: How do you extract the zlimage from current kernel? Can you please explain.
[Moto G Android Development] reversegear:
Take zImage from Optimus_R45.zip (use 7zip or RAR Extractor)

Put it in Hurtsky10.zip

Flash Modified Hurtsky10.zip you will get R45 working(check SS). This works bcoz both method is based on Anykernel script :) Hope this helps
[Moto G Android Development] dan.man:
Yes! Finally! Thank you very much!

BUT Synapse is still showing kernel version as the exodus one, while in the settings its being shown as Optimus. Confused.
[Moto G Android Development] n0ts0smart:
I've noticed that same thing about Synapse. It seems to always show whatever kernel I had when initially flashing the UKM.zip.

I just use Kernel adiutor anymore and it always seems to show the correct info.
[Moto G Android Development] dan.man:
FINALLY! Everything is working fine.

I just had to reflash UKM and then go to terminal and then manually execute the UKM script by entering this in terminal:

su

/system/etc/init.d/UKM﻿

Thats it!

Q1. Also can someone tell me how much d2tw's impact is on battery?

EDIT: Q2. Hey [MENTION=4176888]reversegear[/MENTION] by flashing the zimage by hurtsky kernel the scripts that are in optimus can't be executed, right?

(in patch and init.d folder) So should I copy them manually and execute them in terminal?
[Moto G Android Development] reversegear:
Yes it should work
[Moto G Android Development] hhp_211:
Glad you two got this working but weird.

I've had 0 issues flashing R45 and synapse shows proper and works fine
[Moto G Android Development] reversegear:
May be because i'm using GPE converted 1033xt
[Moto G Android Development] portagira:
What improvements gives this kernel?
[Moto G Android Development] twist3d0n3:
read the op...
[Moto G Android Development] miguelAr52:
all the improvements, but..

..read..!

---------- Post added at 10:32 AM ---------- Previous post was at 10:29 AM ----------

me too, 0 issues.

i always dirty flash crdroid+gapps+supersu+r45+ukm

---------- Post added at 10:34 AM ---------- Previous post was at 10:32 AM ----------

and sometimes it is necessary to restart the phone to get synapse working
[Moto G Android Development] love.thakur3:
bro m facing sm lag while playing world of tank blitz on medium graphics my config: Lionheart gov , simple ondemand gpu [MENTION=4053416]533mhz[/MENTION] , deadline I/O 1024kb read ahead

---------- Post added at 09:22 AM ---------- Previous post was at 09:16 AM ----------

jus use Flashify to install kernel......
[Moto G Android Development] Flashhhh:
Updated the kernel to R46!

I told that R45 was a final LP release but i am back on LP for a while so i thought of updating it.

Changelog

:

- Compiled with Uber 5.2.1 TC

- Merged CM updates

- Merged v3.4.110

- drivers: state_notifier: Use high priority workqueue

- msm8226.dtsi: add 100Mhz and 133Mhz bus freq

Download

: https://www.androidfilehost.com/?fid=24269982086994298
[Moto G Android Development] n0ts0smart:
Best one yet. Tuned really well out the box. Flash it and forget it. Only thing I changed was read ahead speed and the io scheduler. Great work. Thanks for the update..
[Moto G Android Development] Sportfreunde:
So I flashed the one in the 2nd OP post. I was just wondering that if I wanna tweak this for better battery or less lag (the max is set at 787), how should I go about changing it? Do I need to flash that synapse/script zip with busybox pre-installed THEN install synapse from the playstore and then modify it?

I'm assuming if I just use Kernel Adiutor like I usually do then it won't work.
[Moto G Android Development] n0ts0smart:
Kernel adiutor will work just fine. But if you want to use Synapse just flash the zip and install the Synapse app from the store.
[Moto G Android Development] Flashhhh:
Updated the kernel to R47!

This is the first marshmallow release. Check OP for features

The only thing changed is everything!

Download: https://basketbuild.com/filedl/devs?dev=Flashhhh&dl=Flashhhh/Optimus-M-R47.zip
[Moto G Android Development] dark_knight_95:
I am using the cm 10112015 build I flashed the kernel and was stuck in a bootloop had to reflash the ROM any guess y? Anyone else had this problem?
[Moto G Android Development] Flashhhh:
I suggest you to update to latest build
[Moto G Android Development] koshikas:
[MENTION=5857055]Flashhhh[/MENTION] i'm guessing the latest build (R47) is intended only for MM ROMs and not LP.
[Moto G Android Development] Flashhhh:
Yes it's for MM only. I updated the OP about this
[Moto G Android Development] fire7777777:
work d2wt for mm??
[Moto G Android Development] Flashhhh:
Dt2w will come in upcoming builds. Btw i am facing some strange issues with kernel. Can any1 report back their experience?
[Moto G Android Development] bhanu9999:
Its working fine for me. What issues are u talking about??
[Moto G Android Development] andogeek10:
[MENTION=5857055]Flashhhh[/MENTION], do you have a XT1033? I noticed that you have a XT1032 baseband and are running CM13 with single sim. Also would it be possible for you to include the commit for detecting converted XT1033 and setting it as a GPE device?
[Moto G Android Development] kedar512:
Yeah. There is a lag on official cm12.1 snapshot.
[Moto G Android Development] Flashhhh:
I am talking abt cm13 version

On cm13?

I have a xt1033. It's just that i have inserted only one sim
[Moto G Android Development] kedar512:
But there is a lag that's what I experienced?
[Moto G Android Development] Aguys:
Yeah bro little lag on your CM13...:)
[Moto G Android Development] Flashhhh:
Ok. I'll try to fix it in next release.
[Moto G Android Development] bhanu9999:
Yeah little lag is there. And yes i am on cm13. But kernel is working great ...:D
[Moto G Android Development] srpengg:
phone got stuck at bootlogo with continuous blinking of logo....i was using cyanpop rom 19/11 build....havent tried your cm13 latest build...but both are cm13 based....
[Moto G Android Development] fire7777777:
with that kernel i can use normallly cm13 , but for now i dont test inside because i wait a d2tw, for me is a feature very important :)
[Moto G Android Development] dhruvpaul:
Gaming slows down whenever I use this kernel on any rom..even though everything is set to performance mode...any help?

---------- Post added at 12:26 PM ---------- Previous post was at 12:22 PM ----------

Can I use this version on cm 12.1 official 21st Nov build?
[Moto G Android Development] Flashhhh:
Updated the kernel to R48!

All lag issues should be fixed now.

Changelog

:

- Now using custom powerhal by CM so we have mpdecision and no intelliplug

- Added dt2w/s2w (credits to hurtsky)

- Power Efficient WQ

- LMK & sched tweaks

- Removed intellithermal

Download

: https://www.androidfilehost.com/?fid=24269982087002098
[Moto G Android Development] BhavikRB:
Good to see , you included custom powerhal , it's very efficient &lag free & no fq sticking bug.
[Moto G Android Development] dhruvpaul:
Will work with cm12.1??
[Moto G Android Development] Flashhhh:
Pls read OP. I already stated that versions starting from R47 are for marshmallow only
[Moto G Android Development] sfoot13:
[MENTION=5857055]Flashhhh[/MENTION] Thank you for the update! :o

I have a question... will you add again intelliplug in future releases? :)
[Moto G Android Development] phpbb3:
Does r46 still work with the current 12.1 nightlies?
[Moto G Android Development] ysop:
I guess maybe...I can confirm still work with AICP 11/22 build.
[Moto G Android Development] Flashhhh:
Yeah i am planning to add some other things too. But i am busy currently, so can't add it right now
[Moto G Android Development] Tunghur:
Anyone have the latest version of lollipop? Thanks in advance
[Moto G Android Development] BhavikRB:
Yes ,i flashed successfully in RR lp build. (M version)
[Moto G Android Development] Tunghur:
That's means the version R48 works fine in lollipop? Because i lost the zip of the last version compatible with lp [emoji22]
[Moto G Android Development] ysop:
I can confirm R48 works fine on AICP 11/28 build,but I don't know if it works well on other lp rom.;)
[Moto G Android Development] Dr. Brawler:
https://www.androidfilehost.com/?fid=24269982086994298
[Moto G Android Development] Tunghur:
[emoji106] thank you!
[Moto G Android Development] Flashhhh:
Updated the kernel to R49!

Use TWRP 2.8.7.0 recovery only

Changelog

:

- Rebased to official cm-13.0 sources

- Updated Uber 5.2 TC (Dec 1)

- O3 and Graphite flags plus additional optimization flags

- Disable debugging for better performance

Download

: https://www.androidfilehost.com/?fid=24269982087009275
[Moto G Android Development] jmonster141:
I can confirm that flashing on official CM13 nightlies with Philz touch recovery works.

Your mileage may vary though [emoji14]
[Moto G Android Development] Flashhhh:
Ok. I stated that bcoz kernel failed to flash with twrp 2.8.6.0
[Moto G Android Development] .michal:
Hi! I have problem with dt2w. I attached last_kmsg. It contain any tips to avoid kernel panics?

https://drive.google.com/file/d/0B7rm-WFsiIylVlY0S2g4dkZBTUU/view?usp=docslist_api

Wysłane z mojego Moto G przy użyciu Tapatalka
[Moto G Android Development] S0bes:
[MENTION=5857055]Flashhhh[/MENTION] could you give a link to the R46 version?

I tried to find it but with no luck

upd:

yep, I should did the thread search first

found http://xdaforums.com/moto-g/development/kernel-optimus-kernel-t3024697/post63788257#post63788257
[Moto G Android Development] Flashhhh:
https://www.androidfilehost.com/?fid=24269982086994298

It isn't up to date with CM changes. If any1 wants a final update of LP kernel, I'll try to make it
[Moto G Android Development] niteen1593:
yes [MENTION=5857055]Flashhhh[/MENTION] it would be great to have it
[Moto G Android Development] satanas17:
[MENTION=5857055]Flashhhh[/MENTION] : Is it possible to activate a boot sound with your kernel ?

Thx in advance ;)
[Moto G Android Development] :
Mate the Gaming Lag issue is still there. On R49 + CM 13 3rd December' nightly even when everything is set to performance oriented... Hope this gets fixed soon. And thank you for your great work. :)
[Moto G Android Development] Flashhhh:
Which game? I didn't face any lag while gaming. Have u tried that game with default CM kernel?
[Moto G Android Development] n0ts0smart:
A final LP update would be great if you find the time [MENTION=5857055]Flashhhh[/MENTION] . On LP till CDMA gets sorted so it might be a while. Thanks. Is there any possible chance to add yankactive CPU governor? If not no biggie.
[Moto G Android Development] Tunghur:
When i try to enable dt2w,this happend (CM13 last nightly):
[Moto G Android Development] :
I tried with CM kernel and no problems at all... I'm facing it while playing Asphalt 8 even on low settings, real boxing , fun run 2 and WWE 2K... This didn't happen before...
[Moto G Android Development] EliTSamsunG:
Check the gpu governor on Kernel Adiutor

Look at msm-adreno-tz governor and the frequency.... its stuck at 100 mhz

Change the governor to simple_ondemand and it will be fine
[Moto G Android Development] granazis:
[MENTION=5857055]Flashhhh[/MENTION], hi friend first of all tnx for your excellent work on 5.1.1 and now on MM (6).

A question only, is there any plan to have on MM the OTG usb feature on a future build?

Thanks in advanced

EDIT: Sorry Shivam it was a wrong post by me, the only plus needed on M is just only stick mount app.

[MENTION=5857055]Flashhhh[/MENTION], tnx again for your work.
[Moto G Android Development] Flashhhh:
So here's an updated Lollipop kernel. The name of kernel is OptimusR46NEW.zip. So better check before downloading. I'll also link that in OP as final LP release.

Enjoy!

Changelog

:

- Merged latest CM changes

- Updated UBER toolchain

- Reverted some changes that caused issues.

Download

: https://www.androidfilehost.com/?fid=24269982087016666
[Moto G Android Development] bloodhound42:
can i stay with AICP default kernel or should i flash it for those extra features ?
[Moto G Android Development] Flashhhh:
It's upto you. If u want to flash it, then flash it
[Moto G Android Development] Flashhhh:
Update the kernel to R50!

This release comes with many additions and changes. Redid from scratch. This is for marshmallow only. Don't try to flash it on lollipop. No more lollipop builds now.Enjoy!

Changelog

:

- Built with new Uber 5.3 toolchain

- Merged CM changes

- Add state notifier driver

- Add Bricked hotplug driver

- New hotplug thread infrastructure(credits to hurtsky)

- CAF cpu boost changes

- Add wakeup boost and hotplug boost

- Sched and ARM updates

- Many more changes(check github)

Download

: https://www.androidfilehost.com/?fid=24269982087022033
[Moto G Android Development] espaciox99:
Differences 5.1 tc and 5.3?

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] Flashhhh:
5.1 is old now. The branch has been updated to 5.3.
[Moto G Android Development] Baskhara:
Hi,

Do you guys feel that the UI is lagging with msm-adreno-tz? And is it okay for the battery if I set the GPU Governor to performance by default?
[Moto G Android Development] Flashhhh:
Provide more info like which rom are u running? Which cpu governor are u using. Try to disable adreno idler and report. I've been using the pretuned values and it's running fine
[Moto G Android Development] Baskhara:
I'm running CM13 build 12/19, CPU governor is interactive. Looks like rebooting the phone fix this, and I guess the lag happen when I change the GPU gov/freq to make a touch more responsive when launching a game (some delayed touch after game launched), I might be did something wrong when changing the config. For now after reboot the phone seem to run smoother.
[Moto G Android Development] Flashhhh:
Yeah that's bcoz of memory consumption. Rebooting everyday is recommended
[Moto G Android Development] 5559anand:
Can I flash this kernel on Broken Os marshmallow?
[Moto G Android Development] thuva06:
The lag on 12/19 build was faced by many including me even on stock kernel. It's completely gone in 12/21 build though
[Moto G Android Development] love.thakur3:
CPU OVERCLOCKED @ 1.6GHz

RAM running @ 566MHz if CPU is @ 1.5+GHz

in KAMINARI KERNEL

add smthing like this in your kernel...
[Moto G Android Development] padhu1989:
How to enable d2w using kernel Auditor? I'm using official cm13 rom

Edit: Got it..
[Moto G Android Development] Flashhhh:
How many times do i have to tell people that overclocking doesn't work on moto msm8226 devices. That's a placebo effect
[Moto G Android Development] Flashhhh:
Updated the kernel to R51!

In this version, i have made a lot of changes in init script in zip. So pls make sure u are on default rom's kernel. Pls dirty flash rom+kernel to avoid any issues.

Changelog

:

- Merged CM changes

- Added msm_hotplug driver(default) and removed bricked hotplug driver

- Added Impulse governor(fine tuned and set to default)

- state notifier driver updates

- Enabled adaptive LMK

- Virtual Memory tweaks

Download

: https://www.androidfilehost.com/?fid=24341993505161768
[Moto G Android Development] Flashhhh:
Updated the kernel to R52!

Not many things added. Just merged doze commits. Enjoy!

Download

: https://www.androidfilehost.com/?fid=24345424848487269
[Moto G Android Development] ashjas:
Does doze work on motog 2013? As i know, it doesnt have significant motion sensor, which is required for doze to work?

Thanks.
[Moto G Android Development] Flashhhh:
CM just added doze support for moto msm8226 devices. So make sure you are on latest nightly
[Moto G Android Development] sharath_babu:
But doze doesn't support falcon hardware(motion sensor) right? Correct me if I'm wrong

Ty
[Moto G Android Development] Kayant:
It does now because we are using open source drivers ;)

https://github.com/CyanogenMod/andr...mmit/20aa1a0329d91597c5f07e96adc62619e8634cce

Also [MENTION=5857055]Flashhhh[/MENTION]

We should be using zimage-dtb is there is no dtb file present - https://github.com/CyanogenMod/andr...mmit/21b3b05e828cdb342bce0e35480fe35df14b138d

You can edit anykernel.sh to use zimage-dtb with this change - http://imgur.com/VN8pO04
[Moto G Android Development] Flashhhh:
I just rename zImage-dtb to zImage and it works fine. Did u try that?
[Moto G Android Development] ysop:
he says android doze,you says motodoze,it's not same
[Moto G Android Development] Kayant:
Haha forgot you could do that loool.

I just thought you were using just zimage and wanted to give you a heads up.
[Moto G Android Development] zibi305:
I cant flash r52. I get error executing binaries or something like that.
[Moto G Android Development] Edgarngg:
Same here, also with r50, I'm on cyanpop with monster kernel. Should I flash the rom again and flashhh's on top?
[Moto G Android Development] Flashhhh:
Use twrp 2.8.7.0 by h2o64 only. Using an old version will result in that error
[Moto G Android Development] zibi305:
Ok. I used 2.8.6.0
[Moto G Android Development] vik@ram:
OTG - CM13

OTG is not working. I am on CM13+Optimus kernel.. Does any one knows how to fix it?
[Moto G Android Development] the_poolee:
Does anybody with this kernel have trouble with OTG Drives? I am on stock cm13 kernel and all file managers (stock cm file manager, es, solid explorer) simply fail to detect these drives while the MM stock explorer shows up in notification on plugging in drive. I also wanted to know about exFAT and NTFS file system support.... Advanced thanks...
[Moto G Android Development] Flashhhh:
OTG is working perfectly fine here
[Moto G Android Development] ashjas:
[MENTION=5857055]Flashhhh[/MENTION]

Hello, dev, i am on latest nightly, on MotoG.

Though the default CM kernel is working fine, but it has some lags while multitasking b/w apps.

The problem is MotoG is used by my father, so i cant do a lot of experiments with it, :) [i am software dev myself]

The reason for low multitasking performance in my knowledge is the low free mem on this device, if i look at the actual

mem free after taking into account the cached process aswell, many times i find it to be below 80 MB.

As i looked at the features of this Kernel, it has some LMK tweaks, so would this be benefitial to resolve this multitasking performance?

And if along with it a little overclocking of cpu would help?

Whats your experience with MotoG, is the app switching time excellent in your case?

I have tried to optimize with greenify aswell for apps that dont need to run at all times.

And last but not the least and probably most importantly, is this kernel stable enough? as CM kernel has never random rebooted for

a while now.

Please suggest .

Thanks for supporting MotoG!

Cheers.
[Moto G Android Development] Flashhhh:
Updated the kernel to R53!

Changelog

:

- Merged CM changes

- state_notifier: synced with latest changes

- Disabled CPU Boost

- dt2w/s2w: implement STATE_PREVENT_SLEEP(credits to hurtsky)

- arm/dts: msm8226: Enable bam_dmux fast shutdown

- random: tweak entropy levels

- Fix CPU hotplug callback registration

- msm8226.dtsi: add 100Mhz and 133Mhz bus freq

Download

: https://www.androidfilehost.com/?fid=24352994023706259
[Moto G Android Development] insigma28:
Thank you for the update man, awesome kernel.

Sent from my falcon
[Moto G Android Development] rwxr-xr-xis:
Try to pm him
[Moto G Android Development] DoctorStrange96:
Hey [MENTION=5857055]Flashhhh[/MENTION]

Why was cpu-boost disabled? Causing lags?
[Moto G Android Development] Flashhhh:
Sorry for late reply. Yeah i do have some LMK tweaks. But it's not gonna magically improve anything. So better try out. Btw there's not been a single random reboot. So it's stable enough

Cpu boost was causing unnecessary spikes even during suspend. So i disabled it
[Moto G Android Development] DoctorStrange96:
I'm using release 53 + cyanpop 6.0.1 and i didn't feel that the phone was more laggy without cpu-boost. So i guess there's no real need for it, interactive does fine on its own
[Moto G Android Development] sajty:
Anyone tried R53 with CyanPop 4.8? My phone is not booting. With HurtSky M-7 is booting fine.
[Moto G Android Development] DarkVanguard:
I just updated to 4.8 and flashed R53. Everything is working fine here.
[Moto G Android Development] ale467:
Does touch screen go always crazy using D2TW with last kernel?
[Moto G Android Development] Flashhhh:
I've been using dt2w for a while. No issues here. What issues are u facing?
[Moto G Android Development] ale467:
When I use DT2W, touch screen is less responsive for a while..just 4-5 seconds, so I have to wait to unlock the phone
[Moto G Android Development] hhp_211:
Dt2w working great me too, must be a theme or ROM issue from all I've seen and experienced in past.

What are you using and what settings in kernel?
[Moto G Android Development] ale467:
Stock settings, stock theme. DT2W fullscreen enabled

EDIT: Hurtsky has solved this issue with his latest simple kernel today, you can have a look to that :)
[Moto G Android Development] Flashhhh:
Updated the kernel to R54!

Changelog

:

- Updated UBER TC 5.3 to 2016 snapshot

- Merged CM changes(200+ commits)

- Rework dt2w to work with lcd notify(credits to hurtsky)

- fsync: correct permissions and cleanup

- sched: add controls for sched features

- char: frandom v1.1

- ARM: msm8226: adjust bark/pet time

- fs/namei.c: fix potential memory leak in path_lookupat

- ARM: smp: Wait just 1 second for other CPU to halt

- msm: pm: Fix cpu collapse timeout

- arm: irq: Tone down kernel logging

- random: Account for entropy loss due to overwrites

- many more changes (check github)

Download

: https://www.androidfilehost.com/?fid=24369303960683211

Edit: Don't use this version now. I need to rework the source to track the reboot issue. Use R53 for now!
[Moto G Android Development] espaciox99:
Just flash the latest update kernel and every time I try to change something in the CPU section with "kernel Adiutor" causes bootloop

EDIT: Now causes bootloop every 5 minutes :( ( last cm nighly)
[Moto G Android Development] Flashhhh:
Uninstall kernel adiutor, dirty flash rom+kernel and then install kernel adiutor and try. I am using the kernel with cm nightly dated 11th Jan and no issues for me
[Moto G Android Development] espaciox99:
Still the same :(

EDIT: im in 12/01 cm
[Moto G Android Development] DoctorStrange96:
Hey [MENTION=5857055]Flashhhh[/MENTION], i wanna merge hurtsky's dt2w fixes, but i see that he switched dt2w to the lcd notifier. Will this cause conflicts with the state notifier already present in both our (yours and mine) kernels?
[Moto G Android Development] Flashhhh:
Lcd notify isn't causing any conflicts with state notifier. Working fine here
[Moto G Android Development] love.thakur3:
R54 causes bootloop... every 2-3min

comment: any soln for this...?