terminal_debloater icon indicating copy to clipboard operation
terminal_debloater copied to clipboard

Android 12 unable to install

Open heatl0rd opened this issue 3 years ago • 3 comments

Installing via Android file host zips on any magisk ver (stable or canary) on Android 12 appears to not do anything.

heatl0rd avatar Jan 06 '22 12:01 heatl0rd

Also running 12 with the same issue. Fixed GitHub adding extra hierarchy. Here's a readout from Magisk

- Copying zip to temp directory
- Installing terminal_debloater-master.zip
- ! Installation failed

Jaiceen avatar Jan 10 '22 18:01 Jaiceen

Copy the following file and replace the same path file META-INF/com/google/android/update-binary:

https://github.com/Magisk-Modules-Repo/movecert/blob/b36b14e8791756c3a55091c98f13d77d55555f99/META-INF/com/google/android/update-binary

Just copy the above file to here:

#!/sbin/sh
 
#################
# Initialization
#################
 
umask 022
 
# echo before loading util_functions
ui_print() { echo "$1"; }
 
require_new_magisk() {
  ui_print "*******************************"
  ui_print " Please install Magisk v20.4+! "
  ui_print "*******************************"
  exit 1
}
 
#########################
# Load util_functions.sh
#########################
 
OUTFD=$2
ZIPFILE=$3
 
mount /data 2>/dev/null
 
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
. /data/adb/magisk/util_functions.sh
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
 
install_module
exit 0

machinewu avatar Jun 06 '22 10:06 machinewu

Because the installation script is nothing but "exit 1"

https://github.com/Magisk-Modules-Repo/terminal_debloater/blob/master/META-INF/com/google/android/update-binary

HuskyDG avatar Jun 25 '22 13:06 HuskyDG