yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] dray_jr:
So i am downloading your kernel now. I am looking forward to testing this out and being able to give my feedback on such a ground level i really hope all of us can work together and make this kernel great.

here is a little form everyone could fill out when they post and bug's and so forth so the Dev knows something about your device

Developer Device :

Carrier:

Version/Rom:

Rooted/Recovery:

Developer Device : No

Carrier: Sprint

Version/Rom: 4.4.4 OEM Stock

Rooted/Recovery: Yes TWRP

i will post back soon with my idea's and thoughts i will say thou my two biggest needs in a custom kernel is great battery life and a smooth phone it dose not have to be super fast but just smooth no lag.

Also someone posted about running a Ultimate Battery Script and i was wondering if you could link me to this script i would like to look into it thanks again

again thanks for your work
[Moto X Android Development] Kittiesoncrack:
yeah that didnt fix it

EDIT: stuck in this loop. might have to factory reset
[Moto X Android Development] zwliew:
I've just pushed r2, which is essentially r1.9 with a few minor bug fixes, like in the GPU. :p

I'm rushing this out so I can get onto the next release. I'm hoping to make this kernel a flash & forget kernel whereby people flash it, and just forget about it. No tweaking needed!

Get it here:

http://xdaforums.com/devdb/project/dl/?id=9470

P.S.: I'm working on making an automatic kernel updater so you don't have to come to the XDA thread just to download newer releases!
[Moto X Android Development] rebretz000:
It seems to be a flash and forget kernel. No tweaks here and it's running great
[Moto X Android Development] rockmen1:
Wow, animation is smoother with this kernel! I can definitely see the frame rate is 60fps most of the time. Thanks a lot for the nice work!
[Moto X Android Development] adm1jtg:
Loaded r2 no issues at all... Still really snappy

Edit: just noticed in phone info it still lists as #1
[Moto X Android Development] zwliew:
That number doesn't determine kernel version, don't worry.

Edit: would anyone like to see a CM/CAF version? [emoji6]
[Moto X Android Development] adm1jtg:
Back in the day when I messed with kernels I remember lots of extra schedulers and governors

Intellidemand and smartass v2

Sio , vr and fiops

I dont see any of those on any moto kernels. Was all that stuff just smoke and mirrors?
[Moto X Android Development] zwliew:
Maybe, maybe not. Personally I feel that if you keep on adding extra governors and options, it only complicates the UX without adding any benefit. Why not just stick to one true and tested governor, and keep on improving it instead?
[Moto X Android Development] Travisdroidx2:
Thanks to the OP for the hard work! looks to be a solid kernel. One question, I know it is for 4.4.4 stock Roms. Is it compatible with 4.4.2? I am still running Eclipse.
[Moto X Android Development] zwliew:
It should be, I think not much has changed between the two.
[Moto X Android Development] Travisdroidx2:
Thanks I will give it a try. Thanks again!
[Moto X Android Development] ConstantHero:
As long as you keep supporting stock based roms, can't live without moto active display.
[Moto X Android Development] Travisdroidx2:
Booted up and seems to be doing fine on:

Verizon Dev edition xt1060

Eclipse 4.4.2

Thanks again!
[Moto X Android Development] rebretz000:
Let us know if it works. I may go back to Eclipse. Really miss it.
[Moto X Android Development] Travisdroidx2:
Seems to be working just fine!
[Moto X Android Development] mac1996:
I just tested on krypton (latest version) working awesome.... Let you know if I ran into the problems.. Thanks??? [MENTION=5604178]zwliew[/MENTION]
[Moto X Android Development] adm1jtg:
Why eclipse vs lets say krypton or epsilon?
[Moto X Android Development] Travisdroidx2:
If you have never ran Eclipse then you have to give it a try.

- Krypton is a great ROM stock based and mainly stock, very stable

- Episilon baked in xposed for customization. Never ran this ROM myself for that reason.

- Eclipse is stock based with hard coded mods made for his ROM. Not hijacking the framework like xposed. Eclipse is always stable with customization. Eclipse has been known for having a excellent ROM on many devices.

Best thing to do is try them all and decide for yourself ;)
[Moto X Android Development] JimJ2Mz:
looks darn good.

do you use fast charge?
[Moto X Android Development] athulele:
Haven't tried fast charge yet. I mostly charge from an AC outlet and use USB only for transferring files.

And yes, battery life is really good.
[Moto X Android Development] JimJ2Mz:
Tis God tier

Got these screens in just before Moto battery saver kicked in.

And yup, God tier battery life. Lasted me around two days (started from 3pm the other day) until 12 in the morning today.

Lots of social media like FB/messenger, G+, browsing.

Hours of music courtesy of Poweramp, with some light gaming and casting on the side.

Lowest brightness because the screen brightness is really bright even at its lowest.

Wifi all day due to no SIM atm but TMO has good coverage where I live so.

This kernel is great.
[Moto X Android Development] DaRkRhiNe:
The r10 kernel is butter smooth and rock solid. I get 3hrs Sot for a days use. Would get more if i dont play COC all day long :p

Anyways keep up the good work :good:
[Moto X Android Development] Megatron007:
R10 Is Ultra Smooth Man :D :D :D :D Waiting For D2S AND D2W Feature in this kernel :D
[Moto X Android Development] upichie:
Bought a Moto X about a month ago, so my battery is pretty much new. I was getting about 4-5 hours of SOT on the stock kernel. Here are screenshots from my first run on this kernel. An improvement? Absolutely.

View attachment 3096999

View attachment 3097000
[Moto X Android Development] Hitesh1802:
Thanks for this great kernel. But I am facing one small issue can you please adjust screen brightness because even in low brightness screen is bright. This is the only problem I am facing. Hope you fix it in next update.
[Moto X Android Development] droids@m:
Can always install lux or any brightness controls apps just a suggestion...
[Moto X Android Development] seafood99:
Awesome kernel, i like that it doenst need manual tweaking.

Thanks!
[Moto X Android Development] manck:
In the tenth version does not work to switch songs headset button to poweramp
[Moto X Android Development] Megatron007:
SOT :D :*
[Moto X Android Development] s5610:
Are you sure it's about kernel?

When I had problems with headset button, I edited \system\usr\keylayout\Generic.kl ("key 256 HEADSETHOOK"). Check if that file or parameter was changed.
[Moto X Android Development] DaRkRhiNe:
It is not related to kernel.
[Moto X Android Development] upichie:
Loving the kernel so far. Is there any app to tweak it though? Any recommendations? Or are we forced to wait for his release.

Only reason I ask is because my phone runs hotter now. I'd like to tweak the thermal throttling and/or CPU to bring it back to a comfortable temperature.
[Moto X Android Development] mac1996:
Use faux app from playstore let's you control the , GPU, Cpu,Thermal etc..
[Moto X Android Development] kenosis:
See post 537 of Page 54. Trickster Mod is recommended.
[Moto X Android Development] interista4e:
With r10 the min frequence is 384...why no more 189?
[Moto X Android Development] JeySee:
Sorry for this inconvenient question but can I flash this recovery.zip with my 2.6. Recovery? Or must I use adb commands? I'd rather just install/flash it, if it's possible? Before doing so, I'd rather ask here.

Again, sorry for the off topic Q.

Best regards & thanks for this lovely kernel. It runs great, will see about battery life after some days of use.
[Moto X Android Development] s5610:
I'm asking zwliew sorry too ) So...

1) you can use adb interface command line in Windows, like "fastboot flash recovery TWRP_2.8.2.0_MOTO-X.img", if you have IMG

2) you can install zip package via TWRP if you have ZIP.

Latest build has a small cosmetical issue (my link is 2.8.3.0 actually, I forgot) with red line , so here is 2.8.1.0 zip in the attachment. Works flawlessly.
[Moto X Android Development] kenosis:
See post 559, page 56.
[Moto X Android Development] JGoldz75:
I would love if Double Tap 2 Wake could be an option baked into this kernel. That's the one thing my Moto X is missing, something that I've used on every smartphone I've ever had. I'm not a huge fan of Active Display, and I thing the waving of the hand over the IR sensor is finicky. In a perfect world, disabling Active Display and the IR detection could save enough battery to balance out DT2W, but I'm a noob so who knows.
[Moto X Android Development] seafood99:
I would like to make a donation but i get this message:

Currently PayPal accounts in Singapore are only able to send payments. This recipient is not eligible to receive funds.
[Moto X Android Development] seafood99:
Wow, out of nowhere i get ''no service'', wifi and 4g works, but cant make any phone calles..

I am using version r10 on stock kk, what may be the problem here?

edit: i returned back to stock and now it works again, am i the only one with this issue?

I am on stock kk 4.4.4., with a Moto X Retail DE (Germany)
[Moto X Android Development] s5610:
Absolutely equal to yours configuration here, and not a single glitch!

Maybe it might have sense to start from the beginning, flashing via RSD stock, then roll on zwliew kernel.
[Moto X Android Development] seafood99:
Do you use Intelli3G?

And is it save to delete Moto Connect app?

I can't think of anything else that caused it.
[Moto X Android Development] Travisdroidx2:
Thanks for all your work. Just bought you lunch through your app :)
[Moto X Android Development] s5610:
I installed it to test, but still stable as tank

Yep. And much more.
[Moto X Android Development] Cassini-Huygens:
I suppose this kernel isn't compatible with CM12 nightlies?
[Moto X Android Development] seafood99:
Thanks, I'll give it a go!

Btw, I've just downloaded the app, but why can't I change any of the settings in the app? I don't want it to automatically flash when a new version arrives...
[Moto X Android Development] Travisdroidx2:
No, read the OP. Stock based.
[Moto X Android Development] Travisdroidx2:
I am running r-10 but for some reason the app must not recognize it. It is always pushing a notification saying I need to update. I had to turn off the notification.
[Moto X Android Development] CsR0501:
The best kernel ever!!! [emoji111] [emoji16]

Enviado desde mi XT1058 mediante Tapatalk
[Moto X Android Development] numanair:
The changelog link is wrong. It looks like it should be http://128.199.239.125/ghost/changelog.html
[Moto X Android Development] s5610:
I wonder what version is the most energy efficient. What do you think, guys?

The most agile is r10, and the chillest ...r6.12?
[Moto X Android Development] yugonline:
Art or Dalvik matters?

The choice of Runtime doesn't matter for this Kernel right? I can choose either ART or Dalvik Runtime ?
[Moto X Android Development] s5610:
yugonline

It seems, nothing special about runtime in this kernel. Use any you think is faster ) I prefer old Dalvik
[Moto X Android Development] St.Noigel:
Have anybody issues with connect to PC?

After flashing r10 I can`t connect my Moto X to PC as MTP..

MTP works only on TWRP mode ((

All drivers are installed and before flashing r10 it was connected ((

P.S. 3 devices (2xXT1056 and XT1060 DE)- same issues...
[Moto X Android Development] seafood99:
So I did a full wipe, installed everything back MANUALLY, and now it runs like a tank for almost a week already.

I ****ing love this kernal.
[Moto X Android Development] s5610:
Nyet :D

I own exactly same hardware models, with same retail firmware, but they do work fine under r10. To be honest I didn't encounter MTP not working problem on either zwliew's build ever. It's something abt your host OS in there, i think.

Dumb question, but did you tried another PC? Or maybe a particular android app prevents MTP function.
[Moto X Android Development] St.Noigel:
I tried few PC.. O_o

Still have the same issues.. Now I`m giong to reflash stock with RSD and try it again ))

P.S. [MENTION=6030566]s5610[/MENTION] what recovery do you use?
[Moto X Android Development] hbar98:
If you simply connected the Moto X to the computer and let windows download the driver, you will have issues. Go here and install the drivers that should allow the computer to work with the phone: http://mark.cdmaforums.com/ADB.htm

*Sometimes* I will have to toggle MTP mode on and off before my computer will pick it up. But not always.
[Moto X Android Development] St.Noigel:
It`s about ADB. I have no any issues with ADB..

P.S. I just go to stock kernel and everything works fine..
[Moto X Android Development] upichie:
Do you have the stock kernel file by chance? Or was it just a nandroid.
[Moto X Android Development] St.Noigel:
Just nandroid.. (((

P.S. I found MTP-killer! It was Xposed Media Scanner Optimizer
[Moto X Android Development] s5610:
Good. I'm using TWRP 2.8.3.0 (though it shows red line, don't bother with that).

I do have r6.12 now (the earlier having S2S feature), CPU statistics:

1728MHz - 4%

*** - 0% (all freqs zeroes)

384MHz - 8%

DeepSleep - 84%

My usage scenario is light, so it lasts for long (2-3 days). Phone seems to be colder than ambient air :o

zwliew

Got to send you few bucks :D
[Moto X Android Development] Travisdroidx2:
Xposed causes more issues that people like to admit.
[Moto X Android Development] upichie:
Really wish this came with an app to control it...

When I don't game, this kernel provides like 30% better battery life and smoother performance. Awesome! But when I play any games, this kernel makes my phone melt and the battery drains faster than stock. Ugh.

---------- Post added at 09:23 PM ---------- Previous post was at 09:22 PM ----------

Xposed gives you the ability to modify the system on the fly. Naturally, this enables users to screw up their devices. Xposed doesn't cause any issues; installing random modules written by random people on the internet that can contain any random code they choose to put in there, that is what causes problems. No need to blame Xposed.
[Moto X Android Development] Travisdroidx2:
You can always use another app to control the kernel. I used faux. I heard trickster also works.

And as far as Xposed I do agree the modules are a key. However, I prefer my mods on the fly to be hard coded. But that is just my opinion.
[Moto X Android Development] St.Noigel:
I can cofirm - Trickster works nice - I use it now.

Also I used Faux - it works too
[Moto X Android Development] coronanlime:
I'm finding that a force fast charge option isn't available. Is fast charge just enabled by default without option to change it?
[Moto X Android Development] kyzn:
After a few weeks of use, I'm finding that R9 was giving me better battery life than R10.

Overnight, my battery drain is about 14%. It used to be 3% to 4%. I'm constantly charging my phone everytime I get home, I only used to do that after 3 days. Haven't changed any setttings.
[Moto X Android Development] regisknechtel:
R9 was much better for me too, about battery life, but r10 has stopped the annoying micro stuttering
[Moto X Android Development] zwliew:
Been really busy with school nowadays. I'll rebase the kernel over Lollipop once Motorola releases it(and of course, the kernel source).
[Moto X Android Development] kenosis:
Thanks for info. Good luck for studying
[Moto X Android Development] gskelter:
Anyone have the stock r3 version?
[Moto X Android Development] KenNashua:
I've noticed one problem, not sure if it's kernel related. After a while audio gets glitchy. Try playing a track and it starts and stops. Must reboot to resolve the problem.
[Moto X Android Development] CsR0501:
Not here... KK 4.4.4 retail brasil + xposed (a lot of modules) + V4A (HiFi and XhiFi) [emoji111]

Enviado desde mi XT1058 mediante Tapatalk
[Moto X Android Development] adm1jtg:
I had major issues with v4a when you run a music stream with let's say maps at the same time the phone will lock up. Also does this with stock kernel, so a v4a issue.
[Moto X Android Development] strictlyphat:
I noticed higher than normal battery drain on v10. Switched to v9 let's see if it's better. Nice work. So far so good!
[Moto X Android Development] seafood99:
What do you advice to change though?
[Moto X Android Development] upichie:
I was the one who originally asked about an app to tweak the kernel. Everyone suggested Trickster, but there's not much to change. Governors, Frequencies, and Voltages is about all you can do.

I'd love more options, but the kernel dev seems to just want a "flash and forget, one size fits all" kernel, not one you can customize. Which is fine, but its certainly not one size fits all. My phone gets way hotter gaming on this kernel than stock, and its totally unnecessary. The CPU/GPU end up heating up the chassis so much that it constantly pushes my battery far beyond that of the stock kernel. And while I appreciate the minor performance gain, running the battery at excessive temperatures does nothing but degrade the longevity of it. No one wants an additional 20% battery capacity lost in a year for a minor performance bump.

I came from a phone with a massive development scene to this. I certainly wish we had more kernels.
[Moto X Android Development] zwliew:
Actually, my "flash and forgot, one size fits all" primarily means that most options are pre-tweaked nicely for the user. The tweaking options for most of the features and new features added are available for the user. May I know what customization options you are looking for?

About the heat during gaming, I agree that it is an area of improvement I haven't mastered. It is due to the custom GPU governor I implemented. In the future builds, I'll get rid of it until I tweak it well enough.
[Moto X Android Development] upichie:
Thank you for the response! I admit I was a little frustrated and may have been too harsh. You've done a great job! Knowing about the GPU governor is all I need to know to fix the problem I'm having. If I missed that in the changelog I apologize as it would be entirely my fault.

Again, thank you so much for you work. I hope I didn't offend you. You've done a fantastic job and I look forward to your future releases! Thanks!
[Moto X Android Development] rolberding:
Recently I've had issues with my minimum frequency being set to 1.026 GHz on boot with r10. I've tried using trickster, even using the option to prevent changes from the system/any other apps although that works for a day or two, I end up with 1.026 being set as my minimum frequency again. Is anyone else experiencing this, am I doing something wrong, is there a way to resolve this (preferably without a kernel tweaking app as I am using this amazing kernel as a flash and forget)?
[Moto X Android Development] zwliew:
The minimum frequency is being set to 1.026 GHz due to the input boost which boosts min frequency to 1 GHz on touch for 500 ms. If you don't touch the screen, you will notice that it reverts back to 384 MHz.

If that's not the case for you, ensure that you don't have any scripts/apps that set some sort of CPU parameters as they may conflict.
[Moto X Android Development] rolberding:
I definitely don't have any scripts or apps that are setting it to 1.026 GHz. I have one kernel related app installed other that your updater app, that being no-frills CPU control and I don't even have it to set to boot. I only use it to see how much time is spent at what frequencies. Since my original post I've switched back to r9 and not had the issue.
[Moto X Android Development] zwliew:
Test kernel r10.3

School tests coming up but managed to squeeze in some time for a clean rebase.

This is still in testing and not fully ready for r11, hence the name r10.3.

Download:

http://128.199.239.125/ghost/releases/zwliew_Kernel-ghost-r10.3.zip

Rough changelog from r10:

- Clean rebase

- Revert back to QCOM's trustzone GPU algorithm

- Revert custom thermal driver. Will revisit soon.

- Revert back to mpdecision, custom hotplug solution is not as smooth.

- Revert load based syncs from cpu-boost driver as it doesn't work too well for now. Will revisit soon.

- Reduce input boost to 40ms from 500ms for better batteriez

This should fix the battery issues and overheating issues with gaming on r10. For better performance, you can rename /system/lib/hw/power.msm8960.so.bak to /system/lib/hw/power.msm8960.so which I recommend.

Note: This will not work well with zwliew_Kernel Updater. By that I mean that it will probably remind you to install the "latest" version.
[Moto X Android Development] s5610:
Got sudden restart on r10.3. Don't have Trickster installed, or something contradicting to kernel, only System Monitor.

You told me some day how to report bugs, will you repeat, please?

Don't know, if it will do, but I captured this after crashing by pressing VolUp+VolDown+Power.
[Moto X Android Development] St.Noigel:
Running r10.3 during 7 hours - I have no any issues
[Moto X Android Development] kenosis:
Running over 24 hrs. No issues (yet)
[Moto X Android Development] s5610:
M-m-m... After that sudden restart works stable up to now. Don't know what was that.... I like current build )
[Moto X Android Development] seafood99:
Same!
[Moto X Android Development] zwliew:
r10.5 test for Moto X

Another update on the upcoming rebase.

Please rename /system/lib/hw/power.msm8960.so.bak to /system/lib/hw/power.msm8960.so(if it is not already correct)

I've decided to co-exist with PowerHAL so re-enabling the PowerHAL will give you enhanced performance.

Changelog:

1. Fixed a bug whereby CPU1 min frequency is stuck at 1.2 GHz.

Just to give you guys a heads up on what is currently available in this(and the upcoming stable release) 100% refresh of the kernel:

1. Voltage control

2. Fast charge control

3. FSync toggle

4. Software CRCs toggle

5. Updated (CAF) and tweaked interactive governor

6. Introduced and tweaked CPU-boost driver

7. Enabled KSM (only in kernel, to use it you have to enable it) with a toggle for power saving mode

8. Built with Google's GCC 4.8

9. ROW scheduler updates from CAF

10. Sweep2Sleep

11. Faster boot times

http://128.199.239.125/ghost/releases/zwliew_Kernel-ghost-r10.5.zip
[Moto X Android Development] St.Noigel:
Hm... I have no "/system/lib/hw/power.msm8960.so.bak" just /system/lib/hw/power.msm8960.so

P.S. kernel flashed with TWRP 2.8.4.0

UPD. Will this build of kernel works well with Tricker Mod?

UPD2 CPU1 min frequency is still stuck at 1.2 GHz if use Tricked Mod. I uninstall it and run Kernel Auditor - it seems to work well! ))

UPD3. CPU1 min frequency is still stuck at 1.2 GHz - Kernel Auditor just don`t show CPU1 min (((
[Moto X Android Development] matust:
My cpu 1 is also stuck at 1.2
[Moto X Android Development] s5610:
I do have it. And did rename, as zwliew suggested.

I don't use Trickster now, so I'm fine. Works as usual, second CPU goes offline
[Moto X Android Development] St.Noigel:
What kernel control app do you use?
[Moto X Android Development] s5610:
I like both Trickster and Kernel Tweaker, but don't use any tune utility now, cause kernel build is not final yet.
[Moto X Android Development] Nwkeng:
So far 10.3 has been working the best for me.
[Moto X Android Development] XtraWho:
Caf or non caf kernel?
[Moto X Android Development] zwliew:
Damn, something is wrong with my Moto X now. Whenever my phone is on WIFI, it reboots randomly and after rebooting, I can't turn on WIFI until I manually reboot my phone again. (Radio messed up? IDK). But as I said, whenever it is on WIFI, it will just repeat the process.

According to the kernel logs:

wlan: loading driver v3.2.6.114.1220.3
wlan: [968:F :HDD] hdd_driver_init: WLAN device not found!!
wlan: driver load failure

I've tried returning to 100% stock, making sure all the required files are in /persist. No luck. Hardware issue? Maybe.

Not sure what other choice I have now. :rolleyes:
[Moto X Android Development] adm1jtg:
Have you tried resetting your wifi/router or in a different wifi area