yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] FcukBloat:
lol did read that somewhere in the past and liked it... thanks mate appreciate! ;p

hi mate :)

actually i didn't modify the bloat removal script as this time i worked directly on the FW zip, this way when flashing it bloatware won't be installed at all so no need to remove it afterwards.. will upload the already debloated FW soon in the meantime btw you can edit the debloat script i provided yesterday by yourself if you want to get safe first boot.. if you don't know how to do, that's pretty easy:

open the script zip with 7zip and take out of it the "updater-script" file you find in

META-INF > com > google > android

place it on your desktop and then open it with notepad++ for example. then delete the lines where you can see the following packages mentioned (useful for first boot):

ExperienceFlow2LiveWallpaper (not essential but removing this you will get black wallpaper)

ExternalKeyboardsInternational

Initial-boot-setup

SemcSimDetection

bootinfo

home-release

textinput-tng

xperia-keyboard-dictionaries

ReadyToRun

SEMCSetupWizard

SimpleHome

Velvet

then save, drag and drop the modified file into the zip again overwriting the old one. now flash script in recovery and enjoy correct boot :) had to do a lot of tests to figure out what packages were essential, but this way you are safe and actually you can run this script immediately after flashing FW zip, or include directly it in your pre rooted fw if you want, so bloatware will be deleted immediately before first boot that so will be faster (less things to get cached/optimized)

EDIT: here it is :o

modifying OP for easier/cleaner operations :)
[Sony Cross-Device General] juanpirulo:
No need to extract updater-script, you can edit with notepadd++ inside the zip, afterwards the zip ask to updated. Cheers
[Sony Cross-Device General] mrtony95:
Sorry but i find only the META-INF folder in the zip package and, when try to flash, my z3c says "error executing update binary in zip..."

In which way i can solve?
[Sony Cross-Device General] sanogueralorenzo:
Thank you for your fast reply, I just managed to follow this tutorial http://xdaforums.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343 but I got stuck at the end because I found it confusing, but since I already had my TA Backup and dual recovery installed I could just wipe everything and flash your zip (:

As I've read, if I want to go back to stock just a flash from flashtool will do the job right? (: (taking away root, custom rom etc) since I didn't have to unlock bootloader to get root, the recovery or this debloated rom working the DRM keys are still there but it is always good to have a backup(just in case)

Did I understand this stuff correctly? Launcher looks smaller due to dpi I guess, anyway I was going to install novalauncher.

Again, thanks for the help and this thread (:

Edit: Supersu needs updating as said by moly82 in the last page just "so after flashing my rom, at first boot you should see the notification about supersu that needs updating itself. just click on it, choose update, and then "normal" mode. then reboot. "
[Sony Cross-Device General] FcukBloat:
ok you have alpha 4 installed now in /data that maybe is not compatible with old framework version? so please wipe xposed installer data and uninstall it from settings > downloaded apps. then install the one you will find in /etc/product/applications (xposed.apk , which is alpha3) and reboot and let me know if it works.

yes actually to install this starting from a completely original phone, you don't need to unlock BL, you just need to flash a rootable fw (like kk .93) from flashtool, install gieftroot, dual recovery installer, and then just flash my full zip ;)

to go back, if you have a full backup of your stock rom, just restore it, or flash a stock FTF via flashtool. but don't see a reason why you should get rid of root and dual recovery actually ;)

yes good always do a TA backup immediately just in case ;) you can check anytime your BL and keys from service menu btw: *#*#7378423#*#* from dialer, then service info > configuration to check your BL unlock status, and service tests > security to check all your keys ;)

sony launcher yes looks smaller but with nova and bigger icons everything is nice here :) or you can revert to original lcd density easily if you wish.
[Sony Cross-Device General] sanogueralorenzo:
Rooting status says Bootloader unlock allowed: Yes, if unlocked what message should it show?

Just wondering, why did you remove white balance settings? What do you use to control brightness? I found kind of usefull to substitute lux (: yo set in white balance settings everything to 255 and the screen got darker so it wasn't so bright at complete darkness (don't know if it improves battery life). It's really easy to recover it with your instructions, but just want to hear your opinion on what you use to control brightness or set it really now at night so your eyes won't hurt!

You are the best giving answers, I'm glad the z3 compact community has you!
[Sony Cross-Device General] FcukBloat:
Bootloader Unlock: YES ;)

removed it as I never used it, never felt the need :p when I am in total dark I set brightness slider to the minimum and looks fine to me?! :o

thanks mate! :) :p
[Sony Cross-Device General] boardlord:
Does your flashable zip include the lollipop modem/touchscreen etc. drivers, or I'll have to flash an ftf before installing your zip?

I'm still on KK. :)
[Sony Cross-Device General] alwaysbelieve1:
Alright that works perfect for me. Thank you! How do I now update to the most current xposed or do I not need to? How did you update to it without issue like I had before?
[Sony Cross-Device General] FcukBloat:
all those stuff is inside the pre-rooted FW you have to flash before flashing my script, as clearly stated in OP ;) my script is only a debloating script with some extras that are going to be installed as well ;)

but if you have a z3c owner and use my pre-rooted fw, it has everything you need inside ;)
[Sony Cross-Device General] boardlord:
Yup, I have Z3C :) I'll update this evening then!
[Sony Cross-Device General] FcukBloat:
someone says if it works, don't touch it :D

btw I updated it succesfully as written recently, just flashing "xposed v65 sdk21 arm" in recovery and then installing alpha4 apk... let me know! and if it will mess up, now you know how to fix it :p
[Sony Cross-Device General] alwaysbelieve1:
OK cool thank you! Also what are the apk files in the Application folder that you sent me to? I see blur and a xx one. What are those?
[Sony Cross-Device General] FcukBloat:
guys I unified the procedure for all xperia phones and changed OP accordingly, so now the thread is in sony cross-general section ;)

also, for z3c users I uploaded a new zip (clean stock z3c FW with only super su and dual recovery) so you can download it only once and for the next updates you won't need to download an updated big zip, but just the debloat/extra script ;)

the procedure is a little longer now, but cleaner (you can install xposed only if you want, and always the latest version)

Gravity Box, Xperia Xposed and System Blurred UI modules for xposed ;) in the updated script the names are now self explanatory :p
[Sony Cross-Device General] sanogueralorenzo:
Few things for the z3c (:

Now we install the stock prerooted with recovery and supersu + all the apps, then debloat with the script and change LCD Density. Can we do everything in the same time or we have to reboot in any of the steps? And in the future you will only deliver .zip that debloat even MORE?

btw, why 2.8.19 by [NUT] instead of 2.8.20?

congratulations on making it to Sony Cross-Device General, but how will you debloat even more? do you use any xposed stuff? (:
[Sony Cross-Device General] FcukBloat:
mate step by step instructions say to reboot only at the end, so why should you reboot multiple times? it is also written somewhere in the OP that is better to don't reboot at all especially between flashing fw and my script ;)

in case of further updates yes I'll provide only updated script, much easier and faster for everyone ;)

who knows maybe will debloat more in the future or restore something i realized it is useful will see?! ;)

when i uploaded my base fw, 2.8.20 was not out yet, and know i don't see the point in uploading another full fw (1.3gb) for just an updated recovery.. everyone can update it very easily if they want after all ;)

yes i use xposed with some modules, see screens in OP for some examples of useful addons visible (center clock with date, blurred ui etc) that are possible just thanks to xposed :o

bye! :)
[Sony Cross-Device General] neol23:
Hi

Flashed today everyrhing again (got new phone from Sony), but I cant get xposed to work.

It says v65 is bundeled but the modules do not recognize the framework.

Could someone advice?

EDIT: Downgraded xposed and now everything works fine again.
[Sony Cross-Device General] FcukBloat:
can you write all steps you did exactly? did you flash old all in one v8 or new clean fw and then the script? and what version of xposed apk is installed? alpha 3 or 4?
[Sony Cross-Device General] neol23:
Firmware, script, restored some APKs, than Flashed old 20150430 xposed framework version and xposed alpha2!
[Sony Cross-Device General] FcukBloat:
mhm.. try flashing latest xposed flashable (link in OP in the installation procedure) and then clean data and uninstall xposed alpha 2 from settings > downloaded apps and install alpha4 (you can easily find it in /etc/product/applications/ ) then reboot and let me know should work this way! ;)

edit: and did you update supersu binaries when asked with "normal" mode?
[Sony Cross-Device General] boardlord:
Rocking your ROM since yesterday, and all is going well :)

However, I'd suggest leaving "VPNDialogs" out of the debloating script - It gave me a heart attack when at first I couldn't tunnel in to my workplace network :D And I think that this is an integral part of the OS... But, that's just my opinion ;)
[Sony Cross-Device General] neol23:
It worked as I made it. Earlier did not with latest framework and alpha4. Of course I have updated the su binaries, but modules did not recognized the framework. So I googled it and find a solution as described. Now everything works as it should ;)!

Thanks though...
[Sony Cross-Device General] ThaRealSaad:
I got a bootloop. :( I wiped everything except data and then flashed your script, ( I didn't flash Xposed) because I didn't want it. Then rebooted and got this message about broken root access or something I didn't read it porperly and I kept pressing next because I was excited. And then bootloop. I'm on Xperia Z1 can you tell me what is wrong here? Thanks in advance.
[Sony Cross-Device General] ThaRealSaad:
I can confirm that this method is not working on Xperia Z1 on LP .270. Tried thrice by perfectly following the instructions to no avail but a bootloop everytime. Maybe you should test these methods before sharing them with the world and wasting everybody's time and effort.
[Sony Cross-Device General] FcukBloat:
I'm sorry for this. but.. i can only test on the phone i have of course. btw i had reports in the past that it worked in other phones too, that's why i shared it.

maybe it was before I added a few more things though, like the sdcard fix maybe? that's the only thing i can think it may break compatibility with some other phones?

of course you tried wiping data too right?

if so, and if you have some more time you could spend in this, you could try repeating the steps in OP, but before flashing my script this time you should open it with 7zip first, and delete the "permissions" folder inside /system/etc. then close the zip to save changes and try flashing it this way. that could help also others with your kind of phone. if you will try, and you have a backup, please try with full wipe
[Sony Cross-Device General] MightySashiman:
Since I've installed the V8 (from scratch), everything is working perfectly but the Tinder app that will not install from the play store (says device incompatible). I used to be able to install it, now I can't, and a friend has the same z3c as me, same rom, and can install this app. Any idea ? thx in advance
[Sony Cross-Device General] FcukBloat:
maybe you are running on reduced lcd density and that can be creating some incompatibilities with some apps? try restoring lcd density to 320 in build.prop and let me know?
[Sony Cross-Device General] Black Plague:
bro can we resize the system partition so that we can get more space
[Sony Cross-Device General] FcukBloat:
why resize? if you delete all the debloated stuff, that is in a backup folder but can be safely and easily deleted, you will get about 1gb extra free space in system ;) just delete the /system/__Backup folder (or even better move it to one of your sdcards in case you will need to restore anything in the future ;) ) and check new space available in /system.. with df command for example from a terminal ;)
[Sony Cross-Device General] chauhanjayc:
Confirmed Wroking on T2 Ultra Dual

[MENTION=4695495]moly82[/MENTION]

hi dev

thanks for such a great scripting

before flashing this i use to have 300MB of free ram now i have 470-480mb free running all apps in BG

just wanted to let you know that my xperia connectivity option is broken and i am just finding one option that is one touch set up :eek:

so its not possible to throw or dlna or usb settings

i have FTF just wanted to know which apks should i place back to have xperia connectivity working again

thanks
[Sony Cross-Device General] FcukBloat:
hi mate thanks for reporting about T2U.

please see OP > how to restore something part and look for the google doc, where you can find the list of all stuff I removed and description for most of them, to understand what you should try to restore, along with the step by step restoring instructions ;)

for example for throw / dlna / usb setting you could try restoring the following:

/system/app/SomcDlna

/system/priv-app/SomcPlayAnywhere

/system/priv-app/enhancedusbux

/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
[Sony Cross-Device General] chauhanjayc:
Thanks will try
[Sony Cross-Device General] sanogueralorenzo:
Edit: Sorry, didn't find the 4k recording, I was looking in manual options... I'm so retarded xd..

What do you guys think about the superior auto 20mp mode? Won't it be worse in low light situations? Lower ISO with more MP it results in more noise, right? I loved the Htc One M7 low light photos because of no noise ^^ Although it had many defective units where you got the purple tint :(
[Sony Cross-Device General] FcukBloat:
didn't touch too much in camera, I left there almost everything ;)

4k recording is not a setting, but an addon inside camera app. click the icon in the bottom left corner and you'll see it, along with all the other addons ;)

did you mean that or something else? bye!?
[Sony Cross-Device General] :No-Frost::
It would be nice to have Aroma Installer implemented, that way we can geat a graphic interface where to choose what we want to remove (also with explanation of what it is what we are removing)
[Sony Cross-Device General] fishstik:
Been using your debloated FW (pre-rooted 23.1.A.0.726 with Xposed) for months now with no issues, but one day the RAM started going crazy and has been for a month now. Every time I open an app, things in the background start restarting in a loop and multitasking is basically impossible. Restarting and clearing cache/dalvik-cache hasn't helped at all. I don't know if this is the Lollipop memory leak bug (I thought Sony had fixed this), but it's really strange that this came seemingly out of nowhere. I've attached some screenshots. Not really sure what to make of it, but memory state is in "critical" most of the time, and Google Play Services and Snapchat usage seems unusually high. Before, I had quite a few apps running in the background and the phone handled it like a champ; rarely any app refreshes, redraws, etc. Now it feels like i have 512MB of RAM again...

Anybody experiencing this? I'm thinking this could be coming from a rogue Xposed module or something. The problem is the worst if I'm using Chrome or Snapchat. Any recommendations on where to find the cause?
[Sony Cross-Device General] churchrickshaw:
This is one of the best scripts I've ever seen! Removes a lot of things that I never thought it was safe to remove (eg. phone-usage).

Just a suggestion: [MENTION=4695495]moly82[/MENTION] You included some Xposed modules at the end of your debloat script. I know you called it Extras, but I think it makes more sense to move some that into the optional script? Since the optional script is the one that includes Xposed. I couldn't uninstall the Xposed modules in Settings > Apps; which is not a big deal at all, just had to delete it through ES Explorer.

BTW, the bootanimation you included was only 720. It was easy enough to do 1080 though. Also, 370dpi for the Z3 seems to play nicely with Google Play and allow all apps to install. Someone here complained about Tinder or something, after the DPI change.
[Sony Cross-Device General] ThaRealSaad:
Yes I did try with wiping data and factory reset, nothing seems to work. It got pretty frustrating since I tried it thrice from scratch but got a bootloop every time. I'm not flashing this again until it's fixed and compatible on all phones and the Z1. If someone else tried this on Z1 please tell me what's steps they took. Thanks.
[Sony Cross-Device General] churchrickshaw:
[MENTION=6744144]ThaRealSaad[/MENTION]post the entire listing of apps and priv-apps?
[Sony Cross-Device General] FcukBloat:
really don't know what to tell never seen or even heard something like that with LP. I know it used to happen in old Xperias like the T running JB/KK, but in LP I hoped they fixed it. btw if you still get that even after rebooting, I really think it is something that has to do with your apps or modules installed... finding the culprit btw wouldn't be so easy I guess :silly:

I may split debloating script and extras one, but wouldn't like to make too many flashable zips, will see thanks! can't integrate the extras in the xposed zip btw, as the xposed one is exactly the one by rovo, I just linked it in my thread, and it is pretty complicate so I thought to integrate them in the past but it is too difficult (and also, doing like that, I would need to update it everytime a new xposed version is out, so not a very good solution ;) ). about the installed modules, you didn't wipe data I guess. because if you do, and install your FW and my script, during first boot they will be correctly installed, and you can uninstall them via settings. if you don't have them there, and you can see them only in /system/etc....... that means they are not really installed, you just have copies of the apks there, so you can just leave them there, they don't hurt at all ;)

about the bootanimation I will do maybe two different zips one for 720 and one for 1080. yes the DPI is only for z3c and actually I made it separate now :o btw it is very easy to change it as you guys wish with build.prop. EDIT: done! now it should work for both 720 and 1080 devices if flashing the correct zip!

as I said I think the problem is the extSD fix not compatible with Z1. if you want to help, I can make a solution that works for Z1 too, otherwise yes you will have to install something different...

I made a very simple solution that you could try (with just flashable zips, so it will be very fast, and if you have a full backup you can go back to your previous working situation very fast, so you could just loose 5-10 minutes?) otherwise I will have to wait for another z1 user willing to help if will ever come of course :p

the new steps for you would be:

1. keep your full backup safe

2. full wipe (system, cache, data, dalvik) -- just to be sure, if the procedure works you can then try without wiping data

3. (optional) flash your pre-rooted LP 5.0.2 FW -- if you are running LP 5.0.2 already, you can skip this step

4. lash either BloatwareRemoval_Extras_720.zip or BloatwareRemoval_Extras_1080.zip according to your screen -- updated to work with the next zip, so need to be re-downloaded

5. flash the platform.zip fix

5. (optional) flash xposed flashable zip

7. reboot
[Sony Cross-Device General] sanogueralorenzo:
hey [MENTION=4695495]moly82[/MENTION] does your script include any Google Play Services Battery Drain Fix? I'm curious to know what do you use for playback of videos (: since you removed the video playback app from sony.

btw, on z3c lower dpi looks really good after some days of use!
[Sony Cross-Device General] churchrickshaw:
what fixes are you referring to? i don't recall seeing any fixes for the xperia phones for these, other than manually freezing services.
[Sony Cross-Device General] Black Plague:
for those who wanted to bring smart call handling, rotation, backlit and Xperia thief Protection on Z3,

And I still dont know how to bring back On Body Detection On Smart Lock
[Sony Cross-Device General] churchrickshaw:
isnt this all in the __backup folder that you just need to cut/move back over?

Also, on body smart lock was an Android release from Google, it should be available per region. I'm on an US fw and that has it.
[Sony Cross-Device General] Black Plague:
not all just the one needed for the specific functions
[Sony Cross-Device General] churchrickshaw:
I believe the two features you've posted were all moved to the __backup folder since that's how I was able to restore functionality to the Intelligent settings as well. The On Body Detection feature is part of the Android LP update and it was released to certain regions. It was not a Sony feature that [MENTION=4695495]moly82[/MENTION] would have removed.
[Sony Cross-Device General] sewb:
Is it possible to flash this over clean existenz y rom?

And is it possible to get a mirror thats not Dropbox? Can't download from there from the phone

.thank
[Sony Cross-Device General] FcukBloat:
I'm not aware of google services fix either. can you point me to it?

in the past services were giving battery drain but that was fixed with an update by Google of the services themselves afaik...

for movies i use mx player, much better can play any movies formats with that ;)

yes i can't use anymore default dpi everything is just too big with default value! [emoji14]

yes i confirm you can restore anything you may need by moving back stuff from the backup folder to correct place in /system (don't "copy", or permissions will be messed up so you will end in a bootloop unless you will fix them before rebooting). much easier and faster.

btw even flashable zips can be used of course :o

well i confirm i don't remember having it removed, probably because i use a IT fw base that doesn't have it. don't even know what is that for exactly, can you tell me? btw i may have removed it if it wasn't use for me :D

if it is a new feature very easily there is a apk for it placed somewhere though ;)

i forgot to say in OP that using different FW you may have some more bloat/apks not present in my FW that could be removed, if you send me a list of all system apps i can check it (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).

tomorrow will split zips as suggested by someone so you will be able to flash safely at least the debloat script ;) will upload things to mega also, will that be OK for you? otherwise can use g drive...
[Sony Cross-Device General] ThaRealSaad:
Tried everything from scratch again, followed everything correctly, wiped everything, even used the latest XZDR Recovery and flashed latest 1080p script and platform zip, got nothing but a bootloop. Hahahaha man thanks for the effort, I appreciate it but this thing is not working lmao. [MENTION=4695495]moly82[/MENTION]