yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] :
Worked!

So, I evaluated some possibilities to get from full working .690 to .726.....at last I used your method, everthing is woking fine so far: Recovery, Xposed, modules, etc. :good::D

Two things I noticed: Stock Mail-App is no longer there due to your debloating script. But no problem for me, since I can use GMail for my other accounts now :p Moreover, since you removed all small apps the stock weather app is gone too. But no prob, I got it on xperiablog.net, just installed it like any other app and voila! Weather is back again :laugh::victory:

Thanks four instructions and debloating script :D

Cheers :highfive:
[Sony Cross-Device General] FcukBloat:
thanks for the feedback ;)

yes no stock email app btw will upload soon a package with all apps I remove so one can restore anything he wants in case of need.

about stock weather do you mean the widget for homescreen? if so, small apps removal is not related, you would need to release WeatherWidget-release ;)
[Sony Cross-Device General] :
Yep, the one for home screen. Since it was not there I assumed that sony included it in the "small apps" framework/package...but hey, I got it back :)

In case you or someone else want the original Sony Xperia Weather App: http://d-h.st/Wrer
[Sony Cross-Device General] boojay:
I've managed to lose the ability to long press on a running app icon within the recents panel in order to access App info. Did that have anything to do with this mod (i.e. through removal of some service) or is anyone else still able to do so? In all probability, I'm sure I somehow buggered up that feature all on my own through sheer incompetence, but just wanted to check.

Thanks for this debloating method, moly! Everything else is working perfectly and loads blazingly fast!

Edited: Also I tried restoring Small Apps, but the only small app that's working is calculator. The rest don't load at all--not a dealbreaker, I can live without.
[Sony Cross-Device General] ondrejvaroscak:
For small apps check correct permissions and app folder (app vs. priv-app).

For the recents app info I don't have the ability either but I didn't know it even exists so don't miss it.
[Sony Cross-Device General] FcukBloat:
didn't even know that feature!! [emoji14]

but yes very probably it is because of this mod, as it doesn't work here either :o.

will have to investigate what app does the job once i understand clearly what feature is that, i mean what used to happen exactly when you long pressed apps

about the small apps, take care that not all of them were in system, some were also in /etc folders i deleted... will tell you exactly tomorrow about that. but after you restored small apps the relevant bar at the bottom of the recent apps appears again right?
[Sony Cross-Device General] ondrejvaroscak:
Can confirm that Xposed module 20MP SuperiorAuto does NOT work with Xzdualrecovery 2.8.7. You must use 2.8.3 and byeselinux as selinux policy enforcement is causing module not working.
[Sony Cross-Device General] boojay:
Yeah, I almost missed it too, but I accidentally discovered it when I long pressed on the app icon (not the header) of Lollipop's new Rolodex-style recents panel. I preferred Kit Kat's method where you could just long press anywhere on the recent app window in order to access App info of each individual app; I find that to be useful if I want to uninstall an app quickly or want to clear data or access the AppOps icon (if it's ever updated again for LP).

I restored a bunch of apps and widgets using Serajr's flashed removed apps zip in his debloat thread and everything else worked except for small apps, but I'll check to see if the permissions are correct, I thought they would be. All the small apps appear in the small apps bar, they just don't work, save for calculator. Anyway, thanks guys!

---------- Post added at 03:50 AM ---------- Previous post was at 03:08 AM ----------

Ok, this is weird, I have no idea why, but long pressing on the icon in the recents panel is working again. Pretty sure I didn't do anything.
[Sony Cross-Device General] ovizii:
How's the uploading coming along? Can't wait to download and flash or are you still fixing issues with it?
[Sony Cross-Device General] FcukBloat:
https://mega.co.nz/#!jFoDCDDL!vWTkt4bNZjfYsWrrwlBdNCL34bz3Kgtw5WvA-Psaj7M

;)

going to modify OP now :o
[Sony Cross-Device General] ovizii:
Thanks, I'm busy downloading :)

Just curios, as you find issues and bugs and improvements, how are you going to handle this?

Oh and btw. how did you handle your debloat script in the end, I mean, when I read the lists in the first post I see some warning in red but if I flash your all-in-one firmware I have no control about those red listed issues, have you taken care of them and how? i.e. removing the stock launcher, what did you replace it with?
[Sony Cross-Device General] FcukBloat:
please read the modified OP with modified list ;)

I find it stable here at least for me, tested a lot and didn't find anything it doesn't work (again for me! :) )

anyway in case I will find something broken, I will just restore the app(s) that fix the broken part... others that need something I deleted, can do the same for the apks they need ;)

as per the list of removed apps, it is changed a little. I restored the few essential packages that are needed for the first boot, so you won't have any problem in booting up properly the phone after flashing and eventually you can remove them later (so stock launcher and keybord for example are there again) :o
[Sony Cross-Device General] ogunja:
Good morning [MENTION=4695495]moly82[/MENTION] dear friend, I have an urge to install this fw. It certainly was a great job chasing tools and looking to leave the stable OS. I imagine that your device should be flying. ??
[Sony Cross-Device General] FcukBloat:
well I find it very slim and clean, and still it is stable so far, I like it! :)

don't know if it is faster in all aspects respect regular FW with all bloat, it may be placebo, but for sure ram used is less, faster boot, no bloat etc :)
[Sony Cross-Device General] ondrejvaroscak:
OK the correction, I have the same heavily debloated version with small apps and framework removed but the app info in recents IS WORKING.
[Sony Cross-Device General] FcukBloat:
it still doesn't work here it seems, can you guys please make a short video where I can see how to enable this and what info are then shown? thanks in advance!
[Sony Cross-Device General] FcukBloat:
yes it should as all apps name in sony fw are always almost the same ;)

btw in the worst case, you will just not debloat 100% and something may remain undeleted, so nothing serious to worry about ;)
[Sony Cross-Device General] feizhel_vandrago:
Thanks mate :) :D works perfect in my Honami :D btw, can you add Socialife, Google Photos, and Notes later? I think its very rare to use them.
[Sony Cross-Device General] FcukBloat:
what you mean, you want them removed, or restored?

because they should be already be removed by the script, if not, probably their name in system is different, that's why they was not removed automatically ;)

you might send me a couple of screens of the drawer after applying my script so I can see what was removed, and what not ;)
[Sony Cross-Device General] feizhel_vandrago:
I've installed my apps :D but from what I remember, its just the three that i said above.

I'll write its path here later. Btw, how to remove them manually? Just uninstall them with TiBackup?

I dont know what should I delete
[Sony Cross-Device General] FcukBloat:
delete/move away stuff from system/app or system/priv-app with any root file manager ;)

see OP, the linked spreadsheet file I made in particular, it will surely help to understand what to remove ;)
[Sony Cross-Device General] Deathschythe33:
[MENTION=4695495]moly82[/MENTION]

Thanks. I'm now on a stock debloated 5.1.1. with SuperSU and Dual recovery installed.
[Sony Cross-Device General] hxq88:
forgot feedback, call record is worked after restore CallWidgetFrameworkPermission, no force close. thanks.
[Sony Cross-Device General] FcukBloat:
wonderful thanks!

good so I will restore it in the next version :o
[Sony Cross-Device General] centric dk:
Thank you for your great work.

I have used your script on my rooted Z3tc. Unfortunately, now I cannot install any apps from outside Google Play, e.g. nothing happens when I press the install button in F-Droid app store or download an apk and try to install directly (see attached screenshot, in Danish).

I really want Cydia Substrate, XPosed etc.

What can I do to be able to install apps again?
[Sony Cross-Device General] FcukBloat:
you're not running an old version of xperia xposed module right? don't think so as you said you would like to install xposed but please confirm (that used to happen after enabling round corners option in that xposed module.. ;) )
[Sony Cross-Device General] centric dk:
No, i have yet to install XPosed module.
[Sony Cross-Device General] Bartekreaper:
Hi [MENTION=4695495]moly82[/MENTION], What is the fastest wayt to restore :D Can you look at my zip (modded your zip :P ) Now im trying to make AROMA restore but it is hard for me ;)
[Sony Cross-Device General] FcukBloat:
fastest and easiest way is in OP.. can't really imagine nothing easier than that to restore something.. see "how to restore something" part in OP ;)
[Sony Cross-Device General] centric dk:
No, i have not installed xposed module yet. Am I missing an app or a setting?
[Sony Cross-Device General] crazyboy8x.ac:
how can i remove 3 funtions in border? thanks
[Sony Cross-Device General] FcukBloat:
remove the following from /system/priv-app

arfun

ArtFilterCamera

DualCamera

;)
[Sony Cross-Device General] centric dk:
Hi [MENTION=4695495]moly82[/MENTION], you have made i great script, but do you have any idea why I cannot install apps from anywhere except Google Play?
[Sony Cross-Device General] ondrejvaroscak:
Yes, you need to go to Settings/Security and enable "Unknown sources". It will then allow you to install downloaded apks, not only apps that are in Google Play Store.
[Sony Cross-Device General] centric dk:
Thank you for your answer, but I have already enabled "Unknown sources". Im guessing there must be something in the script from [MENTION=4695495]moly82[/MENTION] that makes/removes a setting. Nothing happens when I press the install button, e.g. see attached pic.
[Sony Cross-Device General] ondrejvaroscak:
Do you by an chance use any of these apps used to make your display more comfortable for reading during the night (Twilight or similar)? If yes, disable them during installation. They use display overlay. As a security feature, Android disables ability of interaction with overlays in order to prevent apps to maliciously confirm installation dialogues.
[Sony Cross-Device General] centric dk:
THANK YOU. I use Lux Dash to dim the light. This is the app that is the problem.

I have used it a long time without any problems and I also use it on my phone. It is strange that it suddenly creates a problem, and only on some devices. Is there any way that i can remove the display overlay security feature or do I have to disable it every time I want to install via installation dialogues?
[Sony Cross-Device General] ondrejvaroscak:
I am afraid you have to disable it every time...
[Sony Cross-Device General] WieserZ1C:
Would you please be so kind to convert it to An Aroma installer zip, to pick stuff Separately, for example sorted By categories, Functions or anything else. Iwould like to keep the connectivity apps for example, but I don't find all the now missing stuff ( cannot choose between map and msc mode f.E.
[Sony Cross-Device General] FcukBloat:
sorry I won't. it would be too much work for me and nowadays I am very busy plus I don't need it at all so no point in doing that... btw you guys can do that of course, the script is very easy to read and also in OP there is a list of all stuff removed so you can adapt it pretty easily I think ;)
[Sony Cross-Device General] mj084:
[MENTION=6649303]WieserZ1C[/MENTION]

What's so difficult to open and edit the updater-script from "Bloatware_Removal_LP.zip"?

Here is a helpful table for removed apps:

https://docs.google.com/spreadsheets/d/1geFByRKDTOOZSIBOixO2boG1_78NUjqzkB6iozzJ4-k/edit#gid=0
[Sony Cross-Device General] crazyboy8x.ac:
could u pls add theme to your remove list?
[Sony Cross-Device General] olokos:
Hi!

[MENTION=4895687]Envious_Data[/MENTION] asked me for doing this mod the way it should be, that is moving all from /system/app and /system/priv-app and then moving back useful apps from this list: https://drive.google.com/file/d/0B7kXPU2Y8c5xTGE2N2tBZ1FzcG8/view

Feel free to test it! :)
[Sony Cross-Device General] FcukBloat:
"the way it should be" is pretty subjective lol.. that mights seem a good choice for you and the other guy, but for sure it is not for me ;)

really don't see the point in moving stuff back and forward, it is just redundant and actually you will obtain the same as I did (apart for a few apps as I see you edited my list), but the script will take longer to execute... that's all. but well you are free to do as you wish :p

....why moving EVERYTHING (useful and useless things) from system to the backup folder, then restore useful things back to system (two steps), when you can just move USELESS things to the backup folder in one step (easier and faster)?

so you see, this is not the way it should be, at least for me, the best way for me is the way I implemented in my solution :)

ps: it would be good to credit me someway in "your" script at least, considering it is just mine script simply re-adapted...?! ;)
[Sony Cross-Device General] ondrejvaroscak:
Now, do not take it personally, but I am going to bit wonder about this crediting frenzy. I understand that some people really deserve admiration and reward for their coding and development. At the other hand, there is lot of simple procedures, that (and it does not only include your script) simply in my opinion, doesn't necessarily need crediting. Script, that removes certain apps, it is not much of development, is it? Honestly, more reward would deserve the identification of potential bloat and unnecessary apps. With that much of credit giving we may end up with scripts having 50 lines of code and 60 lines of credits...
[Sony Cross-Device General] FcukBloat:
i didn't develop anything, and I've always said that clearly. BUT i spent countless hours identifying apps to remove, apps to restore after people reported FCs or similar. and i also spent a lot of time testing the script, changes etc actually. that said, it is only a matter of respect. when i used scripts made by others (but even just ideas, like i have always done crediting you for the idea of the backup folder for example) and only changed something in them, i always wrote it clearly in the script itself whenever i made it public ("made by xxx reviewed by me" or similar).

also, to conclude, and again speaking of respect, at least i never took a script, a mod or whatsoever and went to the author's thread stating something like "this is your work, the way it should be done".. but the problem is that me is me and others are others i know... [emoji14]
[Sony Cross-Device General] ondrejvaroscak:
You are right... I am sometimes in doubt of heading of open source in later times .... Consider it just a bit of temporary stress relief :) Anyway, you did a great job on your script...
[Sony Cross-Device General] chris5s:
Thanks for the debloating script, I've found it very useful :good:

One thing tho - something I deleted has changed my 4g icon to LTE! Any idea what that might be??

I have the latest .200 build installed, before using this script I had the 4g icon, now it's been replaced!

Peace
[Sony Cross-Device General] FcukBloat:
mhm very strange, that is related to the fw you are using usually! it has never changed the icon just debloating for me and others AFAIK.. are you sure you didn't install a .200 fw with lte icon instead of 4g one?
[Sony Cross-Device General] chris5s:
It is strange, and yes the icon was definitely 4g before!

Do you think it might be something in system/vendor/overlays?

I had done some manual debloating beforehand, and the 4g icon was there for mobile data, then did some more based on this script, and afterwards I have LTE :confused:
[Sony Cross-Device General] Farsiris:
Do this script Really need to Wipe Data ? I have large sized apps , like games . Is it Okay just wipe cache and dalvik ?
[Sony Cross-Device General] FcukBloat:
read better OP, there is a pretty big "NOTES" field (the second one) with that explained .... ;) (btw short answer is no, actually you do not really need to wipe data too)
[Sony Cross-Device General] FcukBloat:
don't really know sorry mate! ;(
[Sony Cross-Device General] chris5s:
It's fine, no big deal :good:

Peace.
[Sony Cross-Device General] ondrejvaroscak:
Look for overlays. Overlays are disegned miniapps to change certain, mainly visual aspects. So look for systemui overlay or settings overlay or similar. Not sure which one is it now...
[Sony Cross-Device General] FcukBloat:
ok so you can find all the overlays in /system/__Backup/Various/vendor_overlay and you could just move the whole overlay folder back to /system/vendor and see what happens... (be sure to move stuff or you will mess up permissions, just check permissions before rebooting to be sure btw).

it should work fine, btw in case of any problems during next boot (bootloops etc) you can enter in TWRP, mount system, go to file manager, and just delete what you moved to system and then you should be able to boot up the phone again. you can also wipe cache and dalvik first in case of problems and see what happens. let us know!
[Sony Cross-Device General] juanpirulo:
The one that changes that icon should be com.android.phone-res-305.apk. Cheers

Also you can decompile systemUI go to res/values/bool and change the line to choose between lte and 4g

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] chris5s:
Thanks for all the help guys.

Restored vendor/overlays and 4g is back :good:

Peace.
[Sony Cross-Device General] deepongi:
after using beloat script, radio apk doesnt work. give a FC related to Bluetooth Share..

anyone have this also?

regards.
[Sony Cross-Device General] FcukBloat:
working fine here so sorry but can't troubleshoot it for you ;(

if you post the log of the error we can maybe understand the missing package involved though.

which phone?
[Sony Cross-Device General] deepongi:
d6603

ill grab a log of me opening the radio apk.

edit: here we go - https://www.dropbox.com/s/q6k8wqim9v71xx9/2015-10-04-11-07-59.txt?dl=0
[Sony Cross-Device General] mirok80:
good work thanks
[Sony Cross-Device General] broky:
i lost my usb connection to PC when i debloated my rom and restored all the above files with right permissions but i could not connect my phone through USB

even after restore:confused:

am i missing another file except the above for USB storage to work?

i have a z1c in 5.1.1 lollipop stock and locked bootloader,thanks
[Sony Cross-Device General] FcukBloat:
it is very strange I see some errors about trackid but really don't see why it should FC radio FM I have always deleted trackid... and also someting about media player for FM... but don't know what is it? other errors then I see about bluetooth, broadcom fmreceiver and crashmonitor.. but I didn't delete anything about broadcom or bluetooth.... only the crash monitor but don't think it is the culprit.

are you sure radioFM worked and immediately after applying my script it stopped working? or you did remove something else or did something different in addition?

what did you restore exactly? I don't see the packages you refer about.

regular USB connection should work fine even after debloating, I always use it flawlessly. only stuff I removed is for advanced connection (so for choosing smtp/mass storage, pc companion connection etc). what do you need to do exactly?
[Sony Cross-Device General] broky:
"/system/app/Backup-Restore",

"/system/priv-app/BackupRestoreConfirmation",

"/system/priv-app/usb-mtp-backup-transport",

"/system/priv-app/usb-mtp-factoryreset-wrapper",

"/system/priv-app/usb-mtp-marlin-wrapper",

"/system/priv-app/usb-mtp-update-wrapper",

"/system/priv-app/usb-mtp-vendor-extension-service",

those are the packages i restored,excuse me,i thought i quoted those:D

and i can t connect phone with PC,and also i don t have smtp/mass storage, pc companion connection
[Sony Cross-Device General] FcukBloat:
and what about this? did you restore it too?

/system/priv-app/enhancedusbux
[Sony Cross-Device General] broky:
yes,forgot to mention it,sorry

EDIT:i flashed my rom again and still not working.

i suppose it must be something else,my rom with clean install works just fine,in dirty install i have problem with USB:eek:

i ll check it again,i supposed that is not debloating fault but another confliction.

anyway i will perform aclean install and debloat with your post again and report back.
[Sony Cross-Device General] Vij4k:
Except removing bloatware this script doing other someting? Or only this? I asking because i delete stuff of Sony with Titanium Backup.
[Sony Cross-Device General] Bartekreaper:
Only deleting bloatware + some of Sony Apps :P
[Sony Cross-Device General] broky:
finally this ugly situation,not working USB connection with PC,had nothing to do with debloating script:)

i probably messed something else in system and ended with a not working USB.

did a clean install and debloated again,everything fine:)
[Sony Cross-Device General] starter15:
does anyone have the sony FM radio files? I previously removed them but now am in need of a radio. Any help would be really appreciated!
[Sony Cross-Device General] bgumble:
Have a look in your__backup folder

Gesendet von meinem D6503 mit Tapatalk
[Sony Cross-Device General] FcukBloat:
I don't delete radio stuff so it shouldn't be in __backup folder unless he manually moved it there, but he said he deleted radio stuff so...

btw [MENTION=2940967]starter15[/MENTION] what phone are you using? I have z3c but don't know if radio app from my phone will work in other xperias as well..
[Sony Cross-Device General] starter15:
[MENTION=4695495]moly82[/MENTION] I have the z3c as well, running kitkat.

Yeah, I manually deleted it after the debloat script and didn't back it up :(
[Sony Cross-Device General] FcukBloat:
ah ok running LP here so can't help. try to ask in some KK threads for someone still using KK ;)
[Sony Cross-Device General] dato_alpha:
thanks for your work, I have DRM function restored rom so your script is nice to clean up but it also deletes files which is used for DRM functions (x-reality ect ect), can you remove them from your script?
[Sony Cross-Device General] FcukBloat:
just restore them as exclaimed in OP, that's very very easy ;)

or edit the script yourself, if you open it you'll see how it is easy to change it in order to keep the apps you want ;)
[Sony Cross-Device General] dato_alpha:
yeah I know how restore but i have no full list... and I must restore over an over again every flash... u do it once and for all... also i noticed something sony's social news app is not removing...
[Sony Cross-Device General] FcukBloat:
you don't seem to understand.. first of all debloat script was born for my use, so i remove what i don't need. secondarily, if i restore stuff everyone ask for, the script would loose its purpose, as i would need to restore almost everything. last but not least, you don't need to restore over and over again, if you change the script in order to fit your needs once and for all, as you said, then you won't need to restore things manually after flashing it...

about stuff not removed (social etc), if it is something installed in /data, and you didn't wipe data too before flashing the script, it is normal it wasn't removed, as stated in OP, but you should uninstall it manually from settings > downloaded apps

instead if it is something saved in system, those apps must be named differently. in that case please provide me the full list of apps you have in system/app and system/priv-app, to know how to do that you would need again to see OP.

finally, what you mean you don't have full list? if you mean the apps removed from my script, the whole list file is linked in OP

cheers