yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] josip-k:
Yes
[Moto G Original Android Development] aayushgala:
HELP

How to revert back to stock kernel ?
[Moto G Original Android Development] remo0073:
Make a backup or your original kernel and modules folder.

You can use Aerocontrol app

https://play.google.com/store/apps/details?id=com.aero.control

If you didn't you can find them here as flashable zips

http://xdaforums.com/showthread.php?p=50355724

Sent from my Moto G
[Moto G Original Android Development] ==vj==:
Well i had tried the flashable Kernel and Modules by lost101, but they fail to recover WiFi from Aero kernel. Maybe that's because Aero kernel is additionally using "etc/firmware/wlan/prima" folder files which is not included in Flashable Modules by lost101
[Moto G Original Android Development] aayushgala:
SO is there any solution to it ?
[Moto G Original Android Development] aouerfelli:
Wipe /system and reflash ROM.
[Moto G Original Android Development] aayushgala:
No other solution ?
[Moto G Original Android Development] aouerfelli:
It won't wipe your data, just the ROM will be refreshed.
[Moto G Original Android Development] MetalPhoenix45:
Does this kernel work in GPE? 5.1?
[Moto G Original Android Development] abeloman:
No.
[Moto G Original Android Development] MetalPhoenix45:
I think [MENTION=4855459]Blechd0se[/MENTION] should add it.

Sent from my XT1032
[Moto G Original Android Development] lost101:
FYI with Android 4.4.4, GPE installed with f2fs userdata would boot with non-GPE Stock Kernel. I have not tested with GPE 5.0.1.
[Moto G Original Android Development] AgentChaos:
but GPE firmware does not use regular moto library/system files hence no HDR mode in GPE unlike the regular MOTO firmware
[Moto G Original Android Development] Dan_Jacques:
I've experienced a huge battery drain difference between stock kernel and AeroKernel. Is there some setup to do in tweak app (Aerocontrol/TricksterMod) to optimize this?
[Moto G Original Android Development] aouerfelli:
GPe 5.1 is really smooth, even on the ext4 partition. I can only imagine how much better it would be with this kernel. If anyone has time, could you compile the kernel for GPe 5.1 and share?
[Moto G Original Android Development] MetalPhoenix45:
I couldn't find any source code for GPE 5.1 or 5.0.1..... [emoji17]
[Moto G Original Android Development] lost101:
Have you actually looked in GPE's /system? HDR files are present. It's the Motorola services that are missing. It is my understanding that Motorola develop the GPE firmware initially, and then add their own software layer / services for the Stock version.

The non-GPE Stock Kernel boots the GPE ROM perfectly when the correct ramdisk is present, as pointed out by [MENTION=3693461]DeHuMaNiZeD[/MENTION] and demonstrated when running GPE 4.4.4 with the Stock Motorola 4.4.4 Kernel.
[Moto G Original Android Development] MetalPhoenix45:
I might try this method to use this kernel...
[Moto G Original Android Development] MetalPhoenix45:
I tried it and it booted up with Aero Kernel, but it keeps rebooting after optimizing apps, and it optimizes apps every time.
[Moto G Original Android Development] lost101:
I did link to a post explaining why.

http://xdaforums.com/showpost.php?p=59964788&postcount=1136​
[Moto G Original Android Development] MetalPhoenix45:
Can you add kexec for Stock GPE 5.1?
[Moto G Original Android Development] gmp009:
how to enable double tap to wake up on stock android 5.0.2 ?
[Moto G Original Android Development] Doubleyou:
I have microkat 4.4.4 on my moto g 2014, it's a stock based Rom. So far it is good and stable rom. THe only thing I am looking is to enable few things in the rom like d2w and fast charge script. I would like to know if I flash this kernel would I be able to enable these two features? Also does it supports Kexec hardboot? I wan't to install multiROM on my device...

Help and suggestions are appreciated.

Thanks in advance :) :D
[Moto G Original Android Development] abeloman:
This kernel is only for falcon (moto g 2013)... So don't try it on your device...
[Moto G Original Android Development] Doubleyou:
THank you for the info :)
[Moto G Original Android Development] syedtufailahmed:
Battery drain!!

I slept with 80% battery and when I woke up after 7hours I had only 40% left!

I continued using and when I had 15% left my phone switched off and shows 0%.

P.s. so this is how you optimise?
[Moto G Original Android Development] abeloman:
You shouldn't be so rude... Did you bother to read a few pages back?

Enviado desde mi Moto G mediante Tapatalk
[Moto G Original Android Development] syedtufailahmed:
[MENTION=4618329]abeloman[/MENTION] yeah I did! Pls be specific on what you are referring to.

---------- Post added at 07:08 AM ---------- Previous post was at 07:07 AM ----------

BTW I am not being rude here I am disappointed that its the only kernel for moto g stock rom and its in a pathetic state!
[Moto G Original Android Development] abeloman:
The last build (specifically for LP) has some battery drain... Dunno why, but blechdose didn't answer about this...

You could try Attacked kernel, discontinued, but the only functional for stock LP...

Enviado desde mi Moto G mediante Tapatalk
[Moto G Original Android Development] syedtufailahmed:
[MENTION=4618329]abeloman[/MENTION] yo man!! That's what I have been using. Such an amazing kernel.

P.s thanks for replying !
[Moto G Original Android Development] Blechd0se:
The reason i couldn't address this issue is because of life. I finished my bachelor thesis just recently and had almost no time to do anything.

Nevertheless i wanted to fix this damn bug, but i had problems back then. I started from a clean kernel from motos sources and tested

the device behavior regarding deepsleep. I could see the battery drain issue in this almost full stock self-compiled kernel. So i gave up after a

few days and concentrated on life.

I might have to revisit this issue. Maybe something went wrong on my end or maybe there was just one bad commit.

I thought moto might release a 5.1 update as soon as they can (with updated kernel sources) on which i would have started again.

But well, i was wrong.
[Moto G Original Android Development] sevenrock:
Hi,

maybe I am wrong, but does this look like the kernel sources you are waiting for?

https://github.com/MotorolaMobilityLLC/kernel-msm/commits/lollipop-5.1.1-release-peregrine
[Moto G Original Android Development] Blechd0se:
Unfortunately this seems to be the kernel source for the moto g 4g, which should have a 5.1 update if i am not mistaken.

The source i used is located here (works for

falcon), but it looks like there there were some new commits in april and july for this branch, which are not included in my build yet.

Thanks for the heads up, i will check this out.
[Moto G Original Android Development] pv979:
At this moment, there's also Moggy kernel that is compatible with stock LP
[Moto G Original Android Development] methuselah:
Well hey brother what's up !!! After long time good to see your posts. Its been really longtime :) .. Well there is another kernel thread out original dev section . well in the last page of it there is a post which mention that latest sources are posted by Motorola. Well you could have a look if you have time ... :good:
[Moto G Original Android Development] gwiqu:
If possible, could you please please help to fix the battery drain before leaving it and waiting for 5.1.1?

It was a mistake on my part to have flashed this kernel before reading about the problems, is there a method to get back to the stock kernel?

Can i just flash the kernel? the last time i tried with kitkat i had to flash a wifi module along with the stock kernel
[Moto G Original Android Development] remo0073:
You can find stock kernel and modules in this tread (flashiable zips)

http://xdaforums.com/showthread.php?t=2649763

If you flash kernel modules too, you should not have wi-fi problems.

I suggest to activate wi-fi before flash
[Moto G Original Android Development] dgm_mixtoon:
USB OTG Hack / charge?
[Moto G Original Android Development] navaneethkom:
https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-LPB23.13-56

falcon latest source...hope you will consider an update soon :)
[Moto G Original Android Development] Blechd0se:
Thank you, while this is not what i was looking for this here is;

https://github.com/MotorolaMobilityLLC/kernel-msm/commits/lollipop-5.1.1-release-falcon

Unfortunately i didn't get the OTA on my phone yet. Does anybody know if the OTA is already rolling (talking about motos version, not GPE)?

Or does someone have a stock-rom link for me?
[Moto G Original Android Development] abeloman:
Have a look at this.

http://xdaforums.com/showthread.php?p=62583291
[Moto G Original Android Development] rwxr-xr-xis:
Is just me or the four cores stay online all time
[Moto G Original Android Development] walidham:
there is any version for Moto G 2 gen (xt1068) ?
[Moto G Original Android Development] methuselah:
Well nope. This belongs to first gen kernel
[Moto G Original Android Development] core720:
sorry, work in xt1040?
[Moto G Original Android Development] adinkwok:
No, there is another dedicated section for that device (Moto G LTE/4G).
[Moto G Original Android Development] lcosta2:
this kernel is stock kitkat ?
[Moto G Original Android Development] dhananjay123:
The download is failing midway. I have tried more than 5 times but I still cannot downlaod the zip. Can someone attch the zip here for the lollipop version ?
[Moto G Original Android Development] methuselah:
Find the zip in the attachment

you are now good to go. I hope now this will download...
[Moto G Original Android Development] su_haris:
Hey guys..

I'm building a kernel for stock ROM ..

Any testers interested?
[Moto G Original Android Development] fzakout:
I had random reboots once a day.. Any ideas?
[Moto G Original Android Development] SickBeast:
Did you flash the stock modules from the stock kernel before you installed? Mine has been rock solid since Saturday.
[Moto G Original Android Development] fzakout:
I was stock already. Shall I flash stock modules even if I was stock ? Never flashed faux kernel or others.
[Moto G Original Android Development] SickBeast:
No, it sounds like something else then. What model number do you have? Did you change any of the settings?
[Moto G Original Android Development] fzakout:
Global GSM 8gb XT1032.

I ticked save my settings on reboot once but i noticed cpu freq stuck on 300Mhz so it was slow and then rebooted. I removed that tick so it went normal until these random reboots. Shall i flash stock module to ensure no more problem and reflash Aerokernel?
[Moto G Original Android Development] SickBeast:
Maybe uninstall the apps and flash the kernel again.
[Moto G Original Android Development] justjr:
Ok, these whole history of OC scaling miserable, is just bananas. It may not scale linearly, of course, but it should have a noticeable difference. Please point out one device or CPU that we NOW FOR SURE OC works, but does not scale at all.

I can only conclude that it looks like 1.2 GHz cap is somewhere in the hardware, or other place then the kernel, if so, we can change the kernel but the hardware frequency stays the same.
[Moto G Original Android Development] marjaN_:
have anyone tryed playing Real Racing 3 with AeroKernel? I found it a bit laggy with AeroKernel, not laggy with stock kernel.
[Moto G Original Android Development] denzel09:
Bud i founded it a bit laggy also on faux kernel, and honestly for now the only smoothness kernel that i founded for stock is the stock.

I feel and see that when scroll for first time the play store after turning on the phone there is something of "different". Then make the same with stock kernel.

Honestly i see "something" of better in stock. I don't know why. But there is something more optimized somewhere.

My 2 cents..
[Moto G Original Android Development] zazzy24:
I second that.. i had to revert to stock after a day on this kernel as there were lags on my keyboard.. also when i woke up today my screen took a lot of time to switch on and for about 10 mins our so the screen won't turn on till i pressed the power button 3-4 times..

My battery was somehow draining faster than stock and the smoothness of the stock was somehow missing in the long use. The only thing i found very impressive was more than 250 mb of ram was always free so ram management was good.. but i feel that 150-200 mb that i get in stock is ok..

Maybe its just me but i feel that a custom kernel is not of much use in this phone(for stock rom) unless it has the 2 way recording fix...
[Moto G Original Android Development] amazingone:
So oc is working?
[Moto G Original Android Development] zazzy24:
Noone is sure about that.. but lets not spam this thread with the debate about oc.. lets talk about oc on faux's thread or make a new thread for it.. this kernel does not have oc nor is there any plan to make it oc afaik..
[Moto G Original Android Development] denzel09:
I can simply reply to you quoting myself with a famous post by days:

At this point who know.. Some say yes, some say not, Faux says yes, some say not. Who know.

It may take another 2 years without moving from this point as far as I understand.
[Moto G Original Android Development] Faruko:
Guys i had problems with lag too, i dont know why but most of the times this kernel set max CPU at 300MHz after flashing it (Yesterday i moved from Faux to Aero like 5 times, and everytime Aero was installed it was maxed out at 300Mhz, of course i installed stock kernel before Aero)

You have to manually reset it for 1.2Ghz, and lags gone

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] Blechd0se:
I guess you are using my app? There is currently a bug which sets always the lowest frequency when set on boot is enabled.

I just fixed it and published here a debug build. It will hit play store very soon with a few other additions (such as color control and vibrator control).

Can you get me the content of /proc/last_kmsg by any chance (if you haven't already rebooted)?

Did you try lowering the hotplug parameters? Any game i tested runs smoothly as it should.

Lets all be friendly again. As long as stated otherwise overclock is no subject for me.
[Moto G Original Android Development] Faruko:
Just installed the new AeroControl, will give it a shot
[Moto G Original Android Development] Faruko:
Sorry Double Post.

the problem with OC is that its pretty random (in everything) we just dont know exactly how does this CPU behaves with OC, maybe the OC it is working but its negible because

A) its too low to make a difference (or the experience its already fast enough to actually notice the OC)

B) Bottleneck because of some other thing

C) considering A, and taking a leap of faith, a lot of PC CPUs get overclocks and the difference its pretty negligible depending the situation, hell my 3570k has almost 1Ghz of OC and the difference in normal windows its 0, and in games its not even that big (3-5 FPS AT MOST), the biggest thing its in unziping files and editing videos but then again its not even that big to be completely noticeable... but it hardly affects the CPU so why not lol

or

D) Maybe its just not working

So there are a lot of variables to consider when OCing the CPU, we cant rule out anything at this point, that we are getting a 30% extra performance in the CPU it doesnt deam that we should get a 30% better performance in real life, not even close
[Moto G Original Android Development] SickBeast:
I just wanted to chime in here to say that I am getting magnificent battery life with this kernel. The ops are to be commended.
[Moto G Original Android Development] adammasri:
Can someone upload boot.img for stock kernel? Its the same for all variant right? If so, please provide me stock boot.img thanks in advance! :)
[Moto G Original Android Development] Marco_nx:
First of all thanks to the dev for this great kernel.. But on last update my battery is draining fast on deep sleep, I mean 5% in 10 min in some cases.

I did a test: switched to 2g, Underclocked to 300MHz, set to minimun brightness, and starting browsing . The result was 1% left in 3 minutes, 2% in 6 min and so on...

Another issue, so much lags on Riptide GP 2
[Moto G Original Android Development] Nandeh:
That's not due to kernel, I'm almost sure, I'm using the kernel since first release and is the best kernel ever for Stock Moto G: smoother than Stock, and very good battery.

You must have any other issue in your phone: any app draining, the gps issue, or anything that doesn't let the CPU go into deep sleep.
[Moto G Original Android Development] Marco_nx:
My phone goes to deep sleep normally

Something weird is happening with my mobile signal
[Moto G Original Android Development] justjr:
I don't think nobody disagree with that. It also doesn't mean we should get 0% difference.

Check OP, 2nd post.
[Moto G Original Android Development] adammasri:
Yeah sure. Thanks.
[Moto G Original Android Development] SickBeast:
You know, my favorite feature lately on a kernel is the backlight dim feature. It is on the elemental x and the Franco kernel for the Nexus 7 2013. It dims the backlight when you are in a dark room. It would give us even more battery life and would make the phone easier to use.
[Moto G Original Android Development] Bleak3993:
but you can change the auto brightness values with gravity box, I have my auto brightness very optimized and perfect for every occasion, well, perfect for me.

talking about the screen, is it possible to have gamma control too? like on the Nexus 4?
[Moto G Original Android Development] suhridkhan:
Despite all those different custom ROMs, I believe Moto G is still the best with its stock ROM.

I am using this kernel with the stock based Kitkat+, and it has hugely improved the battery life. The performance is also great...

Thanks so much for this awesome kernel.
[Moto G Original Android Development] xheon:
Don't know what's all the hype about CM, I tested it and stock works so much better and bug free, it's weird how so many people are desperate for CM :/
[Moto G Original Android Development] zazzy24:
and now that we have xposed, we can get pretty much all the features of cm on our buttery smooth kk stock rom... i think moto guys have worked very hard to give a perfect mix of stock android with some amazing dual sim support features and i would not wanna lose that for anything!
[Moto G Original Android Development] MrKra:
Not exactly.

On phones there are numerous background processes which interact with the cpu.

That explains that benchmark results are bit different every time, but in average equal
[Moto G Original Android Development] obvious:
Hi, I'm afraid I don't know about gamma controls but could you share your gravitybox brightness settings? Thanks
[Moto G Original Android Development] akiaki1:
great for vibrating intensity, is there any way that you can add or does it support usb fast charging? thnx
[Moto G Original Android Development] TJKV:
It's great to see many of the Defy gang here, this is going to be a popular device too :)

I have upgraded from Defy handsets to a Nexus 5 but my parents will probably upgrade from their hand me down Defys to the Moto G when it is time. But no work for me here, I believe Slim is officially supported, hopefullly the xt1033 too soon :p

Edit: My 1500th Post :D
[Moto G Original Android Development] Bleak3993:
No problem man. you have to set the minimum brightness to 4 and the dim level to 8

lv brightness value

1 10

2 25

3 44

4 60

5 112

6 138

7 165

8 185

9 210

10 230
[Moto G Original Android Development] obvious:
Thanks :D ...and what are your "lux max" values. I changed mine so am not at default.
[Moto G Original Android Development] Bleak3993:
here you go

50

100

150

200

800

1300

2000

3000

4000

8000

Edit: Is there any way to make trimming work on data partition? Or there is no need to?
[Moto G Original Android Development] Blechd0se:
On stock /data uses a different filesystem. I know f2fs has trim support, but on the current stage it seems like f2fs doesn't

support the fstrim command, as far as i know its actually a exclusive ext-family feature. I guess the only thing i could do is

enabling the discard option via ramdisk (if not already enabled, have to check it).

Although we would benefit from it.

Just wanted to inform you guys that i pushed a new version of my aero control app with tons of updates for this

kernel. It features the vibration, color and hotplug control from a nice to use user interface :)

You can nearly tweak everything now!

If you want to, you can read the changelog over here and also rate my app if you enjoy it.

Download

Download Google Play
[Moto G Original Android Development] denzel09:
From mount command i see that /data is mounted with discard option but i can't use fstrim on that.
[Moto G Original Android Development] Bleak3993:
I've just installed your new app, I think the vibration control isn't working, is not saving the new value, just that, everything else is working perfect, thanks for your efforts
[Moto G Original Android Development] Blechd0se:
What value are you trying? Keep in mind that is should be between 10 and 31, where 31 is max.
[Moto G Original Android Development] Bleak3993:
I tried 14 and 16 before, but now it's working well, weird, never mind, thanks man!.
[Moto G Original Android Development] SickBeast:
Hey what does the low memory option do in the latest version of the Aero app?
[Moto G Original Android Development] denzel09:
Faux confirms that oc is working without problems:

https://plus.google.com/app/basic/s...7oa&sview=25&cid=5&soc-app=115&soc-platform=1

Third comment. So we have an answer at least.
[Moto G Original Android Development] SickBeast:
He has repeatedly said that however there have been no gains in benchmarks. Perhaps you can benchmark the 009 kernel to see if it works now.
[Moto G Original Android Development] q659503934:
Hi [MENTION=4855459]Blechd0se[/MENTION] ,Is this kernel available for the GPE ver?
[Moto G Original Android Development] Dizzyrul3z:
Still the same, placebo effect with OC :/
[Moto G Original Android Development] denzel09:
I don't know. Talk with faux on g+ The code is just there, no change from faux ;)
[Moto G Original Android Development] zazzy24:
Some one looking at the last few pages might think that they have come to the faux kernel oc our not page by mistake lol
[Moto G Original Android Development] ChavitoArg:
The same if you add this line to build.prop i guess

ro.config.low_ram=true

More info here:

https://source.android.com/devices/low-ram.html

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Original Android Development] djscopesofm:
I don't know about you guys, but my Quadrant score rises by more than 400 points when I set the CPU to 1.6GHz over 1.2GHz... It's not much on an increase but it's definitely not a placebo effect.

Edit:

In addition to my statement, please see the Antuntu comparison I just did to prove my point to myself.
[Moto G Original Android Development] SickBeast:
Note that your cpu scores in antutu were pretty much identical. Your ram score went up a bit. You should be seeing a 30 percent boost across the board if the overclock is working properly. Thanks for testing though.
[Moto G Original Android Development] djscopesofm:
It's an increase nonetheless. Don't forget that the RAM speed is tied to the CPU clock.
[Moto G Original Android Development] thebestiam:
Is it compatible with XT1031?
[Moto G Original Android Development] haasgo:
Now lets share color settings ;)

230

230

235

I like these settings more than stock, the yellow tint ia more or less gone but the blue is still dominant.
[Moto G Original Android Development] SickBeast:
I just turn the blue down to 235 and leave the others at default and it looks perfect to me.