yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] nodio:
Squid, i've checked, data connection show like running normal, but when i try to use it, theres upload and download, but the network not working, seems like a blocked by any firewall, then i joined emulated terminal, typed su, and typed ifconfig and return, not showed any config, this is an issue? Please help me, on CM12.1 normal the data plan is working normal but with the status icon on top bar, yours have icon, status on top bar, but not working, thanks by the way.

XT1523 Brazilian variant, dtv and dual sim card

PS: EDIT,

This issue is not with your CM12.1 and kernel, working fine, thanks again
[E 2015 Original Android Development] EB20XY:
With lionfish and fiops and 400 Mhz lower frequency set by No-Frills-CPU the ROM runs very smooth and battery friendly and deep sleep works great ! :victory: :laugh::highfive:
[E 2015 Original Android Development] crazynapkinman:
I had issues with dirty flashing this ROM. I may do a clean install and see how it runs. I had issues with WiFi and Google apps not working correctly.
[E 2015 Original Android Development] pixiebob:
squid2: i use app kernel adiutor( i recommend this great app and open source)and i see interesting thing to configure with your kernel but would ask you what is the best for battery life:

in misc control:

_power suspend mode: we have choices: autosleep, userspace,lcd panel or hybrid(defaut)

_power suspend state, choices is 0(defaut),1 or 2
[E 2015 Original Android Development] EB20XY:
can you make a logcat and upload it here, if you think to have issues ?
[E 2015 Original Android Development] crazynapkinman:
Yes, after i clean install tonight. If I run into problems after clean I will most certainly upload log. I didn't feel the need to with a dirty flash.
[E 2015 Original Android Development] crazynapkinman:
Okay. Clean install is good but there's still a problem with the Wi-Fi. I have to use static IP address to connect to home network. And this is not my router.

I will provide log in next post.
[E 2015 Original Android Development] squid2:
Does WiFi work correctly in your home with the stock ROM? Scritch was using the stock WiFi drivers originally, then switched to using new ones from Qualcomm (with patches to make them work on Motorola devices). This kernel uses WiFi drivers based off stock, but with newer Qualcomm changes merged in. There might be an incompatibility between the Motorola drivers and your router in particular.
[E 2015 Original Android Development] crazynapkinman:
Idk. Stock worked fine. Scritch latest build works for WiFi.

Also, ambient display not working either.

---------- Post added at 05:23 PM ---------- Previous post was at 05:11 PM ----------

https://drive.google.com/file/d/0B2ZTz9uq_AexUy1RLUlyZ2E5RGc/view?usp=docslist_api

https://drive.google.com/file/d/0B2ZTz9uq_AexcXhoaFRUdU5xeU0/view?usp=docslist_api

These are logs for WiFi and Active Display not working correctly.

[MENTION=6485916]squid2[/MENTION]
[E 2015 Original Android Development] squid2:
Thanks for the logs. I'll try to figure out why it misbehaves on your home network. Does it give the same problem on other networks? I might try switching to a fresh driver from Qualcomm and then cherry picking minimal patches to make it work, similar to what I did with otus and scritch did with surnia.
[E 2015 Original Android Development] crazynapkinman:
No problem. Maybe [MENTION=3445372]scritch007[/MENTION] can help and you in the right direction for WiFi.

What are your thoughts with ambient display?

Also, your mobile data is working flawlessly upon multiple reboots. Maybe you can help scritch out too. On his builds I have to toggle from LTE preferred to 3G and back to LTE to get it working. Yours I don't have to do any of that.
[E 2015 Original Android Development] crazynapkinman:
Also, the sensors are broken in your build.

---------- Post added at 08:13 PM ---------- Previous post was at 08:11 PM ----------

Otherwise it runs great! Your kernel is fantastic!
[E 2015 Original Android Development] spiked_mistborn:
No issues to report with the r6 kernel on my xt1527 running stock 5.1. Battery life and performance are great. The Trepn profiler shows that the lionfish governor is working well.
[E 2015 Original Android Development] crazynapkinman:
Sensors and wifi are broken/not working properly in the cm build. Sorry for lack of clarification.
[E 2015 Original Android Development] nodio:
Here is working fine, i have xt1523 variant, but only thing what i dont find is the digital tv application, there a way to put it on CM12.1??
[E 2015 Original Android Development] squid2:
I haven't looked into it. From what I know, I think the digital TV application is specific to South American models.
[E 2015 Original Android Development] crazynapkinman:
Waiting for new build isn't too terrible. Your data is flawless. Just WiFi and sensors. Good job squid!
[E 2015 Original Android Development] nodio:
i found it

extracted from here http://motodownloads.blogspot.com.br/2015/05/app-tv-movel-para-qualquer-rom-do-xt1069.html

http://xdaforums.com/attachment.php?attachmentid=3407642&d=1437183770

http://xdaforums.com/attachment.php?attachmentid=3408732&d=1437183994

http://xdaforums.com/attachment.php?attachmentid=3408733&d=1437183994
[E 2015 Original Android Development] squid2:
Hmm, sensors are fine on my device. Try opening an adb shell, become root (su), and run the following commands:

stml0xx tboot
stml0xx boot

If your sensors still don't work after running these commands, try rebooting and see if they work after that.

It appears that SELinux broke sensors on scritch's latest build, but my last CM12.1 build was before I merged in the SELinux commit, so SELinux will still be permissive on my CM build.
[E 2015 Original Android Development] crazynapkinman:
Ran commands. Didn't work. Sensors broken...

---------- Post added at 09:55 PM ---------- Previous post was at 09:54 PM ----------

Could I try dirty flashing scritch build for sensors (not his latest obviously) or would that replace your data? If we could mesh your 2 builds...
[E 2015 Original Android Development] squid2:
You could try taking his system image and my boot image, though I don't know if that will fix anything. Is anyone else having sensor issues with my CM build? I don't know why they are broken for you, as they are fine on my device.
[E 2015 Original Android Development] crazynapkinman:
And you are on xt1526?
[E 2015 Original Android Development] squid2:
XT1527. Sensors should be the same on the two though. Only difference is the modem.
[E 2015 Original Android Development] crazynapkinman:
Hmmm should I try flashing your again?
[E 2015 Original Android Development] squid2:
Might not be a bad idea. Perhaps back up your current setup, and do a clean install of my build just to rule out old cruft as the culprit. If that doesn't fix it, you can restore your previous setup.
[E 2015 Original Android Development] crazynapkinman:
I did clean install after wiping Scritch build.
[E 2015 Original Android Development] squid2:
Just to be sure, what does it say under Settings->About phone->Kernel version?
[E 2015 Original Android Development] squid2:
Hmm, that looks all correct. I don't know what's happening then.

P.S. By sensors, I assume you mean the accelerometer/orientation sensor and ambient light sensor.
[E 2015 Original Android Development] crazynapkinman:
The active display works when I get a notification, but moving device or waving hand over sensor does not work
[E 2015 Original Android Development] squid2:
Oh, that's what you meant. That has never worked on my CM builds. I thought you meant that the sensors didn't work, not the ambient display thing. You can check the sensors with an app like CPU-Z, they should be working fine.

I can look at fixing it for my next build, but it will around 2 weeks before I get time.
[E 2015 Original Android Development] crazynapkinman:
any chance that you'll craft a build with working active display?

Edit: Apologies. Just read your edit. LOL!

Man that would be awesome! Your build is so nice. I don't know how you got Data to work so well on your build. Multiple reboots, in and out of coverage area and boom, it always comes back to LTE.

Plus, the custom kernel! OMG. Best build yet IMO. Even without the Ambient Display (although that is a really nice feater and thank you for considering to add it to your next build!)

Looking forward to more greatness from you squid!

Oh and as far as WiFi, I don't know why it doesn't work at my home. But every other WiFi network seems to be fine. I had this issue with some of scritch's builds though too.... Doesn't make sense. But I can live with a Static IP here at home. =)

Again, thanks for all that you do!
[E 2015 Original Android Development] nodio:
did you tried to remove knowns network and put it again? As far as i know it worked to me here, i had the same issue as you
[E 2015 Original Android Development] PriPhaze:
Anyone with music playback problems after installing the kernel? Mine is laggy or choppy and it gets worse when the screen is turned off
[E 2015 Original Android Development] squid2:
It seems OK for me on CyanogenMod, but I do believe that you can get the occasional glitch under certain loading conditions depending on your governor, scheduler, and idle frequency settings. Which governor, IO scheduler, and idle frequency are you running? With my configuration (lionfish, fiops, 200 MHz idle) on CyanogenMod, it works fine, except for an occasional brief playback glitch when turning the display on after it has been off for a while. There is a vast difference in the CPU frequency behaviour between Lionfish and the usual governors (like Interactive). See the difference in the screenshots:

[IMG="Interactive vs. Lionfish Music Playback"]http://i.imgur.com/Lz6n4sr.png[/IMG]

See how the Lionfish governor prefers lower frequencies, while interactive routinely jumps from idle straight to max frequency, and likes to stay at max frequency. The Lionfish approach saves battery, but the CPU can get saturated for a few milliseconds before it raises the frequency when there is a burst of load. If you are running with a 200 MHz idle, my suggestion would be to raise the idle frequency to 400 MHz. That got rid of the occasional audio glitch that happened when I turned the screen on.
[E 2015 Original Android Development] Filz0r:
After raising the idle frequency to 400 MHz my phone got rid of those random lags, but I've been noticing that the charging time is way longer with this rom, and that with the google camera I can't save photos on my SD card, but this I think is an issue with the app itself.

This weekend I went camping and the GPS proved quite efficient also the battery time was amazing, on the trip back my moto E with 15% of battery did 260km with the gps turned on so that I wouldn't lose myself, of course the screen wasn't always on but GPS and LTE were, and the battery drain wasn't that big, except when I only had 3G or HSPA because of lack of network.

Now I have a few doubts that I hope you can help me with, the Surnia model comes with the Snapdragon 410, wich is capable of using fast charge, and my thougts are that that option can be enabled in the kernel, am I right? If so could you give it a try, I'm having like 2:30/3 hours charging time with this rom, which is ratter anoying having to leave home without a full charge...

And also I saw that CM12.1 has the double tap to awake feauture natively, and if you search that in the settings it does appear but the option isn't there...

If you could work on these 2 things I'd be stoked, because this rom has made my phone way better than it was with stock 5.0.2, and if you make it work I'm more than happy to test it!

Once again thank you for your awesome job!

EDIT: And also with your governor settings I can't run Antutu Benchmark, it crashes after a while, but that's not that big of a deal, and also in my last charge I noticed my screen on time dropped from 4:30h to 2:45h but I can't say nothing for sure because I've yet to charge my phone untill 100%
[E 2015 Original Android Development] thrasher194com:
Good Work here guys... i flashed this last night on Unlocked Moto e xt1526 - android 5.1 stock rom - TWRP 2.8.7

"FLASH SUCCESSFUL"

Thanks for the custom kernel mod. :)
[E 2015 Original Android Development] crazynapkinman:
OMG! [MENTION=6485916]squid2[/MENTION] I'm so sorry man. Your active display works perfectly. I was dumb and didn't check my settings... The gestures were turned off! I'm so stupid!

Thanks for a really great working ROM! [MENTION=6395205]Filz0r[/MENTION] Where do you see option for DT2W in CM settings? I only see DT2S settings and it works.
[E 2015 Original Android Development] Filz0r:
You have to search in the settings app, I'll attach a print in the post so you can see, but it's in portuguese, it says double tap and i've seen videos that that's where you go to activate double tap to awake.

But the thing is when you click on it it doesn't take you to that menu but yes to the button menu...
[E 2015 Original Android Development] crazynapkinman:
I searched but it wouldn't show up
[E 2015 Original Android Development] squid2:
New CyanogenMod Build

I have a new CyanogenMod build with the latest the latest changes to CyanogenMod and this kernel (3.10.85). The FM radio should also work in this build. I kept SELinux permissive to avoid the sensor issues that scritch's latest build is having.

Download link: http://www.mediafire.com/download/epkj0wsx6652036/cm-12.1-20150808-UNOFFICIAL-surnia.zip
[E 2015 Original Android Development] Filz0r:
Should I dirty flash the rom, or clean install it?
[E 2015 Original Android Development] squid2:
Dirty flash is usually fine.
[E 2015 Original Android Development] crazynapkinman:
What are changes for latest build?
[E 2015 Original Android Development] squid2:
On my end (the kernel), I fixed the FM radio and updated to Linux 3.10.85. On the CyanogenMod end, as usual, there are a bunch of small updates that you can see on their GitHub. Nothing too major though.
[E 2015 Original Android Development] EB20XY:
Great news ! Will be tested soon. :fingers-crossed:
[E 2015 Original Android Development] crazynapkinman:
Working flawlessly.
[E 2015 Original Android Development] dwane3:
Sorry,but wifi is not working on this build,obtaining ip adress and... How fix this?Also tel is warm after restart!
[E 2015 Original Android Development] EB20XY:
Did you wiped system ?

Did you tried clean installation ?

Do you use latest gapps ?
[E 2015 Original Android Development] Filz0r:
So far so good, sensors work, no problems with wifi, but idk why but smartlock doesn't work as well as it did on previous build, i've got my home adress as a smartlock feauture and my pc via bluetooth too, but the phone keeps asking me my password to unlock the device...

EDIT: I had to reconfigure the smart lock settings..

EDIT2: I'm having a slight battery drain, my phone is at 66% and I've only got 50min of screen ontime, on stock version I had at least one and a half hour of screen on time with the same battery percentage.

I've increased the minimal cpu freq to 400mHz to see if there is any changes, I'll report later
[E 2015 Original Android Development] EB20XY:
can you try

FIOPS scheduler with Lionfish CPU governor
[E 2015 Original Android Development] Filz0r:
Its what I already have, but I've upped the min CPU clock to 400mhz and so far I've not noticed so much drain
[E 2015 Original Android Development] dwane3:
yes

yes

tk gapps 09.08.2015.
[E 2015 Original Android Development] EB20XY:
ok. If you still get issues, please upload logcat.
[E 2015 Original Android Development] diafero:
I flashed the CM including this kernel over scritch007's CM, in order to see whether it helps with the issues I am having. I wiped cache+dalvik, but not data.

Unfortunately, the main issue remains: I have my storage encrypted, and while booting works fine, the device says "no SIM card". It seems I will have to wipe it all, and not use encryption, to use my phone again.
[E 2015 Original Android Development] EB20XY:
Seems to work fine. :highfive:

Thanks for FM-radio esp.
[E 2015 Original Android Development] xukashi:
Yeah the kernel is awesome. I use your latest CM build with lionfish, fiops and 400mhz. [MENTION=6485916]squid2[/MENTION] can u make a flashable kernel.zip for CM builds? In a separate post was nice
[E 2015 Original Android Development] crazynapkinman:
Any chance for quick charge in this kernel?
[E 2015 Original Android Development] EB20XY:
For me it is okay like it works now concerning charging.

If "quick-charge" comes, it can be perhaps optional ?
[E 2015 Original Android Development] crazynapkinman:
Yes an I option you change in kernel manager
[E 2015 Original Android Development] areq1987:
Very nice rom. Everything works smooth except notification led when receiving new one.

Wysłane z mojego XT1524 przy użyciu Tapatalka
[E 2015 Original Android Development] diafero:
After ~2 days of usage, I can only agree that this ROM is working great. You even included the diagnosis driver of the Qualcom baseband, so that apps like SnoopSnitcher are working :)

There's only one problem I have - both this ROM and the one by scritch007 share this issue: The device fails to automatically connect to WiFi while in stand-by mode. In other words, when I come to work, and then wait 10min, and then turn on the screen for the first time, I can see that the device is *not* connected to WiFi. Waiting 10-20sec, it then connects. But that's rather bad, because it means all the background services that are running are either still using mobile data, or they are turning themselves off because I told them to use WiFi only.
[E 2015 Original Android Development] diafero:
Actually, this is worse than I thought: The device also fails to keep the WiFi connection alive while being in stand-by. If I leave it in stand-by for long time (I'd estimate, 30-60min), and then turn it on, it is offline (as in, that WiFi mark in the status bar is gone). It's only coming back online ~10sec after I got it out of stand-by. That means that I am actually way less available via VoIP than I hoped to be...

And yes, I do have "Keep Wi-Fi on during sleep" set to "Always".
[Advantage X7500, MDA Ameo General] LTxda:
I found this file a couple of days ago in another forum under xda-developers.com. I can't remember exactly which one so I'm posting the file here for anyone that needs it because I can't find the link I downloaded it from.

There are three files in the btaudio.zip archive. BTAudioOff.exe, BTAudioOn.exe and BTAudioToggle.exe. If I read correctly BTAudioToggle.exe works as a stand alone file. Just save it anywhere, create a shortcut or map a button to it and you're done. It'll basically toggle the BTAudio on or off. Pretty simple. The other two files are self explanatory, one turns on the feature and one turns it off. I tested it today while watching a movie on my XDA. Works pretty nicely and I've found no bugs yet.

This works perfectly with my Jawbone. Yes, it will probably drain the battery on the headset but I only use it in temporary circumstances.

Hope this is useful to someone else.
[Advantage X7500, MDA Ameo General] purrfect:
the hp ipaq 6965 which i had before the x7500 had this feature built in, i'm wondering if windows mobile 6 will have it as well,

also, i tried this program and once you tap the answer button on your headset the audio goes back to the phone
[Advantage X7500, MDA Ameo General] LTxda:
Thanks for the heads up. I'll know to toggle it back on or turn it down. :-)
[Advantage X7500, MDA Ameo General] hdubli:
it doesn't work when there is a call ..I mean it auto switch off and then no sound from BT..this app has been around for an year but practically no use..
[Advantage X7500, MDA Ameo General] c0rnholio:
Another tool

Hi,

you can use btIO for the same. It's a tray app so there is no need of shortcuts for on/off/toggle.

Find it here:

http://www.silentservices.de/btIO.html

Cheers
[Advantage X7500, MDA Ameo General] apphoen:
Perfect for my needs - just received a set of Sony DR-BT30Q Stereo headphones from ebay and they work perfectly with this.
[Advantage X7500, MDA Ameo General] Moskus:
Doesn't stereo headsets (A2DP) work without the bluetooth audio gateway? At least mine do...
[Advantage X7500, MDA Ameo General] mackaby007:
Hi c0rnholio. Nice application, thanks.:)

I only have one problem though, whilst I can activate audio2bt successfully and I can hear music via my ordinary BT earpiece, it also automatically invokes my voice calling software thus switching the audio2bt immediately off.:(

Any ideas how to overcome this?
[Advantage X7500, MDA Ameo General] c0rnholio:
Well, if you don't use the built-in voicespeeddial then it's pretty easy.

Just set: HKLM\software\oem\voicecommand\launchappenable to 0

MS-VoiceCommand will still work after this reg-change.

If you do use the built-in app then I have no idea.
[Advantage X7500, MDA Ameo General] mackaby007:
Thanks for that cOrnholio. I'll apply the reg change and get me a copy of MS Voice Command (everyone says its crap anyway, so it's time to upgrade :)). Thanks again.
[Advantage X7500, MDA Ameo General] LTxda:
Looks awesome! Thanks.
[Advantage X7500, MDA Ameo General] di2307:
I tried. Looks good.

What is AudioGWCC ON/OFF?

The problem is with the scenario: I switched audio to headset, listen to music, incoming call, I pick up, music paused (Mort player), I hung up, music starts again, but it switched back to the device.

Any idea?
[Advantage X7500, MDA Ameo General] c0rnholio:
AudioGWCC is the Switch for the Audio Gateway Control Channel. I've put it in because of some headsets required to explicitly establish the control channel first (from what I've seen). The behaviour you described is normal. The device closes the control channel after a call is finished. I don't know if there is a way to deactivate or to circumvent it.
[Advantage X7500, MDA Ameo General] Palmchen:
oh men, this is really one of the most important tools what you can download and install it on the Ameo.

I couldn't say how much do I have to tell you : thank you.

BTIO together with WifiIO are the perfect combination to manage complete BT and also WiFi from today screen.

And it's freeware too. absolut perfect.
[Advantage X7500, MDA Ameo General] di2307:
Gentlemen,

I am sorry to bother with the same topic, looks like all are happy with BtIO and similar utilites...

I have a problem that drives me crazy... :(

I am listen to audio books (using Mortplayer) a lot, the problem with incoming calls:

1. Switch audio to headset, sound plays in headset. Perfect.

2. Incoming call:

.........Device is switching sound to a loudspeaker

.........I hear 0.5 sec of loud sound comming from a device

.........Audio playback is paused

.........Ringtone plays from loudspeaker

3. I pick up the call using headset button

.........Audio switched back to headset

.........I can hear some ringtone sound for 0.5 sec

.........Phone conversation

4. I hung up using Phone button or headset button or another party hung ups

.........Audio playback resumed

.........Audio switched to loudspeaker

5. I have to act quickly to switch audio back to headset by pressing button. This is very annoying :mad:

I tried utilities:

acbToggleBT-0.8.cab

BTAudio_PPC.ARMV4.CAB

btaudiocf1.cab

btaudiotoday.cab

btIO-0.5.CAB

bluemusic 2.0.[desktop].exe

BlueMusic looks the best, still it can't detect the scenario (5)...

Looks like I am missing something... This problem looks a very basic for me and I believe should be already solved...

Please help!

Also, I don't see a practical value of utilities above... I can svitch Audio to BT and back just by clicking the button on a headset. (I desabled the Voice comander)

Regards,

Dimitriy