yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] kicker22004:
Yes, although you should just backup your boot+modules to a zip. That way you can just flash that and restore your recovery.
[Moto X Android Development] jojo_whit3:
I've been using Krypton's v1.4 ROM for a while now and decided to give this kernel a try (version r8). So far, I've had 2 random reboots over the past couple of housrs (*see last_kmsgs attached). I haven't messed with voltages at all...just a couple of the governor settings using Trickster's app.

Edit: I read on the changelog that the CPU is undervolted by 50mV by default. So I used Tricker's app to increase all of the voltages by 50mV...but I'm still getting random reboots. I looked into the source code on git and I see that the L2 cache has also been undervolted by 50mV and I suspect this is causing my device to be unstable. Is there anyway to modify these settings with a user script? Or would I have to recompile the kernel?
[Moto X Android Development] s5610:
The first post of topic says that:

Then flash stock recovery and you'll be fine. Don't know if you have to unroot also, but it won't be superfluous.
[Moto X Android Development] DaRkRhiNe:
Guys my phone got switched off on zero percent battery . What should i do its only rebooting and not charging at all

:crying::crying::crying:. What should i do

I am on r8
[Moto X Android Development] an21281:
Have you tried booting to bootloader with the phone plugged in? If you can get into bootloader see what it says about battery. Also try to hold power for 10seconds or more to reset with phone plugged and unplugged... Another thing to try a different charger

I had this happen before, looked like it was just rebooting. Eventually it charged enough and showed the charging symbol, maybe just give it some time
[Moto X Android Development] zwliew:
Something similar to what this guy said. Try booting into bootloader with phone plugged in and then extract the boot.img from r7.

Do

fastboot flash boot boot.img

Now your phone should charge in LPM fine. The phone doesn't charge in LPM because of a bug mentioned 1-2 pages back.
[Moto X Android Development] DaRkRhiNe:
It rebooted to recovery somehow and i restored a backup. Wont it again start rebooting if connected to a usb port?
[Moto X Android Development] zwliew:
No. It only reboots because there is a bug when charging in LPM (low power mode), which is the mode when your battery is very low (<1%) and is powered off while charging. As mentioned a few pages back, it is already fixed and r9 will be okay.

Edit: Maybe I'll speed up release of r9 to prevent more cases of this happening.
[Moto X Android Development] chaoslimits:
I do the following:

Unplug the phone

Hold power and volume to boot into bootloader

Plug in the phone

Select "Normal Boot"

Shut of the screen as soon as it boots.

Good luck.
[Moto X Android Development] jakereeves31:
I had a bug where my mic would stop working randomly. A reboot would fix it, but it was weird. I could hear the person on the other side of the phone but they couldn't hear me. I was using this kernel on stock on my DROID MAXX.
[Moto X Android Development] regisknechtel:
My wi-fi stopped working after i flashed r8, it didn't turn on. Reverted back to r7
[Moto X Android Development] zwliew:
dmesg?

dmesg? And also, did you properly flash the zip and have the /system/lib/modules properly replaced by the zip?
[Moto X Android Development] regisknechtel:
well, i flashed it via TWRP, over r7. It said the installation were sucessful. Do I have to do something different?

I tried to wipe cache and dalvik cache before reversing to r7, but didn't fix it :/
[Moto X Android Development] zwliew:
Anyone uses a Nexus 7 2013? Just received mine (I'm always a year late :/) and I'm loving it! Won't be long before zwliew_Kernel shows up for it...
[Moto X Android Development] hbar98:
I use mine all the time! Looking forward to seeing what you can do with it! I currently use Glitch, but like how my Moto X acts with your kernel.
[Moto X Android Development] adm1jtg:
is tk deving again. I havent heard glitch kernel mentioned since i was galaxy s1 series phones.
[Moto X Android Development] hbar98:
Yeah, he is. He took a while off, but he's back. I like some of the features he has, but I don't use them often. If zwliew can make something solid and battery sipping for the N7 with minimal features, I'll switch to that.

http://xdaforums.com/showthread.php?t=2449919 <-N7 2013 Glitch Kernel thread
[Moto X Android Development] kyzn:
If I plan to try another kernel while currently using this, do I need to restore stock kernel first? Or flashing over zwliew_Kernel is fine? Thanks.
[Moto X Android Development] kicker22004:
Flash over should be fine. However I think this is the only stock kernel.
[Moto X Android Development] adm1jtg:
Not sure why you would bother with another kernel... There is faux kernel that never worked 100% reliably and is now on hold pending LP code and krypton has his own basic kernel but I don't think it's nearly as well tweaked.

That said... To answer your original question you need to look inside the zip for this kernel specifically at modules and all and make sure that every one is replaced by your new kernels zip flash. If not you should replace whatever this zip placed that is not overwritten by new kernel with stock version of that module.

Not sure if that's clear.... If not post back and I will try to help more.
[Moto X Android Development] kyzn:
Got it.
[Moto X Android Development] zwliew:
r9

Here comes the ninth release, r9!

I've fixed the issues with reboots in LPM, and the disability to use USB OTG introduced in r8.

Over that, I've reintroduced the custom hotplug driver from a while back which should allow for better battery savings as it doesn't hotplug CPU1 as aggressively.

The Sweep2Sleep driver has been cleaned up and now has Sweep2Wake functionality, however It's not usable yet since I haven't added code to the touchscreen driver to keep it awake. Hopefully in r10 I'll be able to add it.

The ondemand governor has been synced with CAF upstream for those who really prefer it over the default interactive governor.

Talking about the interactive governor, I have modified its timer implementation to be more intelligent in scheduling it, better performance and battery savings follow.

Lastly, I've merged a patch from Google which tweaks a WIFI setting to allow for better latency.

What are you waiting for? Install it now!

Download;

http://128.199.239.125/ghost/releases/zwliew_Kernel-ghost-r9.zip

Changelog:

http://128.199.239.125/ghost/appfiles/changelog.html

r10 will probably be the last release until Lollipop. School is starting soon and I'll be going to a boarding school which means less computer time. Thus, I'll have to quickly finish my Updater app before then. I've also been busy with zwliew_Kernel for Nexus 7 (2013). It is almost completed and ready for production! :victory:
[Moto X Android Development] mac1996:
Does sweep2wake work same way as sweep2sleep
[Moto X Android Development] zwliew:
You can't use it yet since I haven't done appropriate changes in the touchscreen driver.
[Moto X Android Development] JimJ2Mz:
How's the overall performance with this kernel now?

Especially with the Krypton ROM and model XT1053?

The last time I jumped gun and flashed it (R3), games I played like Asphalt 8 had considerably high amounts of lag and loading times.

But every day since, I've been watching over the development, and this kernel just seems to blast away the competition.

Definitely gonna flash this if performance is better. I badly want that sweep2sleep feature.
[Moto X Android Development] Globalrebel:
Try it out. Only takes a few minutes to flash. I love the kernel. Haven't hard any noticeable problems and I run the 187Mhz
[Moto X Android Development] DaRkRhiNe:
Thank you for your work .

PS- Update the op

---------- Post added at 11:07 AM ---------- Previous post was at 10:37 AM ----------

Is fast charge enabled by default or do we have to enable it? if yes plz tell me the steps
[Moto X Android Development] Travisdroidx2:
http://xdaforums.com/showpost.php?p=57335877&postcount=408
[Moto X Android Development] droids@m:
It's enabled by default and the way to change the values are on the second post under fast charge
[Moto X Android Development] zwliew:
What droids@m said.
[Moto X Android Development] zwliew:
zwliew_Kernel Updater beta release

Initial beta release of zwliew_Kernel Updater is ready to go! I've just pushed the first beta APK to Google Play Store and it should reach you guys in a few hours.

Here's how to join the beta testing:

1. Join the zwliew_Kernel Google+ community: https://plus.google.com/communities/116811972020519595224

2. Become a beta tester: https://play.google.com/apps/testing/zwliew.kernel

All it includes now is a simple check for the newest release on startup, the changelog, and a download button. More to come in the near future.

I've spent the day backporting this part of my code to KitKat and it was worth it. :)﻿

FAQ:

1.

Q: Why have you suddenly changed the name "zwliew_Kernel Master" to "zwliew_Kernel Updater"?

A: I intend on the simple updater to be a free app for everyone to use. The fully featured app will probably be named differently and launched as a different app. Oh, it will probably be paid too to support my work and keep me going :)

2.

Q: When are you going to release the full featured app?

A: That's hard to say. School is starting and I'm getting increasingly busy with real life. However, I hope to complete it within a few months. (Or earlier!)﻿

P.S. If you haven't already, r9 was just released earlier today. Get it! http://xdaforums.com/showpost.php?p=57664835&postcount=508
[Moto X Android Development] adm1jtg:
Loaded will report back later
[Moto X Android Development] kyzn:
Is flash over R8 fine? Or do I need to revert to Stock first? Thanks.
[Moto X Android Development] zwliew:
You can flash over any release.
[Moto X Android Development] 690sid:
Hey guys, does this kernel work for Lollipop 5.0.2?
[Moto X Android Development] zwliew:
http://xdaforums.com/showpost.php?p=56445947&postcount=1

Stock only, sorry.
[Moto X Android Development] ts_firehawk:
But you had a version for CM. You stopped it because of incomplete sources?
[Moto X Android Development] Travisdroidx2:
You guys should read the thread before asking old questions.
[Moto X Android Development] zwliew:
Because I don't want to support a version which I can't test and will probably never use.
[Moto X Android Development] kenosis:
Downloading r9. Thanks for the work
[Moto X Android Development] joemanbui:
Awesome work! Works perfectly with Krypton on my xt 1053. No lag issues in games and everything seems smooth so far. Looking forward to your future releases!
[Moto X Android Development] DaRkRhiNe:
The animations are a tad laggy sometimes as compared to previous releases. I dont know why
[Moto X Android Development] Johnny Wong:
How is it possible that this kernel scores so much higher than stock in Antutu? I ran 2 Moto X's side by side, one on stock and one on r9 and the r9 scored in the 2900s while the stock scored in the 2700s. They were neck in neck, in fact the stock was a hair faster up until the graphics test. Then the r9 was a hair faster to finish but still hard to believe the difference in the score. Is the r9 turning down the resolution or details to accomplish the faster speeds? In any case, it is a great kernel and both phones are on r9. I prefer it over Faux which I have been running for a long time.
[Moto X Android Development] kyzn:
I agree. There seems to be a bit of a notable stutter when opening apps coming from sleep.
[Moto X Android Development] kicker22004:
Just downloaded the app, can't really use it due to Republic Wireless but figured I'd give feedback. Looks good so far however I can see one major issue, the waiting until the download is finished before selecting OK.... We all know that won't work as some users will see the OK and hit it premature causing a failed flash. So just food for thought. Looks good tho
[Moto X Android Development] brainwash1:
I have Republic also, and this kernel has been working well for me. You just need to unlock your bootloader with something like Sunshine, and install twrp or another recovery.
[Moto X Android Development] kicker22004:
The kernel works well yes, however if I get a WiFi call in/out it locks the phone up or makes it very slow. I'm unlocked already and well aware it causes issues as I've been sending logs to the Dev, he is working on the issue. You might want to test it more to make sure its installed and working correctly.
[Moto X Android Development] regisknechtel:
When I undervolt it, the changes I made won't stick when I reboot the phone. I didn't have this issue with Faux kernel. Is it possible to fix it? Thanks!
[Moto X Android Development] zwliew:
Voltage control has been working correctly ever since it was introduced. What are you using to under volt? Make sure you ticked apply on reboot. Also take note that the max voltage is 1250mV and the min voltage is 700mV.
[Moto X Android Development] regisknechtel:
I'm using FauxClock, my values are between 700 and 1250 mV and the "apply on reboot button is ticked. I don't know what I can do :( Do you suggest another app?
[Moto X Android Development] zwliew:
FauxClock doesn't use the same files for voltage control as I do in my kernel. I recommend to use some other app like Trickster Mod.
[Moto X Android Development] DaRkRhiNe:
The animations are a tad laggy in r9 as compared to previus releases. Any reason why? :fingers-crossed:
[Moto X Android Development] zwliew:
Can you specify what animations? It is possibly due to the more conservative hotplug driver I'm using. I'll research and tweak it further for more optimal settings in terms of performance-battery life balance.

You could try setting /sys/module/msm_hotplug/cpus_boosted to 2. If that is not enough for smooth animations, you could even try setting /sys/module/msm_hotplug/fast_lane_load to 99.
[Moto X Android Development] numanair:
In regards to republic wireless, does anyone know why we don't have a kernel source? My understanding is that Motorola cannot withhold the source without it being a violation of the GPL.
[Moto X Android Development] kicker22004:
Yeah but good luck getting the code from Motorola. The last source was 4.2.2 I think.

---------- Post added at 03:05 AM ---------- Previous post was at 03:03 AM ----------

http://sourceforge.net/projects/motox.motorola/files/13.9.0Q2.X-178-RW-17/
[Moto X Android Development] zwliew:
Production release of zK Updater is near...

Earlier today, I've pushed v1.0-beta3 of zK Updater which includes some awesome features like auto-checking for updates and a card to support my work.

Since then, I found out a few issues such as FCs and layout problems and thus I have just pushed v1.0-beta4.

As it is, zK Updater is pretty much production-ready. I'll probably release r10 for Moto X soon to give users a test of the actual functionality (and maybe auto-checking). If everything works with no problems, v1.1 for production will be out soon.

As always, if you haven't signed up for the testing: https://play.google.com/apps/testing/zwliew.kernel

You need to sign up for the Google+ community in my signature first.

Changelog since v1.0-beta1:

Fixes:

- Many layout fixes such as layouts overlapping the toolbar shadow and Floating Action Button being out of place

- Major clean-up of my code in preparation of production release (will continue to optimize it for better memory usage and performance)

Improvements:

- Optimizations to layout performance

- Added a layout to support my work either by donating or simply sharing it (I prefer PayPal on XDA if you intend to donate as Google rips of 30% of the share)

- Added smart auto-checking feature (reschedules timer every boot and every app opening for 24 hours)

Note: I skipped 1.0-beta2 because I derped up on the naming release when publishing self-testing apps.﻿

Note 2: I realised I derped some of the code regarding in-app billing when cleaning up my code. Will be fixed in production release.
[Moto X Android Development] kenosis:
Unable to open the link. It doesn't exist
[Moto X Android Development] adm1jtg:
Just crashes for me immediately on startup with and out of bounds exception

Update: Silly me i had just reloaded from a backup and hadn't reloaded the kernel. All works now error was cause I had stock kernel
[Moto X Android Development] interista4e:
yesterday with r9 :D my record with normal use!!
[Moto X Android Development] zwliew:
As with all apps in testing, you need to join the Google+ community in my signature to be able to visit the link.

Please report the crash using the in-built function next time so I can better debug and fix it. Anyway, I think I know the problem.
[Moto X Android Development] kenosis:
Thanks, just joined.
[Moto X Android Development] adm1jtg:
the app crashed immediately there was no way to use any function of the app. I saw the error by going into preview of the google reporting
[Moto X Android Development] zwliew:
Does anyone here have a 4.4.2 Sprint ramdisk? Trying to fix RW compatibility. Thanks!
[Moto X Android Development] raff28:
Can i use this kernel on my 4.4.4 stock rom?
[Moto X Android Development] CsR0501:
Yes... [emoji29]

Enviado desde mi XT1058 mediante Tapatalk
[Moto X Android Development] raff28:
Tq

[emoji1]
[Moto X Android Development] kicker22004:
I'll get you the sprint 4.4.2 boot.img so that you can compare the ramdisk.

Update: here is the sprint boot.IMG

https://docs.google.com/file/d/0B2aLFCgkLH9bc0VSeHp0NGN4Qzg/edit?usp=docslist_api

Let me know if you need mine as well.
[Moto X Android Development] zwliew:
r10 for Moto X

Sorry! In a rush to upload zwliew_Kernel for Nexus 7 2013, I realised I messed up some settings. I've reuploaded a new kernel under the same name. The new time of upload on the file server is: 2015-01-01 05:10

Happy new year everyone! Hope you all had a fulfilling 2014 and let's look forward to 2015.

As promised, here's r10 for Moto X. This may be the last release before Lollipop, but who knows? Mainly, I've been trying to address some performance issues in r9.

Note: You can download the kernel using zK Updater. Check it out in my signature.

Download:

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

Changelog:

- Hotplug CPU1 on every touch input to maintain buttery smooth scroling

- Made hotplug driver skip some code paths and hotplug CPU1 immediately on extremely high load

- Improved thermal driver accuracy﻿

- Enabled more TCP congestion avoidance algorithms

- Slightly better suspend drain

PS: I'll look into Republic Wireless soon.
[Moto X Android Development] kenosis:
Thanks for new update on new year. Updating via kernel updater :)
[Moto X Android Development] zwliew:
Sorry! In a rush to upload zwliew_Kernel for Nexus 7 2013 too, I realised I messed up a setting in the kernel that could cause greater battery drain. I've reuploaded a new kernel under the same name. Please install the new one.
[Moto X Android Development] kenosis:
OK. I will install now
[Moto X Android Development] CsR0501:
189 MHz in r10 too? Because I can't set it with Kernel tweaker :/

PS sorry my bad English but I'm Peruvian and I'm a little drunk too! [emoji14]

Enviado desde mi XT1058 mediante Tapatalk
[Moto X Android Development] zwliew:
I've removed that step because I could not really see much of a difference in battery savings (or even in suspend/idle), and it can cause some minor stuttering. I'll further experiment with it and if benchmarks (in battery drain and performance) prove otherwise, I'll re-add it.
[Moto X Android Development] CsR0501:
OK... Thanks for the info...

Happy new year my dear friend! :D

Blessings! [emoji2]

Enviado desde mi XT1058 mediante Tapatalk
[Moto X Android Development] zwliew:
Happy new year to you and everyone else too! :)
[Moto X Android Development] athulele:
Just installed r10. Krypton 1.4.1

Everything seems really smoother than r9
[Moto X Android Development] kyzn:
Does the app have the option to reboot into recovery to flash the file? I've enabled the option in settings and all I get are notifications of the new version.

Thanks for the update, will report back.
[Moto X Android Development] adm1jtg:
mine did after i hit download
[Moto X Android Development] kyzn:
Mine, unfortunately, didn't. I had to do the reboot manually. What recovery are you using?
[Moto X Android Development] mac1996:
Happy New Year ... Buddy..

Does sweep2wake works.. Not a priority just want to know didn't mention in changelog
[Moto X Android Development] ConstantHero:
Works here on r10 has worked on the past couple builds as well.
[Moto X Android Development] Travisdroidx2:
He is talking about sweep to wake not sweep to sleep.
[Moto X Android Development] s5610:
sweep2sleep - does.

kyzn,

I use TWRP 2.8.2.0, attached below. Works great )
[Moto X Android Development] adm1jtg:
There is a 2.8.3.0 now
[Moto X Android Development] The Gingerbread Man:
Comimg out of my 'retirement' to express my utter dismay that this 'developer' has taken the template for their application from the popular developer [MENTION=247153]Francis[/MENTION]ofranco and has utterly ripped off his work and branded it as his own. Don't beleive me? Check out https://play.google.com/store/apps/d....franco.kernel Your developer is nothing but a fraudster without sufficent imagination or knowledge to make his own app. The only commands this guy knows is copy and paste. A cheap Asian rip off of the original high quality production. This one has the nasty made in Singapore etshed into the platic you cant remove without getting a file and sanding down your product. Do you want that to run your device? If so you are braver than me
[Moto X Android Development] adm1jtg:
twrp 2.8.1.0
[Moto X Android Development] CrisLorD:
It's me or the volume in r10 is lower??..my ringtones are lower now
[Moto X Android Development] ConstantHero:
You're right, read it s2s thanks for the catch.
[Moto X Android Development] kicker22004:
I don't think its fair to judge someone on the layout...after all that is material design and most apps are following these guidelines. Now if you have more proof as to the copy and paste then please download his app and pull it apart to show it. Until then I would do more investing before calling someone "A cheap Asian". Just my two cents.
[Moto X Android Development] kyzn:
That's probably it. I'm using 2.8.3.0.
[Moto X Android Development] JimJ2Mz:
I flashed r10 today.

Best decision ever. Smooth as butter and love that sweep2sleep feature.

I've yet to see how much this kernel will improve battery life, but does anyone here wanna give me any info/screens on their battery improvements?

And side note- app is simple and elegant. Love it.

Awesome work here, zwliew. Can't wait for future releases!
[Moto X Android Development] athulele:
Moderate brightness, WiFi on for most time, used 3g for like 20 mins.
[Moto X Android Development] The Gingerbread Man:
Finding proof by ripping apart an apk is basicly is pretty hard. How ever if you compare this app to Franco you will find the use of colour, box's, locations, card based ui, ftp folders have the same names and the thread format / layout. The resemblance is most certainly uncanny if you compare and look at the Franco kernel updater play store page. Anyway, back to retirement for me. Bye
[Moto X Android Development] kicker22004:
No solid proof other then the layout...something that most apps are starting to look like. Bye
[Moto X Android Development] zwliew:
I'm on ART and it works fine