• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][CM12.1] UNOFFICIAL CM12.1 for LS970

fuzzy7k

Member
Feb 25, 2011
32
10
0
Installation Instructions:
Changelog:
20160814:
Updated using branch cm-12.1​
20160127:
Updated to CM-12.1 using codebase cm-12.1-YOG7D
Updated libs from mako, which fixes GPS, Encryption, & some dirty log messages.​
Special Thanks:
Looking at the commit log, I've got to say thank you to Shelnutt2 and Ricardo Cerqueira. Seth, for his work on porting this device & permission to post this build, and Richardo for maintaining the gproj kernel.

I've been using this with Ting. Seems more stable than the CM-11 build that I was using. Mms & cell data are the two things that do not work out of the gate for me. Wondering how this shapes up with Sprint. I vaguely remember cell data working, but I don't think the default mms app did. However, I was able to use a third party mms app for pictures.

If this works well for people I'll see what I can do about getting my changes pulled upstream.

XDA:DevDB Information
UNOFFICIAL CM12.1 for LS970, ROM for the Sprint LG Optimus G

Contributors
fuzzy7k, Shelnutt2, Ricardo Cerqueira
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Testing

Created 2016-01-28
Last Updated 2016-08-17
 
Last edited:

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
What gapps version to use?

Thanks for providing this! I've installed it, to replace my cm-12-20151108-NIGHTLY-ls970.zip ROM. But I haven't been able to find a gapps download that will work with this (all Google services keep crashing) or fail to installed (Status 6). Any help will be appreciated.

Thanks!
 

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
gapps version

I was able to get this working. After battling through a barrage of pop-up messages telling me that various google apps had crashed (repeatedly for each one), I got into Play Store and did an update all. I had to uninstall/reinstall Keep and Messenger, and now all seems well. :D

The only thing I'm currently having a problem with is Titanium Backup, which keeps crashing no matter what I've tried.

Otherwise, all seems to be working well. I'm hoping that a the flaky problems I was having with the previous CM-12 ROM will be fixed with this version.
 

emfajardo2

Member
Sep 17, 2013
25
2
0
For whatever reason, no matter what version of CM12 I install, wifi does not work. I'll put in the password and then it times out "failing to authenticate." Have you run into this issue? Any known fixes?
 

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
For whatever reason, no matter what version of CM12 I install, wifi does not work. I'll put in the password and then it times out "failing to authenticate."
My wifi is working. With the previous CM12 install I did have a problem where wifi would stop working after it was connected ("!" next to the wifi indicator), and I'd have to turn the wifi off and on again to fix it. I haven't experienced that problem yet with this build, though it's too soon to know if that problem has gone away.
 

emfajardo2

Member
Sep 17, 2013
25
2
0
My wifi is working. With the previous CM12 install I did have a problem where wifi would stop working after it was connected ("!" next to the wifi indicator), and I'd have to turn the wifi off and on again to fix it. I haven't experienced that problem yet with this build, though it's too soon to know if that problem has gone away.
Yeah I just went through unrooting and going to stock (where it worked fine) and now tried again to install without luck. I don't understand this problem or what could possibly be the issue at this point.

Edit: I have noticed that I'm not seeing my 5 GHz network although it was available in stock.
 

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
Profile switcher

It seems the option to switch profiles from the power button is gone. In the settings for buttons, there's an option to show "Airplane Mode", but not the profile selector. I do have multiple profiles created, so it's not because of that. :confused:
 

bls128

New member
Mar 14, 2016
1
0
0
I was able to get this working. After battling through a barrage of pop-up messages telling me that various google apps had crashed (repeatedly for each one), I got into Play Store and did an update all. I had to uninstall/reinstall Keep and Messenger, and now all seems well. :D

The only thing I'm currently having a problem with is Titanium Backup, which keeps crashing no matter what I've tried.

Otherwise, all seems to be working well. I'm hoping that a the flaky problems I was having with the previous CM-12 ROM will be fixed with this version.
Hey geodosch, same experience here with pop up errors with one difference, I was not able to get into Play Store... I only have four com.google.* green droid icons, and after clicking them I get 'App isn't installed'. Which gapps did you install, any other tips?

Many thanks!
 

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
I tried quite a few, but the one I eventually used was downloaded from opengapps.org. Select ARM; 5.1; Micro. You may want to use a different variant based on your needs. The details of what's in each is here.
The filename for the one I used is 'open_gapps-arm-5.1-micro-20160304.zip'

I don't recall anything else special I needed to do. I hope this helps!
 
  • Like
Reactions: Dombrizzle

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
A couple of issues

I've found was appears to be a bug in the call log. Whenever I make an outgoing call, the call log shows an incoming call at the same time, with the ID of "unknown".

The other is an intermittent problem, which I haven't been able to determine how to reproduce. Sometimes the screen will go black, with the exception of the top status bar. I've had it happen when unlocking the phone, and also when opening a new app. Once this occurs, I've only been able to recover by rebooting. Holding the power button does bring-up the reboot screen, and as mentioned the status bar is fine, so it doesn't appear to be related to the display driver. I also took a screenshot when it was in this state, and the image is what the screen looks like: black with a status bar.
 

curiousGeorge

Senior Member
Feb 17, 2008
661
111
0
31
Saint Paul, MN
Thanks for the tip on where to find the download. This is actually a really clever thing to do; integrating the download into the forum navigation itself.

I tried quite a few, but the one I eventually used was downloaded from opengapps.org. Select ARM; 5.1; Micro. You may want to use a different variant based on your needs. The details of what's in each is here.
The filename for the one I used is 'open_gapps-arm-5.1-micro-20160304.zip'

I don't recall anything else special I needed to do. I hope this helps!
I'm having a lot of trouble getting Google Apps installed. I get the messages about the failures, but no Google Play store appears. I've tried on the latest "nano" release -- I'll try the exact file you mentioned.

One difference may be that I'm on TWRP 2.8.3.0 -- what's your recovery? Mine cries foul about no SELinux context support in the kernel, and I also noticed the Gapps blob said something about fixing SELinux permissions (it doesn't report success or failure). After installation there are 4 or 5 "google logo" icons that don't do anything, labeled com.android.google.whatever that don't open, instead claiming "XXX isn't installed" where XXX is the name of the app. Another poster here said the same. Anyway, I'll try that particular file and cross my fingers!

Edit: nope. Transferred the Gapps zip to the storage, booted into recovery, wiped everything except internal storage, flashed the ROM, flashed the GApps, reboot. Still get a bunch of green lifeless icons that won't load any app. What to do?
 
Last edited:

curiousGeorge

Senior Member
Feb 17, 2008
661
111
0
31
Saint Paul, MN
Ah, looks like I was right. It's the silly SELinux thing. The trick is to go here http://forum.xda-developers.com/showthread.php?t=2524485 and set the phone to permissive. Which you can totally do because you can go into the build info and click build number until you get "developer mode" enabled and enable root access in apps. Then everything works perfectly, even from a seemingly glitched install, regardless of GApps version. Pretty nice eh?

I'm gonna let everything update and then try reenabling SELinux, for kicks.

[edit]Ah, rebooting screws everything up again until the SELinux changer finally loads and changes things to permissive. So it doesn't exactly stick at boot. Still looking for a permanent fix...
 
Last edited:

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
Thanks for the tip on where to find the download. This is actually a really clever thing to do; integrating the download into the forum navigation itself.



I'm having a lot of trouble getting Google Apps installed. I get the messages about the failures, but no Google Play store appears. I've tried on the latest "nano" release -- I'll try the exact file you mentioned.

One difference may be that I'm on TWRP 2.8.3.0 -- what's your recovery? Mine cries foul about no SELinux context support in the kernel, and I also noticed the Gapps blob said something about fixing SELinux permissions (it doesn't report success or failure). After installation there are 4 or 5 "google logo" icons that don't do anything, labeled com.android.google.whatever that don't open, instead claiming "XXX isn't installed" where XXX is the name of the app. Another poster here said the same. Anyway, I'll try that particular file and cross my fingers!

Edit: nope. Transferred the Gapps zip to the storage, booted into recovery, wiped everything except internal storage, flashed the ROM, flashed the GApps, reboot. Still get a bunch of green lifeless icons that won't load any app. What to do?
I'm running ClockworkMod 6.0.4.7. It's been a while since I originally installed the CM ROM, but I know I didn't have any luck with TWRP, though I can't say for certain that it was at fault... it may have been due to some other issue which I later fixed, and switching to CWM may have been incidental.
 

fuzzy7k

Member
Feb 25, 2011
32
10
0
So, I totally didn't see any notifications that this thread was active. I've been working on trying to get Marshmallow up and ran into a dead end. So, I came here.
I've found was appears to be a bug in the call log. Whenever I make an outgoing call, the call log shows an incoming call at the same time, with the ID of "unknown".
Same here, although it doesn't do it for all callers, I'll rebase on the newest code and see that does the trick.
The other is an intermittent problem, which I haven't been able to determine how to reproduce. Sometimes the screen will go black, with the exception of the top status bar. I've had it happen when unlocking the phone, and also when opening a new app. Once this occurs, I've only been able to recover by rebooting. Holding the power button does bring-up the reboot screen, and as mentioned the status bar is fine, so it doesn't appear to be related to the display driver. I also took a screenshot when it was in this state, and the image is what the screen looks like: black with a status bar.
I experienced the same. Although, I haven't in some time, since I stopped trying to use multiple profiles, that must contribute. adb still works as well, and I tracked the error in the code and it was right next to a TODO item. Go figure. If you see it again and are next to a computer, see if you can't get a logcat so I can check on that code again.
 
  • Like
Reactions: geodosch

fuzzy7k

Member
Feb 25, 2011
32
10
0
It seems the option to switch profiles from the power button is gone. In the settings for buttons, there's an option to show "Airplane Mode", but not the profile selector. I do have multiple profiles created, so it's not because of that. :confused:
It's there, under "Power menu". Just search for power.
 

fuzzy7k

Member
Feb 25, 2011
32
10
0
On another note, GPS isn't working for me.
I read somewhere that you may need to get a lock in a ZVC build before flashing. Try that. It sounded like hog wash to me, and didn't work when I tried it. But, after updating the libs, all was fine. So, maybe both conditions must be met. On a positive note, I rarely have GPS enabled, but when I flip the switch, it comes on. So, it's not like you need to leave it on across reboots.
 

geodosch

Member
Mar 3, 2016
26
2
0
New Jersey
So, I totally didn't see any notifications that this thread was active. I've been working on trying to get Marshmallow up and ran into a dead end. So, I came here.
Same here, although it doesn't do it for all callers, I'll rebase on the newest code and see that does the trick.
Glad to see you taking I look here. I really don't want to replace my Optimus G, since all phones now seem to be either low-end performance or over-sized. So I'm glad I can still keep mine going with these builds. :D

I experienced the same. Although, I haven't in some time, since I stopped trying to use multiple profiles, that must contribute. adb still works as well, and I tracked the error in the code and it was right next to a TODO item. Go figure. If you see it again and are next to a computer, see if you can't get a logcat so I can check on that code again.
I hadn't tried adb before rebooting (Murphy's Law: whenever it happened I was often doing some time-constrained task, so I just rebooted as quickly as I could.) But the next time it happens I'll connect and check the logs. It's interesting that you mention multiple profiles, because it seems to have happened several times in my car, and I have profiles set-up to switch when the car bluetooth connects/disconnects.

If you're going to be poking around in the code, another issue that I've been having is the default app for the browser no longer seems to work consistently. I know this worked on an older CM12 build, and think it used to work on this one. But when something launches a browser I'm very often prompted for which one (Chrome or Browser.)

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

It's there, under "Power menu". Just search for power.
In the power menu, I see an option to switch users (which is disabled, since I don't have multiple users set-up), but I don't see an option for Profiles. :(