yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] LuanHalaiko:
[MENTION=6485916]squid2[/MENTION] can you explain to me how moto g3 osprey has a snapdragon 410 with 1.4ghz? from what I know only snapdragon 412 has this freequency, I'm trying to unlock my device from 1.2ghz to 1.4ghz but it dosn't work, it will show that is running at 1.4ghz but it's placebo, I see that in the moto g3 kernel source it has some device specific files like msm8916-osprey.dtsi, if you know how to unlock it, can you send me a PM explaining how msm8916 handle those freqs? I really need help from other devs to fix this, becouse my processor can't handle the GPU, the CPU will hit 100% of use on all cores, and the GPU won't hit 90% of use, in basic terms, it's being bottlenecked, (Redmi 2 adreno 306 have a 620mhz clock becouse my source have a freequency unlock for it, if you want to unlock it, just say in the PM)

I will wait for your reply, every help from another dev is awesome for my kernel development

Here is my source if you want to take a look at boot/dts/qcom files : Kernel source
[Moto G 2015 Original Android Development] vishalgupta.vns:
plz make this kernel for android 7.1 nougat support with moto g merlin.....
[Moto G 2015 Original Android Development] IronTechmonkey:
A quick search of this thread for the word "merlin" or just reading back a few pages (which are expected of us all) indicates that this is being worked on already https://xdaforums.com/showpost.php?p=71531405&postcount=527.
[Moto G 2015 Original Android Development] vishalgupta.vns:
plz make a kernel for merlin with cm14.1/aosp 7.1
[Moto G 2015 Original Android Development] Hedied4me:
Can you not read the post above yours?
[Moto G 2015 Original Android Development] LenAsh:
Please avoid asking the same question over and over. READ the responses members have already provided.

Any further occurences will be treated as SPAM and dealt with accordingly.

ALSO - please don't quote the entire OP in your posts.

Some of your posts have been edited or deleted.
[Moto G 2015 Original Android Development] r26332735:
Please give link for stock rom
[Moto G 2015 Original Android Development] NeoPreacher:
Read and search, goddamn!
[Moto G 2015 Original Android Development] frenchiveruti:
Root disguise?

Hi there, sorry if this was asked before and answered already, but I was wondering if you are going to include in the future build the "disguise root" function against SafetyNet anti-root measures, thanks :fingers-crossed:
[Moto G 2015 Original Android Development] Hedied4me:
You should look into Magisk. I've never used it so I can't direct you but Magisk is generally the best way to hide root.
[Moto G 2015 Original Android Development] acejavelin:
Magisk... It is simple to use and hide root.
[Moto G 2015 Original Android Development] sargam44:
[MENTION=436307]squid[/MENTION]. I flashed r19 kernel zip .so if i want to update new nightly of lineage OS . Stock kernel and squid kernel can conflict each other ?
[Moto G 2015 Original Android Development] MixLeNain:
If you reflash the rom, the custom kernel will be erased, and you will have the stock kernel, so if you want to have squid kernel, you need to reflash it each time you reflash the rom :)
[Moto G 2015 Original Android Development] sargam44:
Thanks you.
[Moto G 2015 Original Android Development] justjr:
derp
[Moto G 2015 Original Android Development] cesarXP:
When the next update will be launched?
[Moto G 2015 Original Android Development] Hedied4me:
When it's launched. Don't ask that question, its against the rules.
[Moto G 2015 Original Android Development] cesarXP:
Ohhhh I see , sorry man
[Moto G 2015 Original Android Development] sargam44:
[MENTION=436307]squid[/MENTION]. Why don't you merged your kernel to lineage OS

Its good to have your kernel
[Moto G 2015 Original Android Development] justjr:
I don't think he decides what kernel comes with lineage OS.
[Moto G 2015 Original Android Development] sargam44:
But he can commit in lineage OS Gerrit for osprey
[Moto G 2015 Original Android Development] TheForce:
Like [MENTION=5188092]justjr[/MENTION] said, lineage is not his rom. So he can't just put something in Gerrit. [emoji6]
[Moto G 2015 Original Android Development] 25vikasp:
i want to try this one but how to back up my stock kernel apart fro nandroid backup method
[Moto G 2015 Original Android Development] justjr:
After some days testing, I really liked this kernel... nice battery with tweaked Interactive. Except for Intelliplug, unfortunately it is an awful hotplug, if we could get AutoSMP, Broken Hotplug or something like it, would be perfect.
[Moto G 2015 Original Android Development] boswelja:
Why can't you use tarp backup and only choose the boot partition
[Moto G 2015 Original Android Development] DiePirate:
[MENTION=6485916]squid2[/MENTION]

Can you add this for better battery life? https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commit/9c5aeec85e26e2a50a48f545fb1998a9fcb1a3c1

And maybe enable westwood tcp ip algo.?

Please dont drop support for MM. :)
[Moto G 2015 Original Android Development] camcho1:
Works in xt1543 double sim?
[Moto G 2015 Original Android Development] Laloo' Hdez:
Yes, it works in all osprey variants.
[Moto G 2015 Original Android Development] Izaike:
New to flashing kernels... I have stock ROM with stock kernel, but I want to flash this kernel. Will this factory reset my phone? Or does this need a factory reset before flashing the custom kernel?
[Moto G 2015 Original Android Development] coldgin_:
Neither
[Moto G 2015 Original Android Development] Rohi09:
a nandroid backup, or at least a backup of your current boot partition is all you need
[Moto G 2015 Original Android Development] IronTechmonkey:
To clarify and expand on previous replies. You would want a full nandroid backup in case you don't like the effects of the kernel and want to revert to your previous build. Yes there are other ways to restore the previous kernel but a full nandroid is the safest and covers more ground. You would also want a backup of your apps in case you use the custom kernel for a while and then return to previous nandroid backup...in which case you might also want to restore the changes that were made in your apps while you were using the custom kernel.
[Moto G 2015 Original Android Development] harry9713:
I just installed this kernel over my lineage is...it seems fine..but I don't know how to enable d2w. Please someone tell me if it have that. Thanks in advance☺️
[Moto G 2015 Original Android Development] HelpMeruth:
I assume you mean DT2W, No this kernel doesnt support DT2W.
[Moto G 2015 Original Android Development] harry9713:
Which one would support it..? I just so love to see dt2w ....I wud prefer this to ambient display on lineage OS...so if anyone knows...suggest ☺️ I used fire kernel also..but I couldn't see dt2w in that too. ?
[Moto G 2015 Original Android Development] MixLeNain:
It seems to me that UltraDev kernel has dt2w :)
[Moto G 2015 Original Android Development] Rohi09:
[MENTION=6485916]squid2[/MENTION] has bought moto g4 play, does this mean that development for this kernel and our device is over? :crying:
[Moto G 2015 Original Android Development] Hedied4me:
Not necessarily. Wait for him to say something before assumptions. Developers do sometimes work on multiple devices.
[Moto G 2015 Original Android Development] Wake800:
Which one do i use for stock MM i read r18 but is that for stock or CM only, I read it works for Marshmallow but no specification..... ..................................................so just installed and just in case r18 worked great and booted on Stock MM 6.0
[Moto G 2015 Original Android Development] dddufte:
Thanks for this Squid Kernel.

I was messing around trying to debug several issues i had with Lineage 7.x on my Osprey for weeks until i replaced the stock lineage kernel with squid 3.10.104.r19.

Since then my phone works as expected and i can finally use it again.

Thumbs up for your work.

Sidenote: i tried several other kernels (Fire, UD etc), but all those tests resulted in soft-reboots after some minutes of using.

---------- Post added at 02:49 PM ---------- Previous post was at 02:47 PM ----------

I know the old 'Id' mantra - "..it's done when it's done" ...that's why i am not asking for any release date for further squid kernels, but i would like to know if there is still active development on the squid kernel for osprey or not. Any input is appreciated.
[Moto G 2015 Original Android Development] Rohi09:
exactly this, knowing that it's still in development gives peace of mind
[Moto G 2015 Original Android Development] IronTechmonkey:
A rose is a rose by any other name. These are just veiled ETA requests. Please have enough respect for developers in general, and in particular for squid2, to not assume that he would not tell us if development stopped. If you are curious about the status of his work and this kernel you can review his recent posts, where you will probably see how many things he works on and which of them come before this kernel. I'm sure he'll let us know if development ceases.

That being said, I've also had problems with the Lineage OS Osprey builds that have been rectified by using squid2's kernel and will backfill some information about that later.
[Moto G 2015 Original Android Development] matpower64:
A Moto G4 Play is pretty much a Moto G3 with small changes, so he could develop for both phones.
[Moto G 2015 Original Android Development] boswelja:
That's not how it works though.. unless both devices have the exact same hardware
[Moto G 2015 Original Android Development] matpower64:
It's pretty much the same hardware, looking at spec sheets, or at least, they are close enough.
[Moto G 2015 Original Android Development] Rohi09:
hardware does not only mean the SOC, it means all the little components like modem driver, wifi driver and everything. it might be the same, it might not be.
[Moto G 2015 Original Android Development] matpower64:
I see, but aren't those part of the SoC usually?
[Moto G 2015 Original Android Development] Rohi09:
yes, they are, my mistake, i was trying to say that similar cpu and gpu doesn't mean that everything is same :p
[Moto G 2015 Original Android Development] RootCheckM8:
Hi, I just flashed the R19 zip yesterday, but WiFi stopped working. I'm pretty sure it has something to do with drivers, but I can't seem to find the R19 Osprey-Stock version anywhere. Any help would be appreciated.
[Moto G 2015 Original Android Development] Rohi09:
did u flash it on top of the stock kernel or some other custom kernel? you should flash this over the stock kernel
[Moto G 2015 Original Android Development] RootCheckM8:
I flashed it over the kernel that comes with LineageOS, which I assume is the stock kernel. Correct me if I'm wrong, please.
[Moto G 2015 Original Android Development] Bangbang_cannon:
is there any updates for this kernel
[Moto G 2015 Original Android Development] daksha303:
----Ignore this ---- Sorry, I missed reading a line in the 2nd post :p

Sorry and thanks again, anyway!

Hi everyone.

First of all congrats for the great job you are doing on this device.

I've a 2015 3rd gen 16gb on the way, and was planning about getting CM12.1 on it.

But I can't figure out which one of the 2 kernels is for CM...the "non-stock" one?

Thanks in advance for your attention, and keep on this great modding :)
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r10c

This is a maintenance release to fix crypto (that I had broken in an earlier release) and add support for Android 6.0. Be aware that this kernel leaves SELinux enforcing, so if you are using a test build of Android 6.0 that requires permissive SELinux, you'll have to patch the installer script to make SELinux permissive in the boot image.
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r10d

I've uploaded a new build to fix all the (selinux related) issues r10c caused on the stock ROM.
[Moto G 2015 Original Android Development] eng.stk:
You mean framework has unfinished stuff that needs selinux permissive or root working on enforced?

In Android 6.0 SuperSu already has support for enforce mode, just needs to be merged a selinux entry for su on ROM binaries namely sepolicy (since we both use Anykernel installs):

http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

And use SuperSU-v2.50+ of course
[Moto G 2015 Original Android Development] squid2:
None of our 6.0 preview things (CM13 or AOSP) have sepolices that are ready for enforcement. We haven't even released builds of CM13 yet... (CM13 is quite buggy and unstable right now)
[Moto G 2015 Original Android Development] hossman:
Is there any foreseeable issues flashing this on the CDMA variant? XT1548 virgin Mobile.

Thanks in advance!
[Moto G 2015 Original Android Development] AROAH:
Any plans to add USB keyboard support, such as with this? github/pelya/android-keyboard-gadget (Can't post link due to low post count.)
[Moto G 2015 Original Android Development] hossman:
I have flashed the latest stock kernel and have had no issues.

All seems to be working so far...I am running the lionfish governor.

Thanks for this!:thumbup::thumbup::beer:
[Moto G 2015 Original Android Development] minieod:
Anyone have a link to stock kernel that is flashable?
[Moto G 2015 Original Android Development] Saka911:
[MENTION=6485916]squid2[/MENTION]

I just rooted and flashed twrp on my stock Moto G2015.

I wish to have the "double tap to unlocl" feature.

Will flashing your rom and then using trickster mod enable me to get it?
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r10f

This release includes upstream updates from Kernel.org (Linux 3.10.92), Qualcomm (CAF LA.BR.1.1.3_rb1.36), and Motorola (MMI-LPD23.118-22), along with various cherry-picked fixes. It should work effectively the same as r10d, but with slightly better security and stability.

This will likely be the last maintenance release of the r10 series. The next release (r11) will return to adding features, though it remains to be seen which features they will be.
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r10g

I hadn't originally planned for this, but a new security vulnerability found in Pronto WLAN driver the forced me to do one more r10 series release. This release includes the Pronto security fix, a zRAM bug fix, and Linux 3.10.93.

For this release, I switched from Linaro GCC 4.9.3 to Linaro GCC 5.1. The newer compiler produces slightly smaller and slightly faster binaries. I had originally tried out the new compiler for the past couple releases on lux, and there was a small but noticeable performance improvement in normal usage. I hope you enjoy the performance boost brought by the newer compiler.
[Moto G 2015 Original Android Development] l3ones:
Potentially a stupid question but will this work on the unofficial CM13 build? I'm trying to figure out what I flashed last night that bricked the damn thing.
[Moto G 2015 Original Android Development] HelpMeruth:
Well, if cm 13 boots without the kernel and if cm 13 doesnt boot with the kernel, than it's obvious that it isnt compatible :P
[Moto G 2015 Original Android Development] squid2:
Not at the moment because of one SELinux patch. I do have a CM13 compatible version though that I haven't released here yet.
[Moto G 2015 Original Android Development] Feurrado:
Installed and thanks button pressed:p
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r11e

Despite the large version jump, this is a fairly minor update for MSM8916 (the rest of the r11 releases were focused on MSM8939 specific features which is why I didn't release them for MSM8916). This build fixes some race conditions in the CPUFreq code for the Lionfish/Conservative/Ondemand CPU governors. It also includes other minor bug fixes.

The builds I've posted on downloads tab are only for Lollipop 5.1. I do have a CM13 compatible build that I haven't posted as it's in need of testing that I haven't been able to do today for certain reasons. PM me if you are interested in testing my CM13 compatible build.
[Moto G 2015 Original Android Development] squid2:
Marshmallow Squid Kernel r11e

I've now posted my CM13 compatible build on the downloads tab. I haven't been able to test it myself yet, but reports from testers [MENTION=5687879]ravollmer[/MENTION] and [MENTION=1357470]androidbaba[/MENTION] indicate that it seems to be working properly. This build should also be compatible with [MENTION=3445372]scritch007[/MENTION] 's CAF 6.0 builds, though he's already using a variant of this kernel. The posted marshmallow build is not meant for the 6.0 Stock ROM (WiFi will probably be broken on it). A stock ROM Marshmallow compatible version will come later.
[Moto G 2015 Original Android Development] kaustubh_lipare:
Worked for me too..:D
[Moto G 2015 Original Android Development] IronTechmonkey:
That's the stock kernel for LOS on this device but some people may interpret stock to mean the original Moto OS that the device was sold with.

For what this is worth, I flash this kernel on Osprey XT1540 each week after flashing/testing Osprey LOS and have not had wifi or other issues. In fact the reason I flash the kernel is because it prevents a reboot freeze that occurs in Los without it.

As to reverting to previous kernel there are ways to do that which are described in the thread, but I just revert to an Android backup of LOS without the custom kernel.
[Moto G 2015 Original Android Development] RootCheckM8:
Sorry, I forgot to mention that I reverted to a backup, so everything's fine. I just want to know what exactly to flash while still having all of my drivers. I've heard of people using this device with the Squid Kernel on LineageOS, and I'm curious as to how they did it.
[Moto G 2015 Original Android Development] IronTechmonkey:
I sort of got that from your original post which is why I also suggested searching the thread. You'll find descriptions of a way to do it by flashing the appropriate components after extracting them from the ROM whose kernel you are reverting to. Searching for "revert" or revert LOS should find those answers.
[Moto G 2015 Original Android Development] RootCheckM8:
Thanks so much dude. I'll try that.
[Moto G 2015 Original Android Development] IronTechmonkey:
I've never done that because I always have a nandroid on hand but got curious and did some searching. Go back a ways in your search, even to last year, to learn about some caveats and please do share your results. I may follow your lead to avoid full nandroid restores when testing LOS without custom kernel. :)
[Moto G 2015 Original Android Development] bhishmar:
1. Can somebody share their experience of this kernel in Moto G3 2015 XT1550 model (India), along with latest LOS-14.1?

2. Can someone share the MD5 checksum for Kernel file r19.zip ?

3. OP post says only one version for r19, & no variations depending upon separate WiFi kernel modules etc? So these variations are old story?

4. While flashing new LOS 14.1 nightly ROM, do we have do the kernel flashing, immediately before next reboot, or can it be done in a different session?
[Moto G 2015 Original Android Development] sunnysky:
1. It's been working fine on my XT1550 for the past week I've been using it

2. The MD5 for the kernel file I've got is 4D695C3C13EB5CF8DEAAAE74C6DAA5C1

3. That's the way I read it

4. I've only ever done it after a fresh boot into recovery, I guess this is what you mean by different session
[Moto G 2015 Original Android Development] Gravemind2015:
3. Yes they are obsolete. As ar as I can remember, one of them was for stock ROM and the other for custom ROMs.

4. You can flash anytime you want, but when switching to different kernels, always dirty flash the ROM first. Personally I do a dirty flash even when updating a new (same) kernel version too.

It never has to be in one session, but many prefer it to skip multiple reboots :)

Broadcasted from Zeta Reticuli
[Moto G 2015 Original Android Development] IronTechmonkey:
Interesting. Not that I doubt that there is a reason for doing that, but what is the reason for the additional dirty flash? I flash LOS ROM, Gapps, SU then test it for a few days, then just flash the kernel with dalvik/system cache clears in same TWRP session before and after the kernel flash.
[Moto G 2015 Original Android Development] Gravemind2015:
Well, people have reported (including one personal experience of mine) that WiFi and other RIL related functions often behaved in strange ways, although these problems are rare AFAIK.

Out of curiosity, once I dirty flashed a number of kernels and got random reboots afterward. Flashing custom kernel on top of each other without restoring the ROM bundled kernel inbetween first was causing this as the ROM was mostly clean (apart from a few freshly installed apps).

As for the dirty flash when updating the same kernel to a new version, that's a dirty habit of mine. I usually go for a clean flash each week anyway, so I don't mind throwing up all the .zips even when unnecessary.

Broadcasted from Zeta Reticuli
[Moto G 2015 Original Android Development] IronTechmonkey:
That makes sense. Thanks for the additional info. My flashing equation is fairly tidy and would naturally avoid some of those issue. Clean flash ROM each week, flash kernel. No more such activity until next clean flash.
[Moto G 2015 Original Android Development] Rohi09:
quoting squid:

"I've rebased my TWRP fork on the latest upstream release. It brings miscellaneous bug fixes from upstream. As usual, the download is on the downloads tab.

I've also updated the kernel with recent security and bug fix patches - I'm in the process of bringing my "Squid Kernel" project back up to date. A new Squid Kernel release will probably come some time next week."

so happy! this is a news worth sharing!
[Moto G 2015 Original Android Development] MixLeNain:
No you don't need to root before flashing kernel but i'm not sure you can pass safety net if you flash the kernel ^^
[Moto G 2015 Original Android Development] Rohi09:
you can flash the kernel without root, but doing that wont do you much good as you wont be able to tweak kernel settings without root. and if you plan on get back, a factory reset wont restore your stock kernel. you need to backup the Boot partition before flashing the kernel and also the wifi module, which is located in /system/lib/modules/pronto/pronto_wlan.ko. to get back to stock kernel, just restore that boot partition and restore that wifi module. you wont get root detected or safetynet trigger if you flash the kernel without root so thats a peace of mind you can have.
[Moto G 2015 Original Android Development] MrTooPhone:
So "/system/lib/modules/pronto/pronto_wlan.ko. to" is not included in a TWRP pre-root backup?

I am rooted, thinking of trying new kernel, but want to ensure I can return to stock using TWRP.
[Moto G 2015 Original Android Development] Rohi09:
if you backup system or system image with twrp then it is included. it is not included with only boot backup

without that file your wifi wont work when you return to stock kernel. what is your model number? send me your file i will make a flashable zip if you want.
[Moto G 2015 Original Android Development] MrTooPhone:
So if I understand correctly, the kernel is located in the boot partition. So as long as I back up System, Data, Cache, Boot, and Recovery, I can always return to full stock and not worry about the wifi file. Is this correct?
[Moto G 2015 Original Android Development] Rohi09:
yes, just the recovery backup is not needed.
[Moto G 2015 Original Android Development] nubry:
Is this kernel fine with AEX rom? Thanks in advance!