Skip to content

Instantly share code, notes, and snippets.

@M0Rf30
M0Rf30 / tcl-debloater.sh
Created August 22, 2023 12:43 — forked from ungeskriptet/tcl-debloater.sh
TCL TV debloater
#!/usr/bin/sh
set -e
TEMP_DIR=tmp-tcl-debloater
KODI_URL=https://mirrors.kodi.tv/releases/android/arm/kodi-20.1-Nexus-armeabi-v7a.apk
FLAUNCHER_URL=https://gitlab.com/flauncher/flauncher/-/releases/0.18.0/downloads/flauncher-0.18.0.apk
MATERIALFILES_URL=https://f-droid.org/repo/me.zhanghai.android.files_31.apk
BLOAT=$(cat <<EOF
com.tcl.partnercustomizer
com.tcl.smartalexa
com.tcl.gallery
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.18.3-postmarketos-qcom-msm8953 (pmos@arch-laptop) (aarch64-alpine-linux-musl-gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #13 SMP PREEMPT Thu Aug 4 10:50:31 UTC 2022
[ 0.000000] Machine model: Xiaomi Redmi 5 Plus
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000081800000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node memory@81800000, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xff9edb40-0xff9effff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]

Keybase proof

I hereby claim:

  • I am roberfoster on github.
  • I am boianog (https://keybase.io/boianog) on keybase.
  • I have a public key whose fingerprint is 540A 0761 EAAD 76B5 61E7 9858 3D44 4285 0C23 99EF

To claim this, I am signing this object: