yashsingh1/xdaforums huggingface dataset:
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Latest build also has 'recents key' problem

Hello,

I tried the latest build, 3 July 2015, but 'recents key' issue still exists.

Here are few more observations -

1. Recents key works as expected after first clean install.

2. Even on stock install & with absolutely no modification, recents key fails to work after first (and then subsequent) reboots.

3. I am not sure whether it's a sign or mere coincidence, but I have noticed that I get 'Unfortunately, Google play services has stopped' pop-ups [2-3 pop ups] after first reboot & then on every reboot. And it's a first sign that 'recents key' will fail to work.

4. Interestingly recents key doesn't fail completely. If I open 2-3 apps & then press 'recent key' long enough I can switch between apps - like ATL+TAB in windows. :rolleyes:

I am not sure whether what I said is any useful at all given I didn't provide precise data / syslog. If you can tell me how to obtain the log I may try to help with whatever I can.
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
More observations

More observations -

1. As mentioned in the previous replies - overnight non-usage of phone _DOES_ restore 'recents key' operation to normalcy.

2. Something I had forgotten to mention in earlier reply - when 'recents key' is broken, the clock widget also appears broken. What I mean by 'broken' is that the clock-widget doesn't update & appears stuck / frozen. But when recents-key function turns back to normal so does the clock-widget function goes to being normal.

3. I have tried both - CM gapps & other Gapps - and they seem to have no effect on whether 'recents key' will render useless after first reboot. In both cases 'recents key' appears broken on reboot & reverts to normal functioning when the phone is left alone overnight / long periods of time.
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Additional camera problem

In addition to everything I said in earlier posts, I have recently noticed camera issues on 3-Jul-2015 built, an issue that was absent in earlier builds I have tried.

How to reproduce the problem -

1. After you flash your phone with 03-jul-2015 build - complete with your choice of Gapps & SuperSu - leave the phone alone overnight / many hours so recents key functionality will return to being normal.

2. Open camera app & try to focus the camera.

3. The display should turn dark - even in well-lit room, but more so often in places which are not so well-lit. Though earlier versions of cm 12.1 were perfectly able to capture decent pics in similar light conditions, camera app in current build seems to turn everything dark.

I am guessing aperture settings issue? I don't know. I am just filing a bug which I noticed.
[E 2015 Q&A, Help & Troubleshooting] sidheshr:
recent key bug on xt1506

thnx for this awsmm rom plzz fix recent key issue
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Recents-key cause ... ?

I think I have (sort of) figured out the main culprit behind the recents-key problem. Short version - it's how CM handles timezones.

Long version - I live in India, GMT +5.30 h - and I have noticed recents-key problem after first reboot as I had mentioned in my earlier posts ^ above ^. However, more interestingly I found out that recents-key function was unexplainably restored after some time. Additionally, (again as I mentioned ^ above ^, recents-key problem is coupled with clock-widget freeze after first reboot - it appears stuck & doesn't update / display correct time.

After actually timing when recents-key function reverts to normal, I found it took approx 6 hrs - which makes me think whether the clock-widget & recents key prpoblems are linked - and are caused due to bug in CM module that handles 'time setting' & when time is anything other than default settings the bug causes 'recents key' & clock-widget freeze.

I would like people in other timezone to try & see if their issues are resolved depending on time-difference from GMT - for example, if you live in GMT +2.30 h - then your issues should be resolved after 2.5 hrs after the reboot. (Or so I think ... )

I urge people to post their replies to confirm / contradict.
[E 2015 Q&A, Help & Troubleshooting] squid2:
Very interesting theory. It could explain why I only hear of the issue on Indian and not South American XT1506 devices.
[E 2015 Q&A, Help & Troubleshooting] gmarines:
Restore Moto E 2nd Gen

Hello, last week installing the ROM on June 19 in my terminal, was working fine until two days ago, to be copying files from the device to an external hard drive connected to a laptop with ubuntu kill the locking device and only presents the fastboot screen, I can not access recovery and fastboot commands do not work because they did not enable debug mode and OEM, there would be some way to recover the device?

Excuse my English but I am using a translator, greetings.
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Few more quirks

I have been using the 03 July 2015 build for past few days and here are few additional quirks -

1. When a new app is installed an icon doesn't immediately always show on homescreen.

2. Wallpaper - I have old Moto-E (original version) where I can use a big picture & it fits the picture to size & uses it as wallpaper. On recent build, however, the picture does NOT resize & user is forced to use part of whole picture as wallpaper.

3. When few apps are protected as 'private' apps & are then unmarked - apps do not show on home screen.

I am thinking it's related to older issues with homescreen updates / freeze & needs more tweaking.

Sorry, if it looks like I have been pointing out only problems but then that's the whole purpose of bug-reports, right?!
[E 2015 Q&A, Help & Troubleshooting] squid2:
Those are probably issues in CyanogenMod itself and not my port.
[E 2015 Q&A, Help & Troubleshooting] shantanu mishra:
Is inDian recent key function and gapps fc fix in future...or Otherwise we are always on stock :( :( #squid pls help
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Recent-key issue is NOT permanent

If you scrolled-through earlier posts in this Q&A you'd have noticed that recent-key issue is only temporary & not permanent. All you have to do is have patience for 5 hrs (when your recent-key will NOT work) and then after 5 hrs recent-key function will be back to normalcy.

So if recent-key functionality is keeping you from trying latest ROM-build, then have faith & install the latest build - and be prepared to wait for 5-6 hours. Do remember that everything else will work as expected - except recent-key & clock-widget on homescreen..
[E 2015 Q&A, Help & Troubleshooting] Ravx:
[/COLOR]

Hey guys this is genius.

The recent key problem is fixed I guess.

Worked for me. I am too exited too post the solution [MENTION=6485916]squid2[/MENTION]

---------- Post added at 01:23 PM ---------- Previous post was at 01:21 PM ----------

Yes yes yes yes......

Here is the fix all credits goes to [MENTION=6804058]india_motoe2015[/MENTION]

1) Disable automatic time

2) Set the time zone to +0.00

3)Set time manually.

Its Done
[E 2015 Q&A, Help & Troubleshooting] sidheshr:
recent key issue resolved

for indian moto e 2015 user change ur time zone 2 azores
[E 2015 Q&A, Help & Troubleshooting] Ravx:
good.
[E 2015 Q&A, Help & Troubleshooting] squid2:
Brilliant insight [MENTION=6804058]india_motoe2015[/MENTION]

I'm going to try to reproduce the issue by setting my time zone to India. I'm curious if it's India's half hour time zone that causes the trouble.

If you recall, the gapps crash error I was seeing in the logs said "Must set times". Now that we know the error involves time zones, that error message makes sense now.
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Wipe your cache

Amazing!

Just a little something - if someone has already installed the ROM then merely changing timezone & disabling 'automatic timezone' & 'automatic date & time' & changing timezone to +0.00 won't help.

If you have already installed the ROM & want to fix recent-key problem -

1. Go to settings - date & time - a. disable 'automatic timezone',

b. disable 'automatic date & time'.

2. Go to 'select time zone' & choose either 'Azores' / 'Casablanca' (GMT +0.00)

3. Reboot into 'recovery mode' - wipe - advanced - choose 'dalvik cache' & 'cache' - swipe to wipe.

4. Reboot.

5. This reboot will take a while as apps build their cache. But when you do reboot your recent-key functionality will be restored.

Hat-tip to [MENTION=4732593]Ravx[/MENTION] & [MENTION=6485916]squid2[/MENTION] .
[E 2015 Q&A, Help & Troubleshooting] squid2:
Reproducing the recents key bug

Indeed, I was able to reproduce the issue when I set my time zone to that of India. I also found that any other time zone ahead of GMT causes the issue. Now I need to trace this down to the root cause and fix it there. My initial guess points to TimeService.apk.

Once again, huge thanks to [MENTION=6804058]india_motoe2015[/MENTION]
[E 2015 Q&A, Help & Troubleshooting] sidheshr:
gapps issues and recents menu breaking

to resolved gapps and recent key issue flashed cm 12 gapps and changed time zone to 00 .
[E 2015 Q&A, Help & Troubleshooting] Manish_Sky:
Thats interesting. So according to your theory and my brain if we change our time zone to +1:00 then we have to wait for 1h after second reboot to make recent key functioning. But i wonder what after we change it back to +5:30. Let me tell you im also in india and ill be trying your method today with july 3rd build.

By the way Thanks and can i know your name?
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Already solved & reproduced

You don't have to wait at all !

This problem has already been solved by [MENTION=4732593]Ravx[/MENTION] here - http://xdaforums.com/showpost.php?p=61791592&postcount=95

For additional tips on how to achieve the same result, if you have already installed latest build & don't wish to reinstall, go here - http://xdaforums.com/showpost.php?p=61797391&postcount=99

[MENTION=6485916]squid2[/MENTION] managed to reproduce the bug & confirmed the workaround - http://xdaforums.com/showpost.php?p=61805210&postcount=100
[E 2015 Q&A, Help & Troubleshooting] Manish_Sky:
Well thats what I need. Thanks

but can I know which version of gaaps are you using. Because I used gapps made for cm12 last time and they worked for me but now when I'm trying to flash cm12.1 gapps twrp recovery it shows error and flashing failed. I tried both arm and ×84 but same error. I didn't tried arm×64 coz I don't know that snapdragon 200 supports 64bit or not.

So which Gapps are you using?
[E 2015 Q&A, Help & Troubleshooting] Aakash dalal:
it really worked...thanks

---------- Post added at 12:25 PM ---------- Previous post was at 11:58 AM ----------

awesome...
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
GApps

As long you use GApps meant for your ROM, in this case the latest version of CM-GApps 12.1, there won't be any problems. And unless you _know_ you need x86 / arm64, stick to default ARM version.

Just fyi, I have used Google GApps / CM GApps & other GApps & have NOT faced any problems, as long as GApps version matched the ROM.
[E 2015 Q&A, Help & Troubleshooting] Manish_Sky:
Flashed Gapps but an old error couldn't established a reliable connection. Fix??
[E 2015 Q&A, Help & Troubleshooting] Manish_Sky:
OK here are my few of observations after using method:-

1. ROM have been faster than before really. Switching apps had been smoother and no one actually state it that device is using snapdragon 200 hatsoff [MENTION=6485916]squid2[/MENTION]

2. Used indiemoto method worked for me. But I wanna know do I need to do this method time and again after every reboot coz it takes a hell of time to optimize 117 apps.

3. Can't sign in fb messenger. I'm not sure its been faced by everyone on this ROM but I did. Please report if same happened to you. It constantly states incorrect email n pass even I signed in fb same credentials. I know it's off topic but please report if someone experience it.

Rest I'm still testing everything. And yes use this build property to lock launcher in memory. It makes it a way faster.

Property- ro.HOME_APP_ADJ=1

Still testing

Thanks
[E 2015 Q&A, Help & Troubleshooting] squid2:
You shouldn't need to do the time zone fix repeatedly. It will persist across reboots and even upgrades as long as you don't wipe data.
[E 2015 Q&A, Help & Troubleshooting] ram.yatam777:
How Man???
[E 2015 Q&A, Help & Troubleshooting] Valdamar:
reboot removes apps from placement

when powering down and then powering up(reboot or otherwise) apps are no longer on home screens.Yyou have to go into the apps list, and put them back to where you originally had them on home screens every time
[E 2015 Q&A, Help & Troubleshooting] squid2:
Strange, I haven't experienced anything of the sort.
[E 2015 Q&A, Help & Troubleshooting] Valdamar:
Yea I was surprised myself.

Could be my model xt1511, though I did not have the occur on stock. I also have a couple of the set icons on the bottom that come unpined. There are a couple apps that stayed after I put all icons back, and I also added a few more to the home screens that stay, but on reboot most of them still get removed.
[E 2015 Q&A, Help & Troubleshooting] Valdamar:
Hats off to Squid2

Mobile Data is a success

to other xt1511 owners this did not automatically work on boot

for me i went to settings-mobile networks-network operators

It scanned found my network provider selected it then went back to previous screen(mobile network settings) went to access point names, and selected my service provider from here as well. opened my browser and success! mobile data working.

thank you Squid2 for all the hard work you have put into this device
[E 2015 Q&A, Help & Troubleshooting] Valdamar:
source of apps removed from favs and homescreen on reboot

[MENTION=6485916]squid2[/MENTION] I did some playing around and have confirmed a more specific piece of info. The apps that remove from favs and home screens are all apps that have been moved to SD card. Any apps on internal storage will stay where they are put(most of my apps are on SD to keep internal free for large data files, example: Chaos Rings 3 is 2.31gb and of course won't run if data is on sd). I put an app that was being removed back on internal storage and rebooted several times and it remained where it was set. I also tested with another sd card and had the same results. So just some better info if you did wanna look into it. You said you've never come across this so I figured maybe the SD card app info could maybe help see if you could reproduce the issue on your end, and maybe find a solution. Hope I have been a help.
[E 2015 Q&A, Help & Troubleshooting] squid2:
Ah, I've never tried putting apps on an SD card. I'll take a look when I get time.

EDIT: I was able to reproduce this issue. Turns out that it is a known bug in CyanogenMod. The launcher checks if every app that is listed is accessible at the moment it is launched. It removes any app that it cannot find at startup. Mounting of the SD card happens a few milliseconds after this check is performed, so the launcher can't find apps on the SD card when it performs the check, and so it deletes them. Different devices take different amounts of time to mount the SD card, so it happens on some devices and not others. There's not much I can do though, since it's their problem to fix. Perhaps using a different launcher will fix the issue.
[E 2015 Q&A, Help & Troubleshooting] Valdamar:
launcher

I would have replied directly from post but the site seems to be having an issue

Well thats a drag at least we know why now. Any recomendation on a device friendly launcher, or do you mean to implement one into your port?
[E 2015 Q&A, Help & Troubleshooting] iamSAD:
Moto e 2nd gen (XT1506) user

Recents tab is not working after flashing the rom.....after flashing the first time it works fine but after sometime it doesnt work, it only vibrates. plz help :crying:
[E 2015 Q&A, Help & Troubleshooting] india_motoe2015:
Please read before posting

1. Are you an Indian user, or someone from east of GMT? If yes, try the approach mentioned in earlier posts that solved similar problem for Indian Moto E users.

2. If the earlier approach fails, please report back with version of ROM + GApps you are using. Also mention which approach you have already tried to avoid repetition.

It's always a good idea to skim through Q&A section before posting because someone may have encountered similar problem & the solutions are already available.
[E 2015 Q&A, Help & Troubleshooting] akka47:
Maybe this is related to your ADSP problem?https://jira.cyanogenmod.org/plugins/servlet/mobile#issue/NIGHTLIES-205
[E 2015 Q&A, Help & Troubleshooting] dominican007:
Bluetooth not starting/re-starting properly

As some people have said before, on some devices bluetooth refuses to turn on after being turned off, i had that issue myself until recently. I've been playing a little with build.prop and after adding a line that supposedly improves the signal my bluetooth is working fine ( it makes the settings app to crash sometimes after turning it off, but that isn't so bad), anyway if someone else has the same issue and want to try this is the line i added:

ro.config.hw_fast_dormancy=1

I hope [MENTION=6485916]squid2[/MENTION] to see this, and sorry for my bad english, cheers :)
[E 2015 Q&A, Help & Troubleshooting] santoshx99:
How to build OTG kernel patch for this model

Is there any way to create OTG kernel patch for the 3g variant. pls.!!
[E 2015 Q&A, Help & Troubleshooting] Elex_Master:
I’ve been using your rom and I appreciate your hard work. However at some point while using YouTube it suddenly stopped. If I tried rebooting it takes almost half an hour. Please fix this problem as soon as possible, else your rom working perfect and smooth.
[E 2015 Q&A, Help & Troubleshooting] squid2:
Yeah, there is a bug that sometimes causes ADSP crashes when playing YouTube videos. It's on my list of things to fix, but it will take some time to figure out what is causing it.
[E 2015 Q&A, Help & Troubleshooting] Corberius:
CyanogenMod 12.1 Cast Screen support for Moto E 2015 3G.

Isn't the cast screen feature working on CM 12.1? I tried to edit the build.prop adding 'persist.debug.wfd.enable=1' and enabled the cast screen from settings, but my phone isn't detecting my Xbox One with Wireless Display.

I had done the same procedure with the stock ROM and my Xbox One got recognized and stablished a connection, but I just got a black screen.

I don't know if it is the wrong procedure for CM 12.1, the cast screen isn't supported or the Moto E 2015 3G don't have the support.

By the way, this forum have great threads for this device, I will try to be more active in the forums, greetings from Mexico :)
[E 2015 Q&A, Help & Troubleshooting] Rm77:
I flashed the 9th August build and started using it as a daily driver, i haven't faced any issues yet. Now i want to update it to the 21st August build. Do i need to flash the gapps again with the rom or just flashing the 21st August build will be enough?
[E 2015 Q&A, Help & Troubleshooting] squid2:
Flashing just the ROM should be adequate for an upgrade, but I often flash gapps alongside anyway. It generally doesn't matter unless you are encountering issues, in which case I recommend wiping /system, then reinstalling the ROM + gapps.
[E 2015 Q&A, Help & Troubleshooting] Rm77:
Thanks a lot. :)
[E 2015 Q&A, Help & Troubleshooting] om.vivek:
gps

GPS is not working in any build of CM12.1 For moto.e2 3g.please fix it.
[E 2015 Q&A, Help & Troubleshooting] Elex_Master:
Headphone is not detected

when headphones connected, the sound still comes from speakers. I have tried my friends headphones different model and those headphones which was working on stock rom, so it is not my phone hardware nor headphone's problem rather it would be CM 12.1 Problem?
[E 2015 Q&A, Help & Troubleshooting] squid2:
Both GPS and headphones are working fine for me. There is one known issue where rebooting your phone while headphones are plugged in will result in the headphones not being detected until you disconnect and reconnect them.
[E 2015 Q&A, Help & Troubleshooting] Elex_Master:
Please believe me. I can listen to the songs only when I forcebly route the media audio to wired headphones by soundAbout app.
[E 2015 Q&A, Help & Troubleshooting] squid2:
There are over 500 users and I haven't heard of it from anyone else. Perhaps a clean install with the latest build (August 22) will work? Wipe system, data, cache, and dalvik cache. Install nothing but CM and CM-approved GAPPS.
[E 2015 Q&A, Help & Troubleshooting] ram.yatam777:
Headset not recognising running latest build
[E 2015 Q&A, Help & Troubleshooting] ram.yatam777:
Auto screen rotation also not working? :(
[E 2015 Q&A, Help & Troubleshooting] Rm77:
Evrything is working

Auto-rotatiom,gps,sound through headphones. Everything is Woking on the latest build which is the 22 August build. YouTube is also working totally fine. Thanks a lot developer.
[E 2015 Q&A, Help & Troubleshooting] squid2:
Out of curiosity, which ROM (and build date) did you come from before installing the latest CM? I'm wondering if the sensor hub upgrade script is misbehaving. Try following the instructions in this post and report back:

http://xdaforums.com/showpost.php?p=62467921&postcount=189
[E 2015 Q&A, Help & Troubleshooting] dayouyu:
Sensor script worked

The sensor firmware update script worked like a charm. Thanks a lot squid2.

For anyone interested in output, the script updated firmware version in hardware from 21 to 30, which is the version number in filesystem.

dmesg | grep avc returned no match.

By the way /system/etc/init.mmi.stml0xx.sh is not executable. However you can always use "sh /system/etc/init.mmi.stml0xx.sh" to run it. And this script also resolved the "earphone not detected" problem for me.
[E 2015 Q&A, Help & Troubleshooting] squid2:
I haven't looked into crypto support yet. I'll try to get that going before it's made official.
[E 2015 Q&A, Help & Troubleshooting] akka47:
I seem to be having freezes when using the file picker in some apps, mainly WhatsApp. Anyone else experiencing this? Using Sept. 3 build, I'll try to upgrade to latest build asap, although it happened to me with older builds too.

I also had some soft reboots when playing music, but it only happened like twice.
[E 2015 Q&A, Help & Troubleshooting] KazuDante:
i dont know if it's a general bug that has not been dealt with but when i'm listening to my music and i pull the status bar to see notif. or just to foward to the next track...as soon as its starts pulling down it freezes and the UI crashes and (respring) itself back to the lockscreen. but once i tried the same process by installing google's music app and it dint do it but i prefer Cyanogenmod's music.
[E 2015 Q&A, Help & Troubleshooting] ram.yatam777:
Nice Work

Very Very Nice Work but add USB-OTG also bro Please
[E 2015 Q&A, Help & Troubleshooting] squid2:
Data encryption is still broken in CM for otus and condor, and on many other devices as well. I had traced the trouble down to an error performing some operation in the TrustZone, after which everything is in heavily protected proprietary blobs. I don't remember what the exact error was, I think it had something to do with clearing out old keys from the keystore, but I have the logs at saved home. I may look into it again another day, but I presently don't know how to fix it.

P.S. On f2fs devices, the crypto "footer" isn't really a footer but rather a separate partition dedicated for storing crypto information.
[E 2015 Q&A, Help & Troubleshooting] aditya_mhatre.666:
Gallery and Screen Pinning Issues

I am using Official CM 12.1 Latest nighly build, on my Moto E 2015 Otus 3g model.

The gallery app has one major bug. I am unable to delete any image in the gallery. I can delete an entire album but now single images.

There is One more bug for the screen pinning feature. When you unpin the screen it dont ask you for pin/password. (I have alread checked the box ask pin before unpinning.

Thanks, Hoping that these bugs will be solved. :)