Which Apps are safe to remove after Root - Sony Xperia X Compact Questions & Answers

I couldnt find anything regarding this topic for our phone. Which Apps are safe to uninstall/freeze after gaining Root?
Can anyone provide a list? Especially I would like to remove the following apps:
- What's New
- Swiftkey
- Xperia Tips Service
- Xperia Tips
- Xperia Services
- Xperia Lounge pass
- Xperia Resource Extension
- my Xperia
- the Messaging App (I am using the app Messaging by google instead)
- Lounge
- Recommendation Engine Extension

I removed all those and then some. The only exception being Swiftkey - I use AFWall to block it from uploading everything I type to the creeper servers.
Special mentions:
- Amazon Shopping
- AVG Protection
- All facebook ****
- Google App, Play Movies, Play Music
- Hangouts
- Lifelog
- YouTube
All running smoothly.

FYI w/o root you can disable apps using the ADB interface and using the following command:
pm disable-user com.touchtype.swiftkey
*disabled swiftkey without root
Below is the list I disabled without any adverse effects on stock nougat (output of "pm list packages -d"):
package:com.amazon.mShop.android.shopping
package:com.sony.nfx.app.sfrc
package:com.sonymobile.intelligent.iengine
package:com.sonymobile.sketch
package:com.sonymobile.getmore
package:com.google.android.googlequicksearchbox
package:com.sonymobile.getmore.client
package:com.sonyericsson.textinput.chinese
package:com.sonymobile.xperiatransfermobile
package:com.sonymobile.music.youtubeplugin
package:com.touchtype.swiftkey
package:com.google.android.apps.docs.editors.docs
package:com.sonymobile.lifelog
package:com.sonymobile.android.addoncamera.soundphoto
package:com.sonyericsson.conversations
package:com.sonymobile.rcsvideoprovider
package:com.sonymobile.advancedwidget.topcontacts
package:com.sonymobile.coverapp2
package:com.sonymobile.moviecreator
package:com.sonymobile.android.externalkeyboardjp
package:com.google.android.apps.docs.editors.sheets
package:com.google.android.apps.docs.editors.slides
package:com.sonymobile.enterprise.service
package:com.sonymobile.deviceconfigtool
package:com.sonymobile.androidapp.cameraaddon.stickercreator
package:com.realvnc.android.remote
package:com.sonymobile.phoneusage
package:com.sonymobile.tvout.wifidisplay
package:com.sonymobile.deqp
package:com.sonymobile.dlna
package:com.sonyericsson.wappush
package:com.sonymobile.demoappchecker
package:com.google.android.marvin.talkback
package:com.sonymobile.music.youtubekaraokeplugin
package:com.sonymobile.xperiaservices
package:com.sonymobile.exchange
package:com.google.android.gm
package:com.sonymobile.rcs.settings
package:com.sonymobile.entrance
package:com.s.antivirus
package:com.google.android.music
package:com.android.dreams.basic
package:com.sonymobile.susrescheck
package:com.sony.tvsideview.phone
package:com.google.android.apps.docs
package:com.google.android.apps.maps
package:com.google.android.webview
package:com.sonymobile.crashmonitor.system
package:com.google.android.syncadapters.contacts
package:com.android.facelock
package:com.google.android.tag
package:com.google.android.tts
package:com.sonyericsson.xhs
package:com.google.android.videos
package:com.sonymobile.runtimeskinning.picker
package:com.sonyericsson.crashmonitor
package:com.sonymobile.mx.android
package:com.sonymobile.support
package:com.google.android.feedback
package:com.google.android.apps.photos
package:com.google.android.calendar
package:com.swiftkey.swiftkeyconfigurator
package:com.sonymobile.xperiaweather
package:com.sonymobile.gettoknowit
package:com.sonymobile.synchub
package:com.facebook.katana
package:com.sonymobile.moviecreator.rmm
package:com.sonymobile.xperialounge.services
package:com.sonymobile.androidapp.cameraaddon.areffect
package:com.sonymobile.email
package:com.sonymobile.pobox
package:com.scee.psxandroid
package:com.sonymobile.advancedwidget.worldclock
package:com.facebook.system
package:com.sonyericsson.android.socialphonebook
package:com.sonyericsson.album
package:com.sonyericsson.music
package:com.sonymobile.retaildemo
package:com.sonymobile.anondata
package:com.sonymobile.pip
package:com.sonymobile.sso
package:com.sonymobile.usm
package:com.android.bookmarkprovider
package:com.sonyericsson.startupflagservice
package:com.sonymobile.advancedlogging
package:com.google.android.talk
package:com.sonymobile.music.wikipediaplugin
package:com.facebook.appmanager
package:com.sonymobile.music.googlelyricsplugin
package:com.sonymobile.dualshockmanager
package:com.sonymobile.mwutil
package:com.sonyericsson.advancedwidget.clock
package:com.sonymobile.android.addoncamera.timeshift
package:com.sonyericsson.advancedwidget.photo
package:com.sony.tvsideview.videoph
package:com.gsma.rcs

To the above post I would like to add something for newbies:
1) Type "adb shell" before you use the commands above, otherwise it won't work.
2) instead of the disable command (which doesn't work on my phone, apparently because you need to be rooted), i used the command hide, which also deactivates the app.

To removing SwiftKey :
Be aware, that if your phone is encrypted or uses PIN or password authentication before it boots, you must install another keyboard as SYSTEM app, or you will not be able to boot your phone.

Some more that can be removed
com.android.chrome (I use Pale Moon for Android)
com.android.partnerbrowsercustomizations.chromeHomepage
com.android.dreams.phototable
com.android.galaxy4
com.android.noisefield
com.android.phasebeam
com.android.wallpaper.holospiral
com.android.wallpaper.livepicker
com.android.wallpaper
com.sonyericsson.idd.agent
com.sonyericsson.startupflagservice
com.sonymobile.experienceflow2
com.sonymobilemusic.googlelyricsplugin
com.sonymobile.slideshow
com.sonyericsson.warrantytime

After "hiding" most of the above apps, I have around 1100mb of free ram left instead of 600mb before debloating. The phone feels much snappier too.

I use magisk to hide the following apps from system. So i'm not actually touching the system partition. Although you need unlocked bootloader and custom kernel (genesis) for that so the OTA updates won't install anyway. Thats why I removed the update-center as well. Use at your own Risk.
/system/app/CrashMonitor
/system/app/CrashMonitorsystem
/system/app/EditorsDocs
/system/app/EditorsSheets
/system/app/EditorsSlides
/system/app/Exchange2
/system/app/ExternalKeyboardJP
/system/app/FaceLock
/system/app/GetMoreClient-standard-release
/system/app/Gmail2
/system/app/GoogleLyricsPlugin
/system/app/GoogleTTS
/system/app/IddAgent
/system/app/Iengine
/system/app/KerberosService
/system/app/Lifelog-3.0.B.4.15-6295567-googlePreloadLive-release
/system/app/OmaDownload
/system/app/PartnerBookmarksProvider
/system/app/PhotoWidget-release
/system/app/PrintSpooler
/system/app/RcaHandler
/system/app/RemoteControlService
/system/app/SemcAutoPowerOff
/system/app/SemcEmail
/system/app/SemcSimDetection
/system/app/SemcWarrantyTime
/system/app/SmartcardService
/system/app/SomcDualshockManager
/system/app/SomcMovieCreatorRmm-release
/system/app/SomcPOBox
/system/app/SomcSketch-live
/system/app/SyncHub-release
/system/app/TopContactsWidget-release
/system/app/WikipediaPlugin
/system/app/WorldClockWidget-release
/system/app/XperiaTransferMobile-release
/system/app/YouTube
/system/app/YouTubeKaraokePlugin
/system/app/YouTubePlugin
/system/app/com.facebook.appmanager
/system/app/com.facebook.katana
/system/app/com.s.antivirus
/system/app/com.sonyericsson.xhs
/system/app/com.sonymobile.xperialounge.services
/system/app/device-monitor
/system/app/fota-service
/system/app/newssuite
/system/app/photoslideshow-release
/system/app/playstationapp
/system/app/weather-release
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/CameraWearableBridgeHandheldServer
/system/priv-app/EnterpriseService
/system/priv-app/GetMore-standard-release
/system/priv-app/GoogleBackupTransport
/system/priv-app/GoogleFeedback
/system/priv-app/MyXperia-release
/system/priv-app/OMAClientProvisioning-release
/system/priv-app/SharedStorageBackup
/system/priv-app/SomcMovieCreator-release
/system/priv-app/StartupFlagV2
/system/priv-app/Velvet
/system/priv-app/com.sonymobile.retaildemo
/system/priv-app/somc-get-to-know-it-release
/system/priv-app/textinput-chn-xhdpi
/system/priv-app/usb-mtp-backup-transport
/system/priv-app/usb-mtp-factoryreset-wrapper
/system/priv-app/usb-mtp-fotaupdate-wrapper
/system/priv-app/usb-mtp-update-wrapper
/system/priv-app/usb-mtp-vendor-extension-service
/system/vendor/app/ChromeCustomizations
/system/priv-app/RcsVideoShare
/system/app/com.sonymobile.deqp
/system/app/talkback
/system/priv-app/rcs-settings
/system/app/SusResCheck
/system/app/videotvsideview
/system/app/Drive
/system/app/Chrome
/system/app/Videos
/system/app/Photos
/system/priv-app/SocialphonebookStub
/system/priv-app/album-albumLive-release
/system/app/pip
/system/priv-app/USMHome
/system/app/Hangouts
/system/app/videoplaceholder
/system/priv-app/rcs-core
/system/priv-app/sonyentrance2-release
/data/app/com.sonymobile.entrance-1
/system/priv-app/album-albumLive-release
/system/app/com.amazon.mShop.android.shopping
/oem/app/com.lookout
/oem/app/uk.co.ee.myee
/data/app/com.sonyericsson.updatecenter-1
/oem/overlay/com.sonyericsson.updatecenter
I also disabled the following apps on top of that:
AR effect
Creative Effect
Messaging ( I text with Signal)
Sound Photo
Spotify
Sticker Creator

tempurastyle said:
After "hiding" most of the above apps, I have around 1100mb of free ram left instead of 600mb before debloating. The phone feels much snappier too.
Click to expand...
Click to collapse
wow. you must have a lot of bloat. I had ~1GB free as stock with only disabling a lot of apps and a few services just through the app manager I have ~1.5GB free. (around 100-200MB more on both at fresh boot, I check the usage frequently) I do not have the amazon stuff and a lot of other things I see though. I am gonna have a look again now as there definitely is more to disable.

After disabling some apps listed above, i figured out that the qnovo battery care stopped working. Does anybody know which apps i need to enable to make it work again?

Battery care can be a little unstable. For me it works most of the time. It seems to work more often with the February security update. It works with the charging intelligent service (CIS). My list doesn't disable it.

Ikzy said:
I use magisk to hide the following apps from system. So i'm not actually touching the system partition. Although you need unlocked bootloader and custom kernel (genesis) for that so the OTA updates won't install anyway. Thats why I removed the update-center as well. Use at your own Risk.
Click to expand...
Click to collapse
Hi,
I been thinking of installing magisk, but could not find a good reason yet, though when chainfire gives full control to the company that apparently bought supersu I am probably going to use the opensource solution by phh.
this is a good idea too! I read a little on how magisk modules works, and maybe I am lazy but do you mind sharing your module for reference and use? besides not inventing the spoon again, I think it could be of great help also to help understand the script structure faster/better.
best regards

realtuxen said:
Hi,
I been thinking of installing magisk, but could not find a good reason yet, though when chainfire gives full control to the company that apparently bought supersu I am probably going to use the opensource solution by phh.
this is a good idea too! I read a little on how magisk modules works, and maybe I am lazy but do you mind sharing your module for reference and use? besides not inventing the spoon again, I think it could be of great help also to help understand the script structure faster/better.
best regards
Click to expand...
Click to collapse
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc

Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
Thanks a lot! That's another good idea, but you need to relock bootloader too as far as I know to receive OTA's again.
Would be really cool but probably near impossible if something could fake that most bothering step.
Loosing userdata and the devicekey with every upgrade would be a bummer although it can be restored too.

Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
I got a newbie question: How do you flash the stock kernel, and where do you get it from? Is it in the FTF file?

Yeah extract kernel.sin from the ftf file (its just a zip) then use flashtool sin editor to extract kernel.elf. Then you can use rootkernel to build a boot.img you can flash with fastboot. That's one method.

realtuxen said:
Yeah extract kernel.sin from the ftf file (its just a zip) then use flashtool sin editor to extract kernel.elf. Then you can use rootkernel to build a boot.img you can flash with fastboot. That's one method.
Click to expand...
Click to collapse
Thanks! Useful information! Just out of curiosity, what are the other methods? Can you just choose what you want to flash in Flashtool?

Another list of apps that can be removed with some comments included. You'll have to use google translate or similar though:
http://blog.livedoor.jp/cn221283/archives/51218350.html

tempurastyle said:
Thanks! Useful information! Just out of curiosity, what are the other methods? Can you just choose what you want to flash in Flashtool?
Click to expand...
Click to collapse
Yes you can exclude/choose things to flash, so I guess you could exclude everything but kernel in Flashtool. But your system can not be modified or rooted so you might as well just flash the whole thing except/not wiping userdata. Both should return you to stock with unlocked bl and intact device key. (no ota though)
Play around with the options with your phone disconnected in simulation mode, it might help you to understand the process better once you get past the confusion.

Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
Hello,how can I use this Zip?

Related

[SM-P905][SM-P907A] Debloating bloatware after rooting + Power On sound removal

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​** These scripts are written for Kitkat. Do not use on Lollipop. **​ What is new (9/7/2014)
Version 4 provides more Samsung bloat removal, Google bloat removal, and as a bonus it can disable the power on sound.
Background
Samsung has a program running on most of its devices that pushes "Security Updates" onto the device. If you make the mistake of accepting this security update, even after you root your tablet, it will patch the hole and you will never be able to use towelroot or any other know exploit as of June 2014 to root your it again. So this must be immediately disabled after a successful rooting.
Your tablet is also equipped with Knox. One component of Knox is in the bootloader and checks the integrity of the recovery and kernel. If it sees anything has changed at that level it trips the knox flag immediately, which is irreversible. That component can almost never be touched. The second component runs when the OS is up and running and its main task is to monitor the activities of the apps in your system and shut them down if they act "suspiciously". When you are rooted and install SuperSU, this element of Knox keeps detecting the background root activities and shuts them down and gives you warnings. There is therefore a high level of risk there if you let root and knox exist concurrently. So after rooting, this second component of Knox should normally be disabled.
Finally, there are useless junk apps that most of us agree Samsung should have never shipped with the tablet, or even if they are useful we want them gone to get a better battery life.
I will call all of the above (updaters, Knox, and useles junk) bloatware. The scripts attached here can disable or enable the bloatware on your tablet, which comes in handy if you do not have Titanium Backup Pro to freeze or remove bloatware. And since someone will ask at some point, no, it won't trip your Knox!
Please read below and understand what this script disables before you use it. There may be an app on the list that you may actually want to keep.
Requirements:
Rooted Samsung Note Pro 12.2, SM-P905 international model.
Android Terminal Emulator: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
The international version (P905) is tested with baseband P905XXUANA7, build P905XXUANC3 .
The ATT version (P907A) is tested with build KOT49H.P907AUCU1AND7 (thanks to @gerard0986 for testing the script)
Makes sure you download the version that is suitable for your tablet. It may work to varying extents for other models and firmwares.You try and tell me
If you are using models other than P905 or P907A, I can make a new script for you if you provide me with a "ls -R -l" dump of your /system, or even better, if you post your firmware somewhere online.
Download link:
Attached below
Instructions:
Generally speaking, you should always have a Nandroid backup before trying anything new. Also have a flashable ROM handy. I am not responsible if you brick your device while using these scripts.
To debloat:
1- Unzip the attachment and copy debloat.sh to your phone at /sdcard
2- Run the terminal emulator and type the following:
su
cd /sdcard
sh debloat.sh​3- Choose what you want to disable, or exit.
4- If you choose not to exit, the code does its thing and reboots your tablet. The bloat is gone now
To restore the bloatware:
1- Unzip the attachment and copy enbloat.sh to your phone at /sdcard
2- Run the terminal emulator and type the following:
su
cd /sdcard
sh enbloat.sh​3- The code will warn you:
Are you sure you want to restore the security/firmware/software updaters, and Knox?
They may immediately patch your system and make the existing root methods impossible to apply.
Then you can choose what to enable, or just exit.
4- If you choose not to exit, the code does its thing and reboots your tablet. The bloat is back now
Note that while running the debloat script you may get force-closing popups. This is normal; after all you are disabling these applications!
Limitations:
If you have previously removed bloat using other means this script CANNOT recover it for you. enbloat.sh can only restore what debloat.sh has disabled.
If you have debloated using an older version of this code and you want to try a newer version of it, first use enbloat from the older version to return everything to the original configuration and then use the newer version.
When you are restoring the bloat, it is best to enable "airplane mode" so that your tablet does not try to patch your system with a security update without your knowledge. You can disable the airplane mode after you debloat again.
Change log
V5:
Typos fixed.
=============
V4:
Option to disable all Google services except Youtube, search, map, and TTS
Option to disable/enable Power on sound
=============
V3:
The scripts give separate options to enable/disable these groups of bloatware:
1- Updater/knox
Firmware Upgrader, Local FOTA, Security Manager, FOTA Client, Security Update Client, Samsung Push Client, Samsung Software Update, Knox and its related apps
2- Samsung bloat
ANT, Blurb, ELM Agent, Samsung Apps apk and widget, Job Manager, Samsung cloud backup files, Context Provider, S Finder, S Voice, Samsung Account Service, aaIgnite_1.5.15_singtel, weplay_1.3.162, PCWClientS18
3- Other bloatware
Accuweather, Bloomberg, Dropbox, Evernote, Flipboard, NY Times, Remote PC, ,Travel Service, Twitter, WebEx, Line, Pinboard Scratch book, SNS, eMeeting
=============
V2:
The scripts give options to enable/disable updater/knox and other bloatware separately.
Added these to the disable list of V1:
SecurityManagerService, aaIgnite_1.5.15_singtel, weplay_1.3.162
=============
V1:
The script disables the following:
Firmware Upgrader, Local FOTA, FOTA Client, Security Update Client, Samsung Push Client, Samsung Software Update, Knox and related apps, ANT, Blurb, ELM Agent, Remote PC, Samsung Apps apk and widget,Travel Service, Twitter, WebEx, Line, Samsung cloud backup files
PCWClientS18, Scratch book, S Finder, SNS, Samsung Account, eMeeting
Would this work for the T-900 version too?
What do I need to get the info required to get a script made for the sm-p907a model? I read above post but the list of things required were above my head lol.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
iNiREALiZED said:
What do I need to get the info required to get a script made for the sm-p907a model? I read above post but the list of things required were above my head lol.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
Click to expand...
Click to collapse
1- What is your firmware version?
2- Open the terminal emulator and type the following commands in there:
su
cd /system
ls -R -l > /sdcard/sysdump.txt
Then pm the file sysdump.txt which is saved on your sdcard to me.
thank you
Thank you najoor for the neat script, it executed successfully on my sm-p905 (UANE1 rom) & removed the useless software, it saves a lot of time removing them manually.
Nice work
Hope to see a version for the SM-P907 soon.
Rockytop00 said:
Would this work for the T-900 version too?
Click to expand...
Click to collapse
I think the only existing models are SM-P900, SM-P905, SM-P907A and SM-P905V. I don't know what T-900 is.
If you are referring to model P900 (wifi only) this code may partially work but a lot of files are different between the two models so the outcome is a partial debloat. If you want, you can make a system dump file as I suggested in this post http://forum.xda-developers.com/showpost.php?p=55029414&postcount=5 and send it to me so I can make a custom code for you.
Edit: It appears that T900 is the Tab pro model which is a different device. This thread is for Note pro 12.2 and since I do not own a Tab Pro I cannot answer this question. Perhaps help can be found in the XDA's Tab Pro forum at http://forum.xda-developers.com/galaxy-tab-pro-12-10-8. or try these scripts as they are and see if it works for you.
Hey najoor, Im hoping that you can help me debloat my galaxy tab pro 12.2 sm-t900. I just bought it today and am shocked at the amount of bloatware thats included lol.
Basically I want everything removing that I can install through googleplay, leave the default browser.
Here is the log that you mentioned to the other guy also:-
View attachment sysdump.txt
Ill try to pm it also, really hope you can help out.
Pixel
Debloat method
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
stockerrodney said:
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
Click to expand...
Click to collapse
Yes, that is part of bloat removal. To get Google bloat back run the enbloat.sh script and hit y when it prompts you about restoring Google bloat.
stockerrodney said:
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
Click to expand...
Click to collapse
najoor said:
Yes, that is part of bloat removal. To get Google bloat back run the enbloat.sh script and hit y when it prompts you about restoring Google bloat.
Click to expand...
Click to collapse
If i do the enbloat method will i have to reinstall knox ? Or will i still be able to keep it off?
When you use the enbloat.sh you only restore the stuff you choose. You don't have to restore everything. In your case you leave knox and other things out and only answer yes when it asks you if you want Google bloat to be restored.
The script is very user friendly. Just run it and follow the instruction. And just to give you peace of mind, these scripts do not delete anything from your system permanently so don't worry about breaking your system.
Any chance you could add the option to remove individual items?
http://forum.xda-developers.com/android/software/debloater-remove-carrier-bloat-t2998294
Debloat v5.0 removed Scrapbook from Air Command
The debloat worked fine but the Scrapbook app in Air Command is now showing error "no application found to handle this actions".
Please advise.
mojoe said:
The debloat worked fine but the Scrapbook app in Air Command is now showing error "no application found to handle this actions".
Please advise.
Click to expand...
Click to collapse
Removing apps is what a debloating script does. If you want your app back just run the enbloat script. All the instruction you need is provided in the original post.
najoor said:
Removing apps is what a debloating script does. If you want your app back just run the enbloat script. All the instruction you need is provided in the original post.
Click to expand...
Click to collapse
Appreciated. I wanted to debloat but did not expect the scrapbook app to be debloated. Is there any way that I can retrieve this one app, without the rest of the garbage that will return if I "enbloat".
I recall finding the app the last time and renaming from .bak to .apk and it worked.
Can you tell me where to find the apk.
mojoe said:
Appreciated. I wanted to debloat but did not expect the scrapbook app to be debloated. Is there any way that I can retrieve this one app, without the rest of the garbage that will return if I "enbloat".
I recall finding the app the last time and renaming from .bak to .apk and it worked.
Can you tell me where to find the apk.
Click to expand...
Click to collapse
The app is either in /system/app or /system/priv-app. Rename app.apk.bac and app.odex.bac if it exists to app.apk and app.odex and reboot. I don't remember exactly which app is the one you need.
najoor said:
The app is either in /system/app or /system/priv-app. Rename app.apk.bac and app.odex.bac if it exists to app.apk and app.odex and reboot. I don't remember exactly which app is the one you need.
Click to expand...
Click to collapse
Thank you. I will return with the name once I find it.

[LP][5.X][XPERIA] Debloating script for xperia phones running LP

***LOOKING FOR A ALL-IN-ONE SOLUTION? THAT'S AVAILABLE FOR Z3C USERS ONLY, IF INTERESTED GO HERE***
I guys, I share with you my debloating script for those interested in a higly DEBLOATED LP installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc
Heavily debloated actually means almost 1 gb of system stuff moved to a backup folder (that you can even delete or move to sdcards to get 1gb extra free space in /system) so applying my script you agree to debloat A LOT as I did but take care that you will have a much lighter system and still you will be able to restore very easily anything you want anytime moving stuff back from the backup folder to /system (detailed instructions for that below in this thread).
NOTES
1. as all the stuff object of my debloating script is going to be placed in /system when flashing the pre-rooted FW, it is strongly suggested to apply my script immediately after flashing the pre-rooted LP FW and before rebooting, this way all that stuff will be moved away, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. as said above, all the bloat is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see something like 1.1 gb extra free space in /system!!
3. using different FW as base you may have some more bloat/apks, not present in my FW, that will remain installed. In this case, if you think there is some bloat left that could be removed, please send me a list of all your system apps remained after debloating, so i can check them (you can easily do that via terminal with 'ls /system/app > /sdcard/sysapps.txt' and 'ls /system/priv-app > /sdcard/privapps.txt' and send me the resultant text files)
Click to expand...
Click to collapse
Procedure for all xperia phones running LP: (like all Z series)
Requirements:
- working recovery
- be on LP already, 5.0.2 or 5.1.1, doesn't matter
Installation:
1. full nandroid backup to eventually go back to previous any time
2. wipe data, cache and dalvik ***
3. flash my debloating script
4. that's all! reboot/enjoy
*** NOTES
You can skip wiping data, so you'll keep all your personal data! But please mind that not wiping data during the installation procedure the debloat will not be 100% effective: in fact, if you don't wipe data, all the sony apps installed in /data/app won't be removed by the script! (to remove them, you'll have to uninstall them manually from settings > apps > downloaded)
Click to expand...
Click to collapse
RESULT
As said at the top, you'll get a very slimmed down LP FW, battery friendly, very fast, with less RAM comsuption etc
Of course, everything is working great here, I mean all the features I need/use!
In particular, with latest version of my script you are going to delete more than 160 packages in total with all relevant libs/stuff plus all applications automatically installed by Sony :good:
DISCLAIMER
If you apply my script again please take care I did a pretty massive debloat as I don't use a lot of stuff (social apps, small apps, many of the sony "addons"/special settings etc!!) and this is a working config for me, but for others some functionalities will be probably missing, so mind what you do before apply them! (but again you can restore anything anytime, if interested just continue the reading)
Click to expand...
Click to collapse
###########################################################################################################
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things without the need to download them from my GDrive.
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
In the hidden field below you will find the restoring instructions you need to follow to restore any package you may want back:
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
Many THANKS @ondrejvaroscak and @Puffin617 for some very good advices, @mj084 for some packages descriptions :good:
Would one arrive at the same stable setup as you if the debloating-part in your guide was omitted?
(I prefer to use Debloater by @gatesjunior to block the apps)
Norup58 said:
Would one arrive at the same stable setup as you if the debloating-part in your guide was omitted?
(I prefer to use Debloater by @gatesjunior to block the apps)
Click to expand...
Click to collapse
don't think so. in fact, several people who flashed and installed xposed directly on stock FW, had bootloops. others have problems with play store in deodexed, so I think, at least here and IMHO, best combo is odexed but debloated.
of course you can remove less stuff, that will be also much safer. if and when I post a text list of what I removed, I can maybe highlight dangerous apps that people should be careful with, or add notes for some apps that maybe is not so easy to understand what they are for
EDIT: I always prefer manual things, so I always manually move apps to a temporary location and then delete them
oh man, thanks for this, but i have a lot of problems to visualize what have you did. dropbox isn't working for me on my work's network. Can you make a list of apps? pastebin, tinypaste, hastebin, chop... there are options!
espaciosalter20 said:
oh man, thanks for this, but i have a lot of problems to visualize what have you did. dropbox isn't working for me on my work's network. Can you make a list of apps? pastebin, tinypaste, hastebin, chop... there are options!
Click to expand...
Click to collapse
will make a list soon!
EDIT: done! see OP!!
moly82 said:
will make a list soon!
EDIT: done! see OP!!
Click to expand...
Click to collapse
Thank you! it's a shame that i already have achieved my 8-post limit for today.
Which app is refer screenshot: https://www.dropbox.com/s/6smtqx57f3mjy68/Screenshot_2015-04-08-15-10-03.png?dl=0
Thank
Hispa
espaciosalter20 said:
Thank you! it's a shame that i already have achieved my 8-post limit for today.
Click to expand...
Click to collapse
don't worry mate!
ps. added notes/colours to some pretty dangerous apps to remove.. all others should be pretty self explanatory/safe to delete if you don't use them
hispanico957 said:
Which app is refer screenshot: https://www.dropbox.com/s/6smtqx57f3mjy68/Screenshot_2015-04-08-15-10-03.png?dl=0
Click to expand...
Click to collapse
gravity box > lockscreen mods > customizable lockscreen shortcuts!
enabled navbar edits and lost recent buttons... but in homescreen (and only there) I still have it
(the secret is... a modded wallpaper lol )
of course in other apps it is gone ;(
moly82 said:
enabled navbar edits and lost recent buttons... but in homescreen (and only there) I still have it
(the secret is... a modded wallpaper lol )
of course in other apps it is gone ;(
Click to expand...
Click to collapse
Yes also for me no recent in apps... but also at home !?
Hispa
Perfect Bro @moly82 will work on it to launch a FW Debloated stable.
So do we know which app it is that you removed that fixed the xposed issue? I don't buy the "just delete a bunch of stuff and xposed will work", there must be one or a combination of apps that are causing the bootloops.
Avengeme said:
So do we know which app it is that you removed that fixed the xposed issue? I don't buy the "just delete a bunch of stuff and xposed will work", there must be one or a combination of apps that are causing the bootloops.
Click to expand...
Click to collapse
well, you are free to investigate [emoji14]
always when i flash a stock fw i immediately remove a lot of useless (for me) stuff.. this time I had already deleted something like 120 useless apps before flashing xposed and seeing it was working fine.. so that's not so easy for me at this time to understand exactly what is causing bootloops for some people and actually, even if it wouldn't be impossible to find that out, that's not interesting for me so don't see a point in losing extra time in that research sorry (I'm already wasting too much time in debloat operations [emoji14] )
hispanico957 said:
Yes also for me no recent in apps... but also at home !?
Hispa
Click to expand...
Click to collapse
yeah no recents button here as well.. as i said the recent button i have in my homescreen is a trick... a wallpaper with a fake button drawing in background [emoji14]
@moly82: you are the greatest ... finally I got xposed framework without bootloop!! Thank you so much!!
no problem mate glad it was helpful for someone else!
yesterday I added a few more xposed modules, and still no bootloops at all (right now I'm using GB, apm+, youtube adway, youtube background playback, xperia/AOSP NavBar Buttons :good: )
btw did you delete all (or most of the) the apps in my list? and before debloating you had bootloops?
because I immediately debloated and only then I installed xposed, so was wondering if maybe also installing xposed without debloating could be working actually as never tried here this way
in any case, just testing right now some more debloat... would like to increase the debloat list... will update OP if I find it safe and will have no problems after new deletions
gallery app is not working! i tried restoring all the Photo* app ,but still not working
Try to clear Cache and Data from Album App, helped me last time it wont work
you mean sony album? works perfectly here
removed updates and now is working fine

[MM][6.0][UNLOCKED BL/ROOTED] Debloating script for Sony Marshmallow Concept Rom

I guys, I share with you my debloating script for those lucky people who could install Sony Marshmallow Concept ROM and unlocked their BL and rooted
Concept ROM is already very minimal, so I just deleted few things, mostly Google apps and especially all things that can be installed from the Play Store (and already updated to latest versions of course!)
All things object of my debloating script are not really deleted actually, but moved to a backup folder in /system (that you can even delete or move to sdcards to get extra free space in /system) so you will be able to restore anything you may need very very easily (detailed instructions for that in second post).
NOTES
1. it is suggested to apply my script immediately after installing the Concept FW LP FW and before rebooting, this way all that stuff will be moved away before first reboot, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. as said above, all the bloat is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see much more free space in /system!!
Click to expand...
Click to collapse
Procedure for all xperia phones running MM Concept FW: (only Z3 and Z3C atm)
Requirements:
- rooted + working recovery
- MM Concept ROM already installed
Installation:
1. full nandroid backup
2. wipe cache and dalvik
3. flash my debloating script
4. that's all! reboot/enjoy
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things pretty easily. Luckily concept rom comes already slimmed down so debloat I did is minimal! Of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
Things removed by my script:
/system/vendor/overlay/*
/system/app/AndroidPay
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/bootinfo
/system/app/Chrome
/system/app/ClockWidgets
/system/app/DMAgent
/system/app/Drive
/system/app/Exchange3Google
/system/app/FOTAClient
/system/app/FaceLock
/system/app/Galaxy4
/system/app/Gmail2
/system/app/HeadphoneSelection
/system/app/helpapp
/system/app/HTMLViewer
/system/app/Hangouts
/system/app/HoloSpiralWallpaper
/system/app/ImageProcessorPermission
/system/app/JapaneseIME
/system/app/LiveWallpapers
/system/app/Maps
/system/app/Music2
/system/app/NoiseField
/system/app/PartnerBookmarksProvider
/system/app/PhaseBeam
/system/app/Photos
/system/app/PlusOne
/system/app/PrintSpooler
/system/app/SemcAlbum
/system/app/skin-core
/system/app/skin-picker
/system/app/SomcEmail
/system/app/SomcExchange
/system/app/Stk
/system/app/talkback
/system/app/Theme000
/system/app/Theme001
/system/app/Theme002
/system/app/Theme003
/system/app/Theme004
/system/app/Theme005
/system/app/Theme006
/system/app/Theme007
/system/app/Theme008
/system/app/UserDictionaryProvider
/system/app/Videos
/system/app/YouTube
/system/priv-app/ar-effect
/system/priv-app/AnonymousData
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/BetaFeedback
/system/priv-app/CellBroadcastReceiver
/system/priv-app/CrashMonitor
/system/priv-app/CrashMonitorSystem
/system/priv-app/device-monitor
/system/priv-app/IddAgent
/system/priv-app/InputDevices
/system/priv-app/phone-usage
/system/priv-app/qcrilmsgtunnel
/system/priv-app/SemcSimDetection
/system/priv-app/SharedStorageBackup
/system/priv-app/StatementService
/system/priv-app/TagGoogle
/system/priv-app/TimeShiftCamera
/system/priv-app/Velvet
HOW TO RESTORE SOMETHING
All the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
trying right now, report later
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
smorgar said:
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
Click to expand...
Click to collapse
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
moly82 said:
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
Click to expand...
Click to collapse
Ill give it another go!
Thank you for your work! Your KK and LP deboated roms are some fine stuff sir
[Edit]
I re-downloaded the script and ran it, same problem.
I'll go manual style now
works great on my D5833, the startup guide lacks for google seetings, but its totaly usable anyway.-
Sorry my english xD
thanks. but what you mean with startup guide lacking google settings?
moly82 said:
thanks. but what you mean with startup guide lacking google settings?
Click to expand...
Click to collapse
nothing wrong, since gmail is out it doesn't show you the seetings for add another account, that's all
Great work
Hi!
All works perfect on my D5803 with A1 Austria.
Thanks a lot and keep up
Ps: Akku %
Removed stuff
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
serajr said:
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
Click to expand...
Click to collapse
Hi chief!!
yes indeed it is a super fast rom! and it comes so slim.. not even close to usual bloated stock fw... i love it!
rovo should do his magic soon, and hope you'll do the same! can't imagine this rom plus xposed and your modules.. it would be just simply wonderful!! :fingers-crossed: :good:
see you!!
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Marvel1403 said:
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Click to expand...
Click to collapse
debloating MM is not so effective for battery life actually as MM comes already slim. it is essentially to optimize and remove useless stuff you can also download from the store. btw yes 2 days and 3-4 hours sot is very easy to reach here, with or without debloat script! I could get that in LP too...
as I am back to concept rom (much more stable now) and Sony added more bloat in it, I updated the script and list of things removed by the script
@moly82, I use your scripts on my xperia's but wondered if it would work on my Nexus 9 too?
Anything you could see that would be an issue?
Would it just skip items it did not find?
yes it should just skip unfound items so no worries but backup first just in case who knows
moly82 said:
yes it should just skip unfound items so no worries but backup first just in case who knows
Click to expand...
Click to collapse
Cool thanks, will give it a whirl
@moly82 Thanks for the list of deletable files, most of which I had already done. The concept FW should be the commercial release in my opinion. I only flashed it because I had an issue with my nav bar not working even after restoring an old back up so I fully wiped the system and internal memory and started from a new FW. I wish I had of changed over sooner!
@moly82 have you managed to get any camera mods to work with Concept? That's one of the biggest issues I'm having right now with this rom, the stock camera/video is so bad; washed out, overexposed white balance, and nasty lens flair. I was able to flash the Z5 camera libs, but that didn't seem to help. I tried Camera 2.0, but that caused a force close.
On a side note, I was able to regain special Sony audio settings, ex. Clear Audio, S-Force, etc., using this thread: http://forum.xda-developers.com/showthread.php?p=65873613
Sent from my D5803 using Tapatalk

[GUIDE] Ad removal - Debloat - Block OTA: easy TWRP install scripts

[SIZE=+3]TWRP scripts: Ad removal - Debloat - Block OTA[/SIZE]
[SIZE=+2]Amazon Prime Variant and OEM Variant[/SIZE]
Tested on Prime and OEM variants. Please report back if any issues​
[SIZE=+1]This guide only require you to be able to boot TWRP. You can follow this TWRP install guide and perform the installation of these .zip files AFTER step 8) (You must backup your system in case anything goes wrong, you will also need this backup to perform any future OTA, such as the one activating band 12). You can either stop there after installation, or proceed to the following steps if you want to have root access.[/SIZE]​
[SIZE=+1]All .zip have to be installed using the TWRP "Install" function. You will need to download them on your phone or copy them on a SD card. You do not need to install all these packages at once. These scripts do not install or remove anything on /system, they only rename some files. All scripts can be extracted and opening "update-binary" with your favorite text editor will allow you to see exactly what is done (always a good idea if you are concerned with your device security), and customize it if you wish.
This will only rename the stock apps in your /system. If an update was performed, or if you used the app previously, the app and it's files may still be present on your device /data even after running these scripts but you will be able to uninstall them as any other app. This also means that you can rerun these scripts after a future OTA and they will not erase any app you reinstalled yourself on /data.
A "reset all" script is also provided to restore all apps and unblock OTA.
You can individually restore any app by using a file manager with root access (or TWRP built-in one) and rename any "*.apk_" to "*.apk", app will show up again after the next reboot.
[/SIZE]​
[SIZE=+1]Disable ads, block OTA and Amazon PARTIAL debloat "bluR1-AMZ-PARTIALdebloat-blockOTA"[/SIZE]​This package will remove all the ads from your Prime phone and block future OTA. You DO NOT need to reset / wipe your phone after installation.
It will also remove all Amazon apps from your system except for the Amazon Underground app store (recommended).
This option allows automatic background updates from the amazon app store and do not need you allow the installation of packages from unknown sources.
[SIZE=+1]Disable ads, block OTA and Amazon FULL debloat "bluR1-AMZ-FULLdebloat-blockOTA"[/SIZE]​This package will remove all the ads from your Prime phone and block future OTA. You DO NOT need to reset / wipe your phone after installation.
It will also remove all Amazon apps from your system including the Amazon Underground app store.
[SIZE=+1]Google PARTIAL debloat "bluR1-GOOGLE-debloat"[/SIZE]​This package will remove SOME stock Google apps that can be easily downloaded from the google play store and are not required for the system.
This will only remove apps in the /system partition. This means that if you downloaded or reinstalled some of the apps they won't be removed by the script. It also means that if you previously used the phone and some apps were updated they will still be installed in your /data/app, but you will be able to uninstall them manually as any other app.
List of removed apps and their Google Play link for easy reinstall:
Google Search bar on home screen
https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox
Google Talkback
https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback
Google GMail
https://play.google.com/store/apps/details?id=com.google.android.gm
Google Play Music
https://play.google.com/store/apps/details?id=com.google.android.music
Youtube
https://play.google.com/store/apps/details?id=com.google.android.youtube
Google Drive
https://play.google.com/store/apps/details?id=com.google.android.apps.docs
Google Maps
https://play.google.com/store/apps/details?id=com.google.android.apps.maps
Google Chrome
https://play.google.com/store/apps/details?id=com.android.chrome
Google Talk Services
https://play.google.com/store/apps/details?id=com.google.android.tts
Google Play Videos
https://play.google.com/store/apps/details?id=com.google.android.videos
Google Photos
https://play.google.com/store/apps/details?id=com.google.android.apps.photos
Google Agenda
https://play.google.com/store/apps/details?id=com.google.android.calendar
Google Hangouts
https://play.google.com/store/apps/details?id=com.google.android.talk
Google Calculator
https://play.google.com/store/apps/details?id=com.google.android.calculator
Google Clock
https://play.google.com/store/apps/details?id=com.google.android.deskclock
It will not disable Google Play store, Play services etc. Some of the apps can be removed by editing the script yourself. See the "update-binary" file. No additional help to do so will be provided, do it at your own risks.
[SIZE=+1]Mediatek and BLU PARTIAL debloat "bluR1-MTK_BLU-debloat"[/SIZE]​This package will remove SOME stock Mediatek and BLU apps.
Remove useless BLU app and Opera preinstaller.
Remove the ugly File Manager app. Replace it by any other file explorer app is you like.
Amaze File Manager is a great and open source alternative https://play.google.com/store/apps/details?id=com.amaze.filemanager
[SIZE=+1]Restore all apps and OTA "bluR1-RestoreApps-OTA"[/SIZE]​This package will restore all apps and unblock OTAs.
Changelog:
07/30/2016 - Topic creation. Amazon ad removal / debloat / OTA blocking scripts from the original post moved here for a better visibility. Initial release of Google and Mediatek debloat scripts.
08/17/2016 - MTK debloat script updated to fix FileManager removal bug
10/01/2016 - Scripts updated to v2. Now only rename files, restore script provided (V1 downloads: AMZ-PARTIAL 740, AMZ-FULL 828, GOOGLE 747, MTK 536)
05/31/2017 - Some scripts updated to v2 or v3, support V8.4 and V21 changes in folder and apk names. (V2 downloads: AMZ-PARTIAL 774, AMZ-FULL 1208, MTK 544, RESTORE 294)
07/13/2017 - MTK and OTA restore script updated to fix a typo in BLUHelp debloating. (V3 previous downloads: MTK 60, RESTORE 44)
thanks for this! very nice of you to make all the different options as well.
worked great for me on first try.
Now I'm tempted to buy the 50 version, would this leave your phone as stock?
rmartinezdl said:
would this leave your phone as stock?
Click to expand...
Click to collapse
I do not have access to a stock ROM or nandroid backup to compare everything so I can't be 100% sure but as far as I know pretty much yes.
Scripts worked perfect and didn't delete the Google apps I actually use! Thanks!
Problems after Factory Reset
after factory reset got a Error looping, “Unfortunately, Setup Wizard has stopped.”
Method to bypass problem,
1. Boot into TWRP Recovery
2. Mount System ( Mount → check System )
3. Advanced → File Manager
4. Browse to /system/priv-app/Setup-Wizard
5. Delete it
Also, home button and menu button doesn't work
(had to restore from backup)
Fibrizox said:
after factory reset got a Error looping, “Unfortunately, Setup Wizard has stopped.”
Method to bypass problem,
1. Boot into TWRP Recovery
2. Mount System ( Mount → check System )
3. Advanced → File Manager
4. Browse to /system/priv-app/Setup-Wizard
5. Delete it
Also, home button and menu button doesn't work
(had to restore from backup)
Click to expand...
Click to collapse
Or in between the pop up error messages you can go to Settings-> Apps->App Permissions and give Setup Wizard the necessary permissions.
So to clarify I can use the script to also disable ota for a prime that's been converted to OEM? excellent
I am a Prime-Member and would like to buy two NEW BLU R1 HD - 16 GB - Black - Prime Exclusive - with Lockscreen Offers & Ads:
https://www.amazon.com/dp/B01H2E0J5M/ref=twister_B01G7TG6SW?_encoding=UTF8&psc=1
However, since I am buying these two cellphones for my sons, and I don't want that they have access to my amazon account details...
So, I would like to know if these phones will come fully registered to my Amazon account, or if it is possible to block or unregister these phones to my Account ?
So, my Amazon Orders, List and Shopping Cart, can not be seen or used by my sons ?
At first and if not totally necessary, I not want to root or modify nothing on this Blue phone... I just would like to totally block in some simple way, my Amazon account that I will use to purchase these phones, possibly because both will come already registered to the same account.
ulises.rodriguez said:
I am a Prime-Member and would like to buy two NEW BLU R1 HD - 16 GB - Black - Prime Exclusive - with Lockscreen Offers & Ads:
https://www.amazon.com/dp/B01H2E0J5M/ref=twister_B01G7TG6SW?_encoding=UTF8&psc=1
However, since I am buying these two cellphones for my sons, and I don't want that they have access to my amazon account details...
So, I would like to know if these phones will come fully registered to my Amazon account, or if it is possible to block or unregister these phones to my Account ?
So, my Amazon Orders, List and Shopping Cart, can not be seen or used by my sons ?
At first and if not totally necessary, I not want to root or modify nothing on this Blue phone... I just would like to totally block in some simple way, my Amazon account that I will use to purchase these phones, possibly because both will come already registered to the same account.
Click to expand...
Click to collapse
They do not come registered to your account at all. Signing into an amazon account is an option during setup, but not required.
Thanks for letting me know that these BLUE phones, not come pre-registered to an amazon account...
That's just what I wanted to know before ordering my two phones.
The scripts worked perfectly except for the MTK one. The ugly file manager is still there.
oakami said:
The scripts worked perfectly except for the MTK one. The ugly file manager is still there.
Click to expand...
Click to collapse
This is strange. What phone version do you have? (Prime, normal, Prime converted to normal, etc)
Is the Gallery App gone? If yes try to uninstall the file explorer manually like any other app, else try to run the script again to be sure nothing went wrong.
emc2cube said:
This is strange. What phone version do you have? (Prime, normal, Prime converted to normal, etc)
Is the Gallery App gone? If yes try to uninstall the file explorer manually like any other app, else try to run the script again to be sure nothing went wrong.
Click to expand...
Click to collapse
I have the prime version. I flashed TWRP plus superSU and Xposed. The gallery app is gone. I tried installing the script again but the file manager is still there.
oakami said:
I have the prime version. I flashed TWRP plus superSU and Xposed. The gallery app is gone. I tried installing the script again but the file manager is still there.
Click to expand...
Click to collapse
Found the problem. Please redownload the script from the original post, I updated it and it should now remove properly the file manager.
Thank you for your bug report!
Thanks so much for this.
Also wanted to let people know that I removed Google Play Service and Google Play (store) without any issues so far.
I will update this post if I run into any problems.
Thanks again!
Any way to make the Camera app launch Google Photos? It now just gives me an error since I removed the Gallery app...
lostman1027 said:
Any way to make the Camera app launch Google Photos? It now just gives me an error since I removed the Gallery app...
Click to expand...
Click to collapse
No, use of the default gallery app is hardcoded in the camera app.
You can only launch Google Photos using the shortcut displayed after taking a new picture.
If you use an alternative camera app (I use Open Camera https://play.google.com/store/apps/details?id=net.sourceforge.opencamera ) these will correctly launch Google Photos or any other default gallery app.
For testing purpose (seems to work ok on my phone) here is an update of the scripts.
These ones will not delete the apps in /system but rename them from *.apk to *.apk_ effectively disabling and hiding them.
Two main advantages:
- Each app can easily be individually disabled/reactivated using TWRP builtin file explorer or any file explorer with root access by renaming them back to *.apk.
- Easily revert to an out of the box state to be able to apply an OTA update by simply using "bluR1-RestoreApps-OTA.zip" script. This will "rebloat" your system. If you installed root etc you still have to take care of this yourself.
If you are giving these scripts a try, please report success / failure so I can eventually update the original post.
Edit 09/10/2016: scripts updated to debloat non-prime phones, restore script released.
Edit 10/01/2016: scripts are now available on OP, beta is over. Thanks to the few testers that reported back!
Oops, wrong thread.

[ROM][6.0.1][2.9 GB FREE][GUIDE] Debloat Script for Stock J2 Prime (SM-G532 F/G/M/MT)

Welcome! This guide is to help you debloat your Samsung Galaxy J2 Prime (G532 M/F/G/MT)!
But, before I begin, I should give a few warnings!
Background:
As us owners of the J2 Prime know, development for a custom ROM (either port or AOSP based) is not going anywhere soon. I think most recognized and experienced devs just see this phone, its specs and think "I'm not buying this thrash phone" lol
Not only are its specs thrash, the chipset has been known to be a pain to port ROMs over (Mediatek)
What's the next big thing? DEBLOATED ROMS!
Unfortunately, I don't have access to the software to create a flashable, fully debloated ROM (I do not have administrator rights, it is not my PC :v)
However, what I CAN create is a flashable zip to remove some annoying apps that you will most likely not need!
So, with that being said, let's get to the obligatory warnings
Warnings!:
* There are two flashable zips I am including. One that will factory reset your phone (100% recommended!) and one that will just eliminate your bloatware (not recommended, because some app information will still be stored in the /data partition)
* PLEASE CHECK THE LIST OF APPS REMOVED DOWN BELOW!!!!!
* I am removing apps that I don't need! Key word being "I". For example, I don't use Samsung's Gallery app because I use Google Photos, I have various devices and I need photos to be synced up between them (UPDATE: Since so many people use Samsung's Gallery, I've updated my scripts to keep Samsung Gallery and delete Google Photos. I'll just download it from Playstore). so by flashing this you are accepting my conditions. In other words, I get to choose what apps are being deleted. If you have a request of an app you don't want removed, you can easily search for the apk file on the internet or on Google Playstore. If you have a request of an app you want removed but is not included in my zip, and enough people request it, I can update my file (or you can update it yourself, if you want) to delete extra apps
* Since there are a lot of apps that I am removing, there's a big possibility that I may break something like a feature YOU may be interested in. Be warned that you may experience sudden FC or a feature you want not to work. Please report if anything that YOU use is not working so I can add it to the not working list. So far, of what I've used I have not encountered any FC or any bugs, but there is always a possibility that it can happen
* I can't stress this out enough, I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE, YOU ARE FLASHING THIS ON YOUR OWN RISK!
Apps that are being deleted:
AllshareFileShare
AllshareFileShareClient
AllshareFileShareServer
AssistantMenu_M
BasicDreams
ChocoEUKor
Chrome
ChromeCustomizations
CoolEUKor
Drive
EasymodeContactsWidget
EasyOneHand3
EasySetup
EmergencyLauncher
EmergencyModeService
EmergencyProvider
Facebook_stub
Foundation
GearManagerStub
GoogleTTS
Gmail2
Hangouts
KnoxAppsUpdateAgent
KnoxAttestationAgent
KnoxFolderContainer2
KnoxSetupWizardClient
KnoxSwitcher
Maps
MobilePrintSvc_Samsung
MSSkype_stub
Music2
MyKNOXSetupWizard
OneNote_Compact_Samsung
Photos
PhotoTable
QuickConnect_4x_Lite
RCPComponents
RoseEUKor
SafetyInformation
SamsungDLPService
SamsungTTS
SBrowser_4.2
SecurityLogAgent
SysScope
talkback
UniversalMDMClient
Videos
VideoTrimmer_Phone
Weather2016_Grace
WeatherWidget2016_Grace
WebManual
YouTube
EasyLauncher2_Zero
Excel_SamsungStub
FotaAgent
GalaxyApps
GoogleFeedback
GooglePartnerSetup
HybridRadio_M
ManagedProvisioning
OneDrive_Samsung_v2
PhotoStudio_WQHD_Grace_Lite
PowerPoint_SamsungStub
SamsungAccount_Grace
SamsungCloud
SamsungMagnifier3
SetupWizard
SFinder_v5
SMusicPicker
SoundAlive_41
Velvet
VoiceNote_4.0
Word_SamsungStub
IF I ELIMINATE AN APP YOU USE PERSONALLY, I WILL BE ADDING A ZIP FILE IN POST #2 TO FLASH VIA TWRP. IF YOU HAVE AN APP YOU WANT ME TO ADD THAT YOU PERSONALLY USE, PLEASE COMMENT SO I CAN GIVE YOU THE APP TO DOWNLOAD
I WILL NO LONGER ADD ZIP FILES TO ADD APPS BACK DUE TO NONE OF THEM WORKING ON DIFFERENT FIRMWARES (THEY SEEM TO BE FIRMWARE SPECIFIC). IF YOU WANT TO ADD AN APP I DELETED, PLEASE SEARCH ON GOOGLE HOW TO ADD IT BACK
As the developers here would say it:
Code:
#include <std_disclaimer.h>
/* *
Your warranty is now void. *
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about flashing this zip file
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you. HARD!
* */
With that out of the way, let's finally get started!
What you need:
1. A PC
2. The will to use the SEARCH function or search in Google when you run into a problem that may or may not be listed in this guide
3. Debloat_J2_Prime zip file (link below)
4. TWRP (link below)
5. Ashyx's file to remove decryption (highly recommended, link below)
6. The Super SU zip file (link below)(not necessary, you can also root with Magisk)
7. Your stock ROM already downloaded from Updato or Sammobile (not necessary but just in case anything goes wrong)
Downloads:
1. Samsung USB Drivers
2. Download the latest version of Odin
3. The latest firmware of your phone (Use google to search for it, recommended sites are Updato and Sammobile)
4. Debloated ROM (Script that will factory reset)
5. Debloat script ONLY (not recommended, but can still clear up some space!)
6. Download TWRP from the TWRP thread
7. Download ashy's "no-verity-no-encrypt_ashyx" file from TWRP thread
8. Download the SuperSU "SR5-SuperSU-v2.82-SR5-20171001224502.zip" file from this thread
STEP-BY-STEP:
(Make sure you have OEM Unlocked before trying this procedure out. To do this, you need to activate developer options by tapping on "Build number" 7 times located under Settings>About Device>Software Info. Then, go to Settings>Developer Options and make sure OEM Unlock is enabled)
0. PLEASE PLEASE PLEASE, read the warnings!
1. First you should flash TWRP. It's as simple as flashing via Odin the file containing TWRP. If you need extra steps and explanations of how to install TWRP, follow this thread: TWRP thread
2. Once you have TWRP installed, boot into recovery
3. If you get a prompt upon starting up TWRP to allow modifications, you should swipe to allow modifications. If you don't get any message, ignore this step
4. Flash the "DEBLOAT_J2_Prime_FactoryReset" file
5. Root via the method you want (flash SuperSU zip) or you can use Magisk
6. Flash the no-verity zip
7. You now have a fully debloated J2 Prime!
Let the phone boot, set it up and you should now be done!
You now have a much lighter J2 Prime with aprox. 2.9 GB of free storage! Even after the apps update!
Special thanks to:
@ashyx for porting TWRP to our crappy device xd
@tx_dbs_tx for compiling this great list , which I based my script on
Screenshots
(Attached)
Eliminated apps
Update:
For now, these do not work. Flashing these apps will cause them to FC. These are firmware specific, so they will most likely not work on other firmwares
I am trying my best to find out a way to have them universal, but for now please google search how to install the app you might want returned that I have removed
This debloat script eliminates a few system apps you might personally use and I don't. I will upload requested apk files in this post. If you have a request, to remove or to add to the debloat script, please let me know
Attached apk (flash via TWRP):
Samsung Gallery
SMusic Picker
SoundAlive_41
Reported problems:
Cannot edit/draw on screenshots
Changelog:
24/01/18: Updated tutorial. I now have 2 scripts. One that will completely factory reset your phone and one that will only eliminate bloatware (no factory reset)
22/01/18: Updated tutorial. It is no longer needed to flash stock via Odin
Does this work on J200F?
barnas said:
Does this work on J200F?
Click to expand...
Click to collapse
This script works for any Samsung device in theory, but some of the apps listed here may come in different names on other devices and may not eliminate them from other devices. I recommend a device backup before trying it
i stock at step 12
i cannot find swipe in download mode
and if i try to go in twrp,it already been wipe out
should i flash it again?
zxcvbn96519 said:
i stock at step 12
i cannot find swipe in download mode
and if i try to go in twrp,it already been wipe out
should i flash it again?
Click to expand...
Click to collapse
If you don't get a prompt to allow modifications, you don't need to worry about it, you can skip to step 13
22/01/18
-UPDATED TUTORIAL-
Fewer steps and better explained! It is not necessary to re-flash stock ROM
Really thaks for your work the grand prime plus only problem is the storage with most of my friends i will try this with them and tell you what will happen thaks again ?❤
aboodhe said:
Really thaks for your work the grand prime plus only problem is the storage with most of my friends i will try this with them and tell you what will happen thaks again ?❤
Click to expand...
Click to collapse
If you run to any problem just let me know
great job op. just one question: can i replace SuperSU with magisk? because i use a bank app that need to pass SafetyNet..
thanks for your hard work and i pray for you can make a fully flashing-debloated-stock rom for odin.
d_g_m_2000 said:
great job op. just one question: can i replace SuperSU with magisk? because i use a bank app that need to pass SafetyNet..
thanks for your hard work and i pray for you can make a fully flashing-debloated-stock rom for odin.
Click to expand...
Click to collapse
Sure, you don't have to flash SuperSU, you can replace it with Magisk
I am currently working on a flashable debloated stock ROM. Now that you bring up that you personally use Magisk, I will not include SuperSU on the flashable ROM
I don't know when I'll have it ready, I'm still trying to figure out what goes where but right now I have a 60% advance on it
ShaDisNX255 said:
Sure, you don't have to flash SuperSU, you can replace it with Magisk
I am currently working on a flashable debloated stock ROM. Now that you bring up that you personally use Magisk, I will not include SuperSU on the flashable ROM
I don't know when I'll have it ready, I'm still trying to figure out what goes where but right now I have a 60% advance on it
Click to expand...
Click to collapse
really great news to start the year.
send you the best mate!
thank u for the script
i tried flashing the gallery zip , but my gallery force closing even after giving it all the permission
01user10 said:
thank u for the script
i tried flashing the gallery zip , but my gallery force closing even after giving it all the permission
Click to expand...
Click to collapse
Download Titanium Backup and wipe data. Or flash zip via TWRP and wipe dalvik/cache
01user10 said:
thank u for the script
i tried flashing the gallery zip , but my gallery force closing even after giving it all the permission
Click to expand...
Click to collapse
I just re-installed it and now it doesn't work for some reason. I installed it when I uploaded it for the first time and it had worked. I'll look in to it and re-upload it when I'e gotten it to work again
01user10 said:
thank u for the script
i tried flashing the gallery zip , but my gallery force closing even after giving it all the permission
Click to expand...
Click to collapse
I can't seem to be able to get it running again. I will eliminate Samsung Gallery from the script. You'll have to re-flash stock via Odin to get it back, unfortunately :/
Sorry for that, I will still try my best to get it to work again
d_g_m_2000 said:
really great news to start the year.
send you the best mate!
Click to expand...
Click to collapse
Sorry to disappoint but I don't think I will be able to create a debloated zip ROM.
I thought it would be as easy as making a script unpack everything in /system, but it turns out that you need to give permissions to a lot of folders and apps located in /system.
For beginners like me, it's an absolute pain to give permissions to every single file located in /system.
There are programs to make this easier like ASSAYYED's kitchen
But my PC detects it as malware and I can't deactivate this PC's anti-virus because it is not mine
Sorry, all I can do is modify this script I guess, it's my best attempt to debloat our device
ShaDisNX255 said:
Sorry to disappoint but I don't think I will be able to create a debloated zip ROM.
I thought it would be as easy as making a script unpack everything in /system, but it turns out that you need to give permissions to a lot of folders and apps located in /system.
For beginners like me, it's an absolute pain to give permissions to every single file located in /system.
There are programs to make this easier like ASSAYYED's kitchen
But my PC detects it as malware and I can't deactivate this PC's anti-virus because it is not mine
Sorry, all I can do is modify this script I guess, it's my best attempt to debloat our device
Click to expand...
Click to collapse
Don't worry bro, with your scrip it's already done the job that we all need.
thanks for your hard work and keep this device alive!.
BTW, i mess with the system with (titanium backup) and now i can't activate the "max" option of battery saver in device maintenance. do you have the apk so i can reinstall it?
because in internet it's only avaible for nougat or higher (sammobile or apkmirror).
thanks in advance for your help.
d_g_m_2000 said:
Don't worry bro, with your scrip it's already done the job that we all need.
thanks for your hard work and keep this device alive!.
BTW, i mess with the system with (titanium backup) and now i can't activate the "max" option of battery saver in device maintenance. do you have the apk so i can reinstall it?
because in internet it's only avaible for nougat or higher (sammobile or apkmirror).
thanks in advance for your help.
Click to expand...
Click to collapse
Do you need the device maintenance apk? Would you happen to know what it's called in system/app or system/priv-app?
I can't find it lol

Categories

Resources