yashsingh1/xdaforums huggingface dataset:
[X Play Original Android Development] squid2:
October 21 Build

This is a bug-squashing release. I fixed the encryption issue, and reverted the commit where WiFi was preventing my phone from sleeping when connected to my office network. I also switched back to a prebuilt audio HAL to fix speakerphone while I investigate the cause of the speakerphone issue. I thought I had the speakerphone working at some point with the souce built HAL when I disabled speakerphone fluence, but it just wouldn't work when I tried last night, neither on my build or h2o64's build with fluence disabled. I'll keep the prebuilt audio HAL til I can confirm the issue is properly and reliably fixed.

The WiFi keep awake issue doesn't appear to be a normal Android kernel wakelock, as it doesn't show up with any detector tools, but it certainly is happening on some networks. Please test WiFi thoroughly and let me know if the WiFi revert broke anything for you.

P.S. The WiFi revert and encryption fix haven't yet made it over to my "Squid Kernel", so you might want to hold off on flashing it if you want those two fixes. I'll post a new kernel build with these two fixes likely tonight.
[X Play Original Android Development] droider007:
Plzz add some hotplugs or governers in your kernel...it will definitely boost the performance...
[X Play Original Android Development] brom25:
Thanks for your work! I'll try it during my holiday week, that means or Sunday or so!

Could you add some more Governors as already asked and DTW in the kernel please ? :D
[X Play Original Android Development] mishko:
I have troubles flashing this for the first time. When in recovery the flash fails. I get error messages like 'failed to mount...', 'could not detect filsystem for /dev /block...'. Tried a search here in the thread but couldn't find anyone w same issues.

Skickat från min SGP511 via Tapatalk
[X Play Original Android Development] Lennyz1988:
Try unmouting /data in the recovery.
[X Play Original Android Development] mishko:
Been trying to fiddle with that. So everyhing mounted except from data?

Skickat från min SGP511 via Tapatalk
[X Play Original Android Development] MacLaughlin:
[MENTION=6485916]squid2[/MENTION] could you please check the issue with no reception on xt1562, German carrier o2. At the initial setup I get reception for about a few seconds. After that the signal is gone. Already changed and deleted apn settings. Currently I've installed the eu firmware.
[X Play Original Android Development] mishko:
No dice. Same error... Data keeps re-mounting after I unmount it.

EDIT: Flashed another TWRP-version and now it works!

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] Lennyz1988:
I find it always amazing to see how fast you fix those bugs. Great job!

I want to report back about the speakerphone. The speakerphone doesn't work properly. It works, but people say they hear a big echo and can hardly understand me. So it's unusable at the moment. Can more people confirm this?
[X Play Original Android Development] ammarr:
Yes, getting the same here.

The wifi fix also seems to have a negative affect for me. Wherever i unlock my phone, wifi seems to be disconnected and connects again. I have Wi-Fi set to stay on when sleep so I'm not sure why it's doing that. Switching to squid kernel fixes it.
[X Play Original Android Development] eskamhl:
I observed the same things, luckily on squid's 10b kernel also the speakerphone is ok :D
[X Play Original Android Development] Slotrat:
Thanks, I have the same issues. I'll try Squids kernel tonight. :)

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] jellysheep:
EDIT: Nevermind, after booting the SD card has started working again. [emoji4]

[MENTION=6485916]squid2[/MENTION]: Today I tried your CM (version 2015/10/24) and everything is working great [emoji106] , except external SD card:

'mount' shows the following:

But the two directories do not exist, and whe accessing them an error "Transport endpoint not connected" is shown.

The SD card is working fine on other kernels/ROMs, though I haven't used previous versions of squid2's CM or kernel. Do you have any idea?
[X Play Original Android Development] squid2:
October 24 Release

In case people hadn't noticed, I had posted a new CM build this morning with support for more regional variants, and a fix for speakerphone echo. As always, if RIL doesn't work on your variant, PM me your getprop and I'll try to add support for it.

Just as a heads up, for this release, you will need to reflash gapps after installing the ROM zip. I had encountered issues in testing when I didn't do this. So the recommended upgrade procedure from previous builds to this one is to install the CM zip, reinstall gapps, wipe cache and dalvik, then reboot.

I doesn't hurt to follow the full procedure described above for every upgrade, but for this release it seems to be required or else gapps may misbehave.
[X Play Original Android Development] Davirus849:
Is safe to flash this over h2o ROM ?
[X Play Original Android Development] squid2:
I'm not sure, but you can try. It might work. Make a backup beforehand.
[X Play Original Android Development] NetSoerfer:
Let us know how it worked out for you!

Gesendet von meinem XT1562 mit Tapatalk
[X Play Original Android Development] Lennyz1988:
Thanks bro. Donation on the way for your hard work.

/edit. Echo is still there when put on speaker.
[X Play Original Android Development] squid2:
Thanks for the donation. I just did a proper test calling an actual person and indeed speakerphone is misbehaving. The noise cancellation seems to be working incorrectly. This bug has persisted too long, it's time for me to really fix it :p

I promise that in the next build, I will properly test speakerphone and make sure it works the way it should.
[X Play Original Android Development] puremind:
I useba t mobile germany sim and despite having a micro SD version I get dual sim options but cannot get any network connection. I am currently in Japan and cannot get a connection.
[X Play Original Android Development] Slotrat:
Puremind, you have to change build.prop for network connection with dual sim. Or make yourself a local.prop. Look in the dual sim thread for instructions, it works really well.

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] squid2:
Send me the output of getprop on the stock ROM with working radio. Or at least tell me what ro.boot.carrier is on your device.
[X Play Original Android Development] LuizHenrique91:
In addition to the audiofx, the small glitches when playing videos and the speakerphone echo, does this rom have other bugs? No random reboots?

Enviado de meu XT1563 usando Tapatalk
[X Play Original Android Development] Davirus849:
So far, so good, I didn't know this squid version have the motorola gestures, that feature was missing in the H2o64 rom. I did exactly as Squid said and everything works good :good:
[X Play Original Android Development] ephumuris:
I'm still on the 12 October's build which is perfect for me in every way except the aux not working. Since then I know it was fixed but a few other kinks seem to be surfacing.

Hopefully the next build hits the sweet spot... I would have never have noticed the wifi battery issue if it wasn't pointed out. My phone barely sleep when I'm around my work wifi. Home its perfect.
[X Play Original Android Development] 70x7:
Is dual sim working properly?

Enviado de meu XT1563 usando Tapatalk
[X Play Original Android Development] puremind:
Attached.

[IMG="getprop"]http://xdaforums.com/attachment.php?attachmentid=3519024&stc=1&d=1445845433[/IMG]
[X Play Original Android Development] madcat1990:
I'm actually having libc.so errors with this rom, making all my apps stop working.

I'm gonna try and dump a Logcat tonight maybe it'll help out.

Other than that, in the settings menu seems to have properties for physical home, back, etc.. buttons, should that be there?
[X Play Original Android Development] shanthasorooban:
Wifi Stopped Working

I have problems with wifi. Stuck at "Obtaining IP Address". Previously working good. Suddenly problem persists.

Other features are working good. I dirty flashed from 21-oct build to 24-oct build.

And i tried all possible solutions. like static ip, deleting dchp files. nothing worked.
[X Play Original Android Development] goodrench:
I have same problem on my work wifi. No trouble at home. (work has a cheap router)
[X Play Original Android Development] squid2:
Your trouble is probably due to my reverting of this commit: https://github.com/sultanqasim/andr...mmit/c44b220811ff47772f1c4eb3911837000568d96c

For some people, WiFi doesn't connect to certain networks without the aforementioned commit. However, it prevents the device from going to sleep on other networks (such as my office network). So it's a "damned if I do, damned if I don't" situation. WiFi will work for you if you flash my "Squid Kernel".
[X Play Original Android Development] squid2:
Good observation, they shouldn't be there. Something must have been put into the overlays that doesn't belong.

EDIT: Or the other way around... https://github.com/sultanqasim/andr...mmit/70267c23418e7328064e3a9b211cb98362123a95
[X Play Original Android Development] shanthasorooban:
Thanks brother.. That worked. Thumbs up.
[X Play Original Android Development] shanthasorooban:
One doubt. Does our device have chop chop feature?

---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------

If it does, how to enable? bro
[X Play Original Android Development] paugustin:
No it does not as it has no gyroscope.
[X Play Original Android Development] LuizHenrique91:
Moto G 2015 has no gyroscope too, but supports chop chop..
[X Play Original Android Development] shanthasorooban:
Then how to enable it? Does your device support that?
[X Play Original Android Development] LuizHenrique91:
There's no how to enable, because it may be implemented on the ROM or on the kernel.

Motorola said they tested chop chop on Moto X Play, but it didn't work well, so they disabled it. It's possible that they add it on stock ROM in the future. Gyroscope is definetly not needed.
[X Play Original Android Development] shanthasorooban:
Cool bro. Thanks for the info.
[X Play Original Android Development] droider007:
Chop chop feature working well here.....On cm
[X Play Original Android Development] LuizHenrique91:
So it is already implemented on CM. Godd news!
[X Play Original Android Development] Davirus849:
Strange. The gesture for torch doesn't work with mine, but the gesture for the camera does.
[X Play Original Android Development] Slotrat:
Same for me.

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] eskamhl:
You just have to make a larger gesture in space ( to be sure it works I always make a third shake also :p )
[X Play Original Android Development] Slotrat:
Doesnt help. I just feel stupid doing it [emoji12]

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] Davirus849:
I always end activating the camera :eek:
[X Play Original Android Development] LuizHenrique91:
What kernel are you using?

And you?
[X Play Original Android Development] eskamhl:
I'm using latest r10d kernel from squid now, but it was working also with the stock kernel ( at least in the previous build ).

Maybe it's just a matter of how wide and strong you shake it, don't know :confused:
[X Play Original Android Development] puremind:
Any news on an updated version? I flashed it again hoping that the new version of the Kernel would fix it but it didn't, it is as you said, there needs to be some other changes.

Is it something I can fix on my own by editing build.prop (can't find any ro.boot section there) or is this something that you need to fix in ril?

I would appreciate a quick turnaround, as I would rather avoid switching back to stock but need a working system within the next 12 hours.
[X Play Original Android Development] squid2:
I added the necessary bit for "retde" to the initialization code and made a test build last night, but I hadn't posted it. My original plan was to release it along with a proper fix for the speakerphone microphone sound quality issue. If you need a build soon, I can post last night's test build in the interim for you to try.
[X Play Original Android Development] squid2:
"retde" compatibile build

[MENTION=853050]puremind[/MENTION] since you wanted a build compatible with your device ASAP, I've uploaded last night's test build with retde support:

http://www.mediafire.com/download/1ka5hrkwrt72wc1/cm-12.1-20151027-UNOFFICIAL-lux.zip

Let me know if it works for you.

I'm not considering this one a full "release", as I want to hold true on my promise to fix speakerphone echo for the next release (which I'll probably get around to tomorrow).
[X Play Original Android Development] pyr0sphere:
Thanks for specifically uploading the build for the guy. I won't be using it, but it's very cool to see a developer go out of his way to do this for a user of his rom
[X Play Original Android Development] puremind:
Thank you very much, downloading. I really appreciate you posting this.

Edit: Network connection works now, thank you again, you saved my day.
[X Play Original Android Development] shanthasorooban:
Some say chop chop is working. Some say not working.. Those who say its working please share the derails of their rom and kernel
[X Play Original Android Development] ephumuris:
This rom and kernel. Enabled it in gestures. It works...
[X Play Original Android Development] shanthasorooban:
Why not working in some members' devices?
[X Play Original Android Development] paugustin:
Because not everyone is using this ROM. FLash the ROM and see for yourself!
[X Play Original Android Development] shanthasorooban:
I am using this rom and kernel. Not working bro. That's why i am discussing the problem here. ☺
[X Play Original Android Development] arnabJ:
Hello,

The official change log doesn't explicitly states if XT1562 Dual Sim is supported or not. I did a bsic sesrch over the pages but didn't found any info.

Can anyone plz shed some light on the support?
[X Play Original Android Development] droider007:
u have to chop chop three times very rapidly and hardly....it will work

yes dual sim xt1562 is supported and everything is working.....
[X Play Original Android Development] ephumuris:
Doesn't take even 2 for me just requires two sharp downwards chops... Holding very tight!

I keep it disabled though as I'm very active at work and it enables in my pocket.
[X Play Original Android Development] Marco Lomas:
I can say that works well on my phone, chop chop and double twist for light and camera

Enviado desde mi XT1563 mediante Tapatalk
[X Play Original Android Development] Lennyz1988:
I just discovered that I can only connect to a 5ghz wifi network when it uses one of the lower channels. 36, 40, 44, 48 work fine. Anything above cannot be discovered by my X Play. Can someone check and confirm?
[X Play Original Android Development] Davirus849:
1563 here and the chop chop for torch gesture doesn't work with mine.
[X Play Original Android Development] Slotrat:
I'm using squid_kernel_r10b-lux

Skickat från min XT1562 via Tapatalk

---------- Post added at 06:23 PM ---------- Previous post was at 06:20 PM ----------

It works! Just had to do it hard and fast enough.

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] jellysheep:
First of all many thanks to [MENTION=6485916]squid2[/MENTION] for his great work and fast issue fixing. Using this ROM for about a week now and it runs just great! [emoji106] Especially the headphone detection works better than on all other kernels.

Now out of curiosity, not asking for an ETA, just for a general estimation: How long does it usually take for a device to be officially supported by CM (to receive upgrades without flashing etc.)?
[X Play Original Android Development] madcat1990:
[MENTION=6485916]squid2[/MENTION] : Turns out all those errors were due to a bad APK I installed. Not installing it makes everything work fine!

<3 I think at this point all we need is tweaks and improvements 'cuz its stable IMHO
[X Play Original Android Development] jhaedee:
Hey Guys, just wanted to check to see if i'm doing anything wrong as ai dont seem to be able to get this build to install? I'm not quite a novice as i have rooted/install cyanogenmod before on different devices but i've always been following a pretty comprehensive guide. I was hoping someone might be able to cast their eye over my steps and make sure i'm not missing something obvious. So far this was my process:

TWRP 2.8.7.0 (vaches), full backup done

Then did wipe factory reset, then read something from google stating i should do advanced wipe and wipe data, system, dalvik and cache. So i did this.

Went back to home, install and navigated to the cm zip and tried to install, goes through the process and states 'successful' but i can see there are a couple of errors regarding the system partition in the log, but as i said, overall outcome is 'successful'.

I was unsure at this stage but i thought i had to install Gapps (using ARM, 5.1, Micro from here http://opengapps.org/#)

Either way, when i tried to reboot i get the warning, No OS is installed.

I'm hoping the rom gods AKA you guys will be able to help me :)

Many thanks in advance
[X Play Original Android Development] polobunny:
Share the twrp log.
[X Play Original Android Development] jhaedee:
Hi Polobunny, i'm actually not sure how to do that, however, i have managed to work through the problem myself now. Somehow I had been using the wrong version of TWRP. Silly me!

Cheers all the same for trying to help me :)

And thanks to Squid for this wonderful build and kernel :D
[X Play Original Android Development] polobunny:
For future reference you can get a log that way: http://rootzwiki.com/topic/24120-how-to-get-a-log-from-twrp/
[X Play Original Android Development] squid2:
October 29 Release

The focus of this release was to test and fix the speakerphone echo issue. I did some fiddling to try to make the speakerphone work with the source-built CM audio HAL, but I didn't have much luck, and wasn't in the mood to reverse engineer it. I then ended up taking the remainder of the Motorola audio HAL and replacing the CM HAL with it. This seemed to mostly fix the speakerphone echo. With the final build that I'm releasing, I made 5 phone calls to test, 3 of them being to an actual other human being. I found that on the first call I made after installing the updated ROM, it worked perfectly for the first two minutes, then speakerphone started to echo after that. On two subsequent calls, there was no echo ever, even 7 minutes into the calls. I then rebooted the device and made another call. No echo ever came up, even several minutes into the call. I then made a fifth call, and everything remained fine. So I'd say that the speakerphone echo should be mostly fixed now, but it might occur under certain particular circumstances that I'm not entirely sure about. Maybe it will happen 2 minutes into the first call you make after installing this ROM, and then never again.

This build also adds support for the German "retde" variant of this phone, and removes erroneous settings for hardware buttons not present on the device.
[X Play Original Android Development] Davirus849:
Is there any chance raw photos could be added to this rom?
[X Play Original Android Development] jhaedee:
Still loving this rom Squid2 :)

Just wanted to check, has anyone running this rom and squid kernel managed to get xposed for lollipop 5.1 working? Only curious as I have tried romracers v74 and rovo89s v75 but v74 gave me bootloop and v75 flashes fine and then boots but I an not find the xposed program anywhere on my phone?
[X Play Original Android Development] jellysheep:
Xposed v75 runs just fine on this ROM. Make sure to use the 'arm' (not 64bit) version. And you have to install the Xposed Installer app yourself to install modules.
[X Play Original Android Development] Lennyz1988:
I made 3 phone calls to 3 different people and in all of them the echo problem occurred :(
[X Play Original Android Development] goodrench:
Dirty flashed today's build and noticed that the audio playback speed is high. Tried a different music player with same results. I use google music player. When I disconnected from my car stereo (Bluetooth) playback speed was normal. Reconnected to Bluetooth stereo and playback is still fast. I don't have an aux cable at the moment to test with. Only device speaker and Bluetooth.
[X Play Original Android Development] squid2:
Hmm, I hadn't tested Bluetooth audio but maybe the last build's audio HAL change did that. I'll check it when I get a chance.
[X Play Original Android Development] squid2:
That's disappointing. Who else is still having echo issues with speakerphone? For other people, is it consistent (on every call) or just some calls?
[X Play Original Android Development] madcat1990:
I can confirm the music speedup over bluetooth bug as well!

(Could this be related to the bug in Stock where bluetooth would sometimes fluctuate in speed/pitch if bluetooth / wifi were on? This happens on both my MXP and Moto E 2015(LTE) )

I'll test it over AUX later on today and keep you posted.

EDIT :

Another bug to report about bluetooth! I had my music player (GMMP) playing music through bluetooth, when I got a call (which worked fine) after which the player resumed on my phone speakers.

Disconnecting / reconnecting the bluetooth device fixes this. Not sure if that helps.
[X Play Original Android Development] squid2:
The Motorola Bluetooth audio HAL I switched to yesterday seems to be breaking things for people, so I'll revert that. What I want to know is if the speakerphone behaviour has changed for people, and if it's for the better or the worse.
[X Play Original Android Development] squid2:
Bluetooth Audio Patch

I don't feel like uploading a new build for this one tiny change, so here's the one file you need to replace to fix the Bluetooth audio speedup issue. Unzip the file I uploaded and just run the following commands:

adb root
adb shell mount -o remount,rw /system
adb push audio.a2dp.default.so /system/lib/hw/
adb reboot

[MENTION=4869399]madcat1990[/MENTION] I tried calling myself a few times while playing music through the CyanogenMod music player (Eleven) over Bluetooth. The call worked fine, and it went back to playing through the Bluetooth speakers automatically after the call ended. So the functionality seems fine, it might just be your app or setup causing your issue.
[X Play Original Android Development] polobunny:
Thanks for the quick patch... After I just reverted to the 24th nightly! Haha!
[X Play Original Android Development] goodrench:
Audio is fine now. I did have two deep sleep issues within the first hour but all seems fine for the last hour or so. Thanks for the patch.
[X Play Original Android Development] LuizHenrique91:
My screen "dies" at night.

Last two nights, when I pick the phone from the pocket, make the wave gesture to turn on the screen or just click the power button, sometimes the screen just don't turn on. Sometimes there is notifications (the LED works), sometimes there isn't. I suspect this happens because of the low battery. That two nights, when this happened, battery was lower than 10%. When this happens, I have to force reboot.

My build is october 24th, with squid kernel 10d.
[X Play Original Android Development] ephumuris:
I had lots of issues like this with Pacman rom but never cm rom. Have you made any changes to CPU at all? Change of governors or minimum cpu speeds?
[X Play Original Android Development] droider007:
same issues here on low battery......
[X Play Original Android Development] LuizHenrique91:
The only changes I made were set minimum frequencies. 533MHz on the big cores and 499MHz on the little ones.
[X Play Original Android Development] LuizHenrique91:
I have also experienced random freezes that last 1 or 2 seconds. Most of times, it happend when my device was unlocked by smart lock and I swyped up the lock screen, but also happens in various other situations.