yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] detesto:
Battery Drain

Hi,

I've been running CM12 for a week now, but recently I've seen a huge battery drain when my phone is sitting on standby.

Is this happening to anybody else?

Currently on build 12-20150123-NIGHTLY-ghost.
[Moto X Android Development] princeflash:
I am having the same problem with that build
[Moto X Android Development] gabo_10:
Hello, wich ROM is that? I wish to go back to 4.4.4 but I don't know if it's possible to downgrade, do you have any link? please
[Moto X Android Development] Ejvyas:
Go to "Moto X Android Development " and you will find multiple KK roms there. I flashed many L ROMs but most of them resulted in bootloops and I was able to flash KK roms back on top of that
[Moto X Android Development] n.praveen13:
Did you try wipe data, system, cache and Dalvick cache twice or thrice?

Once you have done that then install the L rom's and they would work
[Moto X Android Development] Ejvyas:
First pl let me know what wiping data 2nd or 3 rd time does differently than 1st time. I think they run the same code to wipe.

Secondly. I followed every step of the process including what you said above - only L ROM that worked was CM 12. Others bootlooped
[Moto X Android Development] -Luigi.:
There is the stock one from Brazil, if it fits for you.... you can easily install the zip through recovery

xdaforums.com/moto-x/development/rom-firmware-stock-brasil-4-4-4-zip-t2873516
[Moto X Android Development] n.praveen13:
When the modders asked me to do that this is the same question I had asked. Any how apparently the data might not be wiped properly when you wipe it once. If you wipe it twice or thrice the chances of data wipe is exponentially higher compared to wiping the data only once.

Why is it that all the others are able to flash the ROM apart from you?...the difference is wiping once and wiping twice.

Recoveries aren't perfect and till they are perfected expect a few bugs to be there
[Moto X Android Development] Ejvyas:
I did tell you earlier that even after wiping it 3 times and coming from stock it bootloops for me. Do you want to debug with me ?
[Moto X Android Development] athome93:
Can you install the latest NIGHTLY ? cm-12-20150127-NIGHTLY-ghost

recovery : clockworkmod-touch-6.0.4.8.img
[Moto X Android Development] mac1996:
I have twrp 2.8.0.1 and I tried to update through cm updater it failed for me in recovery...are you coming from stock
[Moto X Android Development] xd1936:
Everything is working really well in last night's nightly, except that I can't find my Moto 360 in Bluetooth to pair it. Looking forward to seeing CM 12 mature for this device!
[Moto X Android Development] athome93:
No, i come from cm-12-201501

26

-NIGHTLY-ghost
[Moto X Android Development] sayhellotwoheaven:
gps bug

i installed cm12, but my gps doesn't works. I use the GPS game called Ingress, and my location keep static.

any fix?
[Moto X Android Development] athome93:
Here

http://xdaforums.com/showpost.php?p=57932376&postcount=693
[Moto X Android Development] nonamerzz:
xt1056

hi! i want to buy xt1056 with unlocked gsm. Will i able to flash this ROM on that device?
[Moto X Android Development] somerandomname1:
cm updater has been failing after some new thing they added where they detect file system type. But it will flash fine if you do it manually.
[Moto X Android Development] kerryh420:
I have had successful flashes every time using this:

1) Download the nightly in question. (CM12/Resurection Remix, liquid smooth, etc...)

2) Use this link & go to the very first quote by the OP and follow instructions by unpacking the zip, going into the meta data and removing the lines in the SCRIPT! (Do not open the BINARY) FOLLOW THE INSTRUCTIONS!!! Highlight and delete the lines as instructed. Save exactly as it now is. Repackage into a zip file. ( I will state this now. I did NOT need to dirty flash over CM11, as it says in the instructions, in order to keep data. However, you will lose root if you don not follow the instruction with regards to philz touch. IF you forget, don't sweat it, you can regain it by rebooting into recovery trying again. Just use philz recovery as per below- you will be fine- I suggest reading up on Philz, you will thank yourself later).

3) Download Gapps and place in same folder as repacked zip file.: https://s.basketbuild.com/filedl/gapps?dl=gapps-lp-20141109-signed.zip

4) Download SuperSU (2.45 is the current version I believe but I am using 2.40 with success each time so far) and place in same folder as Gapps & repackaged zip.

Whether you do this before or after the above does not matter but make sure you are using Philz recovery for the ROM flash.

Philz recovery, 6.58.7, found with this link :

http://d-h.st/g7u

Once recovery is flashed and installed boot into recovery after a reboot and use philz to accomplish the following:

Wipe cache,

Wipe dalvik cache,

Clean to install a new rom,

Factory reset.

Note: your data and phone info will remain in tact (for the most part- app settings are lost- at least for me they are) through the flash.

Flash repackaged ROM,

Flash Gapps,

Flash SU

Reboot and profit. As usual you need to give this a fair amount of time the first boot. CM12 was somewhat quick but Resurrection Remix, for example, takes no less that 5-10 minutes, so be patient. I do not know what is required for a nightly update. I go through these motions each time. Kind of a pain but I have not had a failure yet and it takes less time than using a nandroid restore if you boff it. If you know of a better way please share.

I Hope I made that clear enough to follow. Good Luck!
[Moto X Android Development] athome93:
The solution for me, i just install it with the recovery and don't use cmupdater ;)
[Moto X Android Development] Ejvyas:
Some of your links are missing like "Use this link & go to the very first quote by the OP" Can you point us out ?
[Moto X Android Development] kieranc88:
Why do you need to flash superuser??
[Moto X Android Development] kerryh420:
"Some of your links are missing like "Use this link & go to the very first quote by the OP" Can you point us out ?"

Sorry about that. First time inserting link, files, pics, etc... What you re doing is following this link here: http://xdaforums.com/moto-x/development/rom-resurrection-remix-v5-2-3-t2978743

Scroll down to the first blue/grey box. There you'll find within the blue/grey box a white box which you can click on and see lines of code. As the OP states, you want to delete these lines (it is somewhat long). What is left after highlighting and deleting that code should look like this, or rather, should start with "ifelse..."

You will do that by extracting the zip file. you will then have six or so files there. Open the one that says metaINF (pardon me, I misspoke earlier by calling it metadata). Then com. then google. then android, then you'll see the scriptor.. Open that with a program like note. Do NOT open the BINARY! What opens will be the raw code script. Edit out as noted in the OP blue/grey white box and save. Close out of note.

Repackage back into a zip file and flash like normal.

OR if someone can help me create a link to google drive you can DL the repackaged zip that worked for me there. I have already uploaded it to my Gdrive but I cam having issues trying to give permission for anyone to view it and DL it. Currently I can only give specific people access to it..

Perhaps you can help me...

---------- Post added at 07:11 PM ---------- Previous post was at 07:02 PM ----------

You will want to flash super user because it installs it directly into the system root. I was having problems getting SU to to update the binary and this was the one way I got it to stick. Doing it with the OS running was introducing too many possible variables of error.

I am still very new to this and have a long way to go to become proficient like you guys. Please bear with me as I am learning this too. These are not my fixes but rather toying with others' reported success and this is what worked for me. I notice many are having the same exact reported issues so I hope this will work for you. Again, good luck
[Moto X Android Development] nonamerzz:
Speaker sound

Have anyone problem with speaker when calling? I cant hear anything. Only enabling+disabling handsfree can fix this trouble
[Moto X Android Development] Ejvyas:
Known issue with cm based ROMs. Search for "phone audio fix" apk
[Moto X Android Development] jason111o:
Here is the link to the audio fix

http://xdaforums.com/showthread.php?p=58320544
[Moto X Android Development] xd1936:
Is there a place that we can keep tabs on all of the latest bugs? Right now, it seems like this ROM is pretty stable, minus the speakerphone issue.
[Moto X Android Development] Ejvyas:
Not really there is bluetooth bug and once the nightly build (1/18) had bootloops. Should be added to OP to clarify
[Moto X Android Development] xd1936:
What's the Bluetooth bug?
[Moto X Android Development] Ejvyas:
bluetooth audio does not work for some (like me) while it drops after some time for some others
[Moto X Android Development] xd1936:
A2DP streaming, or Headset profile?
[Moto X Android Development] Ejvyas:
A2DP. I dont use the other one
[Moto X Android Development] kieranc88:
But root control is built into the ROM already ,so why would you want to flash what's already built in is what I meant.
[Moto X Android Development] Inthus:
Does the bluetooth bug affect Pebble connectivity?
[Moto X Android Development] Wafflcopterz:
Doesn't bother my Moto 360 so doubtful? Not sure if Pebble uses Bluetooth LE.
[Moto X Android Development] mikeoswego:
The compass doesn't work correctly on my XT1060. The QS tile for the compass won't stay turned on either. I've not had any GPS problems like others have mentioned, though.
[Moto X Android Development] hartyshow:
For me, the BT issue is :

1 - Connect the BT device to the MotoX

2 - Reboot the MotoX

Works every time ;)
[Moto X Android Development] Spidinator:
Does this procedure work for bluetooth streaming for music and talking in the car as well or is that still messed up?
[Moto X Android Development] hartyshow:
I use this procedure with a headphone. It's not a fix just an issue ;)

Try it and wait an official fix :angel:
[Moto X Android Development] Slick52:
Rebooting my phone has solved any BT connection issues I've had when my phone is connecting to my car. Almost daily, It will act like it's playing but I get no sound. Reboot and it starts working again.
[Moto X Android Development] tekanina:
Yeah it works for both. It'd getting better though. I used to have to reboot after every phone call to get music to play again but that seems to work now and I've been rebooting less and less. I have been getting some clopping of the audio recently though.
[Moto X Android Development] Spidinator:
Anyone had any luck with the phone audio fix lately. I've downloaded and installed but it doesn't seem to work. Is there a trick to it or just works for some and not others?
[Moto X Android Development] mac1996:
Worked fine for me I am on latest cm12....wat ROM are you on
[Moto X Android Development] Spidinator:
I'm on the latest cm12. I download it. I install it. It asks to start service and I do and then it doesn't work.
[Moto X Android Development] Ejvyas:
It didn't work for me too. The process dies when I start my first call after starting the phone audio fix service.

I'm can't spend more time to clean and reinstall. So I'm stuck with the toggle now :mad:

---------- Post added at 02:25 AM ---------- Previous post was at 02:24 AM ----------

Good to hear. I'll try that. Do u mean to say after some time it works without reboots ?

---------- Post added at 02:29 AM ---------- Previous post was at 02:25 AM ----------

Go to settings -> apps -> running and check if phone audio fix process is running in background
[Moto X Android Development] tekanina:
I mean its better than it was a couple weeks or so ago. I use Bluetooth audio everyday and having to reboot has been less frequent. Also the phone audio fix works flawlessly for me. I haven't clean flashed in about 10 days I'm not sure if its the new builds causing the issue or not but everything has been fairly well besides some apps force closing.
[Moto X Android Development] Spidinator:
It's running but it's not working. Oh well I'll just toggle manually for now.
[Moto X Android Development] arayray:
Phone Audio Fix - Update

I see some of guys are having a problem with my app not working correctly, if you are having a problem reinstalling the app or the service is not working try this:

I uninstall my app and went to reinstall it and it came up with 'Do you want to update the existing application?'. Now if you get this, what you want to do is go to Settings > Apps and swipe over to 'All' then go down to 'Phone Audio Fix' and uninstall it & then reinstall it and it should be good to go!

Let me know if this works for you guys! :good:
[Moto X Android Development] Ejvyas:
My issue is that the service dies when I start calling out. It does install and uninstall correctly.
[Moto X Android Development] Spidinator:
Yes I can see it running under apps so its installed and I can uninstall it just fine but as soon as I make a phone call it's like you say the service just dies. And then I never see it running again. ?
[Moto X Android Development] arayray:
I'm working on finding a solution to fix this, I uninstalled my app then reinstalled it and it isn't work like many of you have reported. I am working to find a solution. :good:
[Moto X Android Development] jellybean411:
Latest CM 12

Has anyone had luck with installing the latest CM12 30-01-15? I tried to dirty flash it on my 24-01-15 install but it keeps failing for some reason. Do i have to install the CM12s in order? Can't I directly dirty flash the newest one? BTW, using TWRP 2.4.1.0
[Moto X Android Development] Spidinator:
Installed the 30-01-15 yesterday with no issues. Used philz touch recovery. Didn't dirty flash though did a clean install.
[Moto X Android Development] cshonkwiler:
I dirty flashed with 2.8.4.0, no problem
[Moto X Android Development] jellybean411:
Did you edit the updater binary script? If I don't do that, then it TWRP throws up a unable to execute updater binary script and fails to install. Did this becuase of [MENTION=1473401]##WatchOut##[/MENTION]'s recommendation. This worked when I was upgrading from CM11 to CM12.
[Moto X Android Development] cshonkwiler:
No, never did that.
[Moto X Android Development] shamilton:
Does anyone have feedback on screencasting by either chromecast and/or miracast? How about OTG? I get no sound on my Samsung SMART TV but video is fine. Chromecast always seems like it has its good days and bad with all of my devices giving me mixed outcomes. And, I am new to OTG. Just starting to fool around with control pads and storage this week. Also, I flash nightlies bi-weekly and am curious when we recieved the new boot animation.

P.S. currently using "gravity screen" in conjunction with "acdisplay" to give it that old stock feel, seems to be working well.... not sure how my battery is going to like it yet. ChEERs!!
[Moto X Android Development] TheDiabolicaL1:
YouTube app turned all the way up? I was having an issue with low volume on chromecast and it ended up being the YouTube app volume was turned down too low. I understand it (YT) and chromecast are linked?

Sent from my Nexus 7
[Moto X Android Development] kieranc88:
no signal after reboot

Noticed in the January 31st nightly that if I reboot I get no coverage until I make a call and then call will fail then signal comes back. Anybody experience this. Full wipe install from stock after flashing cm11 then wiping and flashing cm12.
[Moto X Android Development] Ejvyas:
I always use cmupdater. It always takes me like a minute to get the cell signal. It doesn't come up immediately. I need to wait for some time

Sent from my Moto X
[Moto X Android Development] kieranc88:
I came from stock and it seems those steps are the only way I can get ROM to boot, but in the coverage side I've waited like 90 seconds and then my patience won't allow me to wait any longer so I place a call,it fails and voila signal bars fill up.

---------- Post added at 08:44 PM ---------- Previous post was at 07:49 PM ----------

Activate screen pinning,require password to exit, pin an app,hold recents and back key together , won't exit screen pinning , reboot ,feel sad,cry.
[Moto X Android Development] sayhellotwoheaven:
i always use cyandelta
[Moto X Android Development] Ejvyas:
Didn't understand what u mean

Sent from my Moto X
[Moto X Android Development] kieranc88:
I can't deactivate screen pinning and I have to reboot to turn it off, otherwise it just gets stuck in the app that is pinned.
[Moto X Android Development] jason111o:
Just tried it myself. Yeah, I'm stuck in this app. I am not using a lock screen, only swipe screen.

Update: Did a soft reboot and back to normal. 1-31-2015 build
[Moto X Android Development] kieranc88:
Updated to Feb 1st and still same problem.

---------- Post added at 11:20 AM ---------- Previous post was at 11:15 AM ----------

Feb 2nd I meant

---------- Post added at 12:17 PM ---------- Previous post was at 11:20 AM ----------

Any reason why it would say no service on lock screen when it clearly shows I have service and is there a way to hide it,Feb 2nd build
[Moto X Android Development] R3dbeaver:
Quick question:

From stock, can I go to recovery, flash CM11 and then immediately, flash CM12, Gapps, then reboot?

Or I have to flash CM11, reboot, set up stuff, then reboot to recovery, then CM12, Gapps, and reboot again?
[Moto X Android Development] mac1996:
I have different question from all of you guys..is there any way to set up the user image on the top right on your lock screen.
[Moto X Android Development] kieranc88:
From stock,enter recovery,do a full system wipe,flash cm11 and gapps, boot to homescreen,enter recovery,full wipe ,flash cm12 and gapps.
[Moto X Android Development] mikeoswego:
Open Contacts from the app drawer. At the top of the list will be "me" , edit that entry and select the picture you want.
[Moto X Android Development] misterfamilyguy:
Does the dev monitor this thread? I am wondering because cmupdater stopped doing its thing for me a few nightlies ago and for 02-02-15 the battery icon displays percent inside and on the side whether inside or on the side is chosen, and it doesn't show the lightning bolt when charging. So, if monitoring, there ya go.
[Moto X Android Development] arayray:
Here is an updated version of the Audio Fix app, this removes it from hiding and will show in the app drawer now. Let me know if this works for you guys :good:
[Moto X Android Development] Spidinator:
Hmmmmmm I install it, it says service is running but when I make a call it doesn't toggle the speaker. I will assume it's just something with my phone and a few others as it seems to work for the majority. Thanks for trying though.
[Moto X Android Development] Ejvyas:
I'm not able to see the process running but I'm able to make outgoing calls now w/o toggle :D

Sent from my Moto X
[Moto X Android Development] itasoulas:
next nightly will include ambient display!!! check changelog here http://www.cmxlog.com/12/ghost/ :good::good::good:
[Moto X Android Development] sharukins:
just wanted to tell all the guys that desperately wanted ambient display:

It will be enabled from todays build on. Se this commit http://http://review.cyanogenmod.org/#/c/87418/

edit: you always should read the thread until the last post. just recognized I wasn't the first to post this. Sorry for spam
[Moto X Android Development] DaRkRhiNe:
New nightly is up. Plz try aand report. My net speed is low
[Moto X Android Development] ts_firehawk:
nice. now CM just needs to fix calling and whatsapp issue for this ROM to become a daily-driver.
[Moto X Android Development] DaRkRhiNe:
Can i directly flash the new nightly on top of stock rom?

Plz reply
[Moto X Android Development] cdiamond:
This ROM is a bog battery drainer to me. Anyone else having this problem?
[Moto X Android Development] icerebro:
Done with CM11 and then CM12. I just miss the stock things.

Good work.
[Moto X Android Development] flyers00:
Thanks for the response.
[Moto X Android Development] tmlhodge:
No problem installing the Jan 7 official build. I was previously running the unofficial cm12. I only wiped cache and dalvik
[Moto X Android Development] sorcio46:
I have the same bugs, solved the outgoing call bug with that app.
[Moto X Android Development] tekanina:
GPS works fine. Sometimes you have to flash a stock ROM, get a GPS lock and boot straight to recovery and reflash.
[Moto X Android Development] sorcio46:
There is anything I can do to fix GPS without flashing the stock ROM?

Does it work if I flash the stock ROM with a restore of a nandroid backup?
[Moto X Android Development] somerandomname1:
It should. After you restore, download an app that locks onto GPS. While your GPS is locked, restart to recovery and go from there.
[Moto X Android Development] tekanina:
Not that I know of. A nandroid should work the same way though. I did it once when lollipop ROMs first started coming out and haven't had to since then and I flashed all of them so you should be good after doing it once.
[Moto X Android Development] MikeyNick:
I had tried unofficial awhile back and had an issue where some calls were just randomly missed. I discovered via an angry girlfriend and my Moto 360, which would occasionally ring on my watch but I would never actually get the call to my device.

Wondering if this is gone yet? Obviously kind of a hard one to verify, since there was no real rhyme or reason to the issue that I could discover, but if anyone has a clue, I'd be interested to know!
[Moto X Android Development] Fuzzypits:
Haven't missed any calls with any of the recent builds for the unnofficial cm12. However I found that occasionally on calls it would vibrate once and then stop vibrating so if your phone were on silent you wouldn't know you were getting a call.
[Moto X Android Development] MikeyNick:
Hrm. That, I could live with. Perhaps I'll give lollipop another go when I have to time to wipe my phone again. Looks like Motorola is leaving us high and dry as far as an official update...
[Moto X Android Development] pandeus:
I really want to use this rom since an official stock is probably going to be way down the road, but ive come across the same problem I had with the unofficial, no signal. cm11 had no problem keeping signal but cm12 wont make or receive phone calls. im using sprint variant flashed to page plus btw. anyone here have this problem and know of a work around? if not guess ill be on 4.4.4 with gravity box until official arrives.
[Moto X Android Development] noahsark3:
Yeah, my reception says it's awful in places where it is usually fine, and when I was driving earlier it kept vibrating in little short pulses because (I think) it was notifying me it had no signal, but would then find signal again immediately. Super annoying, but probably a big enough issue that it'll be worked on first or near first.
[Moto X Android Development] orky87:
Look here from cm11 thread and report back if it worked out for you without flashing..
[Moto X Android Development] athome93:
Thanks :)
[Moto X Android Development] jamiejako:
re-root?

Installed and running fine, but lost root.

Flashed SuperSu but no luck. How do I re-root?

*EDIT*

Flashed the latest version of SuperSu and got root. Never mind :D

link for anyone who needs it : http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip
[Moto X Android Development] jason111o:
When I lost root and set the root access to apps and adb in the dev options it worked for me.

xt1060
[Moto X Android Development] psicodelico:
Anyone with battery drain?
[Moto X Android Development] UllyTheBestHD:
yeah .. i hope in a fix in tomorrow's nightly
[Moto X Android Development] jellybean411:
You should be able to. By stock ROM, you mean CM12 right? For updating, always dirty flash on top of the stock ROM.