yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] ConstantHero:
Running 10.5, core 1 will idel at 384mhz here and deep sleep with screen off. I did wipe dalvik and cache out of habit. Running very well as usual.
[Moto X Android Development] matust:
I always wipe dalvik cache/cache several times before flashing. Haven't a problem with the earlier versions. What app are you using to check your cpu stats?
[Moto X Android Development] ConstantHero:
Kernel tweaker and trickster mod both show 384mhz
[Moto X Android Development] DangeloGH:
Hi, moto x android 4.4.4 epsilon project rom v-3.1

I from Brazil, and need to know if this kernel could run in this rom...

ty.
[Moto X Android Development] seafood99:
Should i go for 10.3 or 10.5?
[Moto X Android Development] CsR0501:
Yes, but make a backup first! ✌

Enviado desde mi Moto X mediante Tapatalk
[Moto X Android Development] s5610:
Did you flash by RSD? "Radio" partition should be rewritten completely in such cases.

Recently I bought destroyed Moto X Sprint for $18 (link) with free shipment. Externals not usable, but motherboard was completely alive. Do search for smashed Sprint (xt1056) or Verizon Developer Edition. Last one is costy, Sprint is cheaper. E.g., $69 (link) for working unlockable-rootable unit.
[Moto X Android Development] seafood99:
I got just over 28k on 10.5 (see screenshot below)

While being on 10 my score almost hit 30k.

So I dropped almost 2000 points in benchmark score, which is a shame.
[Moto X Android Development] s5610:
I saw this several times here at r10.5, so yes, problen exists. But with CPU 0, not 1. Reboot cures this stuck.
[Moto X Android Development] St.Noigel:
IMHO - r10 is the best for now )
[Moto X Android Development] seafood99:
Could someone explain these screenshots for me please, does it mean my cpu1 is stuck at 1.2? Does my cpu1 even work?
[Moto X Android Development] s5610:
Would recommend better alternative: Kernel Tweaker (first install BusyBox) or System Monitor. 1.2GHz stuck can be easy seen in real-time there.

St.Noigel

Yeah, I did roll back at r10 too )
[Moto X Android Development] seafood99:
Cpu1 is either offline or at 1.2...

So how do I roll back to v10?

Before flashing, do I have to rename the file's name i changed when installing 10.5?
[Moto X Android Development] s5610:
You can delete it. St.Noigel didn't had it at all

Or leave it. Try both. (When renamed, it becomes inactive, same as deleted)
[Moto X Android Development] seafood99:
But isn't cpu1 ment to stay offline most of time?
[Moto X Android Development] seafood99:
Screenshot:
[Moto X Android Development] Ejvyas:
Does the latest versions of this kernel support AOSP lollipop ? There is no such mention in OP but changelog mentions it at r4-r5
[Moto X Android Development] s5610:
Yes, it is. He should keep from awakening as much as it can be )

I think the answer is no. No AOSP support (
[Moto X Android Development] seafood99:
Well then everything is fine, isn't it?
[Moto X Android Development] _MU:
I wish your kernel became adapted to AOSP once again, especially CM12. Your kernel has a lot of nice features that has boosted my AnTuTu score in 3k points, such as disabled FSync. I was thinking here what AnTuTu score can I get with FSync disabled and overclock @1.9GHz '-' That would make my Moto X literally fly haha.
[Moto X Android Development] s5610:
Yep! If it works, don't fix it )

---------- Post added at 01:20 AM ---------- Previous post was at 01:19 AM ----------

I want it too ))
[Moto X Android Development] zwliew:
It seems like I have no choice but to send my Moto X for warranty. Not sure if I even applied for it when I bought it though. :/

My Moto X's WIFI and bluetooth won't turn on. Have spent hours trying to find the cause. /persist folder is where everything should be, flashed stock fasboot image.

Does anyone, preferably in Singapore, know how the warranty process works? Thanks :)
[Moto X Android Development] XtraWho:
$75 service charge if it's not factory.

Recover back to your original factory IMG and de-root.

If its under warranty, you can call or email, if your a good people person you should have no problem talking the rep into sending you out a replacement.

What moto does most the time is just swaps your device if they are out of the device like yours 90% moto will just bump you up to the next lineup.

Good for you that you have the 1st gen, your chances of getting a 2nd gen are looking good especially if you have like a custom pure addition.

Good luck
[Moto X Android Development] kenosis:
Axis Plus Pte Ltd

33, Ubi Avenue 3, #05-52 Vertex Tower A

Singapore 408868

This is Motorola Authorized Service
[Moto X Android Development] _MU:
Have you tried this? http://xdaforums.com/showpost.php?p=57932376&postcount=693

It's to clear the Radio/Modem cache (I know you've already flashed the stock image, but it's worth trying it...)
[Moto X Android Development] zwliew:
Thanks, I'll try to visit the service center and see what I can get out of it.

Thanks, but while flashing the stock image I cleared those.

Is this the service center? If so, I'll try to visit it when I have the time. (right on the other side of the country :| )

By the way, do you know their contact number? Thanks. Never mind, I found the website axisplus.com
[Moto X Android Development] kenosis:
+65-6602 8268
[Moto X Android Development] zwliew:
r10.6

A broken Moto X never stopped me :). Continuing with the rebase, here is r10.6!

This time, CPU1 should really not be stuck at 1.2 GHz anymore. For better performance and touchboost, please enable the PowerHAL by ensuring that /system/lib/hw/power.msm8960.so is where it should be.

Download:

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

Changelog:

1. Merged a series of patches from Google, introducing new freezer calls to reduce task wakeups. This should save some battery in the long run.

2. Added FSync control (if you guys want it, I can add dynamic FSync)

3. Merged a patch from CAF that fixes overcalculation of load which causes mpdecision to be overly aggressive.

4. Merged workqueue subsystem from Linux 3.8 which reduces CPU hotplug latency. Workqueues are used widely throughout the kernel, so this is important too.

5. Merged the faster NEON crypto operations, namely AES, SHA1, and enabled support for SHA512. This will speed up things like encryption.

6. Merged a series of patches from upstream which introduces a new infrastructure for parking and unparking kernel threads. Thus, this reduces hotplug latency.

7. Merged a patch from upstream which fixes a bug in the IPV4 subsystem that causes the system to go out of memory.
[Moto X Android Development] kenosis:
Thanks for the update.

Have you checked with Axis Plus?
[Moto X Android Development] zwliew:
I've emailed them last night, awaiting for a response.
[Moto X Android Development] seafood99:
Excuse me but if I want to enable Power Hal, where should that file be?
[Moto X Android Development] kenosis:
It should be Ok if you see power.msm.8960.so under the following directory.

system/lib/hw/power.msm.8960.so
[Moto X Android Development] St.Noigel:
It should be in

/system/lib/hw/power.msm8960.so ;)
[Moto X Android Development] nathanharmonn:
So what exactly does power hal do? :confused:
[Moto X Android Development] s5610:
Google tells: "Android Power HAL is the user mode agent for boosting the platform performance when user interactivity is important."

So, as I got, it may be useful, or may be not, if the system is running on a custom kernel with its private way to do things. Power HAL and custom kernel should be aware of each other, and not do double work, or smth.

...

zwliew,

Ha-ha, nice ) When I tap the screen, both CPUs never get higher than 1026 MHz. It should save power, I believe )
[Moto X Android Development] seafood99:
And if i would like to disable it?

Just rename it back to 'bak' at the end?
[Moto X Android Development] Travisdroidx2:
Yes .bak at the end will turn it off. That goes for apks also.
[Moto X Android Development] zwliew:
How is r10.6 compared to r10 or previous releases? Any regressions, or quirks?
[Moto X Android Development] seafood99:
It feels smooth, but I can't say much about battery life, because I just installed it.

Edit:

Antutu score is only 27500, compared to 29500 on v10
[Moto X Android Development] ConstantHero:
What's a benchmark score mean anyway, if the phone runs well, smooth and fast what's the point. These kernels are great and we're lucky to have a dedicated Dev working on them.
[Moto X Android Development] s5610:
Is there an application for Android, that emulates user activity? I.e. browser opening, office typing, gaming, and all this looped in a chain.

Then after the battery is drained out, we can measure time spent, or how many mAh were eaten, and compare the results between different kernel setups :)
[Moto X Android Development] DaRkRhiNe:
I think battery life has taken a hit. The phone does feel smoother though. Thanks for your hard work :good:
[Moto X Android Development] seafood99:
Probably nothing to do with this kern, but does your Google Now app works fine?

Today i found out that whenever I start the Google app, and TYPE in a search command, it will not show any results. When I search by saying the search command out loud it does work.

So the bug only occurs when typing search commands.

I made a little recording to explain it better:

Google Now search app does not work: http://youtu.be/Cc9lM21hD_s

Anyone got an idea on what could cause this?

I tried to wipe cache and even went back to the fabric version of the app, then it worked again but as soon as I download any update the bug comes back.
[Moto X Android Development] drdeathly:
Just wanted to say thank you for making such a fantastic kernel available. I was really frustrated with my Moto X's lack of battery life and fast charging but your kernal (10.6) solved that beautifully! Truly Flash and forget! Everything works perfectly.

Verizon DE Moto X 32gb running stock 4.4.4 unlocked and using on T-mobile.
[Moto X Android Development] nathanharmonn:
Which version \settings can be used for better battery life? I'm under clocked to 1100 MHz and under bolted by 50. Still seems to be struggling to reach the same amount of battery
[Moto X Android Development] Hasuris:
Is there a way to disable swype2sleep? I have the navbar disabled and can't use Swypes "swype from space to backspace" gesture cause it sends my phone to sleep.
[Moto X Android Development] zwliew:
r10.7b beta for Moto X - 20150219

Here is r10.7. My Moto X is currently in the service center and won't be back for at least 2 weeks. Until then, this may very well be the final beta build before the stable r11 release.

Download:

Removed again

Note: It is not on my file hosting server as I'm currently overseas on a limited data network. Thus, I am unable to upload the file onto the server.

Changelog:

1. Reintroduced the 189 MHz frequency step

2. Introduced faux123's sound control driver.

3. EXPERIMENTAL Limiting max frequency to 1 GHz on suspend. If it is quirky for you, please report on the thread and set /sys/module/cpu_limit/parameters/suspend_max_freq to 0. (Disables it)

4. General fixes all around

5. General performance improvements all around

6. Enabled an option in the RCU subsystem that reduces CPU wakeups and saves power

The tunable is in /sys/kernel/touch_control/s2s_enabled.
[Moto X Android Development] kenosis:
Thanks for the update. Service in SG?

I can't boot after 10.7 is flashed. Stuck at Warning Unlocked Boot loader screen.
[Moto X Android Development] Hasuris:
Mine won't boot as well
[Moto X Android Development] zwliew:
Sorry, a questionable change rendered it unable to boot.

If you are able to boot to recovery, flash an older kernel zip.

Otherwise, boot to fastboot and flash an older boot.img(extract from an older kernel zip). then, reboot to recovery and flash the entire zip
[Moto X Android Development] Hasuris:
No problem, i could Boot to recovery and flash an older zip. I don't know, what to do with the tuneable. Somehow, the two terminalemulators I've tried,crashed right away. Maybe I did to much to my system via xposed. Guess I have to wait till lollipop finally drops. Thanks for your work!
[Moto X Android Development] kenosis:
Thanks, I change back to 10.6
[Moto X Android Development] zwliew:
r10.7b beta - 20150220

Pushed r10.7b which includes an urgent fix for the bug which caused users to bootloop. As usual, check out the changelog in the r10.7 post and test the suspend driver.

Download:

Removed again - need to really look into this properly
[Moto X Android Development] St.Noigel:
Hm... Stuck on bootlogo.. r10.7b beta - 20150220
[Moto X Android Development] zwliew:
r10.8 beta for Moto X - 20140221

Finally, this should very well be the last beta release before r11. I've finally found the root cause of the boot issues in r10.7 (thanks to a little testing by [MENTION=4168829]ADMj[/MENTION]tg).

Download:

https://www.google.com/url?q=https:...sntz=1&usg=AFQjCNGIv5cebmS4jxuv2sZywqUZuqAxqg

Changelog (from r10.6):

Fixes

- Merged some misc fixes in cpufreq and timer subsystems to prevent meddling with offline CPUs

- Merged further fixes for the futex bug a few months ago

- Merged ARM fixes for GCC 4.8 in the future

Improvements

- Introduced faux123 sound control

- Added a 189 MHz CPU frequency step. This uses a lower voltage and L2 bandwith compared to 384 MHz, and thus should save more battery in idle cases like music playing.

- Enabled KSM

- Enabled conservative and powersave CPU governors

- Enabled more TCP congestion avoidance algorithms

- Merged the latest LZO patches from upstream which bring about enhanced (de)compression performance and efficiency. Notable speed-ups include boot times.
[Moto X Android Development] kenosis:
Downloading r10.8.

I feel smoother and faster than 10.6
[Moto X Android Development] virusalone:
Reverting back to r10. Got couple of fc's and my screen was black at the bottom... Then rebooted and reverted back to r10. Used 10.8 for a 4 hours.
[Moto X Android Development] zwliew:
Were you using the 189MHz step as minimum frequency? If so, try using the 384MHz step instead. Maybe the lower voltages of 189 MHz caused the FCs.

It seems the black bar is simply your wallpaper. Re-apply it.
[Moto X Android Development] CsR0501:
V10.8 works awesome here... No problems at all! ✌
[Moto X Android Development] virusalone:
I didn't change anything, just flashed and used.

No, it was like display is disappeared. I run the instgram anf there it was too, then the app fc.
[Moto X Android Development] zwliew:
Is it possible to reproduce the bug, and get a dmesg when you encounter it?
[Moto X Android Development] virusalone:
Ok, I will try to get the dmesg next time I will see it.
[Moto X Android Development] nhizzat:
I had some strange behavior with 10.8. I had a couple random reboots with 10.6 which made me try 10.8. Last night on 10.8, my battery level steadily declined while charging using my Nexus 7 usb block. I heard the sound that plays when I plug in to charge and the status bar icon indicated the phone was charging. I tested the charger with my Nexus 7 and it started charging immediately. With a dead battery, I plugged into my Anker 5-port wall charger and everything went was normal.

I'll see if I can reproduce the problem. If I do, how can I retrieve info that can help?
[Moto X Android Development] testuser0072:
zwliew your latest version 10.8 works like a charm on my XT1052 even when I undervolting a bit. Thank you.
[Moto X Android Development] seafood99:
10.8 works well so far, thank you.
[Moto X Android Development] zwliew:
In terminal,

su
dmesg > /storage/sdcard/dmesg.txt

Attach dmesg.txt to a reply. Thanks :)

By the way, if you have random reboots or any other misbehaviour, please report in the thread.

For random reboots, instead of "dmesg", do "cat /proc/last_kmsg".
[Moto X Android Development] taianf:
Any chance of including smartmax governor o this kernel?
[Moto X Android Development] athulele:
I see that r-11 is there on the releases page.

just installed. So far so good
[Moto X Android Development] stealtheye:
What does the sweep2sleep feature in this kernel mean?
[Moto X Android Development] hbar98:
While the screen is unlocked, sweep2sleep does the same thing as pushing the power button. Only instead of pushing the button, you sweep your finger over the softkeys at the bottom of your screen. You can sweep from right to left, or left to right.
[Moto X Android Development] athulele:
When you swipe on the navbar, it locks the phone.
[Moto X Android Development] seafood99:
My score on v11
[Moto X Android Development] adm1jtg:
Is that score lower or higher then previous versions
[Moto X Android Development] stealtheye:
I don't mean to be rude but thats not particularly high. Running stock cm12, so just normal cm12 with normal cm12 kernel i got 29k.
[Moto X Android Development] seafood99:
I don't state that it's high, do I?

Score is about the same as previous versions, although on v10 i got 29.5k.
[Moto X Android Development] taianf:
So what's new on v11?

Changelog hasn't updated.
[Moto X Android Development] stealtheye:
No I never said you did. Don't stress I was merely just enquiring. No disrespect.

Oh ok. interesting.

I wanted to ask r11 is up for download but changelo only goes to r8 (i think), so wheres the latest changelog.

And can anyone help me. I'm on cm12. Ambient display annoys me because it displays, then as soon as the screen is touched, anywhere, the screen turns on to lockscreen. That chows battery especially when you're moving around the phone a lot and picking up and putting down etc.

So can anyone help as to how to get the double tap to wake? I see its not included in this kernel, I have btw requested it as a feature.

---------- Post added at 06:38 PM ---------- Previous post was at 06:35 PM ----------

If I update cm12 nightly will it overwrite this kernel with its stock one?

And is there improvements with this kernel thats worth the change?

---------- Post added at 06:47 PM ---------- Previous post was at 06:38 PM ----------

does this kernel ven support cm12 5.0.2 lollipop?????????????????????????????????????????
[Moto X Android Development] Travisdroidx2:
No this kernel will not work with cm12. Flashing cm12 will install a different kernel.
[Moto X Android Development] zwliew:
It's still in private testing phase.

No, it doesn't support CM 12.
[Moto X Android Development] DaRkRhiNe:
So can we install it or wait for the release?
[Moto X Android Development] Hitesh1802:
Hey developer please lower down brightness little bit, In low lighting screen brightness doesn't go to 0% at all. I have to use velis auto brightness app to solve this issue but the app eats part of ram. Hope you will fix this in future release.
[Moto X Android Development] zwliew:
You can install it, but it is not fully tested yet.

This isn't a 'bug', as implied by your statement. However, I'll see if I can do something about it.
[Moto X Android Development] HydrogenCyanide:
Using R11 and so far it's so Smooth, for me it's the best kernel on stock.
[Moto X Android Development] zwliew:
r11 - 20150307

Good news!

I recently retrieved my Moto X back from the service centre. Despite them saying that they would not fix my Moto X since it has been unlocked, my Moto X has been "miraculously" fixed! As such, r11 is here.

You can install this using zwliew_Kernel Updater. You have to be on r10 or earlier to do this. This is because zwliew_Kernel Updater doesn't have support for beta releases(decimal-place releases: r10.7, r9.3, etc.) yet. I plan on adding support in the future.

It's been a long time since r10.

Here is the download:

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

Changelog (from r10):

Rebase

Using stock mpdecision, PowerHAL and GPU governor

Built using Google's GCC 4.8

General performance optimizations and bug fixes

Bump up interactive governor timer rate to 30K for better power savings

faux123's sound control
[Moto X Android Development] kenosis:
Thanks for the update.
[Moto X Android Development] kicker22004:
Also for my fellow Republic Wireless users, it seems our 4.4.4 update has now allowed us to use this kernel! Still testing it but seems good so far.
[Moto X Android Development] numanair:
Am I right to say it's pretty risky to test this without having a 4.4.4 sbf? What if you want to go back to the stock kernel? Have you tested all wifi calling features?

Edit: one other thing: is there any way to restore back to stock 4.4.4 without the rw sbf? Like flashing the ota over a Sprint sbf or something?
[Moto X Android Development] kicker22004:
Well as long as you pull your stock kernel then no there is no risk. Also no you can't use sprint any thing. Now I'm wondering if I can use the 4.4.2 sbf still I didn't see a bootloader update... I think I'll test this now for others.

Update: Ok so as usual they have stopped downgrading (big surprise there). So be careful to make a backup of your phone so that if you break it you can restore while we wait for a SbF. This is for Republic Wireless users.
[Moto X Android Development] kenosis:
Is default Minimum Frequency 384MHz in r11?
[Moto X Android Development] zwliew:
Default is 384 MHz, able to be under clocked to 189MHz
[Moto X Android Development] kenosis:
Thanks for quick reply
[Moto X Android Development] Travisdroidx2:
Mine defaulted to 189.
[Moto X Android Development] numanair:
Sorry if this is a bit off topic, but how do I pull the kernel?

I think the bootloader is different for 4.4.4 (B7). I had to flash 4.4.2 after something went wrong with my 4.4.4 flash the first time. Obviously it wouldn't boot in this state, but I was able to flash TWRP and copy the OTA zip to the internal sd. I then flashed the stock recovery and used it to install the OTA. I do not recommend this process since downgrading is risky.
[Moto X Android Development] zwliew:
You can still use this kernel on 4.4.2, just that the WiFi calling won't work. When you want to revert back to stock, you need to restore the stock boot.img and files in system/lib/module
[Moto X Android Development] kicker22004:
If you would like I'll post a link to my stock boot.IMG so that you can fastboot install it if needed. Would that make you feel better? Also his app will allow you to backup your kernel prior to downloading. Always save your stock.
[Moto X Android Development] makysssdroid:
Hey that work in cm12 brot ?
[Moto X Android Development] numanair:
That would be helpful if it's not too much effort.

I'm not sure why you would need to do this. I had to do this because the SBF for Republic Wireless 4.4.4 is not available to the public.
[Moto X Android Development] kicker22004:
Yeah I'll post it tomorrow once I get some time. I'm busy playing with deoxed and this 4.4.4. Having issues with nfc
[Moto X Android Development] Hasuris:
I am still trying to disable s2s. I tried via adb (remotely)

adb shell

su

echo 0 > /sys/kernel/touch_control/s2s_enabled

but this appears to do nothing at all. How can I list (is this even possible?) what's in the tunable? My experiences with adb are very limited and Google hasn't got much about this stuff.

I can't use any terminalemu on my Moto cause all I've tried so far crash instantly.
[Moto X Android Development] zwliew:
A quick check appears that the sweep2sleep interface may be broken. I'll look into it when I have time, will be fixed in the next release. :good:
[Moto X Android Development] adm1jtg:
Works for me
[Moto X Android Development] Travisdroidx2:
Works for me as well.
[Moto X Android Development] kicker22004:
Swipe is also working for me. (RW User)
[Moto X Android Development] zwliew:
I'm talking about the SYSFS file that allows you to disable/enable Sweep2Sleep.
[Moto X Android Development] zwliew:
Sorry, it seems like the interface is working correctly. Maybe it is something regarding root access of the terminal (?).
[Moto X Android Development] Hasuris:
I was using r10.8. Just updated to r11 and now it's working. Maybe my files were messed up. Thanks for your help and work on this nice kernel :)
[Moto X Android Development] zwliew:
Anyone up for beta testing the upcoming r12?

Edit: Those interested please PM me, thanks. :)
[Moto X Android Development] kenosis:
Yes
[Moto X Android Development] kicker22004:
Sure (RW User)