yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] ##W4TCH0UT##:
You have not deleted the following lines from META-INF/com/google/android/updater-script:

assert(getprop("ro.product.device") == "xt1052" || getprop("ro.build.product") == "xt1052" || getprop("ro.product.device") == "ghost" || getprop("ro.build.product") == "ghost" || getprop("ro.product.device") == "xt1053" || getprop("ro.build.product") == "xt1053" || getprop("ro.product.device") == "ghost_retail" || getprop("ro.build.product") == "ghost_retail" || getprop("ro.product.device") == "xt1055" || getprop("ro.build.product") == "xt1055" || getprop("ro.product.device") == "ghost_usc" || getprop("ro.build.product") == "ghost_usc" || getprop("ro.product.device") == "xt1056" || getprop("ro.build.product") == "xt1056" || getprop("ro.product.device") == "ghost_sprint" || getprop("ro.build.product") == "ghost_sprint" || getprop("ro.product.device") == "xt1058" || getprop("ro.build.product") == "xt1058" || getprop("ro.product.device") == "ghost_att" || getprop("ro.build.product") == "ghost_att" || getprop("ro.product.device") == "ghost_rcica" || getprop("ro.build.product") == "ghost_rcica" || getprop("ro.product.device") == "xt1060" || getprop("ro.build.product") == "xt1060" || getprop("ro.product.device") == "ghost_verizon" || getprop("ro.build.product") == "ghost_verizon" || abort("This package is for device: xt1052,ghost,xt1053,ghost_retail,xt1055,ghost_usc,xt1056,ghost_sprint,xt1058,ghost_att,ghost_rcica,xt1060,ghost_verizon; this device is " + getprop("ro.product.device") + "."););

Delete the above lines, factory reset and wipe data 3x times. After doing this flash the ROM and GApps again. It should boot after about 5-10 minutes.:good:
[Moto X Android Development] Megatron007:
Finally Got RR , Crdroid And Aicp Rom Working ...The Main Prob Was Recovery First Edit The Updater Script as Said By [MENTION=5475344]##W4TCH0UT##[/MENTION] Flash Latest Twrp 2.8.1.0 And Den Do Factory Reset For 3 Times And Now Flash The ROM It Will Work Now :D :D

Result On Twrp -2.3.6.1- Bootloop

Philz - Bootloop

Twrp 2.8.1.0 - Booted :D

Credits [MENTION=5475344]##W4TCH0UT##[/MENTION]
[Moto X Android Development] mulle1:
not get out there, have a img file and no zip.

Can someone send me his TWRP?
[Moto X Android Development] ##W4TCH0UT##:
Here is the latest TWRP 2.8.1.0 image:TWRP 2.8.1.0 for Moto X
[Moto X Android Development] MikeyNick:
Yea, flashing gapps is necessary. Also, make sure you do NOT wipe the data partition after installing any cm12 build (this causes bootloop)

It's worked fine for me for the last few releases. What did you update from? did you reflash gapps and wipe cache/dalvik cache?

Yea, I'm currently maintaining this ROM while W4TCHOUT is busy with school, so they aren't linked in the OP. You can find my builds here: https://www.androidfilehost.com/?w=files&flid=26955
[Moto X Android Development] devarajan_p:
Update from 5.3.7 and yes wiped cache/dalvik cache

---------- Post added at 03:04 AM ---------- Previous post was at 03:04 AM ----------

And yes the speaker toggle didn't resolve it as well
[Moto X Android Development] mac1996:
Start new section, we understand your situation but please this thread is dedicated to rom development
[Moto X Android Development] Cassini-Huygens:
Latest 5.3.8 is still not booting up for me, i tried in cwm 6.0.4.8 and twrp 2.6.3.1 and its not working. Coming from latest cm12. Did cache wipe 3x. I could boot previous versions of this rom up to 5.3.6. I have xt1052 version of phone. Officall cyano nightlies are booting up just fine, but this rom is offering more in my opinion. Dont know what could be wrong, booting lasted for max 20min i didnt wait more than that. In cm12 is usually under minute.
[Moto X Android Development] kerryh420:
If you are on the 1052 from my understanding is that you need to open up the ROM zip go into the updater script:

unzip the ROM file.zip

-metadata

-com

-google

-android

-updater script. open the script with notepad or wordpad. Remove this line (you can also find more detailed instructions on page 1 of this thread) : assert(getprop("ro.product.device") == "xt1052" || getprop("ro.build.product") == "xt1052" || getprop("ro.product.device") == "ghost" || getprop("ro.build.product") == "ghost" || getprop("ro.product.device") == "xt1053" || getprop("ro.build.product") == "xt1053" || getprop("ro.product.device") == "ghost_retail" || getprop("ro.build.product") == "ghost_retail" || getprop("ro.product.device") == "xt1055" || getprop("ro.build.product") == "xt1055" || getprop("ro.product.device") == "ghost_usc" || getprop("ro.build.product") == "ghost_usc" || getprop("ro.product.device") == "xt1056" || getprop("ro.build.product") == "xt1056" || getprop("ro.product.device") == "ghost_sprint" || getprop("ro.build.product") == "ghost_sprint" || getprop("ro.product.device") == "xt1058" || getprop("ro.build.product") == "xt1058" || getprop("ro.product.device") == "ghost_att" || getprop("ro.build.product") == "ghost_att" || getprop("ro.product.device") == "ghost_rcica" || getprop("ro.build.product") == "ghost_rcica" || getprop("ro.product.device") == "xt1060" || getprop("ro.build.product") == "xt1060" || getprop("ro.product.device") == "ghost_verizon" || getprop("ro.build.product") == "ghost_verizon" || abort("This package is for device: xt1052,ghost,xt1053,ghost_retail,xt1055,ghost_usc,xt1056,ghost_sprint,xt1058,ghost_att,ghost_rcica,xt1060,ghost_verizon; this device is " + getprop("ro.product.device") + "."););

Once you delete this line the save exactly as it is and repackage the zip.

Flash as normal. (Do not wipe data, just cache and dalvik,,,,if anyone sees something wrong with my instructions please chime in, it's been a several weeks since I have had to do this...)

good luck.....EDIT: the smiley is there because it is a semicolon ; and parentheses ) it's part of the script to be removed. Wasn't supposed to show up as a smiley but it did.

k
[Moto X Android Development] Cassini-Huygens:
I did exactly what you said and now it says error ... (status 6). Not even flashing in cwm or twrp.

Updater.script is starting with ifelse(is_mounted("/system"), unmount("/system"));
[Moto X Android Development] kerryh420:
At this point the only other thing I can suggest is to flash philz recovery. I use version 6.57.9 and/or 6.58.7. I personally have not used CWM or TWRP in over a year but I would doubt that this would be the issue. Another difference is I use the 1060 version but from the initial version through RR 5.3.4 I had to do the same thing I described to you by removing the line of code. I got bootloop if I did not.

Hit up some other members for suggestions. Sorry I could not be of better help.
[Moto X Android Development] Cassini-Huygens:
No, man, big thanks for trying to help me, i'll do that tomorrow and see what i got. :good:
[Moto X Android Development] ##W4TCH0UT##:
Hi guys, I'm back. It'll take 2-3 days to setup my build machine as I'm trying some optimizations. Also thanks to [MENTION=1637655]MikeyNick[/MENTION] for maintaining this ROM for a month.

Regards
[Moto X Android Development] nathanharmonn:
glad to hear it! can't wait for some new builds
[Moto X Android Development] zapinho:
Battery

The phone turns off by 20% due to lack of battery when I turn on the charger to charge starts at 20%. Battery Calibration and does not solve.
[Moto X Android Development] kerryh420:
Right-o @##W4TCH0UT## be back! Hope finals/mid terms went well. Props to @MickeyNick for maintaining in your absence, he did well.

Would it be too early to ask either or you two if you know of have heard why the battery drain seems to be abnormally fast with version 5.3.8 (Compared to previous versions that is)?

(Am I the only person having/noticing this difference?)
[Moto X Android Development] upichie:
Just flashed, great ROM so far!

Whenever I turn my screen off it flashes the lock screen. Is there any fix for this? I can't be the only one.
[Moto X Android Development] niciolaux:
Same problem here with v5.3.4
[Moto X Android Development] The Dork Knight Rises:
Did you edit on your phone? Try editing from PC with Notepad++ or similar.

Editing on phone caused that error (Status 6) for me, something about phone editor messing with the encoding or something...
[Moto X Android Development] upichie:
Battery is actually pretty good while using the device on 5.3.8, but Cell Standby drains it so it has pretty bad idle time. Hopefully this gets addressed.
[Moto X Android Development] Faythx:
At first, when I was on 5.3.0 my moto x shutdown on 20%, now, on 5.3.4 he's shutting down on 50%. Can someone help me?
[Moto X Android Development] upichie:
I just did a full wipe install of 5.3.8 on a 100% charged battery yesterday and don't have any issues with misreported battery percentages.
[Moto X Android Development] Punchieo:
I can't find the source code for the kernel. Any help appreciated
[Moto X Android Development] Faythx:
Where's the download to 5.3.8? I can only see the 5.3.4. At first I did a full wipe, but to update to 5.3.4 I just make a dirty wipe, cache + dalvik.
[Moto X Android Development] Mont:
Check post # 581
[Moto X Android Development] Faythx:
Thanks, bro. I'll install it. Which is better, I'm on 5.3.4, I can only factory wipe, or should I full wipe? I don't want to lose my data, but I want a nice battery performance.
[Moto X Android Development] upichie:
If you're already experiencing problems, you'd be better of doing a full wipe.

That being said, I have "Cell Standby" showing up as the biggest battery drain on my device running 5.3.8. The battery performance while using the device is very good (4+ hours SOT), but it drains abnormally fast idling. Definitely looking forward to that being fixed in a future release. If it is, the battery life of this ROM will rival stock by a lot.
[Moto X Android Development] Mont:
Can't tell which is better. Flash Rom then gapps wipe cache/dalvik. Done
[Moto X Android Development] Faythx:
My biggest problem isn't the drain, is the shut down. Yesterday, I was on a party, when I got my phone to take a pic, it was on 50%, so when I open camera, it shut down and don't turn on again. I'm trying to battery calibration to resolve this issue. I'm like 4 hours away from home without any charger, so I need my phone to emergency calls(and social network).
[Moto X Android Development] Faythx:
Sorry for double post, but I need to thanks the guy who made 5.3.8. The active display is back! I love this so much. I just didn't like I'd lost the PitchBlack Theme, but ok, I can download it again. I hope this version fix my battery issues too.
[Moto X Android Development] mac1996:
I am on cm 12 and its not looking good ..can you tell me how is the version has some improvements in battery life
[Moto X Android Development] Faythx:
I'm not the best person to tell you that. Since I moved from KitKat to RR, my battery's life is like 1/3 of it was.
[Moto X Android Development] nathanharmonn:
honestly, battery life has been pretty decent on this rom. CM 12 had a lot of wake locks for me, but RR seems to hold off on wake locks a little bit better. if anything i'm getting 3+ hours of screen on time and easily making it through a whole day. usually its off the charger at 9 or 10 and i'm not having to plug it in until i get into bed around 11 or midnight.

---------- Post added at 03:12 PM ---------- Previous post was at 03:10 PM ----------

sorry i forgot to include that I'm on version 5.3.4

does anyone know how well 5.3.8 is running, and if so how is it? and can someone link it I'm having a rough time finding it.
[Moto X Android Development] upichie:
Here's my experience with battery life on 5.3.8.

From 100% charged if I use my device constantly, I can easily get 4-5 hours SOT (even with gaming). The drain while using it is very impressive.

But there's that annoying "Cell Standby" drain while it idles. So if I charge my phone to 100% and don't use it at all, 12 hours later it'll be at like 50% or less.

If I can fix the cell standby drain, the battery life will be amazing.

Can anyone else running 5.3.8 confirm whether or not they have "Cell Standby" listed as their top battery drain (above screen)? I'd like to know if it's just me.

---------- Post added at 11:54 AM ---------- Previous post was at 11:50 AM ----------

Here's the link to 5.3.8.

Performance on it is top-notch and the battery would be great, but I'm getting "Cell Standby" drain. Need a fix!
[Moto X Android Development] Faythx:
I can't believe my battery life's so low cuz of this ROM. My battery should be dying , everyone's having a nice experience with RR, so the problem must be my battery, not the ROM. My Moto X can't stand more than 6 hours of the charger anymore. When it get below than 50%, it can shut down anytime. My usb/charger pin is also with problem. I can only charge my Moto X with Samsung's charger. My original charger can't charge it, but when it can, it's the fastest charge ever.
[Moto X Android Development] marbertshere:
I'm not using this ROM (I'm on cm12) but I'm pretty sure if you switch to 3g from LTE or Global, you won't see cell standby drain.
[Moto X Android Development] Punchieo:
Could somebody be kind enough to post the links to the source code for this ROM and Kernel for the GHOST? i can't find anything related to this specific device on Resurrection Remix's GitHub. Thanks!
[Moto X Android Development] upichie:
Thank you so much! I'll test this out.

EDIT: Setting doesn't appear to stick on this ROM unfortunately. Thanks though! I'll remember this for the future.
[Moto X Android Development] adity:
Turn data off when on wifi.

You will see improvement over a couple of days
[Moto X Android Development] MikeyNick:
Hey all, sorry for the MIA, I've spent the last week moving from southern Cali to D.C. and it's been one hell of a week.

My build machine is currently still in transit with the movers, so I'm unable to build anything, but it sounds like W4TCHOUT is almost ready anyway.

And yes, I've also noticed some serious battery drain on 5.3.8. Last night I left my apartment at 17:30 with a little over 50%, used it to navigate to a place about 20 minutes away, maybe played a couple songs. stopped at a restaurant, used it to text a couple times. If I hadn't turned it off a few times to reserve battery life for when I knew I'd be needing to pick someone up, it would have been dead by 19:00 (even turning it off a few times for 15-20 minutes each, it was still totally dead by 20:30). You can imagine how much of a hassle that is being in D.C. for the first time and having your only form of gps navigation die. So that was fun...

Anyway, it was fun maintaining for the month, and a nice little boost to my thanks meter :cool: I might give 5.3.9 a try and see if it's better, but I'm really tempted to just go back to stock until I learn the area better. I can't continue to get stranded two hours after I leave the house with 50% battery, that's absurd...
[Moto X Android Development] jco23:
thanks for your work - much appreciated. why anyone would move from Cali to here in DC is beyond me....
[Moto X Android Development] Faythx:
Hey, I need tô back to kit kat, when me moto X get 50% it dies. I can't deal with it.
[Moto X Android Development] MikeyNick:
Milady got a government job, and my job let me transfer to their D.C. office. Just a few years here so she can put top secret clearance on her resume, then we are heading to the Bay area. So yea, not necessarily what I wanted but that's what relationships are all about :-p

Hopefully you took a nandroid like all should do before flashing a new ROM. if you didn't, you'll need to fastboot flash all the stock images or use RSDLite
[Moto X Android Development] Faythx:
Yeah, I've the backup but I don't want to install my apks again, I just want a way to solve my battery issues.
[Moto X Android Development] upichie:
Try bump charging to 100% and flashing the ROM again. It seriously sounds like a battery calibration issue. You can always backup your apps with Titanium Backup if you want to full wipe and restore them all easily.

Maybe your battery is just dying though. How long have you been using your device?
[Moto X Android Development] Faythx:
I've this motox since 14/06/06. I'll try to flash on 100% batery. I always flash with 60%+
[Moto X Android Development] ##W4TCH0UT##:
Update coming tomorrow. It will be compiled with sabermod toolchain, as well as adding graphite and o3 optimizations.You can search about these on google. Sorry for providing update so late.

Regards
[Moto X Android Development] athulele:
it'll include today's changes made in CM, right?

they've added the quick capture gesture when screen on.
[Moto X Android Development] CsR0501:
Uh? :confused:

Can you explain to me that plz? :fingers-crossed:
[Moto X Android Development] ##W4TCH0UT##:
Yeah, I guess. I didn't check the commits made today.
[Moto X Android Development] athulele:
Ah, okay. Please take a look if you can.

---------- Post added at 10:57 PM ---------- Previous post was at 10:56 PM ----------

Every CyanogenMod nightly there are new bug fixes or features.

Today's (24th Mar) nightly added the flick to camera feature when screen is on.
[Moto X Android Development] zapinho:
?

Where do I find the version 5.3.9?
[Moto X Android Development] Mont:
There is no 5.3.9.
[Moto X Android Development] zapinho:
Sorry

Oops, sorry.

It is the changelog of the start page presents fixes in version 5.3.9.

Anyway tomorrow we will have news.
[Moto X Android Development] flick36:
Developer just say a few post earlir that he will upload a new version tomorrow...
[Moto X Android Development] ##W4TCH0UT##:
Regarding the new build, I have built it, but not tested it yet, so will upload once it boots in my phone.

EDIT : Guys, I'm really sorry. I won't be providing any update today, since the version I built bootloops. Proper update tomorrow.

Regards
[Moto X Android Development] devarajan_p:
Any chance that in call audio is suddenly lost... 5.3.7 was working fine till an hour back. Now no audio but the speaker phone works fine as well as the headsets both wired and Bluetooth
[Moto X Android Development] Faythx:
Hey, W4TCH, can you test on your Moto X if your battery is ending fast and turns off if battery is 40%<? I'll try to flash the 5.3.9 on 100% battery, but I want to know if there's no bug on ROM, cause if it's only on my Moto X, I'll take it to maintenance.
[Moto X Android Development] ##W4TCH0UT##:
Yes, it was draining very fast on 5.3.8. Let'see if the toolchain I've used will improve something or not.

Regards
[Moto X Android Development] Faythx:
Yesterday, I tried my max to don't use my cell, but when I'm going back to home, I just unlocked it to listen some music on Spotify, my battery was on 51%, it just flash, and the corners are like on battery saver(for me, green), and my battery shows 0%. But when I charge him, he starts from 51%, but I can't turn it on until I charge. It's killing me. If I don't touch him, he'll just die slowly(not so slow), but if I try to unlock it, it'll just turn off.

It's killing me. I don't know if it's battery issue, bad calibration issue, ROM issue. D:
[Moto X Android Development] ##W4TCH0UT##:
Well, I didn't have those crazy issues with battery, but yeah, battery's draining real fast.
[Moto X Android Development] Faythx:
I'll try calibrate with http://www.xda-developers.com/calib...asy-way-with-battery-calibration-for-android/, if it works, I post here to help future users.
[Moto X Android Development] helloimseba311:
bootloop on XT1058
[Moto X Android Development] zapinho:
Already tested?

Hey, someone has tested the version 5.3.9? I notice that she has about 126mb, and the previous version has 243mb, as the difference in size?
[Moto X Android Development] upichie:
I reported earlier about "Cell Standby" draining my battery.

I flashed CM12 to see if it had the same problem, but it didn't. I flashed the RR 5.3.8 kernel onto CM12 and the "Cell Standby" drain came back. Flashed back to the stock CM12 kernel and the drain disappeared.

Looks like the kernel causes it somehow.
[Moto X Android Development] ##W4TCH0UT##:
Guys 5.3.9 is not yet uploaded. Please wait for my post.

EDIT: Resurrection Remix v5.3.9 is uploaded!!!

Enjoy everyone!!!!
[Moto X Android Development] Faythx:
Yay, no bootloop! I hope you fixed the battery drain.

****! I did factory reset wipe on TWRT. I should just Cache+Dalvik damn!

W4TCH, Where's the Pitchyblack? :x
[Moto X Android Development] Mont:
Anyone have lags some times when playing videos?
[Moto X Android Development] Faythx:
I did on 5.3.8, now 5.3.9 is working fine. There's like 1 hour I'd flash it and it's 94% battery, seems like the drain isn't that huge anymore.
[Moto X Android Development] devarajan_p:
Ambient display doesn't seem to work
[Moto X Android Development] czuppa:
Ambient display

In fact, Ambient display doesn´t work

It´s important for me. So, returning to 5.3.8
[Moto X Android Development] ##W4TCH0UT##:
Ambient display works alright for me.

Regards
[Moto X Android Development] Faythx:
It's working fine to me.

W4tch, seems like all battery issues have been solved, thanks bro!
[Moto X Android Development] Mahesh8348:
Is any one have battery drain .. I have huge battery drain 71 % to 15 % in 35 mnts
[Moto X Android Development] CsR0501:
Clean or dirty flash? What kernel? come from another ROM? :confused:
[Moto X Android Development] Deejay Bosz:
Update Moto X2?

hi, this is not the right post but you believe that soon may update the Moto X2 (2014)? Thank You
[Moto X Android Development] 690sid:
Guys, like CM12, does this ROM have problems with the Camera shutting down, or not working properly?
[Moto X Android Development] jco23:
camera has been working fine for me - but I was on 5.3.4 - haven't tried 5.3.9 yet. also, I used the moto camera package and the google camera apps.
[Moto X Android Development] Faythx:
Hey, W4tch, my battery ends so fast. :x I thought it's going to get better. But it ain't turning off in 40% anymore.
[Moto X Android Development] ##W4TCH0UT##:
I can't fix it, but I'll try to optimize more and more battery usage. Also, you can use wakelock blocker in the ROM to block system wakelocks.

Regards
[Moto X Android Development] Faythx:
What the... My phone was on charge, 51%, I removed the charger and put it on again, and it gets 100% instead. Oh boy. I can't stand for it anymore. I need a new phone!
[Moto X Android Development] niciolaux:
Clean flash v5.3.9 and it's very good, all the main features work fine, but I can't set the Google voice typing, in the OK Google detection I can't register my words, it seems that the mic is not working... Someone can help me please?
[Moto X Android Development] jco23:
not really sure if this helps, but I noticed when I was on 5.3.4, the phone had no problem going to "deep sleep" mode (despite it maintaining a bluetooth connection with my watch. other later versions do not. so the issue could be kernel related, perhaps? also, I noticed that the name of the kernal is warmachine - hope that's named after the MMA fighter that was arrested on attempted murder charges...

but nonetheless, I've had a great lollipop experience on this rom (5.3.4) - i've tried them all, and they all are quite good.

keep up the great work, and thank you.
[Moto X Android Development] Faythx:
Hey, W4tch, what do you think about an amazing life profile? How it works: the 3g will be always off*. In {var} by {var} minutes it'll turn on, download all notifications, and turn off again. And you make a button, to navigate, when unlock the screen, you press the button and 3g on, and when you lock your screen, turn off the 3g and the var time starts count.
[Moto X Android Development] FranGuerraIACC:
someone else the ambient display will not work?
[Moto X Android Development] Mahesh8348:
i came from cm 12 .. Kernal same with rom.
[Moto X Android Development] athulele:
Dirty flash didn't work for me.. 25th march nightly