yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] maurit43:
Hello ! i want to know some tweaks with the best performance (battery/using), can anybody share your tweaks ? the last question, what is dt2w or s2w ?

Thanks you !

Note: kingkaminari , I´m thinking it would a goog idea if you write the best (for you or for other) tweaks in Op. :)
[Moto G Android Development] keepercito:
Still happend to me on v1.05b2 with intellidemand :(
[Moto G Android Development] DoctorStrange96:
DT2W = DoubleTap2Wake - Self-explanatory. Double-tap your screen to wake your phone up. An alternative to having to press the power button.

S2W = Sweep2Wake - Almost the same thing as the above. The difference is that you do a horizontal swipe on the screen, instead of double-tapping it.

Regarding the tweaks, thats very relative
[Moto G Android Development] DoctorStrange96:
Well mate... I really have no clue why this is happening
[Moto G Android Development] DoctorStrange96:
Deleted
[Moto G Android Development] DoctorStrange96:
New 1.05 build in the works. This time it's gonna be the stable one. And also, there will be an experimental build for titan
[Moto G Android Development] DoctorStrange96:
And also, I'll test this kernel with stock 5.0.2. Maybe it works :p
[Moto G Android Development] keepercito:
So... I guess my device, on something, has a/ is the problem... I reported this because if any like me don't use the overclocking, but you have done a great work :)
[Moto G Android Development] DoctorStrange96:
1.05 stable version up. Enjoy.

Download

You know where to find the changelog.
[Moto G Android Development] keepercito:
[MENTION=5736790]kingkaminari[/MENTION] i have solved my problem... for some reason the problem was synapse, i uninstalled it and i use these days kernel auditor and i set the freq i want and the freq didn't change, i'll try if intelliplug's max freq when screen off changes the cpu max freq which that is other problem that i experienced
[Moto G Android Development] madman:
GPU is idling at 19MHz. Is this expected ? I think this is causing lags (on my phone atleast)..

Can someone confirm this on their device ?
[Moto G Android Development] DoctorStrange96:
This is normal. Its due to a commit I cherry-picked. It changes how the gpu frequency is reported. About lag, I'm not having any

Edit: this is for [MENTION=3989841]madman[/MENTION]
[Moto G Android Development] madman:
Thanks. I tweaked somethings and I'm back to normal speeds with no lag :D
[Moto G Android Development] maurit43:
Hello, i wanted to know something, can we make cpu oc or not ? because in other thread ( optimus kernel) some body ask if we can make oc in our moto g cpu and other user said " No kernel for Moto G will have overclock, as the CPU cores are hard capped at 1.2 GHz. " ... so ?

Can we or not ?

thanks so much !
[Moto G Android Development] DoctorStrange96:
Guys, I bring you some bad news. Unfortunately ubuntu gnome does no longer work with my prehistorical nvidia IGP - so I'll have to use something else. I'll migrate to kubuntu - since I prefer kde over unity
[Moto G Android Development] floid180:
is it necessary to move something with kernel auditor, or is enougth with flash?
[Moto G Android Development] DoctorStrange96:
Maybe you can. Test it out.
[Moto G Android Development] DoctorStrange96:
Maybe you should tweak a few stuff.
[Moto G Android Development] floid180:
like what? i dont like to move stuffs on kernel´s, but if you tell me which ones, ill do it

Another thing i found, i little bug, sometimes when i try to unlock the phone, i have to swipe up like 3 or 4 times to unlock it, i dont know if you understend me, i hope you do and can help me.

---------- Post added at 03:35 AM ---------- Previous post was at 03:24 AM ----------

happend to me several times, did you find a solution?
[Moto G Android Development] kedar512:
[MENTION=5736790]kingkaminari[/MENTION] proximity sensor is still on even though I disabled dt2w in kernel adiutor.

What's the reason?

Btw great kernel and I am just loving it?
[Moto G Android Development] Elessar76:
Not yet
[Moto G Android Development] DoctorStrange96:
Cant really tell
[Moto G Android Development] kedar512:
Now it is off after some time.

I also don't know.
[Moto G Android Development] Elessar76:
After a few days i think that 1.05 Beta2 works a little bit smoother for me than final release with same settings.
[Moto G Android Development] floid180:
i think i setup me kernel bad, because i dont feel it smoother as everyone in this post, please help me!
[Moto G Android Development] Elessar76:
Post your kernel settings.
[Moto G Android Development] Dan_Jacques:
[MENTION=5736790]kingkaminari[/MENTION] the download link in the OP is directing to 1.05 beta 2 version, not the 1.05 final :D

Downloading.
[Moto G Android Development] DoctorStrange96:
Forgot to update it. Sorry lol
[Moto G Android Development] Elessar76:
[MENTION=4336485]alezardstar[/MENTION] my settings are the recommended few pages above: http://xdaforums.com/showpost.php?p=63154686&postcount=209 changing gpu governor to simple-ondemand (i feel it works better for my phone usage), not changed cpu hotplug because i don't understant very well the differences :p.
[Moto G Android Development] eemgee:
I might be looking a noob here, but is there anything in this kernel that would stop or delay push notifications?
[Moto G Android Development] Dan_Jacques:
Geforce 6100 IGP? (nForce 430)
[Moto G Android Development] DoctorStrange96:
No. Its a GF7100 / nF 630i
[Moto G Android Development] Dan_Jacques:
Yep, there is not so much resources about it, but I found it: http://ubuntuforums.org/showthread.php?t=2220245

And this legacy package (for debian): https://packages.debian.org/sid/x11/xserver-xorg-video-nvidia-legacy-304xx
[Moto G Android Development] Elessar76:
Detected same issue last 3 days but maybe is rom related, i'm testing [MENTION=1006674]lost101[/MENTION] 5.1 optimized versions.
[Moto G Android Development] eemgee:
Im on the same Rom :good:
[Moto G Android Development] santos_10:
Doesn't flash in my moto G.

Im in 5.1 Stock and don't flash the kernel. :(

Any solution?
[Moto G Android Development] abeloman:
Which recovery are you using?
[Moto G Android Development] santos_10:
[MENTION=4618329]abeloman[/MENTION]

Im using TWRP 2.8.6.0
[Moto G Android Development] abeloman:
Try to update your recovery from here and report back

http://xdaforums.com/showthread.php?t=2980621
[Moto G Android Development] DoctorStrange96:
If the kernel isnt installing for you guys.

Download the zip from your computer, then open it, then open anykernel.sh and change do.devicecheck from 1 to 0.

Save your changes and try again.
[Moto G Android Development] celikbasm:
TWRP users can also disable zip file signature verification before flashing.

I also having problem as stop or delay push notifications for inbox app after flashed 1.05 stable. i couldn't find how to fix it yet. sometimes clearing data for inbox app helps, but temporary solution.

Edit: i flashed beta kernel and now inbox pushes working fine.
[Moto G Android Development] Elessar76:
Are you using full stock rom? Or maybe the optimized version?
[Moto G Android Development] celikbasm:
using 5.1 untouched with 41.18 bootloader, flashed with twrp.
[Moto G Android Development] Elessar76:
Three persons with notification problems, and all of three with a rom flashed using twrp. Can't be a coincidence. There is something wrong with combination of zipped roms and kernel because with firmware flashed via fastboot all works fine.
[Moto G Android Development] celikbasm:
ı don't expect a problem with my rom, because i'm using "untouched" version. I don't know how to obtain information for debugging, i'll be appreciated if anyone suggests me how to do it.

Edit: I've solved the problem by removing play permissions xposed module. If you're using any xposed module, you'd better check modules for interferences.
[Moto G Android Development] SH1M4BD3:
awesome maan its really what i need thanks ? so much
[Moto G Android Development] DoctorStrange96:
Thanks to all of you who enjoyed (and still enjoy) my work. Sorry for the lack of updates, but college is giving me a really hard time. The semester will end next month, and there's exam after exam coming... Wish me luck.

The next version will remove some features (I think that the kernel has too much of them now)
[Moto G Android Development] kalafior12:
Good luck !

Wysłane z mojego XT1032 przy użyciu Tapatalka
[Moto G Android Development] koshikas:
good luck for you exams, get those suckers out of your way once and for all.
[Moto G Android Development] DoctorStrange96:
One more thing. Can anybody help me out here? Looks like Nvidia (and maybe Canonical too) has dead-ended me with broken drivers. Any Gnome 3.x desktop (including unity) crashes right after i log in. Kde works fine, but its hard to get used to. Xfce works fine too.

So, should i stick with ubuntu (in this case, i'll install xubuntu) or move to a different distro (fedora, arch, opensuse, maybe even debian)? (Provided the driver is only broken in debian/ubuntu)

Edit: Nevermind. Linux Mint did the trick.
[Moto G Android Development] miguelrivas:
Downloand link for new build? Not yet? Thanks dude, for everything.
[Moto G Android Development] DoctorStrange96:
There you go.

https://www.androidfilehost.com/?fid=24269982086989677
[Moto G Android Development] DoctorStrange96:
1.06 is up. Not much has changed with this one.

Download

You know where to find the changelog.
[Moto G Android Development] DoctorStrange96:
I just did some testing with 5.0.2. The kernel boots fine, but the camera's broken. I guess either the camera HAL or the drivers have changed in 5.1. And there's nothing I can do to fix that. So this kernel will stay restricted to 5.1, be it stock, be it GPE.
[Moto G Android Development] DoctorStrange96:
Version 1.06r1 is up. The sole change is: Now you can run the gpe rom without having to format /data to ext4. And if you already use ext4 on that partition, you can run the stock rom without having to revert to f2fs!

Download

And I've a crazy idea in mind: Make /system and /cache run on f2fs too. But I don't know which mount options I should use :p
[Moto G Android Development] Bleak3993:
Thanks for the update, but I just notice that you removed MSM hotplug as well, and other thing, I've experienced better results with just 128kB on read-ahead memory (I/O scheduler), I think 512kB produces a little of lag after a while using the phone.
[Moto G Android Development] DoctorStrange96:
Yeah. I forgot to put that on the changelog. And i'll see how the phone performs with less read-ahead memory (i generally use 384kB)

Enviado de meu XT1033 usando Tapatalk
[Moto G Android Development] Bleak3993:
Thanks, for what I know, the stock value is 128, but I don't really know if it's just a placebo effect.

Ah, and can you bring back msm hotplug please?
[Moto G Android Development] abeloman:
If I install a GPe firmware and then wipe /data to convert to f2fs... Then, what twrp should I use? The one for GPe or the stock?
[Moto G Android Development] AssToast:
128kB is better for me as well, higher values results in random freezes, higher is not always better, you can read about why here , just scroll to the bottom until the section about read ahead or just ctrl+f
[Moto G Android Development] DoctorStrange96:
Whichever you like. The sole difference is that the gpe twrp will default to ext4 when formatting /data, whilst the stock one will default to f2fs. But you can still change the file system manually. Other than that, there's no difference between them
[Moto G Android Development] DoctorStrange96:
I liked msm hotplug... And it was running well. Should've not disabled it. I'll bring it back in the next build ;)
[Moto G Android Development] portagira:
Best configuration for this kernel?
[Moto G Android Development] SH1M4BD3:
Is this newer build?? Which features you remove on the latest build
[Moto G Android Development] abeloman:
Read 2nd post...

GPe with f2fs working like a charm!
[Moto G Android Development] DoctorStrange96:
Thats very relative. Youve gotta experiment with different configs and use the one that suits you best
[Moto G Android Development] abeloman:
Zzmoove is working correctly? Just to be sure, and keep using it... I think it's the best for battery without losing performance
[Moto G Android Development] DoctorStrange96:
Yeah. Zzmoove is alive and well xD
[Moto G Android Development] DoctorStrange96:
Version 1.06r2 hier ist. Spass haben.

Herunterladen Download

Have fun. For those that

still don't know where the damn changelog is,

it's

below the OP

. #kthx
[Moto G Android Development] miguelrivas:
I have bootloop installing the last build (1.06r2), i'm using optimized US 5.1 xt1032

I did wipe again, and it works, sorry for the confusion.

Thanks man.
[Moto G Android Development] maurit43:
Sorry, you have to did wipe data(Factory) ? or cache and dalvik cache?
[Moto G Android Development] miguelrivas:
only cache and dalvik cache, and then works.
[Moto G Android Development] DoctorStrange96:
Special announcement:

For those brave souls that are trying cm13. While my buddy Flashhhh doesn't update his optimus kernel for cm, you'll have an experimental version of kaminari. No ETAs though. Just wait.
[Moto G Android Development] maurit43:
Hello, important question, how many hours is battery performance turn on the screen with this kernel ? ( Example, with motorola kernel its 6 hours)

thanks ! and other question Kingkaminari or other users, can your share your tweeaks ?

So thanks !!
[Moto G Android Development] SH1M4BD3:
[MENTION=6024489]King[/MENTION] can you also made some mod like Xpirt/chameleon mod for stock 5.1
[Moto G Android Development] DoctorStrange96:
Sorry to disappoint you, mate, but thats not gonna happen. I dont know **** about smali (which is the assembly-like language contained inside the apks), and to create a mod like this, you've gotta be a ninja at that. I'm sorry.
[Moto G Android Development] :
The last build, at least, breaks WiFi. Anyone else notice this?
[Moto G Android Development] DoctorStrange96:
Which rom? Didn't break wifi here at least. I'm on a stock 5.1 rom modified by myself
[Moto G Android Development] :
I'm have an XT1031 with official stock and also tried lost101's stock ROM's, and same thing. I haven't had a problem until now. Someone with an XT1033 just posted in the multirom thread claiming it was that or this kernel. I restored a stock backup and it was OK, then the kernel and nothing else and WiFi doesn't turn.
[Moto G Android Development] DoctorStrange96:
I didn't change anything wifi related. Maybe it was the toolchain...

I'm gonna bake two experimental builds, one with linaro, other with archidroid. Hold on
[Moto G Android Development] DoctorStrange96:
Revision 3 is uploading. It should (hopefully) fix broken wi-fi on xt1031.

Edit: It's up. Pick your poison.

Download (ArchiDroid version)

Download (Linaro 4.9.4 version)

Download (Linaro 5.1 version)
[Moto G Android Development] SH1M4BD3:
Hope its fixed on xt1033 too as ive faced same wifi issues
[Moto G Android Development] :
It works fine with the Linaro 5.1 build. I'll try the others. Thanks!

Edit: works fine with the Archidroid build also.
[Moto G Android Development] SH1M4BD3:
Tried two of them which was my fav toolchains, am xt1033 none of tgem works wifi cannot switched on at all, some logs hope help you to fix that sir

Logs https://mega.nz/#!EkdEHQTT!pHoYSW4y05kkiCZUNc-I9pYtelmchdCpoUaQNyJe6zA
[Moto G Android Development] :
I was wrong, it is the new multirom. The recovery injects the kernel unless you uncheck the box for that, I must have had it checked. Sorry to waste your time and thanks for the kernels!
[Moto G Android Development] DoctorStrange96:
Logcats aren't really useful for that. I need a dmesg
[Moto G Android Development] DoctorStrange96:
I was planning on switching toolchains anyway. Sabermod was just an experiment :p i personally prefer linaro and archi over it
[Moto G Android Development] madman:
No change in r3 beyond the toolchain right?
[Moto G Android Development] miguelrivas:
Difference between archidroid verion, linaro 4.9.4, and linaro 5.1

Thanks man.
[Moto G Android Development] celikbasm:
AFAIK, toolchains are only compilers, so it doesn't matter choosing any, right?
[Moto G Android Development] abeloman:
How do you fix it? I'm on GPe, and with the latest multirom, it breaks WiFi... Can you help me?
[Moto G Android Development] DoctorStrange96:
Yeah
[Moto G Android Development] DoctorStrange96:
Each is compiled with a different toolchain. And performance / battery life *should* be the same regardless of version, but it may vary a bit because of the optimizations
[Moto G Android Development] DoctorStrange96:
Sort of. Choose anyone you like :p
[Moto G Android Development] miguelrivas:
and which is better? :)
[Moto G Android Development] DoctorStrange96:
I personally prefer linaro 4.9.4
[Moto G Android Development] ale467:
Please tell us how did you got it working
[Moto G Android Development] n0ts0smart:
This kernel looks great. In reading the OP it mentioned that you might make a CM version. Not asking for an ETA and sorry if its already been asked but is that something you are still considering? No time frame being asked just wondering.....
[Moto G Android Development] DoctorStrange96:
Yeah. Still wondering about it. But i got three (yeah, three) exams next week, and you know, i've gotta get ready. ****ing college.

Heres an advice i give you: Dont major in computer science. Unless you really like calculus. (I dont)
[Moto G Android Development] abeloman:
Hi kingkaminari, I'm currently on 1.06r2, and now I see there are two variants... If I wish update, which build do you consider better? Talking about having the same great performance that previous builds have
[Moto G Android Development] DoctorStrange96:
If i were you i'd choose either archidroid or linaro 4.9. I use the linaro one myself
[Moto G Android Development] abeloman:
Are you planning to merge them in next build? I wouldn't like to choose a side [emoji33]
[Moto G Android Development] DoctorStrange96:
You cant merge two toolchains [emoji14] . Theres no such thing as linarodroid or archinaro. Choose a side, you must.
[Moto G Android Development] Bleak3993:
I've been on linaro 5.1 since the update, and no problems at all, nice and smooth, and I get around 5 hours of screen from 7:00 to 20:00, but I think that it doesn't really matter what toolchain you use, you can check THIS link and see it for yourself, IDK if this works the same way for our device, but those are just benchmark, I believe more in real life performance, so I would consider that linaro feels a bit faster, just my opinion here.
[Moto G Android Development] madman:
Yeah.. 1-2%gain won't be noticeable in real life anyways.

Some toolchain may produce somewhat better compilation for part of code.
[Moto G Android Development] DoctorStrange96:
1.07 is now available.

Download links at the OP. Changelog in the second post.
[Moto G Android Development] Kedharnadh:
Working fine

ArchiDroid working fine in my moto g xt1033 ...

Thanks for your awesome kernel ....:good::good::good:

Edit:

I found that Proximity sensor is always on when screen turned off.,

is this a bug or is it normal?? will it damage my proximity sensor??
[Moto G Android Development] DoctorStrange96:
Maybe its due to dt2w. I dont really have a clue... But it shouldnt damage the sensor
[Moto G Android Development] Kedharnadh:
Okay.. Just have a look into it in next update :) ?
[Moto G Android Development] abeloman:
It has been since the first release... It's called pocket guard, and this make sure you don't wake up your device when the proximity sensor is covered, for example in your pockets...
[Moto G Android Development] Kedharnadh:
thanks for your reply.... its means a perfect work ..... :D:D:D:good::good:

sorry to ask just a final question ...

will it affect battery performance ????
[Moto G Android Development] the_hustler:
Any recommendations for ensuring that apps don't get killed left, right and center? When I open lighting browser, Lux and Cf.lumen get killed immediately. I have installed this kernel. What settings should I change?
[Moto G Android Development] DoctorStrange96:
Another day, another version. This time its 1.08.

Download link is in the OP, changelog in the post below it.
[Moto G Android Development] miguelrivas:
You awesome man. :good::good::good:
[Moto G Android Development] Valantur:
I flashed this kernel on a XT1034 on GPE 5.1.1 for XT1032(Optimized) downloaded from here:

http://xdaforums.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510

... and it was impossible to turn on the wireless network. Wireless works OK if I use the default GPE kernel that comes with that ROM, and it only breaks when flashing this kernel (version 1.08).

Is anyone else having this same issue?

Thanks!
[Moto G Android Development] DoctorStrange96:
Can you send me a dmesg? After you try to turn wi-fi on, type "adb shell dmesg", copy the contents, paste into a text file and attach it here
[Moto G Android Development] micoperia:
Yes I have the same issue wifi isn't working

Gpe 5.1 stock updated via ota
[Moto G Android Development] keepercito:
same here
[Moto G Android Development] mistergoxilla:
Yep Wifi not working on latest version. Other than that perfect as always.

I'm on stock 5.1 EU.
[Moto G Android Development] DoctorStrange96:
Err... Lets see if 1.08r1 fixes wifi for you guys. I tweaked the updater-script and init.kaminari.sh a little. (Maybe i forgot to symlink the wlan module, or to remove all the old modules? We never know...)

Download

Clear your kernel adiutor data before flashing this (either via settings app or via shell - pm clear com.grarak.kerneladiutor), or after flashing, via shell (adb shell rm -rf /data/data/com.grarak.kerneladiutor). And then tweak everything again. Do this to avoid possible stability and/or memory management problems and whatnot.

And you guys may not believe me (some of you will certainly not), but i've never had any wi-fi issues here. My rom is the Brazilian stock 5.1, modified by myself (i dont use lost101's optimized roms)
[Moto G Android Development] Cr3sc3nt:
I'm using lost gpe optimized and the 1.08 release.... my WiFi is working flawlessly :)
[Moto G Android Development] DoctorStrange96:
Oh... Okay. You can stay on 1.08 then. R1 is only for those having wifi issues
[Moto G Android Development] kedar512:
[MENTION=5736790]kingkaminari[/MENTION] still not working ?

I was not able to turn on wifi.

I am using br retail xt1032 optimized rom.
[Moto G Android Development] DoctorStrange96:
Send me a dmesg if you can. Btw, are you using multirom?
[Moto G Android Development] kedar512:
Yeah I will try to take dmesg.

No I am not using multirom.

---------- Post added at 12:47 PM ---------- Previous post was at 12:20 PM ----------

Sorry but mistakenly I put the zip in some folder ?

Now when I flashed it putting in root folder everything is ok now.

Wifi is working fine.
[Moto G Android Development] miguelrivas:
Let's check out your optimized version :D
[Moto G Android Development] kedar512:
Yeah can you upload your rom so that we can also test it.
[Moto G Android Development] DoctorStrange96:
Mine isnt really "optimized" like lost101's roms are. The only mods i did were deodexing, a few google apps removed, and some aesthetical modifications (replaced holo blue with white, replaced the material teal with blue gray, different navbar buttons, and thats it).
[Moto G Android Development] sathish saju:
Its okii can u share tat
[Moto G Android Development] DoctorStrange96:
I'll do that, but not right now. But i'll do it.
[Moto G Android Development] sathish saju:
Hmm okii dude...wil wait for it
[Moto G Android Development] DoctorStrange96:
Important: Before flashing, always put the zip at the root of your internal storage! Don't flash it from a folder, or you might be left without wi-fi! Or if you can, sideload the zip via adb - thats how i install the kernel here.
[Moto G Android Development] :
WiFi was broken for me also with official stock but the last build fixed it. Thanks!