yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] IronTechmonkey:
It should work with most Stock, CM/Lineage or AOSP based ROMS. IDK if AospExtended presents any unique challenges over regular AOSP in that regard. The age of the ROM (Android version) you are using may be more important. In that regard, make sure to read the release history in post 1 of this thread. Perhaps you could test and let other people know :).

If you do test, I would recommend making a full nandroid backup before you flash the kernel, so you have a clear path back to what you had been using in case it does not work.There are other methods such as backing up just the kernel but IMO a full nandroid is more reliable (less chance for errors in the process).
[Moto G 2015 Original Android Development] nubry:
Thank you for your reply ! I'll try it when I get enough time and I keep you up to date

Sorry for my English
[Moto G 2015 Original Android Development] Rohi09:
according to squid2, he will upload an updated kernel sometime this week, and when that happens, you'll have complete compatibility and kernel age will not be an issue anymore. for now, I'd stick to that aosp extended stock kernel until a newer version of squid kernel comes out if I were you.
[Moto G 2015 Original Android Development] IronTechmonkey:
This is not correct. r11 is the last version that supports Lollipop and it is very unlikely that, after 8 versions not supporting lollipop squid2 would start supporting Lollipop in new releases now , as explained in the version history in OP1 to which I referred and in thread posts like this one. https://xdaforums.com/2015-moto-g/o...oto-g-2015-t3215726/post64985782#post64985782. Since [MENTION=7812352]nubry[/MENTION]'s post did not specifically mention Android version and I don't know the history of AEX offhand, I offered the best possible advise, citing the source of the of information.

That being said (and assuming that [MENTION=7812352]nubry[/MENTION] was referring to Marshmallow or later) it does makes sense to wait for the new kernel as you suggest since it is nearly here.

As to assumptions, I quote an old episode of the TV show The Odd Couple: 'When you assume you make an ass/of/u/and/me " :), so I'm dealing in the details that have been stated. I would not even assume that the next version will support Marshmallow (even though it seems likley) until squid2 tells us so.
[Moto G 2015 Original Android Development] Rohi09:
did I miss something? where did lollipop come from? AEX is nougat
[Moto G 2015 Original Android Development] IronTechmonkey:
------

Off topic

Yes, everything explained in my previous post....

From you. Your previous statement that "you'll have complete compatibility and kernel age will not be an issue anymore" assumes that people know the development history of AEX, which is not a safe assumption. Without clarification that statement is summarily untrue and people reading that post who don't happen to know AEX would take it to mean that there are no limitations of Android version and ROM age in regards to this kernel even though there are. Keeping in mind the many variable scenarios that users of this kernel come from these points of clarity really do matter. A clearer answer would have been "[since AEX is based on Nougat, and squid2 Osprey kernel already supports nougat] you'll have complete compatibility and kernel age will not be an issue anymore.

Done with OT

------

Looking forward to testing the new kernel to see if it work around some Lineage OS issues that the r19 version manages to avoid.
[Moto G 2015 Original Android Development] Rohi09:
I meant it in some positive way, I meant to say that the latest AEX will have better compatibility with the newer squid kernel when it's released, until then stock AEX kernel is probably better as it has the latest fixes and patches. I said this simply, didn't think all those through.
[Moto G 2015 Original Android Development] IronTechmonkey:
Fair enough, and between people who know about AEX it would probably be interpreted that way. In any event, a lot of people are hungry for this kernel update and should have fun playing with it. :)
[Moto G 2015 Original Android Development] Rohi09:
yes that we are, eagerly waiting!
[Moto G 2015 Original Android Development] Skyther_k:
Yeah just can't wait no more!! Hungry hungry ?
[Moto G 2015 Original Android Development] Rohi09:
i hope it will have stock marshmallow support
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r20

After a long break, I've prepared a new version of this kernel. This is mainly a maintenance release to get up to speed on security patches, as well as bring in various upstream bug fixes. This kernel is probably the best patched kernel available for this device family as of today - there are hundreds of security-relevant patches here that haven't yet made it to the LineageOS kernel. This is partly a matter of patching policy - for LineageOS, apart from ASB patches, we carefully assess necessity and impact of each change prior to inclusion, whereas here, if I see a security patch that looks relevant, I cherry-pick it without much further analysis. Backporting all these changes to to the LineageOS kernel will be a very time consuming undertaking.

As before, the kernel should work on both Marshmallow and Nougat ROMs, and both stock and custom ROMs. The download is on the downloads tab.

Also: merlin users rejoice! Support for your device has returned.
[Moto G 2015 Original Android Development] Laloo' Hdez:
Thank you so much!! I really appreciate your work
[Moto G 2015 Original Android Development] Skyther_k:
Thank you so much Sultan ;)
[Moto G 2015 Original Android Development] TheForce:
Squid2 thank you so much ?
[Moto G 2015 Original Android Development] digiscales:
Great long time since update can you include USB fast charge in kernel I may use it as daily then
[Moto G 2015 Original Android Development] IronTechmonkey:
That is not a gracious way to greet a long awaited update, and that question is answered in the first few pages of this thread:

https://xdaforums.com/showpost.php?p=63290462&postcount=36.

As to the new r20 release: Looking good in general on Osprey xt1540. As with r19 it is preventing a particular freeze which occurs during restart in LOS14.1 and slightly improves battery life (dependent on usage scenario).
[Moto G 2015 Original Android Development] MotoJunkie01:
Much thanks [MENTION=6485916]squid2[/MENTION]. Very happy to see a new Squid Kernel... :good:
[Moto G 2015 Original Android Development] Rohi09:
thank you so much for this new update!

one question, not related to this new version, but for this kernel in general. I know custom ROM users get better battery with this, but do stock marshmallow users get any battery benefit from this one?
[Moto G 2015 Original Android Development] IamAkshay:
flash it and see
[Moto G 2015 Original Android Development] IronTechmonkey:
+1 to this.

In addition to, test and see: Conserving battery life is a highly usage-case specific and results would somewhat depend on any custom settings that the kernel allows. Therein are some benefits of having a custom kernel; many custom processing and memory management parameters can be applied with apps like Kernel Audiotor (https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor&hl=en) or from a command line.
[Moto G 2015 Original Android Development] rahul9999:
Thank you so much sir.. appreciate you work :) :D
[Moto G 2015 Original Android Development] Rohi09:
I was looking for someone who already did and was curious about his experience
[Moto G 2015 Original Android Development] MotoJunkie01:
The r20 Kernel delivers optimal responsiveness, RAM efficiency, battery life & great overall performance with 6.0.1 stock ROM (latest April 1, 2017 Security Updates)(SuperSU v2.82 & BusyBox). This is by far the best kernel I've ever used on my Moto G (3rd Gen) xt1548. Hats off to you [MENTION=6485916]squid2[/MENTION]. Phenomenal work.
[Moto G 2015 Original Android Development] tinystranger:
thanks for the update man :) but i got an issue

i flashed r20 and i couldn't turn wifi on, so i flashed r19 back and it's working fine once again

sooooo if someone could tell me where to look for .logs or something i'll happily upload them to figure out what's going on

edit: im running marshmallow resurrection remix 5.7.4 osprey
[Moto G 2015 Original Android Development] squid2:
Which ROM is this on? The WiFi driver changed branches between r19 and r20. Logcat and dmesg would be helpful.
[Moto G 2015 Original Android Development] tinystranger:
marshmallow resurrection remix 5.7.4 osprey

will edit when i get the logs, stay tuned

edit: https://www.mediafire.com/view/qcxocvy6c5rhvd7/logs.zip
[Moto G 2015 Original Android Development] ALPHAWolf96:
Flashed the r20 version on my Merlin. Stock 6.0.1 Rom+ Magisk 13.3. Latest twrp by squid2

Booted up fine.

Didn't messed up with any settings of the kernel.

Battery life is pretty great too. Getting abt 6hrs of sot with 11hrs of standby and moderate use of chrome,WhatsApp and YouTube.

The only problem I'm experiencing is battery stats never include any data from apps other than these three.

Second, the ram usage by system is really high like 1.5gb which is really odd because it's usually like around some odd 500mbs on stock kernel.I know that free ram is garbage argument but is this much usage by system is okay?

Should I post some kernel logs as well?

Finally, just wanna thank squid2 for working on this device. Running pretty smooth. Great work!♥
[Moto G 2015 Original Android Development] cesarXP:
Working great in Lineage 14.1 , Merlin device

Thanks a lot man
[Moto G 2015 Original Android Development] IamAkshay:
hi man, my big cores are turning off automatically. did u face anything similar?
[Moto G 2015 Original Android Development] grantdb:
Everything working great with PureNexus on my Osprey.

Thank you!
[Moto G 2015 Original Android Development] Rohi09:
moto g3 (sd410) has no big-little configuration
[Moto G 2015 Original Android Development] IamAkshay:
he said merlin.
[Moto G 2015 Original Android Development] MotoJunkie01:
Not really relevant to your situation, but maybe this could help your RAM efficiency. First install Kernel Adiutor-Mod and set the Low Memory Killer to Very Agressive. Next, in Developer Options, near the bottom of the menu, set the background process limit to 1 or 2. These two settings provide great RAM efficiency on my 1GB RAM Osprey.
[Moto G 2015 Original Android Development] Hedied4me:
Thanks for mentioning this. I too have, what i think is, ram efficiency issues on my 1gb osprey as well. I will try this out soon.
[Moto G 2015 Original Android Development] grantdb:
I have"adaptive low memory killer" pre-selected when I looked in Kernel Adiutor. Looks like the memory usage on my 1gb is fairly typical I think. Average free Ram is around 280mb. I haven't seen any issues. Cheers!

Edit: average free Ram I look at the recents memory bar in settings it's average free 140mb over 3hrs
[Moto G 2015 Original Android Development] Hedied4me:
I think what he means is that in the low memory killer section at the bottom there are various options to change how aggressive you would like that option to be; just press "very aggressive". Then at the top set to have it apply on boot if want it to.
[Moto G 2015 Original Android Development] grantdb:
Right I am just saying that the way it's set by default seems to be working great for me.

Cheers!
[Moto G 2015 Original Android Development] squid2:
On r20, your log indicates that the wlan driver version does not match the kernel version. Note the dmesg line:

[ 47.764947,0] wlan: disagrees about version of symbol module_layout

This suggests that there may be a residual wlan driver from an older or different kernel than this one. In /system/lib/modules, there should be a file named wlan.ko. That file should be a symlink to the actual kernel driver located at /system/lib/modules/pronto/pronto_wlan.ko. The actual driver should match the one located inside the kernel installer zip. Make sure it does, and replace it with the correct one from the kernel zip file if it doesn't.

The installer script in the kernel flashable zip should normally set up the symlink and copy the files over. However, there may be issues if you use an unsupported recovery build or made system read-only or something along that line. I only test with my own recovery builds.

I don't know Resurrection Remix well, but I assume it uses the same path for the wlan kernel module as the stock ROM and LineageOS. If it uses a different path for the driver, you can make a symlink yourself to point to the actual driver kernel module. If it uses a built in kernel driver instead of a separate module for pronto wlan, this kernel would not work on it, but neither should r19, so I assume that's not the case.
[Moto G 2015 Original Android Development] MotoJunkie01:
[MENTION=4253671]grantdb[/MENTION], cheers mate. My experience is relatively the same. With 29 user applications installed, I maintain around 280 - 320Mb free RAM with adaptive low memory killer set to very aggressive. I also use Advanced Task Manager Pro, which will clear the RAM at a user-set time interval, thus boosting the system at a regular integer. (I use a 15 minute auto kill option). This feature boosts RAM upwards of 400Mb free at auto kill execution.
[Moto G 2015 Original Android Development] filo_ale:
Please add the Spectrum app support

Hi, could you please add Spectrum App support to your kernel?
[Moto G 2015 Original Android Development] rohanmane3:
hi guys iam using stock mm 6.0.1 with previous ver of squid kernel r 19 can i install the new kernel over this ?
[Moto G 2015 Original Android Development] MotoJunkie01:
Yes you can. I am stock 6.0.1 and I also installed over Squid r19. My experience with r20 has been exceptional.
[Moto G 2015 Original Android Development] rohanmane3:
Hi after installing the kernel my phone start installing this Google play service for instantapp. Is this part of kernel
[Moto G 2015 Original Android Development] MotoJunkie01:
No. I believe InstantApp is a new application framework being rolled out by Google. If you don't want it, use a root system app remover to uninstall if it is installed to /system/apps/, or if it is installed to /data, just uninstall it from Settings, Apps.
[Moto G 2015 Original Android Development] IronTechmonkey:
No, that new Google instant-app service is coincidental. It just happens to have been released for Osprey (and other devices?) this week.
[Moto G 2015 Original Android Development] MotoJunkie01:
Oh wow. Osprey only? You mean Google has possibly blessed the Osprey with an exclusive service? Do you know exactly what the InstantApp services do?I've researched it but the basis is not really clear on what I've read. I haven't checked my other devices yet to see if the service has been pushed out.
[Moto G 2015 Original Android Development] Kahd'esh'in:
With InstantApp you can use Apps without installing. Not on every Device avaiable
[Moto G 2015 Original Android Development] MotoJunkie01:
Is it to get sort of a live preview of an app, or can you actually use all features normally without installation?
[Moto G 2015 Original Android Development] saransh arya:
I flashed this kernel now what? Please guide me I'm new to flashing of a custom kernel Merlin latest April security patch stock marshmallow magisk root
[Moto G 2015 Original Android Development] adityak1303:
Instant apps was first showcased in Google IO 2016 with android N. So if you search for 'Google io 2016 recap' on YouTube and watch couple of videos, you'll get a demonstration on how instant apps are supposed to work.

Install 'kernel adiutor' app. Open it and grant root access. Then you'll be able to fine tune you're devices performance as per your need.
[Moto G 2015 Original Android Development] mg_jishad:
Does it work for nougat?
[Moto G 2015 Original Android Development] Arugakeerthi:
Yes. And please read the changelog before asking. Nougat support was added in January.
[Moto G 2015 Original Android Development] 25vikasp:
I just flashed this ,for some reason I need to revert stock kernel so I have a back up also.but WiFi is not working now ,so any help. I am on stock 6.0.1
[Moto G 2015 Original Android Development] MotoJunkie01:
I'm on stock 6.0.1 also and have never had any WiFi issues on this kernel. Perhaps wipe cache and dalvik cache and flash the kernel again. What model/variant of the Moto G3 are you using and I can upload you a stock boot image for your stock backup.
[Moto G 2015 Original Android Development] 25vikasp:
I am using xt1550 2gb variant , actually I restored stock kernel through twrp but WiFi is not working,so can you please share flashable zip if you have for stock kernel
[Moto G 2015 Original Android Development] ..::Matr!x::..:
Just dirty flash entire rom without wiping data partition
[Moto G 2015 Original Android Development] MixLeNain:
He say he is on stock rom, so he can't dirty flash it ^^'
[Moto G 2015 Original Android Development] ..::Matr!x::..:
Yes he can with fastboot adb method.... There's a guide in the general section ;)
[Moto G 2015 Original Android Development] MixLeNain:
Oh ok, sorry, i don't know that ^^
[Moto G 2015 Original Android Development] MotoJunkie01:
I don't have flashable zip for stock kernel, but do have the raw boot images which can be flashed using either fastboot or TWRP. A flashable zip would do the exact same thing if one were compiled.
[Moto G 2015 Original Android Development] Rohi09:
flash this and you will be okay
[Moto G 2015 Original Android Development] mg_jishad:
OMG.. thank you so much.. i was searching for this file for many days. I didn't want to clean flash my rom because waiting for Android O.. now i found this. Thank uuu
[Moto G 2015 Original Android Development] nubry:
Is this kernel better than the stock purenexus one for battery? Thanks in Advance!
[Moto G 2015 Original Android Development] grantdb:
I never really found much difference with any kernel for battery life, because I set them for performance. Although you could turn everything right down when screen off and that might help for overall battery use.
[Moto G 2015 Original Android Development] nubry:
Ok thanks anyway I'll try by myself for battery!
[Moto G 2015 Original Android Development] Jota_8:
I'm not using the purenexus ROM but I can tell you I get better battery life with this Kernel.

I'm on lineageOS 14.1 and used to get up to 5h of SOT with the stock los Kernel, after flashing this one, I now get easily 6.5h of SOT, so it last the entire day with light to moderate use.
[Moto G 2015 Original Android Development] V-Droid:
What are your settings (governor, hotplug, etc)?
[Moto G 2015 Original Android Development] Jota_8:
I don't know how to see those settings, I know just the basics of Android modding :p

I just flashed the ROM, then the GApps and the Kernel. If there's an easy way to see those settings, I can post them here :)
[Moto G 2015 Original Android Development] nubry:
You would know if your settings were tweaked because you need an app to do it. So your settings are the stock one after flashing squid but if you wanna check them anyway you can install kernel adiutor and see them.
[Moto G 2015 Original Android Development] LegitKGZ:
Has anyone tried flashing this on a aosp based rom and seen if it works? Lemme know thanks
[Moto G 2015 Original Android Development] MixLeNain:
It work great on Tesla 7.1.2 ??
[Moto G 2015 Original Android Development] gg2001:
Thanks so much for this new release r20!

Working great on Resurrection Remix 5.7.4!

Really smooth and longer battery backup...this is a really nice release :good:
[Moto G 2015 Original Android Development] V-Droid:
please don't quote the whole OP
[Moto G 2015 Original Android Development] ayush4261:
Will it work on lineage 15 ?
[Moto G 2015 Original Android Development] cesarXP:
Try it and tell us
[Moto G 2015 Original Android Development] MixLeNain:
There is not a lot of change between cm14.1 and lineage 15.0 kernel so I think it will work, but I'm not totally sure, so test and see if it work :)
[Moto G 2015 Original Android Development] ayush4261:
Sadly it didn't work :(, thanks for the reply though

---------- Post added at 07:02 PM ---------- Previous post was at 07:01 PM ----------

I tried squid as well as fire kernel, but no luck. :p

I won't try any more kernel for now, thanks for the reply:)
[Moto G 2015 Original Android Development] mehul92mehta:
Is this works on viper os 3.0 ROM for osprey, because this rom works perfectly but i am having issue of slow Charging
[Moto G 2015 Original Android Development] Apurba99:
Does the kernel works good with lineage 14.1?how is the performance and battery backup,is it better than the stock kernel?what are the good and bad sides of this kernel?
[Moto G 2015 Original Android Development] grantdb:
Works great, better than stock, lots of options and no "bad sides" that I found.
[Moto G 2015 Original Android Development] Arugakeerthi:
It means system UI is freezing (it is soft restarting).Check LMK values.
[Moto G 2015 Original Android Development] Arugakeerthi:
I can't get you.A screen shot maybe? Make the values medium/aggressive (as per Kernel Aduitor) and try again.
[Moto G 2015 Original Android Development] g3shamu:
Does the kernel need to be updated to fix BlueBorne?
[Moto G 2015 Original Android Development] Jota_8:
Works way better than the stock LOS 14.1 kernel. With light to moderate use i get up to 6 hours of SOT, so my battery can make it throught the entire day. Performance wise is very smooth with no lags or freezes.
[Moto G 2015 Original Android Development] V-Droid:
Try Ultra Devs Kernel, it's been updated to work work with android O
[Moto G 2015 Original Android Development] mhdafh:
Can u plz share the link
[Moto G 2015 Original Android Development] ayush4261:
For android o:

https://www.androidfilehost.com/?fid=745425885120762803
[Moto G 2015 Original Android Development] pa1_phoenix:
Is dis kernel works fine with d aex v4.6 ? Because m already facing a battery drainage in stock one
[Moto G 2015 Original Android Development] darkrow95:
HI, i'm using this kernel with aex 4.6 and not facing any battery drain, battery life is pretty good actually :)
[Moto G 2015 Original Android Development] V-Droid:
How much SOT do you have?
[Moto G 2015 Original Android Development] darkrow95:
Around 4-5 hours, depending of the usage and etc. Normally, I manage to use the phone from 7 am to 9/10 pm without charging, but that depends on the day :confused:
[Moto G 2015 Original Android Development] Rohi09:
restore your stock kernel and see if the issue fixes or persists. report back.
[Moto G 2015 Original Android Development] mhdafh:
Does this work for merlin?
[Moto G 2015 Original Android Development] IamAkshay:
yup, tried in stock mm and now using in los 14.1, no issues.
[Moto G 2015 Original Android Development] mhdafh:
But i for message from twrp that " this device is Merlin it is. For osprey"
[Moto G 2015 Original Android Development] cesarXP:
Really?
[Moto G 2015 Original Android Development] IamAkshay:
there is a version for merlin in the downloads. squid_kernel_r20_merlin.zip
[Moto G 2015 Original Android Development] IamAkshay:
yup. and if we put battery profile in powersave mode, we can enable all the cores except the first core. battery life is same, bt device heats less now.
[Moto G 2015 Original Android Development] mhdafh:
Sorry i replied to that ud Kernel 5.0
[Moto G 2015 Original Android Development] mhdafh:
Any other gud kernels for Merlin?