ADB Cleaning Batch for .54

Search This thread
Uhm... Yeah...
I got some Time and had to rework my Z4 so I made a little Script (and a bit more afterwards) for my Z4.

What does it Clean? A ****ton.
Check the .bat yourself - Post would be too long to post.

Note for Batch: Anything beginning with a "::" or "REM" is a Comment in the Batch File, like the "'#" in a .sh file!
Why ADB? I simply didn't managed to delete the files from /etc with a Shell Script.

About the "more"...
I updates some of the Sony Apps and added some Google Apps to /data/app

What Exactly? This:

./ressources/data/app

com.android.chrome
com.google.android.apps.messaging
com.google.android.apps.walletnfcrel
com.google.android.contacts
com.google.android.dialer
com.sonymobile.calendar
com.sonymobile.email
projekt.substratum


./ressources/system/app

com.sonymobile.support
com.sonymobile.themes.liquid.cid45
com.sonymobile.themes.sou.cid14
com.sonymobile.xperiaxlivewallpaper
LatinIMEGooglePrebuilt
skin-picker-release
WebViewGoogle


./ressources/system/priv-app

ClockWidgets-release
home-sonyEricsson-release
SemcClock-release
SemcMusic


...XZ2 Stock Sounds, Build.prop Tweaks, more Media Volume and Phone Call Volume Steps and a Watch Dogs bootlogo.
The Lockscreen Clock is the XZ one. I did not Touch Sony Album because it force closes when not updates from Play Store.

If you just want to clean only, take the batch and Comment out the Keyboard and Sony Launcher or add your own.
Else: Use the Zip (NOT FLASHABLE!)
SafetyNet only works with Magisk. Tested with 16.7.

If you want to make a Flashable zip from this... Go ahead, If you want I'll add it to OP.
Any Bugs or Suggestions to Keep Specific apps... Tell me, I'll take a look at.

Downloads (Zip Includes Batch File):
https://mega.nz/#F!QlQFlCzC!GIIWvvMGICMBVg83Tpu6Dw

PS: Remove Chrome and Sony Calendar from /data/app, Chrome must be Installed from Play Store or from /system/app, Calendar App is too new, use 20.3.B.0.3, which is last "Target 7.1" Version.
 
Last edited: