[02.05.2024 19:30 ] ### prepare_phone.sh started at 02.05.2024 19:30:58 (The PID of this process is 820137) [02.05.2024 19:30 ] ### Processing the parameter ... [02.05.2024 19:30 ] Not yet used parameter are: "all_no_magisk_no_twrp" [02.05.2024 19:30 ] Tasks to execute are: "all_no_magisk_no_twrp" [02.05.2024 19:30 ] Parameter for the function init_tasks are: "" [02.05.2024 19:30 ] ### The logfile used is /var/tmp/prepare_phone.sh.log [02.05.2024 19:30 ] ERROR: Can not write to the file /var/tmp/prepare_phone.sh.log - now using the log file /var/tmp/prepare_phone.sh.log.820137 [02.05.2024 19:30 ] Checking the include file "/data/backup/Android/scripts_on_linux/prepare_phone.include" ... [02.05.2024 19:30 ] Reading the include file "/data/backup/Android/scripts_on_linux/prepare_phone.include" ... [02.05.2024 19:30 ] Processing the parameter ... [02.05.2024 19:30 ] Preparing the list of tasks to execute ... [02.05.2024 19:30 ] "init_tasks" is defined - now executing it ... ---------------------------------------------------------------------- [02.05.2024 19:30 ] Searching for a config file .... [02.05.2024 19:30 ] Config file "prepare_phone.conf" succesfully read [02.05.2024 19:30 ] Using the directory "/tmp" for temporary files [02.05.2024 19:30 ] The PID of this process is 820137 [02.05.2024 19:30 ] The include file used is : -rw-r--r--. 1 xtrnaw7 xtrnaw7 468732 May 2 19:25 /data/backup/Android/scripts_on_linux/prepare_phone.include [02.05.2024 19:30 ] The include file used was last edited at: "30.04.2024 /bs" [02.05.2024 19:30 ] The version of the used execute_tasks.sh script is "v2.2.5" ----------------------------------------------------------------------- [02.05.2024 19:30 ] Using the TWRP image "/data/backup/ASUS_ZENFONE8/twrp/current_twrp.img" for booting the phone into TWRP [02.05.2024 19:30 ] Using the working directory "/tmp/prepare_phone.sh_WORKDIR.820137" . [02.05.2024 19:30 ] *** Reading the include file "/data/develop/android/scripts_on_linux/boot_phone_from_twrp.sh" ... [02.05.2024 19:30 ] The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... [02.05.2024 19:30 ] Will use the attached phone with the serial number "M6AIB760D0939LX" [02.05.2024 19:30 ] Using the TWRP image defined in the environment variable TWRP_IMAGE: "/data/backup/ASUS_ZENFONE8/twrp/current_twrp.img" [02.05.2024 19:30 ] Using the options "-d -s M6AIB760D0939LX " for the adb commands [02.05.2024 19:30 ] Using the options " -s M6AIB760D0939LX " for the fastboot commands [02.05.2024 19:30 ] Checking the script prerequisites ... [02.05.2024 19:30 ] Will wait up to 60 second(s) after booting the phone into the bootloader [02.05.2024 19:30 ] Will wait up to 120 second(s) after booting the phone from the TWRP image [02.05.2024 19:30 ] Will wait up to 30 second(s) until the adb daemon is ready to use [02.05.2024 19:30 ] The phone is currently booted into the Android OS [02.05.2024 19:30 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:30 ] Checking the installed OS on the phone ... [02.05.2024 19:30 ] The OS on the phone is OmniROM 14 [02.05.2024 19:30 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:30 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:30 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:30 ] The installed OS is "OmniROM" [02.05.2024 19:30 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:30 ] The boot slot is _b. ---------------------------------------------------------------------- [02.05.2024 19:30 ] Executing the tasks now ... [02.05.2024 19:30 ] The tasks to execute are: Task 1: enable_disable_abort_on_error enable Task 2: select_twrp_image ignorerc Task 3: boot_phone_from_twrp_image Task 4: install_os noreboot:factory_reset:auto Task 5: kill_adb_daemon Task 6: backup_boot_partition next Task 7: install_magisk_in_boot_partition_only noreboot:next Task 8: enable_adb reboot Task 9: execute_script_on_the_phone ignorerc:pre_install.sh Task 10: wait_for_access_via_adb 240:kill Task 11: select_twrp_image ignorerc Task 12: install_magisk_in_data_adb_only noreboot:copy_apk:use_apk Task 13: wait_for_access_via_adb 120:kill Task 14: enable_root_access_for_the_shell reboot Task 15: wait_for_access_via_adb 120:kill Task 16: install_archive_file twrp:reboot:script=/cache/correct_setlinux_for_wifconifg.sh Task 17: enable_disable_abort_on_error disable Task 18: execute_script_on_the_phone ignorerc:/data/develop/android/scripts_on_linux/enable_wlan.sh Task 19: restore_boot_partition twrp:noreboot Task 20: install_essential_apps Task 21: execute_script_on_the_phone ignorerc [02.05.2024 19:30 ] Processing the task "enable_disable_abort_on_error" with the parameter "enable" ... [02.05.2024 19:30 ] Executing now "enable_disable_abort_on_error enable" ---------------------------------------------------------------------- [02.05.2024 19:30 ] Setting the variable "ABORT_TASK_EXECUTION_ON_ERROR" to "0" .. ---------------------------------------------------------------------- [02.05.2024 19:30 ] Processing the task "select_twrp_image" with the parameter "ignorerc" ... [02.05.2024 19:30 ] Executing now "select_twrp_image ignorerc" ---------------------------------------------------------------------- [02.05.2024 19:30 ] [02.05.2024 19:30 ] *** Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:30 ] [02.05.2024 19:30 ] The phone is currently booted into the Android OS [02.05.2024 19:30 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:30 ] Checking the installed OS on the phone ... [02.05.2024 19:30 ] The OS on the phone is OmniROM 14 [02.05.2024 19:30 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:30 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:30 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:30 ] The installed OS is "OmniROM" [02.05.2024 19:30 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:30 ] The boot slot is _b. ---------------------------------------------------------------------- [02.05.2024 19:30 ] Processing the task "boot_phone_from_twrp_image" ... [02.05.2024 19:30 ] Executing now "boot_phone_from_twrp_image " ---------------------------------------------------------------------- [02.05.2024 19:30 ] [02.05.2024 19:30 ] *** Booting the attached phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:30 ] [02.05.2024 19:30 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:30 ] The phone is booted into the Android OS [02.05.2024 19:30 ] Booting the phone into the bootloader now ... [02.05.2024 19:31 ] Waiting up to 60 seconds for the boot into the fastboot mode ... [02.05.2024 19:31 ] The phone is booted into the bootloader [02.05.2024 19:31 ] Booting the phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" now ... Sending 'boot.img' (98304 KB) OKAY [ 2.633s] Booting OKAY [ 10.359s] Finished. Total time: 13.039s Waiting up to 120 seconds for a working adb connection .... [02.05.2024 19:31 ] The adb connection is working after 20 second(s) Waiting up to 30 seconds for the adb daemon to get ready . [02.05.2024 19:31 ] ... the adb daemon is ready after 1 second(s) [02.05.2024 19:31 ] The adb connection is ready after 1 second(s) [02.05.2024 19:31 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:31 ] /data is mounted after 0 second(s). [02.05.2024 19:31 ] /data/media not found - /data is not yet initialized [02.05.2024 19:31 ] The phone is booted into TWRP version "3.7.0_12-1" ---------------------------------------------------------------------- [02.05.2024 19:31 ] Processing the task "install_os" with the parameter "noreboot:factory_reset:auto" ... [02.05.2024 19:31 ] Executing now "install_os noreboot factory_reset auto" ---------------------------------------------------------------------- [02.05.2024 19:31 ] [02.05.2024 19:31 ] *** Installing the Android OS using the image "/data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" using the script "/data/develop/android/scripts_on_linux/install_os_via_twrp.sh" with the parameter " factory_reset auto /data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" ... [02.05.2024 19:31 ] [02.05.2024 19:31 ] The automatic reboot after executing the script is disabled [02.05.2024 19:31 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:31 ] ---------------------------------------------------------------------- [02.05.2024 19:31 ] *** Executing now "/data/develop/android/scripts_on_linux/install_os_via_twrp.sh factory_reset auto /data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" ... # --------------------------------------------------------------------- install_os_via_twrp.sh version - v2.1.0.0 - install an OS image via the TWRP command twrp Checking the contents of the file "/data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" ... Selecting the installation method depending of the name of the image file ... This seems to be a OmniROM installation image -- using install for the installation Using the TWRP helper script "/data/develop/android/scripts_on_linux/boot_phone_from_twrp.sh" The OS image to install is: "/data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" Reading the helper script "boot_phone_from_twrp.sh" ... The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... Will use the attached phone with the serial number "M6AIB760D0939LX" Using the TWRP image defined in the environment variable TWRP_IMAGE: "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" Using the options "-d -s M6AIB760D0939LX " for the adb commands Using the options " -s M6AIB760D0939LX " for the fastboot commands Checking the script prerequisites ... Will wait up to 60 second(s) after booting the phone into the bootloader Will wait up to 120 second(s) after booting the phone from the TWRP image Will wait up to 30 second(s) until the adb daemon is ready to use Retrieving the current status of the phone ... The phone is currently booted from a TWRP image The boot slot is _b. The phone is booted from a TWRP image The phone is booted into TWRP version "3.7.0_12-1" Waiting up to 30 seconds for the adb daemon to get ready ... the adb daemon is ready after 0 second(s) The adb connection is ready after 0 second(s) /data is mounted to "/dev/block/dm-5" -- will umount it now ... Unmounted '/data' Done processing script file Umounting /data sucesfully done. Formating /data ... ++ /usr/bin/adb -d -s M6AIB760D0939LX shell -tt twrp format data real 0m1.428s user 0m0.002s sys 0m0.002s Done. You may need to reboot recovery to be able to use /data again. TWRP will not recreate /data/media on an FBE device. Please reboot into your rom to create /data/media Formatting Metadata using mke2fs... Done. Done processing script file Formating the data partition sucesfully done. Formating the metadata partition ... ++ /usr/bin/adb -d -s M6AIB760D0939LX shell umount /dev/block/by-name/metadata umount: /dev/block/sda22: Invalid argument ++ /usr/bin/adb -d -s M6AIB760D0939LX shell mke2fs -F -t ext4 /dev/block/by-name/metadata mke2fs 1.45.4 (23-Sep-2019) Discarding device blocks: done Creating filesystem with 4096 4k blocks and 4096 inodes Allocating group tables: 0/1 done Writing inode tables: 0/1 done Creating journal (1024 blocks): done Writing superblocks and filesystem accounting information: 0/1 done Formating the metadata partition sucesfully done. Waiting up to 10 seconds for a working adb connection The adb connection is working after 0 second(s) Installing the OS image file "/data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" via install option from within TWRP on the phone ... Coyping the OS image file "/data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip" to "/tmp/omni-14-20240424-zenfone8-MICROG.zip" on the phone ... /data/backup/ASUS_ZENFONE8/omnirom_local/omni-14/omni-14-20240424-zenfone8-MICROG.zip: 1 file pushed, 0 skipped. 32.6 MB/s (1374075375 bytes in 40.203s) Installing the OS image "/tmp/omni-14-20240424-zenfone8-MICROG.zip" into the slot "_a" ... Installing the image via "twrp install" took 139 seconds(s) Installing zip file '/tmp/omni-14-20240424-zenfone8-MICROG.zip' Flashing A/B zip to inactive slot: A Step 1/2Step 2/2Updating partition details... ...done Devices on super may not mount until rebooting recovery. To flash additional zips, please reboot recovery to switch to the updated slot. Done processing script file OS image file "/tmp/omni-14-20240424-zenfone8-MICROG.zip" successfully installed. Now changing the next active slot to _a ... + /usr/bin/adb -d -s M6AIB760D0939LX shell bootctl set-active-boot-slot 0 The RC is 0 ... successfully changed the active slot for the next reboot Automatically rebooting the phone is disabled # --------------------------------------------------------------------- [02.05.2024 19:34 ] ... the script ended with RC=0 ---------------------------------------------------------------------- [02.05.2024 19:34 ] Processing the task "kill_adb_daemon" ... [02.05.2024 19:34 ] Executing now "kill_adb_daemon " ---------------------------------------------------------------------- [02.05.2024 19:34 ] [02.05.2024 19:34 ] *** Killing the running adb daemon ... [02.05.2024 19:34 ] [02.05.2024 19:34 ] The automatic reboot after executing the script is disabled [02.05.2024 19:34 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:34 ] Running adb daemons are: xtrnaw7 20619 18557 0 Apr30 ? 00:00:02 /usr/lib64/firefox/firefox -contentproc -childID 82 -isForBrowser -prefsLen 40367 -prefMapSize 317759 -jsInitLen 234952 -parentBuildID 20240420101126 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appDir /usr/lib64/firefox/browser {54aff6d4-9ab1-4b0e-b5dc-71bc51adb294} 18557 true tab xtrnaw7 820902 1 0 19:31 ? 00:00:00 adb -L tcp:5037 fork-server server --reply-fd 4 [02.05.2024 19:34 ] Killing the adb deamon now ... [02.05.2024 19:34 ] The returncode of the command is 0 [02.05.2024 19:34 ] Running adb daemons are now: xtrnaw7 20619 18557 0 Apr30 ? 00:00:02 /usr/lib64/firefox/firefox -contentproc -childID 82 -isForBrowser -prefsLen 40367 -prefMapSize 317759 -jsInitLen 234952 -parentBuildID 20240420101126 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appDir /usr/lib64/firefox/browser {54aff6d4-9ab1-4b0e-b5dc-71bc51adb294} 18557 true tab ---------------------------------------------------------------------- [02.05.2024 19:34 ] Processing the task "backup_boot_partition" with the parameter "next" ... [02.05.2024 19:34 ] Executing now "backup_boot_partition next" ---------------------------------------------------------------------- [02.05.2024 19:34 ] Imagefile not defined in the parameter -- using the default image file [02.05.2024 19:34 ] [02.05.2024 19:34 ] *** Creating a backup of a boot partition ... [02.05.2024 19:34 ] [02.05.2024 19:34 ] The automatic reboot after executing the task is disabled [02.05.2024 19:34 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:34 ] The phone is currently booted from a TWRP image [02.05.2024 19:34 ] The boot slot is _b. [02.05.2024 19:34 ] Creating an image file of the partition "boot_a" in the file "/data/recovery/initial_boot_a.img" on the phone [02.05.2024 19:34 ] Retrieving the current status of the phone ... [02.05.2024 19:34 ] The phone is booted from a recovery or TWRP image with root access [02.05.2024 19:34 ] Creating a backup of the partition "/dev/block/by-name/boot_a" into the file "/data/recovery/initial_boot_a.img" on the phone ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 0.314838 s, 305 M/s [02.05.2024 19:34 ] .. image file "/data/recovery/initial_boot_a.img" successfully created [02.05.2024 19:34 ] Creating the check sum of the boot partition "/dev/block/by-name/boot_a" ... 707411078 100663296 /dev/block/by-name/boot_a [02.05.2024 19:34 ] Creating the check sum of the image file "/data/recovery/initial_boot_a.img" .... 707411078 100663296 /data/recovery/initial_boot_a.img [02.05.2024 19:34 ] OK, the check sum for the partition "/dev/block/by-name/boot_a" is equal to the check sum for the image file "/data/recovery/initial_boot_a.img" [02.05.2024 19:34 ] Rebooting the phone was NOT requested via task parameter ---------------------------------------------------------------------- [02.05.2024 19:34 ] Processing the task "install_magisk_in_boot_partition_only" with the parameter "noreboot:next" ... [02.05.2024 19:34 ] Executing now "install_magisk_in_boot_partition_only noreboot next" ---------------------------------------------------------------------- [02.05.2024 19:34 ] The slot to use for this task is "next" [02.05.2024 19:34 ] [02.05.2024 19:34 ] *** Installing Magisk using the apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" into the boot partition using the script "/data/develop/android/scripts_on_linux/install_magisk_via_twrp.sh" with the parameter "next copy_apk delete_adb_dir magisk_apk_file=/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" ... [02.05.2024 19:34 ] [02.05.2024 19:34 ] The automatic reboot after executing the script is disabled [02.05.2024 19:34 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:34 ] ---------------------------------------------------------------------- [02.05.2024 19:34 ] *** Executing now "/data/develop/android/scripts_on_linux/install_magisk_via_twrp.sh next copy_apk delete_adb_dir magisk_apk_file=/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" ... # --------------------------------------------------------------------- install_magisk_via_twrp.sh version - v3.1.3.3 - add Magisk to the boot partition of a phone running Android using TWRP Parameter "copy_apk" found: Will copy the Magisk apk file to the phone if neccessary Parameter "delete_adb_dir" found: All files and directories created by this script in the directory "/data/adb" will be deleted at script end. Parameter "magisk_apk_file=file" found : Will use the Magisk apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" Using the TWRP image found in the parameter: "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" Checking the script prerequisites ... Will wait 10 second(s) before starting the script on the phone The Magisk version used is v25.x or older Using the temporary directory "/data/MagiskInst" on the phone The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... Will patch the boot partition on the attached phone with the serial number "M6AIB760D0939LX" Using the options "-d -s M6AIB760D0939LX " for the adb commands Using the options " -s M6AIB760D0939LX " for the fastboot commands Checking for a connected phone booted into fastboot mode ... No attached phone in fastboot mode found Checking for an attached phone with working access via adb (USB) ... Linux localhost 5.4.147-BeyondStock™-Sake-A13.001-CPTB-g17db0633edf3 #32 SMP PREEMPT Sat Oct 14 11:34:03 EDT 2023 aarch64 ... found a phone connected via USB with working adb access The phone is already booted from a TWRP image: "twrp_I006D" version "3.7.0_12-1" Retrieving the current boot slot from the phone ... The current boot slot is "_b" The boot slot to patch is "_a" The boot partition to patch is "boot_a" Copying the Magisk apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" to the phone into the directory "/data" ... /data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk: 1 file pushed, 0 skipped. 41.0 MB/s (11278270 bytes in 0.263s) Creating the temporary directory "/data/MagiskInst" with the Magisk files necessarry to install Magisk into the boot partition ... Creating the script file "/tmp/init_magisk_dirs.sh" to create the directory "/data/MagiskInst" on the phone ... Creating the directory "/data/MagiskInst" on the phone ... Copying the temporary script file "/tmp/init_magisk_dirs.sh" to the file "/data/MagiskInst/create_temporary_magisk_dir.sh" on the phone ... /tmp/init_magisk_dirs.sh: 1 file pushed, 0 skipped. 152.6 MB/s (7716 bytes in 0.000s) Executing the script "/data/MagiskInst/create_temporary_magisk_dir.sh" on the phone ... ------------------------------------------------------------------------------ + adb -d -s M6AIB760D0939LX shell /data/MagiskInst/create_temporary_magisk_dir.sh /data/MagiskInst '' Searching for an installed Magisk app .... ls: /data/app/*/com.topjohnwu.magisk*/base.apk: No such file or directory Searching for a Magisk apk file in the directory /sdcard/Download ... ls: /sdcard/Download/Magisk*apk: No such file or directory Searching for a Magisk apk file in the directdory /data ... Found the apk file "/data/Magisk-v25.2.apk" Using the directory "/data/MagiskInst/bin" for the Magisk Binaries Creating the files in the directory "/data/MagiskInst/bin" using the files for the CPU "arm64-v8a" from the apk file "/data/Magisk-v25.2.apk" ... Unpacking the apk file "/data/Magisk-v25.2.apk" into the directory "/data/MagiskInst/magisk_apk_contents.775" ... Delete all existing files in the directory "/data/MagiskInst/bin" ... total 0 total 0 Copying the files to "/data/MagiskInst/bin" ... + mv ./assets/util_functions.sh /data/MagiskInst/bin + mv ./assets/chromeos /data/MagiskInst/bin/ + mv ./assets/boot_patch.sh /data/MagiskInst/bin + mv ./assets/addon.d.sh /data/MagiskInst/bin + '[' -r ./assets/stub.apk ']' + cd ./lib/arm64-v8a + mv libbusybox.so /data/MagiskInst/bin/busybox + mv libmagisk64.so /data/MagiskInst/bin/magisk64 + mv libmagiskboot.so /data/MagiskInst/bin/magiskboot + mv libmagiskinit.so /data/MagiskInst/bin/magiskinit + mv libmagiskpolicy.so /data/MagiskInst/bin/magiskpolicy + cd ../.. + file=libmagisk32.so + '[' arm64-v8ax '=' arm64-v8ax -a -r ./lib/armeabi-v7a/libmagisk32.so ']' + mv ./lib/armeabi-v7a/libmagisk32.so /data/MagiskInst/bin/magisk32 + set +x + TEMPRC=0 + set +x ------------------------------------------------------------------------------ ... "/data/MagiskInst/create_temporary_magisk_dir.sh" successfully executed Checking if the Magisk patch script "boot_patch.sh" exists on the phone .... -rwxr-xr-x 1 root root 5987 2024-05-02 17:34 /data/MagiskInst/bin/boot_patch.sh Checking if the download directory "/sdcard/Download" exists on the phone .... ls: /sdcard/Download: No such file or directory WARNING: Directory "/sdcard/Download" not found on the phone . Checking if the download directory "/tmp" exists on the phone .... /tmp Creating the boot image file "/tmp/boot_a.821478.img" from the partition "/dev/block/by-name/boot_a" ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 0.196743 s, 488 M/s Checking the result ... -rw-rw-rw- 1 root root 100663296 2024-05-02 17:34 /tmp/boot_a.821478.img The check sums are: The check sum of the boot partition "/dev/block/by-name/boot_a" on the phone is "707411078" The check sum of th boot image file on the phone is "/tmp/boot_a.821478.img" is "707411078" Installing Magisk into the boot partition using the old method ... Patching the boot image file "/tmp/boot_a.821478.img" ... Waiting now 10 second(s) ... - Unpacking boot image Parsing boot image: [/tmp/boot_a.821478.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18177015] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [raw] RAMDISK_FMT [gzip] VBMETA - Checking ramdisk status Loading cpio: [ramdisk.cpio] - Stock boot image detected - Patching ramdisk Loading cpio: [ramdisk.cpio] Add entry [init] (0750) Create directory [overlay.d] (0750) Create directory [overlay.d/sbin] (0750) Add entry [overlay.d/sbin/magisk32.xz] (0644) Add entry [overlay.d/sbin/magisk64.xz] (0644) Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[false] Loading cpio: [ramdisk.cpio.orig] Backup mismatch entry: [init] -> [.backup/init] Record new entry: [overlay.d] -> [.backup/.rmlist] Record new entry: [overlay.d/sbin] -> [.backup/.rmlist] Record new entry: [overlay.d/sbin/magisk32.xz] -> [.backup/.rmlist] Record new entry: [overlay.d/sbin/magisk64.xz] -> [.backup/.rmlist] Create directory [.backup] (0000) Add entry [.backup/.magisk] (0000) Dump cpio: [ramdisk.cpio] - Repacking boot image Parsing boot image: [/tmp/boot_a.821478.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18177015] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [raw] RAMDISK_FMT [gzip] VBMETA Repack to boot image: [new-boot.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18575016] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] Checking the result ... -rw-r--r-- 1 root root 100663296 2024-05-02 17:34 /data/MagiskInst/bin/new-boot.img The patched boot image is "/tmp/patched_boot_a.821478.img" Waiting now 10 second(s) ... Patching the partition "/dev/block/by-name/boot_a" from the patched boot image file "/tmp/patched_boot_a.821478.img" via dd ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 4.660111 s, 21 M/s Checking the result .... The check sums for the images and devices on the phone are: 707411078 100663296 /tmp/boot_a.821478.img 906499397 100663296 /tmp/patched_boot_a.821478.img 906499397 100663296 /dev/block/by-name/boot_a OK, patching the boot partition "/dev/block/by-name/boot_a" was successfull Deleting all used files and directories in the directory /data ... Automatically rebooting the phone is disabled # --------------------------------------------------------------------- [02.05.2024 19:34 ] ... the script ended with RC=0 ---------------------------------------------------------------------- [02.05.2024 19:34 ] Processing the task "enable_adb" with the parameter "reboot" ... [02.05.2024 19:34 ] Executing now "enable_adb reboot" ---------------------------------------------------------------------- [02.05.2024 19:34 ] [02.05.2024 19:34 ] *** Enabling access via adb using the script "/data/develop/android/scripts_on_linux/enable_access_via_adb.sh" with the parameter " " ... [02.05.2024 19:34 ] [02.05.2024 19:34 ] The automatic reboot after executing the script is enabled [02.05.2024 19:34 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:34 ] The phone is currently booted from a TWRP image [02.05.2024 19:34 ] The boot slot is _b. [02.05.2024 19:34 ] ---------------------------------------------------------------------- [02.05.2024 19:34 ] *** Executing now "/data/develop/android/scripts_on_linux/enable_access_via_adb.sh " ... # --------------------------------------------------------------------- enable_access_via_adb.sh version - v1.3.0.0 - shell script to enable adb access via an init .rc file configured via Magisk Using the TWRP helper script "/data/develop/android/scripts_on_linux/boot_phone_from_twrp.sh" Using the Magisk helper script "/data/develop/android/scripts_on_linux/enable_adb_using_magisk.sh" Reading the helper script "boot_phone_from_twrp.sh" ... The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... Will use the attached phone with the serial number "M6AIB760D0939LX" Using the TWRP image defined in the environment variable TWRP_IMAGE: "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" Using the options "-d -s M6AIB760D0939LX " for the adb commands Using the options " -s M6AIB760D0939LX " for the fastboot commands Checking the script prerequisites ... Will wait up to 60 second(s) after booting the phone into the bootloader Will wait up to 120 second(s) after booting the phone from the TWRP image Will wait up to 30 second(s) until the adb daemon is ready to use Checking which user startd the adb daemon ... OK, the adb daemon (PID=821427) was started by the user "xtrnaw7" Retrieving the current status of the phone ... The phone is currently booted from a TWRP image The boot slot is _b. Copying the public ssl key for access via adb "/data/develop/android/adb.pubkey" to "/tmp/adbkey.pub" on the phone ... Copying the file "/data/develop/android/adb.pubkey" to "/tmp/adbkey.pub" the phone ... /data/develop/android/adb.pubkey: 1 file pushed, 0 skipped. 99.7 MB/s (2156 bytes in 0.000s) Copying the Magisk helper script "/data/develop/android/scripts_on_linux/enable_adb_using_magisk.sh" to "/tmp/enable_adb_using_magisk.sh" on the phone ... /data/develop/android/scripts_on_linux/enable_adb_using_magisk.sh: 1 file pushed, 0 skipped. 404.7 MB/s (19692 bytes in 0.000s) Executing the temporary script "/tmp/enable_adb_using_magisk.sh " on the phone ... The directory /data/cache does not exist -- will now create it ... chcon '/data/cache' to u:object_r:cache_file:s0 The working directory "/data/recovery/work" does not exist -- will now create it ... chcon '/data/recovery/work' to u:object_r:system_data_file:s0 Reading the public ssl key for the access via adb from the file "/tmp/adbkey.pub" ... Creating the script to enable access via adb "/data/recovery/enable_adb_via_service.sh" ... chcon '/data/recovery/enable_adb_via_service.sh' to u:object_r:system_data_file:s0 Doing a syntax check for the script "/data/recovery/enable_adb_via_service.sh" ... Creating the RC file with the additional trigger to enable access via adb "/data/recovery/work/enable_adb_via_service.rc" ... Copying the partition "/dev/block/by-name/boot_a" into the file "boot_a.img" ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 0.317290 s, 303 M/s Successfully created the script "/data/recovery/work/restore_boot_partition.sh" to restore the boot partition Extracting the ramdisk from the file "boot_a.img" ... Parsing boot image: [boot_a.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18575016] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [raw] RAMDISK_FMT [gzip] VBMETA Adding the new RC file "/data/recovery/work/enable_adb_via_service.rc" to the ramdisk ... Loading cpio: [ramdisk.cpio] Create directory [overlay.d] (0700) Add entry [overlay.d/init.custom.rc] (0700) Dump cpio: [ramdisk.cpio] Recreating the boot image file "boot_a.img" ... Parsing boot image: [boot_a.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18575016] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] KERNEL_FMT [raw] RAMDISK_FMT [gzip] VBMETA Repack to boot image: [boot_a_new.img] HEADER_VER [3] KERNEL_SZ [39928320] RAMDISK_SZ [18575063] OS_VERSION [14.0.0] OS_PATCH_LEVEL [2024-04] PAGESIZE [4096] CMDLINE [] Patching the new image file "boot_a_new.img" to the boot partition /dev/block/by-name/boot_a ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 4.577388 s, 21 M/s adb access will now be enabled by Magisk while doing the next reboot Automatically rebooting the phone is disabled # --------------------------------------------------------------------- [02.05.2024 19:35 ] ... the script ended with RC=0 [02.05.2024 19:35 ] *** Rebooting the phone now .... [02.05.2024 19:35 ] Parameter for "reboot_phone" are: wait [02.05.2024 19:35 ] The current phone status is "1" [02.05.2024 19:35 ] Will boot the phone using "adb" [02.05.2024 19:35 ] Rebooting the phone using the command " /usr/bin/adb -d -s M6AIB760D0939LX reboot " now ... Waiting up to 120 second(s) for the phone ............... [02.05.2024 19:36 ] Booting the phone into the Android OS succeeded after 75 seconds; the current status of the phone is 3 [02.05.2024 19:36 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:36 ] /data is mounted after 0 second(s). [02.05.2024 19:36 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:36 ] The test directory for the encryption test is "/sdcard/Download" [02.05.2024 19:36 ] The data partition on the phone is either not mounted or not encrypted [02.05.2024 19:36 ] Retrieving the UID from the shell ... [02.05.2024 19:36 ] The UID for the shell is "2000" ---------------------------------------------------------------------- [02.05.2024 19:36 ] Processing the task "execute_script_on_the_phone" with the parameter "ignorerc:pre_install.sh" ... [02.05.2024 19:36 ] Executing now "execute_script_on_the_phone ignorerc pre_install.sh" ---------------------------------------------------------------------- [02.05.2024 19:36 ] [02.05.2024 19:36 ] *** Executing the script "/data/backup/Android/scripts_on_linux/pre_install.sh" on the phone ... [02.05.2024 19:36 ] [02.05.2024 19:36 ] The Returncode of the script is ignored [02.05.2024 19:36 ] Waiting for a working adb connection ... Waiting up to 120 seconds for a working adb connection [02.05.2024 19:36 ] The adb connection is working after 0 second(s) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:36 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:36 ] The adb connection is ready after 0 second(s) [02.05.2024 19:36 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:36 ] /data is mounted after 0 second(s). [02.05.2024 19:36 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:36 ] The test directory for the encryption test is "/sdcard/Download" [02.05.2024 19:36 ] The data partition on the phone is either not mounted or not encrypted [02.05.2024 19:36 ] Copying the script "/data/backup/Android/scripts_on_linux/pre_install.sh" to "/sdcard/Download/pre_install.sh" on the phone ... /data/backup/Android/scripts_on_linux/pre_install.sh: 1 file pushed, 0 skipped. 29.9 MB/s (1191 bytes in 0.000s) [02.05.2024 19:36 ] Now executing the script "/sdcard/Download/pre_install.sh" on the phone ... The OS on the phone is not the LineageOS -- doing nothing else ---------------------------------------------------------------------- [02.05.2024 19:36 ] Processing the task "wait_for_access_via_adb" with the parameter "240:kill" ... [02.05.2024 19:36 ] Executing now "wait_for_access_via_adb 240 kill" ---------------------------------------------------------------------- [02.05.2024 19:36 ] The phone is currently booted into the Android OS [02.05.2024 19:36 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:36 ] Checking the installed OS on the phone ... [02.05.2024 19:36 ] The OS on the phone is OmniROM 14 [02.05.2024 19:36 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:36 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:36 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:36 ] The installed OS is "OmniROM" [02.05.2024 19:36 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:36 ] The boot slot is _a. [02.05.2024 19:36 ] adb access to the phone is working ---------------------------------------------------------------------- [02.05.2024 19:36 ] Processing the task "select_twrp_image" with the parameter "ignorerc" ... [02.05.2024 19:36 ] Executing now "select_twrp_image ignorerc" ---------------------------------------------------------------------- [02.05.2024 19:36 ] [02.05.2024 19:36 ] *** Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:36 ] [02.05.2024 19:36 ] The phone is currently booted into the Android OS [02.05.2024 19:36 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:36 ] Checking the installed OS on the phone ... [02.05.2024 19:36 ] The OS on the phone is OmniROM 14 [02.05.2024 19:36 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:36 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:36 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:36 ] The installed OS is "OmniROM" [02.05.2024 19:36 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:36 ] The boot slot is _a. ---------------------------------------------------------------------- [02.05.2024 19:36 ] Processing the task "install_magisk_in_data_adb_only" with the parameter "noreboot:copy_apk:use_apk" ... [02.05.2024 19:36 ] Executing now "install_magisk_in_data_adb_only noreboot copy_apk use_apk" ---------------------------------------------------------------------- [02.05.2024 19:36 ] [02.05.2024 19:36 ] *** Installing the Magisk directories and files in /data/adb from the apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" using the script "/data/develop/android/scripts_on_linux/install_magisk_via_twrp.sh" with the parameter " adb_only copy_apk use_apk magisk_apk_file=/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" ... [02.05.2024 19:36 ] [02.05.2024 19:36 ] The automatic reboot after executing the script is disabled [02.05.2024 19:36 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:36 ] ---------------------------------------------------------------------- [02.05.2024 19:36 ] *** Executing now "/data/develop/android/scripts_on_linux/install_magisk_via_twrp.sh adb_only copy_apk use_apk magisk_apk_file=/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" ... # --------------------------------------------------------------------- install_magisk_via_twrp.sh version - v3.1.3.3 - add Magisk to the boot partition of a phone running Android using TWRP Parameter "adb_only" found: Will only install the directories and files in the directory "/data/adb" Parameter "copy_apk" found: Will copy the Magisk apk file to the phone if neccessary Parameter "use_apk" found: Will use the files from the apk file even if the files in /data/adb/magisk exist Parameter "magisk_apk_file=file" found : Will use the Magisk apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" Using the TWRP image found in the parameter: "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" Checking the script prerequisites ... Will wait 10 second(s) before starting the script on the phone The Magisk version used is v25.x or older Using the temporary directory "/data/MagiskInst" on the phone The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... Will patch the boot partition on the attached phone with the serial number "M6AIB760D0939LX" Using the options "-d -s M6AIB760D0939LX " for the adb commands Using the options " -s M6AIB760D0939LX " for the fastboot commands Checking for a connected phone booted into fastboot mode ... No attached phone in fastboot mode found Checking for an attached phone with working access via adb (USB) ... Linux localhost 5.4.147-Omni-qgki-perf-gf532250e9298 #4 SMP PREEMPT Wed Apr 24 11:36:30 CEST 2024 aarch64 Toybox ... found a phone connected via USB with working adb access The phone is booted in normal mode The installed OS is based on Android 14 (Tue Apr 16 17:14:07 CEST 2024); the description for the distribution is "omni_zenfone8-user 14 AP1A.240405.002 eng.xtrnaw.20240416.171408 release-keys" WARNING: Can not detect the version of the installed Magisk Booting the phone into the fastboot mode now ... Waiting up to 60 seconds for the boot into the fastboot mode ... The phone is booted into the fastboot mode after 11 second(s) Booting the phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" now ... Sending 'boot.img' (98304 KB) OKAY [ 2.841s] Booting OKAY [ 10.358s] Finished. Total time: 13.244s Waiting up to 60 second(s) for the boot of the phone .... ... ro.build.version.release is "99.87.36" The adb connection is working after 20 second(s) Retrieving the current boot slot from the phone ... The current boot slot is "_a" The boot slot to patch is "_a" The boot partition to patch is "boot_a" Copying the Magisk apk file "/data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk" to the phone into the directory "/data" ... Copying the Magisk apk file failed; checking the connection and trying it again now ... The current status of the adb connection is: * daemon not running; starting now at tcp:5037 * daemon started successfully List of devices attached M6AIB760D0939LX offline Reconnecting now .... reconnecting M6AIB760D0939LX [offline] /data/backup/Android/EssentialApps_Backup/Magisk-v25.2.apk: 1 file pushed, 0 skipped. 50.7 MB/s (11278270 bytes in 0.212s) Creating the temporary directory "/data/MagiskInst" with the Magisk files necessarry to install Magisk into the boot partition ... Creating the script file "/tmp/init_magisk_dirs.sh" to create the directory "/data/MagiskInst" on the phone ... Creating the directory "/data/MagiskInst" on the phone ... Copying the temporary script file "/tmp/init_magisk_dirs.sh" to the file "/data/MagiskInst/create_temporary_magisk_dir.sh" on the phone ... /tmp/init_magisk_dirs.sh: 1 file pushed, 0 skipped. 204.5 MB/s (7716 bytes in 0.000s) Executing the script "/data/MagiskInst/create_temporary_magisk_dir.sh" on the phone ... ------------------------------------------------------------------------------ + adb -d -s M6AIB760D0939LX shell /data/MagiskInst/create_temporary_magisk_dir.sh /data/MagiskInst /data/Magisk-v25.2.apk Magisk is not yet installed Using the directory "/data/MagiskInst/bin" for the Magisk Binaries Creating the files in the directory "/data/MagiskInst/bin" using the files for the CPU "arm64-v8a" from the apk file "/data/Magisk-v25.2.apk" ... Unpacking the apk file "/data/Magisk-v25.2.apk" into the directory "/data/MagiskInst/magisk_apk_contents.639" ... Delete all existing files in the directory "/data/MagiskInst/bin" ... total 0 total 0 Copying the files to "/data/MagiskInst/bin" ... + mv ./assets/util_functions.sh /data/MagiskInst/bin + mv ./assets/chromeos /data/MagiskInst/bin/ + mv ./assets/boot_patch.sh /data/MagiskInst/bin + mv ./assets/addon.d.sh /data/MagiskInst/bin + '[' -r ./assets/stub.apk ']' + cd ./lib/arm64-v8a + mv libbusybox.so /data/MagiskInst/bin/busybox + mv libmagisk64.so /data/MagiskInst/bin/magisk64 + mv libmagiskboot.so /data/MagiskInst/bin/magiskboot + mv libmagiskinit.so /data/MagiskInst/bin/magiskinit + mv libmagiskpolicy.so /data/MagiskInst/bin/magiskpolicy + cd ../.. + file=libmagisk32.so + '[' arm64-v8ax '=' arm64-v8ax -a -r ./lib/armeabi-v7a/libmagisk32.so ']' + mv ./lib/armeabi-v7a/libmagisk32.so /data/MagiskInst/bin/magisk32 + set +x + TEMPRC=0 + set +x ------------------------------------------------------------------------------ ... "/data/MagiskInst/create_temporary_magisk_dir.sh" successfully executed chcon '/data/adb/magisk' to u:object_r:system_file:s0 chcon '/data/adb/magisk/util_functions.sh' to u:object_r:system_file:s0 chcon '/data/adb/magisk/chromeos' to u:object_r:system_file:s0 chcon '/data/adb/magisk/chromeos/kernel_data_key.vbprivk' to u:object_r:system_file:s0 chcon '/data/adb/magisk/chromeos/kernel.keyblock' to u:object_r:system_file:s0 chcon '/data/adb/magisk/chromeos/futility' to u:object_r:system_file:s0 chcon '/data/adb/magisk/boot_patch.sh' to u:object_r:system_file:s0 chcon '/data/adb/magisk/addon.d.sh' to u:object_r:system_file:s0 chcon '/data/adb/magisk/busybox' to u:object_r:system_file:s0 chcon '/data/adb/magisk/magisk64' to u:object_r:system_file:s0 chcon '/data/adb/magisk/magiskboot' to u:object_r:system_file:s0 chcon '/data/adb/magisk/magiskinit' to u:object_r:system_file:s0 chcon '/data/adb/magisk/magiskpolicy' to u:object_r:system_file:s0 chcon '/data/adb/magisk/magisk32' to u:object_r:system_file:s0 chcon '/data/adb/modules' to u:object_r:system_file:s0 chcon '/data/adb/post-fs-data.d' to u:object_r:adb_data_file:s0 chcon '/data/adb/service.d' to u:object_r:adb_data_file:s0 Automatically rebooting the phone is disabled # --------------------------------------------------------------------- [02.05.2024 19:37 ] ... the script ended with RC=0 ---------------------------------------------------------------------- [02.05.2024 19:37 ] Processing the task "wait_for_access_via_adb" with the parameter "120:kill" ... [02.05.2024 19:37 ] Executing now "wait_for_access_via_adb 120 kill" ---------------------------------------------------------------------- [02.05.2024 19:37 ] The phone is currently booted from a TWRP image [02.05.2024 19:37 ] The boot slot is _a. [02.05.2024 19:37 ] adb access to the phone is working ---------------------------------------------------------------------- [02.05.2024 19:37 ] Processing the task "enable_root_access_for_the_shell" with the parameter "reboot" ... [02.05.2024 19:37 ] Executing now "enable_root_access_for_the_shell reboot" ---------------------------------------------------------------------- [02.05.2024 19:37 ] [02.05.2024 19:37 ] *** Enabling root access for shell in Magisk using the script "/data/develop/android/scripts_on_linux/init_magisk_db.sh" with the parameter " apps=2000" ... [02.05.2024 19:37 ] [02.05.2024 19:37 ] The automatic reboot after executing the script is enabled [02.05.2024 19:37 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:37 ] ---------------------------------------------------------------------- [02.05.2024 19:37 ] *** Executing now "/data/develop/android/scripts_on_linux/init_magisk_db.sh apps=2000" ... # --------------------------------------------------------------------- init_magisk_db.sh version - v1.0.3.0 - shell script to enable root access via Magisk for specified apps Using the TWRP helper script "/data/develop/android/scripts_on_linux/boot_phone_from_twrp.sh" Using the Magisk helper script "/data/develop/android/scripts_on_linux/enable_root_access_via_magisk.sh" The apps for which root access should be enabled are: 2000 Apps that should be enabled are: UIDs that should be enabled are: 2000 Reading the helper script "boot_phone_from_twrp.sh" ... The script is running as user "xtrnaw7" -- will use "sudo" for the fastboot commands ... Will use the attached phone with the serial number "M6AIB760D0939LX" Using the TWRP image defined in the environment variable TWRP_IMAGE: "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" Using the options "-d -s M6AIB760D0939LX " for the adb commands Using the options " -s M6AIB760D0939LX " for the fastboot commands Checking the script prerequisites ... Will wait up to 60 second(s) after booting the phone into the bootloader Will wait up to 120 second(s) after booting the phone from the TWRP image Will wait up to 30 second(s) until the adb daemon is ready to use Retrieving the current status of the phone ... The phone is currently booted from a TWRP image The boot slot is _a. Will enable the root access via Magisk for these UIDs: 2000 The phone is booted from a TWRP image The phone is booted into TWRP version "3.7.0_12-1" Copying the Magisk helper script "/data/develop/android/scripts_on_linux/enable_root_access_via_magisk.sh" to /cache/enable_root_access_via_magisk.sh on the phone ... /data/develop/android/scripts_on_linux/enable_root_access_via_magisk.sh: 1 file pushed, 0 skipped. 227.1 MB/s (25391 bytes in 0.000s) Executing the Magisk helper script "/cache/enable_root_access_via_magisk.sh" on the phone now ... Enabling root access for apps by adding entries to the Magisk database OK, running in TWRP TWRP is booted from an image file Using the Magisk binary "/data/adb/magisk/magisk64" Using the Magisk database "/data/adb/magisk.db" Checking the prerequisites ... Checking if the required executables exist ... OK, the file "/data/adb/magisk/magisk64" exists and is executable The Magisk database does not yet exist Checking if the Magisk daemon is running ... No daemon is currently running! The Magisk daemon is not running -- will start it now ... 25.2:MAGISK:R Successfully started the Magisk daemon Creating the database "/data/adb/magisk.db" using "/data/adb/magisk/magisk64" ... user_version=12 Successfully created the Magisk database "/data/adb/magisk.db" : -rw------- 1 root root 40960 2024-05-02 17:37 /data/adb/magisk.db Stopping the Magisk daemon now No daemon is currently running! Checking if the required data files exist ... OK, the file "/data/adb/magisk.db" exists Using the sqlite3 executable "/system/bin/sqlite3" Checking the parameter ... The parameter "2000" is okay OK, all parameter are okay OK, the installed Magisk version "25.2" is supported Creating a backup of the existing Magisk database in "/data/adb/magisk.db.713.bkp" ... Reading the current entries from the Magisk database ... Current entries in the Magisk database table "policies": Enabling the root access for these app UIDs: 2000 Processing the UID "2000" ... Enabling root access for the UID "2000" now ... OK, root access successfully enabled for the UID "2000" Summary root access enabled for 1 UID(s): 2000 Current entries in the Magisk database table "policies": uid policy until logging notification ---- ------ ----- ------- ------------ 2000 2 0 1 1 root access for the UIDs via Magisk successfully enabled Rebooting the phone now ... Parameter for "reboot_phone" are: The current phone status is "1" Will boot the phone using "adb" Rebooting the phone using the command " /usr/bin/adb -d -s M6AIB760D0939LX reboot " now ... Waiting up to 120 second(s) for the phone ..... Booting the phone into the Android OS succeeded after 25 seconds; the current status of the phone is 3 Waiting up to 20 seconds until /data is mounted ... /data is mounted after 0 second(s). Testing if the data partition on the phone is encrypted ... The test directory for the encryption test is "/sdcard/Download" drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/,vCikDAAAAQ8LghQ0hcu6S82poPF99ud drwxrws--- 2 root media_rw 3452 2024-05-02 19:37 /data/media/0/0sQQFCAAAAgMiliCIaGik9,gcDNPQ+iB drwxrws--- 4 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/CjV33AAAAAQs8Nj2kFXVsAnfPO9oPDA5 drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/DEnc9CAAAAg+iKbBA8+mlOP,EVLlg6dI drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/I9xRiCAAAAQcN0iW7xkUHqXXuYlCIuLX drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/MIo5IDAAAAAJlHaDtWvZjFDmLVUe5OWa drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/UXE2XAAAAAAjLLVqxpJS7p3pgqphNqNb drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/cwk4cAAAAAwb+hOlXAOO32gOY+QvIiqs drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/fhib6AAAAAAgsn81vA4Pzb,5IXKm5wTp drwxrws--x 5 media_rw media_rw 3452 2024-05-02 19:35 /data/media/0/go7xGBAAAAwsQH9BjEOTqwFpdqqJjxKj drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:36 /data/media/0/goeYIAAAAAACCjDAH2cjnq4pNCgOKlDs drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/hf5,bDAAAAwvA2zNaF2z6N5xmEVhr2BN drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/mNOn1AAAAAQqHi52slY1luqThF1omuwl drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/yU,o5AAAAAACdRUGAAnxFfDY,RgO4gnC drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/zygxiDAAAAA3yeNyGonACH,WstUmxvmK The user password is not set - now using the default password from Android (default_password) to decrypt the files The data partition on the phone is encrypted twrp not found -- now decrypting the data partition on the phone using the Android command "input" Waiting up to 150 seconds to complete the decrypting ..... (Waited for 5 second(s)) Waiting up to 30 seconds for the adb daemon to get ready ... the adb daemon is ready after 0 second(s) The adb connection is ready after 0 second(s) Sucessfully decrypted the data partition # --------------------------------------------------------------------- [02.05.2024 19:38 ] ... the script ended with RC=0 ---------------------------------------------------------------------- [02.05.2024 19:38 ] Processing the task "wait_for_access_via_adb" with the parameter "120:kill" ... [02.05.2024 19:38 ] Executing now "wait_for_access_via_adb 120 kill" ---------------------------------------------------------------------- [02.05.2024 19:38 ] The phone is currently booted into the Android OS [02.05.2024 19:38 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:38 ] Checking the installed OS on the phone ... [02.05.2024 19:38 ] The OS on the phone is OmniROM 14 [02.05.2024 19:38 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:38 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:38 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:38 ] The installed OS is "OmniROM" [02.05.2024 19:38 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:38 ] The boot slot is _a. [02.05.2024 19:38 ] adb access to the phone is working ---------------------------------------------------------------------- [02.05.2024 19:38 ] Processing the task "install_archive_file" with the parameter "twrp:reboot:script=/cache/correct_setlinux_for_wifconifg.sh" ... [02.05.2024 19:38 ] Executing now "install_archive_file twrp reboot script=/cache/correct_setlinux_for_wifconifg.sh" ---------------------------------------------------------------------- [02.05.2024 19:38 ] Assuming the file "/data/develop/android/android_config.tar" is a tar archive [02.05.2024 19:38 ] [02.05.2024 19:38 ] *** Installing the contents of the file "/data/develop/android/android_config.tar" on the phone ... [02.05.2024 19:38 ] [02.05.2024 19:38 ] The automatic reboot after executing the script is enabled [02.05.2024 19:38 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:38 ] The requested boot environment to unpack the file is "twrp" [02.05.2024 19:38 ] The phone is booted into the Android OS [02.05.2024 19:38 ] Booting the phone into the bootloader now ... [02.05.2024 19:38 ] Waiting up to 60 seconds for the boot into the fastboot mode ... [02.05.2024 19:38 ] The phone is booted into the bootloader [02.05.2024 19:38 ] Booting the phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" now ... Sending 'boot.img' (98304 KB) OKAY [ 2.740s] Booting OKAY [ 10.359s] Finished. Total time: 13.144s Waiting up to 120 seconds for a working adb connection .... [02.05.2024 19:39 ] The adb connection is working after 20 second(s) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:39 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:39 ] The adb connection is ready after 0 second(s) * daemon not running; starting now at tcp:5037 * daemon started successfully [02.05.2024 19:39 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:39 ] /data is mounted after 0 second(s). [02.05.2024 19:39 ] /data/media not found - /data is not yet initialized [02.05.2024 19:39 ] The phone is booted into TWRP version "3.7.0_12-1" [02.05.2024 19:39 ] The phone is currently booted from a TWRP image [02.05.2024 19:39 ] The boot slot is _a. [02.05.2024 19:39 ] Retrieving the download directory on the phone ... [02.05.2024 19:39 ] The user on the phone is the user "root" [02.05.2024 19:39 ] Now uploading the file "/data/develop/android/android_config.tar" to the phone into the directory "/sdcard/Download" .... /data/develop/android/android_config.tar: 1 file pushed, 0 skipped. 164.1 MB/s (10240 bytes in 0.000s) [02.05.2024 19:39 ] Creating the temporary script "/tmp/prepare_phone.sh_WORKDIR.820137/task_install_archive_file_820137.sh" to unpack the file ... [02.05.2024 19:39 ] Uploading the temporary script "/tmp/prepare_phone.sh_WORKDIR.820137/task_install_archive_file_820137.sh" to the file "/sdcard/Download/unpack.820137.sh" on the phone ... /tmp/prepare_phone.sh_WORKDIR.820137/task_install_archive_file_820137.sh: 1 file pushed, 0 skipped. 2.5 MB/s (72 bytes in 0.000s) [02.05.2024 19:39 ] Unpacking the file "/data/develop/android/android_config.tar" on the phone using the temporary script "/sdcard/Download/unpack.820137.sh" on the phone .... + cd / + tar -xvf /sdcard/Download/android_config.tar cache/correct_setlinux_for_wifconifg.sh data/misc/apexdata/com.android.wifi/WifiConfigStore.xml [02.05.2024 19:39 ] Successfully unpacked the file "/data/develop/android/android_config.tar" on the phone [02.05.2024 19:39 ] Checking if the post install script "/cache/correct_setlinux_for_wifconifg.sh" exists on the phone ... [02.05.2024 19:39 ] Executing the post install script "/cache/correct_setlinux_for_wifconifg.sh" on the phone ... # --------------------------------------------------------------------- chcon '/data/misc/apexdata/com.android.wifi/WifiConfigStore.xml' to u:object_r:apex_system_server_data_file:s0 # --------------------------------------------------------------------- [02.05.2024 19:39 ] ... the RC of the script is 0 [02.05.2024 19:39 ] *** Now rebooting the phone ... [02.05.2024 19:39 ] Parameter for "reboot_phone" are: wait force [02.05.2024 19:39 ] The current phone status is "1" [02.05.2024 19:39 ] Will boot the phone using "adb" [02.05.2024 19:39 ] Rebooting the phone using the command " /usr/bin/adb -d -s M6AIB760D0939LX reboot " now ... Waiting up to 120 second(s) for the phone ..... [02.05.2024 19:39 ] Booting the phone into the Android OS succeeded after 25 seconds; the current status of the phone is 3 [02.05.2024 19:39 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:39 ] /data is mounted after 0 second(s). [02.05.2024 19:39 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:39 ] The test directory for the encryption test is "/sdcard/Download" drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/,vCikDAAAAQ8LghQ0hcu6S82poPF99ud drwxrws--- 2 root media_rw 3452 2024-05-02 19:37 /data/media/0/0sQQFCAAAAgMiliCIaGik9,gcDNPQ+iB drwxrws--- 4 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/CjV33AAAAAQs8Nj2kFXVsAnfPO9oPDA5 drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/DEnc9CAAAAg+iKbBA8+mlOP,EVLlg6dI drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/I9xRiCAAAAQcN0iW7xkUHqXXuYlCIuLX drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/MIo5IDAAAAAJlHaDtWvZjFDmLVUe5OWa drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/UXE2XAAAAAAjLLVqxpJS7p3pgqphNqNb drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/cwk4cAAAAAwb+hOlXAOO32gOY+QvIiqs drwxrws--- 3 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/fhib6AAAAAAgsn81vA4Pzb,5IXKm5wTp drwxrws--x 5 media_rw media_rw 3452 2024-05-02 19:35 /data/media/0/go7xGBAAAAwsQH9BjEOTqwFpdqqJjxKj drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:39 /data/media/0/goeYIAAAAAACCjDAH2cjnq4pNCgOKlDs drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/hf5,bDAAAAwvA2zNaF2z6N5xmEVhr2BN drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/mNOn1AAAAAQqHi52slY1luqThF1omuwl drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/yU,o5AAAAAACdRUGAAnxFfDY,RgO4gnC drwxrws--- 2 u0_a135 media_rw 3452 2024-05-02 19:35 /data/media/0/zygxiDAAAAA3yeNyGonACH,WstUmxvmK [02.05.2024 19:39 ] The user password is not set - now using the default password from Android (default_password) to decrypt the files [02.05.2024 19:39 ] The data partition on the phone is encrypted [02.05.2024 19:39 ] twrp not found -- now decrypting the data partition on the phone using the Android command "input" [02.05.2024 19:39 ] Waiting up to 150 seconds to complete the decrypting ...... (Waited for 6 second(s)) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:39 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:39 ] The adb connection is ready after 0 second(s) [02.05.2024 19:39 ] Sucessfully decrypted the data partition ---------------------------------------------------------------------- [02.05.2024 19:39 ] Processing the task "enable_disable_abort_on_error" with the parameter "disable" ... [02.05.2024 19:39 ] Executing now "enable_disable_abort_on_error disable" ---------------------------------------------------------------------- [02.05.2024 19:39 ] Setting the variable "ABORT_TASK_EXECUTION_ON_ERROR" to "1" .. ---------------------------------------------------------------------- [02.05.2024 19:39 ] Processing the task "execute_script_on_the_phone" with the parameter "ignorerc:/data/develop/android/scripts_on_linux/enable_wlan.sh" ... [02.05.2024 19:39 ] Executing now "execute_script_on_the_phone ignorerc /data/develop/android/scripts_on_linux/enable_wlan.sh" ---------------------------------------------------------------------- [02.05.2024 19:39 ] [02.05.2024 19:39 ] *** Executing the script "/data/develop/android/scripts_on_linux/enable_wlan.sh" on the phone ... [02.05.2024 19:39 ] [02.05.2024 19:39 ] The Returncode of the script is ignored [02.05.2024 19:39 ] Waiting for a working adb connection ... Waiting up to 120 seconds for a working adb connection [02.05.2024 19:39 ] The adb connection is working after 0 second(s) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:39 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:39 ] The adb connection is ready after 0 second(s) [02.05.2024 19:39 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:39 ] /data is mounted after 0 second(s). [02.05.2024 19:39 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:39 ] The test directory for the encryption test is "/sdcard/Download" [02.05.2024 19:39 ] The data partition on the phone is either not mounted or not encrypted [02.05.2024 19:39 ] Copying the script "/data/develop/android/scripts_on_linux/enable_wlan.sh" to "/sdcard/Download/enable_wlan.sh" on the phone ... /data/develop/android/scripts_on_linux/enable_wlan.sh: 1 file pushed, 0 skipped. 4.2 MB/s (559 bytes in 0.000s) [02.05.2024 19:39 ] Now executing the script "/sdcard/Download/enable_wlan.sh" on the phone ... *** The script to enable WLAN and disable mobile Data is running ... Disabling mobile data ... Enabling WiFi ... Configuring WiFi ... Connection failed ---------------------------------------------------------------------- [02.05.2024 19:39 ] Processing the task "restore_boot_partition" with the parameter "twrp:noreboot" ... [02.05.2024 19:39 ] Executing now "restore_boot_partition twrp noreboot" ---------------------------------------------------------------------- [02.05.2024 19:39 ] Imagefile not defined in the parameter -- using the default image file [02.05.2024 19:39 ] [02.05.2024 19:39 ] *** Restoring a boot partition from an image file ... [02.05.2024 19:39 ] [02.05.2024 19:39 ] The automatic reboot after executing the task is disabled [02.05.2024 19:39 ] The task execution stops if the tasks ends with a return code not zero [02.05.2024 19:39 ] The phone is currently booted into the Android OS [02.05.2024 19:39 ] Selecting the TWRP image to use depending on the installed OS on the phone ... [02.05.2024 19:39 ] Checking the installed OS on the phone ... [02.05.2024 19:39 ] The OS on the phone is OmniROM 14 [02.05.2024 19:39 ] Checking the type of the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:39 ] The file type is "Android bootimg, kernel (0x2d52a0b)" [02.05.2024 19:39 ] OK, the file "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" is a valid boot image for Android devices [02.05.2024 19:39 ] The installed OS is "OmniROM" [02.05.2024 19:39 ] The TWRP file necessary for this OS is "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" [02.05.2024 19:39 ] The boot slot is _a. [02.05.2024 19:39 ] Restoring the partition "boot_a" from the file "/data/recovery/initial_boot_a.img" on the phone [02.05.2024 19:39 ] Retrieving the current status of the phone ... [02.05.2024 19:39 ] The phone is booted into the Android OS with root access via "su - -c " [02.05.2024 19:39 ] Rebooting into TWRP requested via task parameter "twrp" [02.05.2024 19:39 ] Now rebooting the phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" ... [02.05.2024 19:39 ] The phone is booted into the Android OS [02.05.2024 19:39 ] Booting the phone into the bootloader now ... [02.05.2024 19:39 ] Waiting up to 60 seconds for the boot into the fastboot mode ... [02.05.2024 19:40 ] The phone is booted into the bootloader [02.05.2024 19:40 ] Booting the phone from the TWRP image "/data1/backup/ASUS_ZENFONE8/twrp/twrp-3.7.0_12-1-I006D-enhanced.img" now ... Sending 'boot.img' (98304 KB) OKAY [ 2.746s] Booting OKAY [ 10.361s] Finished. Total time: 13.158s Waiting up to 120 seconds for a working adb connection .... [02.05.2024 19:40 ] The adb connection is working after 20 second(s) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:40 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:40 ] The adb connection is ready after 0 second(s) [02.05.2024 19:40 ] Waiting up to 20 seconds until /data is mounted ... * daemon not running; starting now at tcp:5037 * daemon started successfully [02.05.2024 19:40 ] /data is mounted after 0 second(s). [02.05.2024 19:40 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:40 ] The test directory for the encryption test is "/sdcard/Download" [02.05.2024 19:40 ] The data partition on the phone is either not mounted or not encrypted [02.05.2024 19:40 ] The phone is booted into TWRP version "3.7.0_12-1" [02.05.2024 19:40 ] The phone is currently booted from a TWRP image [02.05.2024 19:40 ] The boot slot is _a. [02.05.2024 19:40 ] Checking the image file "/data/recovery/initial_boot_a.img" ... [02.05.2024 19:40 ] The check sum of the file "/data/recovery/initial_boot_a.img" on the phone is: 707411078 100663296 /data/recovery/initial_boot_a.img [02.05.2024 19:40 ] The type of the file "/data/recovery/initial_boot_a.img" on the phone is: " Android boot image v3" [02.05.2024 19:40 ] Restoring the partition "/dev/block/by-name/boot_a" from the file "/data/recovery/initial_boot_a.img" on the phone ... 196608+0 records in 196608+0 records out 100663296 bytes (96 M) copied, 4.947986 s, 19 M/s [02.05.2024 19:40 ] .. partition "/dev/block/by-name/boot_a" successfully restored [02.05.2024 19:40 ] Creating the check sum of the boot partition "/dev/block/by-name/boot_a" ... 707411078 100663296 /dev/block/by-name/boot_a [02.05.2024 19:40 ] OK, the check sum for the partition "/dev/block/by-name/boot_a" is equal to the check sum for the image file "/data/recovery/initial_boot_a.img" on the phone ---------------------------------------------------------------------- [02.05.2024 19:40 ] Processing the task "install_essential_apps" ... [02.05.2024 19:40 ] Executing now "install_essential_apps " ---------------------------------------------------------------------- [02.05.2024 19:40 ] [02.05.2024 19:40 ] *** Installing the essential apps from the local directory "/data/backup/Android/EssentialApps" onto the phone using the script "/data/develop/android/scripts_on_linux/install_apk.sh" ... [02.05.2024 19:40 ] [02.05.2024 19:40 ] The automatic reboot after executing the script is disabled [02.05.2024 19:40 ] The task execution stops if the script ends with a return code not zero [02.05.2024 19:40 ] Parameter for "reboot_phone" are: [02.05.2024 19:40 ] The current phone status is "1" [02.05.2024 19:40 ] Will boot the phone using "adb" [02.05.2024 19:40 ] Rebooting the phone using the command " /usr/bin/adb -d -s M6AIB760D0939LX reboot " now ... Waiting up to 120 second(s) for the phone ..... [02.05.2024 19:41 ] Booting the phone into the Android OS succeeded after 25 seconds; the current status of the phone is 3 [02.05.2024 19:41 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:41 ] /data is mounted after 0 second(s). [02.05.2024 19:41 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:41 ] The test directory for the encryption test is "/sdcard/Download" /system/bin/sh: su: inaccessible or not found [02.05.2024 19:41 ] The user password is not set - now using the default password from Android (default_password) to decrypt the files [02.05.2024 19:41 ] The data partition on the phone is encrypted [02.05.2024 19:41 ] twrp not found -- now decrypting the data partition on the phone using the Android command "input" [02.05.2024 19:41 ] Waiting up to 150 seconds to complete the decrypting ..... (Waited for 5 second(s)) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:41 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:41 ] The adb connection is ready after 0 second(s) [02.05.2024 19:41 ] Sucessfully decrypted the data partition [02.05.2024 19:41 ] Android 14 found -- using the pm install option "--bypass-low-target-sdk-block" [02.05.2024 19:41 ] (Set the environment variable NO_BYPASS_LOW_TARGET to a non-zero value to suppress using this parameter) Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/axp.tool.apkextractor_v5.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/axp.tool.apkextractor_v5.apk" ... Success "/data/backup/Android/EssentialApps/axp.tool.apkextractor_v5.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/axp.tool.apkextractor_v5.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.android.keepass_196.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.android.keepass_196.apk" ... Success "/data/backup/Android/EssentialApps/com.android.keepass_196.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.android.keepass_196.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.apk.editor_v25.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.apk.editor_v25.apk" ... Success "/data/backup/Android/EssentialApps/com.apk.editor_v25.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.apk.editor_v25.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.bytehamster.changelog_v49.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.bytehamster.changelog_v49.apk" ... Success "/data/backup/Android/EssentialApps/com.bytehamster.changelog_v49.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.bytehamster.changelog_v49.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.dkanada.openapk_v35.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.dkanada.openapk_v35.apk" ... Success "/data/backup/Android/EssentialApps/com.dkanada.openapk_v35.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.dkanada.openapk_v35.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.elsdoerfer.android.autostarts_v33.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.elsdoerfer.android.autostarts_v33.apk" ... Success "/data/backup/Android/EssentialApps/com.elsdoerfer.android.autostarts_v33.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.elsdoerfer.android.autostarts_v33.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.jecelyin.editor.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.jecelyin.editor.apk" ... Success "/data/backup/Android/EssentialApps/com.jecelyin.editor.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.jecelyin.editor.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackupAddon_v1.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.keramidas.TitaniumBackupAddon_v1.apk" ... Success "/data/backup/Android/EssentialApps/com.keramidas.TitaniumBackupAddon_v1.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackupAddon_v1.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackup_v417.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.keramidas.TitaniumBackup_v417.apk" ... Success "/data/backup/Android/EssentialApps/com.keramidas.TitaniumBackup_v417.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackup_v417.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.kunzisoft.keepass.libre_57.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.kunzisoft.keepass.libre_57.apk" ... Success "/data/backup/Android/EssentialApps/com.kunzisoft.keepass.libre_57.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.kunzisoft.keepass.libre_57.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.matoski.adbm_v27.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.matoski.adbm_v27.apk" ... Success "/data/backup/Android/EssentialApps/com.matoski.adbm_v27.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.matoski.adbm_v27.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.offsec.nhterm_2020040001.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.offsec.nhterm_2020040001.apk" ... Success "/data/backup/Android/EssentialApps/com.offsec.nhterm_2020040001.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.offsec.nhterm_2020040001.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/com.termux_v118.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/com.termux_v118.apk" ... Success "/data/backup/Android/EssentialApps/com.termux_v118.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/com.termux_v118.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/F-Droid.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/F-Droid.apk" ... Success "/data/backup/Android/EssentialApps/F-Droid.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/F-Droid.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/FoxMmm-0.5.6.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/FoxMmm-0.5.6.apk" ... Success "/data/backup/Android/EssentialApps/FoxMmm-0.5.6.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/FoxMmm-0.5.6.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/io.github.muntashirakon.AppManager_v397.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/io.github.muntashirakon.AppManager_v397.apk" ... Success "/data/backup/Android/EssentialApps/io.github.muntashirakon.AppManager_v397.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/io.github.muntashirakon.AppManager_v397.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Archive-arm64.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Archive-arm64.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Archive-arm64.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Archive-arm64.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.AutoTag.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.AutoTag.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.AutoTag.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.AutoTag.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Codecs-arm64.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Codecs-arm64.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Codecs-arm64.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Codecs-arm64.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Image-arm64.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Image-arm64.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Image-arm64.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Image-arm64.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Metadata.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Metadata.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Metadata.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Metadata.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.PDF-arm64.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.PDF-arm64.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.PDF-arm64.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.PDF-arm64.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Signer.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Signer.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Signer.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Signer.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.SMB.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.SMB.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.SMB.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.SMB.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiX.addon.Tagger.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiX.addon.Tagger.apk" ... Success "/data/backup/Android/EssentialApps/MiX.addon.Tagger.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiX.addon.Tagger.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/MiXplorer_v6.64.3_B23090710.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/MiXplorer_v6.64.3_B23090710.apk" ... Success "/data/backup/Android/EssentialApps/MiXplorer_v6.64.3_B23090710.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/MiXplorer_v6.64.3_B23090710.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/NetHunterStore.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/NetHunterStore.apk" ... Success "/data/backup/Android/EssentialApps/NetHunterStore.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/NetHunterStore.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/Notecase_Pro_1.2.2.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/Notecase_Pro_1.2.2.apk" ... Success "/data/backup/Android/EssentialApps/Notecase_Pro_1.2.2.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/Notecase_Pro_1.2.2.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/OmniStore.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/OmniStore.apk" ... Success "/data/backup/Android/EssentialApps/OmniStore.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/OmniStore.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/org.omnirom.chromium_v535910915.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/org.omnirom.chromium_v535910915.apk" ... Success "/data/backup/Android/EssentialApps/org.omnirom.chromium_v535910915.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/org.omnirom.chromium_v535910915.apk Running on a PC Using adb with the options " -d -s M6AIB760D0939LX " to install the packages The apks will be installed on the phone model ASUS_I006D with the serial number M6AIB760D0939LX Installing these apks /data/backup/Android/EssentialApps/yasnac-v1.1.5.r65.15110ef310-release.apk The additional parameter for the command "pm install" are: " --bypass-low-target-sdk-block " Installing the apk "/data/backup/Android/EssentialApps/yasnac-v1.1.5.r65.15110ef310-release.apk" ... Success "/data/backup/Android/EssentialApps/yasnac-v1.1.5.r65.15110ef310-release.apk" succcessfully installed Installation summary ==================== 1 package(s) successfully installed: /data/backup/Android/EssentialApps/yasnac-v1.1.5.r65.15110ef310-release.apk [02.05.2024 19:41 ] Summary: [02.05.2024 19:41 ] 31 apk(s) successfully installed: /data/backup/Android/EssentialApps/axp.tool.apkextractor_v5.apk /data/backup/Android/EssentialApps/com.android.keepass_196.apk /data/backup/Android/EssentialApps/com.apk.editor_v25.apk /data/backup/Android/EssentialApps/com.bytehamster.changelog_v49.apk /data/backup/Android/EssentialApps/com.dkanada.openapk_v35.apk /data/backup/Android/EssentialApps/com.elsdoerfer.android.autostarts_v33.apk /data/backup/Android/EssentialApps/com.jecelyin.editor.apk /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackupAddon_v1.apk /data/backup/Android/EssentialApps/com.keramidas.TitaniumBackup_v417.apk /data/backup/Android/EssentialApps/com.kunzisoft.keepass.libre_57.apk /data/backup/Android/EssentialApps/com.matoski.adbm_v27.apk /data/backup/Android/EssentialApps/com.offsec.nhterm_2020040001.apk /data/backup/Android/EssentialApps/com.termux_v118.apk /data/backup/Android/EssentialApps/F-Droid.apk /data/backup/Android/EssentialApps/FoxMmm-0.5.6.apk /data/backup/Android/EssentialApps/io.github.muntashirakon.AppManager_v397.apk /data/backup/Android/EssentialApps/MiX.addon.Archive-arm64.apk /data/backup/Android/EssentialApps/MiX.addon.AutoTag.apk /data/backup/Android/EssentialApps/MiX.addon.Codecs-arm64.apk /data/backup/Android/EssentialApps/MiX.addon.Image-arm64.apk /data/backup/Android/EssentialApps/MiX.addon.Metadata.apk /data/backup/Android/EssentialApps/MiX.addon.PDF-arm64.apk /data/backup/Android/EssentialApps/MiX.addon.Signer.apk /data/backup/Android/EssentialApps/MiX.addon.SMB.apk /data/backup/Android/EssentialApps/MiX.addon.Tagger.apk /data/backup/Android/EssentialApps/MiXplorer_v6.64.3_B23090710.apk /data/backup/Android/EssentialApps/NetHunterStore.apk /data/backup/Android/EssentialApps/Notecase_Pro_1.2.2.apk /data/backup/Android/EssentialApps/OmniStore.apk /data/backup/Android/EssentialApps/org.omnirom.chromium_v535910915.apk /data/backup/Android/EssentialApps/yasnac-v1.1.5.r65.15110ef310-release.apk ---------------------------------------------------------------------- [02.05.2024 19:41 ] Processing the task "execute_script_on_the_phone" with the parameter "ignorerc" ... [02.05.2024 19:41 ] Executing now "execute_script_on_the_phone ignorerc" ---------------------------------------------------------------------- [02.05.2024 19:41 ] [02.05.2024 19:41 ] *** Executing the script "/data/backup/Android/scripts_on_linux/post_install.sh" on the phone ... [02.05.2024 19:41 ] [02.05.2024 19:41 ] The Returncode of the script is ignored [02.05.2024 19:41 ] Waiting for a working adb connection ... Waiting up to 120 seconds for a working adb connection [02.05.2024 19:41 ] The adb connection is working after 0 second(s) Waiting up to 30 seconds for the adb daemon to get ready [02.05.2024 19:42 ] ... the adb daemon is ready after 0 second(s) [02.05.2024 19:42 ] The adb connection is ready after 0 second(s) [02.05.2024 19:42 ] Waiting up to 20 seconds until /data is mounted ... [02.05.2024 19:42 ] /data is mounted after 0 second(s). [02.05.2024 19:42 ] Testing if the data partition on the phone is encrypted ... [02.05.2024 19:42 ] The test directory for the encryption test is "/sdcard/Download" [02.05.2024 19:42 ] The data partition on the phone is either not mounted or not encrypted [02.05.2024 19:42 ] Copying the script "/data/backup/Android/scripts_on_linux/post_install.sh" to "/sdcard/Download/post_install.sh" on the phone ... /data/backup/Android/scripts_on_linux/post_install.sh: 1 file pushed, 0 skipped. 43.0 MB/s (3745 bytes in 0.000s) [02.05.2024 19:42 ] Now executing the script "/sdcard/Download/post_install.sh" on the phone ... *** Postinstall script is running ... Disabling sound effects ... /sdcard/Download/post_install.sh[16]: su: inaccessible or not found Enabling WiFi ... Use SIM 1 for phone calls ... Use SIM 1 for data connections ... Disabling mobile data ... Enable logcat for boot messages ... Grant the necessary permission to Magisk now ... Titanium Backup is installed Disabling verify for apps installed over usb ... Grant the necessary permission to Titanum Backup now ... Removing the directories system/priv-app/DocumentsUIGoogle and system/priv-app/DocumentsUI from the MiXplorer Magisk Module ... Waiting 15 seconds now before rebooting - press CTRL-C to abort .... /sdcard/Download/post_install.sh[107]: su: inaccessible or not found ............... Now rebooting the phone ... ---------------------------------------------------------------------- [02.05.2024 19:42 ] "finish_tasks" is defined - now executing it ... ---------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------- [02.05.2024 19:42 ] *** Task summary : ------------------------------------------------------------------------------------------------------------- [02.05.2024 19:42 ] Tasks executed successfully are: enable_disable_abort_on_error select_twrp_image boot_phone_from_twrp_image install_os kill_adb_daemon backup_boot_partition install_magisk_in_boot_partition_only enable_adb execute_script_on_the_phone wait_for_access_via_adb select_twrp_image install_magisk_in_data_adb_only wait_for_access_via_adb enable_root_access_for_the_shell wait_for_access_via_adb install_archive_file enable_disable_abort_on_error execute_script_on_the_phone restore_boot_partition install_essential_apps execute_script_on_the_phone ------------------------------------------------------------------------------------------------------------- [02.05.2024 19:42 ] The working directory used is: "/tmp/prepare_phone.sh_WORKDIR.820137" . [02.05.2024 19:42 ] The include file used was : [02.05.2024 19:42 ] -rw-r--r--. 1 xtrnaw7 xtrnaw7 468732 May 2 19:25 /data/backup/Android/scripts_on_linux/prepare_phone.include [02.05.2024 19:42 ] The include file used was last edited at: "30.04.2024 /bs" ---------------------------------------------------------------------- [02.05.2024 19:42 ] Execution summary: [02.05.2024 19:42 ] Tasks processed: 21 [02.05.2024 19:42 ] Tasks executed succesfully: 21 [02.05.2024 19:42 ] Tasks executed with errors: 0 [02.05.2024 19:42 ] Tasks not executed on request: 0 [02.05.2024 19:42 ] Tasks not found: 0 [02.05.2024 19:42 ] ### The logfile used was /var/tmp/prepare_phone.sh.log.820137 [02.05.2024 19:42 ] ### The start time was 02.05.2024 19:30:58, the script runtime is (day:hour:minute:seconds) 0:00:11:31 (= 691 seconds) [02.05.2024 19:42 ] ### prepare_phone.sh ended at 02.05.2024 19:42:29 (The PID of this process is 820137; the RC is 0)