yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] TeamMex:
console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags

has you added base and pagesize?

--base 0x00000000 --pagesize 2048

What branch are you used?

EDIT:

You have a kernel panic

<6>[ 0.087356,0] NET: Registered protocol family 16
<6>[ 0.090729,0] DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>[ 0.091544,0] Android kernel panic mmc handler initialized
[Moto G Original Android Development] Shivam Kuchhal:
Its falcon branch and what to do to fix the panic? There isn't anything suspicious in the kernel.
[Moto G Original Android Development] TeamMex:
Yes falcon but mr1,mr2 or mr3? o.O

because for me MR1 never worked xD
[Moto G Original Android Development] Shivam Kuchhal:
Mr3

The issue is in something else related to packing the boot.img but I can't find the issue. Same issue is faced by [MENTION=1006674]lost101[/MENTION]
[Moto G Original Android Development] TeamMex:
Maybe some of your process are bad process...

This source only work on 4.4.3 or higher.
[Moto G Original Android Development] Shivam Kuchhal:
I have latest stock 4.4.4 running right now on my device. I am facing same issue with Moto E kernel also. :(

Never faced it with Xperia(s). I will link you to the packing script and tools today itself.

P.S. Last time I faced the issue I used ramdisk from your kernel and it booted and worked fine.
[Moto G Original Android Development] TeamMex:
hahaha I tell you xD bad ramdisk
[Moto G Original Android Development] Shivam Kuchhal:
Again I switched to ramdisk from your kernel and its working fine again. See how different it is compared to the one inside aero kernel and stock XT1033 kernel. https://github.com/shivamk11/androi...mmit/4612cee409b8eaa898276b0b8c2191f724b5ec33

Also time for an announcement, new kernel for stock soon.
[Moto G Original Android Development] Shivam Kuchhal:
Phantom Kernel r4

Here's the kernel I promised for stock ROM lovers! :D

Its a huge huge release and you're recommended to flash it at all costs. :p

Changelog:

Single flashable zip for both GPE and Motorola stock ROMs.

Kexec hardboot support! Now you can use this kernel with Multi ROM. :D

Built from scratch.

Updated to latest Motorola sources(MR3).

Updated to latest linux upstream i.e. 3.4.103.

CPU Underclock up to 96 mhz!

Compiled using latest Linaro 4.9 with cortex a15 optimizations(they work great).

More optimization flags.

Kernel NEON mode.

A bit more sliced AES routines.

Patches to MM.

Patches to hrtimer.

Patches to timer.

Patches to mutex.

Patches to futex.

Patches to interactive.

Patches to tick.

Patches to binder.

Over 20 patches to devfreq- Add conservative governor, fix crashing, fix reporting and much much more.

Patches to gic.

New updated Sound Control driver.

Added optimized ARM RWSEM algorithm.

A much improved simple_ondemand governor. Thanks to [MENTION=4855459]Blechd0se[/MENTION]

System wide high priority power efficient workqueues for workqueue/PHYLIB/block/ASoC/regulator.

Input: Send events one packet at a time.

Stripped auditing.

Readahead: make context readahead more conservative.

SMP patches.

Disabled Gentle Fair Sleeps.

Patches to cpufreq.

More patches to readahead.

Fix ROW crashing.

... and all the feature of r3 meant for CAF kernel.

... and much more stuff, head over to github and see yourself.

Downloads available in dev-db as usual.

P.S. I will try to update CAF kernel soon too.
[Moto G Original Android Development] abhi0502:
Kexec patch (Multirom support) has been included for stock ROM kernel?
[Moto G Original Android Development] Shivam Kuchhal:
I think that was mentioned in the changelog itself. :rolleyes: :p
[Moto G Original Android Development] Bundizle:
only stock zip available :crying:
[Moto G Original Android Development] abhi0502:
My bad sorry

That's great wonderful
[Moto G Original Android Development] AgentChaos:
what do I do before flashing if coming from AeroKernel?

do I flash stock kernel, stock kernel modules, then flash this kernel?
[Moto G Original Android Development] guitarfreedom:
Just flash this kernel and wipe dalvik cache. If wifi doesn't work, flash stock kernel modules ;)
[Moto G Original Android Development] gharrrrrr:
Wiping dalvik does nothing for a kernel flash. Absolutely nothing. The kernel doesn't even touch cache or dalvik. To do it proper, yes [MENTION=4776892]AgentChaos[/MENTION]. Either dirty flash ROM or reflash stock kernel and then flash this kernel. Dirty flashing kernels is never recommended or a good idea.
[Moto G Original Android Development] doomwithdon:
Where is AOSP R4 kernel download? can only see downloads for R3 AOSP and R4 STOCK..
[Moto G Original Android Development] Shivam Kuchhal:
r3 for AOSP is not out yet. Also there is nothing much to update in it except making WiFi work on all ROMs except the Gummy based ones. :p

Still I will see what I can do when I have time. Exams coming up from 15th and they will end on 27th.
[Moto G Original Android Development] doomwithdon:
Suggest you modify the title of this thread as it can be misleading.. All the best for your exams :)
[Moto G Original Android Development] Shivam Kuchhal:
For those who aren't aware of it.

You can now toggle sweep2dim on/off easily with the help of latest version of Trickster MOD. No more need of playing with init.d scripts. :p
[Moto G Original Android Development] mchauhan:
Thank you..

Looks like a nice kernel for my Stock 4.4.4 ROM.

Are there any recommended settings?
[Moto G Original Android Development] mrbojangle69:
There are no links available to download Phantom.
[Moto G Original Android Development] antarix:
For gpe as well?
[Moto G Original Android Development] Shivam Kuchhal:
I think that was mentioned in the changelogs too. [emoji19]

Oh...That's really sad. :(
[Moto G Original Android Development] Delgado666:
Does this kernel has fast charge? I don't see that in changelog.

Do you have any plan to implement it? I need that function
[Moto G Original Android Development] mrbojangle69:
Don't worry anymore, some minutes after I posted the lack of download links maybe a moderator put them back again.

Finally you have been able to compile the kernel into a boot.img format. Congratulations mate!!!
[Moto G Original Android Development] Shivam Kuchhal:
They never disappeared in the first place mate. ;) :p
[Moto G Original Android Development] mrbojangle69:
Ok, so it might've been an issue with Chrome's browser not showing the download links. Sorry for the incovenience, it was my fault then. Thanks.;)
[Moto G Original Android Development] AgentChaos:
Any recommended settings, is it okay to use fauxclock app to tweak this kernel?
[Moto G Original Android Development] Shivam Kuchhal:
GPU Governor- simple_ondemand

Minimum frequency- 96 mhz

and yes its fine to use FauxClock but just in case, I use Trickster MOD myself along with FauxSound.
[Moto G Original Android Development] Feyerabend:
Using it on stock rom and it works flawlessly, thank you for your effort! Btw, d2w worked perfectly yesterday, but today it works whenever it wants to. Anyone facing this?
[Moto G Original Android Development] Shivam Kuchhal:
Yeah it works only when phone is awake and not in deep sleep. Pocket mode and deep sleep implementation creates issues when any of the features are turned off.
[Moto G Original Android Development] s.sawrav:
That's what I'm facing in experience,so if I turn off those features will the touch work after wake?

Also please release r4 for aosp.

Thank you.
[Moto G Original Android Development] Shivam Kuchhal:
Touch won't work after you turn them off, its really annoying to people like me who don't like to use such features.

Anyways, r4 for AOSP will come when my exams are over(maybe).
[Moto G Original Android Development] s.sawrav:
Same here those features are annoying, anyway whenever you choose to release r4 for aosp,please don't include these features(if you can).

Waiting for it.
[Moto G Original Android Development] Shivam Kuchhal:
Latest release for stock ROM is working with GPE or not? Its supposed to work but one user has just said that it doesn't.

Please confirm soon.
[Moto G Original Android Development] abhi0502:
Yeah its working in xt1033 converted to gpe

See my signature
[Moto G Original Android Development] Shivam Kuchhal:
Thanks for confirming mate! :)

Others just seemed to ignore it. :rolleyes:
[Moto G Original Android Development] s.sawrav:
Any news on r4 for Aosp?
[Moto G Original Android Development] Shivam Kuchhal:
Oh yeah. Finished working on it.

It just required small workaround to make wi-fi work. Release for AOSP soon.
[Moto G Original Android Development] Shivam Kuchhal:
Okay so I am back with an update for AOSP ROMs! ;)

The kernel base is still Gummy because of several reasons-

Its done by the awesome [MENTION=4112553]dhacker29[/MENTION]

Its CAF!

Its rock stable.

It doesn't have RAM leak issues.

Note that the kernel isn't compatible with Quarx CM11.

Changelog:

Kexec hardboot support.

Optimized Linaro 4.9.

More compiler flags.

Two separate zips- one with anykernel and the other without it. You can use anykernel zip in case if other one doesn't work for you.

Fixed WiFi.

Up to date ramdisk from CM.

Downloads available in dev-db as usual.

P.S. anykernel zip is recommended to flash only if other one doesn't for you.
[Moto G Original Android Development] abhi0502:
That's wonderful downloading
[Moto G Original Android Development] F3niX:
Can it be flashed over xperience 16? I have installed Multiboot also!
[Moto G Original Android Development] gharrrrrr:
With kernels, never dirty flash. First dirty flash current ROM then new kernel. Or clean flash stock/default boot img and modules. The differences between kernels can lead to some serious problems if you just flash one kernel over another. So just play it safe and dirty flash ROM or a stock kernel first.
[Moto G Original Android Development] syrkles:
Very nice kernel have dt2w disabled and everything working good
[Moto G Original Android Development] ZareliMan:
I have a question, do you use/suggest disabling MPDecision ?

I mean it can mess with clocks and governor AFAIK.
[Moto G Original Android Development] OldYellowBricks:
nah. he said that mpdesicion is meant to be used with this kernel. I've gotta say that battery life is amazing on this kernel!

Running CrDroid build 16
[Moto G Original Android Development] moscka:
I'm on Mokee. Dirty reflash the rom and flashed the kernel but I got systemui fc. Tried the anykernel version too.
[Moto G Original Android Development] Shivam Kuchhal:
I don't know if a kernel can cause system ui crash. Clean install ROM and then any kernel zip.
[Moto G Original Android Development] xxAirwickxx:
Running good on BrokenOS. Any chance to get fast charge ?
[Moto G Original Android Development] ZareliMan:
And it doesn't restore stock frequencies ?
[Moto G Original Android Development] adinkwok:
[MENTION=4984300]Shivam Kuchhal[/MENTION] Could you tell me the correct wifi commits for Gummy's kernel to be used on CM? Thanks very very very much
[Moto G Original Android Development] Shivam Kuchhal:
No, it supposedly does nothing and yet has chances to screw your phone(it did ruin my last device maybe).

There's no overclock in this kernel so returning to stock frequencies doesn't matter and your desired minimum frequencies will stick.

Here you go-

https://github.com/TEAM-Gummy/andro...8226/commits/kk4.4/drivers/net/wireless/prima

https://github.com/TEAM-Gummy/andro.../kk4.4/arch/arm/configs/msm8226_mmi_defconfig

It was after a lot of testing that I decided to go for Gummy kernel, its seriously the best!
[Moto G Original Android Development] adinkwok:
I've been testing too with CM's kernel and gummy (without WiFi ._.) For the past week and I've come to acknowledge that gummy is more supreme!

---------- Post added at 10:30 PM ---------- Previous post was at 10:05 PM ----------

I'm a bit confused, which ones should i cp?
[Moto G Original Android Development] syrkles:
I get no signal after flashing on new omni xt1031
[Moto G Original Android Development] Shivam Kuchhal:
You can try replacing complete PRIMA folder if you're confused about cherry-picks.

I don't think that happen but as OMNI is a lot different you can try this.

Clean flash OMNI ROM>Flash anykernel zip of Phantom Kernel. I hope it helps.
[Moto G Original Android Development] abhi0502:
Im getting best battery life with this kernel in stock rom as well as custom roms i kept in both the roms same settings

Here is my settings

Governer-interactive

Scheduler-deadline

Min and max-96 and 1900

MP decision - off

Gpu governor-simple_ondemand

Multicore power saving - aggressive
[Moto G Original Android Development] Shivam Kuchhal:
Turn MP Decision on, I never told anyone to turn it off. Its needed for making almost everything run in the device properly.
[Moto G Original Android Development] abhi0502:
I turn on MP decision n believe me im getting better battery life if i turn it off n less battery dropout for stock rom is concerned

i can play games like fifa 15 n asphalt 8 with no lags

With MP decision on i was surfing internet with 3g network for 15 min battery dropout was 5-6%

With MP decision off with 3g net battery dropout was just 2-3%
[Moto G Original Android Development] Shivam Kuchhal:
That's really weird. MP Decision is needed for PowerHAL, frequency scaling and many other things.

Still good to know some new stuff! :good:
[Moto G Original Android Development] justanicename:
I'm testing his settings and for the couple of hours I do get better battery life. And performance has been great so far. Will test it some more in the coming days.
[Moto G Original Android Development] syrkles:
Anykernel zip worked well on omni thank you
[Moto G Original Android Development] fermasia:
Amazing kernel, congrats. Working great with Aospa, far better than any other custom kernel in my opinion.
[Moto G Original Android Development] Shivam Kuchhal:
Thanks for appreciation! :D
[Moto G Original Android Development] Gentilsatan:
Hi

Why with the latest stock i can't connect to my hotspot ? :(
[Moto G Original Android Development] Shivam Kuchhal:
No such issues here.
[Moto G Original Android Development] arpitkh96:
Is USB fast charge supported? If yes , how to enable it

Sorry if this is a stupid question.I rarely visit forums
[Moto G Original Android Development] Black_Eyes:
Can i flash it on Cm11 by percy_g2 ?
[Moto G Original Android Development] mrbojangle69:
I have two doubts. Which version is recommended for LiquidSmooth, aosp or aosp-anykernel? Any problems with lockscreen freeze issue with r4?
[Moto G Original Android Development] justin1221:
If it does.... Trickster mod will let u turn it on.

Moto.G_XT1031_CrDroid.B17
[Moto G Original Android Development] Shivam Kuchhal:
Yes.

Any of them should do fine I guess. :rolleyes:
[Moto G Original Android Development] Juste300:
I am using CrDroid rom. Want to try your kernel so there are 3 files in the download link which one I should download?

Phantom-Kernel-r4-AOSP-ANYKERNEL.zip

Phantom-Kernel-r4-AOSP.zip

Phantom-Kernel-r4-STOCK.zip
[Moto G Original Android Development] hhp_211:
http://xdaforums.com/showthread.php?p=55560200
[Moto G Original Android Development] eddydc1:
Any recommed setting for this kernel?
[Moto G Original Android Development] syrkles:
Aosp or anykernel
[Moto G Original Android Development] fermasia:
I'm having a small issue. Sometimes my camera freezes when taking a picture (doesn't save it) and after that I need to reboot to get it working again. But right after the reboot it works fine. Is it some known issue or should I provide a logcat? I'm using latest Aospa (beta2) and ART.
[Moto G Original Android Development] Shivam Kuchhal:
Its a known issue with some ROMs. Strange enough, some people don't even face it(even me). I can't help you with this unless somebody fixes this.
[Moto G Original Android Development] Juste300:
Doubletap2wake/sweep2wake are not working on XT1033. Though these are working on Xperience kernel.

[IMG="Xt1033 Phantom kernel"]http://i.imgur.com/JJB5wYF.png[/IMG]
[Moto G Original Android Development] Shivam Kuchhal:
If you want to use them then enable them through Trickster MOD. Support for Wake gestures will be added later on.
[Moto G Original Android Development] dhruvpaul:
Will this work with crDroid??

As dt2w and s2w isn't working on it (XT1033 crDroid) on xperience kernel! :crying:
[Moto G Original Android Development] Shivam Kuchhal:
Its compatible with all ROMs except CM11 by Quarx. DTTW/S2W won't work in deep sleep with this kernel though, just in case you don't know.
[Moto G Original Android Development] dhruvpaul:
Thank you brother... Will soon review it..
[Moto G Original Android Development] Shivam Kuchhal:
Phantom Kernel r5

I am back with an update for both stock and AOSP ROMs. :)

Good amount of change in code and you're as always, recommended to flash it.

Changelog:

Merged latest v3.4.104 linux upstream.

Merged peregrine kernel changes(only stock for now).

Added smartmax governor.

Added tripNdroid scheduler.

bfq-iosched: Tuning for SSD.

af_unix: speedup /proc/net/unix.

Lots of patches to block.

Downloads available in dev-db as usual! :)
[Moto G Original Android Development] dhruvpaul:
Yeah... Working Flawlessly on my XT1033 on crDroid! Loved it ya! :laugh:

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

Can anyone please tell me the differnece between AOSP and AOSP anykernel??

And yes.. I am using phantom r4 and can i flash r5 over it (custom kernel over a custom kennel) ??
[Moto G Original Android Development] DarkVanguard:
You can flash R5 over R4. Just make sure to wipe cache and dalvik afterwards.
[Moto G Original Android Development] pico hackr:
[MENTION=4984300]Shivam Kuchhal[/MENTION] its the first time i am using your kernel for stock rom in xt1033 , as far now i cant tell any thing about battery drain because it need few charging cycles to get settle down , i have UC'ed the CPU frequencies to min 96mhz and max 998mhz and the first thing i noticed is there is no any audio glitches while playing songs in music player in these frequencies .This is just awesome because i faced audio glitches in in other kernels even at 300mhz to 998mhz frequencies. Good kernel dude
[Moto G Original Android Development] ironman38102:
Does this kernel have multi-rom patch?
[Moto G Original Android Development] Shivam Kuchhal:
anykernel zip just swaps zImage and preserves your ramdisk so that everything works fine. Its useful for ROMs like Omni which are completely different than others.

Yes. Added that in OP too.
[Moto G Original Android Development] ironman38102:
Multirom with primary ROM as CM11 finally works with this kernel! Thanks!
[Moto G Original Android Development] dhruvpaul:
Thank you.. Btw will AOSP anykernel be useful for crDroid ?? Or I should go with AOSP?? Please help.

---------- Post added at 11:30 AM ---------- Previous post was at 11:29 AM ----------

Thankyou brother. :laugh:
[Moto G Original Android Development] moscka:
It seems that is a problem with Smartmax governor, it's not lowering the clock below 787mhz. Change the governor and the clock goes down, back to Smartmax and is 787 or above. I'm on stock and flashed over r4 + wipe cache and dalvik
[Moto G Original Android Development] billybully:
Dude, great work you're doing with this kernel. It is my daily driver along with Gummy ROM. I invite you to take a look at this.
[Moto G Original Android Development] mortrackz:
Same thing happened to me, and I'm also on gummy. I'm running xt1031 boost mobile.
[Moto G Original Android Development] ironman38102:
Can you please add double tap to wake and sleep? I really need that! I could've used xperience kernel but it doesn't have proper kexec patch.
[Moto G Original Android Development] gharrrrrr:
Read OP or use search tool much? This kernel has dt2w. Turn it on in trickster.
[Moto G Original Android Development] ironman38102:
Doesn't work when its in deep sleep. Dt2w in trickster says 0.
[Moto G Original Android Development] hhp_211:
Just noticing the frequencies for intellidemand are not set up for the Moto G

Version r5

I've not looked into too much but I'm testing these settings
[Moto G Original Android Development] Shivam Kuchhal:
intellidemand is made by [MENTION=3332811]faux123[/MENTION] and he has modified it for Moto G himself, I have not made any changes to his code and used it as it is. Still I will look into it.
[Moto G Original Android Development] xxAirwickxx:
works OK for me on BeanStalk ROM. I use Smartmax with some modifications ;)
[Moto G Original Android Development] sachin123:
Touchscreen doesn't work when a call arrives.

It works only after a reboot.

And the CPU frequencies are locked and cannot be changed for some reason. I'm on the latest build of CrDroid.

Any ideas? :/
[Moto G Original Android Development] Nandeh:
Did you install over a fresh install of the ROM or you had any other custom kernel installed?
[Moto G Original Android Development] ro11er:
Is dtw enabled? If not enable it using trickster and see of this fixes it.
[Moto G Original Android Development] Shivam Kuchhal:
My kernel doesn't have any issues which need any of the feature enabled forcefully. It must be something else.
[Moto G Original Android Development] ro11er:
Its a great kernel thanks for your work. But i am on carbon with this kernel and there are two issues with dtw. If its disabled screen will freeze after deep sleep and touch dont work. And dtw does not work in deep sleep.

Great kernel though and works with multirom fine
[Moto G Original Android Development] sachin123:
I flashed the kernel again and this issue hasn't occurred.

It would be nice if you could implement s2w and dt2w to work even in deep sleep.
[Moto G Original Android Development] Shivam Kuchhal:
Well its not meant to work in deep sleep in first place and I don't have screen locking issues. It might be an issue with carbon but nothing is wrong with the kernel. I do heavy testing before releasing.

I would be happy to implement if somebody fixes screen locking issues when those features are turned off.
[Moto G Original Android Development] GæxD:
You'll release a version for MIUI?
[Moto G Original Android Development] s.sawrav:
[MENTION=4984300]Shivam Kuchhal[/MENTION] is right,because people who doesn't want the d2w and want to use this kernel for it's performance and battery backup would not be able to use this kernel,why to implement a feature in the kernel which cannot be customized by the user,after all that's what custom kernels are about.
[Moto G Original Android Development] lilienthal:
Any chance to change screen color with this kernel!?
[Moto G Original Android Development] Shivam Kuchhal:
Wut m8?

And if you're asking about gamma control then Moto G doesn't have it yet.
[Moto G Original Android Development] dexterdre:
I have the same doubt dev

Enviado desde mi Moto G mediante Tapatalk
[Moto G Original Android Development] hhp_211:
hey was just looking around your git,,,

was doing my best to look at this to compare it to settings that came up,,, it looks like they are what he set,,, guess I dont understand why it has some frequencies that even his OC version did not have/support in either mr1 or mr2...

https://github.com/faux123/moto_g/blob/kk_mr2/drivers/cpufreq/cpufreq_intellidemand.c

Here are the settings that come up with

Intellidemand - Phantom Kernel r4,,, I believe r5 was the same but I was having an issue with 3G so went to r4 which cleared that up...

http://imgur.com/a/DYdFR

Oh well, no big deal, I'll keep trying some stuff out,

THANKS!

.
[Moto G Original Android Development] Shivam Kuchhal:
Thanks for the info, I would recommend everyone to try other awesome governors available in the kernel as intellidemand is not even updated since long. You have an array of options. Try smartmax, its really really good! :)