yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] IronTechmonkey:
[MENTION=6485916]squid2[/MENTION] I'm trying to figure out where a limitation of importing a file into an app lies. The scenario is this:

Importing a file that had been exported from Adaway earlier and contains items for Adaway's blacklist. The file was successfully exported from Adaway to the root of the internal SD card (save location not user controllable) but could not be imported from there using CM's native File Manager where it was grayed out.

The file could be imported from that location using 3rd party file managers: Total Commander and MiXplorer.

After digging around I found that the inability to import the file in Adaway seems parallel to the inability to change permissions of files in different locations using native CM File Manager. I known that block on changing permissions in CM FM has been around for a while as I've encountered it when playing with custom boot animations but dont understand why that file can not be imported into Adaway.

I suspect that there is an overlap here between designed restrictions in CM and a black-hole in my Android knowledge but can you tell me in general terms what could be preventing the import of that adaway file even though it is visible?
[E 2015 Original Android Development] BismayD:
Which is the latest stable build? December 16th?
[E 2015 Original Android Development] IronTechmonkey:
Check download section of OP for this thread.

"Downloads:

December 16th Unofficial Build

OFFICIAL NIGHTLY BUILDS

Mirror of final (November 30) nightly build"

Last official one is Nov 30. Last unofficial is Dec 16 (updated by squid2 after Otus was moved to CM13). Both are stable. I've been running the Dec 16 build since it came out. AFIK No real reason to use the Nov 30th build.
[E 2015 Original Android Development] Navin9:
Does any one have battery backup issues on motoe(Otus) after installing latest snapshot of cm13.
[E 2015 Original Android Development] IronTechmonkey:
I'm not sure what you mean by "battery backup", but if you are asking about CM13 perhaps you should post in the CM13 thread, which is understandably more active than this one and more likely to produce a useful answer about CM13. I'm still on CM12.1 and couldn't say even if I understood the question.
[E 2015 Original Android Development] Anandabasak:
Well i shouldnt post here.....but cant help...

Pls update urself u latest nightly.......i guarantee u that u will get the maximum battery life......i am using it and its excellent.....
[E 2015 Original Android Development] Gob@deb:
My phone is moto e2 3g and I installed cm12. 1 and it restart randomly

How to fix this problem? Please help me
[E 2015 Original Android Development] Navin9:
TRY TO FLASH CM13 (SNAPSHOT) I'M USING IT AS MY DAILY DRIVER AND IT WORKS PERFECTLY FINE FOR ME.

https://download.cyanogenmod.org/?device=otus&type=snapshot

DOWNLOAD THE LATEST RELEASED SNAPSHOT FROM THE ABOVE LINK, IT IS WORKING PERFECTLY AND ALSO STABLE.
[E 2015 Original Android Development] Gob@deb:
I have also installed cm13. 0 snapshot version and bugs remain the same reboot randomly

Please help...
[E 2015 Original Android Development] IronTechmonkey:
Since you are having the same problems in both CM12.1 and CM13, and since other people are not having the same problem then logically it is not a ROM issue and you should investigate the methods and the material you are using. Are you exactly following the instructions for "clean install" in OP #2 of this thread, including using the recommended TWRP and Gapps version and a full wipe? If that is not working, here are some recommendations (particularly in regards to trying a different Gapps package):

- Make sure your downloaded material is good. If you are able to do so, download the ROM and Gapps packages on a computer then copy them to the device (preferably external SD) and install from there.

- Use the The December 16th unofficial ROM build. I've been using it for six months and had no spontaneous reboots or ROM issues.

- Try a different Gapps package such as the Open Gapps - ARM - 5.1 - Pico package available here: http://opengapps.org/. You could also try Delta gapps available here http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368.

- Use the correct recovery. The version of TWRP linked in the OP of this thread is best.

- Clean flash: Make sure you do a full wipe (factory reset), and wipe dalvik and system cache before flashing ROM and Gapps, and also make sure to wipe dalvik & cache again after flashing but before rebooting into ROM.

- For troubleshooting purposes you could try flashing only the ROM without Gapps. If this has problems then there may be an issue with your device or with the recovery you are using. If this has no problems then it is just a matter of finding a good gapps package.

- If a ROM only flash has no problem you might want to try flashing ROM with an older gapps package if you can find one somewhere. this is not generally advisable so only as a last resort.

- If none of this works you might consider switching to CM13 then logging the issue and posting that log in the CM13 Otus thread. http://xdaforums.com/moto-e-2015/orig-development/rom-cyanogenmod-13-moto-e-3g-t3260876. As [MENTION=7390674]Navin9[/MENTION] suggested you could try the last CM13 Snapshot or you could try the most recent nightly. In either case for CM13 I would recommend the Banks gapps package available here: http://download.dirtyunicorns.com/files/gapps/banks_gapps/. Remember that different gapps packages must be used for CM12.1 (Lollipop) and CM13 (Marshmallow).

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

FYI: using all capitol letters is the equivalent of shouting and does not get your post any more attention that proper sentence case. ;)
[E 2015 Original Android Development] Gob@deb:
I have installed twrp from the following link http://googleweblight.com/?lite_url...218864&sig=APY536yuA9tDrcwDzUqDVVcz2HHjjz_yZA

I think twrp is correct version for me I guess?
[E 2015 Original Android Development] IronTechmonkey:
That seems to be to the correct web material but repackaged in some google crap. I use the plain XDA address. http://xdaforums.com/moto-e-2015/orig-development/twrp-recovery-moto-e-3g-2015-t3084849 and then the "download tab" link in the OP. In any event if you've done any successful flashes with your present version of TWRP it should be OK.
[E 2015 Original Android Development] Gob@deb:
I have done the clean install as mention with cm13. 0 but bugs remain the same. It hangs and restrart randomly...

Please help
[E 2015 Original Android Development] IronTechmonkey:
If you are now testing CM13, (which is under active development unlike CM12.1), you should post in the CM 13 thread. In any event you should include in your reports a detailed description of all the steps taken in your flashing process and the exact file names of the ROM and Gapps packages that you are flashing as well as a log. FYI, such a detailed descriptions and logs are SOP. I would also suggest doing at least one test flash of just the ROM to see if the problem is with Gapps.

Also, there has been some recent discussion about similar issues in the Otus/Surnia Resurrection Remix ROM thread here: http://xdaforums.com/moto-e-2015/orig-development/rom-resurrection-remix5-5-1-t3160059. Even though that is a different ROM it is CM based and the suggestions for dealing with Gapps would still be applicable. Just remember to post your results in the appropriate thread for the ROM you are testing at the moment.
[E 2015 Original Android Development] Gob@deb:
- Clean flash: Make sure you do a full wipe (factory reset), and wipe dalvik and system cache before flashing ROM and Gapps, and also make sure to wipe dalvik & cache again after flashing but before rebooting into ROM.

I have taken the above mention step... And i have flashed the following cm-13.0-20160419-SNAPSHOT-ZNH0EAO2O0-otus with nano 6.0 gaaps
[E 2015 Original Android Development] IronTechmonkey:
Well... repeating the instructions that someone gave you is a different thing from listing the exact steps you've taken, and you did not provide the name of the Gapps package being used. In any event, I've replied to you in the CM13 thread since you are now trying to flash CM13. http://xdaforums.com/showpost.php?p=67385373&postcount=945.
[E 2015 Original Android Development] Gob@deb:
I have otus-12.1-20151117-SHANPSHOT version and Gapps open_gapps-arm-5.1-nano-20151117

It's it ok to flash it?
[E 2015 Original Android Development] SG3:
[MENTION=6485916]squid2[/MENTION] Please build cm12.1 with latest security patch.
[E 2015 Original Android Development] jiwanjatt:
plz anyone provide me KitKat rom for moto e xt1506
[E 2015 Original Android Development] oni543:
I have a Gingerbread version here(2.3.4) for Otus? Do you want a link?
[E 2015 Original Android Development] jiwanjatt:
i installed cm12.1 nd data icons is not showing

i change the apn settings but data icons not showing

nd i can't run internet

plzz helpme

all cm roms in this bug

bsnl 2g data working but airtel 2g)3g signal not showing nd my internet not run
[E 2015 Original Android Development] raghavarora1997:
I will have to flash it again... So I'll give the logcat in some time
[E 2015 Original Android Development] raghavarora1997:
logcat

here is the logcat. I've also included the recents tabs not working after reboot. hope this will help you.
[E 2015 Original Android Development] santoshvaza:
Hi [MENTION=6485916]squid2[/MENTION]

format system, data, cache, dalvik, then flashed your rom.

flashed cm+gapps 12.1 from cm's wiki site+supersu

attached following logs,

firstboot (cm+gapps+supersu flashed together)

second boot after clearing cache and dalvik

recents on firstboot

recents and gmail never ending sync on second boot (2_second_boot_after_clear_cache_dalvik.txt)

W/PackageManager( 776): Library not found: /system/framework/com.motorola.gallery

W/PackageManager( 776): Library not found: /system/framework/qcnvitems.jar

W/PackageManager( 776): Library not found: /system/framework/cneapiclient.jar

W/PackageManager( 776): Library not found: /system/framework/com.qualcomm.location.vzw_library.jar

W/PackageManager( 776): Library not found: /system/framework/com.motorola.frameworks.core.addon.jar

W/PackageManager( 776): Library not found: /system/framework/protobufs-2.3.0.jar

W/PackageManager( 776): Library not found: /system/framework/com.motorola.android.settings.shared.jar

W/PackageManager( 776): Library not found: /system/framework/qcrilhook.jar

W/PackageManager( 776): Library not found: /system/framework/com.motorola.motosignature.jar

W/PackageManager( 776): Library not found: /system/framework/com.motorola.moodle.library.jar

above jar files are not present in my /system/framework, after flashing your ROM

Hope this helps

Thanks for starting dev on motoe 3g variant, :)
[E 2015 Original Android Development] santoshvaza:
[MENTION=6485916]squid2[/MENTION]

i checked selinux mode is enforcing, can you make it permissive by default.

followed following post

http://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245

after reboot, settings-> about phone-> selinux settings shows enforcing..
[E 2015 Original Android Development] squid2:
Do you use an application that requires permissive SELinux all the time? I prefer a secure by default configuration. That is why I set it to enforcing starting with the May 16th release.

If you need permissive SELinux from boot, I can make a modified boot image that does that.
[E 2015 Original Android Development] aliennastik:
GPS is not working...google play services forced close...
[E 2015 Original Android Development] squid2:
Which country? Which model (XT1505, XT1506, or other)?

This issue has been reported many times already, though I want to get a better feel for which devices are affected. So far, I have only heard about this issue from Indian XT1506 devices.
[E 2015 Original Android Development] squid2:
Thanks for the logs [MENTION=5836072]santoshvaza[/MENTION], [MENTION=6327301]raghavarora1997[/MENTION], and everyone else. The crash of interest is this:

E/AndroidRuntime( 7304): FATAL EXCEPTION: NetworkLocationCallbackRunner
E/AndroidRuntime( 7304): Process: com.google.process.location, PID: 7304
E/AndroidRuntime( 7304): java.lang.IllegalArgumentException: Must set times
E/AndroidRuntime( 7304):	at com.google.android.gms.common.internal.cg.b(SourceFile:208)
E/AndroidRuntime( 7304):	at com.google.android.gms.location.ActivityRecognitionResult.<init>(SourceFile:65)
E/AndroidRuntime( 7304):	at com.google.android.location.activity.f.a(SourceFile:381)
E/AndroidRuntime( 7304):	at com.google.android.location.activity.h.a(SourceFile:61)
E/AndroidRuntime( 7304):	at com.google.android.location.activity.f.a(SourceFile:338)
E/AndroidRuntime( 7304):	at com.google.android.location.os.real.w.run(SourceFile:143)
E/AndroidRuntime( 7304):	at com.google.android.location.os.real.ab.handleMessage(SourceFile:449)
E/AndroidRuntime( 7304):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 7304):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 7304):	at com.google.android.location.os.real.ae.run(SourceFile:969)
E/AndroidRuntime( 7304):	at java.lang.Thread.run(Thread.java:818)

I initially suspected these error messages to indicate the cause of the crash:

W/ResourcesManager( 5197): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 5197): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.

However, I found that I get the same messages on my own phone, even though the file is present, and GPS and gapps work fine. I later read that you can get these messages when apps lack permissions, so maybe there's a permissions issue happening.

I haven't yet identified the root cause of trouble, but I'll keep digging over the next week as I find time.
[E 2015 Original Android Development] aliennastik:
xt1506 indian version and recent key stop working after few hrs of rom usage...
[E 2015 Original Android Development] squid2:
Possible Fix for Indian Users

I spoke to a friend who had encountered gapps issues similar to those that Indian users are having. He said that he was able to get things to work by flashing CM 12.0 gapps on CM 12.1, and then updating everything through the play store on first boot. It might be worthwhile trying this out.

How to do this:

In TWRP, go to Wipe->Advanced Wipe, and wipe System, Data, Cache, and Dalvik Cache

Flash my latest CM12.1 build (May 16 build 2), then flash outdated CM12.0 gapps

Boot CM the first time and update everything through the play store

Reboot and see if gapps still work

Maybe you'll get lucky.
[E 2015 Original Android Development] aliennastik:
gapps are working fine now but gps issue still persists and recent apps not working... plz fix it
[E 2015 Original Android Development] Ravx:
The recent key seems to automatically work if left alone for some hours. Strangely the gapps force closes also does not occur when the recent key works correctly.

My concern was different.

Did somebody noticed that the antutu benchmark for this rom is very low (15000) in comparison to stock rom. (17000).

Don't know what might be the problem.
[E 2015 Original Android Development] squid2:
I've had antutu scores ranging from 14000 to 18000 with this ROM. I don't pay much attention to them since the user experience is smoother than stock.
[E 2015 Original Android Development] Ravx:
I tried the outdated gapps. Doesn't seems to fix fc and recent problem.

But after some hours the recent key starts working and surprisingly gapps force close also stops. I can play YouTube videos.

But once the phone is restated the problem again occurs.
[E 2015 Original Android Development] raghavarora1997:
Even I am facing the same problem.
[E 2015 Original Android Development] Ravx:
Hi [MENTION=6485916]squid2[/MENTION] can't play the YouTube videos in this Rom. Either it force close or sometimes when it runs then it gets hanged and the phone reboots. Please look into it if you can...

Meanwhile is there any app which plays YouTube videos. And viral does not work for me.
[E 2015 Original Android Development] squid2:
Force closes are probably a gapps issue. I haven't encountered any, so they are probably specific to the Indian model that has been having gapps issues with everything else. The occasional kernel panics when playing video (visible as lockup and reboot) are due to the ADSP crashes (see the list of known issues). I reduced the frequency of the ADSP crashes in the second build from May 16, but the issue is still there as you have noticed.

P.S. Just to be sure, you wiped system before flashing May 16 Build 2, right? Not wiping system when upgrading from an earlier version causes more frequent kernel panics.
[E 2015 Original Android Development] Ravx:
Yes I have tried every possible combination of wiping and installing but still no success.

I don't understand that why the recent key automatically fixes and all force closes stops. But come again in next boot.
[E 2015 Original Android Development] Shreps:
Hi there,

Some users asked me ( [MENTION=6722110]orbirixx[/MENTION] [MENTION=5836072]santoshvaza[/MENTION] ) if I can build a PAC ROM for otus. I don't have this device, but I made a blind build here :

http://moto.shreps.fr/?dir=Moto E 2015 3G (otus)/rom/pac

using the great device tree made by [MENTION=6485916]squid2[/MENTION] !

Please try it and tell me if it's working.

If the ROM is ok, and if [MENTION=6485916]squid2[/MENTION] is ok, I will open a new thread for it.

Cheers,
[E 2015 Original Android Development] squid2:
Sure, you can go ahead and make a thread for your ROM if you'd like. More development is always good.
[E 2015 Original Android Development] squid2:
May 29 Release

I've put together a new build with the latest CM updates. I've also added in some vendor blobs that were missing. Downloads are up on the first post. I'd suggest using the new CM gapps that came out a few days ago with this release.

Indian Users: I haven't had time to debug your gapps issues, but do try out this new release. Maybe it will fix something. I'd suggest doing a clean install (including wiping system) if you were having issues, and I recommend that you use the new (May 24) CM gapps.

Note: If you encounter the ugly new vertical CM app drawer after upgrading and hate it, you can restore the normal app drawer. Just press and hold a blank area on your home screen to bring up the Trebuchet overlay, and then swipe up to bring the Trebuchet settings. You can change the drawer layout back to paged there.
[E 2015 Original Android Development] aliennastik:
still same gapps fc problem and recent key not working....neways thanks for your efforts..plz fix these issues...i really want to use cm12.1..(indian version)

and GPS is not working
[E 2015 Original Android Development] Manish_Sky:
Hi

It is a very nice and beautiful ROM very nicely ported. But I have few issues in it

Known issues-

Similar GApps issue not connecting to Google even edited hosts file but I think I did it in wrong way.

Vibrations while typing go rough and uneven sometimes. That is probably kernel issue.

Rest very good speed

Hoping GApps issue to be solved in next update coz without Google android is nothing:)

Sent from my Moto E2
[E 2015 Original Android Development] Manish_Sky:
Hi Indian Users the GApps issue is fixed here is link - http://xdaforums.com/showthread.php?p=61108554
[E 2015 Original Android Development] raghavarora1997:
I'll give this a try, and will report back.
[E 2015 Original Android Development] aliennastik:
this rom is not usable...gapps fc...recent key not functioning....gps not working...ram management very poor...after 7 days of usage
[E 2015 Original Android Development] squid2:
June 6 Release

I've put up a new build with the latest CM updates. It also has various minor kernel patches. I haven't had time to do much this week, and I'll probably remain busy for the next two weeks, so the YouTube ADSP crash remains. I'd expect the Indian gapps issues to remain as well unless something relevant changed in CM. Nonetheless, this new release should be an improvement over the last build and I'd recommend that all users upgrade. The changes in this release are fairly minimal, so (dirty flash) upgrading should be straightforward. Downloads are up on the first post.
[E 2015 Original Android Development] reasons:
I have the same GPS issue, not sure if it a CM issue or this ROM. It works until I try to do navigation with maps, then I get "GPS signal lost" in seconds.
[E 2015 Original Android Development] squid2:
Do you have the Indian model? GPS (including driving navigation with Google maps) seems to work fine on my device (XT1505, US model).
[E 2015 Original Android Development] reasons:
US Model, should be XT1511.

EDIT - Just checked the box, 100% xt1511. XT1505 is global I though according to here:

http://www.gsmarena.com/motorola_moto_e_(2nd_gen)-6986.php

EDIT2 - This is not a ROM issue, this should fix it (or it did for me).

1. Start your phone in Bootloader

2 . Open ADB terminal

3. Connect via usb + check fastboot sees device:

<fastboot devices>

4.Enter following:

<fastboot erase modemst1>

<fastboot erase modemst2>

5. Reboot
[E 2015 Original Android Development] aliennastik:
mmain problem is recent key not funnctioning and the play store not working as google services fc..with these issues we cant enjoy cm in moto e 3g (indian version)
[E 2015 Original Android Development] squid2:
June 12 Release

I'm putting out a new build today with the latest CM updates. I haven't changed much, though some audio changes I merged in seem to have reduced the YouTube ADSP crash frequency a bit. Downloads will be up on the first post shortly.
[E 2015 Original Android Development] aliennastik:
useless rom for indian users..going to switch it with 4g version...neways thanks for your efforts:good:
[E 2015 Original Android Development] raghavarora1997:
This new build brings about a change, ambient display seems to start working now. But whenever my phone goes to deep sleep, WiFi disconnects automatically.
[E 2015 Original Android Development] squid2:
I merged in a condor commit to enable MotoDoze, probably that fixed ambient display for you.

WiFi seems to be staying connected properly for me. I haven't changed anything related to WiFi in the past few builds. Is the WiFi issue new in this build? Does it happen consistently with all connections?
[E 2015 Original Android Development] raghavarora1997:
Yes, it happens consistently with all the connections and its happening from the last 2 builds.
[E 2015 Original Android Development] squid2:
Okay, I made some kernel changes in the June 6th build, maybe they caused your WiFi issues. If it's not too much fuss, would you be able to try the May 29th build again and verify that WiFi works reliably there? I'm not able to reproduce the issue on my device, so it could be an Indian model specific issue.

Is anyone else having this WiFi disconnection on deep sleep issue?
[E 2015 Original Android Development] aliennastik:
gapps fc and recent key not function....problem solved in latest build or not??
[E 2015 Original Android Development] raghavarora1997:
I tried the may 16 build 2, but that deep sleep bug is not there. I also think that those kernel changes are causing that problem.