yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] squid2:
September 22 Release

This will be the final unofficial build before official support. The first official build should be ready in a few hours. Changes in this build include fixes for MTP and charge-only mode (thanks [MENTION=3445372]scritch007[/MENTION]), along with some kernel updates and cleanup. As always, the download link is on the first post.

I'd also like to explain the difference between the official builds and the unofficial builds I've been posting here. The official builds will be using a near stock kernel with few extra features. These unofficial builds have been using my "Squid Kernel" (same as the one for surnia and lux), which includes some extra features and updates. Special features in these unofficial builds that will not be present in unofficial CM include:

Hotplug

FIOPS and BFQ I/O schedulers

My Lionfish governor

Linux updates from Kernel.org and CodeAurora

Updated WiFi drivers that work reliably in India

Multithreaded zRAM compression/decompression, higher zRAM capacity

Mild undervolt to reduce heat and power consumption

Updated f2fs drivers

If you switch to the official CM nightly builds and don't flash a custom kernel, you will lose the features mentioned above. In the coming days, I will be releasing my kernel as a standalone flashable zip that can be installed over the official CM builds. When you flash my standalone kernel (once available), you will regain most of the features listed above, except for the multithreaded zRAM (it requires fstab modification).
[Moto G 2015 Original Android Development] androidbaba:
So what you are essentially saying is that cm official builds will not have working WiFi on 1550 Indian models out of he box??

And users will have to flash squid kernel to get it working??

Just confirming...

BTW thanks for your hard work fork making it official..:thumbup:
[Moto G 2015 Original Android Development] squid2:
For those who had trouble with the WiFi drivers in stock-ish kernel on the MotoG3 github, they will continue to have WiFi issues official CM, since that's the kernel official CM will be using. We wanted to stay as close to the stock Motorola kernel as possible. If we can figure out which commit in particular is causing WiFi issues for some Indian users, we will include it, but Alberto didn't want to include completely different WiFi drivers, since it's a rather big departure from stock. In the coming days I'll post a few builds trying to identify the commit causing WiFi issues for Indian users.
[Moto G 2015 Original Android Development] eng.stk:
Seems like build completed but was not copied to download location :(

https://download.cyanogenmod.org/?device=osprey

http://www.cmxlog.com/12.1/osprey/

EDIT: is live!
[Moto G 2015 Original Android Development] colonel_panic:
Just flashed the official, can confirm wifi issues :/
[Moto G 2015 Original Android Development] christopherrrg:
You're a solid dev squid :)
[Moto G 2015 Original Android Development] sagar27691:
on which model you faced wifi issue?
[Moto G 2015 Original Android Development] androidbaba:
[MENTION=218829]ALBERTO[/MENTION] [MENTION=6485916]squid2[/MENTION] I think you shld start different thread for official cm12..it would be much better for users and you too to saggrigate bug reports...
[Moto G 2015 Original Android Development] ZeroVirus:
where is the link for official cm 12.1
[Moto G 2015 Original Android Development] sagar27691:
https://download.cyanogenmod.org/?device=osprey

http://www.cmxlog.com/12.1/osprey/

---------- Post added at 01:19 PM ---------- Previous post was at 01:17 PM ----------

yeah you are right bro...
[Moto G 2015 Original Android Development] ==vj==:
Oh wow..! CyanogenMod went official for osprey :cool:

But why Unknown Vendor in Download link : https://download.cyanogenmod.org/?device=osprey

Its Motorola Moto G 2015 (osprey)

Oh Lol. Mistakenly quoted you. Was supposed to quote eng.stk
[Moto G 2015 Original Android Development] sagar27691:
that i dont know... ask to our devs or cm team.
[Moto G 2015 Original Android Development] Demians1:
Dear squid2,

Thanks for your post.

Sorry to ask, but, if I install your last ROM and Kernel to test it, then can I return to the original ROM?

I'm not sure if when I have to return to write the original ROM, the original Kernel will be installed also, or I will have to search in the net the original kernel and follow a different way to install it.
[Moto G 2015 Original Android Development] AmyClaraRose:
If you want to go back to stock after testing first make a backup or you will have to reflash the stock firmware
[Moto G 2015 Original Android Development] Demians1:
Thanks Telford, but my question was because I'm not sure if, when I flash the original ROM, it already has the original Kernel, or I have to find the original kernel and reflash it also...
[Moto G 2015 Original Android Development] StrangerWeather:
It already has the original kernel, if by original you mean official. :)
[Moto G 2015 Original Android Development] Demians1:
Thanks StrangerWeather, and yes jeje with original I mean official! :)
[Moto G 2015 Original Android Development] squid2:
You can restore everything back to stock if you reflash the stock ROM using fastboot.
[Moto G 2015 Original Android Development] nanopp:
Is it just me, or the "official" Nightly system uses like 150Mb more RAM than the Unofficial builds on this thread? Apparently it slowed down my 1Gb osprey device significantly.
[Moto G 2015 Original Android Development] colonel_panic:
XT1540
[Moto G 2015 Original Android Development] Demians1:
Thanks Squid2,

I'm testing the ROM in my XT1541 and works fine.

Do you think that could be possible open more bands in my model with your ROM? I have been playing with some NV editors (QPST/QXDM) but without lucky... Seems that the Moto G3 works different that the older versions...
[Moto G 2015 Original Android Development] xluisx:
wifi issues here as well with both nightly builds ... same model. it won't connect to my wifi extender, but will connect to the main wifi router just fine. i've also ran into issues where the "starting apps" pop-up stays on for a remarkably long time (well over 20 min). i had to power off to get it out of the "loop."

the unofficial build 9/22 works great, however. i've reverted back to this build.
[Moto G 2015 Original Android Development] nanopp:
I'm not exaggerating, here is the proof (attached), I went back to the 09-22 version on this post from the 09-23 Nightly and it's all smooth again; thanks for the Devs for the amazing work they did on this. Really, and I don't think CyanogenMod is gonna improve much, I'm gonna try the Nighlies every now and then but this version is the bomb! :svetius:.
[Moto G 2015 Original Android Development] squid2:
The unofficial builds (with my custom kernel) have more zRAM and many memory management improvements, so this doesn't surprise me. I've been a bit busy over the last couple days, but probably tomorrow I'll post my kernel as a standalone zip that can be flashed over nightly builds.
[Moto G 2015 Original Android Development] ==vj==:
A request. Can you provide an option to turn off Offlining (keep all cores online like Stock ROM's kernel ) would be nice for some like me. For some reason i felt temps are slightly higher with off-lining concept (its 50-53C) and with stock rom kernel its (43-48C).

In the existing kernel, if i turn off intelliplug hotplug, it leaves with only 1 core online.
[Moto G 2015 Original Android Development] squid2:
Run as root:

echo 0 >/sys/module/intelli_plug/parameters/intelli_plug_active
echo 1 >/sys/devices/system/cpu/cpu1/online
echo 1 >/sys/devices/system/cpu/cpu2/online
echo 1 >/sys/devices/system/cpu/cpu3/online
[Moto G 2015 Original Android Development] SirSoviet:
Oh god, I'm quite noticing the lag without the lionfish kernel. Please do post the kernel, my phone is absolute cancer without the fine tuning.
[Moto G 2015 Original Android Development] eng.stk:
Anyone uses external sdcard?

There's something derping external sdcard access in official nightlies.

Trying to copy a large file (let's say 500 or 600MB) freezes the phone at half operation.

Maybe some access rules derping, selinux?

Happens using MTP, happens when copying with Root explorer and other Android apps.

On other ROMs it works fine, in recovery also.
[Moto G 2015 Original Android Development] felipovicc:
Audiofx doesnt seem to work on the latest unofficial build. I turn it on but when changing eq or any settin nothing happens.
[Moto G 2015 Original Android Development] Sonsed:
Hello,

Thanks to dev for this beautiful CM, unofficial build 22/09 works fine.

Just some little issues:

-when AudioFx is enable sound is metallic whatever mode i choose (classic,pop...)

-when i am playing music and going to stand by mode (with power buttton) music stop 0.5s before coming back.

Otherwise other fuctions work fine, good kernel phone run fast isn't hot and good battery life.

[MENTION=6485916]squid2[/MENTION] could you please provide a zip for kernel only or kernel source code?

I tested official nightly 23/09 and it's bad compared to unofficial build.

-got same problem than [MENTION=3873953]eng.stk[/MENTION] with sd card, every time i tried to copy from/to sdcard (in MTP and OTG) phone freeze and rates are bad (6 Mo/s in writing with official build and 16Mo/s in writing with unofficial)

-bad governor (interactive), phone is hot and a little laggy.

-sometimes phone freeze whereas i'm not using sd card....

For now i stay on unofficial.
[Moto G 2015 Original Android Development] ranaxda200:
I know it's not suitable here posting this issue but using viper4android audio mod disabled my fm radio in this rom. Is there any solution to enable it?
[Moto G 2015 Original Android Development] StrangerWeather:
I've been using CM official nightlies with Blue Spark kernel for the last few days and everything works impeccably well. :)
[Moto G 2015 Original Android Development] Prateek1224:
Bugs in official version for 1gb variant

i suffered heat and lagging issues while in stock there was none. Even in cm12.1 charging time was more and backup was less.

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

Do something for moto g 3rd gen 1gb i tried official cm12.1 but experienced the following issues

* heat

*lagging ( nearly always)

*battery charging time more backup less

this was as stock took about 470 mb ram while cm12.1 was using 570 mb ram

free ram goes below 150mb which starts lagging. Pls do something.. Thanks
[Moto G 2015 Original Android Development] squid2:
Please don't quote the entire first post. It wastes space in the thread. We already know this ROM is not perfect. Complaining that it's laggy or uses too much RAM doesn't help anyone. This is a development thread. It is meant for development discussion and reporting specific bugs. If you you have any questions, you can use the Q&A thread.
[Moto G 2015 Original Android Development] spiritflare:
Installed sept 25 nightly directly over stock, (XT1540)- Wiped dakvik,cache,data,system. WiFi doesn't work. Keeps trying to authenticate.

However I installed the official first then nightly now WiFi is OK.
[Moto G 2015 Original Android Development] squid2:
Today I tried an official nightly for the first time and was quite disappointed by the performance. Indeed, the nightly stuttered much more than my unofficial builds did, and free RAM was much less, just as you pointed out with your screenshots. I made a post about this behaviour on the surnia Squid Kernel thread that may be interesting to read for people here too.
[Moto G 2015 Original Android Development] squid2:
Squid Kernel for Osprey

It's too late at night for me to go through making a new thread for this, so I'll just post a link for now and make a thread tomorrow. I've made a version of my "Squid Kernel" (the one featured in the unofficial builds and also available for surnia and lux) that works on ROMs that expect built in kernel modules (such as the official CM12.1 nightlies).

Flashing this should solve low RAM type issues that people have been complaining about on the nightly builds. Your free RAM with no apps running will go from around 250 MB to 430 MB after flashing this. It should also reduce heat and overall lag, as well as solve WiFi issues for Indian users. Essentially, it should fix everything that was worse in the nightlies than the unofficial builds.

Here's a download link: http://www.mediafire.com/download/uii7a7v93bw4072/squid_kernel_r9-osprey.zip

Here are the sources: https://github.com/sultanqasim/android_kernel_motorola_msm8916/tree/osprey-builtin

The version linked above is only for custom ROMs with built in kernel modules (such as the official CM12.1 nightlies). It's not meant for the stock ROM. Tomorrow, when I make a proper thread for it, I'll post versions for both the stock ROM and custom ROMs.
[Moto G 2015 Original Android Development] spljaa:
Lock problem

Hi [MENTION=6485916]squid2[/MENTION]

Many thanks for great work with this ROM.

I flashed kernel, you created on CM 12.1 nightly. And after that it was impossible to unlock screen with gesture (3x3). I do not know how to properly debug scenario. If some data could be usefull for you, then please point me to instructions how to capture it.

Regards

Jan
[Moto G 2015 Original Android Development] ranaxda200:
Not only that on opening security in settings, it crashes and shows "unfortunately settings has stopped". Please help

Plus on clearing data and cache in settings can't help it. It restarts automatically.
[Moto G 2015 Original Android Development] squid2:
I had encountered such an issue when testing an earlier build of the kernel last night. It seemed to go away for me with the build I posted here, but it was getting late and I didn't have time to test adequately. I'll look into the issue more when I get time tonight or tonorrow. What's happening is that it fails to load keymaster firmware.

In the interim, you can also experiment with reflashing CM and the kernel, as I know that it can work when done in the right order (its working fine for me now as we speak), but I had issues when testing an earlier build that should have been identical.
[Moto G 2015 Original Android Development] HelpMeruth:
The official CM uses almost stock kernel, the unofficial uses an optimized kernel. that is the difference :good:
[Moto G 2015 Original Android Development] nanopp:
Thanks for the work [MENTION=6485916]squid2[/MENTION] man!

But I got the same error as the user [MENTION=5431793]spljaa[/MENTION] above. I've got a 3x3 pattern lock, and when I flashed the kernel on today's Nightly I got:

"Unfortunately, System UI has stopped."

I did flash today's Nightly ROM and your kernel right away, without using the ROM first. Then I tried flashing ROM, loading, then flashing kernel. Both times I wiped Cache, Dalvik & System (2nd time). Same error.

I'm on 1Gb XT1540.
[Moto G 2015 Original Android Development] squid2:
After doing a clean install, I'm getting the same error that you and others have been reporting. It involves the kernel failing to load qseecom keymaster firmware for the TrustZone. I'm going to investigate it tonight, but it's getting late, so I probably won't have a new build ready till tomorrow night.
[Moto G 2015 Original Android Development] squid2:
Squid Kernel r9b

Alright, here's another kernel build: http://www.mediafire.com/download/7ununqebtvyjbqh/squid_kernel_r9b-osprey.zip

This should fix the keymaster issues in the previous build that was causing lockscreen and security settings crashes. There's a wierd issue with Qualcomm's PIL (firmware image loader) code that causes it to break when you optimize the kernel for size. I had to switch back to normal optimization and reduce size to make it boot by stripping extra symbols instead.

It's nearly 1 AM here, so I'm going to sleep, and the dedicated kernel thread will have to wait for tomorrow.
[Moto G 2015 Original Android Development] ranaxda200:
Thanks a lot [MENTION=6485916]squid2[/MENTION] for your hard efforts. I will flash it and let you know.
[Moto G 2015 Original Android Development] nanopp:
Thanks!! that did the trick.

It's definitely way better than nightly kernel.

One thing though, I wouldn't recommend the 09-29th Nightly, it crashes on a "Trebuchet" error for me; with or without the [MENTION=6485916]squid2[/MENTION] kernel.
[Moto G 2015 Original Android Development] sevenrock:
Should be fixed in next nightly: http://review.cyanogenmod.org/#/c/110482/
[Moto G 2015 Original Android Development] ZeroVirus:
anyone tried cm 12.1 official???any bug?pls tell me
[Moto G 2015 Original Android Development] androidbaba:
I know its wrong forum but couldn't help posting [MENTION=6485916]squid2[/MENTION] your kernel is like magic potion for Indian g3..it has revived many unusable ROMs.. I have been using many dead roms like slim,sokp,radium,Pac,fusion

Thanks very much..
[Moto G 2015 Original Android Development] ==vj==:
Can anyone confirm whether modules are present in the downloaded zip or it's some problem with my download. I had been facing bad zip errors numerous times and finally got it downloaded with Firefox. But it didn't had modules in the zip.

Desperate to try out squid's kernel.

EDIT: Flashed r9b. WiFi is working fine. Device is smoother. Temps are under 51°C
[Moto G 2015 Original Android Development] Prateek1224:
same occured with me..

can someone provide links to solve this for 1gb variant:D
[Moto G 2015 Original Android Development] androidbaba:
Flash squid kernel from thishttp://xdaforums.com/showthread.php?t=3215726 thread

It optimizes ram utilization and has various other tweaks
[Moto G 2015 Original Android Development] Alberto97:
Can someone who has wifi connection issues (on official builds) try the attached kernel and report if is wifi fine with this?

Obviously you have to try it on an official build and possibily after a clean installation.
[Moto G 2015 Original Android Development] Prateek1224:
after flashing squid kernel also the charging time is longer than on stock and the battery backup is also less..
[Moto G 2015 Original Android Development] squid2:
Has anyone in India tried this? Did it change anything related to WiFi behaviour compared to the present stock CM kernel?
[Moto G 2015 Original Android Development] asrupesh:
I flash the latest 12.1 20151003 the wifi was perfectly working and i even flash the bootNo1244.img and in that also wifi is working perfectly..
[Moto G 2015 Original Android Development] squid2:
OK, so the change doesn't seem to break anything. [MENTION=1357470]androidbaba[/MENTION] you mentioned having issues with WiFi that go away when using my kernel. Does WiFi on this patched kernel posted by Alberto work on your device?
[Moto G 2015 Original Android Development] asrupesh:
You mean with stock cm kernel
[Moto G 2015 Original Android Development] squid2:
Yes, some Indian users were reporting WiFi issues with the stock CM kernel.
[Moto G 2015 Original Android Development] androidbaba:
nope device dosent boot up

bootloader says unable to load kernel
[Moto G 2015 Original Android Development] asrupesh:
Today when i fresh installed cm nightly 20151003 and used it for 30 min by intalling some apps from play store till that the Wifi was working perfectly, then i flashed the bootNo1244.img in fastboot and used that kernel for an hour the wifi was working perfectly but rom was not smooth and then i flashed squid_kernel_r10b-osprey.zip and used it till few minutes before i had no issue with wifi......

EDIT

[MENTION=6485916]squid2[/MENTION] i clean installed nightly 20151005 and the wifi is working perfectly with stock cm kernel....
[Moto G 2015 Original Android Development] JackSparrow17:
I have tried blu_spark and squid2 kernel on latest nightly and both works great on indian model....But right now on blu_spark with latest nightly with fast usb charge and amazing battery life and 0 lags......
[Moto G 2015 Original Android Development] androidbaba:
sorry to inform in latest cm12 05/05 wifi not working out of the box

need to flash squid kernel on 1550 indian model
[Moto G 2015 Original Android Development] asrupesh:
[MENTION=1357470]androidbaba[/MENTION] NO WIFI is working perfectly for me

See attachment
[Moto G 2015 Original Android Development] androidbaba:
my device was specially made for me by motorolla its designers version :p:p

nothing 'normal' works on it :silly::silly:
[Moto G 2015 Original Android Development] Niro96:
Is it possible that Motorola Camera app to install in CM?
[Moto G 2015 Original Android Development] androidbaba:
http://xdaforums.com/showthread.php...from my MotoG3 using XDA Premium 4 mobile app
[Moto G 2015 Original Android Development] charutl:
Working nice with blue kernal

All are working in 2gb model ..but am not able to install xposed frameswork ...after flashed xposed it shown only cm logo long time...how to install xposed??????
[Moto G 2015 Original Android Development] charutl:
HOW TO INSTALLL XPOSED FRAMEWORK? which version can i install?

i flashed xposed frmework but not booted ....how to install xposed?
[Moto G 2015 Original Android Development] eng.stk:
That feeling :cool:

https://github.com/CyanogenMod/android_device_motorola_osprey/commits/cm-13.0
[Moto G 2015 Original Android Development] jackk11111:
You need to install v75 xposed. V74 don't boot.

Inviato dal mio MotoG3 utilizzando Tapatalk
[Moto G 2015 Original Android Development] squid2:
RAM Usage and Performance

I just pushed a kernel config change that should greatly improve performance and free RAM. You will no longer be forced to flash a custom kernel to have decent performance on the 1GB RAM model.
[Moto G 2015 Original Android Development] sagar27691:
thanks man... what about the Wifi issue for indian models? is this gonna help to resolve the wifi issue on official Cm 12.1 nightly or still we have to flash custom kernel for wifi to work? or have to use unofficial cm 12.1 build or other custom roms?
[Moto G 2015 Original Android Development] Diesel779:
Sorry for my ignorance, but is your kernel config change built into CM? Or are there some settings I have to change config change. Thank's for you work.
[Moto G 2015 Original Android Development] squid2:
We need people to test Alberto's test kernel: http://xdaforums.com/showpost.php?p=63100480&postcount=261

His boot image can be flashed with fastboot. Nobody has given a proper report thus far as to whether or not his kernel build fixes Indian WiFi issues. If you are having WiFi issues on the stock CM kernel, could you try his build and report back if it fixes anything related to WiFi?

You don't need to change anything on your end. The defconfig changes just affect what is compiled in the kernel. The next nightly should just feel much smoother once you upgrade.
[Moto G 2015 Original Android Development] Diesel779:
Thank you, both for the fast reply and the fix.
[Moto G 2015 Original Android Development] sagar27691:
hmmm... sry actually i reverted back to stock rom... but thinking to root and flash cm 12.1 again... if i do that i will inform you ASAP.:good:
[Moto G 2015 Original Android Development] androidbaba:
I had reported back already

http://xdaforums.com/showthread.php?p=63144255

Device doesn't boot up so can't tell you if WiFi is working or not...:(
[Moto G 2015 Original Android Development] squid2:
You must have flashed it wrong. It worked fine then and still works fine on the latest nightly. It's a bit slow to boot but just give it a minute and it will work if you flash it properly. I tried it both on early nightlies and today's latest nightly. It was also confirmed to work fine on the Indian model by [MENTION=3965687]asrupesh[/MENTION] though he never had WiFi issues with the stock CM kernel as is.

Flash it using fastboot:

fastboot flash boot bootNo1244.img
[Moto G 2015 Original Android Development] ranaxda200:
I am an Indian user using XT1550 model. Flashing boot no 1244 image using fastboot is all fine. But there is a delay in start up. Then WiFi is working as usual.