yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] PriPhaze:
That problem have been there for awhile.. thats why i avoid messing with the usb options or else you get stuck in one of them and you cant connect to the pc to transfer files
[E 2015 Original Android Development] diafero:
Basic WiFi continues to work fine here with v40 of the ROM. Unfortunately, the WiFi issue also remains: When the phone is in standby, it doesn't notice and connect to WiFis that appear in range.
[E 2015 Original Android Development] hehk1234:
[MENTION=3445372]scritch007[/MENTION] CM12.1 works on moto E2 LTE dual sim ? If yes, what the bug's are presents ? Thanks :)
[E 2015 Original Android Development] diafero:
After an entire day of using the v40 ROM just fine, it suddenly started to do bootloops just now. I'm not sure if this is related to my home WiFi, the bootloop started when it got back in range - but the device was in the same WiFi last evening and this morning just fine. Unfortunately, adb root access is disabled, so I can't get the pstore file out of the device.

I'm now downgrading to v39, hoping that fixes the problem, and waiting for v41 ;)
[E 2015 Original Android Development] Filz0r:
[MENTION=3445372]scritch007[/MENTION] v40 is working all right with WiFi and LED working nice too, but the phone seems kinda laggy and sometimes apps like instagram and xda force close...
[E 2015 Original Android Development] scritch007:
Yes the airplane mod makes this happen, it is still possible to recover from it by being quick enough and disable the airplane mode as soon as you can.
[E 2015 Original Android Development] dwane3:
[MENTION=3445372]scritch007[/MENTION],may be you update cm 12.1 for 41 version with fixes?Thanks for the hard work.May will be add LED Notification on stock rom?
[E 2015 Original Android Development] diafero:
I see, indeed I had airplane mode activated. I didn't think *disabling* a bunch of radio stuff could cause problems ;) . In any case, I'd rather wait on v39 till this is fixed; my phone is actually more in airplane mode than it isn't. There's no need to be connected to this entirely untrustworthy, centralized network that permanently tracks and locates me more than absolutely necessary. I have WiFi most of the places I am :D
[E 2015 Original Android Development] PeterPan6754:
hello developers

can you Downgraded WiFi driver to LA.BR.1.1.2_rb1.18 ? thx
[E 2015 Original Android Development] PriPhaze:
I want to point out some errors i have notice so far ( Im using Squid Kernel so that can change everything )

-You pretty much get stuck at one USB option if you dare to change the defalut one which is MTP .... you can actually change the option if you turn USB debuggin on but it doesnt make any effect at all.

-Smart Lock is not working properly.... Sometimes it will unlock when you are not even close at all to the "safe area" or sometimes it locks even when it is suppose to be unlocked.

-Then the volume bar seems to get lagg or stuck sometimes if you are playing something in landscape mode... It still works tho, you can hear the volume increasing or decresing but u dont see the bar moving.

-Music lags a bit a makes a buzzing sound? Idk how to call it ( Note: That could be due to the governor and the costume kernel from Squid.. i couldn't try the clean rom becuase of reboots with the wifi driver)

Lowest CPU frecuency is set to 533Mhz
[E 2015 Original Android Development] yelupic:
Nightly@2015-08-27 Build 42 - After some ultra short testing:

Sensors working, Sound sources are switching correctly, no bootloops by deactivating W-LAN. - Très, très bien!

Thank you very much, @scritch007
[E 2015 Original Android Development] EB20XY:
what are the diffs in the new cm-12.1-20150827-UNOFFICIAL-surnia-42.zip build ?
[E 2015 Original Android Development] scritch007:
cm-12.1-20150827-UNOFFICIAL-surnia-42.zip

Update of the SEPolicy all should be fine now

reverted to older prima drivers from qcom master branch
[E 2015 Original Android Development] matteo 06:
on 1524 cm 12.1 build 42 works very well especially without squid kernel

thanks scritch:good::good:
[E 2015 Original Android Development] squid2:
Have you been having issues with my kernel?
[E 2015 Original Android Development] matteo 06:
with rd bootloop,with rf wifi very slow, 15 seconds against 4
[E 2015 Original Android Development] squid2:
I don't quite understand what you mean by "rd" and "rf". There was an issue where the r7c-r7e kernels would cause bootloops on devices with old modems (like EU models) due to bugs in the old modem that the newer drivers trigger but old drivers don't. I went back to an older WiFi driver in r7f that avoids triggering the bug in old modems.

There was an issue where Motorola's WiFi drivers were slow to connect for some users on CyanogenMod. Both scritch's build 38/39/40 and my r7b kernel and earlier used WiFi drivers based off Motorola's release. I switched to new CodeAurora drivers in r7c and they resolved the slow connection issues for those affected, though the new drivers were problematic for those on old modmes. The WiFi drivers used in my latest r7f kernel should be quick to connect and not have bootloops even on buggy old modems.

Were you having bootloop and slow network detection or DHCP issues on my r7f kernel?
[E 2015 Original Android Development] PriPhaze:
idk what are you talking about but im using the squid kernel last version with CM 12.1 42 and everything is working alright.

The only thing that annoys me a little bit is the buzzing sound when playing a song and then turning on the screen (which im not sure if its because of the kernel or the rom itself)
[E 2015 Original Android Development] Fedray:
I loved cm12.1 but battery life didn't look that good like in stock rom. And had problems with microphone in voice records for WhatsApp or voice recording app
[E 2015 Original Android Development] PriPhaze:
Hmm? Battery Life is good.. theres one thing i notice tho.. the CM Clock which have a widget is always trying to update the weather status even when you are not even using the widget..

I had to disable that in the clock preferences and that solved the battery drain.
[E 2015 Original Android Development] starkly_raving:
Upon decompiling framework-res I found the issue for CDMA users is likely the eri located in res/xml ...

So I decompiled the stock framework... xml is obviously Boost. Could not recompile to test because of Java errors (thanks Win10)but I think it's a step in the right direction. [MENTION=5337314]CodyF86[/MENTION] has an overlay on his git.

Link to his git with the overlays for Boost, Verizon ect...

https://github.com/codyf86/android_.../cm-12.1/overlay/frameworks/base/core/res/res
[E 2015 Original Android Development] Filz0r:
I've flashed the 42 build with the latest squid kernel and so far I haven't notices anything wrong with the ROM.

And I've got a question, I saw somewhere that CM supports double tap to awake, so is it possible to include this feature on this ROM?
[E 2015 Original Android Development] Fedray:
Any way to fix microphone bug in WhatsApp voice records? It is using back microphone (this one is used for noise cancelation I guess) instead of bottom mic
[E 2015 Original Android Development] Saleitor:
The ROM is excellent... BUT:

(i don't know specific names)

1º The "Wake on Notification" function take more time than stock ROM (MOTO App)

2º The "IDK the name, when you pick up the phone it should wake the screen" (like de MOTO App) doesn't works.

PS: I don't have any troubles with whatsapp voicer records...
[E 2015 Original Android Development] Fedray:
Really you don't? My problem is my voice records have very low volume and they sound a bit weird, that's because its using back mic, you can test in mic record app too, if I'm the only then I don't know
[E 2015 Original Android Development] Saleitor:
I can't see a huge difference with records of the stock rom and this (maybe is my bad memory).

My phone is XT1527
[E 2015 Original Android Development] Fedray:
I have XT1527 too, maybe it's only me! But I remember another guy reporting the same issue too
[E 2015 Original Android Development] PeterPan6754:
ROM 42, device XT1524,

Bug: USB/PC Connection MTP/PTP/onlyCharge, not working. Can´t switch back from PTP to MTP or PTP to OnlyCharge. Please fix it.
[E 2015 Original Android Development] tetrahydrofuran:
Hi [MENTION=3445372]scritch007[/MENTION], what's required to make this CM port official? I see your Moto E (original) CM 12.1 is an official CM port... I would like to use this, but OTA updates are kinda nice to have...
[E 2015 Original Android Development] thathtcguy:
To go back to MTP turn on usb debugging, and then try

---------- Post added at 04:08 PM ---------- Previous post was at 04:07 PM ----------

my lock screen randomly stopped working, it's unlocking automatically even though it's set to have a pattern lock:/ not sure if it's the rom or not
[E 2015 Original Android Development] SylvieL:
I'm running this ROM on my Motorola Moto E 2015 (XT1524), and it mostly works fine. However, it does not see my SIM card, and trying to change the Preferred network type under Mobile network settings (which is empty by default) causes com.android.phone to crash. Does anyone else have this issue and how would I fix this? I'd really like to use my SIM card, thanks! :)
[E 2015 Original Android Development] EB20XY:
can you please create a logcat-logfile and upload it here ?
[E 2015 Original Android Development] jpmaster:
Lock Screen

XT1524 with 20150827-42 and squid kernel r7f.

My lock screen doesn't appear after screen off,either with swipe, pattern or PIN.

Combination of ROM / kernel very stable and fluid. Excellent battery life. No major bugs detected.
[E 2015 Original Android Development] SylvieL:
There is no log when inserting my SIM card (it's like my phone doesn't respond to it at all, I should probably try another ROM), but this happens when changing preferred network type:

W/ResourceType( 2911): No known package when getting value for resource number 0xffffffff
D/AndroidRuntime( 2911): Shutting down VM
--------- beginning of crash
E/AndroidRuntime( 2911): FATAL EXCEPTION: main
E/AndroidRuntime( 2911): Process: com.android.phone, PID: 2911
E/AndroidRuntime( 2911): android.content.res.Resources$NotFoundException: String resource ID #0xffffffff
E/AndroidRuntime( 2911): at android.content.res.Resources.getText(Resources.java:321)
E/AndroidRuntime( 2911): at android.content.res.Resources.getString(Resources.java:407)
E/AndroidRuntime( 2911): at android.content.Context.getString(Context.java:377)
E/AndroidRuntime( 2911): at com.android.phone.MobileNetworkSettings.UpdateEnabledNetworksValueAndSummary(MobileNetworkSettings.java:1118)
E/AndroidRuntime( 2911): at com.android.phone.MobileNetworkSettings.onPreferenceChange(MobileNetworkSettings.java:771)
E/AndroidRuntime( 2911): at android.preference.Preference.callChangeListener(Preference.java:928)
E/AndroidRuntime( 2911): at android.preference.ListPreference.onDialogClosed(ListPreference.java:281)
E/AndroidRuntime( 2911): at android.preference.DialogPreference.onDismiss(DialogPreference.java:398)
E/AndroidRuntime( 2911): at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1263)
E/AndroidRuntime( 2911): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2911): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 2911): at android.app.ActivityThread.main(ActivityThread.java:5293)
E/AndroidRuntime( 2911): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2911): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2911): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 2911): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
W/ActivityManager( 2017): Force finishing activity 1 com.android.phone/.MobileNetworkSettings

EDIT: This is on 20150827
[E 2015 Original Android Development] diafero:
I am now also having trouble with my xt1524 to connect to some WiFis. It doesn't seem to be entirely reproducible, but the phone has a very hard time connecting to this WiFi that my laptop (and many others) can get in pretty well.

This is with v42. I attached a log. You can see a successful connection first, and later some unsuccessful ones. There are unfortunately no timestamps.
[E 2015 Original Android Development] starkly_raving:
Well I was able to decompile and compile the framework for the Boost variant and add the eri.xml and there was no change. Still Sprint for LTE and 00000 for 3G/CDMA. So apparently it's a provisioning issue or something a bit deeper than the eri. Hoping [MENTION=5337314]CodyF86[/MENTION] will chime in. :-/

**EDIT**

Looking through telephony smali now hoping to find something, if anyone else on the CDMA device has any input please speak up. :)
[E 2015 Original Android Development] SylvieL:
I may have a CDMA device? I'm not sure. The box says the following:

MOTOROLA, XT1524, EUROPE RETAIL WHT 8GB

GSM 1800/1900/850/900; LTE Band 01/03/07/20; WCDMA 2100/900

I've also noticed that, when dialing *#*#4636#*#* and going to Phone Info, "Set preferred network type" is set to Unknown and can't be changed (no matter what I select in the dropdown menu, it stays on Unknown). The "Turn off radio" button also doesn't seem to be doing anything.

I'm still wondering if having the "No SIM card" message is a known issue or not, because I suffer from this and the SIM card works fine in other devices.
[E 2015 Original Android Development] DanHutchins:
Just a thought the issue with the boost mobile varient not showing boost mobile. Could this be in either the VPN or APN if the names are set to be both boost mobile and not Boost mobile Sprint it may solve could be why no 4g as well. This would be for xt1526.
[E 2015 Original Android Development] starkly_raving:
We have LTE and 3G, the problem is it's not properly identifying the network. Things I've tried...

Build.prop edits

Changed to stock apnconfig.xml

Added Boost eri.xml to data

Manually changed the eri.xml in framework-res.apk...

Currently looking through all the telephony apks now to see if there's something in smali. [MENTION=4400604]Meticulus[/MENTION] and [MENTION=5337314]CodyF86[/MENTION] solved this for another Boost device just hoping they chime in at some point.
[E 2015 Original Android Development] SylvieL:
I just noticed that, aside from "NO SIM Card", IMEI is also "Unknown". IMEI is always shown, even with no SIM card, on my old phone. Is this an CDMA issue (Assuming this device is CDMA)? I'm not very knowledgeable on the Android device side, so I'm just speculating as I go and trying to give as much info as I can.
[E 2015 Original Android Development] willmore:
Thanks for the tip. I'll take a look. :)
[E 2015 Original Android Development] scritch007:
CM 12.1 First version

cm-12.1-20150425-UNOFFICIAL-surnia.zip

CM12.1 bringup

Fixed GPS but meteo application says it doesn't work Installing Gapps fixes the meteo application behavior

XT1521 support started, not tested for now.

Remember that you'll have to update your GAPPS otherwise you will get some FC.
[E 2015 Original Android Development] HtcDickson:
THAT JOY!!

I appreciate that you follow in developing this device comes moto and 2015 !!

Excuse my English, I am using google translator. I am from Peru. a greeting
[E 2015 Original Android Development] willmore:
I bought one. ;) Give me a bit to get 12.1 installed. :)
[E 2015 Original Android Development] inyourface09:
Great Work Guys!

Had to pick one of these up, got sick of having no expandable storage and 4g. Picked this puppy up for 50$ with my upgrade. Y'all on irc, may be able to contribute once i get caught up on finals. Using XT1526, love what you guys have accomplished so far keep it up!
[E 2015 Original Android Development] crazynapkinman:
Is this for CDMA variant?

---------- Post added at 09:34 PM ---------- Previous post was at 09:33 PM ----------

Nvm. Links to gapps?

---------- Post added at 09:37 PM ---------- Previous post was at 09:34 PM ----------

And which one is for CDMA?
[E 2015 Original Android Development] Jelixis:
Hello,

I am the mantainer for XT1527. Excuse my inactivity, I have been very busy recently.

Any XT1527 specific bugs, testers?

I will work on it when I can.

Alphapixels-sign-off

https://github.com/Alphapixels
[E 2015 Original Android Development] crazynapkinman:
Flash/Usage

Okay, i have installed 12.1. Right after install, I didn't have service. After a random reboot, CDMA version is working with 3G (still waiting of 4g LTE! WOO! GO DEVS!) Installed Gapps (http://wiki.cyanogenmod.org/w/Google_Apps). Thanks to you devs for your speedy work on this device. I can't believe it's this new and already has working latest CM builds. wonderful!

Edit: My Wi-Fi isn't working properly. It's stuck on "Obtaining IP Address" It won't allow router to assign an IP address.

Also, my service drops often on CMDA Boost Mobile and connecting to 3G data network takes a while. It's not even called Boost Mobile. It says "31000"

Screenshot:

And my Google Apps aren't syncing correctly either. Playstore is asking me to purchase apps that I have already purchased.

I am flashing my Nandroid backup (Stock, Modded) so I can achieve 4G LTE and Wi-Fi.

Otherwise, it's looking REALLY good. Once the very few kinks are worked out I am flashing 12.1 for daily use. Can't wait. Go Devs! You got this!:good::good:
[E 2015 Original Android Development] Techguy18:
XT1521 is the Indian 4G model? What are the differences bewteen it and the US 4G models?

Can the normal recoveries/ROMs/kernels meant for the US 4G S410 models be used?
[E 2015 Original Android Development] scritch007:
Xt1521 is a dual Sim device.

There are two us devices. Xt1526 which is cdma and xt1527.

And also one Verizon device xt1528

Xt1524 device is for Europe.

This ROM is a unified one. In the end it should work for all devices

The only fully supported device for today is the xt1524 but full support for others will come soon.
[E 2015 Original Android Development] squid2:
For some reason, the April 25th nightly won't boot on my device. However, I've made a new build of this ROM using my kernel, and it does boot on my device. The kernel I used in this build is effectively r5 with updated WiFi drivers.

I've noticed that the backlight is acting oddly, sometimes allowing level adjustment, and other times getting stuck at 100% brightness. Apart from that, most things are working.

Download link: http://www.mediafire.com/download/0ivkg961kh5b74q/cm-12.1-20150426-squid2-surnia.zip

CM12.1 Device tree using my kernel: https://github.com/sultanqasim/android_device_motorola_surnia

Be sure to flash GAPPS after flashing the ROM. I recommend Euroskank GAPPS.
[E 2015 Original Android Development] Techguy18:
Thanks for clarifying. This is unified, but will other kernels and recoveries will require specific device support, or will I be able to flash anything meant for xt1524 onto a xt1521 device?
[E 2015 Original Android Development] fxone:
Great work, xt1524 here, running your latest build with pa-gapps. No problems at the moment.
[E 2015 Original Android Development] scritch007:
[MENTION=6485916]squid2[/MENTION] what didn't boot? nothing at all or you had the bootanimation and you were stuck somewhere?

[MENTION=535343]all[/MENTION] I'm gonna need you all to help me a little.

I'd like to know if all our devices have the same soc_id.

For this,

Can you do

cat /sys/devices/soc0/soc_id

Or if it doesn't exist

cat /sys/devices/system/soc/soc0/soc_id

And in that case can you tell me which one worked for you (first line or second one)

I have 206 and percy on the xt1521 also has 206.

If we all have the same value I can cleanup a lot of unnecessary stuff in the ramdisk/init process.
[E 2015 Original Android Development] crazynapkinman:
Can this be run on android terminal emulator?

Confirmed it can be done with terminal emulator.

Xt1526 CDMA is also 206. Boost Mobile variant

I used the first line of code
[E 2015 Original Android Development] squid2:
It would bring up the boot logo (bootloader unlocked warning), show that for around 10 seconds, then reboot before showing the boot animation. After a couple bootloop cycles like this, I gave up on your build. I didn't pay much attention to it though, since my build did boot and work properly on my device. I didn't check to see if a last_kmesg was available.

I'll look up my soc_I'd when I get home (where my device is). I'll also try today's build that you made to see if it boots. Thanks for the good work!
[E 2015 Original Android Development] duduaxe:
Hello my moto is xt1415 with 8GB , dual sim and 4g . It is in Brazil.Does it work this rom or even the recovery ?
[E 2015 Original Android Development] bzo22:
Confirmed 12.1 working on xt1526 still no lte but very Happy to be running the latest version of android. Much thank to all who had a hand in development
[E 2015 Original Android Development] fxone:
First line worked for me , gives a

206

German XT1524 Running latest cm12.1

Edit: in call volume is pretty low
[E 2015 Original Android Development] squid2:
I just checked my soc_id, and it too is 206 on my Telus Canada XT1527.
[E 2015 Original Android Development] starkly_raving:
You're device is GSM, should be good to go.
[E 2015 Original Android Development] DanHutchins:
Can I get a link to get the latest build please
[E 2015 Original Android Development] DanHutchins:
Is cm-12.1-20150827 the latest sorry kinda confusing can't find anything that says it is or not I'm on xt1526
[E 2015 Original Android Development] starkly_raving:
Yes that's the latest.
[E 2015 Original Android Development] DanHutchins:
Where can I get gapps?? And what ones do I pick?? Thanks for the help.
[E 2015 Original Android Development] SylvieL:
That's strange, because it really won't see my SIM card. Is there any way I could help debug this? I hope the phone itself isn't broken, I didn't get the SIM card until a month or so later, so I never tested it with stock.
[E 2015 Original Android Development] DanHutchins:
Just tried flashing cm-12.1-20150827 and I get signature verification failed 1 how to fix please also where can I get gapps?? Again I'm on xt1526
[E 2015 Original Android Development] starkly_raving:
What recovery are you on? As for gapps Google for "open gapps 5.1.X" .

---------- Post added at 08:36 AM ---------- Previous post was at 08:35 AM ----------

Your device is a euro retail variant and should be unlocked. Where are you from and what carrier are you trying to use? If all else fails go back to factory firmware and see if its a hardware issue.
[E 2015 Original Android Development] DanHutchins:
On latest version of twrp and thanks for the gapps
[E 2015 Original Android Development] starkly_raving:
Toggle signature verification in settings.
[E 2015 Original Android Development] DanHutchins:
It was already just checked it wonder if it was just a bad download it seemed to download verry fast like 3 seconds
[E 2015 Original Android Development] SylvieL:
I'm from the Netherlands, trying to use T-Mobile. The weird part is not that I don't lack the ability to call/SMS, but simply get "No SIM card" and it never asks me for my PIN either. I forgot to back up stock, so I'm not sure how to get it back. Won't a factory reset just keep me on this ROM but with all my settings gone?
[E 2015 Original Android Development] grofweg:
From The Netherlands here too. First try your sim card on another device. If its Ok.

Just download the rom again AND md5 in the same folder! Dirty flash the rom and wipe cache and dalvik afterwards.

See if that helps.
[E 2015 Original Android Development] SylvieL:
The SIM card works in another device. I dirty flashed a new download of cm-12.1-20150827-UNOFFICIAL-surnia-42.zip, checked the md5sum (it matched), wiped cache and dalvik-cache, but no difference, still "No SIM card" :(

I've even tried another SIM card from someone else (hollandsnieuwe) in the phone, but it also doesn't get recognised: "No SIM card".

I guess I should try stock then, if nobody else has this problem, but not sure how to even get that back.
[E 2015 Original Android Development] grofweg:
... it could be a hardware issue.