yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] PriPhaze:
Yea but did you have any other Super Su installation when you was using CM12.1 ? SUperSu changes can go beyond the changes made by TWRP..

Im not an expert but even chainfire says that if you are coming from SuperSu 2.56 or less and then wanna flash the new package .. it wont work correctly and then you will have to restore! your stock frimware for your phone. ( Exactly the way it was when you buy it but with the bootloader still unlocked)

I once went through something like this... after flashing SuperSU i though that just flashing another ROM would solve the problem but no... Doesnt matter how many times i tried , so the solution was to go back to stock frimware and then flash TRWP and by what you told me it seems that you just flashed TWRP again but you did't go back to stock frimware using fastboot and mfasboot.

If you gonna do it, be sure to make a backup of your SDCard just to be sure and then proceed.
[E 2015 Original Android Development] smc1081:
I have the same problem . I installed the new TWRP ( 3.0.0r2) and then wipe cache and etc , and after flashing the CM and GAPPS I get the error . and the Google play dosen't open . Anybody tries to update from CM12.1 ??

Sorry for my bad englsih
[E 2015 Original Android Development] :
Firstly, I'm puzzled as to how you "lost" all your apps when I've quoted here several times that I've never lost anything from my SD card, and I've flashed every marshmallow based ROM available for surnia without any loss.

You must have done something to lose everything, things just don't go missing on SD cards without help!

Always select "use as portable storage" during initial set up, no data is then lost from your SD.

Secondly, how did you mistake CM13 for CM12.1?

Thirdly, I've quoted this too several times as well, if you are getting play/play service errors then your gapps package is suss.....

I use A gapps pico and have never had an issue.

Maybe a hard learnt lesson to thoroughly read these threads before rushing off blindly and running into problems.

Not being critical but I've managed to test half a dozen ROMs without any loss to SD card data, and the first time I had play store problems, I just changed the gapps package.

I understand having a non working phone is no good to you or anyone else, but I've not had any errors or problems like what people have been describing here the last few days, again, its just worth taking an extra few minutes to read installation instructions and read them a second time if you are not sure.

I'll add that I'm not perfect and make mistakes all the time, but if you have made a mistake and done the wrong thing, always best to be open and honest and admit to it, just like I did when I was a noob (yes I was a noob too once lol)
[E 2015 Original Android Development] mukuro_luka:
MM didn't recognise the apps that I'd had on my SD card. They didn't display under "apps" or anywhere else. Not even greyed out anywhere like usual. And yes, I chose "portable storage" and everything else was intact. However, this wasn't really the important part even if it was a bit annoying for me. Apps can be reinstalled fairly easily.

I managed to not notice because I was installing through CM Updater. I wasn't paying that much attention and installed the latest update, which was cm-13.0-20160326-NIGHTLY-surnia.zip. I didn't realise it said cm-13.0 instead of cm-12.1, and didn't expect it to be so because the 12.1 thread didn't mention anything and I'd checked it before updating. See https://download.cyanogenmod.org/?device=surnia; it suddenly goes from 12.1 to 13.0. So yes, it was a foolish mistake that I wasn't checking my updates more carefully.

My Gapps came from OpenGApps, which the OP mentions as working from their experience (and I had used for my 5.1 Gapps). THough skimming through other recent posts, it seems like other people have had problems with OpenGA specifically. Hm.

Regardless, it doesn't matter. This whole thing just came at an extremely inconvenient time and I didn't feel like dealing with it after trying to get it to work for awhile, so I just ended up wiping everything, reinstalled the latest version of 12.1, then restored my data from a backup. I'll switch to CM 13 at a later time, just when I'm prepared for it. (Ironically, getting the MM update was the reason I switched to CM since Motorola gave up on this phone after less than a year).
[E 2015 Original Android Development] BrianDickens:
There's definitely something going on -- a few days ago I installed the PureNexus ROM on my Nexus 6P. Just now I wanted to revert to CM13, so I went into TWRP, wiped my device and installed CM13 and everything as I have done several times before. However, suddenly I'm getting the "Google Play Service has stopped" error messages on my Nexus 6P too! There must be an issue in either the recent CM13 ROMs and/or the recent GApps from OpenGApps.org.

So all this tells me I'll wait a few days for new CM13 buils for the Surnia and new OpenGApps builds. It will probably be fine then. :)

I'm going to wipe my Nexus 6P and try a GApps package from OpenGApps from a few days ago, let's see if that works.

-- Edit: you know what, I just took the CM13 build from the 21st and the OpenGApps build from the 21st and went with those. No errors. When I've finished the initial setup, I'll upgrade to the latest CM13 build and see what happens.

-- Edit #2: dirty flashed the 26th of March build of CM13. Everything still working fine.
[E 2015 Original Android Development] nimrod316:
you described my exact situation.
[E 2015 Original Android Development] :
If so many people are having problems with open gapps, then there MUST be an issue with opengapps......

I state again, I use A gapps pico and i HAVE NEVER had the issues described here, and I've upgraded ROMs nightly since the 03/20 build.

Please try other gapps packages to save all these problems, but its awesome you all have alerted others to this issue!
[E 2015 Original Android Development] vayavalla:
Which TWRP version are you using?

Enviado desde mi ifive_mini_3GS mediante Tapatalk
[E 2015 Original Android Development] andrew.mackew:
It's not an opengapps issue only. Banks gapps also has the very problem, what leads me to presume that something on CM13 was commit that is driven a few devices into such a nasty gapps issue.

Please, if someone knows what is going on at the code (gerrit) side and have a fix, please, share with us.
[E 2015 Original Android Development] BrianDickens:
As stated before, the pico package has the same issue. Even on an entirely other device (Nexus 6P) the same problem occurs, which I managed to fix by clean installing an older build of CM13 and also an older build of OpenGApps. In one or both of them something went wrong in later builds...
[E 2015 Original Android Development] yelupic:
Clean install procedure (back up Internal Storage before, if needed)

Copy to external SD Card (or newer):

- cm-13.0-20160325-NIGHTLY-surnia.zip

- open_gapps-arm-6.0-pico-20160325.zip

Connect Phone to Computer with USB cable, open terminal, go to fastboot folder containing TWRP recovery image r2, enter command

fastboot boot twrp-surnia-3.0.0-r2.img

(this keeps your current recovery)

TWRP > Backup (1) > Select Storage > Micro SDCard > Swipe to Backup (boot, system, data)

TWRP > Wipe > Advanced wipe > Check Dalvik / ART Cache, System, Data, Internal Storage, Cache

TWRP > Install >

Select cm-13.0-20160325-NIGHTLY-surnia.zip from /external_sd

> Add more Zips >

Select open_gapps-arm-6.0-pico-20160325.zip from /external_sd

> Swipe to confirm Flash

> Reboot System

Google Play Store & friends working, no forced closes (FCs), no problems, nothing ...

___

Right after this (without any settings), reboot into TWRP, make another backup (2), then Advanced Wipe Internal Storage & the caches and restore only the (12.1?) data partition from the initial backup (1), to find out if that works.

___

What's to mention for the CM 13 nightly @ 2016-03-25 is, that if you use Settings > Privacy > Privacy (the long apps list) for internal apps you'll get FCs when toggling some of them (bug) and there will be no internet access for apps with activated privacy (bug).

Tested on XT1524, 5.1.1 EU modem
[E 2015 Original Android Development] atrain2324:
Depends on what you plan to do. Xposed prefers SuperSU and so does Apps2SD, which has recently gone full CM13/Android 6.0 support. If you use neither obviously, then built-in root is fine I guess.
[E 2015 Original Android Development] :
Strange.

I'm going to try an open gapps package.

I'll test on latest nightly and report the results.

Agapps pico running with no force close, no reboots, no errors nothing

Just want to add I'm using an updated version of playstire and play services, not the versions included in the AGapps package.

I'll take a couple of of hours to thoroughly test this and I'll try other roms as well as CM13.

I hope this may help some of you as well as finally solve what on earth is going on!
[E 2015 Original Android Development] ayush rao:
For me Bank gapps never worked but open gapps pico worked (much older version)
[E 2015 Original Android Development] :
Pretty conclusive evidence that there is a problem/issue with the open Gapps package.

Firstly, I made a nandroid backup in TWRP of my current set up of CM13 03/26 nightly build/A Gapps pico/squid kernel r16/standard marshmallow bootanimation.

Advanced wipe (data/system/internal storage)

Flashed CM13 03/26 nightly, squid kernel and open Gapps 03/28 pico.

First boot, the welcome screen is totally different, is a very deep green blue rather than the turquoise welcome screen I'm used to.

I see an "unfortunately, google play store has stopped" error immediately.

I can get to set up WiFi, but the the phone hangs on finding a software update, again, google play store has stopped errors keep flashing up on the screen.

The phone keeps looking for a software update, i got fed up waiting, and rebooted back to recovery to restore my nandroid back up.

So pretty conclusive evidence the open Gapps package does have an issue with these latest CM13 nightlies, I tried open Gapps with the AICP ROM too with the same results, it doesn't work.

I also want to share theses screen shots, as some people keep going on about their SD card loosing data/apps, here are some screen shots of my SD after I wiped all my data, flashed the AICP ROM, then reflashed CM 13 03/26 nightly.
[E 2015 Original Android Development] ayush rao:
Nice study bro! I think when people say their stuff on the SD card goes missing they mean their apps.......

Whenever I update the nightly or flash a kernel all my apps on the SD disappear but come back after a few min (around 3-4 min). This also happens on every reboot...... The phone has a relatively low end CPU and takes time to find the apps on the SD.... Also I experience this on a class 10 card.... Those with a slower card might have to wait longer for their apps to reappear
[E 2015 Original Android Development] ayush rao:
I think the CM12.1 Development has been scraped to focus on making CM13 Stable.....

Actually I think u should move from CM12.1 to the CM13 Nightlies. I have been using it for the past 2 days and am experiencing very few force closes and bugs (maybe 1 or 2).
[E 2015 Original Android Development] RiceCakeWtf:
Been rocking this build for awhile now, loving it. Being able to download updates with the native CM updater is a real treat. Threw a custom kernel on it for good measure too, haven't had a single glitch. About the only problem I have is I got used to the various little extras in Temasek's build and it takes a few getting used to not having the same shortcuts and stuff. But more then anything its been solid and reliable which is much nicer to have then anything else.

Overall? Nice work, thank you very much for that.

(This is CM13 nightlies, OpenGApps Nano and the Inazuma kernel on an XT1527 with a 64gb microSD card for those interested in my hardware layout.)
[E 2015 Original Android Development] nimrod316:
after the pico apps FCs on me i started all over again w/o gapps just encircle the issue:

- flashed twrp-surnia-3.0.0-r2.img

- factory reset

- system wipe

- installed cm-13.0-20160326-NIGHTLY-surnia.zip (from internal sd (!) because my external sd accidently died on me when i updated recently through OVA)

- reboot

- enabled dev options (adb debug from usb, ok to install apps from unknown sources)

- reboot

issues:

- while f-droid apps installed, amazon market apps didnt

conclusions:

- installing apps from unknown sources not working (f-droid uses root and is working though)

note to self:

pay more attention to update information. i totally missed the CM13 information when i blindly updated yesterday through OVA (12.1 back then).
[E 2015 Original Android Development] :
I, like you think this is a fabulous ROM, fluid, super stable and blindingly fast!

I'm on the 03/26 nightly build but unlike you, I chose the A Gapps package as so many people have reported issues with the open Gapps package.....

Strangely, you don't mention any issue, so now you have thrown another possibility into this problem people are having.....

1. Are people flashing Gapps correctly in recovery?

(Please people don't think I'm being patronising, these questions have to be asked)

Correct way-Flash ROM/kernel then Gapps and reboot

Incorrect way-are people flashing the ROM, rebooting to CM13, then going back to recovery to flash Gapps? (this will cause problems)

2. Seems the older open Gapps packages may be OK, as I flashed a newer open Gapps package and had the crashes/force closing described.

3. Someone claimed to have this problem with banks Gapps, I can confirm that banks Gapps works perfectly on my device after another test.

XT1524 UK user, CM13 03/26 nightly, squid kernel r16, A Gapps pico, Squid TWRP 3.0.0 recovery 16GB Sandisk micro SD set as portable storage.
[E 2015 Original Android Development] BrianDickens:
To be absolutely clear, I wiped my device in recovery, then flashed the CM13 ROM and immidiately after that I flashed the OpenGApps package. Same problem on my mother's Motorola E LTE 2015 and my own Nexus 6P.

I'll try the Motorola E LTE 2015 again today, this time with an older OpenGApps package. See if that works.
[E 2015 Original Android Development] RiceCakeWtf:
I will admit, back when I first started messing with my phone and installing Temasek's builds, I had OpenGApps make some nasty crashes because I did exactly what you're referring to (booting the phone and then trying to flash OpenGApps after the fact).

Since then my formula has been to prepare my ROM, CM13 in this case, OpenGApps, and (optional) kernel. Wipe the phone completely in TWRP, and then install CM13, OpenGApps, and the kernel, all at the same time by stacking zip installs.

I've done that every single time and have never had an issue since. Maybe with OpenGApps Aroma, but its easy to pick really bad options in that. Its not the most stable feeling installer.
[E 2015 Original Android Development] nimrod316:
im confused. i only see CM12.1 builds from 21st, did u mean that? and if so, dirty flashing works, just dont mess with new privacy settings!

---------- Post added at 11:17 AM ---------- Previous post was at 11:11 AM ----------

IMHO there is no gapps issue.

to all of u with CM13 (build from 26th) running without errors:

- can u install apps from unknown sources (specifically play store and amazon)?
[E 2015 Original Android Development] BrianDickens:
You misread my post. I was saying I was having the same issue with my Nexus 6P. The Nexus 6P does have older CM13 packages available. :)

So for my Nexus 6P I fixed the issue by both using an older CM13 and OpenGApps package. Then everything worked like a charm. Even when I updated through dirty flashing to CM13 from the 26th. So yeah, really there is some issue with newer CM13 builds and recent OpenGApps packages.
[E 2015 Original Android Development] metacircle:
Gapps issues with latest CM13 nightly just cost me 2 hours, now I am going back to my Nandroid backup of CM12.1. Hope it is resolved soon.
[E 2015 Original Android Development] ayush rao:
Bro don't give up just try this gapps I'm sure its gonna work.

https://drive.google.com/file/d/0BzAterKVlmXdQVJqeTFuQ0tsenc/view?usp=docslist_api
[E 2015 Original Android Development] :
Yes I can

---------- Post added at 11:13 AM ---------- Previous post was at 11:07 AM ----------

Why not just change your Gapps package?

I haven't spent over 4 hours this morning testing these problems on all of your behalf just for people to give up and run off back to CM12.1 because the Gapps package doesn't work......

I've been praising this ROM over and over again as the best, and most stable ROM currently available for the E2.

Using another Gapps package other than open Gapps should work, I've tried banks Gapps and A Gapps, both work fine with no errors for me, but only if they are installed the correct way.....

People are not giving squid or his work the credit it deserves by abandoning cm13 and going back to lesser builds, simple solution is to download A Gapps pico and flash that instead.
[E 2015 Original Android Development] :
Just to answer your question, no issues what so ever with installing from unknown sources.
[E 2015 Original Android Development] nimrod316:
all i can say is that on surnia with CM13 26th build, MTP/ADB and app installation from unknown sources is funny for me. f-droid works (root), but for amazon i can download apps but installation is pending at first. it works then after a reboot of the device and restart of the amazon app. MTP/ADB sometimes work sometimes not. never had that with 12.1. where can i get banks gapps and A gapps?
[E 2015 Original Android Development] :
I did originally have some adb issues but only because I run a Linux distro on my laptop, quickly sorted.

I don't use amazon so I can't comment, mtp has never been a problem for me.

I use an apk extractor tool to save all my apps to my SD card, again, this has worked flawlessly.

I'm not sure why we keep seeing identical devices/installations failing or working fantastically with no issues, I'm doing my best to help everyone because I feel a little guilty for going on about how good my E2 has been running, while others are having so many headaches and problems, but I can only be honest and report what I find.

Let me add, my installation is a little above standard, I'm running the 03/26 nightly with squid kernel r16, A Gapps pico and the standard android 6.0 marshmallow boot animation.

I have the 5.1.1 EU modem installed.

I'm also running xposed with the android Nify module.

I also run nova launcher rather than the standard trebuchet.

I have downloaded the newest version of play store, google app and play services from apk mirror.

None of these mods have ever caused me an issue during installation or use.

I did spend over 4 hours today trying different ROMs/Gapps packages and all I can confirm to everyone is the latest open Gapps packages do indeed crash and force close, banks Gapps threw a wobbly on blisspop but worked on other roms, and A Gapps is the most consistent of all.

Google A Gapps pico, its around 40 mb and I think the download is on android file host (if I remember correctly)

Good luck!
[E 2015 Original Android Development] nimrod316:
the ADB issue was a local one. one usb port on my laptop is acting up. MTP though is still switching back to "charging" after reboots. i will reflash the CM13 25th build with 25th open gapps pico. did i miss something regarding the modem flash and CM13? i only needed that for 5.1.1 right? i cannot find A gapps pico, only PA gapps pico (from paranoid rom). by now i easily beat your 4 hrs :).

---------- Post added at 01:56 PM ---------- Previous post was at 01:43 PM ----------

clean flash with stacked cm-13.0-20160325-NIGHTLY-surnia.zip, ooo-swipe-for-cm13-v1.flashable.zip and open_gapps-arm-6.0-pico-20160325.zip is leading to no gapps FCs so far. lets see what happens when i dirty flash to CM13 26th build.
[E 2015 Original Android Development] monkey3ddd:
Had this issue as well. What worked for me is a full wipe, then install 3/25 nightly and 3/20 play store and it magically works now. No play force closes and getting stuck on checking for updates. Good luck.
[E 2015 Original Android Development] :
You need to flash the 5.1.1 modem to use cm13 (devs recommendations)

---------- Post added at 01:25 PM ---------- Previous post was at 01:20 PM ----------

http://xdaforums.com/android/general/gapps-gapps-6-0-1-minimal-t3276606

For those people wanting the A Gapps package :D
[E 2015 Original Android Development] yelupic:
CM 13 2016-03-25 + Open GApps ARM 6.0 Pico 2016-03-25 > OK

CM 13 2016-03-25 + Open GApps ARM 6.0 Pico 2016-03-26 > OK

CM 13 2016-03-25 + Open GApps ARM 6.0 Mini 2016-03-27 > OK

CM 13 2016-03-25 + Open GApps ARM 6.0 Pico 2016-03-28 > OK

___

CM 13 2016-03-26 + Open GApps ARM 6.0 Pico 2016-03-25 > FC

CM 13 2016-03-26 + Open GApps ARM 6.0 Pico 2016-03-26 > FC

We are not alone:

http://xdaforums.com/showpost.php?p=66068794&postcount=4080

https://developer.android.com/reference/android/app/AppOpsManager.html#checkPackage%28int,%20java.lang.String%29

edit:

if this is related, idk:

https://github.com/CyanogenMod/andr...mmit/1cfc5375a9c1e27b188c3659610dbec655067cf6

___

CM 13 2016-03-25 + Open GApps ARM 6.0 Mini 2016-03-27 > OK

CM-Updater offered > 2016-03-26 > installed > OK

___

Apps installation modes tested (someone wanted to know):

Google Play Store > OK

Browser-DL > OK

F-Droid (no root) > OK

Filemanager > .apk > OK

adb install > OK
[E 2015 Original Android Development] nimrod316:
i already flashed the modem when i was on 12.1. i thought u meant it this way i had reflash even with a fresh cm13 installation. no alright, i dirty flashed all my way through from 25th gapps release up to 28th and rebooted in between to check for FCs. its working and therefore supporting my thesis there is no gapps issue. lets see what happens when i OVA update CM13 to 26th release.
[E 2015 Original Android Development] monkey3ddd:
if it ain't broke...

;)
[E 2015 Original Android Development] nimrod316:
success! now, im not touching any privacy settings any time soon and hope devs are up for a fix.
[E 2015 Original Android Development] yelupic:
Worked.

Edit: Ok, you already made it.
[E 2015 Original Android Development] yelupic:
New Nightly @ 2016-03-28 in CM-Updater (changelog is available now)

or

https://download.cyanogenmod.org/?device=surnia&type=nightly
[E 2015 Original Android Development] :
I've already updated :D
[E 2015 Original Android Development] yelupic:
@ivan39 :D

___

CMX changelog switched over to CM 13 (CM 12.1 changelog is gone)

http://www.cmxlog.com/13/surnia/

___

Clean install with combination CM 13 @ 2016-03-28 + Open GApps ARM 6.0 Pico @ 2016-03-28 > FC
[E 2015 Original Android Development] :
Dirty flash of 03/28 nightly over 03/26 all working fine, obviously I'm using a different gapps package, now just reflashing squid kernel as only updated around 15 mins ago :)
[E 2015 Original Android Development] atrain2324:
safe to assume that if I want to use official nightlies, I'll need a clean install (don't mind that, I've turned it into an art form myself going from clean install to full use and setup within a half hour)?
[E 2015 Original Android Development] BrianDickens:
Thank you! I just tried that combination and it installed fine. Now I can finally upgrade my mother's Surnia to CM13. Again, thanks!

(I used the nano package, by the way)
[E 2015 Original Android Development] :
If you already have CM13 its safe to "dirty" flash over the top of the version you already have, just wipe dalvik and cache after flashing.

Word of caution, be careful what gapps package you use, the developers recommended latest gapps package (open gapps) is causing errors and force closes, I personally use A gapps pico (40mb) and this package available here on XDA.

Good luck!
[E 2015 Original Android Development] rokban:
How much free ram you guys have? With or without squid kernel.. I am having only 110 ...:(
[E 2015 Original Android Development] :
I'm faring a little better with about 150 mb of ram free, no changes made ......