[FLASHABLE ZIP] Debloater for Xperia E1 + Performance Tweaks

Search This thread

jrm1213

Senior Member
Sep 19, 2014
72
6
T4B
Kizoky, Many THANKS for this good idea and your effort to make the list!

I opened your DebloaterZip from curiosity; now would like to check my D2004.
Could add to yours for one universal zip or make separate one for D2004.
Mine is generic without carrier branding, so may not have branding-type bloat,
but did see some foreign files.

1. Do you know the syntax to list all files to file,
(eg, "list > list.txt" from inside folder /system/app) ?

2. How do you make the binary, as in: META-INF\com\google\android\update-binary ?

**
FYI — Duplicate lines (found by sort alpha on apk lines or odex lines)
in file: META-INF\com\google\android\updater-script:

delete("/system/priv-app/SocialEnginePicasaPlugin.apk");
delete("/system/priv-app/SocialEngineFacebookPlugin.apk");
delete("/system/priv-app/SEMCFacebookProxy.apk");
delete("/system/priv-app/FBMusicLike.apk");
delete("/system/priv-app/FBCalendarSync.apk");

delete("/system/priv-app/SocialEnginePicasaPlugin.odex");
delete("/system/priv-app/SocialEngineFacebookPlugin.odex");
delete("/system/priv-app/SEMCFacebookProxy.odex");
delete("/system/priv-app/FBMusicLike.odex");
delete("/system/priv-app/FBCalendarSync.odex");
**
 
  • Like
Reactions: Kizoky

Kizoky

Senior Member
Kizoky, Many THANKS for this good idea and your effort to make the list!

I opened your DebloaterZip from curiosity; now would like to check my D2004.
Could add to yours for one universal zip or make separate one for D2004.
Mine is generic without carrier branding, so may not have branding-type bloat,
but did see some foreign files.

1. Do you know the syntax to list all files to file,
(eg, "list > list.txt" from inside folder /system/app) ?

2. How do you make the binary, as in: META-INF\com\google\android\update-binary ?

**
FYI — Duplicate lines (found by sort alpha on apk lines or odex lines)
in file: META-INF\com\google\android\updater-script:

delete("/system/priv-app/SocialEnginePicasaPlugin.apk");
delete("/system/priv-app/SocialEngineFacebookPlugin.apk");
delete("/system/priv-app/SEMCFacebookProxy.apk");
delete("/system/priv-app/FBMusicLike.apk");
delete("/system/priv-app/FBCalendarSync.apk");

delete("/system/priv-app/SocialEnginePicasaPlugin.odex");
delete("/system/priv-app/SocialEngineFacebookPlugin.odex");
delete("/system/priv-app/SEMCFacebookProxy.odex");
delete("/system/priv-app/FBMusicLike.odex");
delete("/system/priv-app/FBCalendarSync.odex");
**

Thanks, I will add it in the next update!
 

image45

Senior Member
Nov 16, 2014
563
78
York
The Stock ROM is too large for my internet (approx. 670mb)
I already made a flashable pre-rooted Stock ROM with my tweaks, but my internet connection is holding me back

I was going to ask if you were aiming to arrive at a working flashable zip for this Custom version of the stock rom. I did a bit of bloatware culling on my Builds, however did not shrink the rom as much as you have achieved.
 

Kizoky

Senior Member
I was going to ask if you were aiming to arrive at a working flashable zip for this Custom version of the stock rom. I did a bit of bloatware culling on my Builds, however did not shrink the rom as much as you have achieved.

If I could shrink the ROM to atleast 200mb I will upload it here. I don't know what is 600+MB in the Firmware versions
(The Deodexed & Debloated ROM in this forum is 500mb) Everyone knows that the average CM roms is about 200mb, that +300 mb is interesting. I'll investigate what is causing that huge megabytes and try to shrink them.
 
Last edited:
  • Like
Reactions: yahiaas

image45

Senior Member
Nov 16, 2014
563
78
York
If I could shrink the ROM to atleast 200mb I will upload it here. I don't know what is 600+MB in the Firmware versions

Well I tailored it to me, I don't like Twitter or Facebook for example (social media really) so I removed these along with their plugins. I prefer es3 file manager to file commander so this removed.

I also added the z3 unlock screen and home screen along with live wallpapers. Purge the unused added what you Do. I have nova launcher/home screen on my E3 with Z3 unlock screen and live wallpapers once again. So in short I removed what I don't use then used the gain to allow me to add what I like, while your custom stock is super streamlined for optimum speed and running performance.
 

Kizoky

Senior Member
If someone curious, and wants to know how did I created a huge list of Bloatware, I'll tell you here
First of all, you need root, obviously.
Plus, ADB.

Open CMD and navigate to ADB (cd c:\adb)
Type in the following
>adb shell
>cd system/app (System apps)
>cd system/priv-app (Sony, pre-installed apps)
>ls (This will list all files in the directory)

And just by looking at the File name, I already knew that these apps were bloatware.
Of course, in the beginning I didn't know that there was another folder with bloatware, known as priv-app, so I downloaded System App Remover
In the filtering, I checked Size, and Path This showed me which apps were consuming lot of space (for example; BloatWare App 12,56mb, /system/priv-app/bltwr.apk)
And I just added that path line on my Debloat script. I deleted more apps, and checked If Android is still usable, stable. Since then If I noticed that some feature is missing, causing crash, I would look into which app causes it, and why. Just like the Photo Editor, It always crashed when setting a custom wallpaper (on Various(Customized?) firmwares.

Hope this will be useful for you guys in the near future If you have a new phone :D
 
  • Like
Reactions: image45 and jrm1213

jrm1213

Senior Member
Sep 19, 2014
72
6
T4B
Kizoky, Thanks for the good start in understanding.
I understand the English in your 'updater-script';
how did you make your file, 'update-binary' ?
 

Flynn20

Member
Jan 18, 2015
33
9
hot DAMN @Kizoky i f'n love you man.
even tho i dont use my E1 anymore (i became an iPhone pleb) but i still **** around with it and this, son, made my day.
 

mai77

Senior Member
Nov 16, 2011
1,429
580
great stuff. most of this bloat warez was provided by NSA anyhow.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    YOU NEED PHILZ RECOVERY TO USE THIS, QUESTIONS ABOUT HOW TO USE THIS WILL BE IGNORED (FLASH THE .ZIP WITH THE RECOVERY)
    YOU CAN'T USE THIS WHILE RUNNING ANDROID

    Debloater for Sony Xperia E1

    The following zip file removes every bloatware app that are using space and eating RAM.
    Good If you reinstalled your phone, or updated your Firmware.

    This script removes 100 bloatware total. There may be more bloatware apps, as I only used Russian Firmware, in my opinion It is the best Firmware which does not eat up RAM, or does not have any issues.

    Removes .apk files and .odex files, no app will use .odex files If you remove the apps anyways

    I managed to find all Bloatware apps on Xperia E1. (If not please tell me) More speed, and more Battery life!
    Please hit thanks If it was helpful!

    EDIT 1
    -Fixed 2 incorrect paths for some bloatware apps
    EDIT 2
    -Added 3 more Bloatware (+4 Pre-installed app; Russian Firmware)
    EDIT 3
    -Added 3 more bloatware! (Thank you xezrunner!)
    EDIT 4
    -Fixed V3 Debloater (sigh, @Kizoky you dummy!)

    Turn off your Wi-Fi during Sleep mode, because It will eat up your Battery. Use CPU Governer to control the CPU when the screen is off (optional)

    wnLhQjBm.png
    |
    g9yx8nPm.png

    Minus Settings, and USB app, You have 150+ RAM

    mCFYkVAm.png

    Pre-installed System apps (After debloating)

    The boot time drastically decreased, Starting from the Xperia Logo, It is usually 9-12 seconds until the animation turns darker
    Note: If you sign into Google Play for the first time, immediately turn off the automatic updates!

    What will be deleted?
    -Update Center, All Plugins (FB, Twitter, Wikipedia, YouTube), Google Chrome, Settings wizard, Sony apps (exclude Walkman, Album, Video), Google apps (Games, Films, etc..), Sony themes, Sony wallpapers, Widgets, Data logging junks (Anonymous data for ex.), Other junk apps that eating RAM (RetailDemo.apk; ...)
    File Commander is NOT DELETED (Good Bloatware app)

    Workarounds:
    -Album crashes everytime when setting a custom wallpaper (Download this and install it: https://docs.google.com/file/d/0B2ONZFOkl3m7VzFxRzlkU0hkVk0/edit)
    (I removed the Photo Editor app from the list, but If someone doesn't need it, delete it yourself, sorry) (I will edit the Permission for that If you want to delete it from Settings)

    If you experience more battery drain than before, the main reason is because an app requests a function from the other app that is no longer exists on your phone
    This will cause some apps call scripts/functions from an app which are using the CPU, and the result is faster Battery draining.
    Trying different firmwares MAY fix this issue


    Confusing Apps:
    WALKMAN -- Shake control, can't disable
    RetailDemo -- For local retail stores, can't disable

    Performance Tweaks:
    coming soon!

    Debloater versions:
    E1KKDebloater.zip -- This will remove everything that is useless, such as Sony apps, services, pre-installed Bloatware (exclude File Commander), System apps
    E1KKDebloaterV2.zip -- Same as E1KKDebloater V1, expect that It will not remove Setup wizards, which is Factory reset friendly (Use it with FTF zip creator)
    E1KKDebloaterV3.zip -- Final version (Blacklists ANTHal, Dummy apps, and apps that are needed for Factory Reset and etc. etc.)

    Decrease the Battery drain:
    Many apps has Wakelocks which will wake your phone from Deep Sleep mode, this means whenever you lock your phone It will drain your battery, just like when you use it regularly
    To avoid this, flash the Debloater ZIP, and do a Factory reset (optional)
    You need root to download Battery save apps, and "main" apps, such as Xposed.

    http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884
    This link gives you a great tutorial on how to save your battery, combining this with my debloater It will decrease the battery draining

    So what does the Debloater(s) do?
    -Remove .apk and .odex files from app, priv-app, and etc folders
    Nothing special, this thing just saves you a lot of time

    2016: V3 is fixed now, inside the zip there was an another folder which you couldn't flash (D'uh!)
    2
    Build.prop performance tweak; Copy and paste it into build.prop (Don't forget to hit 1 enter before ##Mods##) It is JB compatible, not sure if it will work with KK
    ##Mods##

    #Battery Mods
    persist.sys.shutdown.mode=hibernate
    persist.radio.add_power_save=1
    wifi.supplicant_scan_interval=228
    ro.ril.disable.power.collapse=1
    ro.config.hw_fast_dormancy=1
    ro.semc.enable.fast_dormancy=true
    ro.config.hw_quickpoweron=true
    ro.mot.eri.losalert.delay=1000
    ro.config.hw_power_saving=1
    pm.sleep_mode=1
    usb_wakeup=enable
    ro.ril.sensor.sleep.control=1
    power_supply.wakeup=enable
    ro.config.hw_power_saving=true

    #Camera Mods
    ro.media.enc.jpeg.quality=99
    ro.media.dec.jpeg.memcap=8000000
    ro.media.enc.hprof.vid.bps=8000000
    ro.media.enc.hprof.vid.fps=30

    #Dalvik and Kernel Mods
    persist.android.strictmode=0
    ro.kernel.android.checkjni=0
    ro.kernel.checkjni=0
    ro.config.nocheckin=1
    ro.compcache.default=0
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.verify-bytecode=true
    dalvik.vm.jmiopts=forcecopy
    debug.kill_allocating_task=0
    ro.ext4fs=1
    ro.setupwizard.mode=DISABLED
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.heaputilization=0.25
    dalvik.vm.heaptargetutilization=0.75

    #Disable USB Debugging PopUp
    persist.adb.notify=0

    #Allow to free more ram
    persist.sys.purgeable_assets=1

    #Disable Error Profiler
    profiler.force_disable_err_rpt=1
    profiler.force_disable_ulog=1

    #Signal And Call Tweaks
    ro.ril.enable.amr.wideband=1
    ro.telephony.call_ring.delay=0
    ring.delay=0

    #Sound Quality
    dev.pm.dyn_samplingrate=1
    persist.af.resampler.quality=255
    af.resampler.quality=3
    af.resample=48000
    mpq.audio.decode=true
    ro.somc.clearphase.supported=true

    #Smoother video watching
    video.accelerate.hw=1
    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=false
    media.stagefright.enable-http=true

    #Better internet browsing & download speed
    net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.hspa=4096,87380,256960,4096,16384,256960

    #3G Tweaks
    ro.ril.hsxpa=2
    ro.ril.gprsclass=10
    ro.ril.hep=1
    ro.ril.enable.dtm=1
    ro.ril.hsdpa.category=10
    ro.ril.enable.a53=1
    ro.ril.enable.3g.prefix=1
    ro.ril.hsupa.category=5

    #Better Touchscreen Responsiveness
    touch.pressure.scale=0.7
    touch.size.bias=67.00
    touch.size.scale=18.22

    #Disable HDMI
    ro.hdmi.enable=false
    com.qc.hdmi_out=false

    #Zram Mods
    persist.service.zram=0
    ro.zram.default=0

    #No boot Animation
    debug.sf.nobootanimation=1

    #UI Tweaks
    persist.sys.ui.hw=1
    view.scroll_friction=10
    debug.composition.type=gpu
    debug.performance.tuning=1

    #Misc
    logcat.live=disable
    persist.sys.gmaps_hack=1
    debug.sf.ddms=0
    ro.warmboot.capability=1
    logcat.live=disable

    ####Build.prop by JDWALKER####


    Alternative:
    http://xdaforums.com/showthread.php?t=2417085
    2
    Added 3 more Bloatware!

    com.sonyericsson.xhs.apk -- Xperia Lounge (another Lounge from different Firmware)
    GMS_Maps.apk -- Google Maps
    textinput-chn.apk -- Chinese Xperia Keyboard


    Thanks xezrunner!
    2
    I'm going to add an integrated CPU & GPU governizer, and tasks

    I don't know how can I do this, but probably It is not that hard
    2
    Update:
    Fixed the V3 debloater after nearly 4 months :eek:
    Added Mire777's V3 version, which excludes some apps you find not a bloatware