[Sony Xperia X Performance Guides, News, & Discussi] serajr:
Already achieved it on my F8131, but it is limited root shell only, and cannot perform backup of TA partition (yet).

But I can at least debloat (freeze) system and/or crappy apps (any package). Here is my dirtycow debloat output:

F8131, locked BL, 35.0.A.1.297 fw.

Microsoft Windows [versão 10.0.14393]
(c) 2016 Microsoft Corporation. Todos os direitos reservados.

C:\Users\Sera>adb shell
shell@F8131:/ $ [B][COLOR="red"]id[/COLOR][/B]
[B][COLOR="Red"]uid=2000(shell) gid=2000(shell) groups=2000(shell)[/COLOR][/B],1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2993(trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
shell@F8131:/ $ run-as con
shell@F8131:/ # [COLOR="red"][B]id[/B][/COLOR]
[B][COLOR="red"]uid=0(root) gid=0(root) groups=0(root)[/COLOR][/B],1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2993(trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
shell@F8131:/ # /data/local/tmp/debloat.sh

Freezing quite a few packages, standby a minute or two...

/system/app/

Package com.sonymobile.anondata new state: disabled
Package com.android.dreams.basic new state: disabled
Package com.s.antivirus new state: disabled
Package com.sonymobile.xperialounge.services new state: disabled
Package com.swiftkey.swiftkeyconfigurator new state: disabled
Package com.sonymobile.deviceconfigtool new state: disabled
Package com.sonymobile.dualshockmanager new state: disabled
Package com.google.android.apps.docs.editors.docs new state: disabled
Package com.google.android.apps.docs.editors.sheets new state: disabled
Package com.google.android.apps.docs.editors.slides new state: disabled
Package com.sonymobile.exchange new state: disabled
Package com.sonymobile.android.externalkeyboardjp new state: disabled
Package com.facebook.katana new state: disabled
Package com.android.facelock new state: disabled
Package com.noknok.android.mfac.service new state: disabled
Package com.qualcomm.qti.auth.fidocryptoservice new state: disabled
Package com.qualcomm.qti.auth.fidosuiservice new state: disabled
Package com.android.galaxy4 new state: disabled
Package com.sonymobile.getmore.client new state: disabled
Package com.sonymobile.music.googlelyricsplugin new state: disabled
Package com.android.wallpaper.holospiral new state: disabled
Package com.android.htmlviewer new state: disabled
Package com.sonymobile.intelligent.backlight new state: disabled
Package com.sonymobile.intelligent.observer new state: disabled
Package com.sonymobile.sso new state: disabled
Package com.android.keychain new state: disabled
Package com.sonymobile.lifelog new state: disabled
Package com.android.wallpaper new state: disabled
Package com.google.android.apps.maps new state: disabled
Package com.google.android.music new state: disabled
Package com.sony.nfx.app.sfrc new state: disabled
Package com.android.noisefield new state: disabled
Package com.sonyericsson.omadl new state: disabled
Package com.android.providers.partnerbookmarks new state: disabled
Package com.android.phasebeam new state: disabled
Package com.sonymobile.phoneusage new state: disabled
Package com.google.android.apps.photos new state: disabled
Package com.sonymobile.slideshow new state: disabled
Package com.android.dreams.phototable new state: disabled
Package com.sonyericsson.advancedwidget.photo new state: disabled
Package com.scee.psxandroid new state: disabled
Package com.realvnc.android.remote new state: disabled
Package com.sonymobile.email new state: disabled
Package com.sonyericsson.warrantytime new state: disabled
Package org.simalliance.openmobileapi.service new state: disabled
Package com.sonymobile.enterprise.installation new state: disabled
Package com.sonymobile.sketch new state: disabled
Package com.android.stk new state: disabled
Package com.sonymobile.styleportrait.addon.blue new state: disabled
Package com.sonymobile.styleportrait.addon.bubble new state: disabled
Package com.sonymobile.styleportrait.addon.daily new state: disabled
Package com.sonymobile.styleportrait.addon.paint new state: disabled
Package com.sonymobile.styleportrait.addon.red new state: disabled
Package com.sonymobile.styleportrait.addon.star new state: disabled
Package com.sonymobile.styleportrait.addon.sunshine new state: disabled
Package com.sonymobile.styleportrait.addon.suntan new state: disabled
Package com.sonymobile.synchub new state: disabled
Package com.sonymobile.advancedwidget.topcontacts new state: disabled
Package com.sonymobile.touchblocker new state: disabled
Package com.sonyericsson.unsupportedheadsetnotifier new state: disabled
Package com.google.android.videos new state: disabled
Package com.sony.tvsideview.phone new state: disabled
Package com.sonymobile.music.wikipediaplugin new state: disabled
Package com.sonymobile.advancedwidget.worldclock new state: disabled
Package com.sonymobile.music.youtubekaraokeplugin new state: disabled
Package com.sonymobile.music.youtubeplugin new state: disabled

/system/priv-app/

Package com.sonyericsson.android.addoncamera.artfilter new state: disabled
Package com.android.backupconfirm new state: disabled
Package com.android.calllogbackup new state: disabled
Package com.sonymobile.cameracommon.wearablebridge new state: disabled
Package com.sonymobile.coverapp2 new state: disabled
Package com.sonymobile.enterprise.service new state: disabled
Package com.sonymobile.getmore new state: disabled
Package com.google.android.backuptransport new state: disabled
Package com.google.android.feedback new state: disabled
Package com.sonymobile.intelligent.gesture new state: disabled
Package com.android.musicfx new state: disabled
Package com.sonymobile.mx.android new state: disabled
Package com.sonyericsson.android.omacp new state: disabled
Package com.sonymobile.ree new state: disabled
Package com.android.sharedstoragebackup new state: disabled
Package com.sonymobile.simlockunlockapp new state: disabled
Package com.sonymobile.gettoknowit new state: disabled
Package com.sonymobile.mirrorlink.manualswitch new state: disabled
Package com.sonymobile.mirrorlink.server11 new state: disabled
Package com.sonymobile.mirrorlink.system new state: disabled
Package com.sonymobile.android.addoncamera.soundphoto new state: disabled
Package com.android.apps.tag new state: disabled
Package com.sonyericsson.mtp.extension.backuprestore new state: disabled
Package com.sonyericsson.mtp.extension.factoryreset new state: disabled
Package com.sonymobile.mtp.extension.fotaupdate new state: disabled
Package com.sonyericsson.mtp.extension.update new state: disabled
Package com.sonyericsson.mtp new state: disabled
Package com.google.android.googlequicksearchbox new state: disabled

others

Package com.facebook.appmanager new state: disabled
Package com.facebook.system new state: disabled
Package com.google.android.apps.docs new state: disabled
Package com.google.android.calendar new state: disabled
Package com.google.android.gm.exchange new state: disabled
Package com.google.android.marvin.talkback new state: disabled
Package com.sony.snei.np.android.account new state: disabled
Package com.sonymobile.androidapp.cameraaddon.areffect new state: disabled
Package com.sonymobile.androidapp.cameraaddon.stickercreator new state: disabled
Package com.sonymobile.support new state: disabled
Package com.touchtype.swiftkey new state: disabled
Package com.linkedin.android new state: disabled
Package com.spotify.music new state: disabled

Done freezing packages! Reboot your device!!

shell@F8131:/ #

Thanks [MENTION=3975929]zxz0O0[/MENTION] and [MENTION=4675598]shoey63[/MENTION] for the precious support!

I'm still working on it. Maybe I (or we) end up in a temp root solution to be able to perform backup of TA partition. I said maybe!! ETA?... don't f*** !!

Also, I will release the dirtycow debloat tool as soon as I finish it. >> DONE!

Requirements:

- Vulnerable Stock MM and/or N Kernel (Maybe all of them)

Instruction:

- Download and unpack

- Look into \files\debloat.sh file contents. Marked (# pm ...) lines won't be freezed!

- Run proper .bat file

- Follow on-screen instructions

Beers...