yashsingh1/xdaforums huggingface dataset:
[X Play Android Development] Ebrahim Ali:
Check in the Moto X play General thread for the scripts

Kernels you will find under Android development threads
[X Play Android Development] fablebreton:
https://xdaforums.com/moto-x-play/general/interactive-governor-battery-save-t3443201

the last one is glashfishCP
[X Play Android Development] lR lP:
Thank you!
[X Play Android Development] andreliu:
Have radio & camera apps changed on this ROM ?
[X Play Android Development] Euphorion:
I'm using this rom daily ( 05/03 "personal" build) and it's running great. No "data bug" contrary to AOSPextended, LineageOS, AICP.

Only minor issues : "do not disturb" mode which activate itself during phone calls

Default contacts app crashes (resolved by installing google contacts on playstore).
[X Play Android Development] GtrCraft:
Check the general section of this forum. There is a thread about scripts
[X Play Android Development] GtrCraft:
Will be fixed
[X Play Android Development] cucumbers:
Thanks
[X Play Android Development] kpamkar:
Substratum not applying themes. Any idea why ?
[X Play Android Development] K.khiladi:
If the rootless commits haven't been merged in rom, there will be such issues.
[X Play Android Development] kpamkar:
I later discovered that substartum was too lazy to reboot the phone plus I had accidentally enabled' remove other themes '

It works great now
[X Play Android Development] GtrCraft:
Personal 5.6 build is up (Backup tool still doesnt work so remember to reflash gapps, mods etc also):

https://www.androidfilehost.com/?fid=673368273298937993

-Rootless subs added
[X Play Android Development] vik_x:
I managed to get my phone into small screen mode somehow this morning. How do you enable it?
[X Play Android Development] DragonClawsAreSharp:
By swiping on the navigation bar. Quit by tapping black space
[X Play Android Development] cucumbers:
Looks like the Ambient Display gesture options are still missing from the Gesture Shortcuts app in the latest builds (including the latest Official 0313 build), and the option to pulse Ambient display on pick-up is still enabled by default. Anyone know of a way to disable this, maybe with a terminal command? (and I tried Glance Plus, that only seems to give you the option to turn this on, not off...)

[Edit] NEVERMIND :) I just restored a backup of the Gestures app from the 0224 build and it's all fine now.
[X Play Android Development] Jagadhidh:
very good rom. But official release quite slow, still december patch level
[X Play Android Development] dzesiu2002:
Hello. I want ask using gapps on first page from link is a good decision ? Also want ask this rom is rooted or need flash it manually, if yes which one to choose ?

Thanks.
[X Play Android Development] fablebreton:
No, quite old, use dynamics Gapps or open gapps.

Don't remember if it come already rooted, but anayway easy to root with magisk
[X Play Android Development] Shibin_1985:
Quick Unlock

Beware before activating quick unlock if your pin is of more than 4 Digits. Unlike other ROM's it only works with 4 Digit pin.
[X Play Android Development] vekkuli15:
How can I activate quick unlock? Is it a own app or integrated feature?
[X Play Android Development] Shibin_1985:
Its an integrated feature.. Go to Settings>Security & below screen lock, you can find quick unlock option.
[X Play Android Development] vekkuli15:
Okeyh. Thanks. Now I found. But unfortunately impossible with password..
[X Play Android Development] Shibin_1985:
It's for PIN
[X Play Android Development] dzesiu2002:
After instalation this rom i cant make a call also get crash in contacts i using two version of gapps (dynamics and opengapps) any solution ?
[X Play Android Development] Shibin_1985:
There is no such issue in ROM. Did u flashed both dynamic & open gapps together??? Did u performed a clean flash?
[X Play Android Development] fablebreton:
The contact bug was in last official if i remember well, but patched in last Gtrcraft personnal version. If you want to use the official one then you can install google contact from store
[X Play Android Development] rgshah3:
I know it's a noob question, but how do I get root??

Also, I have 2 accounts synced. The contacts get repeated double now. I have a copy of my contacts on the 2nd account and now I see 2 instances of the same account. How do I fix that?
[X Play Android Development] fablebreton:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[X Play Android Development] srinikethan1392:
Hi, recently i switched back to aosip 5.6 latest build., but i see that security patch level is dec 5 2016, also i am not getting a decent battery life, with google play services being the biggest drainer... im running the glassfishCP script as well, any advise on this is highly appreciated.

i came back from xenonHD rom, it was very fluid but idle battery drain was very high even in safe mode
[X Play Android Development] Shibin_1985:
Install System Update Service from Play store & give root permissions. Battery life will improve. You can also try AOSP Extended Rom or RR Rom.
[X Play Android Development] srinikethan1392:
hi, thanks shibin.... i have tried everyrom..with latest updates RR is taking a pretty big hit on battery life, aosp latest i havent tried, AOSIP had best battery life, so came back to this...system update service?what does it excatly do?

i dont see greenify effective on my phone, it doesnt doze at all...i tried forcedoze too..dint get any help on that too ..
[X Play Android Development] Shibin_1985:
Yeah, AOSIP was best in terms of battery life. Hopefully it'll be taken care of in next update. System update service blocks wake locks of play store related services. Play store services wake up devices even in idle or sleep mode. So can save idle battery drain to an extend. You can always uninstall it from play store if it isn't serving the purpose. Greenify works perfectly with Xposed frame work. But unfortunately Xposed is not released yet for Nougat. Another app you can try is Deep Sleep battery saver. You can customize various stuffs in that. Many kernels and battery scripts are available too, you can try those. But always take a nandroid backup before you mess up :)
[X Play Android Development] srinikethan1392:
thanks mate...:) will try deep sleep battery saver, this wakelock detector shows a lot of stuffs..and most of the service it just shows "dexopts"...im a noob in this...you have any idea y doze isnt kicking in..?is your phone going into doze regularly?or do you see ur battery stats ramping down steadily?
[X Play Android Development] GtrCraft:
dexopts is the app optimization in nougat, do not disable that
[X Play Android Development] srinikethan1392:
thanks [MENTION=5293805]GtrCraft[/MENTION], i mean i see that as service under wakelock detector, so i was trying to read on what that was., i have disabled only few services using disable service, but aosip previous builds were very friendly on battery, i will give a weeks time and report on the idle battery drain, and other stuff :)
[X Play Android Development] Shibin_1985:
Did you had issues of doze in Xenon HD? Its damn smooth and i love it. M using RR as of now as i use WIFI most of the time and it got hell of customizations. I din't had dozing issues with RR. But as you said, battery drain is massive. By using Greenify, Optimus kernel, Glass fish scripts, Disable SystemUpdateServices & Deep Sleep Battery saver to an extend i did damage control in RR.
[X Play Android Development] srinikethan1392:
Yes huge huge idle battery drain in xenonhd, I plugged the charger at 96% overnight in 9hrs, with 4g on it drained 14%...Considering no activity at all....It shudn be that much right, but it was very fluid with no stutters at all...

Now I'm currently in aosip wid glassfishcp on the default kernel, still it's better than xenonhd, but I was mostly on RR always due to customisation, but latest version is not battery friendly anymore...It doesn't doze at all, Even with forcedozd
[X Play Android Development] Shibin_1985:
Yah, 14% is a massive drain when idle. We don't have much options to select from for nougat roms. Even Lineage OS got many bugs. We'll have to wait for official release of nougat, by then hopefully even xposed will be released. Else back to Marshmallow.
[X Play Android Development] srinikethan1392:
True, I saw some link related to nougat Xposed being tested...I tried and it broke my os....After using the convenience of nougat, and the look...And redesigned notifications.. Quick replies it doesn't make me feel roll back to marshmallow...Shud see what happens...
[X Play Android Development] Shibin_1985:
Xposed is still under development bro. No idea when it sees the light. All we can do is wait. Even official release of Nougat got postponed to may. Some say it'll be just 7.0, while some say it'll be 7.1 or 7.2. Yeah, got to wait and watch.
[X Play Android Development] srinikethan1392:
hahaha...yeah after lenovo took over, they just messed the brand completely...with a phone every fortnight to a month, they cant work on older phones anymore at all.. i know but some post said , its in beta and it was booting, so i tried the xposed, and it broke completely. but currently just trying to work out a combo with stable battery and performance, il give a weeks time for the rom to settle down, later wud try the earlier build from jan/feb. . .but for me going back to marshmallow ..nah i dont think so...il stay on nougat. till [MENTION=5293805]GtrCraft[/MENTION] works on the device actively, il keep testing and using it...:) very happy to support his work :)
[X Play Android Development] Shibin_1985:
Yeah, no one will prefer downgrading OS. Indeed, GtrCraft works on multiple ROM's and yeah after all it's custom ROM's. Minor glitches do happen :)
[X Play Android Development] kpamkar:
Is Android OS consuming the most battery ?
[X Play Android Development] srinikethan1392:
No Google play services is on the top, but Android is drain is in the top 4 drainers...I always do a clean flash with roms
[X Play Android Development] bartek.habiciak:
This rom support substratum theme engine ?
[X Play Android Development] Shibin_1985:
Yeah. It do support :)
[X Play Android Development] bartek.habiciak:
But when i was set theme there was no changng in UI
[X Play Android Development] Shibin_1985:
Flash this zip file from the link below & ur good to go.

https://drive.google.com/file/d/0B5a7fC9ekt7sMnYxOGxHSW9Mbk0/view?usp=drivesdk
[X Play Android Development] kpamkar:
How many days have gone by since you flashed the ROM ? Also , are you using a custom kernel by any chance ?
[X Play Android Development] srinikethan1392:
Nope....I'm on the stock kernel from the ROM, have been using this latest version from a couple of days..Over the weekend..
[X Play Android Development] kpamkar:
I don't know what's wrong with N Roms honestly speaking. I guess the phone becomes pretty warm as well if I'm not wrong.

Sometimes is some rogue app. Last time when I had better battery stats, it funnily turned out that SuperSU was causing a lot of partial wakeups. Also, turn of backup data in settings. And greenify causes issues as well. Try not to mess around with the kernel since custom kernels cause problems on spectrums ROM. I don't know about this ROM. Also, I guess put the GPU governor to msm-adreno and don't use clusterplug.

Hope this helps. If Android OS is consuming more than 10-15% then reinstall the ROM. Or else use some other SuperSU app. Also, don't use entropy seeding a lot, it's known to overheat the phone too
[X Play Android Development] cucumbers:
Wondering whether the extra drain with the last versions of AOSiP is because the "pulse Ambient display on unstow/wave" option is ON by default in these versions, and the option to disable that (without disabling Ambient display entirely) is missing from the Gestures Shortcuts. I feel like I notice extra drain when that feature is on, so I always turn it off. Since I didn't want to lose Ambient, I actually flashed the Gestures Shortcuts from the 0224 version.

But the earlier builds of AOSiP, at least, were the first N ROMS where I felt like battery drain was what it was supposed to be again, for whatever reason.
[X Play Android Development] GtrCraft:
If you want to know the cause of the drain, use better battery stats and wakelock detector
[X Play Android Development] srinikethan1392:
[MENTION=5293805]GtrCraft[/MENTION], I switched back to jan30 build...With default kernel and glassfishcp script, it's holding on well with battery, very less idle drain...The latest version had a lot of drain from Google play services,..With same setup I'm running the previous build and it's good...Just wanted to share this info....
[X Play Android Development] GtrCraft:
Blame google not me
[X Play Android Development] srinikethan1392:
Hahaha...Not blaming u at all...Just wanted to inform that with same setup and gapps...The drain was high in the latest version...That's all ...
[X Play Android Development] plb-dev:
how stable is the latest beta for daily use?
[X Play Android Development] leonardoroza:
Excellent
[X Play Android Development] plb-dev:
can you post some screenshots please?
[X Play Android Development] nplezka:
I have this drain too... is 0130 build the only without this bug?

I'm going to flash it, so...
[X Play Android Development] srinikethan1392:
i guess so...so far on this build i havent got any bugs, battery holds well too... the latest build was one hell of drainer for me:) happy flashing
[X Play Android Development] nplezka:
Well, I'm on 0130 build for three days and today I encountered the Play Services drain again. Now I think it's not AOSiP fault... [MENTION=5293805]GtrCraft[/MENTION] can you elucidate us over this question? That's so strage...
[X Play Android Development] srinikethan1392:
i was on the same build for almost a month, no signs of any play services drain, check your google accounts once, like remove and re-add it..and give it a weeks time :)]

Hit thanks if helped :)
[X Play Android Development] nplezka:
And what about la test builds? If it's not really AOSiP I go back to 0313...
[X Play Android Development] fablebreton:
GtrCraft is very good, but iam pretty sure he is not magician nor working for google ....

Have you clean flashed ?

Have you tried delete gapps cache

Have you tried other Gapps "lightweigt" like : Mini dynamics or pico open gapps

You can try to disable Gapps Services/receivers/supplier with a root app like 3c toolbox.

regarding what you use or not

, it is possible to disable things like :

ads. analytics. backups.beacon. car. cast. chimera. drive. feedback. fitness. games. google help. herrevad. kids. mdm. nearby. people. photos. plus. reminders. search. stats. vision. wearable . some location services (not all if you use apps like gmaps)

You can also force gapps to doze : Go to /system/etc/sysconfig, find the filegoogle.xml and edit it

<!-- <allow-in-power-save package="com.google.android.gms" /> -->
[X Play Android Development] nplezka:
Yes, yes and... yes, I tested dynamic and open (I'm always on pico open GApps)

Just the same.

Well, I'll try disabling some services
[X Play Android Development] pijes:
install kernel adiutor, use the phone as usual and look at the cpu history. just in case if the cpus are running at high speed at all times
[X Play Android Development] fablebreton:
Good news for those who wait a new official build :

"Josh Fox (XlxFoXxlX)

Propriétaire

Currently redoing based on a more updated tag from caf and due to time restraints from most members due to life it has taken a bit longer then we hoped but we should be back on track in less then a week

"
[X Play Android Development] Shibin_1985:
For those who are facing issues with Magisk

Steps to remove Magisk from ROM flash file

1) Unzip the ROM flashfile

2) Delete magicsk folder

3) Go to META-INF>com>google>android>updater-script

4) Open with Notepad++ (https://notepad-plus-plus.org/download/v7.3.3.html)

5) After opening the script file, find these lines below, remove them and save the file

ui_print(" ");

ui_print("Flashing Magisk...");

ui_print(" ");

package_extract_dir("magisk", "/tmp/magisk");

run_program("/sbin/busybox", "unzip", "/tmp/magisk/magisk.zip", "META-INF/com/google/android/*", "-d", "/tmp/magisk");

run_program("/sbin/sh", "/tmp/magisk/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/magisk/magisk.zip");

ui_print(" ");

6) Zip back all the files using winrar or win zip

7) Copy this to phone and flash the ROM

8) Now flash SuperSU or Flash lineage OS rooting zip file (See the attachment) to root.

9) Remove the Magisk app using sys app remover

Congrats, you're good to go !!

Note : Also including Magisk Uninstaller below. It used to work in previous builds and now its giving boot loops or just gets stucked in moto logo with vibrations. So try this at your own risk. Safer method is to remove it from ROM (above method) and flash it.
[X Play Android Development] mw1man:
Phone contacts are getting closed all the time
[X Play Android Development] fablebreton:
known bug , use personal gtrcraft build or install google contact app from store
[X Play Android Development] Forcelord50:
OK Google not working

Is it a known bug that "OK Google" isn't working? I can't get it to work on any screen and I've retrained the voice model twice and made sure that it's turned on for all screens in the settings menu, although it doesn't work from the home screen anyways. I'm just not sure why it isn't working.
[X Play Android Development] kpamkar:
I'm using google assistant without any problem but on AICP
[X Play Android Development] GtrCraft:
Sorry for the long wait, here is a personal 5.7 build:

https://www.androidfilehost.com/?fid=457095661767154640

-Rebase so a clean flash is recommend

-Updated to april patch (No 7.1.2)

-A lot more I don't know
[X Play Android Development] cucumbers:
Has it been switched to Magisk?
[X Play Android Development] GtrCraft:
No, you have to root yourself
[X Play Android Development] cucumbers:
Ok thanks
[X Play Android Development] manan001:
Dont be sorry bro keep you great work. You rock.. And many thank to you for maintaining moto x play
[X Play Android Development] mw1man:
No sim detected.?
[X Play Android Development] GtrCraft:
Ohh it's you again. Not even gonna bother with this
[X Play Android Development] arcisz:
Hi GtrCraft,

I have the same issue with no SIM detection, tried to remove them, also I've added local.prop file as below and still no luck - is there any other solution for it?

ro.gsm.data_retry_config=default_randomization=2000,max_retries=infinite,1000,1000,80000,125000,485000,905000
persist.radio.plmn_name_cmp=1
persist.radio.force_get_pref=1
persist.radio.multisim.config=dsds
ro.telephony.default_network=2
ro.telephony.ril.config=simactivation
[X Play Android Development] cucumbers:
Same here, no SIM detected... reverting to previous build for now.
[X Play Android Development] rakle:
no sim detected

I agree to ......:confused:
[X Play Android Development] mw1man:
Mmmm. Not only i
[X Play Android Development] GtrCraft:
So, you give no logs or any way of help. Just some half baked english and expecting me to fix it...
[X Play Android Development] mw1man:
Hi sorry for the misunderstanding I have a log stamped maybe you have something.

Sorry for my English :crying:
[X Play Android Development] carl_oak:
I don't know why ppl tend to be rude if one speaks a poor English. At least he's trying to communicate, saving the fact that he didn't provide the logcat. I wonder if native speakers would think it's fine if a French person or any other foreign speaker were rude cuz you can't speak French. Nonsense.
[X Play Android Development] GtrCraft:
You are taking this way too serious
[X Play Android Development] GtrCraft:
This build should have a working sim:

https://androidfilehost.com/?fid=673368273298948676
[X Play Android Development] cucumbers:
Yup, SIM is now working. Many thanks!
[X Play Android Development] arcisz:
Thank you so much GtrCraft :good:
[X Play Android Development] GtrCraft:
V5.8 is here:

https://www.androidfilehost.com/?fid=745425885120726936
[X Play Android Development] brom25:
Time for me to upgrade from 6.0.1! Any known issues in v 5.8? Thanks!
[X Play Android Development] GtrCraft:
I just tested, apart from one FC in owl's extra settings nothing
[X Play Android Development] cucumbers:
Can we dirty flash?
[X Play Android Development] GtrCraft:
Yes, I didn't tell you to clean flash so you can dirty flash
[X Play Android Development] Gelado_:
I have a little problem with the battery when it is going about 15% or 13% left, my phone turn off :(
[X Play Android Development] moozer:
This isn't difficult to resolve. Typically what's happening is your phone isn't accurately gauging your phone batteries remaining juice, and we just need to calibrate the device!

1. Discharge your phone fully until it turns itself off.

2. Turn it on again and let it turn itself off.

3. Plug your phone into a charger and, without turning it on, let it charge until the on-screen indicator says 100 percent.

4. Unplug your charger.

5. Turn your phone on. It's likely that the battery indicator won't say 100 percent, so plug the charger back in (leave your phone on) and continue charging until it says 100 percent on-screen as well.

6. Unplug your phone and restart it. If it doesn't say 100 percent plug the charger back in until it says 100 percent on screen.

7. Repeat this cycle until it says 100 percent (or as close as you think it's going to get) when you start it up without being plugged in.

8. Now, let your battery discharge all the way down to 0 percent and let your phone turn off again.

9. Fully charge the battery one more time without interruption and you should have reset the Android system's battery percentage.
[X Play Android Development] Gelado_:
i got it, i made this process and i think it's worked fine, thanks.

---------- Post added at 02:52 AM ---------- Previous post was at 02:42 AM ----------

now a new question... my second sim doesn't work lte connection, how can i fix it :)
[X Play Android Development] Shibin_1985:
LTE sim should be in 1st sim slot always.. Select preferred network mode as LTE. Also Enable Enhanced 4G LTE Mode.
[X Play Android Development] Gelado_:
I did it, but I have 2 Sim LTE , 1 on 1st slot, and 1 on 2st slot, but only 1st slot work LTE mode, and 2st slot doesn't work LTE mode. Why?
[X Play Android Development] Shibin_1985:
Only one 4G LTE sim can be used at a time. You can use other slot for 2g or 3g. Because it's designed to be so !
[X Play Android Development] Gelado_:
:crying: do you have another rom for my situation? Dual Sim LTE, alright?
[X Play Android Development] Skeptico:
Pretty sure they're all like that.
[X Play Android Development] Shibin_1985:
Hardware is designed to be so.. ROM can't do nothing about it. Its like asking for WIFI support on a mobile or PC with no WIFI hardware integrated :)
[X Play Android Development] GtrCraft:
5.9 is here:

https://www.androidfilehost.com/?fid=529152257862723198
[X Play Android Development] mizaj:
7.1 2?
[X Play Android Development] leonardoroza:
Don't worry, I'll flash and see just for you :svetius:
[X Play Android Development] portox:
7.1.1
[X Play Android Development] GtrCraft:
The difference between Tesla and this is that AOSiP is fully based on CAF, Tesla is partly based on it
[X Play Android Development] longerXDA:
Another near perfect ROM.

No bug so far and, as a first impression, with better battery life than AOSP Extended.

Thank you very much.
[X Play Android Development] Skeptico:
Yeah the battery life is incredible. Best I've ever seen on any custom ROM.
[X Play Android Development] GtrCraft:
New weekly is up n the official download site (Weeklies will be released every Tuesday or Wednesday)
[X Play Android Development] leonardoroza:
I will try this over AOSP extended, seems better ;)
[X Play Android Development] dado_13:
It's normal, that SELinux is set to permissive by default?
[X Play Android Development] GtrCraft:
Yes, I recommend magisk nowadays and if lux is set to enforcing with it, lot's of problems happen
[X Play Android Development] icantstopflash:
flashing a kernel switch it to enforcing