yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] EternalFlame:
I know it works on PAC, SLIM + CM, but not on Beanstalk, at least not for my pal & me. :silly: :p

edit: works now ^^
[Moto G 4G Android Development] Pablo Sevilla:
For the ones who double tap2wake doesn`t work even with the d2w zip: Install Trickster MOD, grant root permissions, open the menu on the left, select specific, go down and press screen wake control. DoubleTap2Wake should have a parameter of 0, change it to 1 and it should work. Tested on the cm-12-20150126-NIGHTLY-peregrine.zip build.

Great job with the kernel btw!
[Moto G 4G Android Development] debruin89:
sorry for the late repsons. didn't see it , silly me. glad to hear it's working now.

---------- Post added at 11:46 PM ---------- Previous post was at 11:40 PM ----------

I can confirm this works, i'm on build 26-01-15
[Moto G 4G Android Development] mihaum:
Enabling d2w won't allow my screen to wake up. Power button nor double tap will wake my device. I am forced to do 'hard' reboot. CPU speed and governor settings don't matter as I tried changing them to defaults and the problem still occurs. I am on latest nightly, but I had the same problem with previous builds.
[Moto G 4G Android Development] prgprg:
this will not work on XT1032, will it?
[Moto G 4G Android Development] Kayant:
New build

Change log :

- Compiled with [MENTION=4825437]Christopher83[/MENTION] Linaro 4.9.3 toolchain optimized for A7 devices

- Squash of f2fs updates up to mainline v3.18 thanks to [MENTION=6295391]bedalus[/MENTION]

- Added build script thanks to [MENTION=5284595]YoshiShaPow[/MENTION]

Download - https://www.androidfilehost.com/?fid=95916177934521296
[Moto G 4G Android Development] mikel10k:
oh hello :D
[Moto G 4G Android Development] Kayant:
I just tested d2w and it's working as intended. Am not sure why you're having issues this is on beanstalk the latest build which is based on CM.

Are you double tapping where the navigation buttons would be to wake the screen?
[Moto G 4G Android Development] mihaum:
I tried all over the screen (including navigation bar area), but screen won't wake up, not even with powet button.
[Moto G 4G Android Development] EternalFlame:
Can i just flash it over the old pink kernel build ?

Guess that should work right, only my settings have to be adjusted again after upgrading ? ^=^
[Moto G 4G Android Development] rodsayd:
Hi, guys is someone using this kernel with beanstalk? I can't get a good perfomance, using the default kernel of beanstalk everything if fine but when I install this one, the phone gets very laggy and it reboots all the time. I did a clean flash and still the same... Some ideas?
[Moto G 4G Android Development] Jaro89:
I just installed this kernel and antutu shows me 20440 pts, but it also shows that all 4 cores are stuck at 1190 mhz (max). Am i doing something wrong? I must set different governor or I/O?

I have cm12 from 01.02.2015.

Edit:

Seems like "Enable per-app profiles" option in performance section was the problem.
[Moto G 4G Android Development] Kayant:
Indeed

Sounds like you may want to try the ram fix app by blueflame4 first as am guessing ram is the issue
[Moto G 4G Android Development] sclcn12:
Same problem

I'm using this kernel with beanstack. If I use "free" command in the terminal it displays that there's no swap memory, maybe that can be a problem

(Sorry for my English)
[Moto G 4G Android Development] aaron.a:
Much performance. Very battery life. Wow!
[Moto G 4G Android Development] mikel10k:
When i istall this kernel i have very often problem with touchscreen, it stop working and i neeed to press power button forr 10 secs to restart the phone. no such problem in stock cm12 kernel
[Moto G 4G Android Development] Jaro89:
I also have problems with touchscreen. Often it's working like it wants, not responsig for my actions. Only restart helps. Also, when i'm talking with someone, touchscreen acts like it is not turned off (apps are starting, i can hear sounds of pressing phone dialer keys, etc.), but it is. I don't know if it is connected with kernel.
[Moto G 4G Android Development] keenofhiphop:
which roms do you use?
[Moto G 4G Android Development] mikel10k:
i have stock cm12
[Moto G 4G Android Development] Jaro89:
CM12 from 01.02.2015. But from yesterday no bugs, I'll report if issue returns.

Edit:

Screen still reacting when talking with someone (only if proximity sensor shuts down the screen, when i do it myself by pressing power button, everything seems to be ok). Don't know if it's kernel or rom issue.

Edit2:

Screen stops responding sometimes when talking with someone and restart is needed.

Edit3:

Back to CM kerner (no problems). I will try pink kernel somehow later when touchscreen issues will be solved (i hope).
[Moto G 4G Android Development] treesus:
Thanks for the port!

This kernel is fantastic, thanks for the porting it, and to pinkflozd for the original kernel.

I've used this kernel with fantastic results using CM12 and briefly the leaked PAC-LP, and am currently using with PA_L alpha 2015 Feb 2 build and I'm really liking it.

Also, FWIW I cannot recreate the screen issues by letting light-sensor turn off screen using latest update of this kernel in Paranoid Android rom on my XT1040, otherwise I'd try to catlog it for you.

Also for anyone stil wondering about enabling features with this kernel so-far I've found the free open-source tool called Kernel Adiutor to be my preference - sharp design, regular updates, seems more stable than any of the other free tools Ive tested with this kernel. It can be found on github at /Grarak/KernelAdiutor/ or by searching for it in fdroid or the play store. I'd post links but I'm still too new here to do that. Anyways, thanks a bunch :)
[Moto G 4G Android Development] leozinnovaes:
What settings recommended me to save battery ?
[Moto G 4G Android Development] treesus:
I've never actually tried for optimal battery over performance, but I get a good balance between battery life and performance by setting CPU Governor to Intelliactive and enabling Intelliplug. The default for me was to have multicore grouping set to aggressive and I've left it there with no noticable effect on performance. I set the IO Scheduler to FIOPS and haven't yet determined if I prefer to use 512kb or 1024kb readahead.

I dont know a whole lot about the finer points of kernel tuning, just that these are the settings I find myself liking best. If you're unsure of any options in a kernel settings tool do a search here on XDA or elsewhere if you prefer before you fiddle with them : )

Of course the classic battery drain culprits tend to be screen brightness, screen timeout, apps running in the background over WIFI or using data, also apps that send frequent notifications tend to have heavy-draining default settings. (For example, Telegram uses by default one vibration, sound and notification-light-trigger per message... In groups this was very hard on the battery supply but was easily reconfigured in the app's own settings...)

If an app does not have settings that allow you to slow the notification flow I think there are options for that located under Settings >> Sounds and Notifications >> Application Notifications. These can be configured per-app, however this feature may or may not be enabled in all ROMs, Im not sure.

Hope this helps :)
[Moto G 4G Android Development] Sparubens:
Anyone else having laggy experience with this kernel on CM12 based roms? FC and random reboots the whole time..
[Moto G 4G Android Development] Pupet_Master:
I have a question.

This Kernel set SELinux to Permisive? Or it don't change it?
[Moto G 4G Android Development] Kayant:
It doesn't change it so it's the rom's default setting.

Changelog :

- Cherry-picked some updates from [MENTION=6295391]bedalus[/MENTION] (GPU and android driver stuff)

Read more - http://xdaforums.com/showpost.php?p=58596426&postcount=76

Download - https://www.androidfilehost.com/?fid=95916177934529633
[Moto G 4G Android Development] Pupet_Master:
Thanks, when i was on Kitkat i was using this Kernel from [MENTION=6295391]bedalus[/MENTION], very good Kernel.

I want to try pink Kernel but the crDroid ROM has users that report issues with it (sadly).

So i'll ask on the ROM thread later if someone can provide a .zip with the "stock" crDroid Kernel in care i'll need to roll back.
[Moto G 4G Android Development] cvamoose:
Hi, thanks for the update. I really like this kernel.

Just one thing, the link you gave is pointing to the old 01-02-2015 kernel and not the new version here

https://www.androidfilehost.com/?fid=95916177934529633
[Moto G 4G Android Development] Mecallie:
Problem with proximity sensor and dt2w.

Hi.

I have tried this kernel on cm12, crdroid, slim and pac: all having issues with the prox sensor and dt2w on mu phone. All done with full wipe via twrp.

When I make a call and let the screen be turner of by the proximity sensor I cannot wakr up the phone again. If I tap the screen a few times or use the powerbutton it spontaniously reboots.

If I enable double tap tot wake in the kernel settings and tap the screen tot wake it it also reboots.

I have seen another post with similar issues, but no fix?
[Moto G 4G Android Development] Zyquil:
Just flashed this on the 150210 CrDroid build and I can already say it's far better than the stock kernel. I've noticed a performance boost whilst playing PPSSPP with a game called Dissidia 012 Duodecim Final Fantasy. Without the kernel, I would get 20-30 frames with frequent audio stutters that I decided to turn audio off for the app itself. With the Pink kernel, I get 28-30 frames and only drop to 15 when the game peaks at a part where sfx takes up the entire screen. I believe this is thanks to the GPU overclock at 550mhz.

As for the performance out of games, opening and switching through apps have been faster for me.
[Moto G 4G Android Development] Mecallie:
No problems with prox sensor/screen?
[Moto G 4G Android Development] Zyquil:
I tested this with a 4second call(longest I could make to my operator since I don't get calls) and placed the device near and away my face twice. Both times made the screen turn on and off with no problems at all. Though I'm not sure if it would be the same with longer calls.
[Moto G 4G Android Development] Mecallie:
Thanks for testing!

As soon as I make a call and let the screen het turned off by the proximity sensor I need to force a reboot tot do anything with my phone again. Even a seconden of calling is enough.

It might be because I have a newer XT1039 revision than soms? I also get the "invalid partition size" errors when installing a recovery...

I have found people with simular issues with the moto g pink kernel. Is there something I van do tot help find a fix?
[Moto G 4G Android Development] meysa3000:
hi friends. im using

Official Cyanogenmod 12 (nightly)-i have a big problem with this kernel-when i flash this kernel in last twrp recovery -its ok and sucessful but after reboot ,bootloader will come up and cm12 dont load.i dont have any problem with other kernel-can some one help?please:)
[Moto G 4G Android Development] Zyquil:
It could be that you have an XT1039 and I have an XT1045. Just got a random reboot today (hanged for good 10-20seconds) and rebooted by itself. Hopefully it gets fixed for your side soon.: good:
[Moto G 4G Android Development] Pupet_Master:
I finally flash the Kernel. I'm using the XT1040 and crDroid.

Work perfect, it is more responsive then the original Kernel so far, i have no force closes (i see people having it on the FB app and this rom, but for me it is working fine).

The only small issue is on OneNote, where the APP gfx glitch when sync the notes so i need to close and open again.

I haven't test the battery life yet as it is too soon, but so far seens better.
[Moto G 4G Android Development] Sparubens:
Clean install CrDroid + pink kernel: laggiest experience ever.. Apps Not Reacting all the way! Clean flashed everything to see if it was my fault but I can't even run 2 apps simultanously without having black screens and lags, so will keep using stock CrDroid kernel. Very frustrating because it looked like a promising kernel.
[Moto G 4G Android Development] Pupet_Master:
I wonder if the device version has to do with it.

In my case i didn't even made a clean install of CrDroid, i just flash the Kernel and it is very smooth.

Maybe the kernel tune program could be though.

In my case i use 3C Toolbox and all i've done was create a cpu profile

Intelliactive @ min:300mhz and max 1m18ghz

All cores setup as free

TCP Ip algorythm Veno

SD Cache 512

I/O ROW

Double tap to wake on

That's it as kernel setup i've done.
[Moto G 4G Android Development] Sparubens:
Could be... Tried every single option change but didn't help.. Thanks for your help though :)
[Moto G 4G Android Development] Jaro89:
Version 02-15-2015. For me problem with touchscreen reacting when talking with someone still exists. I have Xt1039. Device is slightly faster, but i can't talk with anyone... Today i activated airplane mode when i was talking with my gf.

Kayant, can't you create another version of this kernel without s2w and dt2w? I think that's the source of my issues, and i think that other people problems are also connected with s2w/dt2w. For now kernel is unusable for me and i restored CM's default one. Anyway, thanks for your work.
[Moto G 4G Android Development] Mecallie:
Totally agreed!

I would also love to try this kernel without the s2w and dt2w options.

Having the exact same issues you are having on my 2015 Moto G 4g.

I'll buy you a coffee if you make one Kayant!
[Moto G 4G Android Development] mihaum:
[MENTION=6355414]Jaro89[/MENTION], [MENTION=4261309]Mecallie[/MENTION], there was, in initial release, version without these functons, I've seen no difference.
[Moto G 4G Android Development] Kayant:
.

The thing is these features are not enabled by default so should not be the problem. All that happened between the releases is that in the kernel config I allowed the features to be enabled as the way the kernel config work is that you can have the code for features but still disable them in the config meaning the user isn't able to enabled them via an app or terminal.

Am no sure why people are having issues sadly am not a kernel developer or developer for that matter so am limited in my knowledge and what I can do to help all I know is how to port stuff :p but if people having issues could post a dmesg.log and if available a last_kmsg.log I can see if I understand anything to try and help.

How to get the logs - http://xdaforums.com/showthread.php?t=2185929
[Moto G 4G Android Development] Jaro89:
Those are my dmseg and logcat logs:

https://drive.google.com/file/d/0B6fZVfvHy4F5dFduOGFwMnpwbVU/view?usp=sharing

https://drive.google.com/file/d/0B6fZVfvHy4F5MkdDUmp4RGNIbHM/view?usp=sharing

Last_kmsg gives me:

"tmp-mksh: cat: /proc/last_kmsg: No such file or directory".
[Moto G 4G Android Development] Mecallie:
Here are my log files as well.

I managed to get all three. The only problem is I can only get them after the phone reboots. When I reproduce the problem (dial a number and hold my hand in front of the ir sensor) I simply get no response from adb anymore. Don't know how much good these logs will do...

Logfiles 7zip
[Moto G 4G Android Development] Pupet_Master:
I have a theory that what cause issue for some heavy apps with this kernel and the crDroid ROM may be the memory management.

I found out that the stock Kernel leave almost 400mb of free RAM on my device, where Pink it is bellow 200mb. I think when some heavy apps such as FB open the RAM may be the cause of the low performance in said app and even the reboots.

I have a request for the next build if it's not ask for too much of course. Would it be possible to build a "special" version of the kernel to the crDroid ROM where the memory management is more aggressive such as the stock Kernel is (so more free ram instead of less)?
[Moto G 4G Android Development] Kayant:
That won't be too much to do if I knew how to but unfortunately I won't know how/where to correctly tweak values for that but you're welcome to try as the kernel source is in the OP.

And thanks for the logs I will see if I understand anything to help.
[Moto G 4G Android Development] Bastlwastl2010:
I just play with this Kernel on my XT1039 with CM12 02.22

Version from 01.02 and 15.02 have an immediately reboot by incoming calls.

No Problem on the first release 01.11.

I hope i can try some loigcats at the weekend
[Moto G 4G Android Development] Pupet_Master:
Thanks for the feedback, i think maybe it is possible to tweak with the kernel tune app.

I'll do some tests and if that's the source i'll look in to it

EDIT:

I came up with a script that change the OOM settings, it need more test to see if it really is the cause of the issue and to also tune it up for optimal results.

The script is:

#!/system/bin/sh

echo "8192,16384,24064,32768,49152,65536" > /sys/module/lowmemorykiller/parameters/minfree

I'll post the results if it failure or not on the comming days ;)
[Moto G 4G Android Development] Pupet_Master:
I don't want to be one of those guys who post side stuff on a Thread.

So as this Kernel is for all Custom ROMs and not just crDroid, i've made a Topic about the crDroid+Pink Kernel and my OOM attempt to fix the issues of this combination

Check out, for who really want this combination as i do, i can use a feedback to fine tune it better if need (and find out if this is really the source of the problem).

Also i had so far good results, so it may worth to check out for you guys.

http://xdaforums.com/moto-g/4g-development/script-crdroid-pink-kernel-fix-attempt-t3042349
[Moto G 4G Android Development] joeldq:
I'm getting random reboots with this Kernel (used it with BlissPop ROM).... could it be that is not compatible somehow?
[Moto G 4G Android Development] hhrokarvi:
I've gotten only one reboot while using Pink Kernel, and that was me testing and overworking the CPU of my phone. No reboots while daily using it. Try installing the ROM again cleanly... ;):D
[Moto G 4G Android Development] Pupet_Master:
What kind of app you was using? Was there many things running on background?

If so, it could be the same issue i had with crDroid
[Moto G 4G Android Development] joeldq:
Umm. Onavo, Whatsapp, Accuweather and Telegram. I barely use anything else except moon reader for reading books on commute .

I'll try later with a clean rom.
[Moto G 4G Android Development] Pupet_Master:
Yes, that is not much.

Try with a clean install and see if it work.

If not, some postes above i post a link to a topic that i create with a script that made the pink kernel to work on crDroid and stop the lag and reboots. Wont hurt try if the clean install wont work.

But i think it will work.
[Moto G 4G Android Development] joeldq:
Well, by chance I tried it with just using your OOM script for crDroid. Magic.
[Moto G 4G Android Development] Pupet_Master:
I hope it helped, any issue you have you can post your experiences as one of the scripts is very agressive and some people may have issue it many background services are running.
[Moto G 4G Android Development] Pupet_Master:
[MENTION=4173406]Kayant[/MENTION] have the dev of this Kernel stoped or it is on work still? :)
[Moto G 4G Android Development] Kayant:
Can't 100% say anything but I guess it's on hiatus for now going by his github activity - https://github.com/pinkflozd?tab=activity
[Moto G 4G Android Development] Pupet_Master:
Thanks my friend. I was afraid of that as this is a great Kernel but i think it still need some evolution.
[G3 Q&A, Help & Troubleshooting] FernandoMartinho:
I am a new Android, LG_G3 user I am now using TWRP Manager to ... well, manage my ROMs, and I wanted to start with installing a recovery partition, in my case it would be OpenRecovery-twrp-2.8.3.0 for my LG G3 D855.

Eeverything runs ok until I get this message (screenshot attached), where I stop.

So, I did not complete the installation because I am not sure how to ensure this is the right partition, and I have been choosing the "no" option, and cancel everything.

I presume I should select "yes", but I want to be sure that the listed partition is the correct one. How can I be sure?

Thanks!
[G3 Q&A, Help & Troubleshooting] FernandoMartinho:
Is this too noob to be answered? Tks.
[G3 Q&A, Help & Troubleshooting] DelBoy:
Press yes :D

Or if you want download Flashify fron Play Store and flash recovery with through Flashify.
[G3 Q&A, Help & Troubleshooting] FernandoMartinho:
As i said, i'm using TWRP Manager, my only point was this weird message, is it ok?
[G3 Q&A, Help & Troubleshooting] FernandoMartinho:
Never mind. I was brave, and i installed it. Success!
[XDA Assist] SlenysD:
Hello,

I have a problem - one time I changed in my phone (Samsung Galaxy S Plus) from DALVIK to ART (By the way, I have Cyanogenmod 11 installed on phone). Then I rebooted my phone and it kept on loading so I force turned it off. Then again, I turned it on and now it's stuck on Samusung logo and that's all. I can't load recovery mode, only download mode. Please help me!
[XDA Assist] Darth:
Hi,

Being able to get into download mode is good. You will likely need to flash your stock firmware again with Odin. Sammobile website should have your firmware.

If you have more questions or need help with that, you can ask for help in this dedicated help thread for your device,

> Samsung Galaxy S I9000 > Galaxy S I9000 Q&A, Help & Troubleshooting > Galaxy S Plus I9001 Q&A

Good luck!
[Android Q&A, Help & Troubleshooting] nightwishkid:
About 2 days ago my phone icon changed. It's like another icon is placed over it. And it looks like that on my apps page. I have searched deeply to see if this had happened to anyone else and to avail. Show box is the only 3rd party app that i have downloaded. I don't download apps that often either. Any help is appreciated!

(And apparently i can't add a photo till i have posted 10 times)
[Android Q&A, Help & Troubleshooting] Vainx_507:
Go to configurations, apps, on all apps tab look for your launcher and tap on delete data
[Android Q&A, Help & Troubleshooting] nightwishkid:
That worked, ty sir! It said basic launcher with 13 kb cleared it and it worked!
[One (M7) Q&A, Help & Troubleshooting] kenzorio:
Hi I need to restore my HTC One M7 European to stock, since I want to return it for repair of the purple tint issue. My question is what HBOOT is now the "official" from HTC Europe, so I can choose the right one.

When I got the phone in summer 2013 I initially just followed the OTA upates. In December I converted to Google GPE to get KitKat faster (and also later got Lolipop). This involved getting S-OFF etc.

Phone info before I converted (December 2013) - had HBOOT 1.55.

M7_UL PVT SHIP SON RH

HBOOT 1.55

RADIO 4A.21.3263.04

OpenDSP-32.120.274.0909

OS-3.62.401.1

eMMC boot 2048MB

Oct 17 2013

Used RumRunner to get S-OFF, change cid etc. and convert to GPE. Then followed OTA updates for a while, including upgrade to Lolipop. Status today:

M7_UL PVT SHIP S-OFF RH

CID-GOOGL001

HBOOT-1.54.0000

RADIO-4T.30.3218.21

OpenDSP-v34.120.274.0429

OS-5.11.1700.3

eMMC-boot 2048MB

Dec 2 2014 22:11:20.0

So I'm actually on a lower HBOOT now than before I did any hacking.

Questinon is - if I had followed the official upgrade cycle would I still be at HBOOT-1.55?

Here's my idea for reverting this phone to stock:

1) Rewrite CID to original

2) Install suitable KitKat RUU

3) Upgrade to HBOOT 1.55 (since this was the original - I'm wondering if I get 1.55 automatically through step #2 though).

4) fastboot oem writesecureflag 3 (in order to return to S-ON)

5) Install OTA updates

Will the phone now be in the same state as if I had not done any hacking? I've also seen people somewhere suggest you need HBOOT-1.44 to get S-ON back. Is that true? If so, can I downgrade to 1.44, put S-ON and then upgrade to 1.55? Also what about the other elements in the list (OpenDSP etc.) will they return to stock via the RUU? The trouble is I have no way to tell what the values would have been if I had not hacked the phone and had just followed official OTA's.

Any help will be much appreciated. I'm a bit confused over HBOOT issues.