yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] tetsuo55:
[MENTION=4695495]moly82[/MENTION] [MENTION=1847079]jelbo[/MENTION]

I have made several modifications to the descriptions and changed some greens to yellow or red.

I have a few more suggestions that i want to discuss first.

1. Use installer package name as the base, this is the only variable that will stay the same across versions and devices

2. The same application can be found in many different paths depending on the version or device. Use a single row/column to list all in a , or ; separated list

3a. Some (core) applications come with a XML file in /system/etc/permissions/ , if you are removing the apk you should remove the XML file too.

3b. Some (core) applications come with one or more JAR files in /system/framework/, if you are removing the apk you should remove the JAR file too

3c. Some (core) applications come with one or more SO file in /system/lib or /system/vendor/lib, if you are removing the apk you should remove the SO file too

3d. We should add columns for this situation so we can add them to the removal files, using the same , or ; seperated system as suggested for the apk paths

4. Remove the separator between app and priv-app as any apk could be in either place and it changes quite often

Additional suggestions:

5. Split the description into what the app is for in 1 column, and what the effects of removing it are in another.

6. Add versions, so we can track the latest version?

7. Turn the whole thing into an aroma installer
[Sony Cross-Device General] jelbo:
Great work. Can you please indicate which colors you have changed somehow? The new script is based off it and without knowing I would have to compare all of the entries.

These are all very good suggestions.

Sure, but I would at least keep the 'friendly name', as it sometimes gives an indication of the functionality and it also enables users to look it up in Android's app settings and manually disable it, when possible. Right now, the sheet is sorted by the 'Associated path'.

OK, but this makes creating a script out of the sheet harder, as you'll then need to separate it.

Good idea. It'll take some work to inventorise. Would you make a start?

Sounds good, but with the same downside I mentioned earlier.

I agree.

Yes, right now it's cluttered.

This'll take some work, but it may make it more future-proof for when newer versions would also change location.

Very good idea. This would also allow users to select which functionality they'd like to keep. I have no idea how to do this though.
[Sony Cross-Device General] tetsuo55:
In this line a , is missing and there is an extra space after the /

run_program("/sbin/busybox", "mv", "/system/app/Lifelog-googlePreloadLive-release-2.8.P.0.18" "/ system/__Backup/system_app");

fixed version:

run_program("/sbin/busybox", "mv", "/system/app/Lifelog-googlePreloadLive-release-2.8.P.0.18", "/system/__Backup/system_app");

---------- Post added at 03:51 PM ---------- Previous post was at 03:46 PM ----------

You can click on "all changes saved to drive" and check the revision history, changes are highlighted in orange.

---------- Post added at 04:04 PM ---------- Previous post was at 03:51 PM ----------

@jelbo

Maybe instead of thinking of debloating as removing specific apks,

We can change the paradigm into removing functionality.

The apks are really tightly integrated.

For example.

If we remove sony music, we can remove dozens of apks related to sony music.

Or we can have the user choose which addons to keep and which to remove.
[Sony Cross-Device General] jelbo:
Good idea, this would be the best sorting mode I think. Things like calling, camera, Google, etc. Will you make a start? :fingers-crossed:

Also, do you have the knowledge to create an AROMA-installer?
[Sony Cross-Device General] tetsuo55:
yes I can make a start, my intention is to fork opengapps and create opensonyapps
[Sony Cross-Device General] tetsuo55:
I am done for today, i made a new tab with layout information from the Nexus6p on MM, Nexus6 on LP, Z3 on MM, Z3 on LP, Z5 and Z.

For completeness sake we should add the layouts for all the other Z devices and probably the M and C too.

Viewing the table it quickly becomes obvious what seems to be critical stuff and what seems to be bloat ^^

The intention is to create a new Nexus MM based layout that we will use for all the apps. Making each one optional for the user with an aroma installer, moving things to the right place, etc..

This way we keep in sync with the Google IDD and dont leave a user without say a browser or keyboard without replacing it first.

This is the same approach OpenGapps. has.

On that note i don't intend to replace OpenGapps, so i would prefer if we focused on the non-Gapps instead, leaving the Gapps for OpenGapps to debloat, relocate and update. What we should probably do is report the things to them that Sony roms do different so it can be updated to be more accurate.

Finally, this will remove the differences between the LP and MM versions of this list, so we will have it all in one place :cool:

Gnite!
[Sony Cross-Device General] jelbo:
We made some progress over the week in organising stuff for a better overview, in the Master tab. What needs to be done now is fill the following columns:

Description

Removal effect

Permissions XML

Framework JAR

Lib File

Correct location

The first two can be copied/pasted from the older 'jelbo' tab and based on additional research/experience.

The XML/JAR/Lib file locations are still a mystery to me.

tetsuo55, can you give this thing a swirl again? Everyone else is welcome too of course, send moly82 a PM to ask write permission on the sheet.
[Sony Cross-Device General] kos25k:
dudes i downgraded from LP to KK with flashtool.i booted my device normally and then rebooted to recovery did a f.reset and flashed this script.is this correct? or i had to first flash a prerooted rom and then this script?
[Sony Cross-Device General] FcukBloat:
if you didn't get errors in recovery it should have worked.. btw could you see an effective debloat or not? and also check in system/ if you have the __Backup folder with all removed stuff inside...

btw for kk I made a dedicated script, check my signature, the one for LP is not the best for KK....
[Sony Cross-Device General] tetsuo55:
Hi guys

I am very busy trying to build a minimal AOSP sony firmware.

I am learning a lot about what goes where and what can and cannot be removed.

At this time i cannot work on the sheet because i want to have this covered first.

As soon as this is done i can make the final changes to the list and then we can work on possibly smarter script that will work on LP and MM and maybe even KK
[Sony Cross-Device General] kos25k:
thanks dude.yes backup folder succussfully created and no errors in recovery.. it seems all ok!
[Sony Cross-Device General] jelbo:
Good news. If I can be of help again in the sheet or in another way, send me a message :)
[Sony Cross-Device General] Hamidreza_4u:
How can I restore a backuped app?

sent from my Xperia C3-Dual
[Sony Cross-Device General] FcukBloat:
all is in OP
[Sony Cross-Device General] xyznaveen:
can this be used in Xperia Z2 D6503 ?
[Sony Cross-Device General] FcukBloat:
yes why not
[Sony Cross-Device General] recoman:
Scripts working on sony xperia c2015 cm12.1?
[Sony Cross-Device General] FcukBloat:
this is for stock (based) roms, not for cm
[Sony Cross-Device General] xyznaveen:
working in stock 5.1.1 ... D6503! thanx my battery life went up peak :)
[Sony Cross-Device General] Hamidreza_4u:
Anyone can help me?

sent from my Xperia C3-Dual
[Sony Cross-Device General] bgumble:
It's all in the 1st post

Gesendet von meinem D6503 mit Tapatalk
[Sony Cross-Device General] juupke76:
Can this also be used on Z5 Compact E5823?
[Sony Cross-Device General] Bartekreaper:
Every Xperia users can flash this on stock. LP of course.

Wysłane z mojej Z3

Compact przy użyciu Tapatalk
[Sony Cross-Device General] kos25k:
Sorry for no topic question..but tomorrow is a big day for me as i will buy a z3c tablet.I will flash stock KK rom.can i flash z3 script to debloat it???Thanks!!

Στάλθηκε από το C6903 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
you can run my script, it just won't delete all bloat as afaik the tablet comes with more bloat installed. but running my script you can already get rid of a lot of bloat ;)

some guys where working on a bigger list/script that included also all the tablet stuff, but don't know if they completed it or it is still work in progress..
[Sony Cross-Device General] kos25k:
thanks dude.i own z3c tablet.is there only one version for kk?Because i saw z3 has another script..

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
?? don't understand? your z3c tablet is running kk?
[Sony Cross-Device General] kos25k:
yes dude i downgraded with flashtool.

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
yes so i made only one script for debloating kk ;)
[Sony Cross-Device General] kos25k:
nice dude!maybe today i will f.reset my tablet and root with supersu (i don't read good things about kingroot) then i will flash the script and post here the results! :)

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] kos25k:
Sorry but i forgot to ask something!i saw in removal list something about screen mirroring...as s.m is a must for me...i hope this script doesn't remove this function! :)

Στάλθηκε από το C6903 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
it will be removed very probably, but restoring it is easy as usual ;)
[Sony Cross-Device General] kos25k:
ok all went fine!but can youplease tell me what to restore?i don't know what is the problem exactly,but when i press screen mirroring it doesn't detects my Tronsmart T1000...To be honest i don't know which mirracast devices are supported..!

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
it did work before applying my script?
[Sony Cross-Device General] kos25k:
i didn't try..i remember i was trying with my z1 to do the same...but it also didn't detect my tronsmart.my samsung detects it fine..maybe if anyone could test this..

Ok i restored about 3-4 apps related to s.m.now i have finally an option to search for devices!now i have to test it when i go home if it connects.(because i am rooted.i hope this function doesn't break with root!)
[Sony Cross-Device General] crazyboy8x.ac:
can i flash this script for android 6.0?
[Sony Cross-Device General] jelbo:
We decided to freeze our work until MM would be released. That point has passed, I'll need to find sometime to invest in this again. Help would be appreciated, just contact me or [MENTION=577542]tetsuo55[/MENTION].
[Sony Cross-Device General] FcukBloat:
you can try.. shouldn't harm.. in the worst case it could just be not effective (means not cleaning as much as it is supposed to..). but backup first just in case..

hi, sorry don't think I'll spend any more time on this, I'm running concept sw by Sony right now on my z3c which comes already pretty minimal, so no big debloats needed, and don't think I'm gonna change it... and if and when I'll change this phone, will get again something with a concept style fw available, or a perfectly working aosp based rom this time ;)
[Sony Cross-Device General] Hamidreza_4u:
How can I restore USB storage connectivity on?

sent from my Xperia C3-Dual
[Sony Cross-Device General] FcukBloat:
Asked many times.. Search the thread ;)
[Sony Cross-Device General] elshur:
Hi

Is there a way to got a debloating_script.sh instead of modding updater-script ?
[Sony Cross-Device General] ondrejvaroscak:
Nothing to enable. You go to recents and long press the app icon on left in app window header..
[Sony Cross-Device General] ondrejvaroscak:
Here red marked, press and hold.
[Sony Cross-Device General] FcukBloat:
thanks that's what I was trying to do but nothing happens here.. well doesn't matter never used that so I suppose won't miss it :p
[Sony Cross-Device General] mick353:
Will this work on z3 or just z3 compact
[Sony Cross-Device General] FcukBloat:
this is a full FW so just on z3c.

btw my debloating script can be applied also on z3, here it is:

https://www.dropbox.com/s/e6aq4l9mixhq78m/bloatware-removal-script-safeboot.zip?dl=0

will add in OP again as well ;) just flash your pre-rooted FW, and then flash my script (possibly before rebooting, but will work flashing later too of course) this way you will have the same clean result ;)
[Sony Cross-Device General] ogunja:
It was precisely this script that was in need, right out update to my country I will give it a try ..

thank you friend
[Sony Cross-Device General] Bigmille:
Just want to know if there are any compatibility issues such as mobile network running this US firmware on a UK D5803 Z3 Compact? I'm currently running a debloted German 4.4.4 ROM. Many thanks
[Sony Cross-Device General] mick353:
I just flashed it straight over my. 690 wipes Dalton and cache and system seems to be flying..
[Sony Cross-Device General] FcukBloat:
don't think so I am using it in Italy everything perfect. but I just use 2g and 3g, don't know if you are using LTE also, in that case maybe check first about baseband frequencies etc... btw if you full backup first as per the instructions, you can then rollback to previous in case of any problems, so nothing to lose ;)

EDIT: also, as [MENTION=1839404]mick353[/MENTION] did with his Z3, if you want you can also flash a diffrerent pre-rooted FW (for example a europe one) and then immediately flash my script before rebooting. result will be the same. you will just have to manually flash xposed flashable if you need it

thanks for the report! will consider this case in OP :)
[Sony Cross-Device General] ogunja:
Friend [MENTION=4695495]moly82[/MENTION] confirmed, had made a debloated of my faith to my country and installed your zip and it was like a charm, even lighter system ..

Xperia Z3 - D6643 - FW final 690
[Sony Cross-Device General] FcukBloat:
great! good mate thanks for reporting! ;) :)
[Sony Cross-Device General] istux:
Great :D

[MENTION=4695495]moly82[/MENTION] you can ask a moderator to link this thread to z3 forum too ;)

Add to the first post that before flashing this, you need to flash a Lollipop FTF in order to write all stuff like kernel, basebands, etc... that is proper to your model, root + recovery... and then just overwrite this system zip and all it's done ;)
[Sony Cross-Device General] FcukBloat:
ok thanks will edit a little OP to be clearer then will ask! ;)
[Sony Cross-Device General] juanpirulo:
you never saw this post :D
[Sony Cross-Device General] cpurick:
Does Xposed still have the bootloop issue? Those rebuilds are murdering my battery.
[Sony Cross-Device General] neol23:
So, if I use stock 5.0.2 rom I need to downgrade to 4.4.4, root, backup drm keys, and then I can flash your modified rom with flashtool. It should work, right ;)? Are those steps correct for me?
[Sony Cross-Device General] MMTK84:
Hi!

I was on 23.1.A.0.690 (stock, pre-rooted, recovery) and wiped of dalvik+chache in recovery. I did not wipe system and data! It worked, and all my apps and data are still here, and now I am on 23.1.A.0.726 (this thread).
[Sony Cross-Device General] neol23:
I am not rooted mate, stock rom, recovery, just updated to 5.0.2., therefor I need ro do the whole procedure...

Thanks though :)! I think it should work...
[Sony Cross-Device General] othmanusse:
i am on 690 rooted and i have recovery can i flash it ? does xposed an close all bouton work ?
[Sony Cross-Device General] scoobydu:
Thanks for the share and one question: Have you removed the hd-audio option by any chance or is it removed in the main roms too?

Cheers
[Sony Cross-Device General] Hamidreza_4u:
I do it but didn't restore it

sent from my Xperia C3-Dual
[Sony Cross-Device General] kos25k:
make sure move-paste.not copy-paste.

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] Masoud.Ser:
hi

[MENTION=4695495]moly82[/MENTION]

i edited your script for delete or keep some files

and then flash on Mmarshmallow 6.0 xperia z5

Everything is correct and worked good

thanks
[Sony Cross-Device General] CAL7:
Would you share?
[Sony Cross-Device General] Masoud.Ser:
you can Flash the same file moly82

Are almost the same.
[Sony Cross-Device General] CAL7:
Thanks. For Marshmallow, did you add many apps to Moly82's script that were new to MM?
[Sony Cross-Device General] Masoud.Ser:
yes

Some files also need to change their name to new name
[Sony Cross-Device General] bk76:
How do I flash that file? I have root and TWRP.
[Sony Cross-Device General] hungxman100:
Hey anyone can share for mm :(
[Sony Cross-Device General] petr232:
There is one script in instructions and another (bigger) one in the Docs sheet - which one should be used?
[Sony Cross-Device General] FcukBloat:
i think the project those guys wanted to do has been abandoned.. so i suggest you to just flash my debloating script in op and refer to my debloating list to know what will be removed (first tab in the spreadsheet file linked in op ;) )
[Sony Cross-Device General] ziki:
http://xdaforums.com/z3-compact/general/script-slimcore-debloat-script-z3c-6-0-1-t3355571

:D
[Sony Cross-Device General] turbare:
Hello,

First of all thanks for the work.

Would anyone know which apps/files are responsible for Sony's backup/restore? I removed everything containing backup or reset in the name from the script, but I still don't see that option to restore from SD card.
[Sony Cross-Device General] InsanoKyller:
pls restore small apps! Could help me, I need to download the small apps.

:)
[Sony Cross-Device General] FcukBloat:
read better op, no need to download anything, all apps are moved to a backup location and can be easily restored, including small apps. in the post you quoted also you can see all the apps you need to restore.. ;)
[Sony Cross-Device General] InsanoKyller:
Thank you so much!
[Sony Cross-Device General] dankimani:
Too much

Debloats a tad too much.

Any way to choose? Aroma style?
[Sony Cross-Device General] SXUsr:
Open the updater-script and simply remove lines, so if you wanted to keep books...

run_program("/sbin/busybox", "mv", "/system/app/BasicDreams", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Books", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/BrowserProviderProxy", "/system/__Backup/system_app");

...remove the line for it...

run_program("/sbin/busybox", "mv", "/system/app/BasicDreams", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/BrowserProviderProxy", "/system/__Backup/system_app");
[Sony Cross-Device General] cybershotwalkman:
Do I need to install busybox in order for this script to run?
[Sony Cross-Device General] bgumble:
No, just install via recovery, have a look in o.p.
[Sony Cross-Device General] andreimindru96:
Can someone mirror the link please? The main one is down and I really need this wonder!

---------- Post added at 11:01 PM ---------- Previous post was at 10:57 PM ----------

Or please send it to me somehow!
[Sony Cross-Device General] FcukBloat:
tell me your email in MP and I'll send it to you ;)
[Sony Cross-Device General] kos25k:
remember to flash right after f.reset (before boot for first time) and you'll see a flying tablet!
[Sony Cross-Device General] ninestarkoko:
I noticed that too and my search got here

https://android.stackexchange.com/q...risis?newreg=f048d0adad564957aa323a74c633c59a

So i would suggest everyone to "pm hide" packages instead of disabling them.

From my experience this does NOT work for Overlays, they need to be removed because they are always loaded when found.

Thank you guys for the great contribution (you spent lot of time doing this)! I found this sheet casually and was impressed

https://docs.google.com/spreadsheets/d/1geFByRKDTOOZSIBOixO2boG1_78NUjqzkB6iozzJ4-k/

I suppose this project is over/stopped for now but i would like to contribute because i'm keeping a personal list of analyzed packages and i'd like to share some knowledge.

Should I write moly82 for write permissions or it's too late?

Also i can't find the updated sheet link on the first page. It should really be added or a new thread should be created IMO
[Sony Cross-Device General] alleebg:
use this script, or simply delete from system/app and app/priv..

do I get the same result?
[Sony Cross-Device General] FcukBloat:
I'm not following any more that file, and I've no more gapps/services active sorry, so can't allow you anymore to edit that file. but you can copy the content and start over with a new file right? ;) and it is still linked in OT btw!

yes same result, but for a cleaner operation you should at least wipe caches afterwards.. also if you can wipe data is better to avoid any problems..
[Sony Cross-Device General] jelbo:
It's dead. I put a lot of work in it as well, but at some point I was the only one left. Then I lost interest. Besides, my Z4 Tablet is running great, with just some applications frozen/uninstalled using Titanium Backup.
[Sony Cross-Device General] alleebg:
Ok,thx. I already removed some apk,and clear dalvik cache..

How to wipe data and cache,i dont have recovery?
[Sony Cross-Device General] jawadamin3:
Can someone please give the updated spreadsheet link :( , this one doesn't seem to work anymore :/
[Sony Cross-Device General] kos25k:
https://www.dropbox.com/s/dyaxfa7t38hnxiw/Bloatware_Removal_LP.zip?dl=0
[Sony Cross-Device General] Wzza:
[MENTION=4955115]kos25k[/MENTION]

That's not what jawadamin3 was asking for. I'm also looking for the spreadsheet... I've PMed the thread's author but he doesn't have it anymore.

Anyone with a backup willing to share it with us ?

EDIT : Something close to what we're looking for HERE !
[Sony Cross-Device General] zyclops1:
Link is down anyone have a mirror? :)
[Sony Cross-Device General] Derickee Medvedev:
nice very good job
[Sony Cross-Device General] deserted:
Deleted some more:

run_program("/sbin/busybox", "mv", "/system/app/GoogleCalendarSyncAdapter", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/GoogleContactsSyncAdapter", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcMusicVisualizer", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcCalendar", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcChinaPhotoEditor", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/UserDictionaryProvider", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/priv-app/MusicFX", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SomcMovieCreator-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/arfun", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/FaceFusionCamera", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/DualCamera", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/ActiveClipper", "/system/__Backup/system_priv-app");

I removed the following entries from the script:

"com.mobisystems.fileman" + "filecommander" - In the absence of internet. I can always install the apk application from a memory card.

"SomcWifiDisplay" - Screen mirroring app in Xperia Connectivity.
[Sony Cross-Device General] boojay:
Right, the same had happened to me too so I'm not sure why it's working now. Maybe it had something to do with some of the removed apps I reflashed? I doubt it though since ondrejvaroscak most likely didn't go through the same procedures as I did.
[Sony Cross-Device General] ondrejvaroscak:
If you mean "HD restore" it is available only in Walkman app.
[Sony Cross-Device General] scoobydu:
Thanks it was the 'hi-res audio via usb' setting in 4.4.4, in sound/audio settings that appears to have gone?