yashsingh1/xdaforums huggingface dataset:
[X Play Android Development] nutsLa:
If I install the "no gapps" version and flash opengapps (pico or nano), will work?

I only want a slim version of stock, without root.
[X Play Android Development] minimale_ldz:
Open GApps won't work I'm affraid.
[X Play Android Development] nutsLa:
There is another way to have Gapps (without using Micro GmsCore)?
[X Play Android Development] minimale_ldz:
You can download the package with all the files I've removed and put GApps back into the rom before flashing it.
[X Play Android Development] nutsLa:
I don't understand, sorry.

Can I download the "Bloat" file, remove the files I don' want and flash the zip?
[X Play Android Development] minimale_ldz:
No, the "bloat" contains everything that was removed from original, stock rom, so what you'd have to do would be downloading both XDRom and bloat and copying GApps files from bloat to the XDRom before prior to flashing it. The files that need to be restored are:

/system/priv-app/ConfigUpdater

/system/priv-app/GmsCore

/system/priv-app/GoogleBackupTransport

/system/priv-app/GoogleFeedback

/system/priv-app/GoogleLoginService

/system/priv-app/GoogleOneTimeInitializer

/system/priv-app/GooglePartnerSetup

/system/priv-app/GoogleServicesFramework

/system/priv-app/Phonesky

/system/priv-app/SetupWizard

/system/priv-app/SetupWizardExt

/system/app/CalendarGoogle

/system/app/DeskClockGoogle

/system/app/GoogleContactsSyncAdapter

/system/app/GoogleHome

/system/app/GoogleTTS

/system/app/Maps

I believe this should be enough.
[X Play Android Development] nutsLa:
Thank you my friend. I'll try later!
[X Play Android Development] baskwo:
This isn't true.

I'm on XDR 24.107-52-5 (EU, single sim, October 2016 security patch) version and I installed nano version of OpenGApps and I can install whatever I want from Google Play Store :)

-Baskwo
[X Play Android Development] minimale_ldz:
Really? I once tried and it didn't work for me. Thanks for the info.
[X Play Android Development] Chaninoza:
do you have the disabler as well?
[X Play Android Development] minimale_ldz:
just delete the following from your phone:

/system/app/MotoDisplay_FWProxy_3.0
/system/app/MotoSignatureApp
/system/priv-app/MotoActions
/system/priv-app/MotoDisplay_3.0
/system/priv-app/MotoOneTimeInitializer
/system/priv-app/SlpcService
/system/priv-app/SlpcSystem

and reboot.
[X Play Android Development] iniro:
I will do a second try,

I added this apps

in \app ->

GoogleContactsSyncAdapter

MotoDisplay_FWProxy_3.0

in \priv-app ->

CalendarProvider

GmsCore

GoogleBackupTransport

GoogleFeedback

GoogleLoginService

GoogleOneTimeInitializer

GooglePartnerSetup

GoogleServicesFramework

MotCamera

MotoDisplay_3.0

StorageOptimizer

I also replaced font with stock font.
[X Play Android Development] minimale_ldz:
AFAIK Setup Wizard won't really work without Google Services so you'll basically need GApps version which I'm curently uploading. I'll add a link as soon as it's ready.
[X Play Android Development] minimale_ldz:
Don't forget Phonesky in /priv-app - it's a Play Store client
[X Play Android Development] iniro:
Anything more? I want Ambient Display too :)

Sorry for be impatient, I will wait to your GApps upload.

Thanks again!
[X Play Android Development] minimale_ldz:
I honestly never cared for Ambient display as it's a battery drainer but I believe restoring MotCamera and MotoDisplay should be enough. Also I wouldn't care about StorageOptimizer, it's used to offer you an option to move media files from internal storage to SD card to free some space. It will spam notifications/home screen with this request from time to time.
[X Play Android Development] iniro:
Thx, and then how activate Notification Led, I tried eskamhl's Marshmallux v2.0 led patch, but doesnt work for me...

---------- Post added at 12:49 PM ---------- Previous post was at 12:28 PM ----------

Ohhh thx!!

Downloading Lux_XDRom_6.0.1_ver1.0beta_GApps.zip (GApps included) - 276.1 MB
[X Play Android Development] minimale_ldz:
I'll look into that
[X Play Android Development] minimale_ldz:
GApps version is now available. The link is included in OP
[X Play Android Development] kamarilla:
Here you have how you would add led support to this rom, but a custom kernel (I use squid kernel) is needed to work. I use that kernel and it is stable and works great:

Link to the kernel: http://xdaforums.com/moto-x-play/orig-development/kernel-squid-kernel-moto-x-play-t3200039

Link to needed files: https://mega.nz/#!p9sy3LgL!EZvYrBG7L5EErJWF8MwlGfBgQZUUBGX9hvmzteZ2-wM

To get the LED working, you need to have root, an app to write to /system and change file permissions. Root Explorer for example.

1. Download the files from mega link

2. Use Root Explorer or similar to copy the 2 files to /system/etc/firmware on your Moto X Play. You have done it correctly if there is a prompt to overwrite files.

3. Use Root Explorer or similar to make sure both files have permissions 644 (they will probably not, by default). Thats RW/R/R if you didn't know.

4. Reboot

5. If done correctly a couple of seconds after the reboot there will be a notification and then a prompt to "Uninstall Motorola Sensor Suite". Agree, let the device reboot again.

6. LED is working

All credits go to squid2 for the kernel, scottdanpor for the mega files and AtomicStryker for the How to

---------- Post added at 01:11 PM ---------- Previous post was at 01:04 PM ----------

Wich Gapps has been included? only basic gapps as google play services... or all that came with the stock rom? Suposing that all google apps can be downloaded from google play, the best would be only add esential gapps. (only a sugestion :p)

Is now the setup wizard working? or still needed to perform the adb script after setup installation? if not needed you could remove the adb persistant code from the gapps version.

Thanks again for your work !!
[X Play Android Development] iniro:
Why is necesary MotoOneTimeInitializer?
[X Play Android Development] minimale_ldz:
I had serious issues when this apk was removed during my previous debloating experiments on Moto G
[X Play Android Development] minimale_ldz:
The thing is I forgot to enable Setup Wizard in build.prop. Everything will work perfectly fine, but SW simply won't start on initial boot and there's no need to use ADB. I'll upload ROM with SW enabled later today for those who need it to run.
[X Play Android Development] iniro:
What line is necesary to add to get SW enabled?

this one?

ro.setupwizard.mode=ENABLED

credits:

http://xdaforums.com/showthread.php?t=1183524
[X Play Android Development] minimale_ldz:
That's the line. in stock ROM it says "ro.setupwizard.mode=OPTIONAL"
[X Play Android Development] iniro:
No wizard to me with optional. I will try with ENABLED

Either no wizard with enabled :(
[X Play Android Development] minimale_ldz:
I know, I just flashed changed version and Setup Wizard gives me nasty FC after boot
[X Play Android Development] iniro:
For me no FC but mobile is locked, Home button doesnt work and notification bar cant swipe down...

I entered on google play and Im restoring titanium backup apps
[X Play Android Development] minimale_ldz:
It's because the phone is in setup mode, but Setup Wizard is not running for some reason. I'm working on it
[X Play Android Development] iniro:
Maybe another apk is missing?
[X Play Android Development] iniro:
Now I add BackupRestoreConfirmation and now it seems to work fine but without Setup Wizard...
[X Play Android Development] kamarilla:
When you boot the offical rom there is an step where you select the privacy of motorola.... maybe ,as iniro says, there is another apk involved in the setup wizard related with motorola
[X Play Android Development] iniro:
All seems to work well now, but I dont have ambient display option in settings -> display. Why?

Maybe I need slpc (Sensors Low Power Core) system / service?
[X Play Android Development] kamarilla:
I dont have neither ambient display in the screen menu, and i have the oficial 6.0.1 rom installed. I can enable it using Moto app. It can be downloaded from play store. Dont know if more needed to work.
[X Play Android Development] minimale_ldz:
Did you manage to make Setup Wizard work?
[X Play Android Development] iniro:
Nope, I will make now another try,
[X Play Android Development] minimale_ldz:
I must admit Total Commander is so much better than Ghost Commander, at least when it comes to editing build.prop - it simply remounts /system and saves the file without any problems. I also tried MIxplorer and ES File Explorer but neither of them could get a root access for some reason.

You can get Total Commander here
[X Play Android Development] iniro:
yeah, now I have SW working. I will test a bit and then I come back to explain it.

edit: Moto display and ambient display still no working... snif snif.

edit2: to get SW working I think the necesary and missing apk is: priv-app/ConfigUpdater

also app/GoogleTTS is necesary to SW. o_O

I think that I finally got all I need working.

I will copy my list of packages of my .zip.
[X Play Android Development] minimale_ldz:
Thank you. It looks like it was all about Google TTS.
[X Play Android Development] iniro:
Here is my list of /app and /priv-app folders...

/app

Bluetooth

BluetoothMidiService

CaptivePortalLogin

CertInstaller

com.motorola.android.jvtcmd

com.motorola.android.settings.modemdebug

DeskClockGoogle

DocumentsUI

DownloadProviderUi

GoogleContactsSyncAdapter

GoogleTTS

KeyChain

MediaShortcuts

MotGeoFenceSvc

MotoDisplay_FWProxy_3.0

MotoSignatureApp

NfcNci

PacProcessor

Stk

TCommander

TimeService

WebViewGoogle

/priv-app

atfwd (for miracast)

BackupRestoreConfirmation

CalendarProvider

CallLogBackup

CarrierConfig

com.qualcomm.location

ConfigUpdater

Contacts

ContactsProvider

DefaultContainerService

Dialer

DMService

DownloadProvider

ExternalStorageProvider

FusedLocation

GmsCore

GoogleBackupTransport

GoogleFeedback

GoogleLoginService

GoogleOneTimeInitializer

GooglePackageInstaller

GooglePartnerSetup

GoogleServicesFramework

HackersKeyboard

InputDevices

ManagedProvisioning

MediaProvider

Mms

MmsService

ModemStatsService

MotCamera

MotoDisplay_3.0

MotoOneTimeInitializer

MotorolaSettingsProvider

Nova

OMAProvisioning

Phonesky

ProxyHandler

qcrilmsgtunnel

SEPolicyUpdate

Settings

SettingsProvider

SetupWizard

SetupWizardExt

SharedStorageBackup

Shell

SlpcService

SlpcSystem

StorageOptimizer

SystemUI

Telecom

TelephonyProvider

TeleService

UserPreferredSimProvider

VpnDialogs

WapPushSI
[X Play Android Development] minimale_ldz:
I updated OP with link to ROM version with GApps and Setup Wizard enabled. It started on my device without any problems, but I didn't go through setup as I don't want to let any dodgy Google "updates" and other stuff to spoil my phone and I can't skip connecting to WiFi step. Please test it if you wish and let me know if it works.

Credits for finding solution to Setup Wizard Force Closes go to [MENTION=1527892]iniro[/MENTION]
[X Play Android Development] iniro:
Thx to you [MENTION=6788745]minimale_ldz[/MENTION] and to [MENTION=1431559]eskamhl[/MENTION] to bring us this fantastic debloated rom :cool:
[X Play Android Development] madcat1990:
The provisioning commands aren't working for me. Still getting no access to the home button and notifications...
[X Play Android Development] minimale_ldz:
Can you give more details? Do you grant SU access on device's screen when entering "SU" command in ADB? What SU verison are you using? The one that ROM comes with originally didn't work for me and I had to flash SU v2.71 in TWRP to make provisioning work.

You can check if SU is working first, by entering a command in ADB:

adb shell
su
settings put global device_provisioned 1

and then checking the value it returns with the following command:

settings get global device_provisioned

If it returns "0" (zero) your SU is not working, so you need to update.
[X Play Android Development] AtomicStryker:
I would be interested in whether or not there is a measurable difference to Marshmallux. Checking out your post history there was nothing about your battery life with such a "stripped-down" device. Google Now is one of my main battery drains, the only question is how much of that is actually basic kernel stuff (hard to tell apart). The Moto stuff does not seem to be actively doing much of anything.
[X Play Android Development] minimale_ldz:
I need to give the ROM some time to settle and use it for a couple of weeks as a daily driver to give any credible battery usage feedback. ATM there are too many test flashes to have continous battery feedback anyway.
[X Play Android Development] madcat1990:
They ended up working for me, but I had to set both to 0 first then to 1 in the "no Gapps" version.

Other findings were that the GApps version doesn't have the build.prop values up there for ADB. You have to use your recovery vi editor to add them.

Not sure if the 0/1 trick mentioned above works here as I found this not working too well for my taste.

Btw, instead of hacker keyboard, why not AOSP keyboard from cyanogenmod? So we can use the swype libs?

May I also suggest removing the moto boot animation? It'll shave off some MBs and make android use the builtin android boot animation.
[X Play Android Development] minimale_ldz:
GApps version doesn't need values for ADB because Setup Wizard and Google Services provision the device for you and you don't have to do all teh ADB stuff. You can enable debugging in Developer's options if you need it. Leaving persistent debugging is not safe, as you basically have your phone wide open to anyone with ADB.

I used HK because it's open source and pretty similair to stock and I never tried Cyanogen one. You can add it if you like.

I honestly never messed with boot animations before, but your idea seems OK (even though it's only 1MB), thanks.
[X Play Android Development] madcat1990:
Another issue I'm having is that, for some reason my phone is detected as an XT1562, but its an XT1563. I'm not dual sim...
[X Play Android Development] minimale_ldz:
It's probably a Marshmallux issue my Rom inherited, because I never changed model number anywhere.
[X Play Android Development] madcat1990:
Well, if it helps any other poor soul, I switched my model in the /system/build.prop file, and commented out the following lines:

persist.radio.force_get_pref=1
persist.radio.multisim.config=dsds

rebooted the device, don't see any dual-sim crazyness! :)

Source : [Tutorial] Enabling Dual Sim on single Sim XT1562

There still is an issue with going from 3G to H+ but I get that in the stock rom as well. T'would be nice getting it working in the stock rom.
[X Play Android Development] minimale_ldz:
/System/priv-app/GoogleBackupTransport is needed for sync to work. I guess I shold include it in GApps version, but it's not there ATM. You can download all removed stuff from post #2 link and copy the app with some root explorer or TWRP one, or wait for me to update the ROM (won't make it today I'm affraid).
[X Play Android Development] iniro:
Today I start a new battery test with your rom plus the apps that I posted that I added. I will tell results.
[X Play Android Development] madcat1990:
Cool! Super excited for this. First fast, stripped down rom for this phone!

Btw, can you try fixing the Gapps rom while you're at it?

It loops on setting up the google account, no matter how many times I wipe/reinstall/install with superSu 2.71
[X Play Android Development] sunilnair007:
Hi Developer,

i am testing this ROM since last 4-5 days, downloaded whatever you posted and so far No regrets. I play lot of games and majorly using Moto x play for the purpose and This Rom is perfect for my needed.

Would really Appreciate if you can fine tune and publish a patch for missing " System/priv-app/GoogleBackupTransport"

this will make this ROM stable enough for daily use.

Best wishes
[X Play Android Development] minimale_ldz:
Google BackupTransport is now available for download in post #2. Updated ROM will follow.
[X Play Android Development] minimale_ldz:
Version with GoogleBackupTransport added to OP. Clean flash is recommended, so if you just want to add GBT to your current ROM I advise to download it from post #2 and copy extracted folder to /system/priv-app rather than starting everything from scratch after wiping /data.
[X Play Android Development] joeanca:
I flashed the april 17th version and latest gapps, the only thing that wasn't working was CalendarProvider, extracted it from the output file in post #2, put it in /system/priv-app as instructed, changed permissions to match the rests of the folders in the same directory, and the apk itself. Also make sure that you go under settings->apps->three dots top right-> system apps and allow calendar storage, calendar & other permissions that marshmallow requires. Everything has been working without a single problem... Thank you!!!
[X Play Android Development] madcat1990:
I'm actually wondering what we can strip further! I'm loving this rom! Works amazing now!
[X Play Android Development] sunilnair007:
Damn Simple process but its always better when we follow the developer's give patch.

Much appreciated, Seems now this ROM is ready to be used for daily basis.

All the best

thanks
[X Play Android Development] minimale_ldz:
/system/usr/srec/en-US (voice recognition) can be removed without any issues (other than voice recognition not working obviously) - it takes over 45 MB when unzipped. Also some files used by removed apps, that are left here and there in the system and just use space. There's also interesting thing that Framework and SystemUI still contain Holo UI components like icons and animations. There's a lot of things that seem useless, but removing them wouldn't make much difference, I guess, as they don't affect performance and /system partition has fixed size anyway so making the ROM lighter won't give us any more space for user data.

However, some apps still can be safely removed to make Android more "barebone" - like MMS service apks, Contacts, Google clock, SIM Toolkit, WAPPushSI, and probably some other stuff.

There are also some Android emots hidden in Framework that we totally should be able to use on XDA, instead of boring smilies:
[X Play Android Development] kborisov:
XDRom_6.0.1_ver1.0beta_GApps_SW_Sync.zip link not work
[X Play Android Development] minimale_ldz:
Sorry, it's fixed now
[X Play Android Development] kborisov:
minimale_ldz, thanks.

i install XDRom_6.0.1_ver1.0beta_GApps_SW_Sync

not work: calendar sync and contacts sync

i restore calendar storage - there is work

and with sync options i see

http://ipic.su/img/img7/fs/2016-04-20_231312.1461176065.png

not working contact sync

but I was not able to restore contacts storage, you need to do?
[X Play Android Development] minimale_ldz:
Try this version, it's hopefully fixed:

https://www.androidfilehost.com/?fid=24499762636004524
[X Play Android Development] kborisov:
yes. then work . thanks

2 more questions.

1. I would like to return the application moto actions. copy app folder MotoAction, set permissions, clear cache. Not visible in the list of applications. on google play sees him and offers to upgrade. but after the update it is also not visible in the list, and does not run

2. Powered LED notifications in your assembly?
[X Play Android Development] minimale_ldz:
Ad.1 - there's more to restore to make it work, probably the whole Moto framework, but I've never done it, so don't really know what exactly

Ad.2 - apparently it's a stock kernel issue. If you want notification LED working you need to use Squid kernel
[X Play Android Development] iniro:
I have a version with moto display working and miracast, maybe if you want I can upload, always with the permission of minimale_ldz and eskamhl's :cool:

I think that in my rom if you installs moto from google play, it will works.
[X Play Android Development] kborisov:
I restore Moto Action: need install from GP

https://play.google.com/store/apps/details?id=com.motorola.moto

and

https://play.google.com/store/apps/details?id=com.motorola.actions

I work the action on camera, but in a strange way. not every time is triggered. can make these applications with the status of the system? who are interested, try
[X Play Android Development] sunilnair007:
Guys,

aesthetics of this ROM is its simplicity, Why you all forcing it back to stock or custom. All required feature are already in place. To much alteration will spoil the genuinity. Just enjoy what is already delivered.

OR

Better wait for some more surprises from developer ............
[X Play Android Development] dharmesh.chand.7:
Will this work on dual sim version??
[X Play Android Development] minimale_ldz:
It should work, but do a backup before flashing it
[X Play Android Development] minimale_ldz:
I found another site with some software for those who flashed NoGApps version:

fossdroid.com - free and open source apps
[X Play Android Development] Benjamin_L:
https://www.f-droid.org should also be mentioned :)
[X Play Android Development] minimale_ldz:
It's in the OP since day one ;) I just need to add a link
[X Play Android Development] Benjamin_L:
Ah, yes, sry, I just read the app list ;)

btw the quickpic link is broken and quickpic anyway got bought by some shady company last year.
[X Play Android Development] minimale_ldz:
The link is working for me. Anyway, thanks for the warning (I removed the link, just in case)
[X Play Android Development] madcat1990:
In that reddit thread there is the Pre-cheetah mobile version of Quickpic. You should put that in the OP instead :)

I'm using it and it works fine
[X Play Android Development] Ajeyvm:
Hi.. I flashed xdrom with gapps, everything is working fine.. But I'm not able to find color mode in display settings.. Wat should I do? I want vibrant mode..
[X Play Android Development] minimale_ldz:
Well, this rom is EXTREMELY debloated, so lot of stuff is missing. If you want, you can download removed items and restore system/app/ColorProfiles and system/app/colorservice - it MAY work then, but I've never tested it myself.
[X Play Android Development] Ajeyvm:
Ooh.. Thanks for the quick response..and another thing, fm radio is not working..says application is not compitable with this device.. Tried installing from playstore.. (moto fm radio)
[X Play Android Development] madcat1990:
Again, this rom is very de-bloated. Try using the FM Radio APK from the removed files link ( 2nd post in this thread ).
[X Play Android Development] minimale_ldz:
There are 2 files to restore - system/app/FMRadioService and system/priv-app/FMPlayer (I'm guessing by names, because didn't restre radio myself)
[X Play Android Development] minimale_ldz:
I finally magaed to go through the full battery cycle on the NoGApps version of XDRom without any issues, re-flashes and other disruptive things. I'm currently using untouched stock kernel and the only change to the system itself is DPI decreased to 380 for "esthetic" reasons. The phone was up for 2 days and 7,5 hours and the overall SoT was 11 h and 16 m. This included nearly 3 hours of internet browsing, mostly on WiFi and some on 2/3G, the rest of SoT was used for checking email, messing with apps and reading ebooks. This is pretty much my normal use, but this time I was also installing and setting up my usual apps and making a TWRP backup which I don't do on a daily basis. I also spent much more time than usual with screen on to check how much SoT I can get. The biggest battery drainer, apart from the screen, is mobile radio, responsible for 25% of the drain.

Other than lack of GApps and extreme debloat things that affect my battery life in a positive way are:

- disbaled background data

- disabled WiFi scan

- all animations set to 0 in Developer's options

- all location services and bluetooth permanently disabled with Servicely

- aggresive doze set with Naptime

- all unnecessary data traffic blocked with AFWall+

- Internet, network, location, sensors, etc. access blocked for most of apps with XPrivacy

- all unused apps hibernated with Greenify

- GravityBox set to swich network to 2G whenever screen turns off

- Tasker switching Wifi and data off and turning screen brightness to minimum when screen turns off

- images blocked in a web browser, especially when used with mobile data