Magisk-Modules-Repo / Pix3lify

Pix3lify
GNU General Public License v3.0
115 stars 29 forks source link

[Error] Bootloop #77

Closed ipat8 closed 1 year ago

ipat8 commented 5 years ago

Describe the bug On HTC One M8, Installing The Module results in a system reboot into recovery, after unlocking the device.

To Reproduce Steps to reproduce the behavior:

  1. Install Module (Either via Magisk or TWRP)
  2. Reboot
  3. Unlock device.

Expected behavior Device continues to function.

Actual behavior Device reboots after unlock.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Logs Pix3lify-debug.log

+ unity_custom
+ '[' -f /system/vendor/build.prop ']'
+ BUILDS='/system/build.prop /system/vendor/build.prop'
+ '[' -d /cache ']'
+ CACHELOC=/cache
+ BIN=/system/bin
+ XBIN=/system/xbin
+ '[' -d /system/xbin ']'
+ BINPATH=/system/xbin
+ false
+ SDCARD=/data/media/0
++ grep -E 'ro.vendor.product.device=sailfish|ro.vendor.product.name=sailfish|ro.product.device=sailfish|ro.product.model=Pixel|ro.product.name=sailfish' /system/build.prop /system/vendor/build.prop
+ PX1=
++ grep -E 'ro.vendor.product.device=marlin|ro.vendor.product.name=marlin|ro.product.model=Pixel XL|ro.product.device=marlin|ro.product.name=marlin' /system/build.prop /system/vendor/build.prop
+ PX1XL=
++ grep -E 'ro.vendor.product.device=walleye|ro.vendor.product.name=walleye|ro.product.model=Pixel 2|ro.product.name=walleye|ro.product.device=walleye' /system/build.prop /system/vendor/build.prop
+ PX2=
++ grep -E 'ro.vendor.product.name=taimen|ro.vendor.product.device=taimen|ro.product.model=Pixel 2 XL|ro.product.name=taimen|ro.product.device=taimen' /system/build.prop /system/vendor/build.prop
+ PX2XL=
++ grep -E 'ro.vendor.product.device=blueline|ro.vendor.product.name=blueline|ro.product.model=Pixel 3|ro.product.name=blueline|ro.product.device=blueline' /system/build.prop /system/vendor/build.prop
+ PX3=
++ grep -E 'ro.vendor.product.device=crosshatch|ro.vendor.product.name=crosshatch|ro.product.model=Pixel 3 XL|ro.product.name=crosshatch|ro.product.device=crosshatch' /system/build.prop /system/vendor/build.prop
+ PX3XL=
++ grep -E 'ro.product.device=bullhead|ro.product.name=bullhead' /system/build.prop /system/vendor/build.prop
+ N5X=
++ grep -E 'ro.product.device=angler|ro.product.name=angler' /system/build.prop /system/vendor/build.prop
+ N6P=
++ grep -E 'ro.product.manufacturer=OnePlus|ro.product.vendor.brand=OnePlus' /system/build.prop /system/vendor/build.prop
+ OOS=
++ grep ro.product.manufacturer /system/build.prop /system/vendor/build.prop
+ MANUFACTURER=/system/build.prop:ro.product.manufacturer=HTC
+ '[' /system/build.prop:ro.product.manufacturer=HTC == HTC ']'
+ BFOLDER=/system/media/
+ BZIP=bootanimation.zip
++ grep_prop name /dev/tmp/install/module.prop
++ local 'REGEX=s/^name=//p'
++ shift
++ local FILES=/dev/tmp/install/module.prop
++ '[' -z /dev/tmp/install/module.prop ']'
++ sed -n 's/^name=//p' /dev/tmp/install/module.prop
++ head -n 1
+ MODTITLE=Pix3lify
++ grep_prop version /dev/tmp/install/module.prop
++ local 'REGEX=s/^version=//p'
++ shift
++ local FILES=/dev/tmp/install/module.prop
++ '[' -z /dev/tmp/install/module.prop ']'
++ sed -n 's/^version=//p' /dev/tmp/install/module.prop
++ head -n 1
+ VER=v2.9
++ grep_prop author /dev/tmp/install/module.prop
++ local 'REGEX=s/^author=//p'
++ shift
++ local FILES=/dev/tmp/install/module.prop
++ '[' -z /dev/tmp/install/module.prop ']'
++ sed -n 's/^author=//p' /dev/tmp/install/module.prop
++ head -n 1
+ AUTHOR='Joey Huab, Aidan Holland, Pika, JohnFawkes, Laster K'
+ INSTLOG=/cache/Pix3lify-install.log
++ sed 's|-.*||'
+++ get_file_value /data/adb/magisk/util_functions.sh MAGISK_VERSIONCODE=
+++ '[' -f /data/adb/magisk/util_functions.sh ']'
+++ cat /data/adb/magisk/util_functions.sh
+++ grep MAGISK_VERSIONCODE=
+++ sed 's|"||g'
+++ sed 's|.*MAGISK_VERSIONCODE=||'
++ echo
+ MAGISK_VERSIONCODE=
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ '[' -d /dev/tmp/install/common/unityfiles/boot/ramdisk ']'
+ true
+ false
+ '[' -f /system/addon.d/Pix3lify-files -o -f /system/etc/Pix3lify-files ']'
+ '[' -f /dev/tmp/magisk_img/Pix3lify/module.prop ']'
+ '[' -d /dev/tmp/install/common/unityfiles/boot/ramdisk ']'
++ grep_prop versionCode /dev/tmp/magisk_img/Pix3lify/module.prop
++ local 'REGEX=s/^versionCode=//p'
++ shift
++ local FILES=/dev/tmp/magisk_img/Pix3lify/module.prop
++ '[' -z /dev/tmp/magisk_img/Pix3lify/module.prop ']'
++ sed -n 's/^versionCode=//p' /dev/tmp/magisk_img/Pix3lify/module.prop
++ head -n 1
++ grep_prop versionCode /dev/tmp/install/module.prop
++ local 'REGEX=s/^versionCode=//p'
++ shift
++ local FILES=/dev/tmp/install/module.prop
++ '[' -z /dev/tmp/install/module.prop ']'
++ sed -n 's/^versionCode=//p' /dev/tmp/install/module.prop
++ head -n 1
+ '[' 265 -ge 265 ']'
+ ui_print '  ! Current or newer version detected!'
+ false
+ echo -e 'ui_print   ! Current or newer version detected!\nui_print'
+ unity_uninstall
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ ui_print '- Uninstalling'
+ false
+ echo -e 'ui_print - Uninstalling\nui_print'
++ ls -A '/dev/tmp/install/addon/*/uninstall.sh'
+ '[' '' ']'
+ uninstall_files
+ local FILE EXT
+ '[' -z '' ']'
+ FILE=/dev/tmp/magisk_img/Pix3lify/Pix3lify-files
+ EXT=.bak
+ false
+ true
+ '[' -f /dev/tmp/magisk_img/Pix3lify/Pix3lify-files ']'
+ read LINE
++ echo -n /data/data/com.google.android.apps.wellbeing/shared_prefs
++ tail -c 4
+ '[' refs == .bak ']'
++ echo -n /data/data/com.google.android.apps.wellbeing/shared_prefs
++ tail -c 9
+ '[' red_prefs == NORESTORE ']'
+ '[' -f /data/data/com.google.android.apps.wellbeing/shared_prefs.bak ']'
+ rm -f /data/data/com.google.android.apps.wellbeing/shared_prefs
rm: '/data/data/com.google.android.apps.wellbeing/shared_prefs' is a directory
+ true
++ dirname /data/data/com.google.android.apps.wellbeing/shared_prefs
+ LINE=/data/data/com.google.android.apps.wellbeing
++ ls -A /data/data/com.google.android.apps.wellbeing
+ '[' 'cache
code_cache
databases
files
shared_prefs' ']'
+ break 1
+ read LINE
++ echo -n /cache/pix3lifyNORESTORE
++ tail -c 4
+ '[' TORE == .bak ']'
++ echo -n /cache/pix3lifyNORESTORE
++ tail -c 9
+ '[' NORESTORE == NORESTORE ']'
+ continue
+ read LINE
+ rm -f /dev/tmp/magisk_img/Pix3lify/Pix3lify-files
+ true
+ rm -rf /dev/tmp/magisk_img/Pix3lify /sbin/.magisk/img/Pix3lify
+ rm -f /data/adb/post-fs-data.d/Pix3lify-sysover.sh
+ '[' -f /dev/tmp/install/common/uninstall.sh ']'
+ . /dev/tmp/install/common/uninstall.sh
++ true
++ magiskpolicy --live 'create system_server sdcardfs file' 'allow system_server sdcardfs file { write }'
/dev/tmp/install/common/uninstall.sh: line 2: magiskpolicy: command not found
++ '[' 28 -ge 28 ']'
++ ui_print ' '
++ false
++ echo -e 'ui_print  \nui_print'
++ ui_print '   Disabling Google'\''s Call Screening...'
++ false
++ echo -e 'ui_print    Disabling Google'\''s Call Screening...\nui_print'
+++ find /data/data/com.google.android.dialer/shared_prefs/ -name dialer_phenotype_flags.xml
++ DPF=/data/data/com.google.android.dialer/shared_prefs/dialer_phenotype_flags.xml
++ '[' -f /data/data/com.google.android.dialer/shared_prefs/dialer_phenotype_flags.xml ']'
++ sed -i '/<!--Pix3lify-->/d' /data/data/com.google.android.dialer/shared_prefs/dialer_phenotype_flags.xml
++ sed -i -e 's|<!--Pix3lify\(.*\)|\1|g' -e 's|\(.*\)Pix3lify-->|\1|g' /data/data/com.google.android.dialer/shared_prefs/dialer_phenotype_flags.xml
++ false
++ ui_print ' '
++ false
++ echo -e 'ui_print  \nui_print'
++ ui_print '   Disabling Google'\''s Flip to Shhh...'
++ false
++ echo -e 'ui_print    Disabling Google'\''s Flip to Shhh...\nui_print'
+++ find /data/data/com.google.android.apps.wellbeing/shared_prefs -name PhenotypePrefs.xml
++ WELLBEING_PREF_FILE=/data/data/com.google.android.apps.wellbeing/shared_prefs/PhenotypePrefs.xml
++ '[' -f /data/data/com.google.android.apps.wellbeing/shared_prefs/PhenotypePrefs.xml ']'
++ rm -f /data/data/com.google.android.apps.wellbeing/shared_prefs/PhenotypePrefs.xml
++ false
++ OVERLAY=/data/resource-cache/overlays.list
++ '[' -f /data/resource-cache/overlays.list ']'
++ ui_print ' '
++ false
++ echo -e 'ui_print  \nui_print'
++ ui_print '   Removing /data/resource-cache/overlays.list'
++ false
++ echo -e 'ui_print    Removing /data/resource-cache/overlays.list\nui_print'
++ rm -f /data/resource-cache/overlays.list
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ ui_print '- Completing uninstall -'
+ false
+ echo -e 'ui_print - Completing uninstall -\nui_print'
+ cleanup
+ '[' -d /dev/tmp/install/common/unityfiles/boot/ramdisk ']'
+ true
+ unmount_magisk_img
+ check_filesystem /data/adb/magisk.img /dev/tmp/magisk_img
++ wc -c
+ curSizeM=167772160
+ curSizeM=160
++ df -Pk /dev/tmp/magisk_img
++ grep /dev/tmp/magisk_img
+ local 'DF=/dev/block/loop7        160704      7212    151864   5% /dev/tmp/magisk_img'
++ echo /dev/block/loop7 160704 7212 151864 5% /dev/tmp/magisk_img
++ awk '{ print int($3 / 1024) }'
+ curUsedM=7
++ echo /dev/block/loop7 160704 7212 151864 5% /dev/tmp/magisk_img
++ awk '{ print int($4 / 1024) }'
+ curFreeM=148
+ newSizeM=64
+ /data/adb/magisk/magisk imgtool umount /dev/tmp/magisk_img /dev/block/loop7
+ '[' 160 -gt 64 ']'
+ ui_print '- Shrinking /data/adb/magisk.img to 64M'
+ false
+ echo -e 'ui_print - Shrinking /data/adb/magisk.img to 64M\nui_print'
+ /data/adb/magisk/magisk imgtool resize /data/adb/magisk.img 64
e2fsck 1.43.3 (04-Sep-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/data/adb/magisk.img: 14/49152 files (7.1% non-contiguous), 2587/40960 blocks
resize2fs 1.43.3 (04-Sep-2016)
Resizing the filesystem on /data/adb/magisk.img to 16384 (4k) blocks.
The filesystem on /data/adb/magisk.img is now 16384 (4k) blocks long.

Resize /data/adb/magisk.img to 64M
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ ui_print '    *******************************************'
+ false
+ echo -e 'ui_print     *******************************************\nui_print'
+ ui_print '    *      Powered by Magisk (@topjohnwu)     *'
+ false
+ echo -e 'ui_print     *      Powered by Magisk (@topjohnwu)     *\nui_print'
+ ui_print '    *******************************************'
+ false
+ echo -e 'ui_print     *******************************************\nui_print'
+ false
+ recovery_cleanup
+ mv /sbin_tmp /sbin
+ '[' -z /dev/tmp/install/common/unityfiles/tools/arm:/sbin:/system/bin ']'
+ export PATH=/dev/tmp/install/common/unityfiles/tools/arm:/sbin:/system/bin
+ PATH=/dev/tmp/install/common/unityfiles/tools/arm:/sbin:/system/bin
+ '[' -z /sbin ']'
+ export LD_LIBRARY_PATH=/sbin
+ LD_LIBRARY_PATH=/sbin
+ '[' -z ']'
+ ui_print '- Unmounting partitions'
+ false
+ echo -e 'ui_print - Unmounting partitions\nui_print'
+ umount -l /system_root
+ umount -l /system
+ umount -l /vendor
+ umount -l /dev/random
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ ui_print '    *******************************************'
+ false
+ echo -e 'ui_print     *******************************************\nui_print'
+ ui_print '    *    Unity by ahrion & zackptg5 @ XDA     *'
+ false
+ echo -e 'ui_print     *    Unity by ahrion & zackptg5 @ XDA     *\nui_print'
+ ui_print '    *******************************************'
+ false
+ echo -e 'ui_print     *******************************************\nui_print'
+ ui_print ' '
+ false
+ echo -e 'ui_print  \nui_print'
+ '[' -d /dev/tmp/install/addon/Aroma-Installer ']'
+ rm -rf /dev/tmp
+ exit 0

Additional context I can provide more logs or debug information if required.

Pix3lify-debug.log

thehappydinoa commented 5 years ago

Would you please run pix3lify in the terminal

ipat8 commented 5 years ago

Is it possible to run that from the terminal within TWRP? I can’t run anything on the device as it reboots as soon as you open it from the lock screen.

ipat8 commented 5 years ago

@thehappydinoa

Is it possible to run that from TWRP?

thehappydinoa commented 5 years ago

It probably wouldn't...

lazerl0rd commented 5 years ago

@ipat8 a tester with HTC One M8 tried on stock and a custom ROM and said it works, I’ll reopen this issue if it’s still broken for you. Just gimme a ping if it is.

ipat8 commented 5 years ago

@lazerl0rd Was able to test it last night, and I had the same result. It reboots as soon as the launcher loads after unlocking the device. I can try installing the slim version and running the command to see if I can get you any diagnostic data, but if I run it in the slim mode will you still get what you need?

lazerl0rd commented 5 years ago

Try running SLIM @ipat8. I wonder what's causing this.

lazerl0rd commented 5 years ago

If it works, then try running everything (minus FONT and framework) too.

ipat8 commented 5 years ago

@lazorl0rd

I was able to run the command by booting into safe mode and quickly going into terminal, I wasn’t able to see the final lines though, it did finish uploading.

Another weird bit, it always reboots to recovery.

And lastly, even installing in slim mode results in the same issue.

ipat8 commented 5 years ago

I was able to get the logs off of the device, they’re attached. Pix3lify_logs.tar.gz

thehappydinoa commented 5 years ago

@lazerl0rd have you had some time to look over the logs?

lazerl0rd commented 5 years ago

@thehappydinoa not yet. Just back from camping.

thehappydinoa commented 5 years ago

@lazerl0rd ah no worry's. Hope you had a good time ⛺.

lazerl0rd commented 5 years ago

@ipat8 seems you had bootanimation still on (shouldn't cause issues tho) but can you have a go with the new update?

ipat8 commented 5 years ago

Out of town ATM, will try it as soon as I get back. @lazerl0rd

lazerl0rd commented 5 years ago

Any update @ipat8?