yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] adinkwok:
Seems like you didn't factory reset before flashing the ROM. Wipe data in recovery then flash ROM. Boot, then flash kernel
[Moto G Android Development] killerBRs:
Using Pink kernel.

"Mout USB Storage" Doesn´t work (No working)

Windows No Detect Driver in WINDOWS 8.1 U. 1

HELP :(

ADB NO WOrk..

TWRP No Mount..

CWM No mout Storage

:(

[MENTION=309187]edit[/MENTION]

Formatted Internal Memory.. and System..

Windows 8.1 DOn´t recognize A "Android" Driver :(

Mount USB in Recovery don´t work now... :(
[Moto G Android Development] killerBRs:
SUCESS USING ANDROID>Manual driver install>Moto ADB interface.

and using ADB push to transfer ROM AND Kernel :D
[Moto G Android Development] pinkflozd:
new version released

Linux 3.4.86

SMP from 3.5 with lots of patches

intelliplug tweaks

lots of mm tweaks

added missing CIFS

disabled lots of tracing and debug

some more patches
[Moto G Android Development] matttbe:
Hello pinkflozd,

First of all, thank you for all this work :)

I just have one question about this change in the last version:

I understand that with -O2 you can save memory (and a faster compilation time) but it can result of lower performances, no?

If the binary is lighter, it's better for small apps but here the kernel is loaded at startup.

Here is some benchmarks when using GCC with some different optimisation levels: for GCC 4.8 and GCC 4.7. In a few cases, the results are better with -O2 but most of the time, the results are better with -O3.

But it's true that the kernel doesn't do big and heavy computations... so hard to know if the performances are lower with -O2 :)
[Moto G Android Development] pinkflozd:
made some test and O2 and O3 seem to have the same performance, maybe eaven a little bit better with O2 so i switched to O2 to save those 2mb of ram
[Moto G Android Development] chetanya95:
Bug: fauxsound is not showing TPA6165 Extension setting with the latest kernel
[Moto G Android Development] hammer-is:
Are you sure? This is my view with the latest kernel+faux sound+latest Cyanogenmod nightly

I assume that "Headphones PowerAmp Gain" = TPA6165 Extensions as I have not tried running Fauxsound without Pink kernel so I don't know how it looks like with the stock Cyanogenmod kernel.

Can anyone confirm this?
[Moto G Android Development] SamsungAdmire:
there is an entirely different tab for tpa6165 extensions so no its not there
[Moto G Android Development] thescorpion:
I realy love you kernel , dunno if overclock is working but its realy flying

Thanks for your work m8
[Moto G Android Development] Tamarinde:
Q: Does overclock work on this kernel?

A: NO, currently the high freq's are used for little ram overclock

I get 17460 points on 1600mhz and 17200 on 1200mhz
[Moto G Android Development] SeannyM:
Benchmarks are inaccurate. Anything could have caused that.
[Moto G Android Development] Tamarinde:
Alright I have run it again...

I used the performance setting during all of the tests.

On charger I got 17460 points on 1600mhz and 17200 on 1200mhz

On battery I get 17100&1700 on 1600mhz and 16800&16800 on 1200mhz

So clearly the overclock does something and also clearly it does not actually increase the cpu speed or the result would have been better.
[Moto G Android Development] SeannyM:
It might bump up results because the overclock frequencies also have overclocked ram and cpu bus. The actual CPU itself does not get overclocked, though.

Sent from my Moto G
[Moto G Android Development] Tamarinde:
That's what I said/quoted. But I am grateful for every bit extra we get ;)
[Moto G Android Development] K3VYNC:
DELETED
[Moto G Android Development] K3VYNC:
SOLVED
[Moto G Android Development] thescorpion:
Thats why i said dont know if its working , but everything i do on this phone now is blazing fast , on other kernels i always get som lag on all i do , now its completely gone .

So again thanks for your hard work and for the kernel :thumbup::thumbup:
[Moto G Android Development] mycontradiction:
I had some freezes using the lastest release, so I checked the RAM and I was having around 150 mb of free RAM. I will try to reflash

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] raulillo88:
I'm having freezes too since last build and also more battery drain

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] ledionkoci:
It seems it has some lag with the two latest builds
[Moto G Android Development] adinkwok:
I had a freeze during boot but in not sure if it's kernel related
[Moto G Android Development] SeannyM:
Yes, my phone occasionally locks up when doing my unlock pattern, texting, etc. It seems to lock up less when doing resource intensive processes. (at least for me) It's not terribly often though.

EDIT: havent been looking at the cm11 thread for a while now, but I just did and wanted to say that the locking/freezing is not from this kernel, it is from the ROM.
[Moto G Android Development] danielcr12:
It's a CM 11 bug (on lasted nightly)

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] :
Today after install the last nightly update i have put in my motoG this kernel and the first impression it's very good
[Moto G Android Development] thuybang:
Wifi not work with last one. :(

Sent from my Moto G
[Moto G Android Development] SeannyM:
Which ROM do you have? CM11 has working WiFi.

Sent from my Moto G
[Moto G Android Development] thuybang:
My CM ROM is last 20140416. Wifi not work when i flash last ver. Of Pink. Before that, wifi work good.

Sent from my Moto G
[Moto G Android Development] SeannyM:
Strange, because the same setup works for me. Maybe try reflashing or worst case scenario backup data and factory reset.

Sent from my Moto G
[Moto G Android Development] Firetribe:
So, just wanted to ask, is there gonna be dt2wake in this kernel? Cause if yes, it would be an absolute keeper :) I would love that feature, maybe implemented that it has to be specifically enabled, if not all users want to use it.
[Moto G Android Development] SWTR:
I hate people lile you. Please read the first post!
[Moto G Android Development] Firetribe:
Geez, not got your coffee this morning? Just keep calm, I read the OP, and I meant dt2w during deep sleep. The way it's implemented right now is useful to unlock your phone right after locking it, but if I wait for just 20 seconds it won't work. I know, I know, you need an always listening core for that, and I never would have asked for that feature if the poll hadn't suggested that it's considered. Just wanted to hear what is planned to be able to look forward to it.

Maybe you shouldn't hate people you don't know just because of one line. Thinking about that makes me almost hate you. Almost. I wasn't clear enough, I admit that, but it's this hostile attitude that bugs me sometimes here on xda.

Thanks for your answer anyway, even though you probably only wrote to let off some steam. I wish you a wonderful day :) :)
[Moto G Android Development] rr46000:
You can keep the cpu awake, but the battery will suffer

It is in the second post

Please read properly
[Moto G Android Development] Firetribe:
Yeah, I know that too, but at least to me the poll suggested something else, and I just wanted to know if there's something planned. Thanks for your answer, though.

I'm sorry to have caused confusion, I'll am happy with the features implemented and won't ask for more information of any kind.
[Moto G Android Development] SWTR:
Ok ok. Ich nehms zurück.

Sry for off-topic.
[Moto G Android Development] thuybang:
Today when I flash 20140329 Pink Kernel again,my wifi work with CM ROM 20140416. Happy with that. Thanks.
[Moto G Android Development] K3VYNC:
Working perfectly on CM11 20140416 nightly with "CPU Awake"..
[Moto G Android Development] MrCatalyst:
Someone told me before that the kernel doesn't work with C-ROM, but the OP says it works with CM ROMs - and C-ROM is built on different ROMs, with CM as the base (I think).

Does it work with C-ROM then or not? :s
[Moto G Android Development] pinkflozd:
it should work, maybe not the latest version. note that the kernel is synced with CM, and some roms are not totaly in sync with CM.

usualy similar dates KERNEL / ROM should work, try a few different version

and remember to make a whole BACKUP, so you can always restore,

you will certainly find a version of the kernel that works for your rom
[Moto G Android Development] MaLiXs:
I'll try it later if it work well with my bt headphone (got some bad audio shuttering while listening music)
[Moto G Android Development] adi6262:
I was using this kernel on mokee rom for a few days and it worked brilliantly. Since last few nightlies I am getting random reboots when phone is idle. Log after reboot is useless so I dont know what info I must provide but willing to help.

Thanks. :laugh::good:
[Moto G Android Development] matmutant:
last_kmsg can be usefull ;)

(can be found by hand in /proc/last_kmsg)
[Moto G Android Development] adi6262:
Here's the last kmsg. Attached
[Moto G Android Development] MaLiXs:
Idk if this issue come from my rom (latest slimkat) or the kernel... But randomly my screen freeze but I can continue to hear music or sound of the video that I listen on YouTube. Sometimes the screen become responsive by itself, other times I need to hard reboot my device... Someone have an idea?

Envoyé de mon Moto G en utilisant Tapatalk
[Moto G Android Development] SeannyM:
Try running without this kernel for a but and see if the problem persists.
[Moto G Android Development] MaLiXs:
Didn't have this problem without pink

It is possible to restore only kernel and / or systems with Recovery to revert to Slim kernel.. Or I can simply flash the rom again ?

Envoyé de mon Moto G en utilisant Tapatalk
[Moto G Android Development] SeannyM:
CyanogenMod and pink do not have any freezes, but I've never tried pink with other ROMs.
[Moto G Android Development] adinkwok:
Ive had a few freezes with about every ROM I tried (all except unofficial LS and endroix(?))
[Moto G Android Development] enr88:
No freeze with C-Rom, but i think there is a "bug" with Intelliactive governor because the CPU stucks at Higher frequency for a lot time...

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] syrkles:
This is a benchmark with latest pink on aospa beta 5 performance governor
[Moto G Android Development] callidus_ex_de_latebros:
Actually, that is perfectly normal. What the Intelliactive govenor does is something called 'race to idle'. When you give it a task, the govenor basically encourages the CPU to run as fast as possible to start off with (rather than just a medium speed). This means that the task is completed faster, and the CPU can use less energy, because it can then go back to low-power or sleep.
[Moto G Android Development] enr88:
Yes, i know what you mean, but with stock rom and faux kernel the intelliactive behavior is different and more battery friendly, with CPU that dont stuck for almost time on high frequency.

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] Pinktank:
so what would be the appropriate settings for battery life, given that I don't game or do anything processor intensive as such?
[Moto G Android Development] enr88:
I think that Interactive governor with fiops and 1.2ghz of cpu speed are good choise for a mix of performance and battery life with aosp rom and Pink kernel
[Moto G Android Development] Pinktank:
intelliactive or interactive?
[Moto G Android Development] daddu97:
I'm using slimkat with this awesome kernel. Although it isn't a cyanogenmod-based ROM, everything works, except WiFi connection! Any ideas? It says: to show available networks enable WiFi, even if it is already turned on...

Inviato dal mio falcon utilizzando Tapatalk
[Moto G Android Development] enr88:
Interactive

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] Nandeh:
Don't know what's the problem dude, but I'm using same combo Pink + SlimKat and WiFi works fine, and every others things do too.

Great work with this kernel. Using it with default settings

Thanks!!!
[Moto G Android Development] daddu97:
Thanks for reporting man...so I don't know what to do...I already tried with re-flashing, but with no improvements. What a pity! However, great job to the developer! ;)

Inviato dal mio falcon utilizzando Tapatalk
[Moto G Android Development] callidus_ex_de_latebros:
I've finally got Carbon ROM working with this kernel.

However, by benchmarking just the CPU at different frequencies, I can conclude that the CPU still only actually goes up to 1.2 GHz. Any displayed value above this is false, as even if the improvements were small, there would still be a measurable difference between 1.2 GHz and (true) 1.6 GHz. Is anyone still working on CPU over-clocking? This kernel would be absolutely perfect if you managed it.

Apart from that, this kernel is brilliant! I love the ability to fine-tune absolutely everything. Speaking of which, can anyone suggest (roughly) the best settings for a good balance between battery life and performance (with a noticeable bias towards performance)? Ideally, I'd like it to be just smooth enough in menus and normal apps, but give max power in games and benchmarks, etc. And then back to lowest power on sleep.

Thanks very much guys, great work.
[Moto G Android Development] SeannyM:
There is no known way to overclock as of now.

Sent from my Moto G
[Moto G Android Development] callidus_ex_de_latebros:
Has anyone identified why? Is it a problem specific to this device, or to this CyanogenMod source? Perhaps there is something put in by Motorola which is restricting it? Sorry for my noob questions, but can anyone tell what's blocking the frequency control commands? It reports 1.6 GHz, so surely it's getting somewhere?
[Moto G Android Development] daddu97:
Overclock is not broken on all roms. For example on my slimkat overclock works but WiFi doesn't. So I reflashed slimkat kernel...

Inviato dal mio falcon utilizzando Tapatalk
[Moto G Android Development] twist3d0n3:
that isn't true.

it's only a ram overclock anyway, there isn't a way to o/c the cpu yet afaik.

i have the 'overclock' + wifi working fine on slimkat + pink.
[Moto G Android Development] daddu97:
Strange. I tried multiple times and WiFi does not work for me

Inviato dal mio falcon utilizzando Tapatalk
[Moto G Android Development] Nandeh:
Try installing SlimKat and boot with Stock kernel, reboot, wipe cache, flash Pink Kernel and reboot. That's the way it worked to me. I'm using last TWRP recovery...
[Moto G Android Development] callidus_ex_de_latebros:
That aside, true CPU over-clock still does not work, and apparently, no one can actually figure out why. I know that android development takes a lot of time and effort, but surely someone, eventually, will pinpoint the cause of the problem, and then everyone can work on fixes/workarounds.

Sorry to bother the professional devs, but surely, like in other phones, there's a definite path of commands for frequency. If so, wouldn't the best place to look for problems be in that particular path. The OC command must be getting somewhere, as all the apps such as benchmarks, device info, etc... all say 1.6 GHz, when the CPU's actual speed is not.
[Moto G Android Development] SeannyM:
I've looked through the code so many times and all the correct values seem to be there. I wish I could find something that does not link to the correct freqrencies or some other problem but I havent found anything. I know that Moto did not put a cap on it, it is not possible. Even if it was, itd have to be in the software somewhere and we would be able to remove it.

Sent from my Moto G
[Moto G Android Development] unrafa:
Maybe taking a look at moto x kernel code too bad im not a dev or id do it
[Moto G Android Development] SeannyM:
Looking at Moto X code won't help, it has a different chipset. I know of a few upcoming phones with the same chipset as the Moto G which will have higher clock frequencies, when one comes out we can look at its code. Correct me if I'm wrong, but I don't think there are any kernel sources out right now for this chipset with a higher frequency.
[Moto G Android Development] callidus_ex_de_latebros:
+1. I was just about to say exactly the same, when your post appeared. Beat me to it by seconds ;)

Surely there aren't any other devices currently with this chipset? Even running the same frequency?
[Moto G Android Development] SeannyM:
This phone is out now with the same chipset but also the same frequency. I haven't checked if it has a working overclock method.

Edit: No overclock yet. Not even any development lol. http://xdaforums.com/xperia-m2
[Moto G Android Development] callidus_ex_de_latebros:
LG G2 Mini uses same chip, but no OC yet.

Samsung galaxy grand 2: same story
[Moto G Android Development] callidus_ex_de_latebros:
Ah ha! The Oppo R8007 is released soon, and would appear to have the exact same chip, but at 1.6ghz. If we can get our hands on the source code, we might have a solution.

---------- Post added at 11:45 PM ---------- Previous post was at 11:06 PM ----------

Asus padfone mini; same chip, 1.4 GHz. I presume that any frequency above 1.2 GHz will tell us how to go higher.
[Moto G Android Development] syl0n:
So none of the Moto G kernels do a real overclock? its reporting fake frequencies?
[Moto G Android Development] SeannyM:
I've seen the padphone mini, but can't find the kernel source even though the kernel source is supposed to be mandatory to release :eek:

---------- Post added at 09:46 PM ---------- Previous post was at 09:44 PM ----------

You are correct.
[Moto G Android Development] twist3d0n3:
getting quite a few random reboots with this kernel, notably when the phone is idle
[Moto G Android Development] callidus_ex_de_latebros:
Which ROM?
[Moto G Android Development] twist3d0n3:
Slimkat
[Moto G Android Development] callidus_ex_de_latebros:
Hmm.. Have you tried it with other kernels to see if it persists? If so, then it's a problem with SlimKat, and you should ask the main developer for that. If it's only this kernel having problems, try adjusting the settings using the PerformanceControl app.
[Moto G Android Development] twist3d0n3:
I'll give it a try with the stock kernel. Put this kernel on with slim the second I unlocked the bootloader :p
[Moto G Android Development] callidus_ex_de_latebros:
Yeah, I voided my warranty the day I bought it. :D P.S. I'm running CarbonROM with this kernel, and it's running almost perfectly. A few freezes occasionally, but no reboots so far. Is yours XT1032 model?
[Moto G Android Development] twist3d0n3:
Yeah the xt1032. I might give carbon a go if it works OK with this kernel. Does xposed work with carbon?
[Moto G Android Development] callidus_ex_de_latebros:
Yeah, xposed works, but it's not necessary, as carbon incorporates every imaginable xposed feature into the ROM.
[Moto G Android Development] twist3d0n3:
I use xui for a few transitions :
[Moto G Android Development] skorpionvenom:
I was also having freezes with this kernel on my XT1032 (running Carbon Rom). Then I switched to Furnace and everything is smooth so far (no freezes and no reboots).
[Moto G Android Development] twist3d0n3:
gonna give it a try :)
[Moto G Android Development] antarix:
Are you using 17-4 build of carbon?
[Moto G Android Development] callidus_ex_de_latebros:
Yes.
[Moto G Android Development] antarix:
OK.

Will download it and try it.

Is it running well compared to other new releases of different ROMs?
[Moto G Android Development] callidus_ex_de_latebros:
That is interesting, I've tried furnace, and it seemed pretty stable, but it doesn't have some features I want, such as GPU over-clock, abyssplug governor, or ZSWAP (which is superior in performance to ZRAM). In benchmarks, furnace got 13500, where pink got 17300. I'm definitely sticking with pink.

Have you tried with different governors and scheduler settings?
[Moto G Android Development] raulillo88:
Freezes are caused by some governors. Try with interactive and there are no freezes at all. Because ondemndplus on furnace kernel cause freezes too

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] twist3d0n3:
ondemandplus isn't causing any freezes for me so far, but only been up and running for an hour on furnace with lego rom
[Moto G Android Development] vhngu930:
I installed it, but when it rebooted, there was kind of a pink screen, it went to black, and nothing happened. I went back to recovery and restored my backup. Can you fix this issue? thanks
[Moto G Android Development] callidus_ex_de_latebros:
When did you buy yours? Did it come with android 4.4, or 4.3?

---------- Post added at 12:31 AM ---------- Previous post was at 12:10 AM ----------

just had an idea, the asus padfone mini comes with an OS, and gets OTAs, etc. Isn't the stock kernel included with it when bought? Why can't we take the source from there?
[Moto G Android Development] SeannyM:
Because you cannot decompile kernels. You can get it to the point where you can view the ramdisk and zImage, but that does not help us as there is no source code there.
[Moto G Android Development] callidus_ex_de_latebros:
My apologies. I kind of thought so.
[Moto G Android Development] vhngu930:
I bought it last week the international version. It came with Android 4.4.2
[Moto G Android Development] callidus_ex_de_latebros:
There is a compatibility issue with the 4.4.2 bootloader. You have to flash 4.3, then root, flash CWM recovery, flash ROM, and flash kernel.

I had to do exactly the same. took me a few hours.

See this post: http://xdaforums.com/showpost.php?p=50202134&postcount=29

Everything should work fine after that.

---------- Post added at 09:40 PM ---------- Previous post was at 09:17 PM ----------

Is there someone at Asus we could ask for the kernel source? It being under GPL and all...:rolleyes:
[Moto G Android Development] vhngu930:
Thanks, I'll try that

Edit: wouldn't I have to so that if I'm running jelly Bean? I'm running kitkat right now
[Moto G Android Development] callidus_ex_de_latebros:
You have to downgrade to 4.3 from kitkat, as kitkat's bootloader won't boot any custom stuff properly, but the 4.3 one will.

Trust me, I had the exact same problem, 'cause I bought mine with 4.4.2, and the pink screen thing happened to me. I had to go through the same process you have to. Mine now works absolutely fine.

---------- Post added at 12:29 AM ---------- Previous post was at 12:01 AM ----------

I just happened to be reading this page, trying to find info for OCing:

http://www.qualcomm.com/media/blog/2013/10/25/power-vs-performance-management-cpu

When I noticed this:

It is important to note that Performance Mode only impacts the CPU settings mentioned above. It does not allow overclocking of the CPU nor does it apply to the GPU, DSP, RAM, or other cores of the SoC.

This might explain why GPU and RAM overclock and underclock work fine, but the CPU refuses to comply. :fingers-crossed:
[Moto G Android Development] reynierpm:
I read in first post that this kernel isn't compatible with stock ROM but what about Stock for Moto G Google Play Edition? It's compatible on this device?
[Moto G Android Development] vhngu930:
Who are you replying to?
[Moto G Android Development] callidus_ex_de_latebros:
No. The Google Play Edition is still AOSP. You need a ROM that is based on CyanogenMod. Try CM11 or Carbon. I personally recommend Carbon: http://xdaforums.com/showthread.php?t=2624111
[Moto G Android Development] reynierpm:
I'm not replying to anyone, I'm asking for that

---------- Post added at 10:58 AM ---------- Previous post was at 10:56 AM ----------

I've tried CM but get problems during boot since /data is encrypted and CM doesn't recognized it and I didn't find a way to get this fixed, if you know someone please let me know
[Moto G Android Development] AssToast:
It should work but make a backup first
[Moto G Android Development] SeannyM:
Try formatting the /data partition in recovery.

---------- Post added at 03:51 PM ---------- Previous post was at 03:49 PM ----------

Actually, the GPe stock ROM is not AOSP because it is not completely open source. It still has OEM customizations. And CyanogenMod is AOSP-based, this kernel works with AOSP-based ROMs.