yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] dato_alpha:
first I know what im asking for. drm functions become standard its like dont have sms app or phone app, second i flashed script after rom (full wipe) and social something app was not removed.. it's 'coz that app on old devices was named differently and they renamed and you have z3 so u got it with new name... and finally I don't have list of apps which are used for drm functions...
[Sony Cross-Device General] FcukBloat:
it doesn't seems so...

maybe for you not for me. i enjoy drm functions in pictures taken with camera with low light for example, and that still work even after flashing my script. ONLY drm thing you are going to lose with my script, is xreality/vivid in Album app, but i don't use album app so i don't mind. if you do, restore it! in removed stuff list is clearly written what to restore if you need it so what's the problem..?

this is exactly what i told you mate in my previous post.... so i know. i told you to send me the list of apps u have in system, if you don't do that, i can't help.

not my problem. i think it is not so clear for you what means "drm functions".. as i said already, only thing you are going to loose flashing my script is xreality/vivid engine for album app, nothing else, and you can restore that feature just restoring ONE single package. not that difficult i think? if you did check debloated list in OP, you would have already understood and fixed by yourself..

ps. if you don't like my script, don't use it. easy
[Sony Cross-Device General] broky:
can i move _backup folder to my external sd or a pc and move any file i want to recover in its original location?

just to free space in my internal sd:)
[Sony Cross-Device General] FcukBloat:
yes can move it wherever you want. just take care that moving it out of system, will mess up all permissions of files and folders inside it, so if you will restore something in system later, before rebooting you'll have to fix all permissions of the stuff you moved back to system, or next boot you'll get a bootloop ;)
[Sony Cross-Device General] pathaniya:
E:Zip Signature Verification Failed: 1

Am on Z1 Compact latest 5.1.1 Lollipop stock firmaware unlocked bootloader. Is it because that i was ran it on my current working rom and not right afer a clean install?
[Sony Cross-Device General] FcukBloat:
no it must work nevertheless.

probably you have signature verification enabled. disable signature verification and try again ;)
[Sony Cross-Device General] pathaniya:
The disabling did work, unfortunately Titanium Backup shows the same ROM size post script. What i'd like to do is flash the

stock (not my freezed apps version) and then enable your script, then i'd see the results.

It is a tempting and promising script. Thanks again.
[Sony Cross-Device General] FcukBloat:
no mate don't worry, you see same size for system because stuff is not really removed, but moved to a backup folder in system! ;)

see first lines in OP, info is there! ;)

will write it better in notes also though EDIT: added better explanation, see note #2 ;)
[Sony Cross-Device General] pathaniya:
It works well on my Z1 Compact .368-Lollipop5.1.1

Though i tried to move or delete the backup folder but couldn't.

I didn't see any file manager, why not?

Thanks and Regards.
[Sony Cross-Device General] rubiicon59:
Will this script work on any other ROMs besides AOSP?

I'm currently running eXistenZ Premium v4.0.0

5.1.1 23.4.A.1.232

Xperia Z2
[Sony Cross-Device General] FcukBloat:
don't like the file manager provided so i remove it, i prefer es file manager..

this is for stock actually not aosp. btw it should work in any stock based rom.. try.. but full backup first just in case anything will go wrong ;)
[Sony Cross-Device General] rubiicon59:
Wow that was a quick reply.

After backing up I flashed the debloat zip in Philz Touch Recovery. It didn't install correctly resulting in a continual boot (not loop). Turns out it was a corrupted download.

Reinstalled eXistenZ rom, downloaded debloat zip again and reflashed.

It works just fine, no problems so far.

Plus there's an extra 2GB available in device memory.

Time to see how it plays with Xposed...... :)

Z2 Locked b/l eXistenZ v4.0.0 5.1.1 23.4.A.1.232
[Sony Cross-Device General] rubiicon59:
No problems with Xposed or any modules so far.

And now this thing flies.

Thanks for your script, great work.
[Sony Cross-Device General] dato_alpha:
good day everyone! so I modified script on my needs and got status 6 error when flashing any suggestions? I put out updater-script from .zip modify and put back... did wrong right? I must make new flashable zip with modified updater-script or what?
[Sony Cross-Device General] FcukBloat:
if you edit it correctly, you can do as you did, just modifying the updater-script file should work. what did you change? otherwise can't judge.... post the zip you have now so I can check it ;)
[Sony Cross-Device General] dato_alpha:
here is it... I removed line like that

run_program("/sbin/busybox", "mv", "/system/app/Keep", "/system/__Backup/system_app");

makes sense which text editor? used WordPad... don't know if deleted something by accident
[Sony Cross-Device General] ondrejvaroscak:
Be nice to yourself and your phone and install either Notepad+ or Geany ... WordPad breaks Unix text formating
[Sony Cross-Device General] pathaniya:
How could I delete the back up folder ? It's a good feeling to see space. :)
[Sony Cross-Device General] ondrejvaroscak:
adb shell
su
rm -rf "folder name (eg. /data/_backup/)"
[Sony Cross-Device General] FcukBloat:
or just delete it with a root file manager after giving it r/w permission for system ;)
[Sony Cross-Device General] ondrejvaroscak:
come on, be more developer - use command-line shell :))))))))))))))))))
[Sony Cross-Device General] kos25k:
guys i can't understand why people complain about battery in LP!Maybe this debloat script saves us who installed it,a good amount of battery???also does anyone know if this script have many differences from the previous script of 5.0.2?i had installed the 5.0.2 script in my 5.1.1 rom and almost all the sony craps are gone!
[Sony Cross-Device General] FcukBloat:
well compared to kk battery was indeed worse in lp until latest .232 fw ;)

don't think stock lp is much worse than debloated one, even if i guess debloated one can just be better ;)

differences between 5.1 and 5.0.2 script are minimal, only a few packages changed their name.. btw you can see in the spreadsheet file linked in OP all the exact differences highlighted ;)
[Sony Cross-Device General] pathaniya:
:) I wish i could become a developer just by using command-line shell. Though it feels lot cooler using a "shell" ;)
[Sony Cross-Device General] kos25k:
does anyone knows if the previous script from 5.0.2 also creates a backup? i don't need anything.. i just want to delete the backup folder if there exists!
[Sony Cross-Device General] FcukBloat:
i think so. btw why don't you check yourself? if there is one, it will be first item in /system folder!! ;)
[Sony Cross-Device General] kos25k:
i checked but there isn't. maybe named different? don't know!
[Sony Cross-Device General] FcukBloat:
no if there is it is named __Backup ;)
[Sony Cross-Device General] kos25k:
i checked now with sd maid. i pressed show biggest files and there isn't in my sd. cool!
[Sony Cross-Device General] FcukBloat:
mhm i don't get you. the backup folder is in /system not in your sd... i never placed anything in the sd..

install terminal emulator and run 'df' command and post me the result
[Sony Cross-Device General] kos25k:
Στάλθηκε από το D5503 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
OK it is not in system so if you didn't move it somewhere else no need to worry ;)
[Sony Cross-Device General] CAL7:
Moly82- I've successfully used your script (as well as the AIO for the Z3C), but I'm about to flash an updated LP ROM to my Z2T, and I have a question: do you recommend 1) booting into the freshly flashed ROM and then going back to recovery to wipe and flash your script, or 2) flash the ROM, wipe and flash your script all in one recovery session?

P.S. Thanks much for this script, as well as the AIO.
[Sony Cross-Device General] FcukBloat:
do everything at once in recovery ;)

wipe what you have to, then just flash the rom, the script and reboot ;)
[Sony Cross-Device General] SANTUMIL:
Just wooooow! Great job!
[Sony Cross-Device General] CAL7:
The script removes exchange2 and exchange3Google. I'm restoring the Sony email app and I need exchange. Can someone tell me if there is a difference between the two exchange's, e.g. is one v5 and the other v6? Or do they serve two different purposes? Thank you.
[Sony Cross-Device General] yopen71:
I installed your script, but when I tried to open Creative effect and Sweep panorama I came across a problem. Below I have attached a screenshots.

I viewed the backup folder which the script creates , but have not found a folders or files with names 'Creative effect or Sweep panorama'

Please tell me the right location, which use these 2 addons.

By the way great script. Very useful for me!:good:
[Sony Cross-Device General] FcukBloat:
mhm strange they have always worked fine here.. didn't remove anything about those!

what device and android version?

did you try cleaning those apps data?
[Sony Cross-Device General] yopen71:
Xperia Z1c d5503 v5.1.1 stock kernel http://xdaforums.com/sony-xperia-z1-compact/general/ub-root-init-d-support-recovery-busybox-t3202799

My steps was:

1.wipe cash,wipe dalvik cash,wipe app data

2.flashing fw14.6.A.0.368, Bloatware_Removal_LP.zip, UPDATE-SuperSU-v2.46.zip

3.reboot
[Sony Cross-Device General] Jostian:
when I tried flashing the file via TWRP I get failed failed to map/SysFile or something... any ideas? thanks
[Sony Cross-Device General] kos25k:
14.6.A.1.216 has been released today. can anyone confirm that this script works to this firmware?
[Sony Cross-Device General] FcukBloat:
it should work, maybe just some apps will not be removed because they changed their names ;)
[Sony Cross-Device General] kos25k:
if someone can confirm this asap please! i am downloafing the rom this moment to make a prerooted firmware!
[Sony Cross-Device General] broky:
it does work;)
[Sony Cross-Device General] :
So basically, this script does what Titanium Backup failed to do; backup+delete+restore system apps without incident?
[Sony Cross-Device General] yopen71:
Socialife is not removed by the script. Xperia Z1c d5503 5.1.1 14.6.A.0.368

The path to apk is: system/app/socialife

The path to package is: data/data/com.sony.nfx.app.sfrc

I would to ask for what is this apk JapaneseIME? Japanese is not my native language and I think I do not need from apk in japanese or for japanese.

Can I remove it?

P.S. I no longer have a problem with Creative effect and Sweep panorama. Reflashed my rom and script and everything is fine now :)
[Sony Cross-Device General] FcukBloat:
yes Japanese ime can be deleted. it should be done by my script, if it does not it means they changed slightly that package name.

social life often change name from fw to fw, that's why it is not deleted by my script in your case, just delete it manually ;) i'm not updating the debloat script anymore as I'm on MM now :o
[Sony Cross-Device General] GigaSPX:
I have the Sony Xperia Z3v, the D6708, and I ran your debloat script but now I can't go past the Setup Wizard because it keeps force crashing and has the popup "Unfortunately, Setup Wizard has stopped". I can't go anywhere from there.
[Sony Cross-Device General] FcukBloat:
mhm strange, btw just reflash your rom and you should be able to boot properly ;)
[Sony Cross-Device General] GigaSPX:
Yeah, I went through some hell of a process where I couldn't reacces my TWRP recovery and I have to flash my stock rom again.

Is there a list of confirmed Xperia Lollipop devices that does work with the script?
[Sony Cross-Device General] cougar11:
Are u guys flashing the script right after flashing a new rom?

1. Flash new rom, reboot, let it boot, go through setup wizard.

2. Reboot into recovery, flash debloat script, works flawlessy using ZU.
[Sony Cross-Device General] kos25k:
in z1c flashed without reboot and everything ok.
[Sony Cross-Device General] nedooo:
I use it now, and I used it on my Z3 without booting right after I flash ROM...no problems...
[Sony Cross-Device General] bigrammy:
Saved me so much time.

Thanks [MENTION=4695495]moly82[/MENTION]

Your time and effort researching, testing and making this is much appreciated :highfive:
[Sony Cross-Device General] CAL7:
[MENTION=4695495]moly82[/MENTION], I see you made some changes in the script for your Z3C aio. Will you be making that script available for other Xperia's?
[Sony Cross-Device General] kos25k:
here is debloating script for kitkat if someone is interested.i discovered it yesterday as i went back to kitkat. 157 as it is the best rom for me :)

http://forum.freelatestmovies.org/crossdevice-dev/sony/kk-debloating-script-xperia-phones-t3192846 thanks [MENTION=4695495]moly82[/MENTION]!!!

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
well the changes in the debloat script itself are very minimal (just restored sony email and deleted a few more things, so something that anyone could do very easily).. the bigger changes are in the "extra" zip ;) btw will update the debloat script also sooner or later but again don't expect any big differences ;)

thanks, but i think your link is bad/wrong, correct one is http://xdaforums.com/showthread.php?t=3192846 ;)

btw, I've also made a all in one for kk, based on .77 ;) see http://xdaforums.com/showthread.php?t=3192678 ;)

may go back to kk here too soon to test it again [emoji14]

what is 157 rom? did u mean .77?
[Sony Cross-Device General] kos25k:
sorry it's not my fault these days boat browser doesn't work properly!!! :)

xperia z1c 14.4.A.0.157 kitkat. which is the latest kitkat rom?

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
ah ok you are not on z3c sorry, now i understand. 77 is latest kk for z3c, so dunno about z1c very probably you are right about 157 [emoji14] and you can't flash my all in one ;(
[Sony Cross-Device General] kos25k:
ohh is really for z3c only?the title confuses me a little..to my good luck i saw the list and removed manually one to one..

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
no mate, the all in one solution (second link in my previous post) is for z3c only, the debloating script instead (first link in my previous post) is for all sony devices running stock kk! ;)
[Sony Cross-Device General] kos25k:
ok dude that's clear now thanks!i flashed .157 kk firmware and next day i ralized that script and i removed them one to one manually almost all of them.if i flash the script now to remove these little i leaft...is this ok or i will get a bootloop?

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
should work flawlessly, but making a full backup first doesn't hurt, just in case ;)
[Sony Cross-Device General] edwuard:
O P flash the script just in the post and nothing happened same ram 662 so were is the 1giga hmm didn't work mate I. Make a backup and now I'I restore my sistem i don't think is working somebody got to work this
[Sony Cross-Device General] FcukBloat:
well something like 100 people more or less got it to work i would say ;)

"ram 662 where is the 1 giga".. what does that mean?
[Sony Cross-Device General] edwuard:
Z1 "rockzl rom see this u tell me because u are the OP
[Sony Cross-Device General] edwuard:
Z1 "rockzl rom see this u tell me because u are the OP wow no album of Sony no connection on playstore and wtfk this is script to trow at trash dude
[Sony Cross-Device General] FcukBloat:
first learn to read. second learn to write. in the meantime, bye bye, won't miss you at all :D
[Sony Cross-Device General] edwuard:
1.i speak 3 languages so i learn in school I'm 49 years old I'm not idiot and if you're script don't work sorry because fk my phone and I make back up so see ya later alligator I don't need u script
[Sony Cross-Device General] FcukBloat:
reported....
[Sony Cross-Device General] Toledo_JAB:
OK???

So I am not sure what happened here but neither of you should be posting about another member like this.

This thread is for a debloat script not for arguing.

If you can not help a member then do not post.

If you have issues with the script, then post your issues politely and wait for help.

I hope this thread can proceed without any more unneeded posts.

Sorry for the interruption,

~JAB
[Sony Cross-Device General] FcukBloat:
i do can help, but i won't help a so arrogant, rude and unrespectful guy...
[Sony Cross-Device General] kos25k:
[MENTION=4695495]moly82[/MENTION] Aligator??? Seriously now??? wtf man i'm crying!!!!! :) :) :)

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] bgumble:
Following the instructions from 1st post, the script in the flashable zip works fine, even with latest build .264

My stock rom got rid of >800mb bloat software,

battery life is better,

phone is faster.

BIG thanks to moly82 for his work!
[Sony Cross-Device General] kos25k:
dudes does anyone know where is the settings from. screen white balance in backup folder? i go to screen settings and it isn't there :(

Στάλθηκε από το SM-T310 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] FcukBloat:
Try restoring white-balance folder in system/app ;)
[Sony Cross-Device General] kos25k:
Thanks dude it worked!
[Sony Cross-Device General] brooker88:
Worked great thanks, could any of these apps that removed cause PowerManagerService.WakeLocks? I have no idea where it came from and there little information about what it actually is. It's a kernel WakeLock, just trying to determine why it's happening
[Sony Cross-Device General] mj084:
Its the summary of all partial wakelocks, check the seperate wakelocks to detect bastard;)
[Sony Cross-Device General] CrimsonCrap:
A question

I have already deleted/frozen a few apps by myself before coming across this script.

Will that cause the script to fail?

It won't cause any complications will it?

Do I have to re-enable those apps before running this script or will it just ignore/skip the apps it cannot find (Deleted ones) and the ones that are already frozen.

Some help would be appreciated.

Thank you.
[Sony Cross-Device General] FcukBloat:
Can't be sure but i think it will still work... Btw if you do a full backup first then even in case of any problems you'll be safe, won't you?
[Sony Cross-Device General] :
Hi [MENTION=4695495]moly82[/MENTION], I found a list of bloatware for my phone that I would like to add into your script rather than a full deletion that can't be recovered. May I know how to write it up in your script or maybe I'll PM you the list instead?
[Sony Cross-Device General] FcukBloat:
You can merge my and your list yourself mate, pretty easy ;)

With 7zip, take out of the zip the 'updater-script' file located in meta-inf/com/google/android and edit it as you wish. If you see the structure, I'm pretty sure you'll easily understand how to add more apps, just take care to respect the syntax ;)

Then just move the edited file back again in its original position overwriting the old one, and flash the zip ;)
[Sony Cross-Device General] :
Got it, thanks!
[Sony Cross-Device General] jelbo:
Is the effect of freezing apps with Titanium Backup the same as this script?
[Sony Cross-Device General] :
I need the xperia blue theme and the gallery app, any idea about how to install them?
[Sony Cross-Device General] bgumble:
Yes, it's described in the 1st post, have a look at

HOW TO RESTORE SOMETHING
[Sony Cross-Device General] jelbo:
As a heads-up, you might have seen a new tab in moly82's sheet named jelbo. It's a work-in-progress rehaul of the bloatware-list, with additions from the Z4 Tablet. I'm currently testing debloating Z4 Tablet specific stuff and will attempt to add support for it as well in the script. This is with permission of moly82. I may take this over from him.

Any help would be appreciated, since there's stuff not on my Tablet that misses some info tidbits.
[Sony Cross-Device General] UmerNaveed:
Is the effect of freezing apps with Titanium Backup the same as this script?
[Sony Cross-Device General] FcukBloat:
Never used tb but for sure it is completely different from my approach of completely moving away/deleting stuff, a freeze should be just based on pm unix command or similar that doesn't really touch anything, just disables stuff. But the final effect yes, is the same i guess!
[Sony Cross-Device General] jelbo:
I notice some apps frozen with TB are still running when checking with OS Monitor. Very strange.

GAProxy (com.sonymobile.googleanalyticsproxy)

com.sonyericsson.android.wakeup

I also updated the script with my additions, on the tab named script. To indicate them, I've commented them out. I also removed some progress indicator bits, these need to be re-placed or deleted altogether. [MENTION=4695495]moly82[/MENTION], what do you think?

Also, I'm not sure if I can test the script, because my Z4 Tablet's only TWRP build (AndroPlus' one) has a bug which won't let me unmount system.. the script has a 'umount system' command.
[Sony Cross-Device General] FcukBloat:
Do you mean the show_progress lines in updater script? If so, you can remove them all, they are not important ;)

You can try the script in any case, if it has problems, it simply won't flash ;)

Btw the unmount command it is not so important, the important one is the mount. So if it fails to flash because of the unmount command not supported, you can even try removing them from the script first I'd say actually ;)
[Sony Cross-Device General] Fekajo:
work with z5 dual ? ( 64bit so no ? )
[Sony Cross-Device General] jelbo:
Yes, those. I removed them.

My attempts in flashing fail. I get a E:Updater process ended with ERROR=6.

This is the cusomized script I'm flashing: http://pastebin.com/BnrCsNvv. Just your files with the script edited in Notepad++. I removed the 'umount system' lines.
[Sony Cross-Device General] fluffi444:
There are some mistakes... Please compare again with original script by Moly.

This is your code - With plenty missing , "/ before system.

run_program("/sbin/busybox", "mount" system");
.....
run_program("/sbin/busybox", "mkdir" system/__Backup");
run_program("/sbin/busybox", "mkdir" system/__Backup/various");
....

And this one is correct:

run_program("/sbin/busybox", "mount", "/system");
.....
run_program("/sbin/busybox", "mkdir", "/system/__Backup");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various");
....

But look at the others also.. There are some more of it...
[Sony Cross-Device General] jelbo:
Oops. I made some mistakes with some search&replace actions. I'll test again with a corrected version. Thanks for the headsup!

Here's v2, still get the error. Don't see anything wrong, but I'll have a fresh look this evening :)