User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: debloat
Affichage des articles dont le libellé est debloat. Afficher tous les articles
Affichage des articles dont le libellé est debloat. Afficher tous les articles

How to debloat stock? topic






Had to lock my bootloader to fix a brick and I'm looking to get rid of the bloatware only on the phone.

Is there any way to do this without having to go through 400 steps and unlocking it again?






[SCRIPT] NoMoto - Stock ROM Debloat Script (KitKat) topic






Motorola is pretty good about keeping their ROMs very close to AOSP but there is still a little bit of bloat that can be removed. User lost101 posted some zips that can be installed from a custom recovery like TWRP or CWM that can be used to remove the bloat on Moto G 2013 KitKat and Lollipop ROMs (you can find it here).

Unfortunately, you can't use his script as is for the Moto G 2014 KitKat ROMs. His script removes velvet.apk which causes the setup app to crash when you are first setting up your phone that prevents you from getting to the home screen. The reason is that these ROMs use the Google Now Launcher which depends on having velvet.apk in /system/priv-app. Aside from this, his original script does not remove the extra keyboards such as the Hindi and Korean ones.

So I've adapted his NoMoto v004 script for use by Moto G 2014 users (like me). Unfortunately, I don't have much time so I'm going to provide everything as is and I won't be able to provide much support. Fortunately, if you read the OP by lost101 (here it is again), you shouldn't have any problems.

What you'll need:
1. Stock KitKat ROM from Motorola (if you look at lost101's thread you will see that there are Lollipop scripts as well but I will not be providing one for you for the Moto G 2014).
2. Custom recovery to install the .zip (of course this means you will need an unlocked boot loader)

I'd recommend doing a Nandroid backup before proceeding. I would also recommend installing this zip right after a factory wipe and before you go through the setup but it should work even if you don't.

This is what lost101 has to say about what is being removed:

Quote:









These scripts will remove the bloat from Stock Motorola ROMs and Google Play Edition. Scripts can be run in Custom Recovery (CWM / TWRP) prior to first boot to avoid unnecessary setup and app updates. I have not experienced any force closing or obvious problems as a result of these scripts. Infact, theoretically; you should gain battery-life and performance by having less services running on your handset. Nandroid Backup before flashing recommended.

Motorola apps can be reinstalled via Google Play Store.




Moto G 2014 Debloat Script - NoMoto v001 [Download]
Here is what will be removed when you install this zip from your custom recovery (WARNING: OTA Updates no longer possible once these are removed):
All Pre-installed Google apps (excluding Play Store)
Audio Effects (Equalizer)
Chinese Keyboard (GooglePinyinIME)
CloudPrint
com.qualcomm.atfwd (Wifi Display)
DemoMode app
Face Unlock
FM Radio
HP Legacy Plugin
Live Wallpapers (Pre-installed) (You can still add your own)
Motorola promotional video and pictures
Motorola Alert
Motorola Migrate
Motorola Help
Motorola Rescue Add-on
MotoCare
Motorola Bootanimation
Photo Table
Picasa Uploader
Print Spooler
QualcommSettings app
Talkback
Google Hindi Input
Google Korean Input
iWnnIME keyboard
All Motorola apps and services
Here is the code from the script that does the removing (anything with a # in front of it is obviously not executed):




Code:


ui_print(">>> Moto G 2014 Debloat Script - NoMoto v001<<<");
ui_print(">>> Mounting /SYSTEM PARTITION... <<<");
run_program("/sbin/busybox", "mount", "/system");
ui_print(">>> Deleting Apps... <<<");

#****Motorola stock apps****
delete("/system/app/3c_main.apk");
delete("/system/app/3c_main.odex");
delete("/system/app/atfwd.apk");
delete("/system/app/atfwd.odex");
delete("/system/app/BasicDreams.apk");
delete("/system/app/BasicDreams.odex");
delete("/system/app/AonIntLT.apk");
delete("/system/app/AonIntLT.odex");
delete("/system/app/Bug2GoStub.apk");
delete("/system/app/com.motorola.android.nativedropboxagent.apk");
delete("/system/app/com.motorola.android.nativedropboxagent.odex");
delete("/system/app/com.motorola.android.settings.diag_mdlog.apk");
delete("/system/app/com.motorola.android.settings.diag_mdlog.odex");
delete("/system/app/FMRadioService.apk");
delete("/system/app/FMRadioService.odex");
delete("/system/app/FMRecordService.apk");
delete("/system/app/FMRecordService.odex");
delete("/system/app/Mesh.apk");
delete("/system/app/Mesh.odex");
delete("/system/app/MediaUploader.apk");
delete("/system/app/MotGeoFenceSvc.apk");
delete("/system/app/MotGeoFenceSvc.odex");
delete("/system/app/MotoSignatureApp.apk");
delete("/system/app/PartnerBookmarkersProvider.apk");
delete("/system/app/PartnerBookmarkersProvider.odex");
delete("/system/app/SmartActionFW.apk");
delete("/system/app/SmartActionFW.odex");
delete("/data/app/com.motorola.migrate-1.apk");
delete("/system/priv-app/3c_checkin.apk");
delete("/system/priv-app/3c_checkin.odex");
delete("/system/priv-app/3c_devicemanagement.apk");
delete("/system/priv-app/3c_devicemanagement.odex");
delete("/system/priv-app/3c_notification.apk");
delete("/system/priv-app/3c_notification.odex");
delete("/system/priv-app/3c_ota.apk");
delete("/system/priv-app/3c_ota.odex");
delete("/system/priv-app/3c_sso.apk");
delete("/system/priv-app/3c_sso.odex");
delete("/system/priv-app/AonLT.apk");
delete("/system/priv-app/AonLT.odex");
delete("/system/priv-app/AudioEffects.apk");
delete("/system/priv-app/AudioEffects.odex");
delete("/system/priv-app/BodyGuardApp.apk");
delete("/system/priv-app/BodyGuardApp.odex");
delete("/data/app/com.motorola.bodyguard-1.apk");
delete("/system/priv-app/cce.apk");
delete("/system/priv-app/cce.odex");
delete("/system/priv-app/ContextEngineClient.apk");
delete("/system/priv-app/ContextEngineClient.odex");
delete("/system/priv-app/DemoMode.apk");
delete("/system/priv-app/DemoMode.odex");
delete("/system/priv-app/EmaraPhoneExtns.apk");
delete("/system/priv-app/EmaraPhoneExtns.odex");
delete("/system/priv-app/FMPlayer.apk");
delete("/system/priv-app/FMPlayer.odex");
delete("/data/app/com.motorola.fmplayer-1.apk");
delete("/system/priv-app/fswriter.apk");
delete("/system/priv-app/fswriter.odex");
delete("/system/priv-app/GuideMe.apk");
delete("/system/priv-app/GuideMe.odex");
delete("/data/app/com.motorola.genie-1.apk");
delete("/system/priv-app/LMIRescueSecurity.apk");
delete("/system/priv-app/Moodles.apk");
delete("/system/priv-app/Moodles.odex");
delete("/system/priv-app/MotAuthService.apk");
delete("/system/priv-app/MotAuthService.odex");
delete("/system/priv-app/MotCamera.apk");
delete("/system/priv-app/MotCamera.odex");
delete("/data/app/com.motorola.camera-1.apk");
delete("/system/priv-app/MotGallery2.apk");
delete("/system/priv-app/MotGallery2.odex");
delete("/data/app/com.motorola.MotGallery2-1.apk");
delete("/system/priv-app/MotoAssist.apk");
delete("/system/priv-app/MotoAssist.odex");
delete("/data/app/com.motorola.contextual.smartrules2-1.apk");
delete("/system/priv-app/MotoCare.apk");
delete("/system/priv-app/MotoCare.odex");
delete("/system/priv-app/MotoCareInt.apk");
delete("/system/priv-app/MotoCareInt.odex");
delete("/system/priv-app/MotoOneTimeInitializer.apk");
delete("/system/priv-app/MotoOneTimeInitializer.odex");
delete("/data/data/com.motorola.setup");

#****Essential stock apps****
delete("/system/app/Exchange2.apk");
delete("/system/app/Exchange2.odex");
delete("/system/priv-app/Email.apk");
delete("/system/priv-app/Email.odex");
delete("/system/app/Email.apk");
delete("/system/app/Email.odex");
delete("/system/app/PrintSpooler.apk");
delete("/system/app/PrintSpooler.odex");
delete("/system/app/PhotoTable.apk");
delete("/system/app/PhotoTable.odex");

#****Google's Extra  Keyboards****
delete("/system/app/GooglePinyinIme.apk");
delete("/system/lib/libjni_googlepinyinime_5.so");
delete("/system/lib/libjni_googlepinyinime_latinime_5.so");
delete("/system/lib/libpinyin_data_bundle.so");
delete("/system/app/HindiIME.apk");
delete("/system/app/iWnnIME.apk");
delete("/system/app/iWnnIME_Kbd_White.apk");
delete("/system/app/KoreanIME.apk");
       
#****Roms preloaded apps****
delete("/system/app/HoloSpiralWallpaper.apk");
                delete("/system/app/HoloSpiralWallpaper.odex");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/LiveWallpapers.odex");
delete("/system/app/MagicSmokeWallpapers.apk");
                delete("/system/app/MagicSmokeWallpapers.odex");
delete("/system/app/NoiseField.apk");
                delete("/system/app/NoiseField.odex");
delete("/system/app/PhaseBeam.apk");
                delete("/system/app/PhaseBeam.odex");

#****Google apps (downloadable through PlayStore)***
delete("/system/app/Books.apk");
delete("/system/app/Chrome.apk");
delete("/system/app/CloudPrint.apk");
delete("/system/app/Drive.apk");
delete("/system/app/Gmail.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/GoogleTTS.apk");
delete("/system/app/Hangouts.apk");
delete("/system/app/HPLegacyPlugin.apk");
delete("/data/app/com.google.android.talk-1.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Music2.apk");
delete("/system/app/PlayGames.apk");
delete("/data/app/com.google.android.play.games-1.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/Quickoffice.apk");
delete("/system/app/SoundRecorder.apk");
delete("/system/app/SoundRecorder.odex");
delete("/system/app/Street.apk");
delete("/system/app/Translate.apk");
delete("/system/app/Videos.apk");
delete("/system/app/YouTube.apk");
delete("/data/app/com.android.chrome-1.apk");
delete("/data/app/com.google.android.apps.books-1.apk");
delete("/data/app/com.google.android.apps.docs-1.apk");
delete("/data/app/com.google.android.apps.docs-2.apk");
delete("/data/app/com.google.android.apps.magazines-1.apk");
delete("/data/app/com.google.android.apps.maps-1.apk");
delete("/data/app/com.google.android.apps.plus-1.apk");
delete("/data/app/com.google.android.apps.translate-1.apk");
delete("/data/app/com.google.android.gm-1.apk");
delete("/data/app/com.google.android.music-1.apk");
delete("/data/app/com.google.android.tts-1.apk");
delete("/data/app/com.google.android.videos-1.apk");
delete("/data/app/com.google.android.youtube-1.apk");

#****Google's Accessibility****
delete("/system/app/talkback.apk");
delete("/data/app/com.google.android.marvin.talkback-1.apk");

#****Miscellaneous System Apps****
delete("/system/app/QualcommSettings.apk");
delete("/system/app/FaceLock.apk");

ui_print(">>> DELETING EXTRA MEDIA FILES... <<<");
delete_recursive("/system/etc/motorola/MotoDemo");
delete("/system/vendor/media/LMprec_508.emd");
delete("/system/vendor/media/PFFprec_600.emd");

#****Essential media files****
delete("/system/media/bootanimation.zip");
#delete_recursive("/system/media/audio/alarms/");
#delete_recursive("/system/media/audio/notifications/");
#delete_recursive("/system/media/audio/ringtones/");
#delete_recursive("/system/media/audio/ui/");

ui_print(">>> Extracting System Files... <<<");
package_extract_dir("system", "/system");

ui_print(">>> Unmounting /SYSTEM PARTITION... <<<");
unmount("/system");

ui_print(">>> FINISHED... <<<");










[ME572c] - root & debloat topic






Hi all !

As I couldn't find many information and hacks about the Asus ME572c (K007), I thought I might start by sharing my experience with the device.
For those who are having a hard time to find resources, here are the changes that I could carry out without messing all up :

Rooting the device :
It was fast and easy using the "ROOT ZenFone" app I found on an alternative market (could be on the play store, I didn't checked...) rooted and installed SuperSU in a few minutes, then I pushed in my usual root apps (firewall, explorer, busybox, uninstaller, patcher, ...) and started the bloat-shoot party.

Apps removal :
Once rooted, any (good) root removal app will do, pick your favorite and be careful to what you do : I frightened myself a few times doing those things and I still don't have any backup/recovery procedure besides a factory reset...
You may want to check dependencies before you delete an app and maybe check what's the app for : you may loose functionality you wanted to keep but that I didn't care about...
As I don't use google services I got rid of every google apps except google search (mainly for voice recognition) and maps : so keep in mind that if you want to keep google apps on your pad your may not go as far as I did.

I managed to keep a fully working device and to remove so far :
- all google apps (play store, framework, services,... ) except search & maps
- calendar, contact, phone/mobile applications and providers
- all apps containing "asus" in their name except : ASUS_Air_Status (seems to be needed for GPS) and com.asus.lockscreen (I never touch lockscreen apps : I had a bad experince :crying:), but as it don't seem to be active at any moment, as it's a few kilobyte and even if I don't use any lockscreen : I won't take the risk. By the way, don't remove/freeze "keyguard" as well (will mess with locking/navbar or something else important for the OS...)
- CMclient/DMclient
- intel/widi named apps (screen casting ? not sure), cwsservicemanager, windows/multitasking (dual apps mode)

I'ts nor a detailed or a complete list but just clues to what you may try...
Most of the apps were first frozen, then deleted when no issues were found following few basic tests, but some apps can still run even when freezed (asus apps do that a lot), so pick a good process viewer to see through that. The result is a device which is quick from "power on" to "available", and has few running process letting plenty of resources available (around 600 Mb of memory used at start-up)

Usual tuning :
Whatever the device we have (HTC, Nexus, ...) we all have the usual set of performance enhancing modification we like to apply, here're mines:
- stop logging (logcat & dmesg)
- kernel/ioscheduler/mem/dalvik tuning (many apps to do that)
- disable error check/reporting (along with many other common build.prop modifications you'll find all over the web)
- good task killer / greenify / services, wakelock & autostart editor : no more resources hogging with no reason from the few apps left on the device...

CCL: I got mine since mid-December and I'm pretty happy with the tuning I've done so far : I obtained more and more perfs till it scores over 41 000 at Antutu ( just like my good ole Nexus 5 :silly: ). I don't have a reference mark with stock apps installed, I'll be interested if someone can submit some scores; I'll submit some screenshots with detailed marks in the next posts.

Besides all the removal I've been doing, everything seems to work fine on the hardware side (GPS, bluetooth, sound, ...), I got rid of some software features like dual apps, social networking, or Asus dsp manager (which woks quite well on this device, I may get it back...) bit I'm very happy with the current config.

I think I'll stop my pump-it-up frenzy there before it explodes, and wait for Asus to release Lollipop or if any ROM (I'd love a PAC-Rom) becomes available for this device.