yashsingh1/xdaforums huggingface dataset:
[Moto G General] lost101:
Changelog:

LessMoto

v001

------

Initial release.

v002

------

Fixed removal of following:

Chinese Keyboard (GooglePinyinIME)

Migrate

FM Radio

Stock Email

Talkback

Script also now removes:

PhotoTable

Print Spooler

v003

------

Added removal of:

Picasa Uploader

Audio Effects (Equalizer)

com.qualcomm.atfwd (Wifi Display)

v004

------

Added removal of:

Velvet (Pre-installed Google Search)

v005

------

Fully removed all files related to Chinese Keyboard (GooglePinyinIME)​

NoMoto

v002

------

Same as 'LessMoto v003'

v003

------

Same as 'LessMoto v004'

v004

------

Same as 'LessMoto v005'​

ExtremeNoMoto

v002

------

Same as 'LessMoto v003'

v003

------

Same as 'LessMoto v004'

v004

------

Same as 'LessMoto v005'​
[Moto G General] yeshwanthvshenoy:
ru sure this deserves to be in original development forum?
[Moto G General] lost101:
Report it to a mod and have it moved to where you think it belongs.
[Moto G General] renatohm:
Wow, lightspeed script, worked like a charm. Thanks!

EDIT: XT1033
[Moto G General] unknownemous:
Edit: Thanks , removed the bloat.
[Moto G General] Nicolae-Daniel:
To remove a .apk from the list,I have to edit updater-script right?
[Moto G General] Sandivisi:
great !
[Moto G General] benutne:
How does this work if I've already removed a few of the apps (via Titanium Backup) and updated some via Google Play? Will it skip over the ones already removed? Will I have to uninstall the updates to the others?
[Moto G General] lost101:
Yes. But use notepad++ if in windows.

The script will remove all Google apps (both pre-installed and updated) on the phone. It will skip over any expected, but not present.
[Moto G General] benutne:
What about apps I've already removed? Will it choke on those, or notice they're already gone and skip em?
[Moto G General] lost101:
It will just skip them.
[Moto G General] benutne:
Just ran the script. Looks like it took care of all the Google apps that were preinstalled and the boot animation. However, it did miss several others, inlcuding a lot of the Moto apps. I've listed the items it did delete in green, the ones it missed in red. Blue is if I can't tell. I'm on 4.4.2, a Boost Mobile phone if that matters.

All preinstalled Google apps (excluding Play Store)

Chinese Keyboard (GooglePinyinIME)

CloudPrint

DemoMode app

Face Unlock

FM Radio

HP Legacy Plugin

Live Wallpapers

Motorola promotional video and pictures

Motorola Alert

Motorola Migrate

Motorola Help

Motorola Rescue Add-on

MotoCare

Motorola Bootanimation

QualcommSettings app

Stock Exchange

Stock Email

Talkback
[Moto G General] lost101:
benutne, the remaining apps should now be gone. Live Wallpaper functionality remains; the script only removes pre-installed wallpapers.
[Moto G General] benutne:
Yeah, I don't know what to tell you. I looks like some apps got deleted while others did not. Moto Migrate is still there, even in the app launcher. It looks like the live wallpapers did get deleted though. I'm still pretty happy with how it turned out though.
[Moto G General] lost101:
Just to make it clear, I've updated the script. v002 should address the things you mentioned.
[Moto G General] benutne:
Awesome. That did the trick. Bang up job man, thanks!
[Moto G General] Ralmo:
nice work

nice
[Moto G General] lost101:
NoMoto and ExtremeNoMoto now available. 'Motorola Privacy' still remains as a menu item, however you should not receive any further Motorola updates, FOTA, Bootanimation, Contextual Services etc.
[Moto G General] El Niño Gordo:
I runned this script and now after the starting animations of the boot i get a black screen, what's the problem?
[Moto G General] lost101:
Are you giving the phone enough time to boot? If you have modified the Stock ROM in anyway that would further complicate things. I've applied these scripts to a fresh install and have had no issues.
[Moto G General] El Niño Gordo:
This script delete the wallpapers stuff my phone probably can't load the home because of that i didn't changed anything, it's stock + a different kernel.

I wiped the cache+Dalvik it goes black on "loading applications"
[Moto G General] Tortyx:
I know the google play service is linked to the Play store but why did you left Google now, his sound recording app and a couple of minor processes linked to Picasa, wallpapers, etc?
[Moto G General] lost101:
The scripts can continue to be refined, I just wanted to create this starting point. In the end I hope to go as bare-bones as possible without breaking things permanently; but it takes time to see the effects of removing different aspects of the OS.

Thanks for the suggestion; I will revise the script to include what you say soon, as I have used NoMoto for a few days now and there has been no obvious problems with the script so far.
[Moto G General] ZareliMan:
I'd really like to remove the bloatware but don't want to lose FM radio support.

Is there any third party app to replace this ?
[Moto G General] lost101:
All Motorola apps are available for reinstall via Google Play Store, including FM radio.
[Moto G General] ZareliMan:
Thanks. I think it is much better to have those kind of apps installed as user and not as system apps.

----EDIT-----

I used your app, works flawless. I backed up face unlock to have it since is the only app I don't know how to get.

By the way, what does PhotoTable do ?

And where can I download face unlock ? (just in case)
[Moto G General] lost101:
I believe PhotoTable allows you to set photos as a screensaver. Most apks can be found with a simple Google search, but I can create a flashable zip if you are really desperate. The app ZIPme (requires root) will allow you to make your own flashable backup zip easily.
[Moto G General] ZareliMan:
I already had a backup utility, thanks anyway.

Now I found this, pretty useful

http://blog.burrowsapps.com/2014/03/what-android-apps-are-safe-to-remove.html
[Moto G General] lost101:
Yes, I had already used that as a resource. I feel like there is no point in removing anything more with these scripts; as it will only result in breaking functionality. If you look at running services after applying 'NoMoto' - only essential items are present. The other files listed on that site are very small and are not running in the background.

I'm happy for people to make further suggestions of what to remove, but at this point I don't think there will be any performance benefit.
[Moto G General] El Niño Gordo:
I successfully runned that script before the first boot and i got no problem but i found a weird thing, here a screen to show you what i mean (pardon my italian UI) http://it.tinypic.com/r/2q2lq1j/8 , Can i delete one of those or is it normal to have a duplicate?
[Moto G General] lost101:
Does it remain after a reboot? I would be very wary of deleting anything related to that.
[Moto G General] Tortyx:
So it is safe to delete the Velvet.apk? I'm afraid that the Play store might not work anymore.
[Moto G General] lost101:
Velvet.apk can be removed and it will not affect the Play Store. If you use Google Now Launcher, you most likely have a newer version called com.google.android.googlequicksearch-2.apk in /data/app/ - if you removed that also then GNL would stop working until you reinstalled 'Google Search' again.

Thanks for the suggestion, I will add it to the script.
[Moto G General] El Niño Gordo:
The processes have two different names, one is named Teleservice.apk the other one is Dialer.apk, it will be better not to delete them i guess.

So i can disinstall the velvet.apk too but not the com.google.android.googlequicksearch-2.apk isn't?
[Moto G General] lost101:
Both are needed.

Both of them are 'Google Search.' As I've already said, if you use Google Now Launcher (GNL), keep the second. I have updated the script to remove the pre-installed apk, but not the updated apk in /data/app/ - this is to avoid problems for people who are using GNL.
[Moto G General] Djon_:
Hey, can I use your work as a base for removing all the stock GApps from the GPE ROM? I want to install the PA GApps instead.
[Moto G General] lost101:
I am already in the process of making such a ROM, but feel free if you want to create one yourself. The GPE ROM I'm working on only has Gapps and Motorola apps removed and Root added, so there is an opportunity for you to release something more customized and tweaked.
[Moto G General] Djon_:
Oh wow, that's exactly what I was planing to do, only with the GPE ROM so that the Motorola apps are already removed.

I wanted the gapps gone because I use only Gmail so I prefer to have the PA Gapps, and root for Xposed.

I'm going to wait for your ROM then, will you also provide a script or a list of apps we can remove from the GPE ROM?
[Moto G General] lost101:
The scripts in this thread can probably be safely used on GPE. I should not have said Motorola apps earlier, as obviously there are none in GPE.

If there is a significant difference I will add a GPE script to this thread.

Here is the thread for pure Stock ROMs and Optimized versions with gapps removed:

http://xdaforums.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688​
[Moto G General] moscka:
I'm thinking of flashing the no moto version on your asian optimized version, but I want to keep radio. If I delete the lines that removes it, save the zip and flash, will it work or it's necessary anything else?
[Moto G General] lost101:
Hash or remove the following lines to keep FM Radio:

delete("/system/app/FMRadioService.apk");

delete("/system/app/FMRadioService.odex");

delete("/system/app/FMRecordService.apk");

delete("/system/app/FMRecordService.odex");​

Preinstalled FM Radio:

delete("/system/priv-app/FMPlayer.apk");

delete("/system/priv-app/FMPlayer.odex");​

Updated FM Radio:

delete("/data/app/com.motorola.fmplayer-1.apk");​

As long as the services are present in /system/app/ - the FM Player will work and can be installed / updated from Google Play.
[Moto G General] unknownemous:
Currently on stock 4.4.2 rooted. I keep getting notifications to update system version, how do I disable this ?
[Moto G General] lost101:
LessMoto debloats but services such as 'system update' remain. NoMoto removes all Motorola services. But if you only want to stop those notifications:

delete("/system/priv-app/3c_ota.apk");

delete("/system/priv-app/3c_ota.odex");​

Alternatively there is FOTAkill.
[Moto G General] unknownemous:
That worked , thanks.
[Moto G General] monza1412:
thank you for your work.

Using LessMoto v005 flawless
[Moto G General] abhishekturumella:
can this script be run on 4.4.2 stock rom ?
[Moto G General] lost101:
I suspect so - I'm not aware of any changes to the related files.
[Moto G General] pv979:
Thanks - I was looking for this!
[Moto G General] beeeto:
Hey buddy,

Does this script work with Peregrine Moto G?

Thank you in advance!
[Moto G General] lost101:
I expect there is very little difference in the software environment. Script should work as intended. It's still probably a good idea to make a backup of your system in recovery first.
[Moto G General] Bazilli:
Works perfect in Peregrine.

And for those who want to keep some apks just use this guide to edit the script: http://xdaforums.com/showthread.php...tmctr=(not provided)&__utmv=-&__utmk=37857440 ;)
[Moto G General] abendroidx:
[MENTION=1006674]lost101[/MENTION] can you please tell me whats files have been removed that is related to google/google now launcher? libs and apps? please... I want to have this feature back

ps: used lessmoto v005
[Moto G General] thanos.k:
Really handy script, thanks :D

My noobish question is, what about the library files these apps (may) have installed on /system/lib? How can we delete them?
[Moto G General] lost101:
You can delete anything you want with a file explorer that has root access. However, removing certain lib files will break compatibility with some apps; which is why in these scripts I only include libs related to specific keyboards.
[Moto G General] thanos.k:
Sure, but lets say for example, that someone may prefer Google Plus and Chrome running as user apps, with their lib files on /data/app-lib

In this case, old files on /system/lib are useless (I think..)
[Moto G General] SirRhor:
May I ask for an update for Lollipop please?

Just for kicks I tried the newest version on stock Lollipop for XT1064 and it did not work.

Thank you in advance.

EDIT: Or if someone can suggest a way to safely remove Google Search from the ROM, it would be equally appreciated.
[Moto G General] thuybang:
After root, use Titanium Backup, FreeZe or uninstall any system apps as you want.
[Moto G General] SirRhor:
Yeah, that's one way. I would prefer if apps don't get installed at all. And I take apps out from ROMs all the time, but "Velvet" (Google Search) is the only ones that gives me problems.
[Moto G General] madman:
I will modify one of the script for Lollipop. I rolled back to KitKat for sake of one bug and thus won't be able to test it.

Please do let me know if you or someone else will be able to test it.
[Moto G General] SirRhor:
I will test it and let you know. Thank you very much.
[Moto G General] lost101:
I've uploaded a new version of 'LessMoto' for GPE 5.0.1.
[Moto G General] J0kker:
Hi !

Just to inform you that the "LessMoto v005: (Motorola Camera and Gallery remain) " seems to be wrong as it leads to the lollipop V001.

I didn't read all pages so forgive me if i'm wrong :)

(I just got back to stock rom and used the LessMoto v005 zip i had for some months hehe)
[Moto G General] xianyu:
what about brazil retial lolipop?
[Moto G General] lost101:
I will work on it today.
[Moto G General] lost101:
LessMoto v006 now available. Supports Stock Motorola Lollipop and Google Play Edition Lollipop. Tested on Retail Brazil 5.0.1 Soak Test.
[Moto G General] anzhaki:
Hi I'm thinking to flash the script v5 but I want to keep email, gmail and audio effects, I only need to edit these 8 lines right or there are other connected files?
[Moto G General] lost101:
I think you have covered it.
[Moto G General] lost101:
Added LessMoto v007. Script now correctly removes Google Newsstand and Google Photos on Stock Motorola Lollipop.
[Moto G General] xianyu:
Thanks your work! Wait for Brazil or Asia 5.0.2 build
[Moto G General] lost101:
How do you mean? v007 will work with Stock 5.0.2. Google released 5.0.1 and 5.0.2 to fix bugs; they are very small updates. No new apps are added, and existing apps remain in the same locations.
[Moto G General] sanwolverine:
after flashing this on Blur_Version.220.21.28.falcon_umtsds.AsiaRetail.en .03.zip

device get stuck in boot lessmoto v007
[Moto G General] lost101:
The 'LessMoto' script removes no essential system files. The only file removed that I think might cause some people problems is Velvet.apk (Google Search) - I've added a note to OP regarding this.

NOTE #1: If you cannot boot after running this script, flash one of the following zips: Velvet-KitKat | Velvet-Lollipop
[Moto G General] thestory101:
I also stuck at boot logo, and can't not get back to recovery.
[Moto G General] lost101:
Hold power button until turns off. Power on while holding Volume up (Volume Down in KitKat) to access fastboot > Recovery.

I might remove 'Velvet' from the script if it's causing to much trouble for people. Can someone confirm if the 'Velvet' zip fixes the problem?

[MENTION=5788214]sanwolverine[/MENTION], [MENTION=1971231]thestory101[/MENTION] - Where you using Google Now Launcher prior to flashing this script?
[Moto G General] thestory101:
Nope I think have problem on something else.

Now I start from begining

- flash lollipop xt1033

- flash no moto

- flash velvet

It's boot success now :D

BTW,

- Which moto line in script that I have to remain to make it's show 1 sim only ? now It's show 1 sim and 1 no sim. (I used 1 sim only).

- poor me backup before , but not yet copy from internal SD :( <-- loose it :P
[Moto G General] lost101:
From your description of events, it sounds like Velvet zip did fix the problem? If this is not the case, what did solve the issue?

I don't believe there is anything in this script that changes how SIMs are shown in status bar. You can disable SIM 2 in Android > Settings.
[Moto G General] thestory101:
:D

First time that flash no moto ( I already modified script to keep velvet).

Sim2 disabled by default since, I have no sim2.

BTW, Can I also remove OTA ? since will not work anymore.
[Moto G General] lost101:
Yes. I usually delete:

/system/etc/security/otacerts.zip

/system/priv-app/3c_ota​

FOTA Disabler Script:

https://www.androidfilehost.com/?fid=95897840722643321​
[Moto G General] xdecoy:
hey man, update the script without theses files http://xdaforums.com/showpost.php?p=59804789&postcount=914

thanks!!!
[Moto G General] lost101:
Removing some of those services after Android has been set up caused problems for me. I'll test it when I get the chance, but don't think I'll be able to include them in this script.
[Moto G General] ogunja:
Bro [MENTION=1006674]lost101[/MENTION] after installing the script I no longer have access to the notification bar, wifi, bluethoot, rotate. How can I fix this?
[Moto G General] lost101:
What is your ROM?
[Moto G General] ogunja:
Rom Stock: Lollipop

Versão do Android: 5.0.2 [RETAIL BRASIL]

Número da Versão: LXB22.46-28

Moto G 2014

Bro [MENTION=1006674]lost101[/MENTION]

is that is connected to these two lines

#delete_recursive ("/ system / priv-app / 3c_notification");

delete_recursive ("/ system / app / QualcommSettings");

Bro [MENTION=1006674]lost101[/MENTION]

Solved Bro!!! Thanks..
[Moto G General] lost101:
What was the solution?
[Moto G General] ogunja:
I removed these three lines:

com.qualcomm.atfwd (Wifi Display)

delete_recursive ("/ system / priv-app / 3c_notification");

delete_recursive ("/ system / app / QualcommSettings");

The bar back to normal functioning
[Moto G General] Azmat Roomi:
Hey i am @ stock lollipop 5.0.2 i flashed lessmoto 007 but still there are many Moto services running.Can i use nomoto in lollipop.....??
[Moto G General] lost101:
Backup is recommend - you may be unhappy with the result:

https://www.androidfilehost.com/?fid=24052804347781586​
[Moto G General] Azmat Roomi:
umm y i will be unhappy with the result >.<
[Moto G General] lost101:
Removing services can have unexpected consequences. For example; an app refuses to load or does not work correctly.
[Moto G General] Mafia88:
Hi! i've been trying to modify the script to keep some apps (some gapps, radio, equalizer, etc) but when i flash it i get error flashing updater-binary. could you give me a hand on the why?

i'm using the 5.1 ota brazil update, non rooted, pure stock and twrp 2.8.7.0

thanks!!
[Moto G General] Ajju^:
hey can we have nomoto marshmallow script please
[Moto G General] lost101:
Somewhere between very little and nothing needs to be changed for Stock Motorola Marshmallow. I have a massive backlog of ROM work, at current rate there will be a new script sometime in 2018.
[Moto G General] Ajju^:
hmmm nice to hear that i'll be waiting till 2018 tho.
[Moto G General] astherion:
Does this work for 5.1.1 software? But if I has permanently locked bootloader (Moto G XT1028 from f**n verizon) it seems not feet for my device:(((
[Moto G General] lost101:
Unlocked Bootloader and custom recovery are required.
[Moto G General] nilanko:
[MENTION=1006674]lost101[/MENTION] Will this work on Moto E XT1022 stock LP 5.1?
[Moto G General] lost101:
Yes, most likely.
[Moto G General] zsero:
Hi,

I have a Moto G XT1032, with the stock optimised.zip 4.4.4, EU version (XT1032_Retail_EU_444_Optimized_v1.1.zip).

After spending 3 days debugging my issue, I found out why nomoto v4 gave me boot loops. The required app is PrintSpooler.

It doesn't happen on clean state, but as soon as I install my apps from google play and do a reboot, it goes into this boot anim loop. The boot loop is between lock screen and boot anim.

Even if I just disable the app from settings, it goes into this boot loop.

So the fix is to comment out print spooler deletion in the updater script, and never disable print spooler.
[Moto G General] borisevstratov:
Dear [MENTION=1006674]lost101[/MENTION]

Will this script work with Moto X 2014 (XT1095)? Because the original firmware is SO DAMN bloated with google services, but I wanna keep stock and I don't wanna deal with rooting ;)
[Moto G General] lost101:
It will partially work, as there are probably a few extra apps / services on your phone that won't get removed.
[Moto G General] borisevstratov:
Thank you! I really miss you and all your works (optimized roms, i.d. crisis rom and some other cool stuff)— recently switched from original Moto G to the Moto X 2014
[Moto G General] borisevstratov:
[MENTION=1006674]lost101[/MENTION]

I do confirm the script worked like a charm.

One thing: there's still a Google Japanese Input not removed, but anyway I just disabled it :)
[Moto G General] sudden0utburst:
how to use?

im brand new to this form i have a moto g x1028. i know how impossible these are to root. im wondering how to execute this script??? sorry if im a newb.

i rooted older phones back in the day but i been trying for a year to do this one, and now im on android 5.1 i think lollipop and will this work without root + how do i run it? thanks
[Moto G General] lost101:
This script requires an unlocked Bootloader and custom Recovery - such as TWRP.
[Moto G General] Ralaxy:
Hello forum,

I have a Moto G (2. Generation) dual sim (XT1068). I got it with installed stock ROM Android 6.0

Kernel Version: 3.4.42-gef77327 hudsoncm@ilclbld83 #1 Wed Jan 6 12:46:30 CST 2016

System Version: 24.41.34.titan_retde.retdeall.en.DE retde

Build Number: MPB24.65-34

Is the scripted designed to work on this device?

Has anybody tried this script on a device like this?

What are the experiences?

-----------------------------------------------------------

Edit:

Meanwhile I used the tool from here:

hxxp://xdaforums.com/android/software/debloater-remove-carrier-bloat-t2998294

It worked for my device even without rooting and without Motorola Device Manger installed on Win10.

Unwanted apps are "hidden" (not blocked and not deleted).

But still I find it difficult to select the right apps to debloat and not to debloat an essential one (like Velvet) which could lead in a softbrick if it is not available.
[Moto G General] XMoDuLeSx:
Any update for moto g4 MM ?
[Moto G General] lost101:
Very little - possibly nothing - has changed with MM.
[Moto G General] marciozomb13:
This script disables Moto Display, what files I have to keep to get this feature working again please?
[Moto G General] lost101:
If you own a Moto G4 Plus, you are in the wrong forum. Files available here are not intended for your phone.

https://xdaforums.com/moto-g4-plus
​

It's hard to say exactly what will be required in your case, but you could start by installing Motorola Contextual Services.
[Moto G General] anzhaki:
Also working on stock marshmallow rom (XT1072) but one or more Google apps removed in the script are causing the crash of initial device setup in the very first boot with "Setup Wizard" error.

One of these is the culprit but I didn't investigate further because I use them and just removed them from the script.
[Moto G General] lost101:
Possibly TTS, as it is often used by setup wizards for accessibility support.
[Moto G General] vamsi2405:
i have stock marshmallow and for somewhat reason i froze these apps on sd maid

google

G launcher

G photos

and flashed the nomoto script. worked perfectly fine :)

secondly tried this on a freshly installed stock rom and device went into bootloop. can someone explain this?
[Moto G General] lost101:
See the warning at the beginning of first post and note #1. Stock ROMs use Google Now Launcher.
[Moto G General] SpiralX15:
How do I keep the equalizer?
[Moto G General] MagicTechi:
Is cualcom standard for motorolla?