yashsingh1/xdaforums huggingface dataset:
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
I've seen many people loving this kernel, I'll continue updating it in a few days. Keep in touch with the thread ;).

Maybe I try adding DT2W.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] pluma321:
Exclent!!!

Enviado desde mi Moto G Play mediante Tapatalk
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Maybe incorporate those updated WiFi drivers from the heliox kernel, that would be cool
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
I can seriously achieve that.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Also perhaps those SD card fixes as well, having to reboot before my phone realizes I took photos can get annoying at times :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
[MENTION=5817781]facuarmo[/MENTION] I don't mean to rush you or ask for ETAs or anything, but do you have a solid list of features that will be included in your next kernel release?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Coke kids:
Thanks
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] El Barba:
Let us know when you've done it, pls!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
I'll try soon, I've tried yesterday without any luck.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] pluma321:
I have tried and achieved with the base of your kernel. I do not know if I look at the xperience kernel sources. The double touch works very well. In its kernel I worked, but I had problems with the wiffi module to build it that gave error! We'll see if you have more luck. Gerardo_valcavi@hotmail.com rosario-argentina

Enviado desde mi Moto G Play mediante Tapatalk
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ashutosh Sundresh:
BTW. Since when did the G4 Play get Mokee?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog

Patched with [MENTION=5059983]Dark98[/MENTION] 's commits:

- Added governors: impulse and elementalX.

- DT2W (Double tap to wake).

- Adreno Idler (reduce GPU frequency and resources if inactive).

- Added hotplug drivers: allucard and thunderplug CPU.

Thanks to [MENTION=5059983]Dark98[/MENTION] for all his changes, see source here: https://github.com/Dark98/android_kernel_motorola_msm8916-1.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] RobinsonM7:
DT2W

How active the function of DT2W?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] zendude:
double tap to wake

I am mainly interested in the double-tap-to-wake feature so wanted to try this kernel temporarily and ran 'fastboot boot zImage'. I can see that it loaded properly because the kernel version in the "about phone" screen has changed but double tap didn't work and wifi wouldn't turn on. I haven't tried anything else thoroughly. I am running the latest lineage 20170524 build.

On a side note, once DT2W is fully implemented, I would like to know from other users what their experiences have been like in regards to the battery life assuming this is polling the screen constantly for user interaction.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Enable DT2W:

You must enable it with an app like Kernel Adiutor. Go to "Wake", then at "DoubleTap2Wake" pick "Full".

Otherwise, you can do it from the terminal:

su -c "echo '2' > /sys/android_touch/doubletap2wake"
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Hi zendude, DT2W is completely implemented.

Enable DT2W:

You must enable it with an app like Kernel Adiutor. Go to "Wake", then at "DoubleTap2Wake" pick "Full".

Otherwise, you can do it from the terminal:

su -c "echo '2' > /sys/android_touch/doubletap2wake"

The WiFi driver isn't built-in in the kernel (zImage), that's why it won't work unless you flash SomeFeak3.0.zip from recovery or load it after boot. For example, manually copying the driver and then loading it with insmod.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] zendude:
Thank you. DT2W works fine after running the echo command. Are there flags for other options besides 2? Ability to set the duration between tabs might be useful for some people.

I copied system/lib/modules/pronto/pronto_wlan.ko in the zip file and tried insmod pronto_wlan.ko but got an error although logcat didn't capture any activities while I ran the command:

harpia:/sdcard # insmod pronto_wlan.ko
insmod: failed to load pronto_wlan.ko: No such device

Can I restore the original lineage kernel by backing up and restoring just the boot partition in twrp?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Yes, you can restore the whole kernel as it just adds a module that's loaded upon startup for the WiFi, if this module isn't called nor required by LineageOS's stock kernel (and it isn't, in my testing), it won't affect anything if you backup your boot partition and then restore. That way you will be back at your previous kernel and ROM setup.

Then, please flash the kernel and test with the full .ZIP recovery flashing.

About the DT2W flags, yes, you also have 1, which means 'half-screen'. Anyways, in my acknowledge, it's buggy. I'll release a fix soon.

Thanks for using SomeFeaK :cowboy:.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog

Patched with [MENTION=6623671]Subhrajyoti Sen[/MENTION]'s commits:

- Patches for sdcardfs.

- Patches for wlan.

- Patches for less power consumption.

- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).

WARN: sdcardfs patches broke media scanner updating, reverted patches and re-building with more features.

Thanks to [MENTION=6623671]Subhrajyoti Sen[/MENTION]'s sources: https://github.com/SubhrajyotiSen/HelioxKernelHarpia
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog

- Reverted patches for sdcardfs (they broke the media scanner).

Patched with [MENTION=4403780]TeamMex[/MENTION] 's commits:

- USB fast charge.

- FauxSound gain control.

Thanks to [MENTION=4403780]TeamMex[/MENTION] 's sources: https://github.com/XPerience-AOSP-Lollipop/android_kernel_motorola_msm8916-1

RELEASING TOMORROW
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ofthecats:
There is a commit to maybe fix sdcardfs ROM side. Without it, running selinux permissive may fix it too. [MENTION=5169465]DespairFactor[/MENTION] may be able to refer you to the commit
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
I've been waiting so long for this. Thank you so much for the update

Just to clarify, this kernel supports both Android 7.X and 6.X right?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DespairFactor:
I am a noob, I know nothing
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Well, I've managed to revert the non-working commits, re-apply the working ones and then push to GitHub. It's almost done, the only remaining thing is that 'cpufreq_governor.c' isn't building, but it's just a matter of minutes in my computer to find the solution. Anyways, I can't work on it anymore till tomorrow night.

Next release will be up tomorrow or maybe in two days, sorry for the delays. Cheers, Facundo :cowboy:.

For more info, please visit: https://travis-ci.org/FacuM/android_kernel_motorola_msm8916/
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Eddie_53:
I'll try to make the app to use the notification led and report back soon :)

---------- Post added at 11:55 PM ---------- Previous post was at 11:25 PM ----------

running the commands to turn the leds on/off gives me this error: sush: can't create /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger: No such file or directory

Found the error: the folder "leds-atc-e3be1600" has a different name in my device, still no led :/
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Eddie_53:
I found a way to turn the led on, but only while the cable is connected.

I changed the value of the file "brightness" on the same folder as the others from '0' to '1' ant the led keeps on as long as the cable is plugged :/

ps: I'm on stock rom
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ofthecats:
Cm14.1 currently has a charging led. I haven't been able to change how it behaves
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Eddie_53:
I saw this when I had lineage installed, let's wait for the dev to respond and progress with it... sadly it is just for rooted devices :/
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog

- Reverted patches for sdcardfs (they broke the media scanner).

Patched with [MENTION=4403780]TeamMex[/MENTION] 's commits:

- USB fast charge.

- FauxSound gain control.

Thanks to [MENTION=4403780]TeamMex[/MENTION] 's sources: https://github.com/XPerience-AOSP-Lo...rola_msm8916-1

Please test and report, everything should be working :fingers-crossed:.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog:

- Hotfix: re-added missing hotplug driver (thunderplug).
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog:

- Hotfix: DT2W won't freeze the screen anymore.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] pluma321:
Very thanks!!!

Enviado desde mi Moto G Play mediante Tapatalk
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
I'm not sure if this is the kernel (maybe fast charge?) or the new build of Lineage, but my battery is draining a lot quicker now. Doing nothing with the screen off, my phone lost about 3% in an hour. Later today I can post logcats or dmesgs if you want.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Thanks for the report, maybe you can upload a logcat later :P.

Have you been using DT2W?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
No dt2w for me, actually no gestures at all
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Managed to quickly get logs, here's the folder that contains both a logcat and dmesg (kernel logs)

*link removed*

Attached is battery stats, as can be seen even though my screen is off for most of the time it still drains quickly
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ofthecats:
Delete
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
I'll review your logs in some time, thanks :D. I suggest you removing the link and if you need to send me some logs another time, just PM me as they might contain many sensitive information things.

That's an empty file lol.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
I'm using another toolchain, the Google prebuilts, to try if it works better as I haven't seen any strong problem with the drivers, it's likely to be something at the time of compilation. Basically, I saw a true problem with the wlan in [MENTION=5006327]jasonmerc[/MENTION] 's logs, I'm looking for a solution and I'll post back in a while. Thanks and enjoy SomeFeaK :cowboy:.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Those logs I took were right after a fresh reboot, if you want I can leave it running on sleep/screen off for a long time before capturing logs
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Thanks, but it's okay for now. I'm doing some tests and will report back later. Stay tuned :fingers-crossed:.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog:

- In the stock ROM, the audio won't skip anymore (tested).

- The wlan driver shouldn't crash again (updated with Heliox sources).

- Re-added missing Adreno Idler driver.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog:

- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] santi1993:
Hi, ill test the kernel like a cabeza :d
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Marcos60001:
How do I configure this, exactly? I can't seem to find the option In Kernel Adiutor.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ofthecats:
Awesome!

Is sweep to wake possible?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
XD, LATAM force? :D

It's always enabled, at least for now.

Not yet :(.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ruh01:
Phone shut down and heating

Hello, first I would like to thank you for the kernel and continuos development, as I use it since 2.x versions. But now, with 3.6.1 version, I have a big problem, that already occurred twice in 2 days. After fully charging the phone, I used it several hours without problem. But after a while I found that it was closed and wouldn,t start because the battery was empty. It drained in just a couple of hours, with phone closed. Interestingly enough, the phone was very warm and after charging a little and reopening, the battery settings showed that wireless was on an consuming all the time, even when phone was closed. You can see in the picture. This is very strange. If you have the time, please help and look into this problem. My configuration is XT1604 vodafone edition, rooted, twrp 3.1.1.0, kernel 3.6.1. I will also do my best to get a log but I have to learn how to, first. Thank you a lot.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] wooser:
Hello [MENTION=5817781]facuarmo[/MENTION] :)

Your Kernel is really awesome :D

Can you please implement the Linux Kernel Version 4.1 or 4.4 ?? Or even the version 4.9 :) It has more features :D

https://en.wikipedia.org/wiki/Linux_kernel

Thanks a lot :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
You can get a logcat app on the play store to save a logcat as a text file to upload to google drive or something. To get a dmesg, which is similar to a logcat but kernel specific and much more detailed, just go to a terminal emulator app, type "su", then "cd /sdcard", then "dmesg > DMESG.txt" and look for the dmesg.txt file on your SD card root to upload and share along with the logcat.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ruh01:
[MENTION=5006327]jasonmerc[/MENTION] Thank you, I managed both to use a logcat from a logcat viewer and also by terminal. Those file are already sent to [MENTION=5817781]facuarmo[/MENTION] for "consult"
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog (v3.81):

- wlan: updated drivers, solved remaining crashes and battery drain.

- prima: updated drivers.

- usb: added support for xpad joysticks (XBOX).

- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.

- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.

- general: performance improvements for touchscreen, GPU and variables definition.

Download:

Main link: https://xdaforums.com/devdb/project/dl/?id=25040

Alternative link: https://www.androidfilehost.com/?fid=961840155545571701

NOTE: Now, I'll add the version next to every release announcement and it's respective download links at the bottom.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] wooser:
GREAT :D !!!! This kernel is awesome :)

Please dear bro :D Update the Kernel to Linux Version 4.4 or 4.9 :D !!!!

https://en.wikipedia.org/wiki/Linux_kernel

THANKS :D
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog (v3.82):

- net: improved network packets handling.

- wlan: limit max operations to prevent failures.

- thermal: better management and improvements to reduce overall temperature.

- debug: less console spamming.

- mem: better memory handling and performance.

Download:

Main link: https://xdaforums.com/devdb/project/dl/?id=25043

Alternative link: https://www.androidfilehost.com/?fid=745425885120738579
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog (v3.90):

- usb: use your device as an USB gadget, including keyboard and mouse.*

- general: updated defconfig for harpia at source to match new features.

* To use the USB gadget feature, you need an app: https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

For now, it only works if SELinux is in permissive mode, in terminal, before starting the app, type:

su -c 'setenforce 0'

Download:

Main link: https://xdaforums.com/devdb/project/dl/?id=25068

Alternative link: https://www.androidfilehost.com/?fid=961840155545571974
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] CygnusX2:
Thank's

Great job

Thank you very much friend
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ofthecats:
Awesome updates!

Alucard hotplug doesn't seem to work for me. It only hotplugs the minimum cpu core value. Is this how it works?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
As the person behind SomeFeaK, I need to make an announcement:

Taking in mind the impact of the project in the XDA's advanced users and developers community, it's general acceptance and an unmeasured distribution, I've decided to mark some software pieces that will never make peace with the kernel, taking in mind that they come with some problems which, solving them, makes it likely to end up in consequent problems with other ROMs.

Nextly the list:

- Unsupported: AICP, crDroid.

- Partially unsupported: (depends on the bugs and when they appear): XPerience, Stock.

This doesn't mean you wouldn't be able to use the kernel on those ROMs, this means I'm not going to help if you get in trouble or your phone starts crashing like crazy just for doing simple tasks.

The best wishes for you guys, I really love how thankful you're with me, but people reporting bugs in buggy ROMs would end in many headaches for almost everyone.

Cheers, Facundo Montero.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] facuarmo:
Changelog (v4.00):

- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).

- gpu: overcloked, max freq. 650 MHz.

- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.

Download:

Main link: https://xdaforums.com/devdb/project/dl/?id=25077

Alternative link: https://www.androidfilehost.com/?fid=745425885120739076
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] athlonxp78:
Que capo sos... pero que capo sos... ;)
[Moto G Q&A, Help & Troubleshooting] GuestK00267:
When I plug my Moto G into the charger, the bolt icon would show up but the battery settings would not say that it's charging. I tried to restart the phone but that made the charge drop from 13% to 6%. I've also tried to clean the port, change cables, change outlet, and the phone is still not charging up. It's been plugged in the charger for an hour and the battery is stuck at 3%. What do I do?
[Galaxy S 4 Q&A, Help & Troubleshooting] Codemaster1337:
best rom for pokemon go and the longest SOT?
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
If you want more screen on time then get a bigger battery.

No custom ROM or tweak will magically double the phone's battery life. At most you can get some extra minutes, but that's all.

So, if you really want to play the game longer, a bigger battery or a battery pack is your best option.
[Galaxy S 4 Q&A, Help & Troubleshooting] Codemaster1337:
Thanks for reply, and i may express me wrong

My english is not the best.

What i want to know is, what the best ROM and/or kernel for the longest SOT possible in the stock battery, and for play Pokémon. i dont expect miracles, but some ROMs/ are best than others in this aspects.
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
Not really. I tried many ROMs and my sot was always around 4 hours.
[Galaxy S 4 Q&A, Help & Troubleshooting] Codemaster1337:
can you suggest me one of these that you use with good performance/smoothness?

and if possible, aosp clean as possible
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
There is only one AOSP ROM. So there's nothing to suggest if you only have one option.
[Galaxy S 4 Q&A, Help & Troubleshooting] russy23:
Pokemon go..lol
[Huawei P9 Questions & Answers] benjamen50:
You know that noise that you hear when you receive a text message with the phone on vibrate / silent / do not disturb?

It really does my head in when I'm watching a video or movie via youtube or media player. It's so loud even at a lower volume it's probably the most disturbing notification sound even when receiving a phone call too.

I hope you guys know what I mean but I can't seem to be able to turn it off.

I got a Huawei P9.
[Tilt, TyTN II, MDA Vario III General] ecltech:
Hi all,

I have an AT&T Tilt and there's a feature to enable, disable or only allow caller-id info to be displayed to my contacts. When I enable the 3rd option "Only to contacts" it still blocks called-id info for outgoing calls. My contacts are sync'ed with MS outlook. I created a contact and save it to my SIM card and then it works fine.

Does anyone know if this is the limit of the feature or is there a way to get it to work with my sync'ed contacts?

Thanks.
[Tilt, TyTN II, MDA Vario III General] sherpa:
I may be wrong but I think the option only applies to contacts on SIM cards.
[Tilt, TyTN II, MDA Vario III General] ecltech:
That's what I figured... was just curious if there was some way to get it to work with regular contacts. Ah well. :)

Thanks.
[Fire Q&A, Help & Troubleshooting] FatalIll:
I was running CM12 just fine, but tried to play around with root; wound up losing root. I went to recovery and sideloaded update-kindle-global-37.5.4.2_user_542168620.bin; looked successful.

Rebooted, black screen, nothing - no logo, no splash, nada. When plugged into my computer I hear it connect& disconnect over and over, with no changes to the screen. Devices & Printers shows MediaTek Preloader USB VCOM (COM3) briefly as its connecting/disconnecting.

I've tried holding Power & Vol Down for 30sec-2min at a time, no change.

Any hope of recovering?
[Fire Q&A, Help & Troubleshooting] DB126:
Seems you attempted to sideload FireOS 5.1.2. If the device had any version of FireOS above 5.1.4 loaded prior to flashing CM 12.1 you inadvertently created a fatal bootloader conflict. Regardless, if you can not access stock recovery it is not possible to repair the device. Sorry for your loss.
[Fire Q&A, Help & Troubleshooting] FatalIll:
I believe I was on 5.3.2 when I put CM on... silly me for trying things while half asleep.

RIP Fire Tablet, we hardly knew ye.

Amazon is sending me a replacement, hopefully pre-5.3.2.1 or whatever the latest is.
[Samsung Galaxy Tab A series Questions & Answers] tennessee_titan:
Had this fixed on my first one . Had to return it and I cant find how i fixed it. Rooted. TWRP gives error message cant mount data. I cant backup or restore. Can someone point me to the fix, please?
[Samsung Galaxy Tab A series Questions & Answers] REtails:
Please note any instructions contained within this post are to be followed AT YOUR OWN RISK. I am not responsible for data loss, device failure, or any other form of damages resultant from the below post.

Final Edit: Method below tested and working on my SM-T580. Please read entire post before making any device modifications.

The reason you cannot mount /data is because TWRP does not support Samsung encryption, and your /data partition is encrypted by default. To fix this, you must disable encryption and FORMAT (not just wipe) your /data partition.

You will lose all data on your device by doing this.

To disable encryption you must flash this ZIP file by ashyx via TWRP. I will update this post momentarily with the link.

Edit: Procedure that worked for me is as follows: [YOU MUST HAVE A ROM FILE TO REINSTALL]

-oem unlock and flash twrp

-format data

-wipe cache, dalvik, system, and data

-back out to main menu and reboot recovery

-flash your rom of choice back onto the device, I personally am using Fenix v2 found on XDA

-flash ashyx zip *not sure if this is actually necessary but it couldnt hurt, I flashed this file at this time

-reboot system

-then reboot to recovery to flash xposed, sd patch, etc

-you will see that twrp successfully mounts /data

Good luck!