chiteroman/PlayIntegrityFix

Stuck at boot / TWRP - 15.9.4 - Xiaomi

Closed this issue · 8 comments

Hello there,
Sry if it sounds like a double but i only have seen people saying it works for them since v15.9.3.
For me it doesnt.. can't boot with 15.9.4 in xiaomi.eu rom, with Xiaomi Mi 11 Ultra device. It only reboots to TWRP.
Tell me if you need any logs.

And a big thx for your work @chiteroman (and all others contributors of course!) <3

Same here :( Removing the folder in data/adb/modules did resolve the bootloop, but reinstalling the module got me back into the bootloop.
With 15.9.3 I can't boot into Miui 14.0.13 on Xiaomi Mi 11 Ultra.

Updated to 15.9.4, but still got the same bootloop problem.

I didn't test v15.9.4 on my Xiaomi Mi 11 Ultra (star) with xiaomi.eu ROM (A13/MIUI 14).

But after the bootloops on v15.9.2 and v15.9.3, I stuck with v15.8 with custom pif and everything works fine.

I didn't test v15.9.4 on my Xiaomi Mi 11 Ultra (star) with xiaomi.eu ROM (A13/MIUI 14).

But after the bootloops on v15.9.2 and v15.9.3, I stuck with v15.8 with custom pif and everything works fine.

I had to remove these two lines from customize.sh file:

/system/product/app/XiaomiEUInject
/system/product/app/XiaomiEUInject-Stub

Flashed via magisk and it made the problem disappear, works great with PlayIntegrityNEXT now.

p.s I did run adb shell pm disable-user --user 0 eu.xiaomi.module.inject beforehand to disable default Xiaomi behavior.

I didn't test v15.9.4 on my Xiaomi Mi 11 Ultra (star) with xiaomi.eu ROM (A13/MIUI 14).
But after the bootloops on v15.9.2 and v15.9.3, I stuck with v15.8 with custom pif and everything works fine.

I had to remove these two lines from customize.sh file:

/system/product/app/XiaomiEUInject /system/product/app/XiaomiEUInject-Stub

Flashed via magisk and it made the problem disappear, works great with PlayIntegrityNEXT now.

p.s I did run adb shell pm disable-user --user 0 eu.xiaomi.module.inject beforehand to disable default Xiaomi behavior.

Nice one, it works with these lines removed :)

I have replaced all the "Remove conflict apps" section :

# Remove conflict apps
APPS="
/system/app/EliteDevelopmentModule
/system/app/XInjectModule
/system/product/app/XiaomiEUInject
/system/product/app/XiaomiEUInject-Stub
/system/system_ext/app/hentaiLewdbSVTDummy
/system/system_ext/app/PifPrebuilt
"

for app in $APPS; do
        if [ -d "$app" ]; then
            directory="$MODPATH$app"
            [ -d "$directory" ] || mkdir -p "$directory"
            if [ "$KSU" = "true" ] || [ "$APATCH" = "true" ]; then
                mknod $directory c 0 0
            else
                touch $directory/.replace
            fi
            ui_print "- ${app##*/} app removed"
        else
            ui_print "- ${app##*/} app doesn't exist, skip"
        fi
done

by the v15.8 one (only the part for xiaomi.eu) :

# Remove xiaomi.eu apps

if [ -d "/product/app/XiaomiEUInject" ]; then
    
    directory="$MODPATH/product/app/XiaomiEUInject"
    
    [ -d "$directory" ] || mkdir -p "$directory"
    
    touch "$directory/.replace"
    
    ui_print "- XiaomiEUInject app removed."
fi

if [ -d "/product/app/XiaomiEUInject-Stub" ]; then
    
    directory="$MODPATH/product/app/XiaomiEUInject-Stub"
    
    [ -d "$directory" ] || mkdir -p "$directory"
    
    touch "$directory/.replace"
    
    ui_print "- XiaomiEUInject-Stub app removed."
fi

and it works perfectly fine, thx for the trick 😉

Removing/Changing these lines seemed to do the trick for me as well. Thank you so much!

marked as completed despite still being an issue? can somebody please help me unbrick my phone? i dont have twrp and i'm not sure which command i have to run to remove this module.
Edit: Installed twrp, removed the integrityfix folder but it still wont boot.